@fiado/type-kit 1.0.84 → 1.0.86

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 (170) hide show
  1. package/.idea/aws.xml +11 -0
  2. package/.idea/fiado-type-kit.iml +12 -0
  3. package/.idea/modules.xml +8 -0
  4. package/.idea/vcs.xml +6 -0
  5. package/README.md +70 -70
  6. package/bin/account/dtos/AccountInfo.d.ts +12 -0
  7. package/bin/account/dtos/AccountInfo.js +59 -0
  8. package/bin/account/dtos/ExchangeInfo.d.ts +4 -0
  9. package/bin/{group/dtos/GroupDirectoryRetationsUpdateRequest.js → account/dtos/ExchangeInfo.js} +7 -6
  10. package/bin/account/dtos/GetAccountBalanceResponse.d.ts +9 -0
  11. package/bin/account/dtos/GetAccountBalanceResponse.js +51 -0
  12. package/bin/account/dtos/GetPocketBalanceResponse.d.ts +10 -0
  13. package/bin/account/dtos/GetPocketBalanceResponse.js +61 -0
  14. package/bin/account/dtos/GetPocketResponse.d.ts +8 -0
  15. package/bin/account/dtos/GetPocketResponse.js +5 -0
  16. package/bin/account/dtos/PocketItem.d.ts +12 -0
  17. package/bin/account/dtos/PocketItem.js +65 -0
  18. package/bin/account/entities/AccountEntityBase.d.ts +2 -0
  19. package/bin/account/index.d.ts +7 -0
  20. package/bin/account/index.js +7 -0
  21. package/package.json +23 -23
  22. package/src/account/dtos/AccountCreateRequest.ts +75 -75
  23. package/src/account/dtos/AccountCreateResponse.ts +7 -7
  24. package/src/account/dtos/AccountInfo.ts +40 -0
  25. package/src/account/dtos/BankAccountExternalAddress.ts +17 -17
  26. package/src/account/dtos/CreateBankAccountRequest.ts +11 -11
  27. package/src/account/dtos/CreateBankAccountResponse.ts +8 -8
  28. package/src/account/dtos/CreateBankAccountUserRequest.ts +17 -17
  29. package/src/account/dtos/CreateBankAccountUserResponse.ts +11 -11
  30. package/src/account/dtos/ExchangeInfo.ts +9 -0
  31. package/src/account/dtos/GetAccountBalanceResponse.ts +33 -0
  32. package/src/account/dtos/GetBankAccountRequest.ts +3 -3
  33. package/src/account/dtos/GetBankAccountResponse.ts +22 -22
  34. package/src/account/dtos/GetBankAccountSensitiveInformationRequest.ts +5 -5
  35. package/src/account/dtos/GetBankAccountSensitiveInformationResponse.ts +8 -8
  36. package/src/account/dtos/GetBankAccountUserRequest.ts +2 -2
  37. package/src/account/dtos/GetBankAccountUserResponse.ts +25 -25
  38. package/src/account/dtos/GetPocketBalanceResponse.ts +44 -0
  39. package/src/account/dtos/GetPocketResponse.ts +9 -0
  40. package/src/account/dtos/PocketItem.ts +46 -0
  41. package/src/account/dtos/UpdateBankAccountUserRequest.ts +26 -26
  42. package/src/account/dtos/UpdateBankAccountUserResponse.ts +3 -3
  43. package/src/account/entities/AccountEntityBase.ts +12 -10
  44. package/src/account/enums/AccountEntityStatusEnum.ts +4 -4
  45. package/src/account/enums/AccountLevelEnum.ts +5 -5
  46. package/src/account/enums/BankAccountTypeEnum.ts +2 -2
  47. package/src/account/enums/BankAccountUserStatusEnum.ts +4 -4
  48. package/src/account/enums/UserEntityStatusEnum.ts +4 -4
  49. package/src/account/index.ts +32 -24
  50. package/src/address/dtos/AddressBase.ts +130 -130
  51. package/src/address/dtos/AddressCreateRequest.ts +6 -6
  52. package/src/address/dtos/AddressResponse.ts +41 -41
  53. package/src/address/dtos/AddressShippingCardRequest.ts +12 -12
  54. package/src/address/dtos/AddressShippingCardResponse.ts +11 -11
  55. package/src/address/dtos/Geometry.ts +4 -4
  56. package/src/address/dtos/OfficeDetails.ts +30 -30
  57. package/src/address/dtos/OperationSchedule.ts +8 -8
  58. package/src/address/dtos/Place.ts +83 -83
  59. package/src/address/dtos/Shipping.ts +36 -36
  60. package/src/address/dtos/Timezone.ts +5 -5
  61. package/src/address/enums/AddressProvider.ts +10 -10
  62. package/src/address/enums/AddressStatus.ts +9 -9
  63. package/src/address/index.ts +16 -16
  64. package/src/app/enums/App.ts +10 -10
  65. package/src/app/index.ts +3 -3
  66. package/src/authentication/dtos/SignUpAdditionalRequest.ts +32 -32
  67. package/src/authentication/dtos/SignUpAdditionalResponse.ts +5 -5
  68. package/src/authentication/index.ts +3 -3
  69. package/src/card/dtos/CardActivateRequest.ts +12 -12
  70. package/src/card/dtos/CardApplicationRequest.ts +20 -20
  71. package/src/card/dtos/CardBalanceResponse.ts +10 -10
  72. package/src/card/dtos/CardCreateAdditionalRequest.ts +40 -40
  73. package/src/card/dtos/CardResponse.ts +4 -4
  74. package/src/card/dtos/CardShipmentQueueMessage.ts +7 -7
  75. package/src/card/dtos/CardShipmentUpdateRequest.ts +19 -19
  76. package/src/card/dtos/CardUpdateRequest.ts +13 -13
  77. package/src/card/dtos/Internal/ActivateBankAccountCardRequest.ts +9 -9
  78. package/src/card/dtos/Internal/ActivateBankAccountCardResponse.ts +4 -4
  79. package/src/card/dtos/Internal/CreateBankAccountCardRequest.ts +16 -16
  80. package/src/card/dtos/Internal/CreateBankAccountCardResponse.ts +8 -8
  81. package/src/card/dtos/Internal/CreateBankAccountCardShippingRequest.ts +14 -14
  82. package/src/card/dtos/Internal/CreateBankAccountCardShippingResponse.ts +12 -12
  83. package/src/card/dtos/Internal/GetBankAccountShippingRequest.ts +5 -5
  84. package/src/card/dtos/Internal/GetBankAccountShippingResponse.ts +19 -19
  85. package/src/card/dtos/Internal/UpdateBankAccountCardRequest.ts +21 -21
  86. package/src/card/dtos/Internal/UpdateBankAccountCardResponse.ts +5 -5
  87. package/src/card/enums/Brand.ts +7 -7
  88. package/src/card/enums/CardIssuanceStatus.ts +5 -5
  89. package/src/card/enums/CardIssuing.ts +6 -6
  90. package/src/card/enums/CardType.ts +4 -4
  91. package/src/card/enums/CardUpdateKey.ts +4 -4
  92. package/src/card/enums/CreditOrDebit.ts +5 -5
  93. package/src/card/enums/DeliveryChannel.ts +7 -7
  94. package/src/card/enums/ExternalShippingStatus.ts +14 -14
  95. package/src/card/enums/ExternalShippingStatusDetails.ts +53 -53
  96. package/src/card/enums/IssuanceType.ts +5 -5
  97. package/src/card/enums/NominatedOrInnominated.ts +8 -8
  98. package/src/card/enums/OwnershipType.ts +3 -3
  99. package/src/card/enums/ShippingStatus.ts +8 -8
  100. package/src/card/enums/Status.ts +6 -6
  101. package/src/card/enums/UpdateKey.ts +5 -5
  102. package/src/card/enums/VirtualOrPhysical.ts +6 -6
  103. package/src/card/index.ts +44 -44
  104. package/src/card/validations/CardUpdateKeyConstraint.ts +53 -53
  105. package/src/card/validations/IsPhoneNumberConstraint.ts +26 -26
  106. package/src/country/enums/Country.ts +6 -6
  107. package/src/country/enums/CountryId.ts +6 -6
  108. package/src/country/index.ts +5 -5
  109. package/src/currency/dtos/CurrencyResponse.ts +8 -8
  110. package/src/currency/index.ts +2 -2
  111. package/src/directory/dtos/DirectoryResponse.ts +18 -18
  112. package/src/directory/dtos/External.ts +6 -6
  113. package/src/directory/enums/Profile.ts +6 -6
  114. package/src/directory/enums/Scope.ts +7 -7
  115. package/src/directory/enums/Status.ts +8 -8
  116. package/src/directory/enums/TypeOfDirectoryId.ts +6 -6
  117. package/src/directory/index.ts +7 -7
  118. package/src/eventBridge/dto/EventBridgeMessageRequest.ts +4 -4
  119. package/src/eventBridge/index.ts +1 -1
  120. package/src/exchangeRate/dtos/ExchangeRateCreateRequest.ts +50 -50
  121. package/src/exchangeRate/dtos/ExchangeRateCreateResponse.ts +4 -4
  122. package/src/exchangeRate/dtos/ExchangeRateResponse.ts +19 -19
  123. package/src/exchangeRate/enums/ExchangeRateStatus.ts +5 -5
  124. package/src/exchangeRate/index.ts +8 -8
  125. package/src/genericMessage/dto/GenericMessageRequest.ts +17 -17
  126. package/src/genericMessage/enums/GenericMessageSourceEnum.ts +3 -3
  127. package/src/genericMessage/index.ts +1 -1
  128. package/src/group/dtos/GroupAddDirectoryRequest.ts +27 -27
  129. package/src/group/dtos/GroupCreateRequest.ts +54 -54
  130. package/src/group/dtos/GroupDirectoryRelationsResponse.ts +20 -20
  131. package/src/group/dtos/GroupDirectoryRelationsUpdateRequest.ts +10 -10
  132. package/src/group/dtos/GroupResponse.ts +17 -17
  133. package/src/group/dtos/GroupUpdateRequest.ts +31 -31
  134. package/src/group/enums/GroupAction.ts +8 -8
  135. package/src/group/enums/GroupStatus.ts +6 -6
  136. package/src/group/enums/RelationStatus.ts +8 -8
  137. package/src/group/enums/RelationType.ts +9 -9
  138. package/src/group/index.ts +18 -18
  139. package/src/header/TokenPayload.ts +17 -17
  140. package/src/header/index.ts +3 -3
  141. package/src/helpers/ValidationUtils.ts +32 -32
  142. package/src/helpers/constans/regex.ts +12 -12
  143. package/src/identity/dtos/IdentificationDocument.ts +24 -24
  144. package/src/identity/dtos/PeopleCreateRequest.ts +4 -4
  145. package/src/identity/dtos/PeopleResponse.ts +80 -80
  146. package/src/identity/dtos/PeopleUpdateRequest.ts +75 -75
  147. package/src/identity/dtos/TypeOfDocument.ts +11 -11
  148. package/src/identity/enums/IdentificationDocumentStatus.ts +7 -7
  149. package/src/identity/enums/SexDocument.ts +6 -6
  150. package/src/identity/enums/TypeOfDocument.ts +5 -5
  151. package/src/identity/index.ts +12 -12
  152. package/src/index.ts +22 -22
  153. package/src/notificationMessages/dtos/NotificationQueueMessageRequest.ts +7 -7
  154. package/src/notificationMessages/dtos/QueueMessageDestination.ts +6 -6
  155. package/src/notificationMessages/dtos/QueueMessageVariableValues.ts +3 -3
  156. package/src/notificationMessages/enums/NotificationId.ts +13 -13
  157. package/src/notificationMessages/index.ts +5 -5
  158. package/src/provider/enums/Provider.ts +4 -4
  159. package/src/provider/index.ts +1 -1
  160. package/src/queue/dtos/QueueMessageBase.ts +13 -13
  161. package/src/servicePayment/dtos/ServicePaymentRequest.ts +33 -33
  162. package/src/sessionActivity/dtos/SessionActivityQueueMessageRequest.ts +10 -10
  163. package/src/sessionActivity/enums/SessionActivityActionEnum.ts +7 -7
  164. package/src/sessionActivity/enums/SessionActivityActionOriginEnum.ts +4 -4
  165. package/src/sessionActivity/index.ts +2 -2
  166. package/bin/account/dtos/CreateBankAccountInput.d.ts +0 -8
  167. package/bin/account/dtos/CreateBankAccountInput.js +0 -6
  168. package/bin/account/dtos/CreateBankAccountUserInput.d.ts +0 -14
  169. package/bin/account/dtos/CreateBankAccountUserInput.js +0 -6
  170. package/bin/group/dtos/GroupDirectoryRetationsUpdateRequest.d.ts +0 -3
@@ -1,18 +1,18 @@
1
-
2
-
3
- //dtos
4
- export * from './dtos/GroupResponse';
5
- export * from './dtos/GroupCreateRequest';
6
- export * from './dtos/GroupDirectoryRelationsResponse';
7
- export * from './dtos/GroupUpdateRequest';
8
- export * from './dtos/GroupAddDirectoryRequest';
9
- export * from './dtos/GroupDirectoryRelationsUpdateRequest';
10
-
11
-
12
- //enums
13
- export * from './enums/GroupStatus';
14
- export * from './enums/RelationType';
15
- export * from './enums/RelationStatus';
16
- export * from './enums/GroupAction';
17
-
18
-
1
+
2
+
3
+ //dtos
4
+ export * from './dtos/GroupResponse';
5
+ export * from './dtos/GroupCreateRequest';
6
+ export * from './dtos/GroupDirectoryRelationsResponse';
7
+ export * from './dtos/GroupUpdateRequest';
8
+ export * from './dtos/GroupAddDirectoryRequest';
9
+ export * from './dtos/GroupDirectoryRelationsUpdateRequest';
10
+
11
+
12
+ //enums
13
+ export * from './enums/GroupStatus';
14
+ export * from './enums/RelationType';
15
+ export * from './enums/RelationStatus';
16
+ export * from './enums/GroupAction';
17
+
18
+
@@ -1,17 +1,17 @@
1
- import { TypeOfDirectoryId } from "../directory";
2
- import { Status } from "../directory/enums/Status";
3
-
4
- export interface TokenPayload {
5
- directoryId: string;
6
- typeOfDirectoryId: TypeOfDirectoryId;
7
- sub: string;
8
- app: string;
9
- issuer: string;
10
- scope: string;
11
- phoneNumber?: string | null;
12
- status: Status | null;
13
- id: string;
14
- profileId?: string | null;
15
- email?: string | null;
16
- event_id?: string
17
- }
1
+ import { TypeOfDirectoryId } from "../directory";
2
+ import { Status } from "../directory/enums/Status";
3
+
4
+ export interface TokenPayload {
5
+ directoryId: string;
6
+ typeOfDirectoryId: TypeOfDirectoryId;
7
+ sub: string;
8
+ app: string;
9
+ issuer: string;
10
+ scope: string;
11
+ phoneNumber?: string | null;
12
+ status: Status | null;
13
+ id: string;
14
+ profileId?: string | null;
15
+ email?: string | null;
16
+ event_id?: string
17
+ }
@@ -1,3 +1,3 @@
1
-
2
-
3
- export * from './TokenPayload'
1
+
2
+
3
+ export * from './TokenPayload'
@@ -1,32 +1,32 @@
1
- import { regexIso8601, regexUuidV4 } from "./constans/regex";
2
-
3
-
4
- export class ValidationUtils {
5
-
6
- // Método estático para validar UUID v4
7
- public static validateUuidV4(value: any) {
8
- if (value === null) return true;
9
- return regexUuidV4.test(value);
10
- }
11
-
12
- // Método estático para validar la longitud de una cadena
13
- public static validateStringLength(minLength: number, maxLength: number) {
14
- return (value: string) => {
15
- if (value === null) return true;
16
- return value.length >= minLength && value.length <= maxLength;
17
- };
18
- }
19
-
20
- // Método estático para validar el formato de fecha ISO 8601
21
- public static validateIso8601(value: string) {
22
- if (value === null) return true;
23
- return regexIso8601.test(value);
24
- }
25
-
26
- public static validateNumberRange(minValue: number, maxValue: number) {
27
- return (value: number | null): boolean => {
28
- if (value === null) return true;
29
- return value >= minValue && value <= maxValue;
30
- };
31
- }
32
- }
1
+ import { regexIso8601, regexUuidV4 } from "./constans/regex";
2
+
3
+
4
+ export class ValidationUtils {
5
+
6
+ // Método estático para validar UUID v4
7
+ public static validateUuidV4(value: any) {
8
+ if (value === null) return true;
9
+ return regexUuidV4.test(value);
10
+ }
11
+
12
+ // Método estático para validar la longitud de una cadena
13
+ public static validateStringLength(minLength: number, maxLength: number) {
14
+ return (value: string) => {
15
+ if (value === null) return true;
16
+ return value.length >= minLength && value.length <= maxLength;
17
+ };
18
+ }
19
+
20
+ // Método estático para validar el formato de fecha ISO 8601
21
+ public static validateIso8601(value: string) {
22
+ if (value === null) return true;
23
+ return regexIso8601.test(value);
24
+ }
25
+
26
+ public static validateNumberRange(minValue: number, maxValue: number) {
27
+ return (value: number | null): boolean => {
28
+ if (value === null) return true;
29
+ return value >= minValue && value <= maxValue;
30
+ };
31
+ }
32
+ }
@@ -1,12 +1,12 @@
1
-
2
-
3
- // Expresión regular para validar UUID v4
4
- export const regexUuidV4 = /^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i;
5
- // Expresión regular para validar fecha ISO 8601
6
- export const regexIso8601 = /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|[+-]\d{2}:\d{2})$/;
7
- // Expresión regular para validar un número de teléfono
8
- export const regexPhoneNumber = /^\+1\d{10}$|^\+52\d{10}$/;
9
-
10
-
11
-
12
-
1
+
2
+
3
+ // Expresión regular para validar UUID v4
4
+ export const regexUuidV4 = /^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i;
5
+ // Expresión regular para validar fecha ISO 8601
6
+ export const regexIso8601 = /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|[+-]\d{2}:\d{2})$/;
7
+ // Expresión regular para validar un número de teléfono
8
+ export const regexPhoneNumber = /^\+1\d{10}$|^\+52\d{10}$/;
9
+
10
+
11
+
12
+
@@ -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,76 +1,76 @@
1
- import { SexDocument } from "../enums/SexDocument";
2
- import { IdentificationDocument } from "./IdentificationDocument";
3
-
4
-
5
- export class PeopleUpdateRequest {
6
-
7
- id?: string;
8
- creationMethod?: string;
9
- indexName?: string | null;
10
- preferredName?: string | null;
11
- usSuffix?: string | null;
12
- usLastNames?: string | null;
13
- usNames?: string | null;
14
- latNames?: string | null;
15
- latLastNamePaternal?: string | null;
16
- latLastNameMaternal?: string | null;
17
- aliasNames?: string[] | null;
18
- preferredPronoun?: string | null;
19
- SSN_ITIN?: string | null;
20
- rfc?: string | null;
21
- curp?: string | null;
22
- passportNumber?: string | null;
23
- countryOfPassport?: string | null;
24
- documents?: IdentificationDocument[] | null;
25
- countryOfBirth?: string | null;
26
- dateOfBirth?: string | null;
27
- stateOfBirth?: string | null;
28
- nationalities?: string[] | null;
29
- docSex?: SexDocument | null;
30
- internalEmail?: string | null;
31
- occupation?: string | null;
32
- incomeSource?: string | null;
33
- operationId?: string | null;
34
- tenantId?: string | null;
35
- photoOfpersonImageName?: string | null;
36
- videoOfPersonImageName?: string | null;
37
- USA_DebitAccount?: boolean;
38
- MEX_DebitAccount?: boolean;
39
- MEX_CreditClient?: boolean;
40
- MEX_CreditAdditional?: boolean;
41
- magicNumber?: boolean;
42
- USA_UploadDocument?: boolean;
43
- MEX_UploadDocument?: boolean;
44
- videoSelfieVerified?: boolean;
45
- MEX_ValidDocument?: string;
46
- USA_ValidDocument?: string;
47
- USA_FacematchVerified?: boolean | null;
48
- MEX_FacematchVerified?: boolean | null;
49
- fiadoListApproved?: boolean | null;
50
- ofacListApproved?: boolean | null;
51
- cnbvListApproved?: boolean | null;
52
- blackListApproved?: boolean | null;
53
- whiteList?: boolean | null;
54
- hasOwner?: boolean;
55
- older18?: boolean | null;
56
- USA_Address?: boolean;
57
- MEX_Address?: boolean;
58
- COL_Address?: boolean;
59
- GTM_Address?: boolean;
60
- HND_Address?: boolean;
61
- CRI_Address?: boolean;
62
- PER_Address?: boolean;
63
- MEX_ProofAddress?: boolean;
64
- MEX_SendWish?: boolean;
65
- COL_SendWish?: boolean;
66
- GTM_SendWish?: boolean;
67
- HND_SendWish?: boolean;
68
- CRI_SendWish?: boolean;
69
- PER_SendWish?: boolean;
70
- USA_DebitAccountWish?: boolean;
71
- MEX_DebitAccountWish?: boolean;
72
- MEX_CreditAdditionalWish?: boolean;
73
- MEX_CreditClientWish?: boolean;
74
- SSN_ITINRequired?: boolean | null;
75
- duplicateUserDetection?: boolean | null;
1
+ import { SexDocument } from "../enums/SexDocument";
2
+ import { IdentificationDocument } from "./IdentificationDocument";
3
+
4
+
5
+ export class PeopleUpdateRequest {
6
+
7
+ id?: string;
8
+ creationMethod?: string;
9
+ indexName?: string | null;
10
+ preferredName?: string | null;
11
+ usSuffix?: string | null;
12
+ usLastNames?: string | null;
13
+ usNames?: string | null;
14
+ latNames?: string | null;
15
+ latLastNamePaternal?: string | null;
16
+ latLastNameMaternal?: string | null;
17
+ aliasNames?: string[] | null;
18
+ preferredPronoun?: string | null;
19
+ SSN_ITIN?: string | null;
20
+ rfc?: string | null;
21
+ curp?: string | null;
22
+ passportNumber?: string | null;
23
+ countryOfPassport?: string | null;
24
+ documents?: IdentificationDocument[] | null;
25
+ countryOfBirth?: string | null;
26
+ dateOfBirth?: string | null;
27
+ stateOfBirth?: string | null;
28
+ nationalities?: string[] | null;
29
+ docSex?: SexDocument | null;
30
+ internalEmail?: string | null;
31
+ occupation?: string | null;
32
+ incomeSource?: string | null;
33
+ operationId?: string | null;
34
+ tenantId?: string | null;
35
+ photoOfpersonImageName?: string | null;
36
+ videoOfPersonImageName?: string | null;
37
+ USA_DebitAccount?: boolean;
38
+ MEX_DebitAccount?: boolean;
39
+ MEX_CreditClient?: boolean;
40
+ MEX_CreditAdditional?: boolean;
41
+ magicNumber?: boolean;
42
+ USA_UploadDocument?: boolean;
43
+ MEX_UploadDocument?: boolean;
44
+ videoSelfieVerified?: boolean;
45
+ MEX_ValidDocument?: string;
46
+ USA_ValidDocument?: string;
47
+ USA_FacematchVerified?: boolean | null;
48
+ MEX_FacematchVerified?: boolean | null;
49
+ fiadoListApproved?: boolean | null;
50
+ ofacListApproved?: boolean | null;
51
+ cnbvListApproved?: boolean | null;
52
+ blackListApproved?: boolean | null;
53
+ whiteList?: boolean | null;
54
+ hasOwner?: boolean;
55
+ older18?: boolean | null;
56
+ USA_Address?: boolean;
57
+ MEX_Address?: boolean;
58
+ COL_Address?: boolean;
59
+ GTM_Address?: boolean;
60
+ HND_Address?: boolean;
61
+ CRI_Address?: boolean;
62
+ PER_Address?: boolean;
63
+ MEX_ProofAddress?: boolean;
64
+ MEX_SendWish?: boolean;
65
+ COL_SendWish?: boolean;
66
+ GTM_SendWish?: boolean;
67
+ HND_SendWish?: boolean;
68
+ CRI_SendWish?: boolean;
69
+ PER_SendWish?: boolean;
70
+ USA_DebitAccountWish?: boolean;
71
+ MEX_DebitAccountWish?: boolean;
72
+ MEX_CreditAdditionalWish?: boolean;
73
+ MEX_CreditClientWish?: boolean;
74
+ SSN_ITINRequired?: boolean | null;
75
+ duplicateUserDetection?: boolean | null;
76
76
  }
@@ -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,6 +1,6 @@
1
- export enum TypeOfDocument {
2
- MX_NATIONAL_ID = "MX_NATIONAL_ID",
3
- MX_PASSPORT = "MX_PASSPORT",
4
- US_DRIVER_LICENSE = "US_DRIVER_LICENSE",
5
- US_PASSPORT = "US_PASSPORT"
1
+ export enum TypeOfDocument {
2
+ MX_NATIONAL_ID = "MX_NATIONAL_ID",
3
+ MX_PASSPORT = "MX_PASSPORT",
4
+ US_DRIVER_LICENSE = "US_DRIVER_LICENSE",
5
+ US_PASSPORT = "US_PASSPORT"
6
6
  }
@@ -1,12 +1,12 @@
1
-
2
- //dtos
3
- export * from './dtos/IdentificationDocument'
4
- export * from './dtos/PeopleCreateRequest';
5
- export * from './dtos/PeopleResponse';
6
- export * from './dtos/TypeOfDocument';
7
- export * from './dtos/PeopleUpdateRequest';
8
-
9
- //enums
10
- export * from './enums/IdentificationDocumentStatus';
11
- export * from './enums/SexDocument';
12
-
1
+
2
+ //dtos
3
+ export * from './dtos/IdentificationDocument'
4
+ export * from './dtos/PeopleCreateRequest';
5
+ export * from './dtos/PeopleResponse';
6
+ export * from './dtos/TypeOfDocument';
7
+ export * from './dtos/PeopleUpdateRequest';
8
+
9
+ //enums
10
+ export * from './enums/IdentificationDocumentStatus';
11
+ export * from './enums/SexDocument';
12
+