diff --git a/package.json b/package.json index a3c1c80a2..34ff8b5c7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "name-request", - "version": "5.5.3", + "version": "5.5.4", "private": true, "appName": "Name Request UI", "sbcName": "SBC Common Components", diff --git a/src/components/dialogs/nr-not-required.vue b/src/components/dialogs/nr-not-required.vue index b3d921fdf..2a5823ceb 100644 --- a/src/components/dialogs/nr-not-required.vue +++ b/src/components/dialogs/nr-not-required.vue @@ -22,7 +22,7 @@
  • You want to incorporate a numbered company.
    Select the action and the company type you want in the Name Request application and follow the instructions - to complete your incorporation. + to complete your incorporation.
  • You are using your own legal name as the business name.
    diff --git a/src/components/new-request/name-check/name-check-conflicts.vue b/src/components/new-request/name-check/name-check-conflicts.vue index 22c01cc8d..54181e405 100644 --- a/src/components/new-request/name-check/name-check-conflicts.vue +++ b/src/components/new-request/name-check/name-check-conflicts.vue @@ -369,8 +369,11 @@ export default class NameCheckConflicts extends Vue { // Global getter @Getter isMobile!: boolean - @Emit() clearError (value: string) { } - @Emit() retry (value: string) { } + // eslint-disable-next-line @typescript-eslint/no-unused-vars + @Emit() clearError (value: string) {} + + // eslint-disable-next-line @typescript-eslint/no-unused-vars + @Emit() retry (value: string) {} expanded: Array = [] headers = [ diff --git a/src/list-data/intl-jurisdictions.ts b/src/list-data/intl-jurisdictions.ts index 596f1c059..16e1e069b 100644 --- a/src/list-data/intl-jurisdictions.ts +++ b/src/list-data/intl-jurisdictions.ts @@ -682,8 +682,8 @@ const Other: JurisdictionI[] = [ }, { value: 'IR', - SHORT_DESC: 'Iran', - text: 'Iran' + SHORT_DESC: 'Iran, Islamic R', + text: 'Iran, Islamic Republic Of' }, { value: 'IQ', @@ -1262,8 +1262,8 @@ const Other: JurisdictionI[] = [ }, { value: 'TR', - SHORT_DESC: 'Turkey', - text: 'Turkey' + SHORT_DESC: 'Türkiye', + text: 'Türkiye, Republic Of' } ] diff --git a/src/list-data/request-action-mapping.ts b/src/list-data/request-action-mapping.ts index c91eb15ae..59de5bc08 100644 --- a/src/list-data/request-action-mapping.ts +++ b/src/list-data/request-action-mapping.ts @@ -1,23 +1,6 @@ import { EntityTypes, NrRequestActionCodes } from '@/enums' import { RequestActionMappingI } from '@/interfaces' -const EntityTypesBC = [ - EntityTypes.FR, - EntityTypes.DBA, - EntityTypes.CR, - EntityTypes.UL, - EntityTypes.GP, - EntityTypes.LP, - EntityTypes.LL, - EntityTypes.CP, - EntityTypes.BC, - EntityTypes.CC, - EntityTypes.SO, - EntityTypes.PA, - EntityTypes.FI, - EntityTypes.PAR -] - // maps request_action_cd (key) to array of allowable entities (value) // { [request_action_cd]: entity_type_cd[] } export const BcMapping: RequestActionMappingI = { @@ -42,17 +25,39 @@ export const BcMapping: RequestActionMappingI = { ], // Restore REH: [ - EntityTypes.CR, + EntityTypes.CR, // maps to BC Limited Company EntityTypes.CP, EntityTypes.CC, - EntityTypes.UL, + EntityTypes.UL, // maps to ULC EntityTypes.FI, - EntityTypes.BC, - EntityTypes.SO + EntityTypes.BC, // maps to Benefit Company + EntityTypes.SO, + EntityTypes.C, + EntityTypes.CBEN, + EntityTypes.CCC, + EntityTypes.CUL ], // Change Name - // (every entity type except Parishes and Private Act) - CHG: EntityTypesBC.filter(ent => ent !== EntityTypes.PAR && ent !== EntityTypes.PA), + CHG: [ + EntityTypes.FR, + EntityTypes.DBA, + EntityTypes.CR, + EntityTypes.UL, + EntityTypes.GP, + EntityTypes.LP, + EntityTypes.LL, + EntityTypes.CP, + EntityTypes.BC, + EntityTypes.CC, + EntityTypes.SO, + EntityTypes.PA, + EntityTypes.FI, + EntityTypes.PAR, + EntityTypes.C, + EntityTypes.CBEN, + EntityTypes.CCC, + EntityTypes.CUL + ], // MVE = Continuation In MVE: [ EntityTypes.CR, // will become CorpTypeCd.CONTINUE_IN @@ -107,6 +112,7 @@ export const BusinessLookupEntityTypes = [ EntityTypes.BC, // Benefit Company EntityTypes.BEN, // invalid? EntityTypes.C, + EntityTypes.CBEN, EntityTypes.CC, EntityTypes.CCC, EntityTypes.CUL, @@ -130,9 +136,12 @@ export const BusinessLookupEntityTypes = [ /** Entity types that support the numbered company option. */ export const NumberedEntityTypes = [ - EntityTypes.BC, + EntityTypes.BC, // Benefit Company EntityTypes.CC, - EntityTypes.CR, + EntityTypes.CR, // BC Limited Company EntityTypes.UL, - EntityTypes.C + EntityTypes.C, + EntityTypes.CBEN, + EntityTypes.CCC, + EntityTypes.CUL ] diff --git a/src/services/business-lookup-services.ts b/src/services/business-lookup-services.ts index 1c2a57de7..e73bd08a7 100644 --- a/src/services/business-lookup-services.ts +++ b/src/services/business-lookup-services.ts @@ -37,7 +37,7 @@ export default class BusinessLookupServices { * @returns a promise to return the search results */ static async search (query: string, status = ''): Promise { - const legalType = 'A,BC,BEN,C,CC,CCC,CP,CUL,FI,GP,LL,LLC,LP,PA,S,SP,ULC,XCP,XL,XP,XS' + const legalType = 'A,BC,BEN,C,CBEN,CC,CCC,CP,CUL,FI,GP,LL,LLC,LP,PA,S,SP,ULC,XCP,XL,XP,XS' let url = this.registriesSearchApiUrl + 'businesses/search/facets?start=0&rows=20' url += `&categories=legalType:${legalType}${status ? '::status:' + status : ''}`