Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

19041 Created constants (enum) for resource phrases #647

Merged
merged 2 commits into from
Feb 6, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "business-create-ui",
"version": "5.8.8",
"version": "5.8.9",
"private": true,
"appName": "Create UI",
"sbcName": "SBC Common Components",
Expand Down
9 changes: 4 additions & 5 deletions src/resources/AmalgamationRegular/BC.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { AmalgamationResourceIF } from '@/interfaces'
import { FilingCodes, RuleIds } from '@/enums'
import { AmalgamationRegularSteps } from './steps'
import { CorpTypeCd, GetCorpFullDescription } from '@bcrs-shared-components/corp-type-module'
import { ResourcePhrases } from '../ResourcePhrases'

export const AmalgamationRegResourceBc: AmalgamationResourceIF = {
entityType: CorpTypeCd.BC_COMPANY,
Expand Down Expand Up @@ -32,12 +33,10 @@ export const AmalgamationRegResourceBc: AmalgamationResourceIF = {
reviewAndConfirm: {
completingPartyStatement: {
certifyStatements: [
'I have relevant knowledge of the business and that I am authorized to make this filing.',
'I understand that this amalgamation cannot be reversed without a court order.'
ResourcePhrases.RELEVANT_KNOWLEDGE_OF_BUSINESS,
ResourcePhrases.AMALGAMATION_CANNOT_BE_REVERSED
],
certifyClause: `Note: It is an offence to make a false or misleading statement in respect
of a material fact in a record submitted to the Corporate Registry for filing.
See section 427 of the Business Corporations Act.`,
certifyClause: ResourcePhrases.OFFENSE_SECTION_427,
entityDisplay: null
}
}
Expand Down
9 changes: 4 additions & 5 deletions src/resources/AmalgamationRegular/BEN.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { AmalgamationResourceIF } from '@/interfaces'
import { FilingCodes, RuleIds } from '@/enums'
import { AmalgamationRegularSteps } from './steps'
import { CorpTypeCd, GetCorpFullDescription } from '@bcrs-shared-components/corp-type-module'
import { ResourcePhrases } from '../ResourcePhrases'

export const AmalgamationRegResourceBen: AmalgamationResourceIF = {
entityType: CorpTypeCd.BENEFIT_COMPANY,
Expand Down Expand Up @@ -32,12 +33,10 @@ export const AmalgamationRegResourceBen: AmalgamationResourceIF = {
reviewAndConfirm: {
completingPartyStatement: {
certifyStatements: [
'I have relevant knowledge of the business and that I am authorized to make this filing.',
'I understand that this amalgamation cannot be reversed without a court order.'
ResourcePhrases.RELEVANT_KNOWLEDGE_OF_BUSINESS,
ResourcePhrases.AMALGAMATION_CANNOT_BE_REVERSED
],
certifyClause: `Note: It is an offence to make a false or misleading statement in respect
of a material fact in a record submitted to the Corporate Registry for filing.
See section 427 of the Business Corporations Act.`,
certifyClause: ResourcePhrases.OFFENSE_SECTION_427,
entityDisplay: null
}
}
Expand Down
9 changes: 4 additions & 5 deletions src/resources/AmalgamationRegular/CC.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { AmalgamationResourceIF } from '@/interfaces'
import { FilingCodes, RuleIds } from '@/enums'
import { AmalgamationRegularSteps } from './steps'
import { CorpTypeCd, GetCorpFullDescription } from '@bcrs-shared-components/corp-type-module'
import { ResourcePhrases } from '../ResourcePhrases'

export const AmalgamationRegResourceCc: AmalgamationResourceIF = {
entityType: CorpTypeCd.BC_CCC,
Expand Down Expand Up @@ -32,12 +33,10 @@ export const AmalgamationRegResourceCc: AmalgamationResourceIF = {
reviewAndConfirm: {
completingPartyStatement: {
certifyStatements: [
'I have relevant knowledge of the business and that I am authorized to make this filing.',
'I understand that this amalgamation cannot be reversed without a court order.'
ResourcePhrases.RELEVANT_KNOWLEDGE_OF_BUSINESS,
ResourcePhrases.AMALGAMATION_CANNOT_BE_REVERSED
],
certifyClause: `Note: It is an offence to make a false or misleading statement in respect
of a material fact in a record submitted to the Corporate Registry for filing.
See section 427 of the Business Corporations Act.`,
certifyClause: ResourcePhrases.OFFENSE_SECTION_427,
entityDisplay: null
}
}
Expand Down
9 changes: 4 additions & 5 deletions src/resources/AmalgamationRegular/ULC.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { AmalgamationResourceIF } from '@/interfaces'
import { FilingCodes, RuleIds } from '@/enums'
import { AmalgamationRegularSteps } from './steps'
import { CorpTypeCd, GetCorpFullDescription } from '@bcrs-shared-components/corp-type-module'
import { ResourcePhrases } from '../ResourcePhrases'

export const AmalgamationRegResourceUlc: AmalgamationResourceIF = {
entityType: CorpTypeCd.BC_ULC_COMPANY,
Expand Down Expand Up @@ -32,12 +33,10 @@ export const AmalgamationRegResourceUlc: AmalgamationResourceIF = {
reviewAndConfirm: {
completingPartyStatement: {
certifyStatements: [
'I have relevant knowledge of the business and that I am authorized to make this filing.',
'I understand that this amalgamation cannot be reversed without a court order.'
ResourcePhrases.RELEVANT_KNOWLEDGE_OF_BUSINESS,
ResourcePhrases.AMALGAMATION_CANNOT_BE_REVERSED
],
certifyClause: `Note: It is an offence to make a false or misleading statement in respect
of a material fact in a record submitted to the Corporate Registry for filing.
See section 427 of the Business Corporations Act.`,
certifyClause: ResourcePhrases.OFFENSE_SECTION_427,
entityDisplay: null
}
}
Expand Down
9 changes: 4 additions & 5 deletions src/resources/AmalgamationShort/BC.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { AmalgamationResourceIF } from '@/interfaces'
import { FilingCodes, RuleIds } from '@/enums'
import { AmalgamationShortSteps } from './steps'
import { CorpTypeCd, GetCorpFullDescription } from '@bcrs-shared-components/corp-type-module'
import { ResourcePhrases } from '../ResourcePhrases'

export const AmalgamationShortResourceBc: AmalgamationResourceIF = {
entityType: CorpTypeCd.BC_COMPANY,
Expand Down Expand Up @@ -34,12 +35,10 @@ export const AmalgamationShortResourceBc: AmalgamationResourceIF = {
reviewAndConfirm: {
completingPartyStatement: {
certifyStatements: [
'I have relevant knowledge of the business and that I am authorized to make this filing.',
'I understand that this amalgamation cannot be reversed without a court order.'
ResourcePhrases.RELEVANT_KNOWLEDGE_OF_BUSINESS,
ResourcePhrases.AMALGAMATION_CANNOT_BE_REVERSED
],
certifyClause: `Note: It is an offence to make a false or misleading statement in respect
of a material fact in a record submitted to the Corporate Registry for filing.
See section 427 of the Business Corporations Act.`,
certifyClause: ResourcePhrases.OFFENSE_SECTION_427,
entityDisplay: null
}
}
Expand Down
9 changes: 4 additions & 5 deletions src/resources/AmalgamationShort/BEN.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { AmalgamationResourceIF } from '@/interfaces'
import { FilingCodes, RuleIds } from '@/enums'
import { AmalgamationShortSteps } from './steps'
import { CorpTypeCd, GetCorpFullDescription } from '@bcrs-shared-components/corp-type-module'
import { ResourcePhrases } from '../ResourcePhrases'

export const AmalgamationShortResourceBen: AmalgamationResourceIF = {
entityType: CorpTypeCd.BENEFIT_COMPANY,
Expand Down Expand Up @@ -34,12 +35,10 @@ export const AmalgamationShortResourceBen: AmalgamationResourceIF = {
reviewAndConfirm: {
completingPartyStatement: {
certifyStatements: [
'I have relevant knowledge of the business and that I am authorized to make this filing.',
'I understand that this amalgamation cannot be reversed without a court order.'
ResourcePhrases.RELEVANT_KNOWLEDGE_OF_BUSINESS,
ResourcePhrases.AMALGAMATION_CANNOT_BE_REVERSED
],
certifyClause: `Note: It is an offence to make a false or misleading statement in respect
of a material fact in a record submitted to the Corporate Registry for filing.
See section 427 of the Business Corporations Act.`,
certifyClause: ResourcePhrases.OFFENSE_SECTION_427,
entityDisplay: null
}
}
Expand Down
9 changes: 4 additions & 5 deletions src/resources/AmalgamationShort/CC.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { AmalgamationResourceIF } from '@/interfaces'
import { FilingCodes, RuleIds } from '@/enums'
import { AmalgamationShortSteps } from './steps'
import { CorpTypeCd, GetCorpFullDescription } from '@bcrs-shared-components/corp-type-module'
import { ResourcePhrases } from '../ResourcePhrases'

export const AmalgamationShortResourceCc: AmalgamationResourceIF = {
entityType: CorpTypeCd.BC_CCC,
Expand Down Expand Up @@ -34,12 +35,10 @@ export const AmalgamationShortResourceCc: AmalgamationResourceIF = {
reviewAndConfirm: {
completingPartyStatement: {
certifyStatements: [
'I have relevant knowledge of the business and that I am authorized to make this filing.',
'I understand that this amalgamation cannot be reversed without a court order.'
ResourcePhrases.RELEVANT_KNOWLEDGE_OF_BUSINESS,
ResourcePhrases.AMALGAMATION_CANNOT_BE_REVERSED
],
certifyClause: `Note: It is an offence to make a false or misleading statement in respect
of a material fact in a record submitted to the Corporate Registry for filing.
See section 427 of the Business Corporations Act.`,
certifyClause: ResourcePhrases.OFFENSE_SECTION_427,
entityDisplay: null
}
}
Expand Down
9 changes: 4 additions & 5 deletions src/resources/AmalgamationShort/ULC.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { AmalgamationResourceIF } from '@/interfaces'
import { FilingCodes, RuleIds } from '@/enums'
import { AmalgamationShortSteps } from './steps'
import { CorpTypeCd, GetCorpFullDescription } from '@bcrs-shared-components/corp-type-module'
import { ResourcePhrases } from '../ResourcePhrases'

export const AmalgamationShortResourceUlc: AmalgamationResourceIF = {
entityType: CorpTypeCd.BC_ULC_COMPANY,
Expand Down Expand Up @@ -34,12 +35,10 @@ export const AmalgamationShortResourceUlc: AmalgamationResourceIF = {
reviewAndConfirm: {
completingPartyStatement: {
certifyStatements: [
'I have relevant knowledge of the business and that I am authorized to make this filing.',
'I understand that this amalgamation cannot be reversed without a court order.'
ResourcePhrases.RELEVANT_KNOWLEDGE_OF_BUSINESS,
ResourcePhrases.AMALGAMATION_CANNOT_BE_REVERSED
],
certifyClause: `Note: It is an offence to make a false or misleading statement in respect
of a material fact in a record submitted to the Corporate Registry for filing.
See section 427 of the Business Corporations Act.`,
certifyClause: ResourcePhrases.OFFENSE_SECTION_427,
entityDisplay: null
}
}
Expand Down
5 changes: 2 additions & 3 deletions src/resources/ContinuationIn/BC.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { ContinuationInResourceIF } from '@/interfaces'
import { FilingCodes, RuleIds } from '@/enums'
import { ContinuationInSteps } from './steps'
import { CorpTypeCd, GetCorpFullDescription } from '@bcrs-shared-components/corp-type-module'
import { ResourcePhrases } from '../ResourcePhrases'

export const ContinuationInResourceBc: ContinuationInResourceIF = {
entityType: CorpTypeCd.BC_COMPANY,
Expand Down Expand Up @@ -32,9 +33,7 @@ export const ContinuationInResourceBc: ContinuationInResourceIF = {
reviewAndConfirm: {
completingPartyStatement: {
certifyStatements: [],
certifyClause: `Note: It is an offence to make a false or misleading statement in respect
of a material fact in a record submitted to the Corporate Registry for filing.
See section 427 of the Business Corporations Act.`,
certifyClause: ResourcePhrases.OFFENSE_SECTION_427,
entityDisplay: null
}
}
Expand Down
5 changes: 2 additions & 3 deletions src/resources/ContinuationIn/BEN.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { ContinuationInResourceIF } from '@/interfaces'
import { FilingCodes, RuleIds } from '@/enums'
import { ContinuationInSteps } from './steps'
import { CorpTypeCd, GetCorpFullDescription } from '@bcrs-shared-components/corp-type-module'
import { ResourcePhrases } from '../ResourcePhrases'

export const ContinuationInResourceBen: ContinuationInResourceIF = {
entityType: CorpTypeCd.BENEFIT_COMPANY,
Expand Down Expand Up @@ -32,9 +33,7 @@ export const ContinuationInResourceBen: ContinuationInResourceIF = {
reviewAndConfirm: {
completingPartyStatement: {
certifyStatements: [],
certifyClause: `Note: It is an offence to make a false or misleading statement in respect
of a material fact in a record submitted to the Corporate Registry for filing.
See section 427 of the Business Corporations Act.`,
certifyClause: ResourcePhrases.OFFENSE_SECTION_427,
entityDisplay: null
}
}
Expand Down
5 changes: 2 additions & 3 deletions src/resources/ContinuationIn/CC.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { ContinuationInResourceIF } from '@/interfaces'
import { FilingCodes, RuleIds } from '@/enums'
import { ContinuationInSteps } from './steps'
import { CorpTypeCd, GetCorpFullDescription } from '@bcrs-shared-components/corp-type-module'
import { ResourcePhrases } from '../ResourcePhrases'

export const ContinuationInResourceCc: ContinuationInResourceIF = {
entityType: CorpTypeCd.BC_CCC,
Expand Down Expand Up @@ -32,9 +33,7 @@ export const ContinuationInResourceCc: ContinuationInResourceIF = {
reviewAndConfirm: {
completingPartyStatement: {
certifyStatements: [],
certifyClause: `Note: It is an offence to make a false or misleading statement in respect
of a material fact in a record submitted to the Corporate Registry for filing.
See section 427 of the Business Corporations Act.`,
certifyClause: ResourcePhrases.OFFENSE_SECTION_427,
entityDisplay: null
}
}
Expand Down
5 changes: 2 additions & 3 deletions src/resources/ContinuationIn/ULC.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { ContinuationInResourceIF } from '@/interfaces'
import { FilingCodes, RuleIds } from '@/enums'
import { ContinuationInSteps } from './steps'
import { CorpTypeCd, GetCorpFullDescription } from '@bcrs-shared-components/corp-type-module'
import { ResourcePhrases } from '../ResourcePhrases'

export const ContinuationInResourceUlc: ContinuationInResourceIF = {
entityType: CorpTypeCd.BC_ULC_COMPANY,
Expand Down Expand Up @@ -32,9 +33,7 @@ export const ContinuationInResourceUlc: ContinuationInResourceIF = {
reviewAndConfirm: {
completingPartyStatement: {
certifyStatements: [],
certifyClause: `Note: It is an offence to make a false or misleading statement in respect
of a material fact in a record submitted to the Corporate Registry for filing.
See section 427 of the Business Corporations Act.`,
certifyClause: ResourcePhrases.OFFENSE_SECTION_427,
entityDisplay: null
}
}
Expand Down
5 changes: 2 additions & 3 deletions src/resources/Dissolution/BC.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { DissolutionResourceIF } from '@/interfaces'
import { BulletListTypes, FilingCodes, ItemTypes } from '@/enums'
import { CorpTypeCd, GetCorpFullDescription } from '@bcrs-shared-components/corp-type-module'
import { DissolutionStepsCorp } from './steps'
import { ResourcePhrases } from '../ResourcePhrases'

export const DissolutionResourceBc: DissolutionResourceIF = {
entityType: CorpTypeCd.BC_COMPANY,
Expand Down Expand Up @@ -58,9 +59,7 @@ export const DissolutionResourceBc: DissolutionResourceIF = {
reviewAndConfirm: {
completingPartyStatement: {
certifyStatements: [],
certifyClause: `Note: It is an offence to make a false or misleading statement in respect
of a material fact in a record submitted to the Corporate Registry for filing.
See section 427 of the Business Corporations Act.`,
certifyClause: ResourcePhrases.OFFENSE_SECTION_427,
entityDisplay: GetCorpFullDescription(CorpTypeCd.BC_COMPANY)
}
},
Expand Down
5 changes: 2 additions & 3 deletions src/resources/Dissolution/BEN.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { DissolutionResourceIF } from '@/interfaces'
import { BulletListTypes, FilingCodes, ItemTypes } from '@/enums'
import { CorpTypeCd, GetCorpFullDescription } from '@bcrs-shared-components/corp-type-module'
import { DissolutionStepsCorp } from './steps'
import { ResourcePhrases } from '../ResourcePhrases'

export const DissolutionResourceBen: DissolutionResourceIF = {
entityType: CorpTypeCd.BENEFIT_COMPANY,
Expand Down Expand Up @@ -59,9 +60,7 @@ export const DissolutionResourceBen: DissolutionResourceIF = {
reviewAndConfirm: {
completingPartyStatement: {
certifyStatements: [],
certifyClause: `Note: It is an offence to make a false or misleading statement in respect
of a material fact in a record submitted to the Corporate Registry for filing.
See section 427 of the Business Corporations Act.`,
certifyClause: ResourcePhrases.OFFENSE_SECTION_427,
entityDisplay: GetCorpFullDescription(CorpTypeCd.BENEFIT_COMPANY)
}
},
Expand Down
5 changes: 2 additions & 3 deletions src/resources/Dissolution/CC.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { DissolutionResourceIF } from '@/interfaces'
import { BulletListTypes, FilingCodes, ItemTypes } from '@/enums'
import { CorpTypeCd, GetCorpFullDescription } from '@bcrs-shared-components/corp-type-module'
import { DissolutionStepsCorp } from './steps'
import { ResourcePhrases } from '../ResourcePhrases'

export const DissolutionResourceCc: DissolutionResourceIF = {
entityType: CorpTypeCd.BC_CCC,
Expand Down Expand Up @@ -58,9 +59,7 @@ export const DissolutionResourceCc: DissolutionResourceIF = {
reviewAndConfirm: {
completingPartyStatement: {
certifyStatements: [],
certifyClause: `Note: It is an offence to make a false or misleading statement in respect
of a material fact in a record submitted to the Corporate Registry for filing.
See section 427 of the Business Corporations Act.`,
certifyClause: ResourcePhrases.OFFENSE_SECTION_427,
entityDisplay: GetCorpFullDescription(CorpTypeCd.BC_CCC)
}
},
Expand Down
5 changes: 2 additions & 3 deletions src/resources/Dissolution/ULC.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { DissolutionResourceIF } from '@/interfaces'
import { BulletListTypes, FilingCodes, ItemTypes } from '@/enums'
import { CorpTypeCd, GetCorpFullDescription } from '@bcrs-shared-components/corp-type-module'
import { DissolutionStepsCorp } from './steps'
import { ResourcePhrases } from '../ResourcePhrases'

export const DissolutionResourceUlc: DissolutionResourceIF = {
entityType: CorpTypeCd.BC_ULC_COMPANY,
Expand Down Expand Up @@ -58,9 +59,7 @@ export const DissolutionResourceUlc: DissolutionResourceIF = {
reviewAndConfirm: {
completingPartyStatement: {
certifyStatements: [],
certifyClause: `Note: It is an offence to make a false or misleading statement in respect
of a material fact in a record submitted to the Corporate Registry for filing.
See section 427 of the Business Corporations Act.`,
certifyClause: ResourcePhrases.OFFENSE_SECTION_427,
entityDisplay: GetCorpFullDescription(CorpTypeCd.BC_ULC_COMPANY)
}
},
Expand Down
14 changes: 5 additions & 9 deletions src/resources/Incorporation/BC.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { IncorporationResourceIF } from '@/interfaces'
import { FilingCodes, RuleIds } from '@/enums'
import { CorpTypeCd, GetCorpFullDescription } from '@bcrs-shared-components/corp-type-module'
import { IncorporationStepsCorp } from './steps'
import { ResourcePhrases } from '../ResourcePhrases'

export const IncorporationResourceBc: IncorporationResourceIF = {
entityType: CorpTypeCd.BC_COMPANY,
Expand Down Expand Up @@ -75,16 +76,11 @@ export const IncorporationResourceBc: IncorporationResourceIF = {
reviewAndConfirm: {
completingPartyStatement: {
certifyStatements: [
'An original signature has been placed on each of those signature lines,',

`I have no reason to believe that the signature placed on a signature line is not the
signature of the person whose name is set out under that signature line, and`,

'I have relevant knowledge of the company and that I am authorized to make this filing.'
ResourcePhrases.ORIGINAL_SIGNATURE,
ResourcePhrases.BELIEVE_SIGNATURE,
ResourcePhrases.RELEVANT_KNOWLEDGE_OF_COMPANY
],
certifyClause: `Note: It is an offence to make a false or misleading statement in respect
of a material fact in a record submitted to the Corporate Registry for filing.
See section 427 of the Business Corporations Act.`,
certifyClause: ResourcePhrases.OFFENSE_SECTION_427,
entityDisplay: null
}
}
Expand Down
Loading
Loading