@fiado/type-kit 1.0.59 → 1.0.60

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 (142) hide show
  1. package/README.md +70 -70
  2. package/bin/card/enums/DeliveryChannel.d.ts +5 -0
  3. package/bin/card/enums/DeliveryChannel.js +9 -0
  4. package/bin/card/enums/ExternalShippingStatus.d.ts +14 -0
  5. package/bin/card/enums/ExternalShippingStatus.js +18 -0
  6. package/bin/card/enums/ExternalShippingStatusDetails.d.ts +54 -0
  7. package/bin/card/enums/ExternalShippingStatusDetails.js +58 -0
  8. package/bin/card/index.d.ts +3 -0
  9. package/bin/card/index.js +3 -0
  10. package/bin/group/dtos/GroupDirectoryRetationsUpdateRequest.d.ts +3 -0
  11. package/bin/group/dtos/GroupDirectoryRetationsUpdateRequest.js +22 -0
  12. package/package.json +23 -23
  13. package/src/account/dtos/AccountCreateRequest.ts +58 -58
  14. package/src/account/dtos/AccountCreateResponse.ts +7 -7
  15. package/src/account/index.ts +4 -4
  16. package/src/address/dtos/AddressBase.ts +130 -130
  17. package/src/address/dtos/AddressCreateRequest.ts +6 -6
  18. package/src/address/dtos/AddressResponse.ts +41 -41
  19. package/src/address/dtos/AddressShippingCardResponse.ts +11 -11
  20. package/src/address/dtos/Geometry.ts +4 -4
  21. package/src/address/dtos/OfficeDetails.ts +30 -30
  22. package/src/address/dtos/OperationSchedule.ts +8 -8
  23. package/src/address/dtos/Place.ts +83 -83
  24. package/src/address/dtos/Shipping.ts +36 -36
  25. package/src/address/dtos/Timezone.ts +5 -5
  26. package/src/address/enums/AddressProvider.ts +10 -10
  27. package/src/address/enums/AddressStatus.ts +9 -9
  28. package/src/address/index.ts +15 -15
  29. package/src/app/enums/App.ts +10 -10
  30. package/src/app/index.ts +3 -3
  31. package/src/authentication/dtos/SignUpAdditionalRequest.ts +32 -32
  32. package/src/authentication/dtos/SignUpAdditionalResponse.ts +5 -5
  33. package/src/authentication/index.ts +3 -3
  34. package/src/card/dtos/CardActivateRequest.ts +12 -12
  35. package/src/card/dtos/CardApplicationRequest.ts +20 -20
  36. package/src/card/dtos/CardBalanceResponse.ts +10 -10
  37. package/src/card/dtos/CardCreateAdditionalRequest.ts +40 -40
  38. package/src/card/dtos/CardCreateRequest.ts +141 -141
  39. package/src/card/dtos/CardResponse.ts +4 -4
  40. package/src/card/dtos/CardShipmentQueueMessage.ts +7 -7
  41. package/src/card/dtos/CardShipmentUpdateRequest.ts +19 -19
  42. package/src/card/dtos/CardUpdateRequest.ts +13 -13
  43. package/src/card/enums/Brand.ts +7 -7
  44. package/src/card/enums/CardIssuanceStatus.ts +5 -5
  45. package/src/card/enums/CardType.ts +4 -4
  46. package/src/card/enums/CardUpdateKey.ts +4 -4
  47. package/src/card/enums/CreditOrDebit.ts +5 -5
  48. package/src/card/enums/DeliveryChannel.ts +7 -0
  49. package/src/card/enums/ExternalShippingStatus.ts +15 -0
  50. package/src/card/enums/ExternalShippingStatusDetails.ts +54 -0
  51. package/src/card/enums/IssuanceType.ts +5 -5
  52. package/src/card/enums/NominatedOrInnominated.ts +8 -8
  53. package/src/card/enums/OwnershipType.ts +3 -3
  54. package/src/card/enums/ShippingStatus.ts +8 -8
  55. package/src/card/enums/Status.ts +5 -5
  56. package/src/card/enums/UpdateKey.ts +5 -5
  57. package/src/card/enums/VirtualOrPhysical.ts +6 -6
  58. package/src/card/index.ts +33 -28
  59. package/src/card/validations/CardUpdateKeyConstraint.ts +53 -53
  60. package/src/card/validations/IsPhoneNumberConstraint.ts +26 -26
  61. package/src/country/enums/Country.ts +6 -6
  62. package/src/country/enums/CountryId.ts +6 -6
  63. package/src/country/index.ts +5 -5
  64. package/src/currency/dtos/CurrencyResponse.ts +8 -8
  65. package/src/currency/index.ts +2 -2
  66. package/src/directory/dtos/DirectoryResponse.ts +17 -17
  67. package/src/directory/dtos/External.ts +6 -6
  68. package/src/directory/enums/Profile.ts +6 -6
  69. package/src/directory/enums/Scope.ts +7 -7
  70. package/src/directory/enums/Status.ts +8 -8
  71. package/src/directory/enums/TypeOfDirectoryId.ts +6 -6
  72. package/src/directory/index.ts +7 -7
  73. package/src/eventBridge/dto/EventBridgeMessageRequest.ts +4 -4
  74. package/src/eventBridge/index.ts +1 -1
  75. package/src/exchangeRate/dtos/ExchangeRateCreateRequest.ts +50 -50
  76. package/src/exchangeRate/dtos/ExchangeRateCreateResponse.ts +4 -4
  77. package/src/exchangeRate/dtos/ExchangeRateResponse.ts +19 -19
  78. package/src/exchangeRate/enums/ExchangeRateStatus.ts +5 -5
  79. package/src/exchangeRate/index.ts +8 -8
  80. package/src/genericMessage/dto/GenericMessageRequest.ts +17 -17
  81. package/src/genericMessage/enums/GenericMessageSourceEnum.ts +3 -3
  82. package/src/genericMessage/index.ts +1 -1
  83. package/src/group/dtos/GroupAddDirectoryRequest.ts +27 -27
  84. package/src/group/dtos/GroupCreateRequest.ts +54 -54
  85. package/src/group/dtos/GroupDirectoryRelationsResponse.ts +20 -20
  86. package/src/group/dtos/GroupDirectoryRelationsUpdateRequest.ts +10 -10
  87. package/src/group/dtos/GroupResponse.ts +17 -17
  88. package/src/group/dtos/GroupUpdateRequest.ts +31 -31
  89. package/src/group/enums/GroupAction.ts +8 -8
  90. package/src/group/enums/GroupStatus.ts +6 -6
  91. package/src/group/enums/RelationStatus.ts +8 -8
  92. package/src/group/enums/RelationType.ts +9 -9
  93. package/src/group/index.ts +18 -18
  94. package/src/header/TokenPayload.ts +17 -17
  95. package/src/header/index.ts +3 -3
  96. package/src/helpers/ValidationUtils.ts +32 -32
  97. package/src/helpers/constans/regex.ts +12 -12
  98. package/src/identity/dtos/IdentificationDocument.ts +24 -24
  99. package/src/identity/dtos/PeopleCreateRequest.ts +4 -4
  100. package/src/identity/dtos/PeopleResponse.ts +80 -80
  101. package/src/identity/dtos/TypeOfDocument.ts +11 -11
  102. package/src/identity/enums/IdentificationDocumentStatus.ts +7 -7
  103. package/src/identity/enums/SexDocument.ts +6 -6
  104. package/src/identity/index.ts +11 -11
  105. package/src/index.ts +24 -24
  106. package/src/notificationMessages/dtos/NotificationQueueMessageRequest.ts +7 -7
  107. package/src/notificationMessages/dtos/QueueMessageDestination.ts +6 -6
  108. package/src/notificationMessages/dtos/QueueMessageVariableValues.ts +3 -3
  109. package/src/notificationMessages/enums/NotificationId.ts +13 -13
  110. package/src/notificationMessages/index.ts +5 -5
  111. package/src/pomelo/dtos/PomeloCreateUserRequest.ts +30 -30
  112. package/src/pomelo/dtos/PomeloCreateUserResponse.ts +35 -35
  113. package/src/pomelo/enums/CountryEnum.ts +8 -8
  114. package/src/pomelo/enums/IdentificationTypeEnum.ts +10 -10
  115. package/src/pomelo/enums/SexEnum.ts +3 -3
  116. package/src/pomelo/enums/TaxTypeEnum.ts +7 -7
  117. package/src/pomelo/enums/UserStatusEnum.ts +6 -6
  118. package/src/pomelo/index.ts +11 -11
  119. package/src/provider/enums/Provider.ts +5 -5
  120. package/src/provider/index.ts +1 -1
  121. package/src/queue/dtos/QueueMessageBase.ts +13 -13
  122. package/src/servicePayment/dtos/ServicePaymentRequest.ts +33 -33
  123. package/src/sessionActivity/dtos/SessionActivityQueueMessageRequest.ts +10 -10
  124. package/src/sessionActivity/enums/SessionActivityActionEnum.ts +7 -7
  125. package/src/sessionActivity/enums/SessionActivityActionOriginEnum.ts +4 -4
  126. package/src/sessionActivity/index.ts +2 -2
  127. package/src/tern/dtos/TernAddress.ts +20 -20
  128. package/src/tern/dtos/TernCreateAccountRequest.ts +15 -15
  129. package/src/tern/dtos/TernCreateAccountResponse.ts +9 -9
  130. package/src/tern/dtos/TernCreateUserRequest.ts +46 -46
  131. package/src/tern/dtos/TernCreateUserResponse.ts +18 -18
  132. package/src/tern/dtos/TernGetAccountRequest.ts +9 -9
  133. package/src/tern/dtos/TernGetAccountResponse.ts +56 -56
  134. package/src/tern/dtos/TernGetUserRequest.ts +5 -5
  135. package/src/tern/dtos/TernGetUserResponse.ts +63 -63
  136. package/src/tern/enums/TernAccountStatusEnum.ts +3 -3
  137. package/src/tern/enums/TernAccountTypeEnum.ts +4 -4
  138. package/src/tern/index.ts +14 -14
  139. package/.idea/aws.xml +0 -11
  140. package/.idea/fiado-type-kit.iml +0 -12
  141. package/.idea/modules.xml +0 -8
  142. package/.idea/vcs.xml +0 -6
@@ -1,25 +1,25 @@
1
- import { Country } from "../../country/enums/Country";
2
- import { IdentificationDocumentStatus } from "../enums/IdentificationDocumentStatus";
3
- import { SexDocument } from "../enums/SexDocument";
4
-
5
-
6
- export class IdentificationDocument {
7
-
8
- frontImageName: string | null;
9
- backImageName: string | null;
10
- countryId: Country | null;
11
- expirationDate: string | null;
12
- issueDate: string | null;
13
- lastNameFirst: string | null;
14
- lastNameSecond: string | null;
15
- names: string | null;
16
- fullName: string | null;
17
- countryOfBirth: string | null;
18
- dateOfBirth: string | null;
19
- documentNumber: string | null;
20
- typeOfDocument: string;
21
- sex: SexDocument | null;
22
- verificationId: string | null;
23
- curp: string | null;
24
- status: IdentificationDocumentStatus;
1
+ import { Country } from "../../country/enums/Country";
2
+ import { IdentificationDocumentStatus } from "../enums/IdentificationDocumentStatus";
3
+ import { SexDocument } from "../enums/SexDocument";
4
+
5
+
6
+ export class IdentificationDocument {
7
+
8
+ frontImageName: string | null;
9
+ backImageName: string | null;
10
+ countryId: Country | null;
11
+ expirationDate: string | null;
12
+ issueDate: string | null;
13
+ lastNameFirst: string | null;
14
+ lastNameSecond: string | null;
15
+ names: string | null;
16
+ fullName: string | null;
17
+ countryOfBirth: string | null;
18
+ dateOfBirth: string | null;
19
+ documentNumber: string | null;
20
+ typeOfDocument: string;
21
+ sex: SexDocument | null;
22
+ verificationId: string | null;
23
+ curp: string | null;
24
+ status: IdentificationDocumentStatus;
25
25
  }
@@ -1,5 +1,5 @@
1
-
2
-
3
- export class PeopleCreateRequest {
4
-
1
+
2
+
3
+ export class PeopleCreateRequest {
4
+
5
5
  }
@@ -1,80 +1,80 @@
1
-
2
- import { App } from '../../app/enums/App';
3
- import { SexDocument } from '../enums/SexDocument';
4
- import { IdentificationDocument } from './IdentificationDocument';
5
-
6
-
7
- export class PeopleResponse {
8
-
9
- id: string;
10
- createDate: string;
11
- lastUpdateDate: string;
12
- creationMethod: App;
13
- indexName: string;
14
- preferredName: string;
15
- usSuffix: string | null;
16
- usLastNames: string | null;
17
- usNames: string | null;
18
- latNames: string | null;
19
- latLastNamePaternal: string | null;
20
- latLastNameMaternal: string | null;
21
- aliasNames: string[] | null;
22
- preferredPronoun: string | null;
23
- SSN_ITIN: string | null;
24
- rfc: string | null;
25
- curp: string | null;
26
- passportNumber: string | null;
27
- countryOfPassport: string | null;
28
- documents: IdentificationDocument[] | null;
29
- countryOfBirth: string | null;
30
- dateOfBirth: string | null;
31
- stateOfBirth: string | null;
32
- nationalities: string[] | null;
33
- docSex: SexDocument | null;
34
- internalEmail: string | null;
35
- occupation: string | null;
36
- incomeSource: string | null;
37
- operationId: string | null;
38
- tenantId: string | null;
39
- photoOfpersonImageName: string | null;
40
- videoOfPersonImageName: string | null;
41
- USA_DebitAccount: boolean;
42
- MEX_DebitAccount: boolean;
43
- MEX_CreditClient: boolean;
44
- MEX_CreditAdditional: boolean;
45
- magicNumber: boolean;
46
- USA_UploadDocument: boolean;
47
- MEX_UploadDocument: boolean;
48
- videoSelfieVerified: boolean;
49
- MEX_ValidDocument: string;
50
- USA_ValidDocument: string;
51
- USA_FacematchVerified: boolean | null;
52
- MEX_FacematchVerified: boolean | null;
53
- fiadoListApproved: boolean | null;
54
- ofacListApproved: boolean | null;
55
- cnbvListApproved: boolean | null;
56
- blackListApproved: boolean | null;
57
- whiteList: boolean | null;
58
- hasOwner: boolean;
59
- older18: boolean | null;
60
- USA_Address: boolean;
61
- MEX_Address: boolean;
62
- COL_Address: boolean;
63
- GTM_Address: boolean;
64
- HND_Address: boolean;
65
- CRI_Address: boolean;
66
- PER_Address: boolean;
67
- MEX_ProofAddress: boolean;
68
- MEX_SendWish: boolean;
69
- COL_SendWish: boolean;
70
- GTM_SendWish: boolean;
71
- HND_SendWish: boolean;
72
- CRI_SendWish: boolean;
73
- PER_SendWish: boolean;
74
- USA_DebitAccountWish: boolean;
75
- MEX_DebitAccountWish: boolean;
76
- MEX_CreditAdditionalWish: boolean;
77
- MEX_CreditClientWish: boolean;
78
- SSN_ITINRequired: boolean | null;
79
-
80
- }
1
+
2
+ import { App } from '../../app/enums/App';
3
+ import { SexDocument } from '../enums/SexDocument';
4
+ import { IdentificationDocument } from './IdentificationDocument';
5
+
6
+
7
+ export class PeopleResponse {
8
+
9
+ id: string;
10
+ createDate: string;
11
+ lastUpdateDate: string;
12
+ creationMethod: App;
13
+ indexName: string;
14
+ preferredName: string;
15
+ usSuffix: string | null;
16
+ usLastNames: string | null;
17
+ usNames: string | null;
18
+ latNames: string | null;
19
+ latLastNamePaternal: string | null;
20
+ latLastNameMaternal: string | null;
21
+ aliasNames: string[] | null;
22
+ preferredPronoun: string | null;
23
+ SSN_ITIN: string | null;
24
+ rfc: string | null;
25
+ curp: string | null;
26
+ passportNumber: string | null;
27
+ countryOfPassport: string | null;
28
+ documents: IdentificationDocument[] | null;
29
+ countryOfBirth: string | null;
30
+ dateOfBirth: string | null;
31
+ stateOfBirth: string | null;
32
+ nationalities: string[] | null;
33
+ docSex: SexDocument | null;
34
+ internalEmail: string | null;
35
+ occupation: string | null;
36
+ incomeSource: string | null;
37
+ operationId: string | null;
38
+ tenantId: string | null;
39
+ photoOfpersonImageName: string | null;
40
+ videoOfPersonImageName: string | null;
41
+ USA_DebitAccount: boolean;
42
+ MEX_DebitAccount: boolean;
43
+ MEX_CreditClient: boolean;
44
+ MEX_CreditAdditional: boolean;
45
+ magicNumber: boolean;
46
+ USA_UploadDocument: boolean;
47
+ MEX_UploadDocument: boolean;
48
+ videoSelfieVerified: boolean;
49
+ MEX_ValidDocument: string;
50
+ USA_ValidDocument: string;
51
+ USA_FacematchVerified: boolean | null;
52
+ MEX_FacematchVerified: boolean | null;
53
+ fiadoListApproved: boolean | null;
54
+ ofacListApproved: boolean | null;
55
+ cnbvListApproved: boolean | null;
56
+ blackListApproved: boolean | null;
57
+ whiteList: boolean | null;
58
+ hasOwner: boolean;
59
+ older18: boolean | null;
60
+ USA_Address: boolean;
61
+ MEX_Address: boolean;
62
+ COL_Address: boolean;
63
+ GTM_Address: boolean;
64
+ HND_Address: boolean;
65
+ CRI_Address: boolean;
66
+ PER_Address: boolean;
67
+ MEX_ProofAddress: boolean;
68
+ MEX_SendWish: boolean;
69
+ COL_SendWish: boolean;
70
+ GTM_SendWish: boolean;
71
+ HND_SendWish: boolean;
72
+ CRI_SendWish: boolean;
73
+ PER_SendWish: boolean;
74
+ USA_DebitAccountWish: boolean;
75
+ MEX_DebitAccountWish: boolean;
76
+ MEX_CreditAdditionalWish: boolean;
77
+ MEX_CreditClientWish: boolean;
78
+ SSN_ITINRequired: boolean | null;
79
+
80
+ }
@@ -1,12 +1,12 @@
1
-
2
-
3
- export class TypeOfDocument {
4
- id: string;
5
- countryId: string;
6
- isEnabled: boolean;
7
- name: string;
8
- side: number;
9
- order: number;
10
- subtype: string;
11
- type: string;
1
+
2
+
3
+ export class TypeOfDocument {
4
+ id: string;
5
+ countryId: string;
6
+ isEnabled: boolean;
7
+ name: string;
8
+ side: number;
9
+ order: number;
10
+ subtype: string;
11
+ type: string;
12
12
  }
@@ -1,7 +1,7 @@
1
-
2
-
3
- export enum IdentificationDocumentStatus {
4
- VERIFIED = "VERIFIED",
5
- REJECTED = "REJECTED",
6
- UNVERIFIED = "UNVERIFIED"
7
- }
1
+
2
+
3
+ export enum IdentificationDocumentStatus {
4
+ VERIFIED = "VERIFIED",
5
+ REJECTED = "REJECTED",
6
+ UNVERIFIED = "UNVERIFIED"
7
+ }
@@ -1,6 +1,6 @@
1
-
2
-
3
- export enum SexDocument {
4
- M = "M",
5
- F = "F"
6
- }
1
+
2
+
3
+ export enum SexDocument {
4
+ M = "M",
5
+ F = "F"
6
+ }
@@ -1,11 +1,11 @@
1
-
2
- //dtos
3
- export * from './dtos/IdentificationDocument'
4
- export * from './dtos/PeopleCreateRequest';
5
- export * from './dtos/PeopleResponse';
6
- export * from './dtos/TypeOfDocument';
7
-
8
- //enums
9
- export * from './enums/IdentificationDocumentStatus';
10
- export * from './enums/SexDocument';
11
-
1
+
2
+ //dtos
3
+ export * from './dtos/IdentificationDocument'
4
+ export * from './dtos/PeopleCreateRequest';
5
+ export * from './dtos/PeopleResponse';
6
+ export * from './dtos/TypeOfDocument';
7
+
8
+ //enums
9
+ export * from './enums/IdentificationDocumentStatus';
10
+ export * from './enums/SexDocument';
11
+
package/src/index.ts CHANGED
@@ -1,24 +1,24 @@
1
- export * as Account from './account';
2
- export * as Address from './address';
3
- export * as App from './app';
4
- export * as Authentication from './authentication';
5
- export * as Card from './card';
6
- export * as Country from './country';
7
- export * as Currency from './currency';
8
- export * as Directory from './directory';
9
- export * as ExchangeRate from './exchangeRate';
10
- export * as File from './identity';
11
- export * as Group from './group';
12
- export * as Identity from './provider';
13
- export * as Header from './header';
14
- export * as ServicePayment from './servicePayment';
15
- export * as NotificationMessages from './notificationMessages';
16
- export * as SessionActivity from './sessionActivity';
17
- export * as EventBridgeMessage from './eventBridge'
18
- export * as GenericMessage from './genericMessage'
19
- export * as Pomelo from './pomelo'
20
- export * as Tern from './tern'
21
-
22
-
23
-
24
-
1
+ export * as Account from './account';
2
+ export * as Address from './address';
3
+ export * as App from './app';
4
+ export * as Authentication from './authentication';
5
+ export * as Card from './card';
6
+ export * as Country from './country';
7
+ export * as Currency from './currency';
8
+ export * as Directory from './directory';
9
+ export * as ExchangeRate from './exchangeRate';
10
+ export * as File from './identity';
11
+ export * as Group from './group';
12
+ export * as Identity from './provider';
13
+ export * as Header from './header';
14
+ export * as ServicePayment from './servicePayment';
15
+ export * as NotificationMessages from './notificationMessages';
16
+ export * as SessionActivity from './sessionActivity';
17
+ export * as EventBridgeMessage from './eventBridge'
18
+ export * as GenericMessage from './genericMessage'
19
+ export * as Pomelo from './pomelo'
20
+ export * as Tern from './tern'
21
+
22
+
23
+
24
+
@@ -1,8 +1,8 @@
1
- import {QueueMessageDestination} from "./QueueMessageDestination";
2
-
3
- export class NotificationQueueMessageRequest {
4
- templateId: string; // Nombre de la plantilla de mensaje a enviar
5
- broadcast?: boolean; // Si el mensaje es masivo o no (a todos los dispositivos registrados)
6
- destinations: QueueMessageDestination[]; // Grupo de destinos (directory y variables)
7
- data?: any; // Informacion adicional a enviar al destino
1
+ import {QueueMessageDestination} from "./QueueMessageDestination";
2
+
3
+ export class NotificationQueueMessageRequest {
4
+ templateId: string; // Nombre de la plantilla de mensaje a enviar
5
+ broadcast?: boolean; // Si el mensaje es masivo o no (a todos los dispositivos registrados)
6
+ destinations: QueueMessageDestination[]; // Grupo de destinos (directory y variables)
7
+ data?: any; // Informacion adicional a enviar al destino
8
8
  }
@@ -1,7 +1,7 @@
1
- import {QueueMessageVariableValues} from "./QueueMessageVariableValues";
2
-
3
- export class QueueMessageDestination {
4
- directoryId: string;
5
- templateVariables?: QueueMessageVariableValues[];
6
- data?: any;
1
+ import {QueueMessageVariableValues} from "./QueueMessageVariableValues";
2
+
3
+ export class QueueMessageDestination {
4
+ directoryId: string;
5
+ templateVariables?: QueueMessageVariableValues[];
6
+ data?: any;
7
7
  }
@@ -1,4 +1,4 @@
1
- export class QueueMessageVariableValues {
2
- key: string;
3
- value: string;
1
+ export class QueueMessageVariableValues {
2
+ key: string;
3
+ value: string;
4
4
  }
@@ -1,14 +1,14 @@
1
-
2
-
3
-
4
- export enum NotificationId {
5
-
6
- ISSUED_ACCOUNT_USA = "ISSUED_ACCOUNT_USA", //Mesnaje de apertura de cuentas y tarjeta USA
7
- ISSUED_ACCOUNT_MEX = "ISSUED_ACCOUNT_MEX", //Mesnaje de apertura de cuentas y tarjeta MEX
8
- ONB_ERROR_VALID_DOCUMENT = "ONB_ERROR_VALID_DOCUMENT", // Mensaje cuando el resultado del onboarding es error en la validación del documento
9
- ONB_ERROR_FACEMATCH = "ONB_ERROR_FACEMATCH", // Mensaje cuando el resultado del onboarding es error porque no hace match en video selfie con el documento
10
-
11
-
12
-
13
-
1
+
2
+
3
+
4
+ export enum NotificationId {
5
+
6
+ ISSUED_ACCOUNT_USA = "ISSUED_ACCOUNT_USA", //Mesnaje de apertura de cuentas y tarjeta USA
7
+ ISSUED_ACCOUNT_MEX = "ISSUED_ACCOUNT_MEX", //Mesnaje de apertura de cuentas y tarjeta MEX
8
+ ONB_ERROR_VALID_DOCUMENT = "ONB_ERROR_VALID_DOCUMENT", // Mensaje cuando el resultado del onboarding es error en la validación del documento
9
+ ONB_ERROR_FACEMATCH = "ONB_ERROR_FACEMATCH", // Mensaje cuando el resultado del onboarding es error porque no hace match en video selfie con el documento
10
+
11
+
12
+
13
+
14
14
  }
@@ -1,6 +1,6 @@
1
- export * from './dtos/NotificationQueueMessageRequest';
2
- export * from './dtos/QueueMessageDestination';
3
- export * from './dtos/QueueMessageVariableValues';
4
-
5
-
1
+ export * from './dtos/NotificationQueueMessageRequest';
2
+ export * from './dtos/QueueMessageDestination';
3
+ export * from './dtos/QueueMessageVariableValues';
4
+
5
+
6
6
  export * from "./enums/NotificationId";
@@ -1,31 +1,31 @@
1
- import { CountryEnum } from "../enums/CountryEnum"
2
- import { SexEnum } from "../enums/SexEnum"
3
- import { TaxTypeEnum } from "../enums/TaxTypeEnum"
4
-
5
- export type PomeloCreateUserRequest =
6
- {
7
- name?: string,
8
- surname?: string,
9
- identification_type?: "INE",
10
- identification_value?: string,
11
- birthdate?:string,
12
- gender?: SexEnum,
13
- email: string,
14
- phone?: string,
15
- tax_identification_type?: TaxTypeEnum,
16
- tax_identification_value?: string,
17
- legal_address: {
18
- street_name?: string,
19
- street_number?: string,
20
- floor?: string,
21
- apartment?: string,
22
- zip_code?: string,
23
- neighborhood?: string,
24
- city?: string,
25
- region?:string,
26
- additional_info?: string,
27
- country?: CountryEnum
28
- },
29
- operation_country: CountryEnum,
30
-
1
+ import { CountryEnum } from "../enums/CountryEnum"
2
+ import { SexEnum } from "../enums/SexEnum"
3
+ import { TaxTypeEnum } from "../enums/TaxTypeEnum"
4
+
5
+ export type PomeloCreateUserRequest =
6
+ {
7
+ name?: string,
8
+ surname?: string,
9
+ identification_type?: "INE",
10
+ identification_value?: string,
11
+ birthdate?:string,
12
+ gender?: SexEnum,
13
+ email: string,
14
+ phone?: string,
15
+ tax_identification_type?: TaxTypeEnum,
16
+ tax_identification_value?: string,
17
+ legal_address: {
18
+ street_name?: string,
19
+ street_number?: string,
20
+ floor?: string,
21
+ apartment?: string,
22
+ zip_code?: string,
23
+ neighborhood?: string,
24
+ city?: string,
25
+ region?:string,
26
+ additional_info?: string,
27
+ country?: CountryEnum
28
+ },
29
+ operation_country: CountryEnum,
30
+
31
31
  }
@@ -1,36 +1,36 @@
1
- import { CountryEnum } from "../enums/CountryEnum"
2
- import { IdentificationTypeEnum } from "../enums/IdentificationTypeEnum"
3
- import { SexEnum } from "../enums/SexEnum"
4
- import { TaxTypeEnum } from "../enums/TaxTypeEnum"
5
- import { UserStatusEnum } from "../enums/UserStatusEnum"
6
-
7
- export interface PomeloCreateUserResponse {
8
- data:{
9
- id:string
10
- name:string
11
- surname:string
12
- identification_type:IdentificationTypeEnum
13
- identification_value:string
14
- birthdate:string
15
- gender:SexEnum
16
- email:string
17
- phone:string
18
- tax_identification_type:TaxTypeEnum
19
- tax_identification_value:string
20
- nationality:CountryEnum
21
- status:UserStatusEnum
22
- operation_country:CountryEnum
23
- legal_address:{
24
- street_name:string
25
- street_number:string
26
- floor:string
27
- apartment:string
28
- zip_code:string
29
- neighborhood:string
30
- city:string
31
- region:string
32
- additional_info:string
33
- country:CountryEnum
34
- }
35
- }
1
+ import { CountryEnum } from "../enums/CountryEnum"
2
+ import { IdentificationTypeEnum } from "../enums/IdentificationTypeEnum"
3
+ import { SexEnum } from "../enums/SexEnum"
4
+ import { TaxTypeEnum } from "../enums/TaxTypeEnum"
5
+ import { UserStatusEnum } from "../enums/UserStatusEnum"
6
+
7
+ export interface PomeloCreateUserResponse {
8
+ data:{
9
+ id:string
10
+ name:string
11
+ surname:string
12
+ identification_type:IdentificationTypeEnum
13
+ identification_value:string
14
+ birthdate:string
15
+ gender:SexEnum
16
+ email:string
17
+ phone:string
18
+ tax_identification_type:TaxTypeEnum
19
+ tax_identification_value:string
20
+ nationality:CountryEnum
21
+ status:UserStatusEnum
22
+ operation_country:CountryEnum
23
+ legal_address:{
24
+ street_name:string
25
+ street_number:string
26
+ floor:string
27
+ apartment:string
28
+ zip_code:string
29
+ neighborhood:string
30
+ city:string
31
+ region:string
32
+ additional_info:string
33
+ country:CountryEnum
34
+ }
35
+ }
36
36
  }
@@ -1,9 +1,9 @@
1
- export enum CountryEnum
2
- {
3
- MEX = "MEX",
4
- ARG = "ARG",
5
- BRA = "BRA",
6
- PER = "PER",
7
- COL = "COL",
8
- CHL = "CHL",
1
+ export enum CountryEnum
2
+ {
3
+ MEX = "MEX",
4
+ ARG = "ARG",
5
+ BRA = "BRA",
6
+ PER = "PER",
7
+ COL = "COL",
8
+ CHL = "CHL",
9
9
  }
@@ -1,11 +1,11 @@
1
-
2
-
3
-
4
- export enum IdentificationTypeEnum
5
- {
6
- MX_NATIONAL_ID = "INE",
7
- MX_PASSPORT = "PASSPORT",
8
- US_DRIVER_LICENSE = "INE",
9
- FIADO_MX_NATIONAL_ID = "MX_NATIONAL_ID",
10
- PASSPORT = "MX_PASSPORT",
1
+
2
+
3
+
4
+ export enum IdentificationTypeEnum
5
+ {
6
+ MX_NATIONAL_ID = "INE",
7
+ MX_PASSPORT = "PASSPORT",
8
+ US_DRIVER_LICENSE = "INE",
9
+ FIADO_MX_NATIONAL_ID = "MX_NATIONAL_ID",
10
+ PASSPORT = "MX_PASSPORT",
11
11
  }
@@ -1,4 +1,4 @@
1
- export enum SexEnum{
2
- M = "MALE",
3
- F = "FEMALE"
1
+ export enum SexEnum{
2
+ M = "MALE",
3
+ F = "FEMALE"
4
4
  }
@@ -1,8 +1,8 @@
1
- export enum TaxTypeEnum
2
- {
3
- RFC = "RFC",
4
- CUIL = "CUIL",
5
- CPF = "CPF",
6
- NIT = "NIT",
7
- RUC = "RUC",
1
+ export enum TaxTypeEnum
2
+ {
3
+ RFC = "RFC",
4
+ CUIL = "CUIL",
5
+ CPF = "CPF",
6
+ NIT = "NIT",
7
+ RUC = "RUC",
8
8
  }
@@ -1,7 +1,7 @@
1
-
2
-
3
- export enum UserStatusEnum
4
- {
5
- ACTIVE = "ACTIVE",
6
- BLOCKED = "BLOCKED"
1
+
2
+
3
+ export enum UserStatusEnum
4
+ {
5
+ ACTIVE = "ACTIVE",
6
+ BLOCKED = "BLOCKED"
7
7
  }