diff --git a/docs/oas/business.yaml b/docs/oas/business.yaml index 220b02c28..41788798b 100644 --- a/docs/oas/business.yaml +++ b/docs/oas/business.yaml @@ -2682,6 +2682,142 @@ paths: name: amalgamationApplication status: DRAFT submitter: mocked submitter + continuation-in-success-response: + summary: Continuation In Response + value: + filing: + continuationIn: + authorization: + date: '2024-07-01' + files: + - fileKey: 0d41f3b2-f711-4733-88fd-8169646c7dbe.pdf + fileName: TestPDFfile.pdf + contactPoint: + email: test@test.com + phone: 1234567890 + foreignJurisdiction: + country: US + identifier: TEST1234 + incorporationDate: '2024-06-01' + legalName: Test business + region: AL + nameRequest: + legalName: TEST CONT IN LTD. + legalType: C + nrNumber: NR 1234567 + nameTranslations: [] + offices: + recordsOffice: + deliveryAddress: + addressCity: Surrey + addressCountry: CA + addressRegion: BC + deliveryInstructions: + postalCode: V3S 7N3 + streetAddress: 5656 187 St + streetAddressAdditional: + mailingAddress: + addressCity: Surrey + addressCountry: CA + addressRegion: BC + deliveryInstructions: + postalCode: V3S 7N3 + streetAddress: 5656 187 St + streetAddressAdditional: + registeredOffice: + deliveryAddress: + addressCity: Surrey + addressCountry: CA + addressRegion: BC + deliveryInstructions: + postalCode: V3S 7N3 + streetAddress: 5656 187 St + streetAddressAdditional: + mailingAddress: + addressCity: Surrey + addressCountry: CA + addressRegion: BC + deliveryInstructions: + postalCode: V3S 7N3 + streetAddress: 5656 187 St + streetAddressAdditional: + parties: + - mailingAddress: + streetAddress: mailing_address - address line one + streetAddressAdditional: + addressCity: mailing_address city + addressCountry: CA + postalCode: H0H0H0 + addressRegion: BC + officer: + firstName: Joe + lastName: Swanson + middleName: P + email: joe@email.com + organizationName: + partyType: person + roles: + - appointmentDate: '2024-07-26' + roleType: Completing Party + - mailingAddress: + streetAddress: mailing_address - address line one + streetAddressAdditional: + addressCity: mailing_address city + addressCountry: CA + postalCode: H0H0H0 + addressRegion: BC + deliveryAddress: + streetAddress: mailing_address - address line one + streetAddressAdditional: + addressCity: mailing_address city + addressCountry: CA + postalCode: H0H0H0 + addressRegion: BC + officer: + firstName: Director + lastName: Swanson + middleName: P + email: joe@email.com + organizationName: + partyType: person + roles: + - appointmentDate: '2024-07-26' + roleType: Director + shareStructure: + shareClasses: + - name: Classic 1 Shares + priority: 0 + maxNumberOfShares: 0 + parValue: 0 + currency: string + hasMaximumShares: true + hasParValue: true + hasRightsOrRestrictions: true + series: + - name: string + priority: 0 + hasMaximumShares: true + hasRightsOrRestrictions: true + business: + identifier: TO12345678 + header: + accountId: 1234 + affectedFilings: [] + availableOnPaperOnly: false + certifiedBy: full name + colinIds: [] + comments: [] + date: '2024-07-25' + deletionLocked: false + effectiveDate: '2024-07-25T19:54:02.949764+00:00' + email: no_one@never.get + filingId: 150338 + inColinOnly: false + isCorrected: false + isCorrectionPending: false + name: continuationIn + status: DRAFT + submitter: mocked submitter registration-sucess-response: summary: Registartion Response value: @@ -2763,13 +2899,18 @@ paths: content: application/json: examples: - registration-unauthorized-response: - summary: Registration - Not Authorized To Submit Response + amalgamation-unauthorized-response: + summary: Amalgamation - Not Authorized To Submit Response value: errorMessage: API backend third party service error. rootCause: message:You are not authorized to submit a filing for TgtPxoS4FF. - amalgamation-unauthorized-response: - summary: Amalgamation - Not Authorized To Submit Response + continuation-in-unauthorized-response: + summary: Continuation In - Not Authorized To Submit Response + value: + errorMessage: API backend third party service error. + rootCause: message:You are not authorized to submit a filing for TgtPxoS4FF. + registration-unauthorized-response: + summary: Registration - Not Authorized To Submit Response value: errorMessage: API backend third party service error. rootCause: message:You are not authorized to submit a filing for TgtPxoS4FF. @@ -2895,7 +3036,7 @@ paths: value: filing: header: - accountId: 3041 + accountId: 1234 certifiedBy: full name email: "no_one@never.get" date: '2024-07-26' @@ -2935,7 +3076,7 @@ paths: value: filing: header: - accountId: 3041 + accountId: 1234 certifiedBy: full name email: "no_one@never.get" date: '2024-07-26' @@ -2971,6 +3112,124 @@ paths: - appointmentDate: '2024-07-24' roleType: Completing Party type: vertical + continuation-in-request: + summary: Continuation In Request + value: + filing: + header: + accountId: 1234 + certifiedBy: full name + email: 'no_one@never.get' + date: '2024-07-26' + name: continuationIn + continuationIn: + authorization: + date: '2024-07-01' + files: + - file: + lastModified: 1667594705083 + name: TestPDFfile.pdf + size: 83186 + fileKey: 0d41f3b2-f711-4733-88fd-8169646c7dbe.pdf + fileName: TestPDFfile.pdf + contactPoint: + email: test@test.com + phone: 1234567890 + foreignJurisdiction: + country: US + identifier: TEST1234 + incorporationDate: '2024-06-01' + legalName: Test business + region: AL + nameRequest: + nrNumber: NR 1234567 + legalName: TEST CONT IN LTD. + legalType: C + nameTranslations: [] + offices: + recordsOffice: + deliveryAddress: + streetAddress: delivery_address - address line one + addressCity: delivery_address city + addressCountry: Canada + postalCode: H0H0H0 + addressRegion: BC + mailingAddress: + streetAddress: mailing_address - address line one + addressCity: mailing_address city + addressCountry: Canada + postalCode: H0H0H0 + addressRegion: BC + registeredOffice: + deliveryAddress: + streetAddress: delivery_address - address line one + addressCity: delivery_address city + addressCountry: Canada + postalCode: H0H0H0 + addressRegion: BC + mailingAddress: + streetAddress: mailing_address - address line one + addressCity: mailing_address city + addressCountry: Canada + postalCode: H0H0H0 + addressRegion: BC + parties: + - mailingAddress: + streetAddress: mailing_address - address line one + streetAddressAdditional: + addressCity: mailing_address city + addressCountry: CA + postalCode: H0H0H0 + addressRegion: BC + officer: + firstName: Joe + lastName: Swanson + middleName: P + email: joe@email.com + organizationName: + partyType: person + roles: + - appointmentDate: '2024-07-26' + roleType: Completing Party + - mailingAddress: + streetAddress: mailing_address - address line one + streetAddressAdditional: + addressCity: mailing_address city + addressCountry: CA + postalCode: H0H0H0 + addressRegion: BC + deliveryAddress: + streetAddress: mailing_address - address line one + streetAddressAdditional: + addressCity: mailing_address city + addressCountry: CA + postalCode: H0H0H0 + addressRegion: BC + officer: + firstName: Director + lastName: Swanson + middleName: P + email: joe@email.com + organizationName: + partyType: person + roles: + - appointmentDate: '2024-07-26' + roleType: Director + shareStructure: + shareClasses: + - name: Classic 1 Shares + priority: 0 + maxNumberOfShares: 0 + parValue: 0 + currency: string + hasMaximumShares: true + hasParValue: true + hasRightsOrRestrictions: true + series: + - name: string + priority: 0 + hasMaximumShares: true + hasRightsOrRestrictions: true registration-request: summary: Registration Request value: @@ -4163,6 +4422,109 @@ components: timestamp: '2022-04-19 15:59:55' reference: businessId: C1234567 + Continuation_in: + type: object + title: Continuation In Filing + description: Represents the filing for a foreign corporation applying to “continue in” to BC. To do so, authorization must have been received from the foreign jurisdiction. Authorization is typically in the form of a letter. The authorization must be sent to the registry as a precondition to this transaction. + required: + - continuationIn + properties: + continuationIn: + type: object + required: + - foreignJurisdiction + - authorization + - nameRequest + - offices + - parties + properties: + business: + $ref: '#/components/schemas/Business' + title: Provide identifier and/or taxId if already registered as extra provincial business. + foreignJurisdiction: + type: object + required: + - country + - identifier + - legalName + - incorporationDate + properties: + country: + $ref: '#/components/schemas/Foreign_jurisdiction/properties/country' + title: The jurisdiction country code. + region: + $ref: '#/components/schemas/Foreign_jurisdiction/properties/region' + title: The jurisdiction region code. + identifier: + type: string + title: Identifier of the business in the foreign jurisdiction. + legalName: + type: string + title: Legal name of the business in the foreign jurisdiction. + incorporationDate: + type: string + format: date + title: Incorporation date of the business in the foreign jurisdiction. + taxId: + type: string + title: The BN9 of this business + pattern: "^[0-9]{9}$" + affidavitFileKey: + type: string + title: The Identifier for affidavit file in file server + authorization: + type: object + required: + - files + - date + properties: + files: + type: array + minItems: 1 + items: + required: + - fileKey + - fileName + properties: + fileKey: + type: string + title: The Identifier for authorization file in file server + fileName: + type: string + title: The name of the file in file server + date: + type: string + format: date + title: Authorization date + expiryDate: + type: string + format: date + title: Authorization expiry date + contactPoint: + $ref: '#/components/schemas/Contact_point' + nameRequest: + $ref: '#/components/schemas/Name_request' + nameTranslations: + $ref: '#/components/schemas/Name_translations' + offices: + type: object + description: 'Addresses related to the business. ' + properties: + registeredOffice: + $ref: '#/components/schemas/Office' + recordsOffice: + $ref: '#/components/schemas/Office' + required: + - registeredOffice + parties: + type: array + description: 'Persons having a role in the corporation eg: company officer.' + items: + $ref: '#/components/schemas/party' + shareStructure: + $ref: '#/components/schemas/Share_structure' + courtOrder: + $ref: '#/components/schemas/Court_order' Consent_continuation_out: type: object title: Consent Continuation Out Filing