@fiado/type-kit 1.4.3 → 1.4.5

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 (447) hide show
  1. package/.idea/aws.xml +10 -10
  2. package/.idea/fiado-type-kit.iml +11 -11
  3. package/.idea/modules.xml +7 -7
  4. package/.idea/vcs.xml +5 -5
  5. package/README.md +70 -70
  6. package/bin/card/validations/CardUpdateKeyConstraint.js +2 -2
  7. package/bin/card/validations/IsPhoneNumberConstraint.js +2 -2
  8. package/bin/transactionProcessor/dtos/AuthorizeSpeiMexBankTransferInRequest.js +1 -1
  9. package/bin/transactionProcessor/dtos/TransactionProcessorResponse.d.ts +5 -0
  10. package/bin/transactionProcessor/dtos/TransactionProcessorResponse.js +30 -0
  11. package/bin/transactionProcessor/index.d.ts +1 -0
  12. package/bin/transactionProcessor/index.js +1 -0
  13. package/package.json +23 -23
  14. package/src/account/dtos/AccountCreateRequest.ts +79 -79
  15. package/src/account/dtos/AccountCreateResponse.ts +7 -7
  16. package/src/account/dtos/AccountInfo.ts +43 -43
  17. package/src/account/dtos/AccountUpdateBalanceRequest.ts +6 -6
  18. package/src/account/dtos/AccountUpdateRequest.ts +36 -36
  19. package/src/account/dtos/BankAccountExternalAddress.ts +17 -17
  20. package/src/account/dtos/BankAccountP2pTransferRequest.ts +7 -7
  21. package/src/account/dtos/CreateBankAccountRequest.ts +11 -11
  22. package/src/account/dtos/CreateBankAccountResponse.ts +8 -8
  23. package/src/account/dtos/CreateBankAccountUserRequest.ts +17 -17
  24. package/src/account/dtos/CreateBankAccountUserResponse.ts +11 -11
  25. package/src/account/dtos/ExchangeInfo.ts +8 -8
  26. package/src/account/dtos/ExecuteP2pOperationRequest.ts +7 -7
  27. package/src/account/dtos/ExecutePocketOperationRequest.ts +5 -5
  28. package/src/account/dtos/GetAccountBalanceResponse.ts +46 -46
  29. package/src/account/dtos/GetAccountResponse.ts +62 -62
  30. package/src/account/dtos/GetAccountResponseList.ts +5 -5
  31. package/src/account/dtos/GetBankAccountRequest.ts +3 -3
  32. package/src/account/dtos/GetBankAccountResponse.ts +22 -22
  33. package/src/account/dtos/GetBankAccountSensitiveInformationRequest.ts +5 -5
  34. package/src/account/dtos/GetBankAccountSensitiveInformationResponse.ts +8 -8
  35. package/src/account/dtos/GetBankAccountUserRequest.ts +2 -2
  36. package/src/account/dtos/GetBankAccountUserResponse.ts +25 -25
  37. package/src/account/dtos/GetPocketBalanceResponse.ts +46 -46
  38. package/src/account/dtos/GetPocketResponse.ts +8 -8
  39. package/src/account/dtos/PocketBalanceItem.ts +17 -17
  40. package/src/account/dtos/PocketItem.ts +43 -43
  41. package/src/account/dtos/UpdateBalanceOperation.ts +10 -10
  42. package/src/account/dtos/UpdateBankAccountUserRequest.ts +26 -26
  43. package/src/account/dtos/UpdateBankAccountUserResponse.ts +3 -3
  44. package/src/account/entities/AccountEntityBase.ts +12 -12
  45. package/src/account/enums/AccountEntityStatusEnum.ts +4 -4
  46. package/src/account/enums/AccountLevelEnum.ts +5 -5
  47. package/src/account/enums/BankAccountP2pTransferType.ts +5 -5
  48. package/src/account/enums/BankAccountTypeEnum.ts +2 -2
  49. package/src/account/enums/BankAccountUserStatusEnum.ts +4 -4
  50. package/src/account/enums/UserEntityStatusEnum.ts +4 -4
  51. package/src/account/index.ts +43 -43
  52. package/src/activity/dtos/ActivityMessageRequest.ts +24 -24
  53. package/src/activity/dtos/ActivityMessageResponse.ts +24 -24
  54. package/src/activity/dtos/ActivityQueueMessage.ts +9 -9
  55. package/src/activity/index.ts +8 -8
  56. package/src/address/dtos/AddressBase.ts +130 -130
  57. package/src/address/dtos/AddressCreateRequest.ts +6 -6
  58. package/src/address/dtos/AddressResponse.ts +41 -41
  59. package/src/address/dtos/AddressShippingCardRequest.ts +12 -12
  60. package/src/address/dtos/AddressShippingCardResponse.ts +11 -11
  61. package/src/address/dtos/Geometry.ts +4 -4
  62. package/src/address/dtos/OfficeDetails.ts +30 -30
  63. package/src/address/dtos/OperationSchedule.ts +8 -8
  64. package/src/address/dtos/Place.ts +83 -83
  65. package/src/address/dtos/Shipping.ts +36 -36
  66. package/src/address/dtos/Timezone.ts +5 -5
  67. package/src/address/enums/AddressProvider.ts +10 -10
  68. package/src/address/enums/AddressStatus.ts +9 -9
  69. package/src/address/index.ts +16 -16
  70. package/src/app/enums/App.ts +10 -10
  71. package/src/app/index.ts +3 -3
  72. package/src/authentication/dtos/SignUpAdditionalRequest.ts +32 -32
  73. package/src/authentication/dtos/SignUpAdditionalResponse.ts +5 -5
  74. package/src/authentication/index.ts +3 -3
  75. package/src/bankAccount/dtos/ExternalAccountCurrency.ts +3 -3
  76. package/src/bankAccount/dtos/ExternalAccountType.ts +3 -3
  77. package/src/bankAccount/dtos/GetExternalBankAccountRequest.ts +11 -11
  78. package/src/bankAccount/dtos/GetExternalBankAccountResponse.ts +15 -15
  79. package/src/bankAccount/dtos/GetExternalBankResponse.ts +13 -13
  80. package/src/bankAccount/index.ts +4 -4
  81. package/src/bbvaRst/dtos/CreateRSTTransactionRequest.ts +14 -14
  82. package/src/bbvaRst/dtos/CreateRSTTransactionResponse.ts +9 -9
  83. package/src/bbvaRst/enums/RSTStatusEnum.ts +4 -4
  84. package/src/bbvaRst/index.ts +2 -2
  85. package/src/beneficiary/dtos/AccountBeneficiaryCreateRequest.ts +41 -41
  86. package/src/beneficiary/dtos/AccountBeneficiaryResponse.ts +23 -23
  87. package/src/beneficiary/dtos/AccountBeneficiaryUpdateRequest.ts +39 -39
  88. package/src/beneficiary/enums/AccountType.ts +6 -6
  89. package/src/beneficiary/index.ts +7 -7
  90. package/src/card/dtos/CardActivateRequest.ts +12 -12
  91. package/src/card/dtos/CardAdditionalRequest.ts +25 -25
  92. package/src/card/dtos/CardAdditionalResponse.ts +14 -14
  93. package/src/card/dtos/CardApplicationRequest.ts +27 -27
  94. package/src/card/dtos/CardBalanceResponse.ts +10 -10
  95. package/src/card/dtos/CardCreateAdditionalRequest.ts +78 -78
  96. package/src/card/dtos/CardResponse.ts +34 -34
  97. package/src/card/dtos/CardSensitiveInformationResponse.ts +18 -18
  98. package/src/card/dtos/CardShipmentQueueMessage.ts +7 -7
  99. package/src/card/dtos/CardShipmentUpdateRequest.ts +19 -19
  100. package/src/card/dtos/CardSummaryResponse.ts +10 -10
  101. package/src/card/dtos/CardUpdateRequest.ts +11 -11
  102. package/src/card/dtos/Internal/ActivateBankAccountCardRequest.ts +9 -9
  103. package/src/card/dtos/Internal/ActivateBankAccountCardResponse.ts +4 -4
  104. package/src/card/dtos/Internal/AssignCardRequest.ts +8 -8
  105. package/src/card/dtos/Internal/CreateBankAccountCardRequest.ts +16 -16
  106. package/src/card/dtos/Internal/CreateBankAccountCardResponse.ts +8 -8
  107. package/src/card/dtos/Internal/CreateBankAccountCardShippingRequest.ts +14 -14
  108. package/src/card/dtos/Internal/CreateBankAccountCardShippingResponse.ts +12 -12
  109. package/src/card/dtos/Internal/GetBankAccountCardResponse.ts +32 -32
  110. package/src/card/dtos/Internal/GetBankAccountShippingRequest.ts +5 -5
  111. package/src/card/dtos/Internal/GetBankAccountShippingResponse.ts +19 -19
  112. package/src/card/dtos/Internal/UpdateBankAccountCardRequest.ts +21 -21
  113. package/src/card/dtos/Internal/UpdateBankAccountCardResponse.ts +5 -5
  114. package/src/card/enums/Brand.ts +7 -7
  115. package/src/card/enums/CardIssuanceStatus.ts +5 -5
  116. package/src/card/enums/CardIssuing.ts +6 -6
  117. package/src/card/enums/CardType.ts +4 -4
  118. package/src/card/enums/CardUpdateKey.ts +4 -4
  119. package/src/card/enums/CreditOrDebit.ts +5 -5
  120. package/src/card/enums/DeliveryChannel.ts +7 -7
  121. package/src/card/enums/ExternalShippingStatus.ts +14 -14
  122. package/src/card/enums/ExternalShippingStatusDetails.ts +53 -53
  123. package/src/card/enums/IssuanceType.ts +5 -5
  124. package/src/card/enums/NominatedOrInnominated.ts +8 -8
  125. package/src/card/enums/OwnershipType.ts +3 -3
  126. package/src/card/enums/ShippingStatus.ts +8 -8
  127. package/src/card/enums/Status.ts +6 -6
  128. package/src/card/enums/UpdateKey.ts +5 -5
  129. package/src/card/enums/VirtualOrPhysical.ts +6 -6
  130. package/src/card/index.ts +50 -50
  131. package/src/card/validations/CardUpdateKeyConstraint.ts +53 -53
  132. package/src/card/validations/IsPhoneNumberConstraint.ts +29 -29
  133. package/src/contactInfo/dtos/ContactInfoBackOfficeResponse.ts +6 -6
  134. package/src/contactInfo/dtos/ContactInfoCreateBackOfficeRequest.ts +10 -10
  135. package/src/contactInfo/dtos/ContactInfoCreateRequest.ts +2 -2
  136. package/src/contactInfo/dtos/ContactInfoRequest.ts +29 -29
  137. package/src/contactInfo/dtos/ContactInfoResponse.ts +30 -30
  138. package/src/contactInfo/dtos/ContactInfoUpdateBackOfficeRequest.ts +15 -15
  139. package/src/contactInfo/dtos/ContactInfoUpdateRequest.ts +4 -4
  140. package/src/contactInfo/enums/TypeOfContactIdEnum.ts +3 -3
  141. package/src/contactInfo/index.ts +7 -7
  142. package/src/contract/dtos/ContractCreateRequest.ts +29 -29
  143. package/src/contract/dtos/ContractCreateResponse.ts +2 -2
  144. package/src/contract/index.ts +4 -4
  145. package/src/country/enums/Country.ts +6 -6
  146. package/src/country/enums/CountryId.ts +6 -6
  147. package/src/country/index.ts +5 -5
  148. package/src/creditContract/dtos/CreditContractCreateRequest.ts +51 -51
  149. package/src/creditContract/enums/InstrumentEnum.ts +5 -5
  150. package/src/creditContract/index.ts +5 -5
  151. package/src/currency/dtos/CurrencyResponse.ts +8 -8
  152. package/src/currency/index.ts +2 -2
  153. package/src/directory/dtos/DirectoryResponse.ts +19 -19
  154. package/src/directory/dtos/External.ts +6 -6
  155. package/src/directory/enums/Profile.ts +6 -6
  156. package/src/directory/enums/Scope.ts +7 -7
  157. package/src/directory/enums/Status.ts +8 -8
  158. package/src/directory/enums/TypeOfDirectoryId.ts +6 -6
  159. package/src/directory/index.ts +7 -7
  160. package/src/eventBridge/dto/EventBridgeMessageRequest.ts +4 -4
  161. package/src/eventBridge/index.ts +1 -1
  162. package/src/exchangeRate/dtos/ExchangeRateCreateRequest.ts +50 -50
  163. package/src/exchangeRate/dtos/ExchangeRateCreateResponse.ts +4 -4
  164. package/src/exchangeRate/dtos/ExchangeRateResponse.ts +19 -19
  165. package/src/exchangeRate/dtos/GetExchangeRatesRequest.ts +3 -3
  166. package/src/exchangeRate/enums/ExchangeRateStatus.ts +5 -5
  167. package/src/exchangeRate/index.ts +9 -9
  168. package/src/fraudPreventionEngine/dtos/CreateAccountLevelRequest.ts +9 -9
  169. package/src/fraudPreventionEngine/dtos/GetAccountLevelParams.ts +3 -3
  170. package/src/fraudPreventionEngine/dtos/GetAccountLevelResponse.ts +7 -7
  171. package/src/fraudPreventionEngine/enums/AccountLevelTenantEnum.ts +5 -5
  172. package/src/fraudPreventionEngine/index.ts +5 -5
  173. package/src/genericMessage/dto/GenericMessageRequest.ts +17 -17
  174. package/src/genericMessage/enums/GenericMessageSourceEnum.ts +3 -3
  175. package/src/genericMessage/index.ts +1 -1
  176. package/src/group/dtos/GroupAddDirectoryRequest.ts +27 -27
  177. package/src/group/dtos/GroupCreateRequest.ts +54 -54
  178. package/src/group/dtos/GroupDirectoryRelationsResponse.ts +20 -20
  179. package/src/group/dtos/GroupDirectoryRelationsUpdateRequest.ts +10 -10
  180. package/src/group/dtos/GroupResponse.ts +17 -17
  181. package/src/group/dtos/GroupUpdateRequest.ts +31 -31
  182. package/src/group/enums/GroupAction.ts +8 -8
  183. package/src/group/enums/GroupStatus.ts +6 -6
  184. package/src/group/enums/RelationStatus.ts +8 -8
  185. package/src/group/enums/RelationType.ts +9 -9
  186. package/src/group/index.ts +18 -18
  187. package/src/header/TokenPayload.ts +18 -18
  188. package/src/header/index.ts +3 -3
  189. package/src/helpers/ValidationUtils.ts +32 -32
  190. package/src/helpers/constans/regex.ts +12 -12
  191. package/src/identity/dtos/IdentificationDocument.ts +24 -24
  192. package/src/identity/dtos/PeopleCreateRequest.ts +4 -4
  193. package/src/identity/dtos/PeopleResponse.ts +75 -75
  194. package/src/identity/dtos/PeopleUpdateRequest.ts +75 -75
  195. package/src/identity/dtos/TypeOfDocument.ts +11 -11
  196. package/src/identity/enums/IdentificationDocumentStatus.ts +7 -7
  197. package/src/identity/enums/SexDocument.ts +6 -6
  198. package/src/identity/enums/TypeOfDocument.ts +5 -5
  199. package/src/identity/index.ts +12 -12
  200. package/src/index.ts +36 -36
  201. package/src/notificationMessages/dtos/NotificationQueueMessageRequest.ts +7 -7
  202. package/src/notificationMessages/dtos/QueueMessageDestination.ts +6 -6
  203. package/src/notificationMessages/dtos/QueueMessageVariableValues.ts +3 -3
  204. package/src/notificationMessages/enums/NotificationId.ts +13 -13
  205. package/src/notificationMessages/index.ts +5 -5
  206. package/src/p2pContact/dtos/CreateP2pContactRequest.ts +8 -8
  207. package/src/productCatalog/dtos/CreateProductCatalogRequest.ts +14 -14
  208. package/src/productCatalog/dtos/GetProductCatalogResponse.ts +38 -38
  209. package/src/productCatalog/enums/ProductTaxFeeTypeEnum.ts +3 -3
  210. package/src/productCatalog/enums/ProductTypeEnum.ts +15 -15
  211. package/src/productCatalog/index.ts +4 -4
  212. package/src/provider/enums/Provider.ts +4 -4
  213. package/src/provider/index.ts +1 -1
  214. package/src/queue/dtos/QueueMessageBase.ts +13 -13
  215. package/src/riskProfile/dtos/AlarmCategory.ts +2 -2
  216. package/src/riskProfile/dtos/CreateRiskProfileRequest.ts +45 -45
  217. package/src/riskProfile/dtos/TransactionAlarmQueueMessage.ts +44 -44
  218. package/src/riskProfile/dtos/UpdateAlarmProfileRequest.ts +9 -9
  219. package/src/riskProfile/dtos/UpdateFactorInfo.ts +5 -5
  220. package/src/riskProfile/dtos/UpdateRiskProfileRequest.ts +5 -5
  221. package/src/riskProfile/dtos/UpdateTransactionAlertRequest.ts +18 -18
  222. package/src/riskProfile/enums/AlarmCategory.ts +8 -8
  223. package/src/riskProfile/enums/AlarmOperationType.ts +7 -7
  224. package/src/riskProfile/enums/PepLevelEnum.ts +6 -6
  225. package/src/riskProfile/enums/RiskFactorCategoryEnum.ts +13 -13
  226. package/src/riskProfile/index.ts +12 -12
  227. package/src/servicePayment/dtos/GetCatalogParams.ts +5 -5
  228. package/src/servicePayment/dtos/ServicePaymentRequest.ts +33 -33
  229. package/src/servicePayment/index.ts +1 -1
  230. package/src/sessionActivity/dtos/SessionActivityQueueMessageRequest.ts +10 -10
  231. package/src/sessionActivity/enums/SessionActivityActionEnum.ts +7 -7
  232. package/src/sessionActivity/enums/SessionActivityActionOriginEnum.ts +4 -4
  233. package/src/sessionActivity/index.ts +2 -2
  234. package/src/stpAccount/dtos/CreateAccountWebhookDetail.ts +5 -5
  235. package/src/stpSpei/dtos/PutStpOrderRequest.ts +13 -13
  236. package/src/stpSpei/dtos/SpeiWebhookMessage.ts +9 -9
  237. package/src/stpSpei/enums/ActividadesProductivasEnum.ts +47 -47
  238. package/src/stpSpei/enums/EntidadesFederativasEnum.ts +33 -33
  239. package/src/stpSpei/enums/PaisesEnum.ts +275 -275
  240. package/src/stpSpei/enums/WebhookMessageStatusEnum.ts +4 -4
  241. package/src/stpSpei/index.ts +7 -7
  242. package/src/transaction/dtos/Credit.ts +24 -24
  243. package/src/transaction/dtos/Debit.ts +20 -20
  244. package/src/transaction/dtos/Notional.ts +20 -20
  245. package/src/transaction/dtos/Product.ts +16 -16
  246. package/src/transaction/dtos/ProductDetail.ts +35 -35
  247. package/src/transaction/dtos/Total.ts +20 -20
  248. package/src/transaction/dtos/TransactionCreateRequest.ts +115 -115
  249. package/src/transaction/dtos/TransactionCreateResponse.ts +4 -4
  250. package/src/transaction/dtos/TransactionGetDetailResponse.ts +24 -24
  251. package/src/transaction/dtos/TransactionGetResponse.ts +20 -20
  252. package/src/transaction/enums/OperationEnum.ts +3 -3
  253. package/src/transaction/enums/TransactionSourceEnum.ts +4 -4
  254. package/src/transaction/enums/TransactionStatusEnum.ts +6 -6
  255. package/src/transaction/index.ts +17 -17
  256. package/src/transactionProcessor/dtos/AmountInfo.ts +6 -6
  257. package/src/transactionProcessor/dtos/AmountInfoItem.ts +3 -3
  258. package/src/transactionProcessor/dtos/AuthorizeCreditCardAdjustmentRequest.ts +19 -19
  259. package/src/transactionProcessor/dtos/AuthorizeCreditCardPurchaseRequest.ts +16 -16
  260. package/src/transactionProcessor/dtos/AuthorizeP2pTransactionRequest.ts +8 -8
  261. package/src/transactionProcessor/dtos/AuthorizePocketTransactionRequest.ts +8 -8
  262. package/src/transactionProcessor/dtos/AuthorizeRstTransactionRequest.ts +4 -4
  263. package/src/transactionProcessor/dtos/AuthorizeServicePaymentRequest.ts +7 -7
  264. package/src/transactionProcessor/dtos/AuthorizeSpeiBankTransferRequest.ts +6 -6
  265. package/src/transactionProcessor/dtos/AuthorizeSpeiMexBankTransferInRequest.ts +33 -33
  266. package/src/transactionProcessor/dtos/CardInfo.ts +5 -5
  267. package/src/transactionProcessor/dtos/InstallmentsInfo.ts +6 -6
  268. package/src/transactionProcessor/dtos/MerchantInfo.ts +6 -6
  269. package/src/transactionProcessor/dtos/ProcessUpdateLevelRequest.ts +3 -3
  270. package/src/transactionProcessor/dtos/RSTTransactionStatusUpdate.ts +6 -6
  271. package/src/transactionProcessor/dtos/SpeiBankTransferStatusUpdate.ts +6 -6
  272. package/src/transactionProcessor/dtos/TransactionInfo.ts +7 -7
  273. package/src/transactionProcessor/dtos/TransactionProcessorQueueMessage.ts +3 -3
  274. package/src/transactionProcessor/dtos/TransactionProcessorResponse.ts +14 -0
  275. package/src/transactionProcessor/enums/AsyncTxStatusEnum.ts +5 -5
  276. package/src/transactionProcessor/enums/TransactionProcessorCodesEnum.ts +15 -15
  277. package/src/transactionProcessor/index.ts +22 -21
  278. package/.idea/sonarlint/issuestore/0/2/02175ba1c7b82f17c1f95edd897711cf21fc8b55 +0 -0
  279. package/.idea/sonarlint/issuestore/0/3/0382ec9d8bd1d671b35f3cce2e83a60a6f0d4e92 +0 -0
  280. package/.idea/sonarlint/issuestore/0/9/09ee7ee398f8b5bc6eda536c9104a8ae5419c82e +0 -0
  281. package/.idea/sonarlint/issuestore/0/f/0f534ce38f745b6707998aa6c868a729b909bf4d +0 -0
  282. package/.idea/sonarlint/issuestore/1/0/10612661d76edd5c482b60e71edd3a7f74505d5e +0 -0
  283. package/.idea/sonarlint/issuestore/1/2/12453d06e6e35287172e482940b954ba12dc25a2 +0 -2
  284. package/.idea/sonarlint/issuestore/1/8/18c290c3d5b13d503bb211e6319a9e64ccd83350 +0 -0
  285. package/.idea/sonarlint/issuestore/1/9/197cec5934a8756e52d31de4e13741cc3a816164 +0 -0
  286. package/.idea/sonarlint/issuestore/1/f/1fcc1ef4b4c5c551f5f5833f39af79dd4d6440bd +0 -0
  287. package/.idea/sonarlint/issuestore/2/4/244f232939a7014966ac2eff9cd795d12c5ddc21 +0 -0
  288. package/.idea/sonarlint/issuestore/2/5/25497cc140764f84080ed16d4d408b09b411525a +0 -0
  289. package/.idea/sonarlint/issuestore/2/9/2983524a17882775f03310e18fd052a958d44d3b +0 -0
  290. package/.idea/sonarlint/issuestore/2/c/2cf73169675e38d4411f50e8ac8e5c5186a3616e +0 -0
  291. package/.idea/sonarlint/issuestore/2/d/2de53b2c61661c8acd989aad739d9b6cc0deabde +0 -0
  292. package/.idea/sonarlint/issuestore/3/5/355a0b1b7628657539752d4cfbd8f33fcc664d5d +0 -0
  293. package/.idea/sonarlint/issuestore/3/8/38c41cacebf63514689973e01014e89db38448d7 +0 -0
  294. package/.idea/sonarlint/issuestore/3/9/3942490f54c10c0111afa09b30a079f3ef9aeec7 +0 -0
  295. package/.idea/sonarlint/issuestore/3/a/3a96f9d5c15844580b34596455a77e22ce0b1da1 +0 -0
  296. package/.idea/sonarlint/issuestore/4/1/4110de41994be7f0e890b6711ba86bb4fb50f602 +0 -0
  297. package/.idea/sonarlint/issuestore/4/d/4d722d4f799d0dcaf4f273105d16ce2d9761ceb2 +0 -0
  298. package/.idea/sonarlint/issuestore/4/f/4f9e0d80d4df64baa27bf681528cb43a3ba4fde6 +0 -0
  299. package/.idea/sonarlint/issuestore/5/2/52124373285180cc9fc913380c1cf02a160f9e62 +0 -0
  300. package/.idea/sonarlint/issuestore/5/5/55792c374cceb362b99620756061abf16563279b +0 -0
  301. package/.idea/sonarlint/issuestore/5/6/566db33aef0142b767c76568b2fca29caaa1b423 +0 -0
  302. package/.idea/sonarlint/issuestore/5/7/57d8ecb1bda7803e970cddbcb9d96ec682fbce50 +0 -0
  303. package/.idea/sonarlint/issuestore/5/8/5815363aa7c189fe1d8a995d750c3a3f27900621 +0 -0
  304. package/.idea/sonarlint/issuestore/5/9/5993b7cd868ca0f67fff0860484d2de906467a5c +0 -0
  305. package/.idea/sonarlint/issuestore/5/a/5a74acb4b064cbe70d9a71991eb486fb4d78f531 +0 -0
  306. package/.idea/sonarlint/issuestore/5/b/5b4cf966e749bb0515dfad5d0c51e5fa59e969e5 +0 -0
  307. package/.idea/sonarlint/issuestore/5/b/5bc0ebc2a399a9f7595b8013c990ef8681de0fb8 +0 -0
  308. package/.idea/sonarlint/issuestore/6/1/619fe0b2aa30704d95a60035674b31d432fc5a75 +0 -0
  309. package/.idea/sonarlint/issuestore/6/4/646b88aafc1ca8453d1a111ea33d258c52e07851 +0 -0
  310. package/.idea/sonarlint/issuestore/6/5/65e727e2ee3468d20e4bf7cb3800385cb2c7a983 +0 -0
  311. package/.idea/sonarlint/issuestore/6/6/6627ec0b7b336db9c2a70382b2ee1e69ba3163ac +0 -0
  312. package/.idea/sonarlint/issuestore/6/9/69abfdb53d85b80c255b3ab2a88666175ceeac54 +0 -0
  313. package/.idea/sonarlint/issuestore/6/9/69d58b0b6323e7e777c435dbaefe94a64394e255 +0 -0
  314. package/.idea/sonarlint/issuestore/6/b/6bcb55d35bf54b940fe29f44e2bb679bc6f621e1 +0 -0
  315. package/.idea/sonarlint/issuestore/6/f/6f43ceef55b03d8c26768ceb4ee9e3e1cea7ddd4 +0 -0
  316. package/.idea/sonarlint/issuestore/7/0/7030d0b2f71b999ff89a343de08c414af32fc93a +0 -0
  317. package/.idea/sonarlint/issuestore/7/0/70c663239858c68590cdba7e904366fe59855b0b +0 -0
  318. package/.idea/sonarlint/issuestore/7/3/73d3690344e0bf29ccdba246e5f3450707458c0a +0 -0
  319. package/.idea/sonarlint/issuestore/7/3/73eee44012dacbb17c6d2e2d988e6def209267b8 +0 -0
  320. package/.idea/sonarlint/issuestore/7/4/7489a99709fa9ca44fa1a085c02ee8502e21a9fd +0 -0
  321. package/.idea/sonarlint/issuestore/7/7/77a3404a468e41376864800c0ab63d69287e6eab +0 -0
  322. package/.idea/sonarlint/issuestore/7/8/782e1a44f35a71927df243d92a4eede126f437ac +0 -0
  323. package/.idea/sonarlint/issuestore/7/a/7aa3d5a067415a7071571cb5018a37d03cff5bbd +0 -0
  324. package/.idea/sonarlint/issuestore/7/e/7ecdb333781356fc0fe1cc9fa84ac8f76b996401 +0 -0
  325. package/.idea/sonarlint/issuestore/7/f/7f9d84f1e541f40d1bc582e467f11283b3acfe99 +0 -0
  326. package/.idea/sonarlint/issuestore/8/1/81c76302465b6fb29ef101681712a023c52c8f00 +0 -0
  327. package/.idea/sonarlint/issuestore/8/2/823bafbef2d005b52054bb6ba237d26a93a69289 +0 -0
  328. package/.idea/sonarlint/issuestore/8/b/8b0588db2495f22a93ce5d97cc089971f40aa4ec +0 -0
  329. package/.idea/sonarlint/issuestore/8/c/8ce69d617cb074433c15518eed688652cbc8c164 +0 -0
  330. package/.idea/sonarlint/issuestore/8/e/8ec9a00bfd09b3190ac6b22251dbb1aa95a0579d +0 -0
  331. package/.idea/sonarlint/issuestore/9/2/9252baf9a1ff6cf967c8f83c4a62c40264b122d7 +0 -0
  332. package/.idea/sonarlint/issuestore/9/4/948b0afb07fbe2035d9d0a168a017e51c2b221a2 +0 -0
  333. package/.idea/sonarlint/issuestore/9/4/94f646fcac8f4172c6e6958abd9f455b3c79995f +0 -0
  334. package/.idea/sonarlint/issuestore/9/5/95966b4a91847f490e094dfa87f80c2c5c59fbb9 +0 -0
  335. package/.idea/sonarlint/issuestore/9/8/98a520adeec585ead0013d974a18f679393b6997 +0 -0
  336. package/.idea/sonarlint/issuestore/9/f/9fc96c9beeba61e907bd3ba313f11eac8cf0d430 +0 -0
  337. package/.idea/sonarlint/issuestore/a/0/a06a99270cf7808dda3a6025cf813ae52720b475 +0 -0
  338. package/.idea/sonarlint/issuestore/a/5/a5cc2925ca8258af241be7e5b0381edf30266302 +0 -0
  339. package/.idea/sonarlint/issuestore/a/9/a903e3bfc804794d9b9535cbb530c68383652b5d +0 -0
  340. package/.idea/sonarlint/issuestore/a/b/abfb24bd8d0e3cdfbf3ff4c7e80603bf1cdf7871 +0 -0
  341. package/.idea/sonarlint/issuestore/b/c/bc5b896ed63da1497d081036364d9f2384f2ea37 +0 -0
  342. package/.idea/sonarlint/issuestore/c/5/c5fb850250c7443c48a6c12b5cf6916773da31f1 +0 -0
  343. package/.idea/sonarlint/issuestore/c/9/c9c508bb5b9ad2f0f6b3ad35422b961d678e1d0f +0 -0
  344. package/.idea/sonarlint/issuestore/c/b/cbc130a9515015718fb34e36adfe27e4e31f43e5 +0 -0
  345. package/.idea/sonarlint/issuestore/c/d/cdd687c2228066cdac5910ebcd0a5584e5c50985 +0 -0
  346. package/.idea/sonarlint/issuestore/d/2/d24fe332e92475452d840d36f81c9af7b70887e7 +0 -0
  347. package/.idea/sonarlint/issuestore/d/2/d2b43e6a30699faba4dff61341b06c7e17e7f400 +0 -0
  348. package/.idea/sonarlint/issuestore/d/d/dd375f957eb150c2f7fb1d4edba07501286db515 +0 -0
  349. package/.idea/sonarlint/issuestore/d/f/df083cf457b627bc4ada3c11eee92cc83e6c4c80 +0 -0
  350. package/.idea/sonarlint/issuestore/e/0/e05f58bae396006667e2ac1103d301e443e1f856 +0 -0
  351. package/.idea/sonarlint/issuestore/e/7/e7248564a8f7fdc020eba78ea0c58c98603880a4 +0 -0
  352. package/.idea/sonarlint/issuestore/e/d/ed43355775e0bbf3987e4526d4d8dd779773eb91 +0 -0
  353. package/.idea/sonarlint/issuestore/f/2/f2d1f4712d58f68a238d7df4f455d3cc45882594 +0 -0
  354. package/.idea/sonarlint/issuestore/f/2/f2f4d557bf4d2e72606a808a2446af7098387e58 +0 -0
  355. package/.idea/sonarlint/issuestore/f/9/f9cb0ab2ca2e8ce4e64e10034c949066c38000f5 +0 -0
  356. package/.idea/sonarlint/issuestore/f/9/f9d6327040914014594d301e0dc6361a476a5ff4 +0 -0
  357. package/.idea/sonarlint/issuestore/f/a/fa9452abeeb6e134b984ce22f0ff271a774c9093 +0 -0
  358. package/.idea/sonarlint/issuestore/f/a/fa9dce145b13c5aaff8e84813e79f94dcd4c0860 +0 -0
  359. package/.idea/sonarlint/issuestore/f/b/fb74f3edc49c374fcb38034841d290680603b9cb +0 -0
  360. package/.idea/sonarlint/issuestore/f/d/fdd4872693720f9140008b46069639fb2801114d +0 -0
  361. package/.idea/sonarlint/issuestore/index.pb +0 -168
  362. package/.idea/sonarlint/securityhotspotstore/0/2/02175ba1c7b82f17c1f95edd897711cf21fc8b55 +0 -0
  363. package/.idea/sonarlint/securityhotspotstore/0/3/0382ec9d8bd1d671b35f3cce2e83a60a6f0d4e92 +0 -0
  364. package/.idea/sonarlint/securityhotspotstore/0/9/09ee7ee398f8b5bc6eda536c9104a8ae5419c82e +0 -0
  365. package/.idea/sonarlint/securityhotspotstore/0/f/0f534ce38f745b6707998aa6c868a729b909bf4d +0 -0
  366. package/.idea/sonarlint/securityhotspotstore/1/0/10612661d76edd5c482b60e71edd3a7f74505d5e +0 -0
  367. package/.idea/sonarlint/securityhotspotstore/1/2/12453d06e6e35287172e482940b954ba12dc25a2 +0 -0
  368. package/.idea/sonarlint/securityhotspotstore/1/8/18c290c3d5b13d503bb211e6319a9e64ccd83350 +0 -0
  369. package/.idea/sonarlint/securityhotspotstore/1/9/197cec5934a8756e52d31de4e13741cc3a816164 +0 -0
  370. package/.idea/sonarlint/securityhotspotstore/1/f/1fcc1ef4b4c5c551f5f5833f39af79dd4d6440bd +0 -0
  371. package/.idea/sonarlint/securityhotspotstore/2/4/244f232939a7014966ac2eff9cd795d12c5ddc21 +0 -0
  372. package/.idea/sonarlint/securityhotspotstore/2/5/25497cc140764f84080ed16d4d408b09b411525a +0 -0
  373. package/.idea/sonarlint/securityhotspotstore/2/9/2983524a17882775f03310e18fd052a958d44d3b +0 -0
  374. package/.idea/sonarlint/securityhotspotstore/2/c/2cf73169675e38d4411f50e8ac8e5c5186a3616e +0 -0
  375. package/.idea/sonarlint/securityhotspotstore/2/d/2de53b2c61661c8acd989aad739d9b6cc0deabde +0 -0
  376. package/.idea/sonarlint/securityhotspotstore/3/5/355a0b1b7628657539752d4cfbd8f33fcc664d5d +0 -0
  377. package/.idea/sonarlint/securityhotspotstore/3/8/38c41cacebf63514689973e01014e89db38448d7 +0 -0
  378. package/.idea/sonarlint/securityhotspotstore/3/9/3942490f54c10c0111afa09b30a079f3ef9aeec7 +0 -0
  379. package/.idea/sonarlint/securityhotspotstore/3/a/3a96f9d5c15844580b34596455a77e22ce0b1da1 +0 -0
  380. package/.idea/sonarlint/securityhotspotstore/4/1/4110de41994be7f0e890b6711ba86bb4fb50f602 +0 -0
  381. package/.idea/sonarlint/securityhotspotstore/4/d/4d722d4f799d0dcaf4f273105d16ce2d9761ceb2 +0 -0
  382. package/.idea/sonarlint/securityhotspotstore/4/f/4f9e0d80d4df64baa27bf681528cb43a3ba4fde6 +0 -0
  383. package/.idea/sonarlint/securityhotspotstore/5/2/52124373285180cc9fc913380c1cf02a160f9e62 +0 -0
  384. package/.idea/sonarlint/securityhotspotstore/5/5/55792c374cceb362b99620756061abf16563279b +0 -0
  385. package/.idea/sonarlint/securityhotspotstore/5/6/566db33aef0142b767c76568b2fca29caaa1b423 +0 -0
  386. package/.idea/sonarlint/securityhotspotstore/5/7/57d8ecb1bda7803e970cddbcb9d96ec682fbce50 +0 -0
  387. package/.idea/sonarlint/securityhotspotstore/5/8/5815363aa7c189fe1d8a995d750c3a3f27900621 +0 -0
  388. package/.idea/sonarlint/securityhotspotstore/5/9/5993b7cd868ca0f67fff0860484d2de906467a5c +0 -0
  389. package/.idea/sonarlint/securityhotspotstore/5/a/5a74acb4b064cbe70d9a71991eb486fb4d78f531 +0 -0
  390. package/.idea/sonarlint/securityhotspotstore/5/b/5b4cf966e749bb0515dfad5d0c51e5fa59e969e5 +0 -0
  391. package/.idea/sonarlint/securityhotspotstore/5/b/5bc0ebc2a399a9f7595b8013c990ef8681de0fb8 +0 -0
  392. package/.idea/sonarlint/securityhotspotstore/6/1/619fe0b2aa30704d95a60035674b31d432fc5a75 +0 -0
  393. package/.idea/sonarlint/securityhotspotstore/6/4/646b88aafc1ca8453d1a111ea33d258c52e07851 +0 -0
  394. package/.idea/sonarlint/securityhotspotstore/6/5/65e727e2ee3468d20e4bf7cb3800385cb2c7a983 +0 -0
  395. package/.idea/sonarlint/securityhotspotstore/6/6/6627ec0b7b336db9c2a70382b2ee1e69ba3163ac +0 -0
  396. package/.idea/sonarlint/securityhotspotstore/6/9/69abfdb53d85b80c255b3ab2a88666175ceeac54 +0 -0
  397. package/.idea/sonarlint/securityhotspotstore/6/9/69d58b0b6323e7e777c435dbaefe94a64394e255 +0 -0
  398. package/.idea/sonarlint/securityhotspotstore/6/b/6bcb55d35bf54b940fe29f44e2bb679bc6f621e1 +0 -0
  399. package/.idea/sonarlint/securityhotspotstore/6/f/6f43ceef55b03d8c26768ceb4ee9e3e1cea7ddd4 +0 -0
  400. package/.idea/sonarlint/securityhotspotstore/7/0/7030d0b2f71b999ff89a343de08c414af32fc93a +0 -0
  401. package/.idea/sonarlint/securityhotspotstore/7/0/70c663239858c68590cdba7e904366fe59855b0b +0 -0
  402. package/.idea/sonarlint/securityhotspotstore/7/3/73d3690344e0bf29ccdba246e5f3450707458c0a +0 -0
  403. package/.idea/sonarlint/securityhotspotstore/7/3/73eee44012dacbb17c6d2e2d988e6def209267b8 +0 -0
  404. package/.idea/sonarlint/securityhotspotstore/7/4/7489a99709fa9ca44fa1a085c02ee8502e21a9fd +0 -0
  405. package/.idea/sonarlint/securityhotspotstore/7/7/77a3404a468e41376864800c0ab63d69287e6eab +0 -0
  406. package/.idea/sonarlint/securityhotspotstore/7/8/782e1a44f35a71927df243d92a4eede126f437ac +0 -0
  407. package/.idea/sonarlint/securityhotspotstore/7/a/7aa3d5a067415a7071571cb5018a37d03cff5bbd +0 -0
  408. package/.idea/sonarlint/securityhotspotstore/7/e/7ecdb333781356fc0fe1cc9fa84ac8f76b996401 +0 -0
  409. package/.idea/sonarlint/securityhotspotstore/7/f/7f9d84f1e541f40d1bc582e467f11283b3acfe99 +0 -0
  410. package/.idea/sonarlint/securityhotspotstore/8/1/81c76302465b6fb29ef101681712a023c52c8f00 +0 -0
  411. package/.idea/sonarlint/securityhotspotstore/8/2/823bafbef2d005b52054bb6ba237d26a93a69289 +0 -0
  412. package/.idea/sonarlint/securityhotspotstore/8/b/8b0588db2495f22a93ce5d97cc089971f40aa4ec +0 -0
  413. package/.idea/sonarlint/securityhotspotstore/8/c/8ce69d617cb074433c15518eed688652cbc8c164 +0 -0
  414. package/.idea/sonarlint/securityhotspotstore/8/e/8ec9a00bfd09b3190ac6b22251dbb1aa95a0579d +0 -0
  415. package/.idea/sonarlint/securityhotspotstore/9/2/9252baf9a1ff6cf967c8f83c4a62c40264b122d7 +0 -0
  416. package/.idea/sonarlint/securityhotspotstore/9/4/948b0afb07fbe2035d9d0a168a017e51c2b221a2 +0 -0
  417. package/.idea/sonarlint/securityhotspotstore/9/4/94f646fcac8f4172c6e6958abd9f455b3c79995f +0 -0
  418. package/.idea/sonarlint/securityhotspotstore/9/5/95966b4a91847f490e094dfa87f80c2c5c59fbb9 +0 -0
  419. package/.idea/sonarlint/securityhotspotstore/9/8/98a520adeec585ead0013d974a18f679393b6997 +0 -0
  420. package/.idea/sonarlint/securityhotspotstore/9/f/9fc96c9beeba61e907bd3ba313f11eac8cf0d430 +0 -0
  421. package/.idea/sonarlint/securityhotspotstore/a/0/a06a99270cf7808dda3a6025cf813ae52720b475 +0 -0
  422. package/.idea/sonarlint/securityhotspotstore/a/5/a5cc2925ca8258af241be7e5b0381edf30266302 +0 -0
  423. package/.idea/sonarlint/securityhotspotstore/a/9/a903e3bfc804794d9b9535cbb530c68383652b5d +0 -0
  424. package/.idea/sonarlint/securityhotspotstore/a/b/abfb24bd8d0e3cdfbf3ff4c7e80603bf1cdf7871 +0 -0
  425. package/.idea/sonarlint/securityhotspotstore/b/c/bc5b896ed63da1497d081036364d9f2384f2ea37 +0 -0
  426. package/.idea/sonarlint/securityhotspotstore/c/5/c5fb850250c7443c48a6c12b5cf6916773da31f1 +0 -0
  427. package/.idea/sonarlint/securityhotspotstore/c/9/c9c508bb5b9ad2f0f6b3ad35422b961d678e1d0f +0 -0
  428. package/.idea/sonarlint/securityhotspotstore/c/b/cbc130a9515015718fb34e36adfe27e4e31f43e5 +0 -0
  429. package/.idea/sonarlint/securityhotspotstore/c/d/cdd687c2228066cdac5910ebcd0a5584e5c50985 +0 -0
  430. package/.idea/sonarlint/securityhotspotstore/d/2/d24fe332e92475452d840d36f81c9af7b70887e7 +0 -0
  431. package/.idea/sonarlint/securityhotspotstore/d/2/d2b43e6a30699faba4dff61341b06c7e17e7f400 +0 -0
  432. package/.idea/sonarlint/securityhotspotstore/d/d/dd375f957eb150c2f7fb1d4edba07501286db515 +0 -0
  433. package/.idea/sonarlint/securityhotspotstore/d/f/df083cf457b627bc4ada3c11eee92cc83e6c4c80 +0 -0
  434. package/.idea/sonarlint/securityhotspotstore/e/0/e05f58bae396006667e2ac1103d301e443e1f856 +0 -0
  435. package/.idea/sonarlint/securityhotspotstore/e/7/e7248564a8f7fdc020eba78ea0c58c98603880a4 +0 -0
  436. package/.idea/sonarlint/securityhotspotstore/e/d/ed43355775e0bbf3987e4526d4d8dd779773eb91 +0 -0
  437. package/.idea/sonarlint/securityhotspotstore/f/2/f2d1f4712d58f68a238d7df4f455d3cc45882594 +0 -0
  438. package/.idea/sonarlint/securityhotspotstore/f/2/f2f4d557bf4d2e72606a808a2446af7098387e58 +0 -0
  439. package/.idea/sonarlint/securityhotspotstore/f/9/f9cb0ab2ca2e8ce4e64e10034c949066c38000f5 +0 -0
  440. package/.idea/sonarlint/securityhotspotstore/f/9/f9d6327040914014594d301e0dc6361a476a5ff4 +0 -0
  441. package/.idea/sonarlint/securityhotspotstore/f/a/fa9452abeeb6e134b984ce22f0ff271a774c9093 +0 -0
  442. package/.idea/sonarlint/securityhotspotstore/f/a/fa9dce145b13c5aaff8e84813e79f94dcd4c0860 +0 -0
  443. package/.idea/sonarlint/securityhotspotstore/f/b/fb74f3edc49c374fcb38034841d290680603b9cb +0 -0
  444. package/.idea/sonarlint/securityhotspotstore/f/d/fdd4872693720f9140008b46069639fb2801114d +0 -0
  445. package/.idea/sonarlint/securityhotspotstore/index.pb +0 -168
  446. package/bin/transactionProcessor/dtos/AuthorizeSpeiMexBankTransferIn.d.ts +0 -12
  447. package/bin/transactionProcessor/dtos/AuthorizeSpeiMexBankTransferIn.js +0 -57
@@ -1,39 +1,39 @@
1
- import { IsString, IsOptional, IsNumber, Min, Max, IsDateString, IsUUID } from 'class-validator';
2
- import { IsPhoneNumberFiado } from '../../card/validations/IsPhoneNumberConstraint';
3
-
4
- export class AccountBeneficiaryUpdateRequest {
5
-
6
- @IsOptional()
7
- @IsUUID()
8
- accountId?: string;
9
-
10
- @IsOptional()
11
- @IsPhoneNumberFiado()
12
- phoneNumber?: string;
13
-
14
- @IsOptional()
15
- @IsString()
16
- fullName?: string;
17
-
18
- @IsOptional()
19
- @IsDateString()
20
- dateOfBirth?: string;
21
-
22
- @IsOptional()
23
- @IsString()
24
- stateOfBirth?: string;
25
-
26
- @IsOptional()
27
- @IsString()
28
- relationType?: string;
29
-
30
- @IsOptional()
31
- @IsNumber()
32
- @Min(0)
33
- @Max(100)
34
- percentage?: number;
35
-
36
- @IsOptional()
37
- @IsString()
38
- countryOfResidence?: string;
39
- }
1
+ import { IsString, IsOptional, IsNumber, Min, Max, IsDateString, IsUUID } from 'class-validator';
2
+ import { IsPhoneNumberFiado } from '../../card/validations/IsPhoneNumberConstraint';
3
+
4
+ export class AccountBeneficiaryUpdateRequest {
5
+
6
+ @IsOptional()
7
+ @IsUUID()
8
+ accountId?: string;
9
+
10
+ @IsOptional()
11
+ @IsPhoneNumberFiado()
12
+ phoneNumber?: string;
13
+
14
+ @IsOptional()
15
+ @IsString()
16
+ fullName?: string;
17
+
18
+ @IsOptional()
19
+ @IsDateString()
20
+ dateOfBirth?: string;
21
+
22
+ @IsOptional()
23
+ @IsString()
24
+ stateOfBirth?: string;
25
+
26
+ @IsOptional()
27
+ @IsString()
28
+ relationType?: string;
29
+
30
+ @IsOptional()
31
+ @IsNumber()
32
+ @Min(0)
33
+ @Max(100)
34
+ percentage?: number;
35
+
36
+ @IsOptional()
37
+ @IsString()
38
+ countryOfResidence?: string;
39
+ }
@@ -1,7 +1,7 @@
1
-
2
-
3
-
4
- export enum AccountType {
5
- PAGOCONFIADO = 'PAGOCONFIADO',
6
- FIADO_INC = 'FIADO_INC',
1
+
2
+
3
+
4
+ export enum AccountType {
5
+ PAGOCONFIADO = 'PAGOCONFIADO',
6
+ FIADO_INC = 'FIADO_INC',
7
7
  }
@@ -1,8 +1,8 @@
1
-
2
- //dtos
3
- export * from './dtos/AccountBeneficiaryUpdateRequest';
4
- export * from './dtos/AccountBeneficiaryCreateRequest';
5
- export * from './dtos/AccountBeneficiaryResponse';
6
-
7
- //enums
1
+
2
+ //dtos
3
+ export * from './dtos/AccountBeneficiaryUpdateRequest';
4
+ export * from './dtos/AccountBeneficiaryCreateRequest';
5
+ export * from './dtos/AccountBeneficiaryResponse';
6
+
7
+ //enums
8
8
  export * from './enums/AccountType';
@@ -1,12 +1,12 @@
1
- import { IsEnum, IsString, Matches } from 'class-validator';
2
- import { CountryId } from '../../country/enums/CountryId';
3
-
4
-
5
- export class CardActivateRequest {
6
- @IsEnum(CountryId)
7
- countryId: CountryId;
8
-
9
- @IsString()
10
- @Matches(/^\d{16}$/)
11
- panOrCode: string;
12
- }
1
+ import { IsEnum, IsString, Matches } from 'class-validator';
2
+ import { CountryId } from '../../country/enums/CountryId';
3
+
4
+
5
+ export class CardActivateRequest {
6
+ @IsEnum(CountryId)
7
+ countryId: CountryId;
8
+
9
+ @IsString()
10
+ @Matches(/^\d{16}$/)
11
+ panOrCode: string;
12
+ }
@@ -1,26 +1,26 @@
1
- import { IsDateString, IsPhoneNumber, IsString } from "class-validator";
2
-
3
-
4
- export class CardAdditionalRequest {
5
-
6
- @IsString()
7
- names: string;
8
-
9
- @IsString()
10
- lastNamePaternal: string;
11
-
12
- @IsString()
13
- lastNameMaternal: string;
14
-
15
- @IsPhoneNumber()
16
- phoneNumber: string;
17
-
18
- @IsDateString()
19
- dateOfBirth: string;
20
-
21
- @IsString()
22
- ownerRelation: string;
23
-
24
- @IsString()
25
- addressId;
1
+ import { IsDateString, IsPhoneNumber, IsString } from "class-validator";
2
+
3
+
4
+ export class CardAdditionalRequest {
5
+
6
+ @IsString()
7
+ names: string;
8
+
9
+ @IsString()
10
+ lastNamePaternal: string;
11
+
12
+ @IsString()
13
+ lastNameMaternal: string;
14
+
15
+ @IsPhoneNumber()
16
+ phoneNumber: string;
17
+
18
+ @IsDateString()
19
+ dateOfBirth: string;
20
+
21
+ @IsString()
22
+ ownerRelation: string;
23
+
24
+ @IsString()
25
+ addressId;
26
26
  }
@@ -1,14 +1,14 @@
1
- import { Status } from "../../directory/enums/Status";
2
- import { CardSummaryResponse } from "./CardSummaryResponse";
3
-
4
-
5
-
6
- export class CardAdditionalResponse {
7
- fullName: string;
8
- phoneNumber: string;
9
- profileImage: string;
10
- directoryId: string;
11
- isOwner: boolean;
12
- directoryStatus: Status;
13
- cards: CardSummaryResponse[];
14
- }
1
+ import { Status } from "../../directory/enums/Status";
2
+ import { CardSummaryResponse } from "./CardSummaryResponse";
3
+
4
+
5
+
6
+ export class CardAdditionalResponse {
7
+ fullName: string;
8
+ phoneNumber: string;
9
+ profileImage: string;
10
+ directoryId: string;
11
+ isOwner: boolean;
12
+ directoryStatus: Status;
13
+ cards: CardSummaryResponse[];
14
+ }
@@ -1,27 +1,27 @@
1
-
2
-
3
- import { IsEnum, IsNotEmpty, IsOptional } from 'class-validator';
4
- import { CreditOrDebit } from '../enums/CreditOrDebit';
5
- import { VirtualOrPhysical } from '../enums/VirtualOrPhysical';
6
- import { DeliveryChannel } from '../enums/DeliveryChannel';
7
- import { IsPhoneNumberFiado } from '../validations/IsPhoneNumberConstraint';
8
-
9
- export class CardApplicationRequest {
10
-
11
- @IsOptional()
12
- @IsEnum(CreditOrDebit)
13
- creditOrDebit: string;
14
-
15
- @IsEnum(VirtualOrPhysical)
16
- virtualOrPhysical: VirtualOrPhysical.PHYSICAL;
17
-
18
- @IsNotEmpty()
19
- addressId: string;
20
-
21
- @IsEnum(DeliveryChannel)
22
- deliveryChannel: DeliveryChannel
23
-
24
- @IsOptional()
25
- @IsPhoneNumberFiado()
26
- deliveryPhoneNumber: string;
27
- }
1
+
2
+
3
+ import { IsEnum, IsNotEmpty, IsOptional } from 'class-validator';
4
+ import { CreditOrDebit } from '../enums/CreditOrDebit';
5
+ import { VirtualOrPhysical } from '../enums/VirtualOrPhysical';
6
+ import { DeliveryChannel } from '../enums/DeliveryChannel';
7
+ import { IsPhoneNumberFiado } from '../validations/IsPhoneNumberConstraint';
8
+
9
+ export class CardApplicationRequest {
10
+
11
+ @IsOptional()
12
+ @IsEnum(CreditOrDebit)
13
+ creditOrDebit: string;
14
+
15
+ @IsEnum(VirtualOrPhysical)
16
+ virtualOrPhysical: VirtualOrPhysical.PHYSICAL;
17
+
18
+ @IsNotEmpty()
19
+ addressId: string;
20
+
21
+ @IsEnum(DeliveryChannel)
22
+ deliveryChannel: DeliveryChannel
23
+
24
+ @IsOptional()
25
+ @IsPhoneNumberFiado()
26
+ deliveryPhoneNumber: string;
27
+ }
@@ -1,11 +1,11 @@
1
- import { TypeOfDirectoryId } from "../../directory"
2
- import { CountryId } from "../../country"
3
-
4
- export class CardBalanceResponse {
5
-
6
- cardBalanceId: string
7
- currentBalance: number
8
- directoryId: string
9
- typeOfDirectoryId: TypeOfDirectoryId
10
- currencyId: CountryId
1
+ import { TypeOfDirectoryId } from "../../directory"
2
+ import { CountryId } from "../../country"
3
+
4
+ export class CardBalanceResponse {
5
+
6
+ cardBalanceId: string
7
+ currentBalance: number
8
+ directoryId: string
9
+ typeOfDirectoryId: TypeOfDirectoryId
10
+ currencyId: CountryId
11
11
  }
@@ -1,78 +1,78 @@
1
- import { IsDateString, IsEmail, IsEnum, IsNotEmpty, IsOptional, IsString, Length, ValidateNested } from "class-validator";
2
- import { IsPhoneNumberFiado } from "../validations/IsPhoneNumberConstraint";
3
- import { Type } from "class-transformer";
4
- import { AddressCreateRequest } from "../../address";
5
- import { SexDocument } from "../../identity";
6
-
7
- export class CardCreateAdditionalRequest {
8
-
9
- @IsNotEmpty()
10
- @IsString()
11
- @Length(3, 40)
12
- names: string;
13
-
14
- @IsNotEmpty()
15
- @IsString()
16
- @Length(3, 20)
17
- lastNamePaternal: string;
18
-
19
- @IsNotEmpty()
20
- @IsString()
21
- @Length(3, 20)
22
- lastNameMaternal: string;
23
-
24
- @IsNotEmpty()
25
- @IsDateString()
26
- dateOfBirth: string;
27
-
28
- @IsNotEmpty()
29
- @IsEnum(SexDocument)
30
- sex: SexDocument;
31
-
32
- @IsNotEmpty()
33
- stateOfBirth: string;
34
-
35
- @IsNotEmpty()
36
- @IsString()
37
- @Length(3, 20)
38
- ownerRelation: string;
39
-
40
- @IsNotEmpty()
41
- @IsString()
42
- @Length(3, 20)
43
- occupation: string;
44
-
45
- @IsNotEmpty()
46
- @IsString()
47
- @IsPhoneNumberFiado()
48
- phoneNumber: string;
49
-
50
- @ValidateNested()
51
- @Type(() => AddressCreateRequest)
52
- address: AddressCreateRequest;
53
-
54
- @IsOptional()
55
- @IsEmail()
56
- email: string | null;
57
-
58
- @IsOptional()
59
- @IsString()
60
- MXN_FundsPurpose: string = "Comida, vestido, vivienda y medicina";
61
-
62
- @IsOptional()
63
- @IsString()
64
- MXN_UsageMonthly: number = 90;
65
-
66
- @IsOptional()
67
- @IsString()
68
- MXN_MaximumTX: number = 10000
69
-
70
- @IsOptional()
71
- @IsString()
72
- MXN_MonthlyExtraSupport: string = "1501-4500";
73
-
74
- MXN_MonthlyIncome: string = "0-7000";
75
-
76
-
77
- }
78
-
1
+ import { IsDateString, IsEmail, IsEnum, IsNotEmpty, IsOptional, IsString, Length, ValidateNested } from "class-validator";
2
+ import { IsPhoneNumberFiado } from "../validations/IsPhoneNumberConstraint";
3
+ import { Type } from "class-transformer";
4
+ import { AddressCreateRequest } from "../../address";
5
+ import { SexDocument } from "../../identity";
6
+
7
+ export class CardCreateAdditionalRequest {
8
+
9
+ @IsNotEmpty()
10
+ @IsString()
11
+ @Length(3, 40)
12
+ names: string;
13
+
14
+ @IsNotEmpty()
15
+ @IsString()
16
+ @Length(3, 20)
17
+ lastNamePaternal: string;
18
+
19
+ @IsNotEmpty()
20
+ @IsString()
21
+ @Length(3, 20)
22
+ lastNameMaternal: string;
23
+
24
+ @IsNotEmpty()
25
+ @IsDateString()
26
+ dateOfBirth: string;
27
+
28
+ @IsNotEmpty()
29
+ @IsEnum(SexDocument)
30
+ sex: SexDocument;
31
+
32
+ @IsNotEmpty()
33
+ stateOfBirth: string;
34
+
35
+ @IsNotEmpty()
36
+ @IsString()
37
+ @Length(3, 20)
38
+ ownerRelation: string;
39
+
40
+ @IsNotEmpty()
41
+ @IsString()
42
+ @Length(3, 20)
43
+ occupation: string;
44
+
45
+ @IsNotEmpty()
46
+ @IsString()
47
+ @IsPhoneNumberFiado()
48
+ phoneNumber: string;
49
+
50
+ @ValidateNested()
51
+ @Type(() => AddressCreateRequest)
52
+ address: AddressCreateRequest;
53
+
54
+ @IsOptional()
55
+ @IsEmail()
56
+ email: string | null;
57
+
58
+ @IsOptional()
59
+ @IsString()
60
+ MXN_FundsPurpose: string = "Comida, vestido, vivienda y medicina";
61
+
62
+ @IsOptional()
63
+ @IsString()
64
+ MXN_UsageMonthly: number = 90;
65
+
66
+ @IsOptional()
67
+ @IsString()
68
+ MXN_MaximumTX: number = 10000
69
+
70
+ @IsOptional()
71
+ @IsString()
72
+ MXN_MonthlyExtraSupport: string = "1501-4500";
73
+
74
+ MXN_MonthlyIncome: string = "0-7000";
75
+
76
+
77
+ }
78
+
@@ -1,35 +1,35 @@
1
- import { CountryId } from "../../country";
2
- import { CreditOrDebit } from "../enums/CreditOrDebit";
3
- import { DeliveryChannel } from "../enums/DeliveryChannel";
4
- import { ExternalShippingStatus } from "../enums/ExternalShippingStatus";
5
- import { ExternalShippingStatusDetail } from "../enums/ExternalShippingStatusDetails";
6
- import { NominatedOrInnominated } from "../enums/NominatedOrInnominated";
7
- import { ShippingStatus } from "../enums/ShippingStatus";
8
- import { Status } from "../enums/Status";
9
- import { VirtualOrPhysical } from "../enums/VirtualOrPhysical";
10
-
11
-
12
- export class CardResponse {
13
- id: string;
14
- accountId: string;
15
- directoryId: string;
16
- peopleId: string;
17
- provider: string;
18
- activationDate: string;
19
- countryId: CountryId;
20
- status: Status;
21
- panLastDigit: string;
22
- creditOrDebit: CreditOrDebit;
23
- nominatedOrInnominated: NominatedOrInnominated;
24
- virtualOrPhysical: VirtualOrPhysical;
25
- deliveryChannel: DeliveryChannel;
26
- externalCardId: string;
27
- externalShippingId: string;
28
- externalTrackingNumber: string;
29
- externalTrackingUrl: string;
30
- externalShippingStatus: ExternalShippingStatus | "";
31
- externalShippingStatusDetail: ExternalShippingStatusDetail | "";
32
- shippingStatus: ShippingStatus | "";
33
- imageUrl: string;
34
- tenantId: string;
1
+ import { CountryId } from "../../country";
2
+ import { CreditOrDebit } from "../enums/CreditOrDebit";
3
+ import { DeliveryChannel } from "../enums/DeliveryChannel";
4
+ import { ExternalShippingStatus } from "../enums/ExternalShippingStatus";
5
+ import { ExternalShippingStatusDetail } from "../enums/ExternalShippingStatusDetails";
6
+ import { NominatedOrInnominated } from "../enums/NominatedOrInnominated";
7
+ import { ShippingStatus } from "../enums/ShippingStatus";
8
+ import { Status } from "../enums/Status";
9
+ import { VirtualOrPhysical } from "../enums/VirtualOrPhysical";
10
+
11
+
12
+ export class CardResponse {
13
+ id: string;
14
+ accountId: string;
15
+ directoryId: string;
16
+ peopleId: string;
17
+ provider: string;
18
+ activationDate: string;
19
+ countryId: CountryId;
20
+ status: Status;
21
+ panLastDigit: string;
22
+ creditOrDebit: CreditOrDebit;
23
+ nominatedOrInnominated: NominatedOrInnominated;
24
+ virtualOrPhysical: VirtualOrPhysical;
25
+ deliveryChannel: DeliveryChannel;
26
+ externalCardId: string;
27
+ externalShippingId: string;
28
+ externalTrackingNumber: string;
29
+ externalTrackingUrl: string;
30
+ externalShippingStatus: ExternalShippingStatus | "";
31
+ externalShippingStatusDetail: ExternalShippingStatusDetail | "";
32
+ shippingStatus: ShippingStatus | "";
33
+ imageUrl: string;
34
+ tenantId: string;
35
35
  }
@@ -1,19 +1,19 @@
1
- import { Status } from "../enums/Status";
2
-
3
- export class CardSensitiveInformationResponse {
4
-
5
- id: string;
6
- pan: string;
7
- cvc: string | null;
8
- pin: string | null;
9
- expirationMonth: string;
10
- expirationYear: string;
11
- virtualOrPhysical: string;
12
- creditOrDebit: string;
13
- imageUrl: string;
14
- countryId: string;
15
- status: Status
16
- holderName: string;
17
- trackingUrl: string | null;
18
- trackingNumber: string | null;
1
+ import { Status } from "../enums/Status";
2
+
3
+ export class CardSensitiveInformationResponse {
4
+
5
+ id: string;
6
+ pan: string;
7
+ cvc: string | null;
8
+ pin: string | null;
9
+ expirationMonth: string;
10
+ expirationYear: string;
11
+ virtualOrPhysical: string;
12
+ creditOrDebit: string;
13
+ imageUrl: string;
14
+ countryId: string;
15
+ status: Status
16
+ holderName: string;
17
+ trackingUrl: string | null;
18
+ trackingNumber: string | null;
19
19
  }
@@ -1,8 +1,8 @@
1
- import { QueueMessageBase } from "../../queue/dtos/QueueMessageBase";
2
- import { CardShipmentUpdateRequest } from "./CardShipmentUpdateRequest";
3
-
4
- export class CardShipmentQueueMessage extends QueueMessageBase<CardShipmentUpdateRequest> {
5
-
6
- message: CardShipmentUpdateRequest;
7
-
1
+ import { QueueMessageBase } from "../../queue/dtos/QueueMessageBase";
2
+ import { CardShipmentUpdateRequest } from "./CardShipmentUpdateRequest";
3
+
4
+ export class CardShipmentQueueMessage extends QueueMessageBase<CardShipmentUpdateRequest> {
5
+
6
+ message: CardShipmentUpdateRequest;
7
+
8
8
  }
@@ -1,20 +1,20 @@
1
- import { IsNotEmpty, IsString } from "class-validator";
2
-
3
- export class CardShipmentUpdateRequest {
4
-
5
- @IsString()
6
- @IsNotEmpty()
7
- shippingId: string
8
-
9
- @IsString()
10
- @IsNotEmpty()
11
- status: string
12
-
13
- @IsString()
14
- @IsNotEmpty()
15
- statusDetail: string
16
-
17
- @IsString()
18
- @IsNotEmpty()
19
- updateAt: string
1
+ import { IsNotEmpty, IsString } from "class-validator";
2
+
3
+ export class CardShipmentUpdateRequest {
4
+
5
+ @IsString()
6
+ @IsNotEmpty()
7
+ shippingId: string
8
+
9
+ @IsString()
10
+ @IsNotEmpty()
11
+ status: string
12
+
13
+ @IsString()
14
+ @IsNotEmpty()
15
+ statusDetail: string
16
+
17
+ @IsString()
18
+ @IsNotEmpty()
19
+ updateAt: string
20
20
  }
@@ -1,11 +1,11 @@
1
- import { VirtualOrPhysical } from "../enums/VirtualOrPhysical";
2
-
3
-
4
-
5
- export class CardSummaryResponse {
6
-
7
- virtualOrPhysical: VirtualOrPhysical
8
- cardId: string;
9
- status: string;
10
- panlastDigits: string;
1
+ import { VirtualOrPhysical } from "../enums/VirtualOrPhysical";
2
+
3
+
4
+
5
+ export class CardSummaryResponse {
6
+
7
+ virtualOrPhysical: VirtualOrPhysical
8
+ cardId: string;
9
+ status: string;
10
+ panlastDigits: string;
11
11
  }
@@ -1,12 +1,12 @@
1
- import {UpdateKey} from "../enums/UpdateKey";
2
- import {IsEnum, IsString} from "class-validator";
3
-
4
-
5
- export class CardUpdateRequest {
6
-
7
- @IsEnum(UpdateKey)
8
- type: UpdateKey;
9
-
10
- @IsString()
11
- value: string;
1
+ import {UpdateKey} from "../enums/UpdateKey";
2
+ import {IsEnum, IsString} from "class-validator";
3
+
4
+
5
+ export class CardUpdateRequest {
6
+
7
+ @IsEnum(UpdateKey)
8
+ type: UpdateKey;
9
+
10
+ @IsString()
11
+ value: string;
12
12
  }