@keetanetwork/anchor 0.0.103 → 0.0.105

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. package/lib/resolver.d.ts +5 -0
  2. package/lib/resolver.d.ts.map +1 -1
  3. package/lib/resolver.generated.js +19 -4
  4. package/lib/resolver.generated.js.map +1 -1
  5. package/lib/resolver.js.map +1 -1
  6. package/npm-shrinkwrap.json +2 -2
  7. package/package.json +1 -1
  8. package/services/asset-movement/client.d.ts +37 -4
  9. package/services/asset-movement/client.d.ts.map +1 -1
  10. package/services/asset-movement/client.js +65 -17
  11. package/services/asset-movement/client.js.map +1 -1
  12. package/services/asset-movement/common.d.ts +25 -3
  13. package/services/asset-movement/common.d.ts.map +1 -1
  14. package/services/asset-movement/common.generated.d.ts +1 -0
  15. package/services/asset-movement/common.generated.d.ts.map +1 -1
  16. package/services/asset-movement/common.generated.js +79 -115
  17. package/services/asset-movement/common.generated.js.map +1 -1
  18. package/services/asset-movement/common.js +60 -15
  19. package/services/asset-movement/common.js.map +1 -1
  20. package/services/kyc/client.d.ts +8 -0
  21. package/services/kyc/client.d.ts.map +1 -1
  22. package/services/kyc/client.js +55 -0
  23. package/services/kyc/client.js.map +1 -1
  24. package/services/kyc/common.d.ts +10 -0
  25. package/services/kyc/common.d.ts.map +1 -1
  26. package/services/kyc/common.js.map +1 -1
  27. package/services/kyc/iso20022.generated.d.ts +8 -3
  28. package/services/kyc/iso20022.generated.d.ts.map +1 -1
  29. package/services/kyc/iso20022.generated.js +4 -0
  30. package/services/kyc/iso20022.generated.js.map +1 -1
  31. package/services/kyc/oids.generated.d.ts +3 -0
  32. package/services/kyc/oids.generated.d.ts.map +1 -1
  33. package/services/kyc/oids.generated.js +5 -0
  34. package/services/kyc/oids.generated.js.map +1 -1
  35. package/services/kyc/server.d.ts +13 -1
  36. package/services/kyc/server.d.ts.map +1 -1
  37. package/services/kyc/server.js +47 -19
  38. package/services/kyc/server.js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AAsB,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE;IACxD,sBAAsB,EAAE,0BAA0B;IAClD,kBAAkB,EAAE,aAAa;IACjC,gBAAgB,EAAE,IAAI,CAAC,YAAY,CAAC,SAAS;IAC7C,+BAA+B,EAAE,IAAI,CAAC,YAAY,CAAC,SAAS;IAC5D,KAAK,EAAE,SAAS;IAChB,MAAM,EAAE,UAAU;CACT,CAAC","sourcesContent":["/* eslint-disable */\n/**\n * Generated ISO20022 Type Definitions\n * This file is auto-generated from oids.json.\n */\n\nimport * as ASN1 from '../../lib/utils/asn1.js';\nimport { lib as KeetaNetLib } from '@keetanetwork/keetanet-client';\ntype KeetaNetAccount = InstanceType<typeof KeetaNetLib.Account>;\n\n// ISO20022 Primitive Types\n/** Country code or name */\n/** OID: 1.3.6.1.4.1.62675.1.2.0 */\nexport type Country = string;\n\n/** Country subdivision (state/province) */\n/** OID: 1.3.6.1.4.1.62675.1.2.1 */\nexport type CountrySubDivision = string;\n\n/** Postal code */\n/** OID: 1.3.6.1.4.1.62675.1.2.3 */\nexport type PostalCode = string;\n\n/** Town or city name */\n/** OID: 1.3.6.1.4.1.62675.1.2.4 */\nexport type TownName = string;\n\n/** Building number */\n/** OID: 1.3.6.1.4.1.62675.1.2.5 */\nexport type BuildingNumber = string;\n\n/** Street name */\n/** OID: 1.3.6.1.4.1.62675.1.2.6 */\nexport type StreetName = string;\n\n/** Free-form address lines */\n/** OID: 1.3.6.1.4.1.62675.1.2.7 */\nexport type AddressLines = string[];\n\n/** Sub-department */\n/** OID: 1.3.6.1.4.1.62675.1.2.8 */\nexport type SubDepartment = string;\n\n/** Department */\n/** OID: 1.3.6.1.4.1.62675.1.2.9 */\nexport type Department = string;\n\n/** Purpose of email address */\n/** OID: 1.3.6.1.4.1.62675.1.3.0 */\nexport type EmailAddressPurpose = string;\n\n// ISO20022 Enumeration Types\n/** Name prefix code */\n/** OID: 1.3.6.1.4.1.62675.1.0.0 */\nexport type NamePrefixCode = 'DOCT' | 'MIST' | 'MISS' | 'MIKS' | 'MME';\n\n/** Preferred contact method */\n/** OID: 1.3.6.1.4.1.62675.1.9.0 */\nexport type PreferredContactMethodCode = 'LETT' | 'MAIL' | 'PHON' | 'FAXX' | 'CELL';\n\n/** Person identification scheme name proprietary values */\n/** OID: 1.3.6.1.4.1.62675.1.8.1.1.0 */\nexport type PersonIdentificationSchemeNameProprietary = 'DRLC' | 'CPPT' | 'ARNU' | 'SSN' | 'TXID' | 'VISA' | 'WPPT';\n\n// ISO20022 Choice Types\n/** Address type classification */\n/** OID: 1.3.6.1.4.1.62675.1.2.10 */\nexport type AddressType = string;\n\n/** Organization identification scheme name */\n/** OID: 1.3.6.1.4.1.62675.1.8.0.2 */\nexport type OrganizationIdentificationSchemeNameChoice = string;\n\n/** Person identification scheme name */\n/** OID: 1.3.6.1.4.1.62675.1.8.1.1 */\nexport type PersonIdentificationSchemeNameChoice = string | PersonIdentificationSchemeNameProprietary;\n\n// ISO20022 Sequence Types\n/** Generic organization identification */\n/** OID: 1.3.6.1.4.1.62675.1.8.0.1 */\nexport interface GenericOrganizationIdentification {\n\tid: Id;\n\tschemeName?: OrganizationIdentificationSchemeNameChoice;\n\tissuer?: Issuer;\n}\n\nexport interface OrganizationIdentificationBicChoice {\n\ttag: 0;\n\tname: 'bic';\n\tvalue: string;\n}\n\nexport interface OrganizationIdentificationLeiChoice {\n\ttag: 1;\n\tname: 'lei';\n\tvalue: string;\n}\n\nexport interface OrganizationIdentificationOtherChoice {\n\ttag: 2;\n\tname: 'other';\n\tvalue: GenericOrganizationIdentification[];\n}\nexport type OrganizationIdentificationChoice =\n\t| OrganizationIdentificationBicChoice\n\t| OrganizationIdentificationLeiChoice\n\t| OrganizationIdentificationOtherChoice;\n\nexport type OrganizationIdentification = OrganizationIdentificationChoice[];\n\n\n/** Generic person identification */\n/** OID: 1.3.6.1.4.1.62675.1.8.1.0 */\nexport interface GenericPersonIdentification {\n\tid: Id;\n\tschemeName?: PersonIdentificationSchemeNameChoice;\n\tissuer?: Issuer;\n}\n\nexport interface PersonIdentificationDateAndPlaceOfBirthChoice {\n\ttag: 0;\n\tname: 'dateAndPlaceOfBirth';\n\tvalue: DateAndPlaceOfBirth;\n}\n\nexport interface PersonIdentificationOtherChoice {\n\ttag: 1;\n\tname: 'other';\n\tvalue: GenericPersonIdentification[];\n}\nexport type PersonIdentificationChoice =\n\t| PersonIdentificationDateAndPlaceOfBirthChoice\n\t| PersonIdentificationOtherChoice;\n\nexport type PersonIdentification = PersonIdentificationChoice[];\n\n\n/** Other contact method */\n/** OID: 1.3.6.1.4.1.62675.1.9.1 */\nexport interface OtherContact {\n\tid?: Id;\n\tchannelType: string;\n}\n\n\n// Generated ASN.1 schemas for ISO 20022 choice types\n/** ASN.1 schema for AddressType */\nexport const AddressTypeSchema: ASN1.Schema = {\n\tchoice: [\n\t\t{ type: 'context', kind: 'explicit', value: 0, contains: { type: 'string', kind: 'utf8' } },\n\t\t{ type: 'context', kind: 'explicit', value: 1, contains: { type: 'string', kind: 'utf8' } }\n\t]\n};\n\n/** ASN.1 schema for OrganizationIdentificationSchemeNameChoice */\nexport const OrganizationIdentificationSchemeNameChoiceSchema: ASN1.Schema = {\n\tchoice: [\n\t\t{ type: 'context', kind: 'explicit', value: 0, contains: { type: 'string', kind: 'utf8' } },\n\t\t{ type: 'context', kind: 'explicit', value: 1, contains: { type: 'string', kind: 'utf8' } }\n\t]\n};\n\n/** ASN.1 schema for PersonIdentificationSchemeNameChoice */\nexport const PersonIdentificationSchemeNameChoiceSchema: ASN1.Schema = {\n\tchoice: [\n\t\t{ type: 'context', kind: 'explicit', value: 0, contains: { type: 'string', kind: 'utf8' } },\n\t\t{ type: 'context', kind: 'explicit', value: 1, contains: { type: 'string', kind: 'utf8' } }\n\t]\n};\n\n// Generated ASN.1 schemas for ISO 20022 regular sequence types\n/** ASN.1 schema for GenericOrganizationIdentification */\nexport const GenericOrganizationIdentificationSchema: ASN1.Schema = {\n\ttype: 'struct',\n\tfieldNames: ['id', 'issuer', 'schemeName'],\n\tcontains: {\n\t\tid: { type: 'context', kind: 'explicit', value: 0, contains: { type: 'string', kind: 'utf8' } },\n\t\tissuer: { optional: { type: 'context', kind: 'explicit', value: 1, contains: { type: 'string', kind: 'utf8' } } },\n\t\tschemeName: { optional: OrganizationIdentificationSchemeNameChoiceSchema }\n\t}\n};\n\n/** ASN.1 schema for GenericPersonIdentification */\nexport const GenericPersonIdentificationSchema: ASN1.Schema = {\n\ttype: 'struct',\n\tfieldNames: ['id', 'issuer', 'schemeName'],\n\tcontains: {\n\t\tid: { type: 'context', kind: 'explicit', value: 0, contains: { type: 'string', kind: 'utf8' } },\n\t\tissuer: { optional: { type: 'context', kind: 'explicit', value: 1, contains: { type: 'string', kind: 'utf8' } } },\n\t\tschemeName: { optional: PersonIdentificationSchemeNameChoiceSchema }\n\t}\n};\n\n/** ASN.1 schema for OtherContact */\nexport const OtherContactSchema: ASN1.Schema = {\n\ttype: 'struct',\n\tfieldNames: ['channelType', 'id'],\n\tcontains: {\n\t\tchannelType: { type: 'context', kind: 'explicit', value: 0, contains: { type: 'string', kind: 'utf8' } },\n\t\tid: { optional: { type: 'context', kind: 'explicit', value: 1, contains: { type: 'string', kind: 'utf8' } } }\n\t}\n};\n\n// Generated ASN.1 schemas for ISO 20022 sequence-of-choice types\n/** ASN.1 schema for OrganizationIdentification */\nexport const OrganizationIdentificationSchema: ASN1.Schema = {\n\tsequenceOf: {\n\t\tchoice: [\n\t\t\t{ type: 'context', kind: 'explicit', value: 0, contains: { type: 'string', kind: 'utf8' } },\n\t\t\t{ type: 'context', kind: 'explicit', value: 1, contains: { type: 'string', kind: 'utf8' } },\n\t\t\t{ type: 'context', kind: 'explicit', value: 2, contains: GenericOrganizationIdentificationSchema }\n\t\t]\n\t}\n};\n\nexport const OrganizationIdentificationFields = [\n\t'bic',\n\t'lei',\n\t'other'\n] as const;\n\n\n/** ASN.1 schema for PersonIdentification */\nexport const PersonIdentificationSchema: ASN1.Schema = {\n\tsequenceOf: {\n\t\tchoice: [\n\t\t\t{ type: 'context', kind: 'explicit', value: 0, contains: { type: 'string', kind: 'utf8' } },\n\t\t\t{ type: 'context', kind: 'explicit', value: 1, contains: GenericPersonIdentificationSchema }\n\t\t]\n\t}\n};\n\nexport const PersonIdentificationFields = [\n\t'dateAndPlaceOfBirth',\n\t'other'\n] as const;\n\n\n// Generated ASN.1 schemas for choice-type sensitive attributes\n/** Person's full name */\n/** OID: 1.3.6.1.4.1.62675.1.0 */\nexport type FullName = string;\n\n/** Person's first name */\n/** OID: 1.3.6.1.4.1.62675.1.0.1 */\nexport type FirstName = string;\n\n/** Person's last name */\n/** OID: 1.3.6.1.4.1.62675.1.0.2 */\nexport type LastName = string;\n\n/** Person's middle name */\n/** OID: 1.3.6.1.4.1.62675.1.0.3 */\nexport type MiddleName = string;\n\n/** Date of birth */\n/** OID: 1.3.6.1.4.1.62675.1.1 */\nexport type DateOfBirth = Date;\n\n/** Physical address */\n/** OID: 1.3.6.1.4.1.62675.1.2 */\nexport interface Address {\n\taddressType?: AddressType;\n\tdepartment?: Department;\n\tsubDepartment?: SubDepartment;\n\tstreetName?: StreetName;\n\tbuildingNumber?: BuildingNumber;\n\tpostalCode?: PostalCode;\n\ttownName?: TownName;\n\tcountrySubDivision?: CountrySubDivision;\n\tcountry?: Country;\n\taddressLines?: AddressLines;\n}\n\n/** Email address */\n/** OID: 1.3.6.1.4.1.62675.1.3 */\nexport type Email = string;\n\n/** Phone number */\n/** OID: 1.3.6.1.4.1.62675.1.4 */\nexport type PhoneNumber = string;\n\n/** Date and place of birth information */\n/** OID: 1.3.6.1.4.1.62675.1.5 */\nexport interface DateAndPlaceOfBirth {\n\tbirthDate: BirthDate;\n\tprovinceOfBirth?: CountrySubDivision;\n\tcityOfBirth: TownName;\n\tcountryOfBirth: Country;\n}\n\n/** Job title */\n/** OID: 1.3.6.1.4.1.62675.1.6 */\nexport type JobTitle = string;\n\n/** Job responsibility */\n/** OID: 1.3.6.1.4.1.62675.1.6.1 */\nexport type JobResponsibility = string;\n\n/** Identifier */\n/** OID: 1.3.6.1.4.1.62675.1.7 */\nexport type Id = string;\n\n/** Issuer identifier */\n/** OID: 1.3.6.1.4.1.62675.1.7.1 */\nexport type Issuer = string;\n\n/** Entity type (organization or person) */\n/** OID: 1.3.6.1.4.1.62675.1.8 */\nexport interface EntityType {\n\torganization?: GenericOrganizationIdentification[];\n\tperson?: GenericPersonIdentification[];\n}\n\n/** Contact details */\n/** OID: 1.3.6.1.4.1.62675.1.9 */\nexport interface ContactDetails {\n\tnamePrefix?: NamePrefixCode;\n\tfullName?: FullName;\n\tphoneNumber?: PhoneNumber;\n\tmobileNumber?: PhoneNumber;\n\tfaxNumber?: PhoneNumber;\n\temailAddress?: EmailAddress;\n\temailPurpose?: EmailAddressPurpose;\n\tjobTitle?: JobTitle;\n\tjobResponsibility?: JobResponsibility;\n\tdepartment?: Department;\n\tother?: OtherContact[];\n\tpreferredMethod?: PreferredContactMethodCode;\n}\n\n/** Nationality */\n/** OID: 1.3.6.1.4.1.62675.1.10 */\nexport type Nationality = string;\n\n/** Generic document structure with metadata */\n/** OID: 1.3.6.1.4.1.62675.1.11 */\nexport interface Document {\n\tdocumentNumber: string;\n\tfront?: Reference;\n\tback?: Reference;\n\tselfie?: Reference;\n\tfullName?: string;\n\tfirstName?: string;\n\tlastName?: string;\n\tdob?: Date;\n\tgender?: string;\n\taddress?: Address;\n\texpiresAt?: Date;\n\tissuedAt?: Date;\n\tissuingState?: string;\n\tissuingCountry?: string;\n\trefNumber?: string;\n\tnationality?: string;\n\tcurp?: string;\n\tclaveDeElector?: string;\n\tclassifiedDocumentType?: string;\n\tcurpValidationResponse?: string;\n\tsambaActivityHistoryResponse?: string;\n}\n\n/** Driver's license document */\n/** OID: 1.3.6.1.4.1.62675.1.11.0 */\nexport type DocumentDriversLicense = Document;\n\n/** ID card document */\n/** OID: 1.3.6.1.4.1.62675.1.11.1 */\nexport type DocumentIdCard = Document;\n\n/** Passport document */\n/** OID: 1.3.6.1.4.1.62675.1.11.2 */\nexport type DocumentPassport = Document;\n\n/** Passport card document */\n/** OID: 1.3.6.1.4.1.62675.1.11.3 */\nexport type DocumentPassportCard = Document;\n\n/** Permit document */\n/** OID: 1.3.6.1.4.1.62675.1.11.4 */\nexport type DocumentPermit = Document;\n\n/** Visa document */\n/** OID: 1.3.6.1.4.1.62675.1.11.5 */\nexport type DocumentVisa = Document;\n\n/** Residence document */\n/** OID: 1.3.6.1.4.1.62675.1.11.6 */\nexport type DocumentResidenceDocument = Document;\n\n/** Business registration documents */\n/** OID: 1.3.6.1.4.1.62675.1.11.7 */\nexport type DocumentBusinessRegistration = OrganizationDocuments;\n\n/** Register of directors documents */\n/** OID: 1.3.6.1.4.1.62675.1.11.8 */\nexport type DocumentRegisterOfDirectors = OrganizationDocuments;\n\n/** Financial statement documents */\n/** OID: 1.3.6.1.4.1.62675.1.11.9 */\nexport type DocumentFinancialStatement = OrganizationDocuments;\n\n/** Additional organization documents */\n/** OID: 1.3.6.1.4.1.62675.1.11.10 */\nexport type DocumentAdditional = OrganizationDocuments;\n\n/** Organization's legal name */\n/** OID: 1.3.6.1.4.1.62675.1.12 */\nexport type OrganizationName = string;\n\n/** Organization's trade name (doing-business-as name) */\n/** OID: 1.3.6.1.4.1.62675.1.12.1 */\nexport type TradeName = string;\n\n/** Organization's legal form */\n/** OID: 1.3.6.1.4.1.62675.1.13 */\nexport type LegalForm = string;\n\n/** Organization incorporation details */\n/** OID: 1.3.6.1.4.1.62675.1.14 */\nexport interface Incorporation {\n\tcountry: Country;\n\tcountrySubDivision?: CountrySubDivision;\n\tincorporationDate?: Date;\n}\n\n/** Organization's website */\n/** OID: 1.3.6.1.4.1.62675.1.15 */\nexport type Website = string;\n\n/** Description of the organization's business activities */\n/** OID: 1.3.6.1.4.1.62675.1.16 */\nexport type BusinessActivity = string;\n\n/** Primary source of the organization's funds */\n/** OID: 1.3.6.1.4.1.62675.1.17 */\nexport interface SourceOfFunds {\n\tsource: string;\n\tdescription?: string;\n}\n\n/** Organization's expected annual transaction volume band */\n/** OID: 1.3.6.1.4.1.62675.1.18 */\nexport type ExpectedAnnualVolume = string;\n\n/** Countries the organization operates in */\n/** OID: 1.3.6.1.4.1.62675.1.19 */\nexport interface CountriesOfOperation {\n\tcountries: Country[];\n}\n\n/** Address the organization operates from */\n/** OID: 1.3.6.1.4.1.62675.1.20 */\nexport type OperatingAddress = Address;\n\n/** Whether the organization's shares are publicly traded */\n/** OID: 1.3.6.1.4.1.62675.1.21 */\nexport type PubliclyTraded = boolean;\n\n/** Whether the organization operates from its registered address */\n/** OID: 1.3.6.1.4.1.62675.1.22 */\nexport type OperatesFromRegisteredAddress = boolean;\n\n/** Ultimate beneficial owner of an organization */\n/** OID: 1.3.6.1.4.1.62675.1.23.1 */\nexport interface Ubo {\n\tfullName: string;\n\tdateOfBirth: Date;\n\tcountryOfBirth: Country;\n\tnationalities: Country[];\n\taddress: Address;\n\temail: string;\n\tphoneNumber?: string;\n\tpercentageHeld: string;\n\townershipType: string;\n\tisSigner: boolean;\n\tposition?: string;\n\tidentifications?: GenericPersonIdentification[];\n\tgovernmentIssuedID?: Reference[];\n}\n\n/** Organization's ultimate beneficial owners */\n/** OID: 1.3.6.1.4.1.62675.1.23 */\nexport interface Ubos {\n\towners: Ubo[];\n}\n\n/** DigestInfo from RFC 3447 */\nexport interface DigestInfo {\n\tdigestAlgorithm: ASN1.ASN1OID;\n\tdigest: Buffer;\n}\n\nexport const DigestInfoSchema: ASN1.Schema = {\n\ttype: 'struct',\n\tfieldNames: ['digestAlgorithm', 'digest'],\n\tcontains: {\n\t\tdigestAlgorithm: ASN1.ValidateASN1.IsOID,\n\t\tdigest: ASN1.ValidateASN1.IsOctetString\n\t}\n};\n\n/** External reference pointer */\nexport interface ExternalReference {\n\turl: string;\n\tcontentType: string;\n}\n\nexport const ExternalReferenceSchema: ASN1.Schema = {\n\ttype: 'struct',\n\tfieldNames: ['url', 'contentType'],\n\tcontains: {\n\t\turl: { type: 'string', kind: 'utf8' },\n\t\tcontentType: { type: 'string', kind: 'utf8' }\n\t}\n};\n\n/** Reference */\nexport interface Reference {\n\texternal: ExternalReference;\n\tdigest: DigestInfo;\n\tencryptionAlgorithm: ASN1.ASN1OID;\n\t/**\n\t * TODOC\n\t */\n\t$blob: (principals?: KeetaNetAccount[]) => Promise<Blob>;\n}\n\nexport const ReferenceSchema: ASN1.Schema = {\n\ttype: 'struct',\n\tfieldNames: ['external', 'digest', 'encryptionAlgorithm'],\n\tcontains: {\n\t\texternal: ExternalReferenceSchema,\n\t\tdigest: DigestInfoSchema,\n\t\tencryptionAlgorithm: ASN1.ValidateASN1.IsOID\n\t}\n};\n\n/** Files an organization filed under one document category */\nexport interface OrganizationDocuments {\n\tdocumentNumber?: string;\n\tfiles: Reference[];\n}\n\nexport const OrganizationDocumentsSchema: ASN1.Schema = {\n\ttype: 'struct',\n\tfieldNames: ['documentNumber', 'files'],\n\tcontains: {\n\t\tdocumentNumber: { optional: { type: 'context', kind: 'explicit', value: 0, contains: { type: 'string', kind: 'utf8' } } },\n\t\tfiles: { type: 'context', kind: 'explicit', value: 1, contains: { sequenceOf: ReferenceSchema } }\n\t}\n};\n\n// Token aliases for sensitive attributes\n/** Alias for DateOfBirth */\nexport type BirthDate = DateOfBirth;\n\n/** Alias for Email */\nexport type EmailAddress = Email;\n\n/** Union type of all sensitive attribute types */\nexport type SensitiveAttributeType =\n\t| FullName\n\t| FirstName\n\t| LastName\n\t| MiddleName\n\t| DateOfBirth\n\t| Address\n\t| Email\n\t| PhoneNumber\n\t| DateAndPlaceOfBirth\n\t| JobTitle\n\t| JobResponsibility\n\t| Id\n\t| Issuer\n\t| EntityType\n\t| ContactDetails\n\t| Nationality\n\t| Document\n\t| DocumentDriversLicense\n\t| DocumentIdCard\n\t| DocumentPassport\n\t| DocumentPassportCard\n\t| DocumentPermit\n\t| DocumentVisa\n\t| DocumentResidenceDocument\n\t| DocumentBusinessRegistration\n\t| DocumentRegisterOfDirectors\n\t| DocumentFinancialStatement\n\t| DocumentAdditional\n\t| OrganizationName\n\t| TradeName\n\t| LegalForm\n\t| Incorporation\n\t| Website\n\t| BusinessActivity\n\t| SourceOfFunds\n\t| ExpectedAnnualVolume\n\t| CountriesOfOperation\n\t| OperatingAddress\n\t| PubliclyTraded\n\t| OperatesFromRegisteredAddress\n\t| Ubo\n\t| Ubos;\n\n/** Map of attribute name to acceptable input type for CertificateBuilder.setAttribute */\nexport interface CertificateAttributeValueMap {\n\t'fullName': FullName;\n\t'firstName': FirstName;\n\t'lastName': LastName;\n\t'middleName': MiddleName;\n\t'dateOfBirth': DateOfBirth;\n\t'address': Address;\n\t'email': Email;\n\t'phoneNumber': PhoneNumber;\n\t'dateAndPlaceOfBirth': DateAndPlaceOfBirth;\n\t'jobTitle': JobTitle;\n\t'jobResponsibility': JobResponsibility;\n\t'id': Id;\n\t'issuer': Issuer;\n\t'entityType': EntityType;\n\t'contactDetails': ContactDetails;\n\t'nationality': Nationality;\n\t'document': Document;\n\t'documentDriversLicense': DocumentDriversLicense;\n\t'documentIdCard': DocumentIdCard;\n\t'documentPassport': DocumentPassport;\n\t'documentPassportCard': DocumentPassportCard;\n\t'documentPermit': DocumentPermit;\n\t'documentVisa': DocumentVisa;\n\t'documentResidenceDocument': DocumentResidenceDocument;\n\t'documentBusinessRegistration': DocumentBusinessRegistration;\n\t'documentRegisterOfDirectors': DocumentRegisterOfDirectors;\n\t'documentFinancialStatement': DocumentFinancialStatement;\n\t'documentAdditional': DocumentAdditional;\n\t'organizationName': OrganizationName;\n\t'tradeName': TradeName;\n\t'legalForm': LegalForm;\n\t'incorporation': Incorporation;\n\t'website': Website;\n\t'businessActivity': BusinessActivity;\n\t'sourceOfFunds': SourceOfFunds;\n\t'expectedAnnualVolume': ExpectedAnnualVolume;\n\t'countriesOfOperation': CountriesOfOperation;\n\t'operatingAddress': OperatingAddress;\n\t'publiclyTraded': PubliclyTraded;\n\t'operatesFromRegisteredAddress': OperatesFromRegisteredAddress;\n\t'ubo': Ubo;\n\t'ubos': Ubos;\n}\n\n/** Helper generic to get attribute value type by name */\nexport type CertificateAttributeValue<Name extends keyof CertificateAttributeValueMap> = CertificateAttributeValueMap[Name];\n\nexport const AddressFields = ['addressLines', 'addressType', 'buildingNumber', 'country', 'countrySubDivision', 'department', 'postalCode', 'streetName', 'subDepartment', 'townName'] as const;\nexport const AddressSchema: ASN1.Schema = {\n\ttype: 'struct',\n\tfieldNames: ['addressLines', 'addressType', 'buildingNumber', 'country', 'countrySubDivision', 'department', 'postalCode', 'streetName', 'subDepartment', 'townName'],\n\tcontains: {\n\t\taddressLines: { optional: { type: 'context', kind: 'explicit', value: 0, contains: { sequenceOf: { type: 'string', kind: 'utf8' } } } },\n\t\taddressType: { optional: AddressTypeSchema },\n\t\tbuildingNumber: { optional: { type: 'context', kind: 'explicit', value: 2, contains: { type: 'string', kind: 'utf8' } } },\n\t\tcountry: { optional: { type: 'context', kind: 'explicit', value: 3, contains: { type: 'string', kind: 'utf8' } } },\n\t\tcountrySubDivision: { optional: { type: 'context', kind: 'explicit', value: 4, contains: { type: 'string', kind: 'utf8' } } },\n\t\tdepartment: { optional: { type: 'context', kind: 'explicit', value: 5, contains: { type: 'string', kind: 'utf8' } } },\n\t\tpostalCode: { optional: { type: 'context', kind: 'explicit', value: 6, contains: { type: 'string', kind: 'utf8' } } },\n\t\tstreetName: { optional: { type: 'context', kind: 'explicit', value: 7, contains: { type: 'string', kind: 'utf8' } } },\n\t\tsubDepartment: { optional: { type: 'context', kind: 'explicit', value: 8, contains: { type: 'string', kind: 'utf8' } } },\n\t\ttownName: { optional: { type: 'context', kind: 'explicit', value: 9, contains: { type: 'string', kind: 'utf8' } } }\n\t}\n};\nexport const DateAndPlaceOfBirthFields = ['birthDate', 'cityOfBirth', 'countryOfBirth', 'provinceOfBirth'] as const;\nexport const DateAndPlaceOfBirthSchema: ASN1.Schema = {\n\ttype: 'struct',\n\tfieldNames: ['birthDate', 'cityOfBirth', 'countryOfBirth', 'provinceOfBirth'],\n\tcontains: {\n\t\tbirthDate: { type: 'context', kind: 'explicit', value: 0, contains: ASN1.ValidateASN1.IsAnyDate },\n\t\tcityOfBirth: { type: 'context', kind: 'explicit', value: 1, contains: { type: 'string', kind: 'utf8' } },\n\t\tcountryOfBirth: { type: 'context', kind: 'explicit', value: 2, contains: { type: 'string', kind: 'utf8' } },\n\t\tprovinceOfBirth: { optional: { type: 'context', kind: 'explicit', value: 3, contains: { type: 'string', kind: 'utf8' } } }\n\t}\n};\nexport const EntityTypeFields = ['organization', 'person'] as const;\nexport const EntityTypeSchema: ASN1.Schema = {\n\ttype: 'struct',\n\tfieldNames: ['organization', 'person'],\n\tcontains: {\n\t\torganization: { optional: { type: 'context', kind: 'explicit', value: 0, contains: { sequenceOf: GenericOrganizationIdentificationSchema } } },\n\t\tperson: { optional: { type: 'context', kind: 'explicit', value: 1, contains: { sequenceOf: GenericPersonIdentificationSchema } } }\n\t}\n};\nexport const ContactDetailsFields = ['department', 'emailAddress', 'emailPurpose', 'faxNumber', 'fullName', 'jobResponsibility', 'jobTitle', 'mobileNumber', 'namePrefix', 'other', 'phoneNumber', 'preferredMethod'] as const;\nexport const ContactDetailsSchema: ASN1.Schema = {\n\ttype: 'struct',\n\tfieldNames: ['department', 'emailAddress', 'emailPurpose', 'faxNumber', 'fullName', 'jobResponsibility', 'jobTitle', 'mobileNumber', 'namePrefix', 'other', 'phoneNumber', 'preferredMethod'],\n\tcontains: {\n\t\tdepartment: { optional: { type: 'context', kind: 'explicit', value: 0, contains: { type: 'string', kind: 'utf8' } } },\n\t\temailAddress: { optional: { type: 'context', kind: 'explicit', value: 1, contains: { type: 'string', kind: 'utf8' } } },\n\t\temailPurpose: { optional: { type: 'context', kind: 'explicit', value: 2, contains: { type: 'string', kind: 'utf8' } } },\n\t\tfaxNumber: { optional: { type: 'context', kind: 'explicit', value: 3, contains: { type: 'string', kind: 'utf8' } } },\n\t\tfullName: { optional: { type: 'context', kind: 'explicit', value: 4, contains: { type: 'string', kind: 'utf8' } } },\n\t\tjobResponsibility: { optional: { type: 'context', kind: 'explicit', value: 5, contains: { type: 'string', kind: 'utf8' } } },\n\t\tjobTitle: { optional: { type: 'context', kind: 'explicit', value: 6, contains: { type: 'string', kind: 'utf8' } } },\n\t\tmobileNumber: { optional: { type: 'context', kind: 'explicit', value: 7, contains: { type: 'string', kind: 'utf8' } } },\n\t\tnamePrefix: { optional: { type: 'context', kind: 'explicit', value: 8, contains: { type: 'string', kind: 'utf8' } } },\n\t\tother: { optional: { type: 'context', kind: 'explicit', value: 9, contains: { sequenceOf: OtherContactSchema } } },\n\t\tphoneNumber: { optional: { type: 'context', kind: 'explicit', value: 10, contains: { type: 'string', kind: 'utf8' } } },\n\t\tpreferredMethod: { optional: { type: 'context', kind: 'explicit', value: 11, contains: { type: 'string', kind: 'utf8' } } }\n\t}\n};\nexport const DocumentFields = ['documentNumber', 'front', 'back', 'selfie', 'fullName', 'firstName', 'lastName', 'dob', 'gender', 'address', 'expiresAt', 'issuedAt', 'issuingState', 'issuingCountry', 'refNumber', 'nationality', 'curp', 'claveDeElector', 'classifiedDocumentType', 'curpValidationResponse', 'sambaActivityHistoryResponse'] as const;\nexport const DocumentSchema: ASN1.Schema = {\n\ttype: 'struct',\n\tfieldNames: ['documentNumber', 'front', 'back', 'selfie', 'fullName', 'firstName', 'lastName', 'dob', 'gender', 'address', 'expiresAt', 'issuedAt', 'issuingState', 'issuingCountry', 'refNumber', 'nationality', 'curp', 'claveDeElector', 'classifiedDocumentType', 'curpValidationResponse', 'sambaActivityHistoryResponse'],\n\tcontains: {\n\t\tdocumentNumber: { type: 'context', kind: 'explicit', value: 0, contains: { type: 'string', kind: 'utf8' } },\n\t\tfront: { optional: { type: 'context', kind: 'explicit', value: 1, contains: ReferenceSchema } },\n\t\tback: { optional: { type: 'context', kind: 'explicit', value: 2, contains: ReferenceSchema } },\n\t\tselfie: { optional: { type: 'context', kind: 'explicit', value: 3, contains: ReferenceSchema } },\n\t\tfullName: { optional: { type: 'context', kind: 'explicit', value: 4, contains: { type: 'string', kind: 'utf8' } } },\n\t\tfirstName: { optional: { type: 'context', kind: 'explicit', value: 5, contains: { type: 'string', kind: 'utf8' } } },\n\t\tlastName: { optional: { type: 'context', kind: 'explicit', value: 6, contains: { type: 'string', kind: 'utf8' } } },\n\t\tdob: { optional: { type: 'context', kind: 'explicit', value: 7, contains: ASN1.ValidateASN1.IsAnyDate } },\n\t\tgender: { optional: { type: 'context', kind: 'explicit', value: 8, contains: { type: 'string', kind: 'utf8' } } },\n\t\taddress: { optional: { type: 'context', kind: 'explicit', value: 9, contains: AddressSchema } },\n\t\texpiresAt: { optional: { type: 'context', kind: 'explicit', value: 10, contains: ASN1.ValidateASN1.IsAnyDate } },\n\t\tissuedAt: { optional: { type: 'context', kind: 'explicit', value: 11, contains: ASN1.ValidateASN1.IsAnyDate } },\n\t\tissuingState: { optional: { type: 'context', kind: 'explicit', value: 12, contains: { type: 'string', kind: 'utf8' } } },\n\t\tissuingCountry: { optional: { type: 'context', kind: 'explicit', value: 13, contains: { type: 'string', kind: 'utf8' } } },\n\t\trefNumber: { optional: { type: 'context', kind: 'explicit', value: 14, contains: { type: 'string', kind: 'utf8' } } },\n\t\tnationality: { optional: { type: 'context', kind: 'explicit', value: 15, contains: { type: 'string', kind: 'utf8' } } },\n\t\tcurp: { optional: { type: 'context', kind: 'explicit', value: 16, contains: { type: 'string', kind: 'utf8' } } },\n\t\tclaveDeElector: { optional: { type: 'context', kind: 'explicit', value: 17, contains: { type: 'string', kind: 'utf8' } } },\n\t\tclassifiedDocumentType: { optional: { type: 'context', kind: 'explicit', value: 18, contains: { type: 'string', kind: 'utf8' } } },\n\t\tcurpValidationResponse: { optional: { type: 'context', kind: 'explicit', value: 19, contains: { type: 'string', kind: 'utf8' } } },\n\t\tsambaActivityHistoryResponse: { optional: { type: 'context', kind: 'explicit', value: 20, contains: { type: 'string', kind: 'utf8' } } }\n\t}\n};\nexport const IncorporationFields = ['country', 'countrySubDivision', 'incorporationDate'] as const;\nexport const IncorporationSchema: ASN1.Schema = {\n\ttype: 'struct',\n\tfieldNames: ['country', 'countrySubDivision', 'incorporationDate'],\n\tcontains: {\n\t\tcountry: { type: 'context', kind: 'explicit', value: 0, contains: { type: 'string', kind: 'utf8' } },\n\t\tcountrySubDivision: { optional: { type: 'context', kind: 'explicit', value: 1, contains: { type: 'string', kind: 'utf8' } } },\n\t\tincorporationDate: { optional: { type: 'context', kind: 'explicit', value: 2, contains: ASN1.ValidateASN1.IsAnyDate } }\n\t}\n};\nexport const SourceOfFundsFields = ['source', 'description'] as const;\nexport const SourceOfFundsSchema: ASN1.Schema = {\n\ttype: 'struct',\n\tfieldNames: ['source', 'description'],\n\tcontains: {\n\t\tsource: { type: 'context', kind: 'explicit', value: 0, contains: { type: 'string', kind: 'utf8' } },\n\t\tdescription: { optional: { type: 'context', kind: 'explicit', value: 1, contains: { type: 'string', kind: 'utf8' } } }\n\t}\n};\nexport const CountriesOfOperationFields = ['countries'] as const;\nexport const CountriesOfOperationSchema: ASN1.Schema = {\n\ttype: 'struct',\n\tfieldNames: ['countries'],\n\tcontains: {\n\t\tcountries: { sequenceOf: { type: 'string', kind: 'utf8' } }\n\t}\n};\nexport const UboFields = ['fullName', 'dateOfBirth', 'countryOfBirth', 'nationalities', 'address', 'email', 'phoneNumber', 'percentageHeld', 'ownershipType', 'isSigner', 'position', 'identifications', 'governmentIssuedID'] as const;\nexport const UboSchema: ASN1.Schema = {\n\ttype: 'struct',\n\tfieldNames: ['fullName', 'dateOfBirth', 'countryOfBirth', 'nationalities', 'address', 'email', 'phoneNumber', 'percentageHeld', 'ownershipType', 'isSigner', 'position', 'identifications', 'governmentIssuedID'],\n\tcontains: {\n\t\tfullName: { type: 'context', kind: 'explicit', value: 0, contains: { type: 'string', kind: 'utf8' } },\n\t\tdateOfBirth: { type: 'context', kind: 'explicit', value: 1, contains: ASN1.ValidateASN1.IsAnyDate },\n\t\tcountryOfBirth: { type: 'context', kind: 'explicit', value: 2, contains: { type: 'string', kind: 'utf8' } },\n\t\tnationalities: { type: 'context', kind: 'explicit', value: 3, contains: { sequenceOf: { type: 'string', kind: 'utf8' } } },\n\t\taddress: { type: 'context', kind: 'explicit', value: 4, contains: AddressSchema },\n\t\temail: { type: 'context', kind: 'explicit', value: 5, contains: { type: 'string', kind: 'utf8' } },\n\t\tphoneNumber: { optional: { type: 'context', kind: 'explicit', value: 6, contains: { type: 'string', kind: 'utf8' } } },\n\t\tpercentageHeld: { type: 'context', kind: 'explicit', value: 7, contains: { type: 'string', kind: 'utf8' } },\n\t\townershipType: { type: 'context', kind: 'explicit', value: 8, contains: { type: 'string', kind: 'utf8' } },\n\t\tisSigner: { type: 'context', kind: 'explicit', value: 9, contains: ASN1.ValidateASN1.IsBoolean },\n\t\tposition: { optional: { type: 'context', kind: 'explicit', value: 10, contains: { type: 'string', kind: 'utf8' } } },\n\t\tidentifications: { optional: { type: 'context', kind: 'explicit', value: 11, contains: { sequenceOf: GenericPersonIdentificationSchema } } },\n\t\tgovernmentIssuedID: { optional: { type: 'context', kind: 'explicit', value: 12, contains: { sequenceOf: ReferenceSchema } } }\n\t}\n};\nexport const UbosFields = ['owners'] as const;\nexport const UbosSchema: ASN1.Schema = {\n\ttype: 'struct',\n\tfieldNames: ['owners'],\n\tcontains: {\n\t\towners: { sequenceOf: UboSchema }\n\t}\n};\nexport const CertificateAttributeOIDDB = {\n\t'fullName': '1.3.6.1.4.1.62675.1.0',\n\t'firstName': '1.3.6.1.4.1.62675.1.0.1',\n\t'lastName': '1.3.6.1.4.1.62675.1.0.2',\n\t'middleName': '1.3.6.1.4.1.62675.1.0.3',\n\t'dateOfBirth': '1.3.6.1.4.1.62675.1.1',\n\t'address': '1.3.6.1.4.1.62675.1.2',\n\t'email': '1.3.6.1.4.1.62675.1.3',\n\t'phoneNumber': '1.3.6.1.4.1.62675.1.4',\n\t'dateAndPlaceOfBirth': '1.3.6.1.4.1.62675.1.5',\n\t'jobTitle': '1.3.6.1.4.1.62675.1.6',\n\t'jobResponsibility': '1.3.6.1.4.1.62675.1.6.1',\n\t'id': '1.3.6.1.4.1.62675.1.7',\n\t'issuer': '1.3.6.1.4.1.62675.1.7.1',\n\t'entityType': '1.3.6.1.4.1.62675.1.8',\n\t'contactDetails': '1.3.6.1.4.1.62675.1.9',\n\t'nationality': '1.3.6.1.4.1.62675.1.10',\n\t'document': '1.3.6.1.4.1.62675.1.11',\n\t'documentDriversLicense': '1.3.6.1.4.1.62675.1.11.0',\n\t'documentIdCard': '1.3.6.1.4.1.62675.1.11.1',\n\t'documentPassport': '1.3.6.1.4.1.62675.1.11.2',\n\t'documentPassportCard': '1.3.6.1.4.1.62675.1.11.3',\n\t'documentPermit': '1.3.6.1.4.1.62675.1.11.4',\n\t'documentVisa': '1.3.6.1.4.1.62675.1.11.5',\n\t'documentResidenceDocument': '1.3.6.1.4.1.62675.1.11.6',\n\t'documentBusinessRegistration': '1.3.6.1.4.1.62675.1.11.7',\n\t'documentRegisterOfDirectors': '1.3.6.1.4.1.62675.1.11.8',\n\t'documentFinancialStatement': '1.3.6.1.4.1.62675.1.11.9',\n\t'documentAdditional': '1.3.6.1.4.1.62675.1.11.10',\n\t'organizationName': '1.3.6.1.4.1.62675.1.12',\n\t'tradeName': '1.3.6.1.4.1.62675.1.12.1',\n\t'legalForm': '1.3.6.1.4.1.62675.1.13',\n\t'incorporation': '1.3.6.1.4.1.62675.1.14',\n\t'website': '1.3.6.1.4.1.62675.1.15',\n\t'businessActivity': '1.3.6.1.4.1.62675.1.16',\n\t'sourceOfFunds': '1.3.6.1.4.1.62675.1.17',\n\t'expectedAnnualVolume': '1.3.6.1.4.1.62675.1.18',\n\t'countriesOfOperation': '1.3.6.1.4.1.62675.1.19',\n\t'operatingAddress': '1.3.6.1.4.1.62675.1.20',\n\t'publiclyTraded': '1.3.6.1.4.1.62675.1.21',\n\t'operatesFromRegisteredAddress': '1.3.6.1.4.1.62675.1.22',\n\t'ubo': '1.3.6.1.4.1.62675.1.23.1',\n\t'ubos': '1.3.6.1.4.1.62675.1.23'\n} as const;\n\nexport const SENSITIVE_CERTIFICATE_ATTRIBUTES = [\n\t'fullName',\n\t'firstName',\n\t'lastName',\n\t'middleName',\n\t'dateOfBirth',\n\t'address',\n\t'email',\n\t'phoneNumber',\n\t'dateAndPlaceOfBirth',\n\t'jobTitle',\n\t'jobResponsibility',\n\t'id',\n\t'issuer',\n\t'entityType',\n\t'contactDetails',\n\t'nationality',\n\t'document',\n\t'documentDriversLicense',\n\t'documentIdCard',\n\t'documentPassport',\n\t'documentPassportCard',\n\t'documentPermit',\n\t'documentVisa',\n\t'documentResidenceDocument',\n\t'documentBusinessRegistration',\n\t'documentRegisterOfDirectors',\n\t'documentFinancialStatement',\n\t'documentAdditional',\n\t'organizationName',\n\t'tradeName',\n\t'legalForm',\n\t'incorporation',\n\t'website',\n\t'businessActivity',\n\t'sourceOfFunds',\n\t'expectedAnnualVolume',\n\t'countriesOfOperation',\n\t'operatingAddress',\n\t'publiclyTraded',\n\t'operatesFromRegisteredAddress',\n\t'ubo',\n\t'ubos'\n] as const;\n\nexport type SensitiveCertificateAttributeNames = typeof SENSITIVE_CERTIFICATE_ATTRIBUTES[number];\n\nexport const SensitiveCertificateAttributeNames = [\n\t'FullName',\n\t'FirstName',\n\t'LastName',\n\t'MiddleName',\n\t'DateOfBirth',\n\t'Address',\n\t'Email',\n\t'PhoneNumber',\n\t'DateAndPlaceOfBirth',\n\t'JobTitle',\n\t'JobResponsibility',\n\t'Id',\n\t'Issuer',\n\t'EntityType',\n\t'ContactDetails',\n\t'Nationality',\n\t'Document',\n\t'DocumentDriversLicense',\n\t'DocumentIdCard',\n\t'DocumentPassport',\n\t'DocumentPassportCard',\n\t'DocumentPermit',\n\t'DocumentVisa',\n\t'DocumentResidenceDocument',\n\t'DocumentBusinessRegistration',\n\t'DocumentRegisterOfDirectors',\n\t'DocumentFinancialStatement',\n\t'DocumentAdditional',\n\t'OrganizationName',\n\t'TradeName',\n\t'LegalForm',\n\t'Incorporation',\n\t'Website',\n\t'BusinessActivity',\n\t'SourceOfFunds',\n\t'ExpectedAnnualVolume',\n\t'CountriesOfOperation',\n\t'OperatingAddress',\n\t'PubliclyTraded',\n\t'OperatesFromRegisteredAddress',\n\t'Ubo',\n\t'Ubos'\n] as const;\n\nexport const CertificateAttributeFieldNames: { readonly [K in keyof typeof CertificateAttributeOIDDB]?: readonly string[] } = {\n\t'address': AddressFields,\n\t'dateAndPlaceOfBirth': DateAndPlaceOfBirthFields,\n\t'entityType': EntityTypeFields,\n\t'contactDetails': ContactDetailsFields,\n\t'document': DocumentFields,\n\t'incorporation': IncorporationFields,\n\t'sourceOfFunds': SourceOfFundsFields,\n\t'countriesOfOperation': CountriesOfOperationFields,\n\t'ubo': UboFields,\n\t'ubos': UbosFields\n} as const;\n\nexport const CertificateAttributeSchema: { readonly [K in keyof typeof CertificateAttributeOIDDB]: ASN1.Schema } = {\n\t'fullName': { type: 'string', kind: 'utf8' },\n\t'firstName': { type: 'string', kind: 'utf8' },\n\t'lastName': { type: 'string', kind: 'utf8' },\n\t'middleName': { type: 'string', kind: 'utf8' },\n\t'dateOfBirth': ASN1.ValidateASN1.IsAnyDate,\n\t'address': AddressSchema,\n\t'email': { type: 'string', kind: 'utf8' },\n\t'phoneNumber': { type: 'string', kind: 'utf8' },\n\t'dateAndPlaceOfBirth': DateAndPlaceOfBirthSchema,\n\t'jobTitle': { type: 'string', kind: 'utf8' },\n\t'jobResponsibility': { type: 'string', kind: 'utf8' },\n\t'id': { type: 'string', kind: 'utf8' },\n\t'issuer': { type: 'string', kind: 'utf8' },\n\t'entityType': EntityTypeSchema,\n\t'contactDetails': ContactDetailsSchema,\n\t'nationality': { type: 'string', kind: 'utf8' },\n\t'document': DocumentSchema,\n\t'documentDriversLicense': DocumentSchema,\n\t'documentIdCard': DocumentSchema,\n\t'documentPassport': DocumentSchema,\n\t'documentPassportCard': DocumentSchema,\n\t'documentPermit': DocumentSchema,\n\t'documentVisa': DocumentSchema,\n\t'documentResidenceDocument': DocumentSchema,\n\t'documentBusinessRegistration': OrganizationDocumentsSchema,\n\t'documentRegisterOfDirectors': OrganizationDocumentsSchema,\n\t'documentFinancialStatement': OrganizationDocumentsSchema,\n\t'documentAdditional': OrganizationDocumentsSchema,\n\t'organizationName': { type: 'string', kind: 'utf8' },\n\t'tradeName': { type: 'string', kind: 'utf8' },\n\t'legalForm': { type: 'string', kind: 'utf8' },\n\t'incorporation': IncorporationSchema,\n\t'website': { type: 'string', kind: 'utf8' },\n\t'businessActivity': { type: 'string', kind: 'utf8' },\n\t'sourceOfFunds': SourceOfFundsSchema,\n\t'expectedAnnualVolume': { type: 'string', kind: 'utf8' },\n\t'countriesOfOperation': CountriesOfOperationSchema,\n\t'operatingAddress': AddressSchema,\n\t'publiclyTraded': ASN1.ValidateASN1.IsBoolean,\n\t'operatesFromRegisteredAddress': ASN1.ValidateASN1.IsBoolean,\n\t'ubo': UboSchema,\n\t'ubos': UbosSchema\n} as const;\n"]}
1
+ {"version":3,"file":"iso20022.generated.js","sourceRoot":"","sources":["../../../src/services/kyc/iso20022.generated.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB;;;GAGG;AAEH,OAAO,KAAK,IAAI,MAAM,yBAAyB,CAAC;AA2IhD,qDAAqD;AACrD,mCAAmC;AACnC,MAAM,CAAC,MAAM,iBAAiB,GAAgB;IAC7C,MAAM,EAAE;QACP,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,UAAU,EAAE,KAAK,EAAE,CAAC,EAAE,QAAQ,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE;QAC3F,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,UAAU,EAAE,KAAK,EAAE,CAAC,EAAE,QAAQ,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE;KAC3F;CACD,CAAC;AAEF,kEAA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AAE,cAAc;IAClC,sBAAsB,EAAE,cAAc;IACtC,gBAAgB,EAAE,cAAc;IAChC,cAAc,EAAE,cAAc;IAC9B,2BAA2B,EAAE,cAAc;IAC3C,8BAA8B,EAAE,2BAA2B;IAC3D,6BAA6B,EAAE,2BAA2B;IAC1D,4BAA4B,EAAE,2BAA2B;IACzD,oBAAoB,EAAE,2BAA2B;IACjD,wBAAwB,EAAE,2BAA2B;IACrD,kBAAkB,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE;IACpD,WAAW,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE;IAC7C,WAAW,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE;IAC7C,eAAe,EAAE,mBAAmB;IACpC,SAAS,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE;IAC3C,kBAAkB,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE;IACpD,eAAe,EAAE,mBAAmB;IACpC,sBAAsB,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE;IACxD,sBAAsB,EAAE,0BAA0B;IAClD,kBAAkB,EAAE,aAAa;IACjC,gBAAgB,EAAE,IAAI,CAAC,YAAY,CAAC,SAAS;IAC7C,+BAA+B,EAAE,IAAI,CAAC,YAAY,CAAC,SAAS;IAC5D,KAAK,EAAE,SAAS;IAChB,MAAM,EAAE,UAAU;CACT,CAAC","sourcesContent":["/* eslint-disable */\n/**\n * Generated ISO20022 Type Definitions\n * This file is auto-generated from oids.json.\n */\n\nimport * as ASN1 from '../../lib/utils/asn1.js';\nimport { lib as KeetaNetLib } from '@keetanetwork/keetanet-client';\ntype KeetaNetAccount = InstanceType<typeof KeetaNetLib.Account>;\n\n// ISO20022 Primitive Types\n/** Country code or name */\n/** OID: 1.3.6.1.4.1.62675.1.2.0 */\nexport type Country = string;\n\n/** Country subdivision (state/province) */\n/** OID: 1.3.6.1.4.1.62675.1.2.1 */\nexport type CountrySubDivision = string;\n\n/** Postal code */\n/** OID: 1.3.6.1.4.1.62675.1.2.3 */\nexport type PostalCode = string;\n\n/** Town or city name */\n/** OID: 1.3.6.1.4.1.62675.1.2.4 */\nexport type TownName = string;\n\n/** Building number */\n/** OID: 1.3.6.1.4.1.62675.1.2.5 */\nexport type BuildingNumber = string;\n\n/** Street name */\n/** OID: 1.3.6.1.4.1.62675.1.2.6 */\nexport type StreetName = string;\n\n/** Free-form address lines */\n/** OID: 1.3.6.1.4.1.62675.1.2.7 */\nexport type AddressLines = string[];\n\n/** Sub-department */\n/** OID: 1.3.6.1.4.1.62675.1.2.8 */\nexport type SubDepartment = string;\n\n/** Department */\n/** OID: 1.3.6.1.4.1.62675.1.2.9 */\nexport type Department = string;\n\n/** Purpose of email address */\n/** OID: 1.3.6.1.4.1.62675.1.3.0 */\nexport type EmailAddressPurpose = string;\n\n// ISO20022 Enumeration Types\n/** Name prefix code */\n/** OID: 1.3.6.1.4.1.62675.1.0.0 */\nexport type NamePrefixCode = 'DOCT' | 'MIST' | 'MISS' | 'MIKS' | 'MME';\n\n/** Preferred contact method */\n/** OID: 1.3.6.1.4.1.62675.1.9.0 */\nexport type PreferredContactMethodCode = 'LETT' | 'MAIL' | 'PHON' | 'FAXX' | 'CELL';\n\n/** Person identification scheme name proprietary values */\n/** OID: 1.3.6.1.4.1.62675.1.8.1.1.0 */\nexport type PersonIdentificationSchemeNameProprietary = 'DRLC' | 'CPPT' | 'ARNU' | 'SSN' | 'TXID' | 'VISA' | 'WPPT';\n\n// ISO20022 Choice Types\n/** Address type classification */\n/** OID: 1.3.6.1.4.1.62675.1.2.10 */\nexport type AddressType = string;\n\n/** Organization identification scheme name */\n/** OID: 1.3.6.1.4.1.62675.1.8.0.2 */\nexport type OrganizationIdentificationSchemeNameChoice = string;\n\n/** Person identification scheme name */\n/** OID: 1.3.6.1.4.1.62675.1.8.1.1 */\nexport type PersonIdentificationSchemeNameChoice = string | PersonIdentificationSchemeNameProprietary;\n\n// ISO20022 Sequence Types\n/** Generic organization identification */\n/** OID: 1.3.6.1.4.1.62675.1.8.0.1 */\nexport interface GenericOrganizationIdentification {\n\tid: Id;\n\tschemeName?: OrganizationIdentificationSchemeNameChoice;\n\tissuer?: Issuer;\n}\n\nexport interface OrganizationIdentificationBicChoice {\n\ttag: 0;\n\tname: 'bic';\n\tvalue: string;\n}\n\nexport interface OrganizationIdentificationLeiChoice {\n\ttag: 1;\n\tname: 'lei';\n\tvalue: string;\n}\n\nexport interface OrganizationIdentificationOtherChoice {\n\ttag: 2;\n\tname: 'other';\n\tvalue: GenericOrganizationIdentification[];\n}\nexport type OrganizationIdentificationChoice =\n\t| OrganizationIdentificationBicChoice\n\t| OrganizationIdentificationLeiChoice\n\t| OrganizationIdentificationOtherChoice;\n\nexport type OrganizationIdentification = OrganizationIdentificationChoice[];\n\n\n/** Generic person identification */\n/** OID: 1.3.6.1.4.1.62675.1.8.1.0 */\nexport interface GenericPersonIdentification {\n\tid: Id;\n\tschemeName?: PersonIdentificationSchemeNameChoice;\n\tissuer?: Issuer;\n}\n\nexport interface PersonIdentificationDateAndPlaceOfBirthChoice {\n\ttag: 0;\n\tname: 'dateAndPlaceOfBirth';\n\tvalue: DateAndPlaceOfBirth;\n}\n\nexport interface PersonIdentificationOtherChoice {\n\ttag: 1;\n\tname: 'other';\n\tvalue: GenericPersonIdentification[];\n}\nexport type PersonIdentificationChoice =\n\t| PersonIdentificationDateAndPlaceOfBirthChoice\n\t| PersonIdentificationOtherChoice;\n\nexport type PersonIdentification = PersonIdentificationChoice[];\n\n\n/** Other contact method */\n/** OID: 1.3.6.1.4.1.62675.1.9.1 */\nexport interface OtherContact {\n\tid?: Id;\n\tchannelType: string;\n}\n\n\n// Generated ASN.1 schemas for ISO 20022 choice types\n/** ASN.1 schema for AddressType */\nexport const AddressTypeSchema: ASN1.Schema = {\n\tchoice: [\n\t\t{ type: 'context', kind: 'explicit', value: 0, contains: { type: 'string', kind: 'utf8' } },\n\t\t{ type: 'context', kind: 'explicit', value: 1, contains: { type: 'string', kind: 'utf8' } }\n\t]\n};\n\n/** ASN.1 schema for OrganizationIdentificationSchemeNameChoice */\nexport const OrganizationIdentificationSchemeNameChoiceSchema: ASN1.Schema = {\n\tchoice: [\n\t\t{ type: 'context', kind: 'explicit', value: 0, contains: { type: 'string', kind: 'utf8' } },\n\t\t{ type: 'context', kind: 'explicit', value: 1, contains: { type: 'string', kind: 'utf8' } }\n\t]\n};\n\n/** ASN.1 schema for PersonIdentificationSchemeNameChoice */\nexport const PersonIdentificationSchemeNameChoiceSchema: ASN1.Schema = {\n\tchoice: [\n\t\t{ type: 'context', kind: 'explicit', value: 0, contains: { type: 'string', kind: 'utf8' } },\n\t\t{ type: 'context', kind: 'explicit', value: 1, contains: { type: 'string', kind: 'utf8' } }\n\t]\n};\n\n// Generated ASN.1 schemas for ISO 20022 regular sequence types\n/** ASN.1 schema for GenericOrganizationIdentification */\nexport const GenericOrganizationIdentificationSchema: ASN1.Schema = {\n\ttype: 'struct',\n\tfieldNames: ['id', 'issuer', 'schemeName'],\n\tcontains: {\n\t\tid: { type: 'context', kind: 'explicit', value: 0, contains: { type: 'string', kind: 'utf8' } },\n\t\tissuer: { optional: { type: 'context', kind: 'explicit', value: 1, contains: { type: 'string', kind: 'utf8' } } },\n\t\tschemeName: { optional: OrganizationIdentificationSchemeNameChoiceSchema }\n\t}\n};\n\n/** ASN.1 schema for GenericPersonIdentification */\nexport const GenericPersonIdentificationSchema: ASN1.Schema = {\n\ttype: 'struct',\n\tfieldNames: ['id', 'issuer', 'schemeName'],\n\tcontains: {\n\t\tid: { type: 'context', kind: 'explicit', value: 0, contains: { type: 'string', kind: 'utf8' } },\n\t\tissuer: { optional: { type: 'context', kind: 'explicit', value: 1, contains: { type: 'string', kind: 'utf8' } } },\n\t\tschemeName: { optional: PersonIdentificationSchemeNameChoiceSchema }\n\t}\n};\n\n/** ASN.1 schema for OtherContact */\nexport const OtherContactSchema: ASN1.Schema = {\n\ttype: 'struct',\n\tfieldNames: ['channelType', 'id'],\n\tcontains: {\n\t\tchannelType: { type: 'context', kind: 'explicit', value: 0, contains: { type: 'string', kind: 'utf8' } },\n\t\tid: { optional: { type: 'context', kind: 'explicit', value: 1, contains: { type: 'string', kind: 'utf8' } } }\n\t}\n};\n\n// Generated ASN.1 schemas for ISO 20022 sequence-of-choice types\n/** ASN.1 schema for OrganizationIdentification */\nexport const OrganizationIdentificationSchema: ASN1.Schema = {\n\tsequenceOf: {\n\t\tchoice: [\n\t\t\t{ type: 'context', kind: 'explicit', value: 0, contains: { type: 'string', kind: 'utf8' } },\n\t\t\t{ type: 'context', kind: 'explicit', value: 1, contains: { type: 'string', kind: 'utf8' } },\n\t\t\t{ type: 'context', kind: 'explicit', value: 2, contains: GenericOrganizationIdentificationSchema }\n\t\t]\n\t}\n};\n\nexport const OrganizationIdentificationFields = [\n\t'bic',\n\t'lei',\n\t'other'\n] as const;\n\n\n/** ASN.1 schema for PersonIdentification */\nexport const PersonIdentificationSchema: ASN1.Schema = {\n\tsequenceOf: {\n\t\tchoice: [\n\t\t\t{ type: 'context', kind: 'explicit', value: 0, contains: { type: 'string', kind: 'utf8' } },\n\t\t\t{ type: 'context', kind: 'explicit', value: 1, contains: GenericPersonIdentificationSchema }\n\t\t]\n\t}\n};\n\nexport const PersonIdentificationFields = [\n\t'dateAndPlaceOfBirth',\n\t'other'\n] as const;\n\n\n// Generated ASN.1 schemas for choice-type sensitive attributes\n/** Person's full name */\n/** OID: 1.3.6.1.4.1.62675.1.0 */\nexport type FullName = string;\n\n/** Person's first name */\n/** OID: 1.3.6.1.4.1.62675.1.0.1 */\nexport type FirstName = string;\n\n/** Person's last name */\n/** OID: 1.3.6.1.4.1.62675.1.0.2 */\nexport type LastName = string;\n\n/** Person's middle name */\n/** OID: 1.3.6.1.4.1.62675.1.0.3 */\nexport type MiddleName = string;\n\n/** Date of birth */\n/** OID: 1.3.6.1.4.1.62675.1.1 */\nexport type DateOfBirth = Date;\n\n/** Physical address */\n/** OID: 1.3.6.1.4.1.62675.1.2 */\nexport interface Address {\n\taddressType?: AddressType;\n\tdepartment?: Department;\n\tsubDepartment?: SubDepartment;\n\tstreetName?: StreetName;\n\tbuildingNumber?: BuildingNumber;\n\tpostalCode?: PostalCode;\n\ttownName?: TownName;\n\tcountrySubDivision?: CountrySubDivision;\n\tcountry?: Country;\n\taddressLines?: AddressLines;\n}\n\n/** Email address */\n/** OID: 1.3.6.1.4.1.62675.1.3 */\nexport type Email = string;\n\n/** Phone number */\n/** OID: 1.3.6.1.4.1.62675.1.4 */\nexport type PhoneNumber = string;\n\n/** Date and place of birth information */\n/** OID: 1.3.6.1.4.1.62675.1.5 */\nexport interface DateAndPlaceOfBirth {\n\tbirthDate: BirthDate;\n\tprovinceOfBirth?: CountrySubDivision;\n\tcityOfBirth: TownName;\n\tcountryOfBirth: Country;\n}\n\n/** Job title */\n/** OID: 1.3.6.1.4.1.62675.1.6 */\nexport type JobTitle = string;\n\n/** Job responsibility */\n/** OID: 1.3.6.1.4.1.62675.1.6.1 */\nexport type JobResponsibility = string;\n\n/** Identifier */\n/** OID: 1.3.6.1.4.1.62675.1.7 */\nexport type Id = string;\n\n/** Issuer identifier */\n/** OID: 1.3.6.1.4.1.62675.1.7.1 */\nexport type Issuer = string;\n\n/** Entity type (organization or person) */\n/** OID: 1.3.6.1.4.1.62675.1.8 */\nexport interface EntityType {\n\torganization?: GenericOrganizationIdentification[];\n\tperson?: GenericPersonIdentification[];\n}\n\n/** Contact details */\n/** OID: 1.3.6.1.4.1.62675.1.9 */\nexport interface ContactDetails {\n\tnamePrefix?: NamePrefixCode;\n\tfullName?: FullName;\n\tphoneNumber?: PhoneNumber;\n\tmobileNumber?: PhoneNumber;\n\tfaxNumber?: PhoneNumber;\n\temailAddress?: EmailAddress;\n\temailPurpose?: EmailAddressPurpose;\n\tjobTitle?: JobTitle;\n\tjobResponsibility?: JobResponsibility;\n\tdepartment?: Department;\n\tother?: OtherContact[];\n\tpreferredMethod?: PreferredContactMethodCode;\n}\n\n/** Nationality */\n/** OID: 1.3.6.1.4.1.62675.1.10 */\nexport type Nationality = string;\n\n/** Generic document structure with metadata */\n/** OID: 1.3.6.1.4.1.62675.1.11 */\nexport interface Document {\n\tdocumentNumber: string;\n\tfront?: Reference;\n\tback?: Reference;\n\tselfie?: Reference;\n\tfullName?: string;\n\tfirstName?: string;\n\tlastName?: string;\n\tdob?: Date;\n\tgender?: string;\n\taddress?: Address;\n\texpiresAt?: Date;\n\tissuedAt?: Date;\n\tissuingState?: string;\n\tissuingCountry?: string;\n\trefNumber?: string;\n\tnationality?: string;\n\tcurp?: string;\n\tclaveDeElector?: string;\n\tclassifiedDocumentType?: string;\n\tcurpValidationResponse?: string;\n\tsambaActivityHistoryResponse?: string;\n}\n\n/** Driver's license document */\n/** OID: 1.3.6.1.4.1.62675.1.11.0 */\nexport type DocumentDriversLicense = Document;\n\n/** ID card document */\n/** OID: 1.3.6.1.4.1.62675.1.11.1 */\nexport type DocumentIdCard = Document;\n\n/** Passport document */\n/** OID: 1.3.6.1.4.1.62675.1.11.2 */\nexport type DocumentPassport = Document;\n\n/** Passport card document */\n/** OID: 1.3.6.1.4.1.62675.1.11.3 */\nexport type DocumentPassportCard = Document;\n\n/** Permit document */\n/** OID: 1.3.6.1.4.1.62675.1.11.4 */\nexport type DocumentPermit = Document;\n\n/** Visa document */\n/** OID: 1.3.6.1.4.1.62675.1.11.5 */\nexport type DocumentVisa = Document;\n\n/** Residence document */\n/** OID: 1.3.6.1.4.1.62675.1.11.6 */\nexport type DocumentResidenceDocument = Document;\n\n/** Business registration documents */\n/** OID: 1.3.6.1.4.1.62675.1.11.7 */\nexport type DocumentBusinessRegistration = OrganizationDocuments;\n\n/** Register of directors documents */\n/** OID: 1.3.6.1.4.1.62675.1.11.8 */\nexport type DocumentRegisterOfDirectors = OrganizationDocuments;\n\n/** Financial statement documents */\n/** OID: 1.3.6.1.4.1.62675.1.11.9 */\nexport type DocumentFinancialStatement = OrganizationDocuments;\n\n/** Additional organization documents */\n/** OID: 1.3.6.1.4.1.62675.1.11.10 */\nexport type DocumentAdditional = OrganizationDocuments;\n\n/** Register of ultimate beneficial owners documents */\n/** OID: 1.3.6.1.4.1.62675.1.11.11 */\nexport type DocumentRegisterOfUBOs = OrganizationDocuments;\n\n/** Organization's legal name */\n/** OID: 1.3.6.1.4.1.62675.1.12 */\nexport type OrganizationName = string;\n\n/** Organization's trade name (doing-business-as name) */\n/** OID: 1.3.6.1.4.1.62675.1.12.1 */\nexport type TradeName = string;\n\n/** Organization's legal form */\n/** OID: 1.3.6.1.4.1.62675.1.13 */\nexport type LegalForm = string;\n\n/** Organization incorporation details */\n/** OID: 1.3.6.1.4.1.62675.1.14 */\nexport interface Incorporation {\n\tcountry: Country;\n\tcountrySubDivision?: CountrySubDivision;\n\tincorporationDate?: Date;\n}\n\n/** Organization's website */\n/** OID: 1.3.6.1.4.1.62675.1.15 */\nexport type Website = string;\n\n/** Description of the organization's business activities */\n/** OID: 1.3.6.1.4.1.62675.1.16 */\nexport type BusinessActivity = string;\n\n/** Primary source of the organization's funds */\n/** OID: 1.3.6.1.4.1.62675.1.17 */\nexport interface SourceOfFunds {\n\tsource: string;\n\tdescription?: string;\n}\n\n/** Organization's expected annual transaction volume band */\n/** OID: 1.3.6.1.4.1.62675.1.18 */\nexport type ExpectedAnnualVolume = string;\n\n/** Countries the organization operates in */\n/** OID: 1.3.6.1.4.1.62675.1.19 */\nexport interface CountriesOfOperation {\n\tcountries: Country[];\n}\n\n/** Address the organization operates from */\n/** OID: 1.3.6.1.4.1.62675.1.20 */\nexport type OperatingAddress = Address;\n\n/** Whether the organization's shares are publicly traded */\n/** OID: 1.3.6.1.4.1.62675.1.21 */\nexport type PubliclyTraded = boolean;\n\n/** Whether the organization operates from its registered address */\n/** OID: 1.3.6.1.4.1.62675.1.22 */\nexport type OperatesFromRegisteredAddress = boolean;\n\n/** Ultimate beneficial owner of an organization */\n/** OID: 1.3.6.1.4.1.62675.1.23.1 */\nexport interface Ubo {\n\tfullName: string;\n\tdateOfBirth: Date;\n\tcountryOfBirth: Country;\n\tnationalities: Country[];\n\taddress: Address;\n\temail: string;\n\tphoneNumber?: string;\n\tpercentageHeld: string;\n\townershipType: string;\n\tisSigner: boolean;\n\tposition?: string;\n\tidentifications?: GenericPersonIdentification[];\n\tgovernmentIssuedID?: Reference[];\n}\n\n/** Organization's ultimate beneficial owners */\n/** OID: 1.3.6.1.4.1.62675.1.23 */\nexport interface Ubos {\n\towners: Ubo[];\n}\n\n/** DigestInfo from RFC 3447 */\nexport interface DigestInfo {\n\tdigestAlgorithm: ASN1.ASN1OID;\n\tdigest: Buffer;\n}\n\nexport const DigestInfoSchema: ASN1.Schema = {\n\ttype: 'struct',\n\tfieldNames: ['digestAlgorithm', 'digest'],\n\tcontains: {\n\t\tdigestAlgorithm: ASN1.ValidateASN1.IsOID,\n\t\tdigest: ASN1.ValidateASN1.IsOctetString\n\t}\n};\n\n/** External reference pointer */\nexport interface ExternalReference {\n\turl: string;\n\tcontentType: string;\n}\n\nexport const ExternalReferenceSchema: ASN1.Schema = {\n\ttype: 'struct',\n\tfieldNames: ['url', 'contentType'],\n\tcontains: {\n\t\turl: { type: 'string', kind: 'utf8' },\n\t\tcontentType: { type: 'string', kind: 'utf8' }\n\t}\n};\n\n/** Reference */\nexport interface Reference {\n\texternal: ExternalReference;\n\tdigest: DigestInfo;\n\tencryptionAlgorithm: ASN1.ASN1OID;\n\t/**\n\t * TODOC\n\t */\n\t$blob: (principals?: KeetaNetAccount[]) => Promise<Blob>;\n}\n\nexport const ReferenceSchema: ASN1.Schema = {\n\ttype: 'struct',\n\tfieldNames: ['external', 'digest', 'encryptionAlgorithm'],\n\tcontains: {\n\t\texternal: ExternalReferenceSchema,\n\t\tdigest: DigestInfoSchema,\n\t\tencryptionAlgorithm: ASN1.ValidateASN1.IsOID\n\t}\n};\n\n/** Files an organization filed under one document category */\nexport interface OrganizationDocuments {\n\tdocumentNumber?: string;\n\tfiles: Reference[];\n}\n\nexport const OrganizationDocumentsSchema: ASN1.Schema = {\n\ttype: 'struct',\n\tfieldNames: ['documentNumber', 'files'],\n\tcontains: {\n\t\tdocumentNumber: { optional: { type: 'context', kind: 'explicit', value: 0, contains: { type: 'string', kind: 'utf8' } } },\n\t\tfiles: { type: 'context', kind: 'explicit', value: 1, contains: { sequenceOf: ReferenceSchema } }\n\t}\n};\n\n// Token aliases for sensitive attributes\n/** Alias for DateOfBirth */\nexport type BirthDate = DateOfBirth;\n\n/** Alias for Email */\nexport type EmailAddress = Email;\n\n/** Union type of all sensitive attribute types */\nexport type SensitiveAttributeType =\n\t| FullName\n\t| FirstName\n\t| LastName\n\t| MiddleName\n\t| DateOfBirth\n\t| Address\n\t| Email\n\t| PhoneNumber\n\t| DateAndPlaceOfBirth\n\t| JobTitle\n\t| JobResponsibility\n\t| Id\n\t| Issuer\n\t| EntityType\n\t| ContactDetails\n\t| Nationality\n\t| Document\n\t| DocumentDriversLicense\n\t| DocumentIdCard\n\t| DocumentPassport\n\t| DocumentPassportCard\n\t| DocumentPermit\n\t| DocumentVisa\n\t| DocumentResidenceDocument\n\t| DocumentBusinessRegistration\n\t| DocumentRegisterOfDirectors\n\t| DocumentFinancialStatement\n\t| DocumentAdditional\n\t| DocumentRegisterOfUBOs\n\t| OrganizationName\n\t| TradeName\n\t| LegalForm\n\t| Incorporation\n\t| Website\n\t| BusinessActivity\n\t| SourceOfFunds\n\t| ExpectedAnnualVolume\n\t| CountriesOfOperation\n\t| OperatingAddress\n\t| PubliclyTraded\n\t| OperatesFromRegisteredAddress\n\t| Ubo\n\t| Ubos;\n\n/** Map of attribute name to acceptable input type for CertificateBuilder.setAttribute */\nexport interface CertificateAttributeValueMap {\n\t'fullName': FullName;\n\t'firstName': FirstName;\n\t'lastName': LastName;\n\t'middleName': MiddleName;\n\t'dateOfBirth': DateOfBirth;\n\t'address': Address;\n\t'email': Email;\n\t'phoneNumber': PhoneNumber;\n\t'dateAndPlaceOfBirth': DateAndPlaceOfBirth;\n\t'jobTitle': JobTitle;\n\t'jobResponsibility': JobResponsibility;\n\t'id': Id;\n\t'issuer': Issuer;\n\t'entityType': EntityType;\n\t'contactDetails': ContactDetails;\n\t'nationality': Nationality;\n\t'document': Document;\n\t'documentDriversLicense': DocumentDriversLicense;\n\t'documentIdCard': DocumentIdCard;\n\t'documentPassport': DocumentPassport;\n\t'documentPassportCard': DocumentPassportCard;\n\t'documentPermit': DocumentPermit;\n\t'documentVisa': DocumentVisa;\n\t'documentResidenceDocument': DocumentResidenceDocument;\n\t'documentBusinessRegistration': DocumentBusinessRegistration;\n\t'documentRegisterOfDirectors': DocumentRegisterOfDirectors;\n\t'documentFinancialStatement': DocumentFinancialStatement;\n\t'documentAdditional': DocumentAdditional;\n\t'documentRegisterOfUBOs': DocumentRegisterOfUBOs;\n\t'organizationName': OrganizationName;\n\t'tradeName': TradeName;\n\t'legalForm': LegalForm;\n\t'incorporation': Incorporation;\n\t'website': Website;\n\t'businessActivity': BusinessActivity;\n\t'sourceOfFunds': SourceOfFunds;\n\t'expectedAnnualVolume': ExpectedAnnualVolume;\n\t'countriesOfOperation': CountriesOfOperation;\n\t'operatingAddress': OperatingAddress;\n\t'publiclyTraded': PubliclyTraded;\n\t'operatesFromRegisteredAddress': OperatesFromRegisteredAddress;\n\t'ubo': Ubo;\n\t'ubos': Ubos;\n}\n\n/** Helper generic to get attribute value type by name */\nexport type CertificateAttributeValue<Name extends keyof CertificateAttributeValueMap> = CertificateAttributeValueMap[Name];\n\nexport const AddressFields = ['addressLines', 'addressType', 'buildingNumber', 'country', 'countrySubDivision', 'department', 'postalCode', 'streetName', 'subDepartment', 'townName'] as const;\nexport const AddressSchema: ASN1.Schema = {\n\ttype: 'struct',\n\tfieldNames: ['addressLines', 'addressType', 'buildingNumber', 'country', 'countrySubDivision', 'department', 'postalCode', 'streetName', 'subDepartment', 'townName'],\n\tcontains: {\n\t\taddressLines: { optional: { type: 'context', kind: 'explicit', value: 0, contains: { sequenceOf: { type: 'string', kind: 'utf8' } } } },\n\t\taddressType: { optional: AddressTypeSchema },\n\t\tbuildingNumber: { optional: { type: 'context', kind: 'explicit', value: 2, contains: { type: 'string', kind: 'utf8' } } },\n\t\tcountry: { optional: { type: 'context', kind: 'explicit', value: 3, contains: { type: 'string', kind: 'utf8' } } },\n\t\tcountrySubDivision: { optional: { type: 'context', kind: 'explicit', value: 4, contains: { type: 'string', kind: 'utf8' } } },\n\t\tdepartment: { optional: { type: 'context', kind: 'explicit', value: 5, contains: { type: 'string', kind: 'utf8' } } },\n\t\tpostalCode: { optional: { type: 'context', kind: 'explicit', value: 6, contains: { type: 'string', kind: 'utf8' } } },\n\t\tstreetName: { optional: { type: 'context', kind: 'explicit', value: 7, contains: { type: 'string', kind: 'utf8' } } },\n\t\tsubDepartment: { optional: { type: 'context', kind: 'explicit', value: 8, contains: { type: 'string', kind: 'utf8' } } },\n\t\ttownName: { optional: { type: 'context', kind: 'explicit', value: 9, contains: { type: 'string', kind: 'utf8' } } }\n\t}\n};\nexport const DateAndPlaceOfBirthFields = ['birthDate', 'cityOfBirth', 'countryOfBirth', 'provinceOfBirth'] as const;\nexport const DateAndPlaceOfBirthSchema: ASN1.Schema = {\n\ttype: 'struct',\n\tfieldNames: ['birthDate', 'cityOfBirth', 'countryOfBirth', 'provinceOfBirth'],\n\tcontains: {\n\t\tbirthDate: { type: 'context', kind: 'explicit', value: 0, contains: ASN1.ValidateASN1.IsAnyDate },\n\t\tcityOfBirth: { type: 'context', kind: 'explicit', value: 1, contains: { type: 'string', kind: 'utf8' } },\n\t\tcountryOfBirth: { type: 'context', kind: 'explicit', value: 2, contains: { type: 'string', kind: 'utf8' } },\n\t\tprovinceOfBirth: { optional: { type: 'context', kind: 'explicit', value: 3, contains: { type: 'string', kind: 'utf8' } } }\n\t}\n};\nexport const EntityTypeFields = ['organization', 'person'] as const;\nexport const EntityTypeSchema: ASN1.Schema = {\n\ttype: 'struct',\n\tfieldNames: ['organization', 'person'],\n\tcontains: {\n\t\torganization: { optional: { type: 'context', kind: 'explicit', value: 0, contains: { sequenceOf: GenericOrganizationIdentificationSchema } } },\n\t\tperson: { optional: { type: 'context', kind: 'explicit', value: 1, contains: { sequenceOf: GenericPersonIdentificationSchema } } }\n\t}\n};\nexport const ContactDetailsFields = ['department', 'emailAddress', 'emailPurpose', 'faxNumber', 'fullName', 'jobResponsibility', 'jobTitle', 'mobileNumber', 'namePrefix', 'other', 'phoneNumber', 'preferredMethod'] as const;\nexport const ContactDetailsSchema: ASN1.Schema = {\n\ttype: 'struct',\n\tfieldNames: ['department', 'emailAddress', 'emailPurpose', 'faxNumber', 'fullName', 'jobResponsibility', 'jobTitle', 'mobileNumber', 'namePrefix', 'other', 'phoneNumber', 'preferredMethod'],\n\tcontains: {\n\t\tdepartment: { optional: { type: 'context', kind: 'explicit', value: 0, contains: { type: 'string', kind: 'utf8' } } },\n\t\temailAddress: { optional: { type: 'context', kind: 'explicit', value: 1, contains: { type: 'string', kind: 'utf8' } } },\n\t\temailPurpose: { optional: { type: 'context', kind: 'explicit', value: 2, contains: { type: 'string', kind: 'utf8' } } },\n\t\tfaxNumber: { optional: { type: 'context', kind: 'explicit', value: 3, contains: { type: 'string', kind: 'utf8' } } },\n\t\tfullName: { optional: { type: 'context', kind: 'explicit', value: 4, contains: { type: 'string', kind: 'utf8' } } },\n\t\tjobResponsibility: { optional: { type: 'context', kind: 'explicit', value: 5, contains: { type: 'string', kind: 'utf8' } } },\n\t\tjobTitle: { optional: { type: 'context', kind: 'explicit', value: 6, contains: { type: 'string', kind: 'utf8' } } },\n\t\tmobileNumber: { optional: { type: 'context', kind: 'explicit', value: 7, contains: { type: 'string', kind: 'utf8' } } },\n\t\tnamePrefix: { optional: { type: 'context', kind: 'explicit', value: 8, contains: { type: 'string', kind: 'utf8' } } },\n\t\tother: { optional: { type: 'context', kind: 'explicit', value: 9, contains: { sequenceOf: OtherContactSchema } } },\n\t\tphoneNumber: { optional: { type: 'context', kind: 'explicit', value: 10, contains: { type: 'string', kind: 'utf8' } } },\n\t\tpreferredMethod: { optional: { type: 'context', kind: 'explicit', value: 11, contains: { type: 'string', kind: 'utf8' } } }\n\t}\n};\nexport const DocumentFields = ['documentNumber', 'front', 'back', 'selfie', 'fullName', 'firstName', 'lastName', 'dob', 'gender', 'address', 'expiresAt', 'issuedAt', 'issuingState', 'issuingCountry', 'refNumber', 'nationality', 'curp', 'claveDeElector', 'classifiedDocumentType', 'curpValidationResponse', 'sambaActivityHistoryResponse'] as const;\nexport const DocumentSchema: ASN1.Schema = {\n\ttype: 'struct',\n\tfieldNames: ['documentNumber', 'front', 'back', 'selfie', 'fullName', 'firstName', 'lastName', 'dob', 'gender', 'address', 'expiresAt', 'issuedAt', 'issuingState', 'issuingCountry', 'refNumber', 'nationality', 'curp', 'claveDeElector', 'classifiedDocumentType', 'curpValidationResponse', 'sambaActivityHistoryResponse'],\n\tcontains: {\n\t\tdocumentNumber: { type: 'context', kind: 'explicit', value: 0, contains: { type: 'string', kind: 'utf8' } },\n\t\tfront: { optional: { type: 'context', kind: 'explicit', value: 1, contains: ReferenceSchema } },\n\t\tback: { optional: { type: 'context', kind: 'explicit', value: 2, contains: ReferenceSchema } },\n\t\tselfie: { optional: { type: 'context', kind: 'explicit', value: 3, contains: ReferenceSchema } },\n\t\tfullName: { optional: { type: 'context', kind: 'explicit', value: 4, contains: { type: 'string', kind: 'utf8' } } },\n\t\tfirstName: { optional: { type: 'context', kind: 'explicit', value: 5, contains: { type: 'string', kind: 'utf8' } } },\n\t\tlastName: { optional: { type: 'context', kind: 'explicit', value: 6, contains: { type: 'string', kind: 'utf8' } } },\n\t\tdob: { optional: { type: 'context', kind: 'explicit', value: 7, contains: ASN1.ValidateASN1.IsAnyDate } },\n\t\tgender: { optional: { type: 'context', kind: 'explicit', value: 8, contains: { type: 'string', kind: 'utf8' } } },\n\t\taddress: { optional: { type: 'context', kind: 'explicit', value: 9, contains: AddressSchema } },\n\t\texpiresAt: { optional: { type: 'context', kind: 'explicit', value: 10, contains: ASN1.ValidateASN1.IsAnyDate } },\n\t\tissuedAt: { optional: { type: 'context', kind: 'explicit', value: 11, contains: ASN1.ValidateASN1.IsAnyDate } },\n\t\tissuingState: { optional: { type: 'context', kind: 'explicit', value: 12, contains: { type: 'string', kind: 'utf8' } } },\n\t\tissuingCountry: { optional: { type: 'context', kind: 'explicit', value: 13, contains: { type: 'string', kind: 'utf8' } } },\n\t\trefNumber: { optional: { type: 'context', kind: 'explicit', value: 14, contains: { type: 'string', kind: 'utf8' } } },\n\t\tnationality: { optional: { type: 'context', kind: 'explicit', value: 15, contains: { type: 'string', kind: 'utf8' } } },\n\t\tcurp: { optional: { type: 'context', kind: 'explicit', value: 16, contains: { type: 'string', kind: 'utf8' } } },\n\t\tclaveDeElector: { optional: { type: 'context', kind: 'explicit', value: 17, contains: { type: 'string', kind: 'utf8' } } },\n\t\tclassifiedDocumentType: { optional: { type: 'context', kind: 'explicit', value: 18, contains: { type: 'string', kind: 'utf8' } } },\n\t\tcurpValidationResponse: { optional: { type: 'context', kind: 'explicit', value: 19, contains: { type: 'string', kind: 'utf8' } } },\n\t\tsambaActivityHistoryResponse: { optional: { type: 'context', kind: 'explicit', value: 20, contains: { type: 'string', kind: 'utf8' } } }\n\t}\n};\nexport const IncorporationFields = ['country', 'countrySubDivision', 'incorporationDate'] as const;\nexport const IncorporationSchema: ASN1.Schema = {\n\ttype: 'struct',\n\tfieldNames: ['country', 'countrySubDivision', 'incorporationDate'],\n\tcontains: {\n\t\tcountry: { type: 'context', kind: 'explicit', value: 0, contains: { type: 'string', kind: 'utf8' } },\n\t\tcountrySubDivision: { optional: { type: 'context', kind: 'explicit', value: 1, contains: { type: 'string', kind: 'utf8' } } },\n\t\tincorporationDate: { optional: { type: 'context', kind: 'explicit', value: 2, contains: ASN1.ValidateASN1.IsAnyDate } }\n\t}\n};\nexport const SourceOfFundsFields = ['source', 'description'] as const;\nexport const SourceOfFundsSchema: ASN1.Schema = {\n\ttype: 'struct',\n\tfieldNames: ['source', 'description'],\n\tcontains: {\n\t\tsource: { type: 'context', kind: 'explicit', value: 0, contains: { type: 'string', kind: 'utf8' } },\n\t\tdescription: { optional: { type: 'context', kind: 'explicit', value: 1, contains: { type: 'string', kind: 'utf8' } } }\n\t}\n};\nexport const CountriesOfOperationFields = ['countries'] as const;\nexport const CountriesOfOperationSchema: ASN1.Schema = {\n\ttype: 'struct',\n\tfieldNames: ['countries'],\n\tcontains: {\n\t\tcountries: { sequenceOf: { type: 'string', kind: 'utf8' } }\n\t}\n};\nexport const UboFields = ['fullName', 'dateOfBirth', 'countryOfBirth', 'nationalities', 'address', 'email', 'phoneNumber', 'percentageHeld', 'ownershipType', 'isSigner', 'position', 'identifications', 'governmentIssuedID'] as const;\nexport const UboSchema: ASN1.Schema = {\n\ttype: 'struct',\n\tfieldNames: ['fullName', 'dateOfBirth', 'countryOfBirth', 'nationalities', 'address', 'email', 'phoneNumber', 'percentageHeld', 'ownershipType', 'isSigner', 'position', 'identifications', 'governmentIssuedID'],\n\tcontains: {\n\t\tfullName: { type: 'context', kind: 'explicit', value: 0, contains: { type: 'string', kind: 'utf8' } },\n\t\tdateOfBirth: { type: 'context', kind: 'explicit', value: 1, contains: ASN1.ValidateASN1.IsAnyDate },\n\t\tcountryOfBirth: { type: 'context', kind: 'explicit', value: 2, contains: { type: 'string', kind: 'utf8' } },\n\t\tnationalities: { type: 'context', kind: 'explicit', value: 3, contains: { sequenceOf: { type: 'string', kind: 'utf8' } } },\n\t\taddress: { type: 'context', kind: 'explicit', value: 4, contains: AddressSchema },\n\t\temail: { type: 'context', kind: 'explicit', value: 5, contains: { type: 'string', kind: 'utf8' } },\n\t\tphoneNumber: { optional: { type: 'context', kind: 'explicit', value: 6, contains: { type: 'string', kind: 'utf8' } } },\n\t\tpercentageHeld: { type: 'context', kind: 'explicit', value: 7, contains: { type: 'string', kind: 'utf8' } },\n\t\townershipType: { type: 'context', kind: 'explicit', value: 8, contains: { type: 'string', kind: 'utf8' } },\n\t\tisSigner: { type: 'context', kind: 'explicit', value: 9, contains: ASN1.ValidateASN1.IsBoolean },\n\t\tposition: { optional: { type: 'context', kind: 'explicit', value: 10, contains: { type: 'string', kind: 'utf8' } } },\n\t\tidentifications: { optional: { type: 'context', kind: 'explicit', value: 11, contains: { sequenceOf: GenericPersonIdentificationSchema } } },\n\t\tgovernmentIssuedID: { optional: { type: 'context', kind: 'explicit', value: 12, contains: { sequenceOf: ReferenceSchema } } }\n\t}\n};\nexport const UbosFields = ['owners'] as const;\nexport const UbosSchema: ASN1.Schema = {\n\ttype: 'struct',\n\tfieldNames: ['owners'],\n\tcontains: {\n\t\towners: { sequenceOf: UboSchema }\n\t}\n};\nexport const CertificateAttributeOIDDB = {\n\t'fullName': '1.3.6.1.4.1.62675.1.0',\n\t'firstName': '1.3.6.1.4.1.62675.1.0.1',\n\t'lastName': '1.3.6.1.4.1.62675.1.0.2',\n\t'middleName': '1.3.6.1.4.1.62675.1.0.3',\n\t'dateOfBirth': '1.3.6.1.4.1.62675.1.1',\n\t'address': '1.3.6.1.4.1.62675.1.2',\n\t'email': '1.3.6.1.4.1.62675.1.3',\n\t'phoneNumber': '1.3.6.1.4.1.62675.1.4',\n\t'dateAndPlaceOfBirth': '1.3.6.1.4.1.62675.1.5',\n\t'jobTitle': '1.3.6.1.4.1.62675.1.6',\n\t'jobResponsibility': '1.3.6.1.4.1.62675.1.6.1',\n\t'id': '1.3.6.1.4.1.62675.1.7',\n\t'issuer': '1.3.6.1.4.1.62675.1.7.1',\n\t'entityType': '1.3.6.1.4.1.62675.1.8',\n\t'contactDetails': '1.3.6.1.4.1.62675.1.9',\n\t'nationality': '1.3.6.1.4.1.62675.1.10',\n\t'document': '1.3.6.1.4.1.62675.1.11',\n\t'documentDriversLicense': '1.3.6.1.4.1.62675.1.11.0',\n\t'documentIdCard': '1.3.6.1.4.1.62675.1.11.1',\n\t'documentPassport': '1.3.6.1.4.1.62675.1.11.2',\n\t'documentPassportCard': '1.3.6.1.4.1.62675.1.11.3',\n\t'documentPermit': '1.3.6.1.4.1.62675.1.11.4',\n\t'documentVisa': '1.3.6.1.4.1.62675.1.11.5',\n\t'documentResidenceDocument': '1.3.6.1.4.1.62675.1.11.6',\n\t'documentBusinessRegistration': '1.3.6.1.4.1.62675.1.11.7',\n\t'documentRegisterOfDirectors': '1.3.6.1.4.1.62675.1.11.8',\n\t'documentFinancialStatement': '1.3.6.1.4.1.62675.1.11.9',\n\t'documentAdditional': '1.3.6.1.4.1.62675.1.11.10',\n\t'documentRegisterOfUBOs': '1.3.6.1.4.1.62675.1.11.11',\n\t'organizationName': '1.3.6.1.4.1.62675.1.12',\n\t'tradeName': '1.3.6.1.4.1.62675.1.12.1',\n\t'legalForm': '1.3.6.1.4.1.62675.1.13',\n\t'incorporation': '1.3.6.1.4.1.62675.1.14',\n\t'website': '1.3.6.1.4.1.62675.1.15',\n\t'businessActivity': '1.3.6.1.4.1.62675.1.16',\n\t'sourceOfFunds': '1.3.6.1.4.1.62675.1.17',\n\t'expectedAnnualVolume': '1.3.6.1.4.1.62675.1.18',\n\t'countriesOfOperation': '1.3.6.1.4.1.62675.1.19',\n\t'operatingAddress': '1.3.6.1.4.1.62675.1.20',\n\t'publiclyTraded': '1.3.6.1.4.1.62675.1.21',\n\t'operatesFromRegisteredAddress': '1.3.6.1.4.1.62675.1.22',\n\t'ubo': '1.3.6.1.4.1.62675.1.23.1',\n\t'ubos': '1.3.6.1.4.1.62675.1.23'\n} as const;\n\nexport const SENSITIVE_CERTIFICATE_ATTRIBUTES = [\n\t'fullName',\n\t'firstName',\n\t'lastName',\n\t'middleName',\n\t'dateOfBirth',\n\t'address',\n\t'email',\n\t'phoneNumber',\n\t'dateAndPlaceOfBirth',\n\t'jobTitle',\n\t'jobResponsibility',\n\t'id',\n\t'issuer',\n\t'entityType',\n\t'contactDetails',\n\t'nationality',\n\t'document',\n\t'documentDriversLicense',\n\t'documentIdCard',\n\t'documentPassport',\n\t'documentPassportCard',\n\t'documentPermit',\n\t'documentVisa',\n\t'documentResidenceDocument',\n\t'documentBusinessRegistration',\n\t'documentRegisterOfDirectors',\n\t'documentFinancialStatement',\n\t'documentAdditional',\n\t'documentRegisterOfUBOs',\n\t'organizationName',\n\t'tradeName',\n\t'legalForm',\n\t'incorporation',\n\t'website',\n\t'businessActivity',\n\t'sourceOfFunds',\n\t'expectedAnnualVolume',\n\t'countriesOfOperation',\n\t'operatingAddress',\n\t'publiclyTraded',\n\t'operatesFromRegisteredAddress',\n\t'ubo',\n\t'ubos'\n] as const;\n\nexport type SensitiveCertificateAttributeNames = typeof SENSITIVE_CERTIFICATE_ATTRIBUTES[number];\n\nexport const SensitiveCertificateAttributeNames = [\n\t'FullName',\n\t'FirstName',\n\t'LastName',\n\t'MiddleName',\n\t'DateOfBirth',\n\t'Address',\n\t'Email',\n\t'PhoneNumber',\n\t'DateAndPlaceOfBirth',\n\t'JobTitle',\n\t'JobResponsibility',\n\t'Id',\n\t'Issuer',\n\t'EntityType',\n\t'ContactDetails',\n\t'Nationality',\n\t'Document',\n\t'DocumentDriversLicense',\n\t'DocumentIdCard',\n\t'DocumentPassport',\n\t'DocumentPassportCard',\n\t'DocumentPermit',\n\t'DocumentVisa',\n\t'DocumentResidenceDocument',\n\t'DocumentBusinessRegistration',\n\t'DocumentRegisterOfDirectors',\n\t'DocumentFinancialStatement',\n\t'DocumentAdditional',\n\t'DocumentRegisterOfUBOs',\n\t'OrganizationName',\n\t'TradeName',\n\t'LegalForm',\n\t'Incorporation',\n\t'Website',\n\t'BusinessActivity',\n\t'SourceOfFunds',\n\t'ExpectedAnnualVolume',\n\t'CountriesOfOperation',\n\t'OperatingAddress',\n\t'PubliclyTraded',\n\t'OperatesFromRegisteredAddress',\n\t'Ubo',\n\t'Ubos'\n] as const;\n\nexport const CertificateAttributeFieldNames: { readonly [K in keyof typeof CertificateAttributeOIDDB]?: readonly string[] } = {\n\t'address': AddressFields,\n\t'dateAndPlaceOfBirth': DateAndPlaceOfBirthFields,\n\t'entityType': EntityTypeFields,\n\t'contactDetails': ContactDetailsFields,\n\t'document': DocumentFields,\n\t'incorporation': IncorporationFields,\n\t'sourceOfFunds': SourceOfFundsFields,\n\t'countriesOfOperation': CountriesOfOperationFields,\n\t'ubo': UboFields,\n\t'ubos': UbosFields\n} as const;\n\nexport const CertificateAttributeSchema: { readonly [K in keyof typeof CertificateAttributeOIDDB]: ASN1.Schema } = {\n\t'fullName': { type: 'string', kind: 'utf8' },\n\t'firstName': { type: 'string', kind: 'utf8' },\n\t'lastName': { type: 'string', kind: 'utf8' },\n\t'middleName': { type: 'string', kind: 'utf8' },\n\t'dateOfBirth': ASN1.ValidateASN1.IsAnyDate,\n\t'address': AddressSchema,\n\t'email': { type: 'string', kind: 'utf8' },\n\t'phoneNumber': { type: 'string', kind: 'utf8' },\n\t'dateAndPlaceOfBirth': DateAndPlaceOfBirthSchema,\n\t'jobTitle': { type: 'string', kind: 'utf8' },\n\t'jobResponsibility': { type: 'string', kind: 'utf8' },\n\t'id': { type: 'string', kind: 'utf8' },\n\t'issuer': { type: 'string', kind: 'utf8' },\n\t'entityType': EntityTypeSchema,\n\t'contactDetails': ContactDetailsSchema,\n\t'nationality': { type: 'string', kind: 'utf8' },\n\t'document': DocumentSchema,\n\t'documentDriversLicense': DocumentSchema,\n\t'documentIdCard': DocumentSchema,\n\t'documentPassport': DocumentSchema,\n\t'documentPassportCard': DocumentSchema,\n\t'documentPermit': DocumentSchema,\n\t'documentVisa': DocumentSchema,\n\t'documentResidenceDocument': DocumentSchema,\n\t'documentBusinessRegistration': OrganizationDocumentsSchema,\n\t'documentRegisterOfDirectors': OrganizationDocumentsSchema,\n\t'documentFinancialStatement': OrganizationDocumentsSchema,\n\t'documentAdditional': OrganizationDocumentsSchema,\n\t'documentRegisterOfUBOs': OrganizationDocumentsSchema,\n\t'organizationName': { type: 'string', kind: 'utf8' },\n\t'tradeName': { type: 'string', kind: 'utf8' },\n\t'legalForm': { type: 'string', kind: 'utf8' },\n\t'incorporation': IncorporationSchema,\n\t'website': { type: 'string', kind: 'utf8' },\n\t'businessActivity': { type: 'string', kind: 'utf8' },\n\t'sourceOfFunds': SourceOfFundsSchema,\n\t'expectedAnnualVolume': { type: 'string', kind: 'utf8' },\n\t'countriesOfOperation': CountriesOfOperationSchema,\n\t'operatingAddress': AddressSchema,\n\t'publiclyTraded': ASN1.ValidateASN1.IsBoolean,\n\t'operatesFromRegisteredAddress': ASN1.ValidateASN1.IsBoolean,\n\t'ubo': UboSchema,\n\t'ubos': UbosSchema\n} as const;\n"]}
@@ -101,6 +101,9 @@ export declare namespace keeta {
101
101
  /** Additional organization documents */
102
102
  /** @see https://oid-base.com/get/1.3.6.1.4.1.62675.1.11.10 */
103
103
  const DOCUMENT_ADDITIONAL = "1.3.6.1.4.1.62675.1.11.10";
104
+ /** Register of ultimate beneficial owners documents */
105
+ /** @see https://oid-base.com/get/1.3.6.1.4.1.62675.1.11.11 */
106
+ const DOCUMENT_REGISTER_OF_U_B_OS = "1.3.6.1.4.1.62675.1.11.11";
104
107
  /** Organization's legal name */
105
108
  /** @see https://oid-base.com/get/1.3.6.1.4.1.62675.1.12 */
106
109
  const ORGANIZATION_NAME = "1.3.6.1.4.1.62675.1.12";
@@ -1 +1 @@
1
- {"version":3,"file":"oids.generated.d.ts","sourceRoot":"","sources":["../../../src/services/kyc/oids.generated.ts"],"names":[],"mappings":"AACA;;;GAGG;AAGH,eAAO,MAAM,WAAW,4BAA4B,CAAC;AACrD,eAAO,MAAM,WAAW,4BAA4B,CAAC;AACrD,eAAO,MAAM,QAAQ,2BAA2B,CAAC;AACjD,eAAO,MAAM,QAAQ,2BAA2B,CAAC;AAGjD,sBAAsB;AACtB,uCAAuC;AACvC,eAAO,MAAM,WAAW,aAAa,CAAC;AAItC,yBAAiB,KAAK,CAAC;IACtB,sDAAsD;IACtD,0DAA0D;IACnD,MAAM,cAAc,0BAA0B,CA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IAC1D,4DAA4D;IAC5D,2DAA2D;IACpD,MAAM,eAAe,2BAA2B,CAAC;IACxD,oEAAoE;IACpE,2DAA2D;IACpD,MAAM,gCAAgC,2BAA2B,CAAC;IACzE,mDAAmD;IACnD,6DAA6D;IACtD,MAAM,GAAG,6BAA6B,CAAC;IAC9C,gDAAgD;IAChD,2DAA2D;IACpD,MAAM,IAAI,2BAA2B,CAAC;CAC7C;AAGD,eAAO,MAAM,WAAW,EAAE;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;CA4ChD,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;CA4ChD,CAAC"}
1
+ {"version":3,"file":"oids.generated.d.ts","sourceRoot":"","sources":["../../../src/services/kyc/oids.generated.ts"],"names":[],"mappings":"AACA;;;GAGG;AAGH,eAAO,MAAM,WAAW,4BAA4B,CAAC;AACrD,eAAO,MAAM,WAAW,4BAA4B,CAAC;AACrD,eAAO,MAAM,QAAQ,2BAA2B,CAAC;AACjD,eAAO,MAAM,QAAQ,2BAA2B,CAAC;AAGjD,sBAAsB;AACtB,uCAAuC;AACvC,eAAO,MAAM,WAAW,aAAa,CAAC;AAItC,yBAAiB,KAAK,CAAC;IACtB,sDAAsD;IACtD,0DAA0D;IACnD,MAAM,cAAc,0BAA0B,CAAC;IACtD,+BAA+B;IAC/B,iCAAiC;IACjC,gBAAgB;IAChB,8DAA8D;IAC9D,yBAAyB;IACzB,0DAA0D;IACnD,MAAM,SAAS,0BAA0B,CAAC;IACjD,0BAA0B;IAC1B,4DAA4D;IACrD,MAAM,UAAU,4BAA4B,CAAC;IACpD,yBAAyB;IACzB,4DAA4D;IACrD,MAAM,SAAS,4BAA4B,CAAC;IACnD,2BAA2B;IAC3B,4DAA4D;IACrD,MAAM,WAAW,4BAA4B,CAAC;IACrD,oBAAoB;IACpB,0DAA0D;IACnD,MAAM,aAAa,0BAA0B,CAAC;IACrD,uB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,GAAG,MAAM,CAAA;CA6ChD,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;CA6ChD,CAAC"}
@@ -107,6 +107,9 @@ export var keeta;
107
107
  /** Additional organization documents */
108
108
  /** @see https://oid-base.com/get/1.3.6.1.4.1.62675.1.11.10 */
109
109
  keeta.DOCUMENT_ADDITIONAL = '1.3.6.1.4.1.62675.1.11.10';
110
+ /** Register of ultimate beneficial owners documents */
111
+ /** @see https://oid-base.com/get/1.3.6.1.4.1.62675.1.11.11 */
112
+ keeta.DOCUMENT_REGISTER_OF_U_B_OS = '1.3.6.1.4.1.62675.1.11.11';
110
113
  /** Organization's legal name */
111
114
  /** @see https://oid-base.com/get/1.3.6.1.4.1.62675.1.12 */
112
115
  keeta.ORGANIZATION_NAME = '1.3.6.1.4.1.62675.1.12';
@@ -181,6 +184,7 @@ export const OID_TO_NAME = {
181
184
  '1.3.6.1.4.1.62675.1.11.8': 'documentRegisterOfDirectors',
182
185
  '1.3.6.1.4.1.62675.1.11.9': 'documentFinancialStatement',
183
186
  '1.3.6.1.4.1.62675.1.11.10': 'documentAdditional',
187
+ '1.3.6.1.4.1.62675.1.11.11': 'documentRegisterOfUBOs',
184
188
  '1.3.6.1.4.1.62675.1.12': 'organizationName',
185
189
  '1.3.6.1.4.1.62675.1.12.1': 'tradeName',
186
190
  '1.3.6.1.4.1.62675.1.13': 'legalForm',
@@ -226,6 +230,7 @@ export const NAME_TO_OID = {
226
230
  'documentRegisterOfDirectors': '1.3.6.1.4.1.62675.1.11.8',
227
231
  'documentFinancialStatement': '1.3.6.1.4.1.62675.1.11.9',
228
232
  'documentAdditional': '1.3.6.1.4.1.62675.1.11.10',
233
+ 'documentRegisterOfUBOs': '1.3.6.1.4.1.62675.1.11.11',
229
234
  'organizationName': '1.3.6.1.4.1.62675.1.12',
230
235
  'tradeName': '1.3.6.1.4.1.62675.1.12.1',
231
236
  'legalForm': '1.3.6.1.4.1.62675.1.13',
@@ -1 +1 @@
1
- {"version":3,"file":"oids.generated.js","sourceRoot":"","sources":["../../../src/services/kyc/oids.generated.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB;;;GAGG;AAEH,0BAA0B;AAC1B,MAAM,CAAC,MAAM,WAAW,GAAG,yBAAyB,CAAC;AACrD,MAAM,CAAC,MAAM,WAAW,GAAG,yBAAyB,CAAC;AACrD,MAAM,CAAC,MAAM,QAAQ,GAAG,wBAAwB,CAAC;AACjD,MAAM,CAAC,MAAM,QAAQ,GAAG,wBAAwB,CAAC;AAEjD,gCAAgC;AAChC,sBAAsB;AACtB,uCAAuC;AACvC,MAAM,CAAC,MAAM,WAAW,GAAG,UAAU,CAAC;AAEtC,+BAA+B;AAC/B,2DAA2D;AAC3D,MAAM,KAAW,KAAK,CAsIrB;AAtID,WAAiB,KAAK;IACrB,sDAAsD;IACtD,0DAA0D;IAC7C,oBAAc,GAAG,uBAAuB,CAAC;IACtD,+BAA+B;IAC/B,iCAAiC;IACjC,gBAAgB;IAChB,8DAA8D;IAC9D,yBAAyB;IACzB,0DAA0D;IAC7C,eAAS,GAAG,uBAAuB,CAAC;IACjD,0BAA0B;IAC1B,4DAA4D;IAC/C,gBAAU,GAAG,yBAAyB,CAAC;IACpD,yBAAyB;IACzB,4DAA4D;IAC/C,eAAS,GAAG,yBAAyB,CAAC;IACnD,2BAA2B;IAC3B,4DAA4D;IAC/C,iBAAW,GAAG,yBAAyB,CAAC;IACrD,oBAAoB;IACpB,0DAA0D;IAC7C,mBAAa,GAAG,uBAAuB,CAAC;IACrD,uBAAuB;IACvB,0DAA0D;IAC7C,aAAO,GAAG,uBAAuB,CAAC;IAC/C,oBAAoB;IACpB,0DAA0D;IAC7C,WAAK,GAAG,uBAAuB,CAAC;IAC7C,mBAAmB;IACnB,0DAA0D;IAC7C,kBAAY,GAAG,uBAAuB,CAAC;IACpD,0CAA0C;IAC1C,0DAA0D;IAC7C,6BAAuB,GAAG,uBAAuB,C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aAAa,EAAE,uBAAuB;IACtC,qBAAqB,EAAE,uBAAuB;IAC9C,UAAU,EAAE,uBAAuB;IACnC,mBAAmB,EAAE,yBAAyB;IAC9C,IAAI,EAAE,uBAAuB;IAC7B,QAAQ,EAAE,yBAAyB;IACnC,YAAY,EAAE,uBAAuB;IACrC,gBAAgB,EAAE,uBAAuB;IACzC,aAAa,EAAE,wBAAwB;IACvC,UAAU,EAAE,wBAAwB;IACpC,wBAAwB,EAAE,0BAA0B;IACpD,gBAAgB,EAAE,0BAA0B;IAC5C,kBAAkB,EAAE,0BAA0B;IAC9C,sBAAsB,EAAE,0BAA0B;IAClD,gBAAgB,EAAE,0BAA0B;IAC5C,cAAc,EAAE,0BAA0B;IAC1C,2BAA2B,EAAE,0BAA0B;IACvD,8BAA8B,EAAE,0BAA0B;IAC1D,6BAA6B,EAAE,0BAA0B;IACzD,4BAA4B,EAAE,0BAA0B;IACxD,oBAAoB,EAAE,2BAA2B;IACjD,kBAAkB,EAAE,wBAAwB;IAC5C,WAAW,EAAE,0BAA0B;IACvC,WAAW,EAAE,wBAAwB;IACrC,eAAe,EAAE,wBAAwB;IACzC,SAAS,EAAE,wBAAwB;IACnC,kBAAkB,EAAE,wBAAwB;IAC5C,eAAe,EAAE,wBAAwB;IACzC,sBAAsB,EAAE,wBAAwB;IAChD,sBAAsB,EAAE,wBAAwB;IAChD,kBAAkB,EAAE,wBAAwB;IAC5C,gBAAgB,EAAE,wBAAwB;IAC1C,+BAA+B,EAAE,wBAAwB;IACzD,KAAK,EAAE,0BAA0B;IACjC,MAAM,EAAE,wBAAwB;CAChC,CAAC","sourcesContent":["/* eslint-disable */\n/**\n * Generated OID Constants\n * This file is auto-generated from oids.json.\n */\n\n// Algorithm OID constants\nexport const AES_256_GCM = '2.16.840.1.101.3.4.1.46';\nexport const AES_256_CBC = '2.16.840.1.101.3.4.1.42';\nexport const SHA2_256 = '2.16.840.1.101.3.4.2.1';\nexport const SHA3_256 = '2.16.840.1.101.3.4.2.8';\n\n// Plain attribute OID constants\n/** Postal code OID */\n/** @see https://oidref.com/2.5.5.17 */\nexport const POSTAL_CODE = '2.5.5.17';\n\n// Keeta-specific OID constants\n// eslint-disable-next-line @typescript-eslint/no-namespace\nexport namespace keeta {\n\t/** KYC attributes extension for X.509 certificates */\n\t/** @see https://oid-base.com/get/1.3.6.1.4.1.62675.0.0 */\n\texport const KYC_ATTRIBUTES = '1.3.6.1.4.1.62675.0.0';\n\t/** DigestInfo from RFC 3447 */\n\t/** External reference pointer */\n\t/** Reference */\n\t/** Files an organization filed under one document category */\n\t/** Person's full name */\n\t/** @see https://oid-base.com/get/1.3.6.1.4.1.62675.1.0 */\n\texport const FULL_NAME = '1.3.6.1.4.1.62675.1.0';\n\t/** Person's first name */\n\t/** @see https://oid-base.com/get/1.3.6.1.4.1.62675.1.0.1 */\n\texport const FIRST_NAME = '1.3.6.1.4.1.62675.1.0.1';\n\t/** Person's last name */\n\t/** @see https://oid-base.com/get/1.3.6.1.4.1.62675.1.0.2 */\n\texport const LAST_NAME = '1.3.6.1.4.1.62675.1.0.2';\n\t/** Person's middle name */\n\t/** @see https://oid-base.com/get/1.3.6.1.4.1.62675.1.0.3 */\n\texport const MIDDLE_NAME = '1.3.6.1.4.1.62675.1.0.3';\n\t/** Date of birth */\n\t/** @see https://oid-base.com/get/1.3.6.1.4.1.62675.1.1 */\n\texport const DATE_OF_BIRTH = '1.3.6.1.4.1.62675.1.1';\n\t/** Physical address */\n\t/** @see https://oid-base.com/get/1.3.6.1.4.1.62675.1.2 */\n\texport const ADDRESS = '1.3.6.1.4.1.62675.1.2';\n\t/** Email address */\n\t/** @see https://oid-base.com/get/1.3.6.1.4.1.62675.1.3 */\n\texport const EMAIL = '1.3.6.1.4.1.62675.1.3';\n\t/** Phone number */\n\t/** @see https://oid-base.com/get/1.3.6.1.4.1.62675.1.4 */\n\texport const PHONE_NUMBER = '1.3.6.1.4.1.62675.1.4';\n\t/** Date and place of birth information */\n\t/** @see https://oid-base.com/get/1.3.6.1.4.1.62675.1.5 */\n\texport const DATE_AND_PLACE_OF_BIRTH = '1.3.6.1.4.1.62675.1.5';\n\t/** Job title */\n\t/** @see https://oid-base.com/get/1.3.6.1.4.1.62675.1.6 */\n\texport const JOB_TITLE = '1.3.6.1.4.1.62675.1.6';\n\t/** Job responsibility */\n\t/** @see https://oid-base.com/get/1.3.6.1.4.1.62675.1.6.1 */\n\texport const JOB_RESPONSIBILITY = '1.3.6.1.4.1.62675.1.6.1';\n\t/** Identifier */\n\t/** @see https://oid-base.com/get/1.3.6.1.4.1.62675.1.7 */\n\texport const ID = '1.3.6.1.4.1.62675.1.7';\n\t/** Issuer identifier */\n\t/** @see https://oid-base.com/get/1.3.6.1.4.1.62675.1.7.1 */\n\texport const ISSUER = '1.3.6.1.4.1.62675.1.7.1';\n\t/** Entity type (organization or person) */\n\t/** @see https://oid-base.com/get/1.3.6.1.4.1.62675.1.8 */\n\texport const ENTITY_TYPE = '1.3.6.1.4.1.62675.1.8';\n\t/** Contact details */\n\t/** @see https://oid-base.com/get/1.3.6.1.4.1.62675.1.9 */\n\texport const CONTACT_DETAILS = '1.3.6.1.4.1.62675.1.9';\n\t/** Nationality */\n\t/** @see https://oid-base.com/get/1.3.6.1.4.1.62675.1.10 */\n\texport const NATIONALITY = '1.3.6.1.4.1.62675.1.10';\n\t/** Generic document structure with metadata */\n\t/** @see https://oid-base.com/get/1.3.6.1.4.1.62675.1.11 */\n\texport const DOCUMENT = '1.3.6.1.4.1.62675.1.11';\n\t/** Driver's license document */\n\t/** @see https://oid-base.com/get/1.3.6.1.4.1.62675.1.11.0 */\n\texport const DOCUMENT_DRIVERS_LICENSE = '1.3.6.1.4.1.62675.1.11.0';\n\t/** ID card document */\n\t/** @see https://oid-base.com/get/1.3.6.1.4.1.62675.1.11.1 */\n\texport const DOCUMENT_ID_CARD = '1.3.6.1.4.1.62675.1.11.1';\n\t/** Passport document */\n\t/** @see https://oid-base.com/get/1.3.6.1.4.1.62675.1.11.2 */\n\texport const DOCUMENT_PASSPORT = '1.3.6.1.4.1.62675.1.11.2';\n\t/** Passport card document */\n\t/** @see https://oid-base.com/get/1.3.6.1.4.1.62675.1.11.3 */\n\texport const DOCUMENT_PASSPORT_CARD = '1.3.6.1.4.1.62675.1.11.3';\n\t/** Permit document */\n\t/** @see https://oid-base.com/get/1.3.6.1.4.1.62675.1.11.4 */\n\texport const DOCUMENT_PERMIT = '1.3.6.1.4.1.62675.1.11.4';\n\t/** Visa document */\n\t/** @see https://oid-base.com/get/1.3.6.1.4.1.62675.1.11.5 */\n\texport const DOCUMENT_VISA = '1.3.6.1.4.1.62675.1.11.5';\n\t/** Residence document */\n\t/** @see https://oid-base.com/get/1.3.6.1.4.1.62675.1.11.6 */\n\texport const DOCUMENT_RESIDENCE_DOCUMENT = '1.3.6.1.4.1.62675.1.11.6';\n\t/** Business registration documents */\n\t/** @see https://oid-base.com/get/1.3.6.1.4.1.62675.1.11.7 */\n\texport const DOCUMENT_BUSINESS_REGISTRATION = '1.3.6.1.4.1.62675.1.11.7';\n\t/** Register of directors documents */\n\t/** @see https://oid-base.com/get/1.3.6.1.4.1.62675.1.11.8 */\n\texport const DOCUMENT_REGISTER_OF_DIRECTORS = '1.3.6.1.4.1.62675.1.11.8';\n\t/** Financial statement documents */\n\t/** @see https://oid-base.com/get/1.3.6.1.4.1.62675.1.11.9 */\n\texport const DOCUMENT_FINANCIAL_STATEMENT = '1.3.6.1.4.1.62675.1.11.9';\n\t/** Additional organization documents */\n\t/** @see https://oid-base.com/get/1.3.6.1.4.1.62675.1.11.10 */\n\texport const DOCUMENT_ADDITIONAL = '1.3.6.1.4.1.62675.1.11.10';\n\t/** Organization's legal name */\n\t/** @see https://oid-base.com/get/1.3.6.1.4.1.62675.1.12 */\n\texport const ORGANIZATION_NAME = '1.3.6.1.4.1.62675.1.12';\n\t/** Organization's trade name (doing-business-as name) */\n\t/** @see https://oid-base.com/get/1.3.6.1.4.1.62675.1.12.1 */\n\texport const TRADE_NAME = '1.3.6.1.4.1.62675.1.12.1';\n\t/** Organization's legal form */\n\t/** @see https://oid-base.com/get/1.3.6.1.4.1.62675.1.13 */\n\texport const LEGAL_FORM = '1.3.6.1.4.1.62675.1.13';\n\t/** Organization incorporation details */\n\t/** @see https://oid-base.com/get/1.3.6.1.4.1.62675.1.14 */\n\texport const INCORPORATION = '1.3.6.1.4.1.62675.1.14';\n\t/** Organization's website */\n\t/** @see https://oid-base.com/get/1.3.6.1.4.1.62675.1.15 */\n\texport const WEBSITE = '1.3.6.1.4.1.62675.1.15';\n\t/** Description of the organization's business activities */\n\t/** @see https://oid-base.com/get/1.3.6.1.4.1.62675.1.16 */\n\texport const BUSINESS_ACTIVITY = '1.3.6.1.4.1.62675.1.16';\n\t/** Primary source of the organization's funds */\n\t/** @see https://oid-base.com/get/1.3.6.1.4.1.62675.1.17 */\n\texport const SOURCE_OF_FUNDS = '1.3.6.1.4.1.62675.1.17';\n\t/** Organization's expected annual transaction volume band */\n\t/** @see https://oid-base.com/get/1.3.6.1.4.1.62675.1.18 */\n\texport const EXPECTED_ANNUAL_VOLUME = '1.3.6.1.4.1.62675.1.18';\n\t/** Countries the organization operates in */\n\t/** @see https://oid-base.com/get/1.3.6.1.4.1.62675.1.19 */\n\texport const COUNTRIES_OF_OPERATION = '1.3.6.1.4.1.62675.1.19';\n\t/** Address the organization operates from */\n\t/** @see https://oid-base.com/get/1.3.6.1.4.1.62675.1.20 */\n\texport const OPERATING_ADDRESS = '1.3.6.1.4.1.62675.1.20';\n\t/** Whether the organization's shares are publicly traded */\n\t/** @see https://oid-base.com/get/1.3.6.1.4.1.62675.1.21 */\n\texport const PUBLICLY_TRADED = '1.3.6.1.4.1.62675.1.21';\n\t/** Whether the organization operates from its registered address */\n\t/** @see https://oid-base.com/get/1.3.6.1.4.1.62675.1.22 */\n\texport const OPERATES_FROM_REGISTERED_ADDRESS = '1.3.6.1.4.1.62675.1.22';\n\t/** Ultimate beneficial owner of an organization */\n\t/** @see https://oid-base.com/get/1.3.6.1.4.1.62675.1.23.1 */\n\texport const UBO = '1.3.6.1.4.1.62675.1.23.1';\n\t/** Organization's ultimate beneficial owners */\n\t/** @see https://oid-base.com/get/1.3.6.1.4.1.62675.1.23 */\n\texport const UBOS = '1.3.6.1.4.1.62675.1.23';\n}\n\n// OID to name lookup maps\nexport const OID_TO_NAME: { [key: string]: string } = {\n\t'2.5.5.17': 'postalCode',\n\t'1.3.6.1.4.1.62675.1.0': 'fullName',\n\t'1.3.6.1.4.1.62675.1.0.1': 'firstName',\n\t'1.3.6.1.4.1.62675.1.0.2': 'lastName',\n\t'1.3.6.1.4.1.62675.1.0.3': 'middleName',\n\t'1.3.6.1.4.1.62675.1.1': 'dateOfBirth',\n\t'1.3.6.1.4.1.62675.1.2': 'address',\n\t'1.3.6.1.4.1.62675.1.3': 'email',\n\t'1.3.6.1.4.1.62675.1.4': 'phoneNumber',\n\t'1.3.6.1.4.1.62675.1.5': 'dateAndPlaceOfBirth',\n\t'1.3.6.1.4.1.62675.1.6': 'jobTitle',\n\t'1.3.6.1.4.1.62675.1.6.1': 'jobResponsibility',\n\t'1.3.6.1.4.1.62675.1.7': 'id',\n\t'1.3.6.1.4.1.62675.1.7.1': 'issuer',\n\t'1.3.6.1.4.1.62675.1.8': 'entityType',\n\t'1.3.6.1.4.1.62675.1.9': 'contactDetails',\n\t'1.3.6.1.4.1.62675.1.10': 'nationality',\n\t'1.3.6.1.4.1.62675.1.11': 'document',\n\t'1.3.6.1.4.1.62675.1.11.0': 'documentDriversLicense',\n\t'1.3.6.1.4.1.62675.1.11.1': 'documentIdCard',\n\t'1.3.6.1.4.1.62675.1.11.2': 'documentPassport',\n\t'1.3.6.1.4.1.62675.1.11.3': 'documentPassportCard',\n\t'1.3.6.1.4.1.62675.1.11.4': 'documentPermit',\n\t'1.3.6.1.4.1.62675.1.11.5': 'documentVisa',\n\t'1.3.6.1.4.1.62675.1.11.6': 'documentResidenceDocument',\n\t'1.3.6.1.4.1.62675.1.11.7': 'documentBusinessRegistration',\n\t'1.3.6.1.4.1.62675.1.11.8': 'documentRegisterOfDirectors',\n\t'1.3.6.1.4.1.62675.1.11.9': 'documentFinancialStatement',\n\t'1.3.6.1.4.1.62675.1.11.10': 'documentAdditional',\n\t'1.3.6.1.4.1.62675.1.12': 'organizationName',\n\t'1.3.6.1.4.1.62675.1.12.1': 'tradeName',\n\t'1.3.6.1.4.1.62675.1.13': 'legalForm',\n\t'1.3.6.1.4.1.62675.1.14': 'incorporation',\n\t'1.3.6.1.4.1.62675.1.15': 'website',\n\t'1.3.6.1.4.1.62675.1.16': 'businessActivity',\n\t'1.3.6.1.4.1.62675.1.17': 'sourceOfFunds',\n\t'1.3.6.1.4.1.62675.1.18': 'expectedAnnualVolume',\n\t'1.3.6.1.4.1.62675.1.19': 'countriesOfOperation',\n\t'1.3.6.1.4.1.62675.1.20': 'operatingAddress',\n\t'1.3.6.1.4.1.62675.1.21': 'publiclyTraded',\n\t'1.3.6.1.4.1.62675.1.22': 'operatesFromRegisteredAddress',\n\t'1.3.6.1.4.1.62675.1.23.1': 'ubo',\n\t'1.3.6.1.4.1.62675.1.23': 'ubos'\n};\n\nexport const NAME_TO_OID: { [key: string]: string } = {\n\t'postalCode': '2.5.5.17',\n\t'fullName': '1.3.6.1.4.1.62675.1.0',\n\t'firstName': '1.3.6.1.4.1.62675.1.0.1',\n\t'lastName': '1.3.6.1.4.1.62675.1.0.2',\n\t'middleName': '1.3.6.1.4.1.62675.1.0.3',\n\t'dateOfBirth': '1.3.6.1.4.1.62675.1.1',\n\t'address': '1.3.6.1.4.1.62675.1.2',\n\t'email': '1.3.6.1.4.1.62675.1.3',\n\t'phoneNumber': '1.3.6.1.4.1.62675.1.4',\n\t'dateAndPlaceOfBirth': '1.3.6.1.4.1.62675.1.5',\n\t'jobTitle': '1.3.6.1.4.1.62675.1.6',\n\t'jobResponsibility': '1.3.6.1.4.1.62675.1.6.1',\n\t'id': '1.3.6.1.4.1.62675.1.7',\n\t'issuer': '1.3.6.1.4.1.62675.1.7.1',\n\t'entityType': '1.3.6.1.4.1.62675.1.8',\n\t'contactDetails': '1.3.6.1.4.1.62675.1.9',\n\t'nationality': '1.3.6.1.4.1.62675.1.10',\n\t'document': '1.3.6.1.4.1.62675.1.11',\n\t'documentDriversLicense': '1.3.6.1.4.1.62675.1.11.0',\n\t'documentIdCard': '1.3.6.1.4.1.62675.1.11.1',\n\t'documentPassport': '1.3.6.1.4.1.62675.1.11.2',\n\t'documentPassportCard': '1.3.6.1.4.1.62675.1.11.3',\n\t'documentPermit': '1.3.6.1.4.1.62675.1.11.4',\n\t'documentVisa': '1.3.6.1.4.1.62675.1.11.5',\n\t'documentResidenceDocument': '1.3.6.1.4.1.62675.1.11.6',\n\t'documentBusinessRegistration': '1.3.6.1.4.1.62675.1.11.7',\n\t'documentRegisterOfDirectors': '1.3.6.1.4.1.62675.1.11.8',\n\t'documentFinancialStatement': '1.3.6.1.4.1.62675.1.11.9',\n\t'documentAdditional': '1.3.6.1.4.1.62675.1.11.10',\n\t'organizationName': '1.3.6.1.4.1.62675.1.12',\n\t'tradeName': '1.3.6.1.4.1.62675.1.12.1',\n\t'legalForm': '1.3.6.1.4.1.62675.1.13',\n\t'incorporation': '1.3.6.1.4.1.62675.1.14',\n\t'website': '1.3.6.1.4.1.62675.1.15',\n\t'businessActivity': '1.3.6.1.4.1.62675.1.16',\n\t'sourceOfFunds': '1.3.6.1.4.1.62675.1.17',\n\t'expectedAnnualVolume': '1.3.6.1.4.1.62675.1.18',\n\t'countriesOfOperation': '1.3.6.1.4.1.62675.1.19',\n\t'operatingAddress': '1.3.6.1.4.1.62675.1.20',\n\t'publiclyTraded': '1.3.6.1.4.1.62675.1.21',\n\t'operatesFromRegisteredAddress': '1.3.6.1.4.1.62675.1.22',\n\t'ubo': '1.3.6.1.4.1.62675.1.23.1',\n\t'ubos': '1.3.6.1.4.1.62675.1.23'\n};\n"]}
1
+ {"version":3,"file":"oids.generated.js","sourceRoot":"","sources":["../../../src/services/kyc/oids.generated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,aAAa,EAAE,uBAAuB;IACtC,qBAAqB,EAAE,uBAAuB;IAC9C,UAAU,EAAE,uBAAuB;IACnC,mBAAmB,EAAE,yBAAyB;IAC9C,IAAI,EAAE,uBAAuB;IAC7B,QAAQ,EAAE,yBAAyB;IACnC,YAAY,EAAE,uBAAuB;IACrC,gBAAgB,EAAE,uBAAuB;IACzC,aAAa,EAAE,wBAAwB;IACvC,UAAU,EAAE,wBAAwB;IACpC,wBAAwB,EAAE,0BAA0B;IACpD,gBAAgB,EAAE,0BAA0B;IAC5C,kBAAkB,EAAE,0BAA0B;IAC9C,sBAAsB,EAAE,0BAA0B;IAClD,gBAAgB,EAAE,0BAA0B;IAC5C,cAAc,EAAE,0BAA0B;IAC1C,2BAA2B,EAAE,0BAA0B;IACvD,8BAA8B,EAAE,0BAA0B;IAC1D,6BAA6B,EAAE,0BAA0B;IACzD,4BAA4B,EAAE,0BAA0B;IACxD,oBAAoB,EAAE,2BAA2B;IACjD,wBAAwB,EAAE,2BAA2B;IACrD,kBAAkB,EAAE,wBAAwB;IAC5C,WAAW,EAAE,0BAA0B;IACvC,WAAW,EAAE,wBAAwB;IACrC,eAAe,EAAE,wBAAwB;IACzC,SAAS,EAAE,wBAAwB;IACnC,kBAAkB,EAAE,wBAAwB;IAC5C,eAAe,EAAE,wBAAwB;IACzC,sBAAsB,EAAE,wBAAwB;IAChD,sBAAsB,EAAE,wBAAwB;IAChD,kBAAkB,EAAE,wBAAwB;IAC5C,gBAAgB,EAAE,wBAAwB;IAC1C,+BAA+B,EAAE,wBAAwB;IACzD,KAAK,EAAE,0BAA0B;IACjC,MAAM,EAAE,wBAAwB;CAChC,CAAC","sourcesContent":["/* eslint-disable */\n/**\n * Generated OID Constants\n * This file is auto-generated from oids.json.\n */\n\n// Algorithm OID constants\nexport const AES_256_GCM = '2.16.840.1.101.3.4.1.46';\nexport const AES_256_CBC = '2.16.840.1.101.3.4.1.42';\nexport const SHA2_256 = '2.16.840.1.101.3.4.2.1';\nexport const SHA3_256 = '2.16.840.1.101.3.4.2.8';\n\n// Plain attribute OID constants\n/** Postal code OID */\n/** @see https://oidref.com/2.5.5.17 */\nexport const POSTAL_CODE = '2.5.5.17';\n\n// Keeta-specific OID constants\n// eslint-disable-next-line @typescript-eslint/no-namespace\nexport namespace keeta {\n\t/** KYC attributes extension for X.509 certificates */\n\t/** @see https://oid-base.com/get/1.3.6.1.4.1.62675.0.0 */\n\texport const KYC_ATTRIBUTES = '1.3.6.1.4.1.62675.0.0';\n\t/** DigestInfo from RFC 3447 */\n\t/** External reference pointer */\n\t/** Reference */\n\t/** Files an organization filed under one document category */\n\t/** Person's full name */\n\t/** @see https://oid-base.com/get/1.3.6.1.4.1.62675.1.0 */\n\texport const FULL_NAME = '1.3.6.1.4.1.62675.1.0';\n\t/** Person's first name */\n\t/** @see https://oid-base.com/get/1.3.6.1.4.1.62675.1.0.1 */\n\texport const FIRST_NAME = '1.3.6.1.4.1.62675.1.0.1';\n\t/** Person's last name */\n\t/** @see https://oid-base.com/get/1.3.6.1.4.1.62675.1.0.2 */\n\texport const LAST_NAME = '1.3.6.1.4.1.62675.1.0.2';\n\t/** Person's middle name */\n\t/** @see https://oid-base.com/get/1.3.6.1.4.1.62675.1.0.3 */\n\texport const MIDDLE_NAME = '1.3.6.1.4.1.62675.1.0.3';\n\t/** Date of birth */\n\t/** @see https://oid-base.com/get/1.3.6.1.4.1.62675.1.1 */\n\texport const DATE_OF_BIRTH = '1.3.6.1.4.1.62675.1.1';\n\t/** Physical address */\n\t/** @see https://oid-base.com/get/1.3.6.1.4.1.62675.1.2 */\n\texport const ADDRESS = '1.3.6.1.4.1.62675.1.2';\n\t/** Email address */\n\t/** @see https://oid-base.com/get/1.3.6.1.4.1.62675.1.3 */\n\texport const EMAIL = '1.3.6.1.4.1.62675.1.3';\n\t/** Phone number */\n\t/** @see https://oid-base.com/get/1.3.6.1.4.1.62675.1.4 */\n\texport const PHONE_NUMBER = '1.3.6.1.4.1.62675.1.4';\n\t/** Date and place of birth information */\n\t/** @see https://oid-base.com/get/1.3.6.1.4.1.62675.1.5 */\n\texport const DATE_AND_PLACE_OF_BIRTH = '1.3.6.1.4.1.62675.1.5';\n\t/** Job title */\n\t/** @see https://oid-base.com/get/1.3.6.1.4.1.62675.1.6 */\n\texport const JOB_TITLE = '1.3.6.1.4.1.62675.1.6';\n\t/** Job responsibility */\n\t/** @see https://oid-base.com/get/1.3.6.1.4.1.62675.1.6.1 */\n\texport const JOB_RESPONSIBILITY = '1.3.6.1.4.1.62675.1.6.1';\n\t/** Identifier */\n\t/** @see https://oid-base.com/get/1.3.6.1.4.1.62675.1.7 */\n\texport const ID = '1.3.6.1.4.1.62675.1.7';\n\t/** Issuer identifier */\n\t/** @see https://oid-base.com/get/1.3.6.1.4.1.62675.1.7.1 */\n\texport const ISSUER = '1.3.6.1.4.1.62675.1.7.1';\n\t/** Entity type (organization or person) */\n\t/** @see https://oid-base.com/get/1.3.6.1.4.1.62675.1.8 */\n\texport const ENTITY_TYPE = '1.3.6.1.4.1.62675.1.8';\n\t/** Contact details */\n\t/** @see https://oid-base.com/get/1.3.6.1.4.1.62675.1.9 */\n\texport const CONTACT_DETAILS = '1.3.6.1.4.1.62675.1.9';\n\t/** Nationality */\n\t/** @see https://oid-base.com/get/1.3.6.1.4.1.62675.1.10 */\n\texport const NATIONALITY = '1.3.6.1.4.1.62675.1.10';\n\t/** Generic document structure with metadata */\n\t/** @see https://oid-base.com/get/1.3.6.1.4.1.62675.1.11 */\n\texport const DOCUMENT = '1.3.6.1.4.1.62675.1.11';\n\t/** Driver's license document */\n\t/** @see https://oid-base.com/get/1.3.6.1.4.1.62675.1.11.0 */\n\texport const DOCUMENT_DRIVERS_LICENSE = '1.3.6.1.4.1.62675.1.11.0';\n\t/** ID card document */\n\t/** @see https://oid-base.com/get/1.3.6.1.4.1.62675.1.11.1 */\n\texport const DOCUMENT_ID_CARD = '1.3.6.1.4.1.62675.1.11.1';\n\t/** Passport document */\n\t/** @see https://oid-base.com/get/1.3.6.1.4.1.62675.1.11.2 */\n\texport const DOCUMENT_PASSPORT = '1.3.6.1.4.1.62675.1.11.2';\n\t/** Passport card document */\n\t/** @see https://oid-base.com/get/1.3.6.1.4.1.62675.1.11.3 */\n\texport const DOCUMENT_PASSPORT_CARD = '1.3.6.1.4.1.62675.1.11.3';\n\t/** Permit document */\n\t/** @see https://oid-base.com/get/1.3.6.1.4.1.62675.1.11.4 */\n\texport const DOCUMENT_PERMIT = '1.3.6.1.4.1.62675.1.11.4';\n\t/** Visa document */\n\t/** @see https://oid-base.com/get/1.3.6.1.4.1.62675.1.11.5 */\n\texport const DOCUMENT_VISA = '1.3.6.1.4.1.62675.1.11.5';\n\t/** Residence document */\n\t/** @see https://oid-base.com/get/1.3.6.1.4.1.62675.1.11.6 */\n\texport const DOCUMENT_RESIDENCE_DOCUMENT = '1.3.6.1.4.1.62675.1.11.6';\n\t/** Business registration documents */\n\t/** @see https://oid-base.com/get/1.3.6.1.4.1.62675.1.11.7 */\n\texport const DOCUMENT_BUSINESS_REGISTRATION = '1.3.6.1.4.1.62675.1.11.7';\n\t/** Register of directors documents */\n\t/** @see https://oid-base.com/get/1.3.6.1.4.1.62675.1.11.8 */\n\texport const DOCUMENT_REGISTER_OF_DIRECTORS = '1.3.6.1.4.1.62675.1.11.8';\n\t/** Financial statement documents */\n\t/** @see https://oid-base.com/get/1.3.6.1.4.1.62675.1.11.9 */\n\texport const DOCUMENT_FINANCIAL_STATEMENT = '1.3.6.1.4.1.62675.1.11.9';\n\t/** Additional organization documents */\n\t/** @see https://oid-base.com/get/1.3.6.1.4.1.62675.1.11.10 */\n\texport const DOCUMENT_ADDITIONAL = '1.3.6.1.4.1.62675.1.11.10';\n\t/** Register of ultimate beneficial owners documents */\n\t/** @see https://oid-base.com/get/1.3.6.1.4.1.62675.1.11.11 */\n\texport const DOCUMENT_REGISTER_OF_U_B_OS = '1.3.6.1.4.1.62675.1.11.11';\n\t/** Organization's legal name */\n\t/** @see https://oid-base.com/get/1.3.6.1.4.1.62675.1.12 */\n\texport const ORGANIZATION_NAME = '1.3.6.1.4.1.62675.1.12';\n\t/** Organization's trade name (doing-business-as name) */\n\t/** @see https://oid-base.com/get/1.3.6.1.4.1.62675.1.12.1 */\n\texport const TRADE_NAME = '1.3.6.1.4.1.62675.1.12.1';\n\t/** Organization's legal form */\n\t/** @see https://oid-base.com/get/1.3.6.1.4.1.62675.1.13 */\n\texport const LEGAL_FORM = '1.3.6.1.4.1.62675.1.13';\n\t/** Organization incorporation details */\n\t/** @see https://oid-base.com/get/1.3.6.1.4.1.62675.1.14 */\n\texport const INCORPORATION = '1.3.6.1.4.1.62675.1.14';\n\t/** Organization's website */\n\t/** @see https://oid-base.com/get/1.3.6.1.4.1.62675.1.15 */\n\texport const WEBSITE = '1.3.6.1.4.1.62675.1.15';\n\t/** Description of the organization's business activities */\n\t/** @see https://oid-base.com/get/1.3.6.1.4.1.62675.1.16 */\n\texport const BUSINESS_ACTIVITY = '1.3.6.1.4.1.62675.1.16';\n\t/** Primary source of the organization's funds */\n\t/** @see https://oid-base.com/get/1.3.6.1.4.1.62675.1.17 */\n\texport const SOURCE_OF_FUNDS = '1.3.6.1.4.1.62675.1.17';\n\t/** Organization's expected annual transaction volume band */\n\t/** @see https://oid-base.com/get/1.3.6.1.4.1.62675.1.18 */\n\texport const EXPECTED_ANNUAL_VOLUME = '1.3.6.1.4.1.62675.1.18';\n\t/** Countries the organization operates in */\n\t/** @see https://oid-base.com/get/1.3.6.1.4.1.62675.1.19 */\n\texport const COUNTRIES_OF_OPERATION = '1.3.6.1.4.1.62675.1.19';\n\t/** Address the organization operates from */\n\t/** @see https://oid-base.com/get/1.3.6.1.4.1.62675.1.20 */\n\texport const OPERATING_ADDRESS = '1.3.6.1.4.1.62675.1.20';\n\t/** Whether the organization's shares are publicly traded */\n\t/** @see https://oid-base.com/get/1.3.6.1.4.1.62675.1.21 */\n\texport const PUBLICLY_TRADED = '1.3.6.1.4.1.62675.1.21';\n\t/** Whether the organization operates from its registered address */\n\t/** @see https://oid-base.com/get/1.3.6.1.4.1.62675.1.22 */\n\texport const OPERATES_FROM_REGISTERED_ADDRESS = '1.3.6.1.4.1.62675.1.22';\n\t/** Ultimate beneficial owner of an organization */\n\t/** @see https://oid-base.com/get/1.3.6.1.4.1.62675.1.23.1 */\n\texport const UBO = '1.3.6.1.4.1.62675.1.23.1';\n\t/** Organization's ultimate beneficial owners */\n\t/** @see https://oid-base.com/get/1.3.6.1.4.1.62675.1.23 */\n\texport const UBOS = '1.3.6.1.4.1.62675.1.23';\n}\n\n// OID to name lookup maps\nexport const OID_TO_NAME: { [key: string]: string } = {\n\t'2.5.5.17': 'postalCode',\n\t'1.3.6.1.4.1.62675.1.0': 'fullName',\n\t'1.3.6.1.4.1.62675.1.0.1': 'firstName',\n\t'1.3.6.1.4.1.62675.1.0.2': 'lastName',\n\t'1.3.6.1.4.1.62675.1.0.3': 'middleName',\n\t'1.3.6.1.4.1.62675.1.1': 'dateOfBirth',\n\t'1.3.6.1.4.1.62675.1.2': 'address',\n\t'1.3.6.1.4.1.62675.1.3': 'email',\n\t'1.3.6.1.4.1.62675.1.4': 'phoneNumber',\n\t'1.3.6.1.4.1.62675.1.5': 'dateAndPlaceOfBirth',\n\t'1.3.6.1.4.1.62675.1.6': 'jobTitle',\n\t'1.3.6.1.4.1.62675.1.6.1': 'jobResponsibility',\n\t'1.3.6.1.4.1.62675.1.7': 'id',\n\t'1.3.6.1.4.1.62675.1.7.1': 'issuer',\n\t'1.3.6.1.4.1.62675.1.8': 'entityType',\n\t'1.3.6.1.4.1.62675.1.9': 'contactDetails',\n\t'1.3.6.1.4.1.62675.1.10': 'nationality',\n\t'1.3.6.1.4.1.62675.1.11': 'document',\n\t'1.3.6.1.4.1.62675.1.11.0': 'documentDriversLicense',\n\t'1.3.6.1.4.1.62675.1.11.1': 'documentIdCard',\n\t'1.3.6.1.4.1.62675.1.11.2': 'documentPassport',\n\t'1.3.6.1.4.1.62675.1.11.3': 'documentPassportCard',\n\t'1.3.6.1.4.1.62675.1.11.4': 'documentPermit',\n\t'1.3.6.1.4.1.62675.1.11.5': 'documentVisa',\n\t'1.3.6.1.4.1.62675.1.11.6': 'documentResidenceDocument',\n\t'1.3.6.1.4.1.62675.1.11.7': 'documentBusinessRegistration',\n\t'1.3.6.1.4.1.62675.1.11.8': 'documentRegisterOfDirectors',\n\t'1.3.6.1.4.1.62675.1.11.9': 'documentFinancialStatement',\n\t'1.3.6.1.4.1.62675.1.11.10': 'documentAdditional',\n\t'1.3.6.1.4.1.62675.1.11.11': 'documentRegisterOfUBOs',\n\t'1.3.6.1.4.1.62675.1.12': 'organizationName',\n\t'1.3.6.1.4.1.62675.1.12.1': 'tradeName',\n\t'1.3.6.1.4.1.62675.1.13': 'legalForm',\n\t'1.3.6.1.4.1.62675.1.14': 'incorporation',\n\t'1.3.6.1.4.1.62675.1.15': 'website',\n\t'1.3.6.1.4.1.62675.1.16': 'businessActivity',\n\t'1.3.6.1.4.1.62675.1.17': 'sourceOfFunds',\n\t'1.3.6.1.4.1.62675.1.18': 'expectedAnnualVolume',\n\t'1.3.6.1.4.1.62675.1.19': 'countriesOfOperation',\n\t'1.3.6.1.4.1.62675.1.20': 'operatingAddress',\n\t'1.3.6.1.4.1.62675.1.21': 'publiclyTraded',\n\t'1.3.6.1.4.1.62675.1.22': 'operatesFromRegisteredAddress',\n\t'1.3.6.1.4.1.62675.1.23.1': 'ubo',\n\t'1.3.6.1.4.1.62675.1.23': 'ubos'\n};\n\nexport const NAME_TO_OID: { [key: string]: string } = {\n\t'postalCode': '2.5.5.17',\n\t'fullName': '1.3.6.1.4.1.62675.1.0',\n\t'firstName': '1.3.6.1.4.1.62675.1.0.1',\n\t'lastName': '1.3.6.1.4.1.62675.1.0.2',\n\t'middleName': '1.3.6.1.4.1.62675.1.0.3',\n\t'dateOfBirth': '1.3.6.1.4.1.62675.1.1',\n\t'address': '1.3.6.1.4.1.62675.1.2',\n\t'email': '1.3.6.1.4.1.62675.1.3',\n\t'phoneNumber': '1.3.6.1.4.1.62675.1.4',\n\t'dateAndPlaceOfBirth': '1.3.6.1.4.1.62675.1.5',\n\t'jobTitle': '1.3.6.1.4.1.62675.1.6',\n\t'jobResponsibility': '1.3.6.1.4.1.62675.1.6.1',\n\t'id': '1.3.6.1.4.1.62675.1.7',\n\t'issuer': '1.3.6.1.4.1.62675.1.7.1',\n\t'entityType': '1.3.6.1.4.1.62675.1.8',\n\t'contactDetails': '1.3.6.1.4.1.62675.1.9',\n\t'nationality': '1.3.6.1.4.1.62675.1.10',\n\t'document': '1.3.6.1.4.1.62675.1.11',\n\t'documentDriversLicense': '1.3.6.1.4.1.62675.1.11.0',\n\t'documentIdCard': '1.3.6.1.4.1.62675.1.11.1',\n\t'documentPassport': '1.3.6.1.4.1.62675.1.11.2',\n\t'documentPassportCard': '1.3.6.1.4.1.62675.1.11.3',\n\t'documentPermit': '1.3.6.1.4.1.62675.1.11.4',\n\t'documentVisa': '1.3.6.1.4.1.62675.1.11.5',\n\t'documentResidenceDocument': '1.3.6.1.4.1.62675.1.11.6',\n\t'documentBusinessRegistration': '1.3.6.1.4.1.62675.1.11.7',\n\t'documentRegisterOfDirectors': '1.3.6.1.4.1.62675.1.11.8',\n\t'documentFinancialStatement': '1.3.6.1.4.1.62675.1.11.9',\n\t'documentAdditional': '1.3.6.1.4.1.62675.1.11.10',\n\t'documentRegisterOfUBOs': '1.3.6.1.4.1.62675.1.11.11',\n\t'organizationName': '1.3.6.1.4.1.62675.1.12',\n\t'tradeName': '1.3.6.1.4.1.62675.1.12.1',\n\t'legalForm': '1.3.6.1.4.1.62675.1.13',\n\t'incorporation': '1.3.6.1.4.1.62675.1.14',\n\t'website': '1.3.6.1.4.1.62675.1.15',\n\t'businessActivity': '1.3.6.1.4.1.62675.1.16',\n\t'sourceOfFunds': '1.3.6.1.4.1.62675.1.17',\n\t'expectedAnnualVolume': '1.3.6.1.4.1.62675.1.18',\n\t'countriesOfOperation': '1.3.6.1.4.1.62675.1.19',\n\t'operatingAddress': '1.3.6.1.4.1.62675.1.20',\n\t'publiclyTraded': '1.3.6.1.4.1.62675.1.21',\n\t'operatesFromRegisteredAddress': '1.3.6.1.4.1.62675.1.22',\n\t'ubo': '1.3.6.1.4.1.62675.1.23.1',\n\t'ubos': '1.3.6.1.4.1.62675.1.23'\n};\n"]}
@@ -2,7 +2,7 @@ import * as KeetaNet from '@keetanetwork/keetanet-client';
2
2
  import * as CurrencyInfo from '@keetanetwork/currency-info';
3
3
  import type * as KeetaAnchorHTTPServer from '../../lib/http-server/index.js';
4
4
  import type { KeetaAnchorMetadataServerConfig } from '../../lib/anchor-metadata-server.js';
5
- import type { KeetaKYCAnchorCreateVerificationRequest, KeetaKYCAnchorCreateVerificationResponse, KeetaKYCAnchorGetCertificateResponse, KeetaKYCAnchorGetVerificationStatusResponse } from './common.ts';
5
+ import type { KeetaKYCAnchorCreateVerificationRequest, KeetaKYCAnchorCreateVerificationResponse, KeetaKYCAnchorGetCertificateResponse, KeetaKYCAnchorGetVerificationStatusResponse, KeetaKYCAnchorGetVerificationURLResponse } from './common.ts';
6
6
  import type { Account } from '@keetanetwork/keetanet-client/lib/account.js';
7
7
  import type * as Signing from '../../lib/utils/signing.js';
8
8
  import type { KYCEntityType, ServiceMetadata } from '../../lib/resolver.ts';
@@ -110,6 +110,18 @@ export interface KeetaAnchorKYCServerConfig extends KeetaAnchorMetadataServerCon
110
110
  }) => Promise<Pick<Extract<KeetaKYCAnchorGetVerificationStatusResponse, {
111
111
  ok: true;
112
112
  }>, 'status' | 'requiresManualVerification'>>;
113
+ /**
114
+ * Issue a new link to continue an existing verification (optional)
115
+ *
116
+ * Links handed out earlier should keep working. If the
117
+ * verification ID is unknown or belongs to another account,
118
+ * the implementation should throw a `VerificationNotFound` error.
119
+ */
120
+ getVerificationURL?: (verificationID: string, requester: {
121
+ account: Account;
122
+ }) => Promise<Pick<Extract<KeetaKYCAnchorGetVerificationURLResponse, {
123
+ ok: true;
124
+ }>, 'webURL'>>;
113
125
  /**
114
126
  * Country codes that this KYC provider can service (default is all country codes)
115
127
  */
@@ -1 +1 @@
1
- {"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../../../src/services/kyc/server.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,QAAQ,MAAM,+BAA+B,CAAC;AAC1D,OAAO,KAAK,YAAY,MAAM,6BAA6B,CAAC;AAE5D,OAAO,KAAK,KAAK,qBAAqB,MAAM,gCAAgC,CAAC;AAC7E,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,qCAAqC,CAAC;AAI3F,OAAO,KAAK,EACX,uCAAuC,EACvC,wCAAwC,EACxC,oCAAoC,EACpC,2CAA2C,EAC3C,MAAM,aAAa,CAAC;AAQrB,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,8CAA8C,CAAC;AAC5E,OAAO,KAAK,KAAK,OAAO,MAAM,4BAA4B,CAAC;AAC3D,OAAO,KAAK,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAG5E,OAAO,EAAE,yBAAyB,EAAE,MAAM,qCAAqC,CAAC;AAIhF;;;;GAIG;AACH,KAAK,eAAe,GAAG,YAAY,CAAC,OAAO,QAAQ,CAAC,GAAG,CAAC,KAAK,CAAC,WAAW,CAAC,WAAW,CAAC,CAAC;AAEvF,MAAM,WAAW,0BAA2B,SAAQ,+BAA+B;IAClF;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,CAAC,MAAM,OAAO,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC,CAAC;IAErD;;OAEG;IACH,MAAM,EAAE;QAAE,MAAM,EAAE,QAAQ,CAAC,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAC;QAAC,YAAY,EAAE,OAAO,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC,aAAa,CAAC,MAAM,CAAC,CAAA;KAAE,GAAG,QAAQ,CAAC,UAAU,CAAC;IAE9I;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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