2018-06-25 14:40:43 +00:00
|
|
|
/* @flow */
|
2018-06-25 17:08:09 +00:00
|
|
|
import type {
|
2018-07-18 08:57:56 +00:00
|
|
|
ChooseCompanyLiabilityAction,
|
|
|
|
CompanyLiability,
|
2018-06-26 15:57:50 +00:00
|
|
|
CompanyHaveMultipleAssociateAction,
|
2018-06-25 17:08:09 +00:00
|
|
|
DirectorStatus,
|
|
|
|
DefineDirectorStatusAction
|
2018-07-12 08:09:41 +00:00
|
|
|
} from 'Types/companyStatusTypes'
|
2018-06-25 14:40:43 +00:00
|
|
|
|
2018-07-18 08:57:56 +00:00
|
|
|
export function chooseCompanyLiability(
|
|
|
|
setup: CompanyLiability
|
|
|
|
): ChooseCompanyLiabilityAction {
|
2018-06-25 14:40:43 +00:00
|
|
|
return {
|
2018-06-25 17:08:09 +00:00
|
|
|
type: 'CHOOSE_COMPANY_LEGAL_SETUP',
|
2018-06-25 14:40:43 +00:00
|
|
|
setup
|
|
|
|
}
|
|
|
|
}
|
2018-06-25 17:08:09 +00:00
|
|
|
|
2018-06-26 15:57:50 +00:00
|
|
|
export function defineDirectorStatus(
|
2018-06-25 17:08:09 +00:00
|
|
|
status: DirectorStatus
|
|
|
|
): DefineDirectorStatusAction {
|
|
|
|
return {
|
|
|
|
type: 'DEFINE_DIRECTOR_STATUS',
|
|
|
|
status
|
|
|
|
}
|
|
|
|
}
|
2018-06-26 15:57:50 +00:00
|
|
|
|
|
|
|
export function companyHaveMultipleAssociate(
|
|
|
|
multipleAssociate: boolean
|
|
|
|
): CompanyHaveMultipleAssociateAction {
|
|
|
|
return {
|
|
|
|
type: 'COMPANY_HAVE_MULTIPLE_ASSOCIATE',
|
|
|
|
multipleAssociate
|
|
|
|
}
|
|
|
|
}
|