@fiado/type-kit 1.4.51 → 1.4.53

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 (362) 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/card/validations/CardUpdateKeyConstraint.js +2 -2
  7. package/bin/card/validations/IsPhoneNumberConstraint.js +2 -2
  8. package/bin/transactionProcessor/dtos/AuthorizeDisputeTransactionRequest.d.ts +11 -0
  9. package/bin/transactionProcessor/dtos/AuthorizeDisputeTransactionRequest.js +6 -0
  10. package/bin/transactionProcessor/index.d.ts +1 -0
  11. package/bin/transactionProcessor/index.js +1 -0
  12. package/package.json +23 -23
  13. package/src/account/dtos/AccountCreateRequest.ts +93 -93
  14. package/src/account/dtos/AccountCreateResponse.ts +7 -7
  15. package/src/account/dtos/AccountInfo.ts +43 -43
  16. package/src/account/dtos/AccountUpdateBalanceRequest.ts +6 -6
  17. package/src/account/dtos/AccountUpdateRequest.ts +36 -36
  18. package/src/account/dtos/BankAccountExternalAddress.ts +17 -17
  19. package/src/account/dtos/BankAccountP2pTransferRequest.ts +7 -7
  20. package/src/account/dtos/CreateBankAccountRequest.ts +11 -11
  21. package/src/account/dtos/CreateBankAccountResponse.ts +8 -8
  22. package/src/account/dtos/CreateBankAccountUserRequest.ts +17 -17
  23. package/src/account/dtos/CreateBankAccountUserResponse.ts +11 -11
  24. package/src/account/dtos/ExchangeInfo.ts +8 -8
  25. package/src/account/dtos/ExecuteP2pOperationRequest.ts +9 -9
  26. package/src/account/dtos/ExecutePocketOperationRequest.ts +5 -5
  27. package/src/account/dtos/GetAccountBalanceResponse.ts +46 -46
  28. package/src/account/dtos/GetAccountResponse.ts +62 -62
  29. package/src/account/dtos/GetAccountResponseList.ts +5 -5
  30. package/src/account/dtos/GetBankAccountRequest.ts +3 -3
  31. package/src/account/dtos/GetBankAccountResponse.ts +22 -22
  32. package/src/account/dtos/GetBankAccountSensitiveInformationRequest.ts +5 -5
  33. package/src/account/dtos/GetBankAccountSensitiveInformationResponse.ts +8 -8
  34. package/src/account/dtos/GetBankAccountUserRequest.ts +2 -2
  35. package/src/account/dtos/GetBankAccountUserResponse.ts +25 -25
  36. package/src/account/dtos/GetPocketBalanceResponse.ts +46 -46
  37. package/src/account/dtos/GetPocketResponse.ts +8 -8
  38. package/src/account/dtos/PocketBalanceItem.ts +17 -17
  39. package/src/account/dtos/PocketItem.ts +43 -43
  40. package/src/account/dtos/UpdateBalanceOperation.ts +10 -10
  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 -12
  44. package/src/account/enums/AccountEntityStatusEnum.ts +5 -5
  45. package/src/account/enums/AccountLevelEnum.ts +5 -5
  46. package/src/account/enums/BankAccountP2pTransferType.ts +5 -5
  47. package/src/account/enums/BankAccountTypeEnum.ts +2 -2
  48. package/src/account/enums/BankAccountUserStatusEnum.ts +4 -4
  49. package/src/account/enums/UserEntityStatusEnum.ts +4 -4
  50. package/src/account/index.ts +43 -43
  51. package/src/activity/dtos/ActivityMessageRequest.ts +24 -24
  52. package/src/activity/dtos/ActivityMessageResponse.ts +24 -24
  53. package/src/activity/dtos/ActivityQueueMessage.ts +9 -9
  54. package/src/activity/index.ts +8 -8
  55. package/src/address/dtos/AddressBase.ts +130 -130
  56. package/src/address/dtos/AddressCreateRequest.ts +6 -6
  57. package/src/address/dtos/AddressResponse.ts +41 -41
  58. package/src/address/dtos/AddressShippingCardRequest.ts +12 -12
  59. package/src/address/dtos/AddressShippingCardResponse.ts +11 -11
  60. package/src/address/dtos/Geometry.ts +4 -4
  61. package/src/address/dtos/OfficeDetails.ts +30 -30
  62. package/src/address/dtos/OperationSchedule.ts +8 -8
  63. package/src/address/dtos/Place.ts +83 -83
  64. package/src/address/dtos/Shipping.ts +36 -36
  65. package/src/address/dtos/Timezone.ts +5 -5
  66. package/src/address/enums/AddressProvider.ts +10 -10
  67. package/src/address/enums/AddressStatus.ts +9 -9
  68. package/src/address/index.ts +16 -16
  69. package/src/app/enums/App.ts +10 -10
  70. package/src/app/index.ts +3 -3
  71. package/src/authentication/dtos/SignUpAdditionalRequest.ts +32 -32
  72. package/src/authentication/dtos/SignUpAdditionalResponse.ts +5 -5
  73. package/src/authentication/index.ts +3 -3
  74. package/src/bankAccount/dtos/ExternalAccountCurrency.ts +3 -3
  75. package/src/bankAccount/dtos/ExternalAccountType.ts +3 -3
  76. package/src/bankAccount/dtos/GetExternalBankAccountRequest.ts +11 -11
  77. package/src/bankAccount/dtos/GetExternalBankAccountResponse.ts +15 -15
  78. package/src/bankAccount/dtos/GetExternalBankResponse.ts +13 -13
  79. package/src/bankAccount/index.ts +4 -4
  80. package/src/bbvaRst/dtos/CreateRSTTransactionRequest.ts +14 -14
  81. package/src/bbvaRst/dtos/CreateRSTTransactionResponse.ts +9 -9
  82. package/src/bbvaRst/enums/RSTStatusEnum.ts +4 -4
  83. package/src/bbvaRst/index.ts +2 -2
  84. package/src/beneficiary/dtos/AccountBeneficiaryCreateRequest.ts +57 -57
  85. package/src/beneficiary/dtos/AccountBeneficiaryResponse.ts +26 -26
  86. package/src/beneficiary/dtos/AccountBeneficiaryUpdateRequest.ts +43 -43
  87. package/src/beneficiary/enums/AccountType.ts +6 -6
  88. package/src/beneficiary/index.ts +7 -7
  89. package/src/card/dtos/CardActivateRequest.ts +12 -12
  90. package/src/card/dtos/CardAdditionalRequest.ts +25 -25
  91. package/src/card/dtos/CardAdditionalResponse.ts +14 -14
  92. package/src/card/dtos/CardApplicationRequest.ts +35 -35
  93. package/src/card/dtos/CardBalanceResponse.ts +10 -10
  94. package/src/card/dtos/CardCreateAdditionalRequest.ts +82 -82
  95. package/src/card/dtos/CardResponse.ts +34 -34
  96. package/src/card/dtos/CardSensitiveInformationResponse.ts +18 -18
  97. package/src/card/dtos/CardShipmentQueueMessage.ts +7 -7
  98. package/src/card/dtos/CardShipmentUpdateRequest.ts +19 -19
  99. package/src/card/dtos/CardSummaryResponse.ts +10 -10
  100. package/src/card/dtos/CardUpdateRequest.ts +11 -11
  101. package/src/card/dtos/Internal/ActivateBankAccountCardRequest.ts +9 -9
  102. package/src/card/dtos/Internal/ActivateBankAccountCardResponse.ts +4 -4
  103. package/src/card/dtos/Internal/AssignCardRequest.ts +8 -8
  104. package/src/card/dtos/Internal/CreateBankAccountCardRequest.ts +16 -16
  105. package/src/card/dtos/Internal/CreateBankAccountCardResponse.ts +8 -8
  106. package/src/card/dtos/Internal/CreateBankAccountCardShippingRequest.ts +14 -14
  107. package/src/card/dtos/Internal/CreateBankAccountCardShippingResponse.ts +12 -12
  108. package/src/card/dtos/Internal/GetBankAccountCardResponse.ts +32 -32
  109. package/src/card/dtos/Internal/GetBankAccountShippingRequest.ts +5 -5
  110. package/src/card/dtos/Internal/GetBankAccountShippingResponse.ts +19 -19
  111. package/src/card/dtos/Internal/UpdateBankAccountCardRequest.ts +21 -21
  112. package/src/card/dtos/Internal/UpdateBankAccountCardResponse.ts +5 -5
  113. package/src/card/enums/Brand.ts +7 -7
  114. package/src/card/enums/CardIssuanceStatus.ts +5 -5
  115. package/src/card/enums/CardIssuing.ts +6 -6
  116. package/src/card/enums/CardType.ts +4 -4
  117. package/src/card/enums/CardUpdateKey.ts +4 -4
  118. package/src/card/enums/CreditOrDebit.ts +5 -5
  119. package/src/card/enums/DeliveryChannel.ts +7 -7
  120. package/src/card/enums/ExternalShippingStatus.ts +14 -14
  121. package/src/card/enums/ExternalShippingStatusDetails.ts +53 -53
  122. package/src/card/enums/IssuanceType.ts +5 -5
  123. package/src/card/enums/NominatedOrInnominated.ts +8 -8
  124. package/src/card/enums/OwnershipType.ts +3 -3
  125. package/src/card/enums/ShippingStatus.ts +8 -8
  126. package/src/card/enums/Status.ts +6 -6
  127. package/src/card/enums/UpdateKey.ts +5 -5
  128. package/src/card/enums/VirtualOrPhysical.ts +6 -6
  129. package/src/card/index.ts +50 -50
  130. package/src/card/validations/CardUpdateKeyConstraint.ts +53 -53
  131. package/src/card/validations/IsPhoneNumberConstraint.ts +29 -29
  132. package/src/contactInfo/dtos/ContactInfoBackOfficeResponse.ts +9 -9
  133. package/src/contactInfo/dtos/ContactInfoCreateBackOfficeRequest.ts +10 -10
  134. package/src/contactInfo/dtos/ContactInfoCreateRequest.ts +2 -2
  135. package/src/contactInfo/dtos/ContactInfoRequest.ts +29 -29
  136. package/src/contactInfo/dtos/ContactInfoResponse.ts +30 -30
  137. package/src/contactInfo/dtos/ContactInfoUpdateBackOfficeRequest.ts +15 -15
  138. package/src/contactInfo/dtos/ContactInfoUpdateRequest.ts +4 -4
  139. package/src/contactInfo/enums/TypeOfContactIdEnum.ts +3 -3
  140. package/src/contactInfo/index.ts +7 -7
  141. package/src/contract/dtos/ContractCreateRequest.ts +29 -29
  142. package/src/contract/dtos/ContractCreateResponse.ts +2 -2
  143. package/src/contract/index.ts +4 -4
  144. package/src/country/enums/CountriesISO3.ts +220 -220
  145. package/src/country/enums/Country.ts +6 -6
  146. package/src/country/enums/CountryISO2ToISO3.ts +69 -69
  147. package/src/country/enums/CountryISO3ToISO2.ts +61 -61
  148. package/src/country/enums/CountryId.ts +6 -6
  149. package/src/country/index.ts +12 -12
  150. package/src/country/utilities/CountryCodeConverter.ts +13 -13
  151. package/src/creditContract/dtos/CreditContractCreateRequest.ts +53 -53
  152. package/src/creditContract/enums/InstrumentEnum.ts +5 -5
  153. package/src/creditContract/index.ts +5 -5
  154. package/src/currency/dtos/CurrencyResponse.ts +8 -8
  155. package/src/currency/index.ts +2 -2
  156. package/src/directory/dtos/DirectoryResponse.ts +19 -19
  157. package/src/directory/dtos/External.ts +6 -6
  158. package/src/directory/enums/Profile.ts +6 -6
  159. package/src/directory/enums/Scope.ts +7 -7
  160. package/src/directory/enums/Status.ts +9 -9
  161. package/src/directory/enums/TypeOfDirectoryId.ts +6 -6
  162. package/src/directory/index.ts +7 -7
  163. package/src/eventBridge/dto/EventBridgeMessageRequest.ts +4 -4
  164. package/src/eventBridge/index.ts +1 -1
  165. package/src/exchangeRate/dtos/ExchangeRateCreateRequest.ts +50 -50
  166. package/src/exchangeRate/dtos/ExchangeRateCreateResponse.ts +4 -4
  167. package/src/exchangeRate/dtos/ExchangeRateResponse.ts +19 -19
  168. package/src/exchangeRate/dtos/GetExchangeRatesRequest.ts +3 -3
  169. package/src/exchangeRate/enums/ExchangeRateStatus.ts +5 -5
  170. package/src/exchangeRate/index.ts +9 -9
  171. package/src/fraudPreventionEngine/dtos/CreateAccountLevelRequest.ts +9 -9
  172. package/src/fraudPreventionEngine/dtos/GetAccountLevelParams.ts +5 -5
  173. package/src/fraudPreventionEngine/dtos/GetAccountLevelResponse.ts +7 -7
  174. package/src/fraudPreventionEngine/enums/AccountLevelTenantEnum.ts +5 -5
  175. package/src/fraudPreventionEngine/index.ts +5 -5
  176. package/src/genericMessage/dto/GenericMessageRequest.ts +17 -17
  177. package/src/genericMessage/enums/GenericMessageSourceEnum.ts +3 -3
  178. package/src/genericMessage/index.ts +1 -1
  179. package/src/group/dtos/GroupAddDirectoryRequest.ts +27 -27
  180. package/src/group/dtos/GroupCreateRequest.ts +54 -54
  181. package/src/group/dtos/GroupDirectoryRelationsResponse.ts +20 -20
  182. package/src/group/dtos/GroupDirectoryRelationsUpdateRequest.ts +10 -10
  183. package/src/group/dtos/GroupResponse.ts +17 -17
  184. package/src/group/dtos/GroupUpdateRequest.ts +31 -31
  185. package/src/group/enums/GroupAction.ts +8 -8
  186. package/src/group/enums/GroupStatus.ts +6 -6
  187. package/src/group/enums/RelationStatus.ts +8 -8
  188. package/src/group/enums/RelationType.ts +9 -9
  189. package/src/group/index.ts +18 -18
  190. package/src/header/TokenPayload.ts +18 -18
  191. package/src/header/index.ts +3 -3
  192. package/src/helpers/ValidationUtils.ts +32 -32
  193. package/src/helpers/constans/regex.ts +12 -12
  194. package/src/identity/dtos/IdentificationDocument.ts +24 -24
  195. package/src/identity/dtos/PeopleCreateRequest.ts +4 -4
  196. package/src/identity/dtos/PeopleResponse.ts +75 -75
  197. package/src/identity/dtos/PeopleUpdateRequest.ts +75 -75
  198. package/src/identity/dtos/TypeOfDocument.ts +11 -11
  199. package/src/identity/enums/IdentificationDocumentStatus.ts +7 -7
  200. package/src/identity/enums/SexDocument.ts +6 -6
  201. package/src/identity/enums/TypeOfDocument.ts +5 -5
  202. package/src/identity/index.ts +12 -12
  203. package/src/index.ts +36 -36
  204. package/src/notificationMessages/dtos/NotificationQueueMessageRequest.ts +7 -7
  205. package/src/notificationMessages/dtos/QueueMessageDestination.ts +6 -6
  206. package/src/notificationMessages/dtos/QueueMessageVariableValues.ts +3 -3
  207. package/src/notificationMessages/enums/NotificationId.ts +13 -13
  208. package/src/notificationMessages/index.ts +5 -5
  209. package/src/p2pContact/dtos/CreateP2pContactRequest.ts +8 -8
  210. package/src/productCatalog/dtos/CreateProductCatalogRequest.ts +14 -14
  211. package/src/productCatalog/dtos/GetProductCatalogResponse.ts +38 -38
  212. package/src/productCatalog/enums/ProductSubtypeEnum.ts +48 -48
  213. package/src/productCatalog/enums/ProductTaxFeeTypeEnum.ts +3 -3
  214. package/src/productCatalog/enums/ProductTypeEnum.ts +8 -8
  215. package/src/productCatalog/index.ts +5 -5
  216. package/src/provider/enums/Provider.ts +4 -4
  217. package/src/provider/index.ts +1 -1
  218. package/src/queue/dtos/QueueMessageBase.ts +13 -13
  219. package/src/riskProfile/dtos/AlarmCategory.ts +2 -2
  220. package/src/riskProfile/dtos/CreateRiskProfileRequest.ts +45 -45
  221. package/src/riskProfile/dtos/TransactionAlarmQueueMessage.ts +48 -48
  222. package/src/riskProfile/dtos/UpdateAlarmProfileRequest.ts +9 -9
  223. package/src/riskProfile/dtos/UpdateFactorInfo.ts +5 -5
  224. package/src/riskProfile/dtos/UpdateRiskProfileRequest.ts +5 -5
  225. package/src/riskProfile/dtos/UpdateTransactionAlertRequest.ts +18 -18
  226. package/src/riskProfile/enums/AlarmCategory.ts +8 -8
  227. package/src/riskProfile/enums/AlarmOperationType.ts +7 -7
  228. package/src/riskProfile/enums/PepLevelEnum.ts +6 -6
  229. package/src/riskProfile/enums/RiskFactorCategoryEnum.ts +13 -13
  230. package/src/riskProfile/index.ts +12 -12
  231. package/src/servicePayment/dtos/GetCatalogParams.ts +5 -5
  232. package/src/servicePayment/dtos/ServicePaymentRequest.ts +33 -33
  233. package/src/servicePayment/index.ts +1 -1
  234. package/src/sessionActivity/dtos/SessionActivityQueueMessageRequest.ts +10 -10
  235. package/src/sessionActivity/enums/SessionActivityActionEnum.ts +7 -7
  236. package/src/sessionActivity/enums/SessionActivityActionOriginEnum.ts +4 -4
  237. package/src/sessionActivity/index.ts +2 -2
  238. package/src/stpAccount/dtos/CreateAccountWebhookDetail.ts +5 -5
  239. package/src/stpSpei/dtos/GetBusinessAccountBalanceResponse.ts +4 -4
  240. package/src/stpSpei/dtos/PutStpOrderRequest.ts +13 -13
  241. package/src/stpSpei/dtos/SpeiWebhookMessage.ts +9 -9
  242. package/src/stpSpei/enums/ActividadesProductivasEnum.ts +47 -47
  243. package/src/stpSpei/enums/BusinessNameEnum.ts +3 -3
  244. package/src/stpSpei/enums/EntidadesFederativasEnum.ts +33 -33
  245. package/src/stpSpei/enums/PaisesEnum.ts +275 -275
  246. package/src/stpSpei/enums/WebhookMessageStatusEnum.ts +4 -4
  247. package/src/stpSpei/index.ts +9 -9
  248. package/src/transaction/dtos/Credit.ts +24 -24
  249. package/src/transaction/dtos/Debit.ts +20 -20
  250. package/src/transaction/dtos/Notional.ts +20 -20
  251. package/src/transaction/dtos/Product.ts +23 -23
  252. package/src/transaction/dtos/ProductDetail.ts +35 -35
  253. package/src/transaction/dtos/Total.ts +20 -20
  254. package/src/transaction/dtos/TransactionCreateRequest.ts +115 -115
  255. package/src/transaction/dtos/TransactionCreateResponse.ts +4 -4
  256. package/src/transaction/dtos/TransactionGetDetailResponse.ts +27 -27
  257. package/src/transaction/dtos/TransactionGetResponse.ts +20 -20
  258. package/src/transaction/enums/DisputeOrFraudEnum.ts +3 -3
  259. package/src/transaction/enums/DisputeOrFraudStatusEnum.ts +4 -4
  260. package/src/transaction/enums/OperationEnum.ts +3 -3
  261. package/src/transaction/enums/TransactionSourceEnum.ts +7 -7
  262. package/src/transaction/enums/TransactionStatusEnum.ts +6 -6
  263. package/src/transaction/index.ts +19 -19
  264. package/src/transactionProcessor/dtos/AmountInfo.ts +6 -6
  265. package/src/transactionProcessor/dtos/AmountInfoItem.ts +3 -3
  266. package/src/transactionProcessor/dtos/AuthorizeCollectorTransactionRequest.ts +6 -6
  267. package/src/transactionProcessor/dtos/AuthorizeCreditCardAdjustmentRequest.ts +19 -19
  268. package/src/transactionProcessor/dtos/AuthorizeCreditCardPurchaseRequest.ts +16 -16
  269. package/src/transactionProcessor/dtos/AuthorizeDisputeTransactionRequest.ts +12 -0
  270. package/src/transactionProcessor/dtos/AuthorizeP2pTransactionRequest.ts +8 -8
  271. package/src/transactionProcessor/dtos/AuthorizePocketTransactionRequest.ts +8 -8
  272. package/src/transactionProcessor/dtos/AuthorizeRstTransactionRequest.ts +4 -4
  273. package/src/transactionProcessor/dtos/AuthorizeServicePaymentRequest.ts +7 -7
  274. package/src/transactionProcessor/dtos/AuthorizeSpeiBankTransferNcRequest.ts +9 -9
  275. package/src/transactionProcessor/dtos/AuthorizeSpeiBankTransferRequest.ts +6 -6
  276. package/src/transactionProcessor/dtos/AuthorizeSpeiMexBankTransferInRequest.ts +33 -33
  277. package/src/transactionProcessor/dtos/CardInfo.ts +5 -5
  278. package/src/transactionProcessor/dtos/InstallmentsInfo.ts +6 -6
  279. package/src/transactionProcessor/dtos/MerchantInfo.ts +6 -6
  280. package/src/transactionProcessor/dtos/ProcessUpdateLevelRequest.ts +3 -3
  281. package/src/transactionProcessor/dtos/RSTTransactionStatusUpdate.ts +6 -6
  282. package/src/transactionProcessor/dtos/SpeiBankTransferStatusUpdate.ts +6 -6
  283. package/src/transactionProcessor/dtos/TransactionInfo.ts +7 -7
  284. package/src/transactionProcessor/dtos/TransactionProcessorQueueMessage.ts +3 -3
  285. package/src/transactionProcessor/dtos/TransactionProcessorResponse.ts +13 -13
  286. package/src/transactionProcessor/enums/AsyncTxStatusEnum.ts +5 -5
  287. package/src/transactionProcessor/enums/TransactionProcessorCodesEnum.ts +16 -16
  288. package/src/transactionProcessor/index.ts +25 -24
  289. package/bin/account/dtos/AccountResponse.d.ts +0 -21
  290. package/bin/account/dtos/AccountResponse.js +0 -6
  291. package/bin/account/dtos/CreateBankAccountInput.d.ts +0 -8
  292. package/bin/account/dtos/CreateBankAccountInput.js +0 -6
  293. package/bin/account/dtos/CreateBankAccountUserInput.d.ts +0 -14
  294. package/bin/account/dtos/CreateBankAccountUserInput.js +0 -6
  295. package/bin/account/dtos/PocketCreateRequest.d.ts +0 -4
  296. package/bin/account/dtos/PocketCreateRequest.js +0 -31
  297. package/bin/account/dtos/PocketCreateResponse.d.ts +0 -2
  298. package/bin/account/dtos/PocketCreateResponse.js +0 -6
  299. package/bin/account/enums/AccountStatus.d.ts +0 -5
  300. package/bin/account/enums/AccountStatus.js +0 -9
  301. package/bin/card/dtos/CardCreateRequest.d.ts +0 -34
  302. package/bin/card/dtos/CardCreateRequest.js +0 -176
  303. package/bin/group/dtos/GroupDirectoryRetationsUpdateRequest.d.ts +0 -3
  304. package/bin/group/dtos/GroupDirectoryRetationsUpdateRequest.js +0 -22
  305. package/bin/pomelo/dtos/PomeloCreateUserRequest.d.ts +0 -28
  306. package/bin/pomelo/dtos/PomeloCreateUserRequest.js +0 -2
  307. package/bin/pomelo/dtos/PomeloCreateUserResponse.d.ts +0 -35
  308. package/bin/pomelo/dtos/PomeloCreateUserResponse.js +0 -2
  309. package/bin/pomelo/enums/CountryEnum.d.ts +0 -8
  310. package/bin/pomelo/enums/CountryEnum.js +0 -12
  311. package/bin/pomelo/enums/IdentificationTypeEnum.d.ts +0 -7
  312. package/bin/pomelo/enums/IdentificationTypeEnum.js +0 -11
  313. package/bin/pomelo/enums/SexEnum.d.ts +0 -4
  314. package/bin/pomelo/enums/SexEnum.js +0 -8
  315. package/bin/pomelo/enums/TaxTypeEnum.d.ts +0 -7
  316. package/bin/pomelo/enums/TaxTypeEnum.js +0 -11
  317. package/bin/pomelo/enums/UserStatusEnum.d.ts +0 -4
  318. package/bin/pomelo/enums/UserStatusEnum.js +0 -8
  319. package/bin/pomelo/index.d.ts +0 -7
  320. package/bin/pomelo/index.js +0 -25
  321. package/bin/productCatalog/dtos/GetProductCatalogRequest.d.ts +0 -3
  322. package/bin/productCatalog/dtos/GetProductCatalogRequest.js +0 -19
  323. package/bin/tern/dtos/TernAddress.d.ts +0 -8
  324. package/bin/tern/dtos/TernAddress.js +0 -40
  325. package/bin/tern/dtos/TernCreateAccountRequest.d.ts +0 -7
  326. package/bin/tern/dtos/TernCreateAccountRequest.js +0 -33
  327. package/bin/tern/dtos/TernCreateAccountResponse.d.ts +0 -5
  328. package/bin/tern/dtos/TernCreateAccountResponse.js +0 -25
  329. package/bin/tern/dtos/TernCreateUserRequest.d.ts +0 -15
  330. package/bin/tern/dtos/TernCreateUserRequest.js +0 -70
  331. package/bin/tern/dtos/TernCreateUserResponse.d.ts +0 -8
  332. package/bin/tern/dtos/TernCreateUserResponse.js +0 -37
  333. package/bin/tern/dtos/TernGetAccountRequest.d.ts +0 -5
  334. package/bin/tern/dtos/TernGetAccountRequest.js +0 -25
  335. package/bin/tern/dtos/TernGetAccountResponse.d.ts +0 -22
  336. package/bin/tern/dtos/TernGetAccountResponse.js +0 -87
  337. package/bin/tern/dtos/TernGetUserRequest.d.ts +0 -3
  338. package/bin/tern/dtos/TernGetUserRequest.js +0 -20
  339. package/bin/tern/dtos/TernGetUserResponse.d.ts +0 -24
  340. package/bin/tern/dtos/TernGetUserResponse.js +0 -96
  341. package/bin/tern/enums/TernAccountStatusEnum.d.ts +0 -4
  342. package/bin/tern/enums/TernAccountStatusEnum.js +0 -8
  343. package/bin/tern/enums/TernAccountTypeEnum.d.ts +0 -5
  344. package/bin/tern/enums/TernAccountTypeEnum.js +0 -9
  345. package/bin/tern/index.d.ts +0 -11
  346. package/bin/tern/index.js +0 -29
  347. package/bin/transactionProcessor/dtos/private/AuthorizeP2pTransactionRequest.d.ts +0 -5
  348. package/bin/transactionProcessor/dtos/private/AuthorizeP2pTransactionRequest.js +0 -6
  349. package/bin/transactionProcessor/dtos/private/AuthorizePocketTransactionRequest.d.ts +0 -7
  350. package/bin/transactionProcessor/dtos/private/AuthorizePocketTransactionRequest.js +0 -6
  351. package/bin/transactionProcessor/dtos/private/PrivateProcessorAmountInfo.d.ts +0 -6
  352. package/bin/transactionProcessor/dtos/private/PrivateProcessorAmountInfo.js +0 -6
  353. package/bin/transactionProcessor/dtos/private/PrivateProcessorAmountInfoItem.d.ts +0 -4
  354. package/bin/transactionProcessor/dtos/private/PrivateProcessorAmountInfoItem.js +0 -6
  355. package/bin/transactionProcessor/dtos/private/PrivateProcessorCardInfo.d.ts +0 -6
  356. package/bin/transactionProcessor/dtos/private/PrivateProcessorCardInfo.js +0 -6
  357. package/bin/transactionProcessor/dtos/private/PrivateProcessorMerchantInfo.d.ts +0 -7
  358. package/bin/transactionProcessor/dtos/private/PrivateProcessorMerchantInfo.js +0 -6
  359. package/bin/transactionProcessor/dtos/private/PrivateProcessorTransactionInfo.d.ts +0 -8
  360. package/bin/transactionProcessor/dtos/private/PrivateProcessorTransactionInfo.js +0 -6
  361. package/bin/transactionProcessor/dtos/private/PrivateTransactionProcessorRequest.d.ts +0 -16
  362. package/bin/transactionProcessor/dtos/private/PrivateTransactionProcessorRequest.js +0 -6
@@ -1,131 +1,131 @@
1
-
2
-
3
-
4
- import { IsBoolean, IsEnum, IsNumber, IsOptional, IsString, Length, Matches, ValidateNested } from 'class-validator';
5
- import { TypeOfDirectoryId } from "../../directory/enums/TypeOfDirectoryId";
6
- import { AddressProvider } from "../enums/AddressProvider";
7
- import { AddressStatus } from "../enums/AddressStatus";
8
- import { Place } from "./Place";
9
- import { CountryId } from '../../country/enums/CountryId';
10
- import { regexIso8601, regexUuidV4 } from '../../helpers/constans/regex';
11
-
12
- export class AddressBase {
13
-
14
- @IsOptional()
15
- @IsString()
16
- @Matches(regexUuidV4,
17
- {
18
- message: 'id must be a valid UUID v4',
19
- })
20
- id?: string;
21
-
22
- @IsNumber()
23
- @IsOptional()
24
- distance?: number;
25
-
26
- @IsEnum(TypeOfDirectoryId)
27
- createdBy: TypeOfDirectoryId;
28
-
29
- @IsString()
30
- @Matches(regexUuidV4,
31
- {
32
- message: 'directoryId must be a valid UUID v4',
33
- })
34
- directoryId: string;
35
-
36
- @IsBoolean()
37
- isPrincipal: boolean;
38
-
39
- @IsOptional()
40
- @IsString()
41
- @Length(1, 100)
42
- tag?: string;
43
-
44
- @IsString()
45
- @Length(1, 100)
46
- tenantId: string;
47
-
48
- @IsString()
49
- typeOfAddressId: string;
50
-
51
- @IsEnum(TypeOfDirectoryId)
52
- typeOfDirectoryId: TypeOfDirectoryId;
53
-
54
- @IsEnum(AddressProvider)
55
- provider: AddressProvider;
56
-
57
- @ValidateNested()
58
- place: Place;
59
-
60
- @IsString()
61
- @Matches(regexIso8601,
62
- {
63
- message: 'validFrom must be a valid ISO 8601 date string',
64
- })
65
- validFrom: string;
66
-
67
- @IsOptional()
68
- @IsString()
69
- @Matches(regexIso8601,
70
- {
71
- message: 'validUntil must be a valid ISO 8601 date string',
72
- })
73
- validUntil?: string;
74
-
75
- @IsEnum(AddressStatus)
76
- addressStatus: AddressStatus;
77
-
78
- @IsOptional()
79
- @IsString()
80
- @Length(1, 200)
81
- additionalInformation?: string;
82
-
83
- @IsBoolean()
84
- helpNeeded: boolean;
85
-
86
- @IsOptional()
87
- @IsString()
88
- @Length(1, 10)
89
- internalNumber?: string;
90
-
91
- @IsEnum(CountryId)
92
- countryId: CountryId;
93
-
94
- @IsString()
95
- @Length(1, 100)
96
- street?: string;
97
-
98
- @IsString()
99
- @Length(1, 10)
100
- addressNumber?: string;
101
-
102
- @IsOptional()
103
- @IsString()
104
- @Length(2, 60)
105
- municipality?: string;
106
-
107
- @IsOptional()
108
- @IsString()
109
- subMunicipality?: string;
110
-
111
- @IsOptional()
112
- @IsString()
113
- @Length(2, 60)
114
- neighborhood?: string;
115
-
116
- @IsOptional()
117
- @IsString()
118
- @Length(2, 60)
119
- subRegion?: string;
120
-
121
- @IsString()
122
- @Length(5, 10)
123
- region?: string;
124
-
125
- @IsString()
126
- @Length(5, 10)
127
- postalCode?: string;
128
-
129
- @IsEnum(CountryId)
130
- country: string;
1
+
2
+
3
+
4
+ import { IsBoolean, IsEnum, IsNumber, IsOptional, IsString, Length, Matches, ValidateNested } from 'class-validator';
5
+ import { TypeOfDirectoryId } from "../../directory/enums/TypeOfDirectoryId";
6
+ import { AddressProvider } from "../enums/AddressProvider";
7
+ import { AddressStatus } from "../enums/AddressStatus";
8
+ import { Place } from "./Place";
9
+ import { CountryId } from '../../country/enums/CountryId';
10
+ import { regexIso8601, regexUuidV4 } from '../../helpers/constans/regex';
11
+
12
+ export class AddressBase {
13
+
14
+ @IsOptional()
15
+ @IsString()
16
+ @Matches(regexUuidV4,
17
+ {
18
+ message: 'id must be a valid UUID v4',
19
+ })
20
+ id?: string;
21
+
22
+ @IsNumber()
23
+ @IsOptional()
24
+ distance?: number;
25
+
26
+ @IsEnum(TypeOfDirectoryId)
27
+ createdBy: TypeOfDirectoryId;
28
+
29
+ @IsString()
30
+ @Matches(regexUuidV4,
31
+ {
32
+ message: 'directoryId must be a valid UUID v4',
33
+ })
34
+ directoryId: string;
35
+
36
+ @IsBoolean()
37
+ isPrincipal: boolean;
38
+
39
+ @IsOptional()
40
+ @IsString()
41
+ @Length(1, 100)
42
+ tag?: string;
43
+
44
+ @IsString()
45
+ @Length(1, 100)
46
+ tenantId: string;
47
+
48
+ @IsString()
49
+ typeOfAddressId: string;
50
+
51
+ @IsEnum(TypeOfDirectoryId)
52
+ typeOfDirectoryId: TypeOfDirectoryId;
53
+
54
+ @IsEnum(AddressProvider)
55
+ provider: AddressProvider;
56
+
57
+ @ValidateNested()
58
+ place: Place;
59
+
60
+ @IsString()
61
+ @Matches(regexIso8601,
62
+ {
63
+ message: 'validFrom must be a valid ISO 8601 date string',
64
+ })
65
+ validFrom: string;
66
+
67
+ @IsOptional()
68
+ @IsString()
69
+ @Matches(regexIso8601,
70
+ {
71
+ message: 'validUntil must be a valid ISO 8601 date string',
72
+ })
73
+ validUntil?: string;
74
+
75
+ @IsEnum(AddressStatus)
76
+ addressStatus: AddressStatus;
77
+
78
+ @IsOptional()
79
+ @IsString()
80
+ @Length(1, 200)
81
+ additionalInformation?: string;
82
+
83
+ @IsBoolean()
84
+ helpNeeded: boolean;
85
+
86
+ @IsOptional()
87
+ @IsString()
88
+ @Length(1, 10)
89
+ internalNumber?: string;
90
+
91
+ @IsEnum(CountryId)
92
+ countryId: CountryId;
93
+
94
+ @IsString()
95
+ @Length(1, 100)
96
+ street?: string;
97
+
98
+ @IsString()
99
+ @Length(1, 10)
100
+ addressNumber?: string;
101
+
102
+ @IsOptional()
103
+ @IsString()
104
+ @Length(2, 60)
105
+ municipality?: string;
106
+
107
+ @IsOptional()
108
+ @IsString()
109
+ subMunicipality?: string;
110
+
111
+ @IsOptional()
112
+ @IsString()
113
+ @Length(2, 60)
114
+ neighborhood?: string;
115
+
116
+ @IsOptional()
117
+ @IsString()
118
+ @Length(2, 60)
119
+ subRegion?: string;
120
+
121
+ @IsString()
122
+ @Length(5, 10)
123
+ region?: string;
124
+
125
+ @IsString()
126
+ @Length(5, 10)
127
+ postalCode?: string;
128
+
129
+ @IsEnum(CountryId)
130
+ country: string;
131
131
  }
@@ -1,7 +1,7 @@
1
- import { AddressBase } from "./AddressBase";
2
-
3
-
4
- export class AddressCreateRequest extends AddressBase {
5
-
6
-
1
+ import { AddressBase } from "./AddressBase";
2
+
3
+
4
+ export class AddressCreateRequest extends AddressBase {
5
+
6
+
7
7
  }
@@ -1,41 +1,41 @@
1
-
2
-
3
-
4
- import { IsOptional, IsString, Length, Matches } from 'class-validator';
5
-
6
- import { regexIso8601, regexUuidV4 } from '../../helpers/constans/regex';
7
- import { AddressBase } from './AddressBase';
8
-
9
- export class AddressResponse extends AddressBase {
10
-
11
- @IsString()
12
- @Matches(regexUuidV4,
13
- {
14
- message: 'id must be a valid UUID v4',
15
- })
16
- id: string
17
-
18
- @IsOptional()
19
- @IsString()
20
- @Matches(regexIso8601,
21
- {
22
- message: 'createDate must be a valid ISO 8601 date string',
23
- })
24
- createDate: string;
25
-
26
- @IsOptional()
27
- @IsString()
28
- @Matches(regexIso8601,
29
- {
30
- message: 'updateDate must be a valid ISO 8601 date string',
31
- })
32
- updateDate?: string;
33
-
34
- @IsOptional()
35
- @IsString()
36
- @Length(1, 100)
37
- updatedBy?: string;
38
- }
39
-
40
-
41
-
1
+
2
+
3
+
4
+ import { IsOptional, IsString, Length, Matches } from 'class-validator';
5
+
6
+ import { regexIso8601, regexUuidV4 } from '../../helpers/constans/regex';
7
+ import { AddressBase } from './AddressBase';
8
+
9
+ export class AddressResponse extends AddressBase {
10
+
11
+ @IsString()
12
+ @Matches(regexUuidV4,
13
+ {
14
+ message: 'id must be a valid UUID v4',
15
+ })
16
+ id: string
17
+
18
+ @IsOptional()
19
+ @IsString()
20
+ @Matches(regexIso8601,
21
+ {
22
+ message: 'createDate must be a valid ISO 8601 date string',
23
+ })
24
+ createDate: string;
25
+
26
+ @IsOptional()
27
+ @IsString()
28
+ @Matches(regexIso8601,
29
+ {
30
+ message: 'updateDate must be a valid ISO 8601 date string',
31
+ })
32
+ updateDate?: string;
33
+
34
+ @IsOptional()
35
+ @IsString()
36
+ @Length(1, 100)
37
+ updatedBy?: string;
38
+ }
39
+
40
+
41
+
@@ -1,12 +1,12 @@
1
- import { CountryId } from "../../country";
2
-
3
-
4
- export class AddressShippingCardRequest {
5
-
6
- addressId: string | null;
7
- addressServiceLocationId: string | null;
8
- provider: string | null;
9
- serviceType: string | null;
10
- countryId: CountryId;
11
- directoryId: string;
12
- };
1
+ import { CountryId } from "../../country";
2
+
3
+
4
+ export class AddressShippingCardRequest {
5
+
6
+ addressId: string | null;
7
+ addressServiceLocationId: string | null;
8
+ provider: string | null;
9
+ serviceType: string | null;
10
+ countryId: CountryId;
11
+ directoryId: string;
12
+ };
@@ -1,11 +1,11 @@
1
- import { AddressResponse } from "./AddressResponse";
2
- import { OfficeDetails } from "./OfficeDetails";
3
-
4
-
5
- export declare type AddressShippingCardResponse = {
6
- addresses:
7
- {
8
- address: AddressResponse,
9
- closeOffice: OfficeDetails
10
- }
11
- };
1
+ import { AddressResponse } from "./AddressResponse";
2
+ import { OfficeDetails } from "./OfficeDetails";
3
+
4
+
5
+ export declare type AddressShippingCardResponse = {
6
+ addresses:
7
+ {
8
+ address: AddressResponse,
9
+ closeOffice: OfficeDetails
10
+ }
11
+ };
@@ -1,5 +1,5 @@
1
-
2
-
3
- export type Geometry = {
4
- point: [number, number];
1
+
2
+
3
+ export type Geometry = {
4
+ point: [number, number];
5
5
  }
@@ -1,31 +1,31 @@
1
- import { OperationSchedule } from "./OperationSchedule"
2
-
3
-
4
- export type OfficeDetails = {
5
- code: string;
6
- name: string;
7
- ownerName: string;
8
- address: AddressDetail;
9
- latitude: string;
10
- longitude: string;
11
- distance: number;
12
- phoneNumber: string;
13
- operationSchedule: OperationSchedule[];
14
- };
15
-
16
- export type AddressDetail = {
17
- fullAddress: string;
18
- address1: string;
19
- address2: string;
20
- city: string;
21
- neighorhood: string;
22
- state: string;
23
- zipCode: string;
24
- reference: string;
25
- betweenRoadName1: string;
26
- betweenRoadName2: string;
27
- externalNumber: string;
28
- internalNumber: string;
29
- roadTypeCode: string;
30
- roadTypeAbbName: string;
1
+ import { OperationSchedule } from "./OperationSchedule"
2
+
3
+
4
+ export type OfficeDetails = {
5
+ code: string;
6
+ name: string;
7
+ ownerName: string;
8
+ address: AddressDetail;
9
+ latitude: string;
10
+ longitude: string;
11
+ distance: number;
12
+ phoneNumber: string;
13
+ operationSchedule: OperationSchedule[];
14
+ };
15
+
16
+ export type AddressDetail = {
17
+ fullAddress: string;
18
+ address1: string;
19
+ address2: string;
20
+ city: string;
21
+ neighorhood: string;
22
+ state: string;
23
+ zipCode: string;
24
+ reference: string;
25
+ betweenRoadName1: string;
26
+ betweenRoadName2: string;
27
+ externalNumber: string;
28
+ internalNumber: string;
29
+ roadTypeCode: string;
30
+ roadTypeAbbName: string;
31
31
  };
@@ -1,9 +1,9 @@
1
-
2
-
3
- export type OperationSchedule = {
4
- Weekday: string
5
- StartHourDay: string
6
- FinishHourDay: string
7
- StartHourLunchDay: string
8
- FinishHourLunchDay: string
1
+
2
+
3
+ export type OperationSchedule = {
4
+ Weekday: string
5
+ StartHourDay: string
6
+ FinishHourDay: string
7
+ StartHourLunchDay: string
8
+ FinishHourLunchDay: string
9
9
  }
@@ -1,84 +1,84 @@
1
- import { IsArray, IsBoolean, IsEnum, IsOptional, IsString, Length, ValidateNested } from 'class-validator';
2
- import { Geometry } from "./Geometry";
3
- import { Timezone } from "./Timezone";
4
- import { Country } from '../../country/enums/Country';
5
-
6
- export class Place {
7
- @ValidateNested()
8
- geometry: Geometry;
9
-
10
- @IsOptional()
11
- @IsString()
12
- addressNumber?: string;
13
-
14
- @IsOptional()
15
- @IsArray()
16
- @IsString({ each: true })
17
- categories?: string[];
18
-
19
- @IsOptional()
20
- @IsEnum(Country)
21
- country?: string;
22
-
23
- @IsBoolean()
24
- interpolated: boolean;
25
-
26
- @IsOptional()
27
- @IsString()
28
- @Length(1, 300)
29
- label?: string;
30
-
31
- @IsOptional()
32
- @IsString()
33
- @Length(1, 60)
34
- municipality?: string;
35
-
36
- @IsOptional()
37
- @IsString()
38
- @Length(2, 60)
39
- neighborhood?: string;
40
-
41
- @IsOptional()
42
- @IsString()
43
- @Length(5, 10)
44
- postalCode?: string;
45
-
46
- @IsOptional()
47
- @IsString()
48
- @Length(5, 10)
49
- region?: string;
50
-
51
- @IsOptional()
52
- @IsString()
53
- @Length(1, 100)
54
- street?: string;
55
-
56
- @IsOptional()
57
- @IsString()
58
- @Length(2, 60)
59
- subMunicipality?: string;
60
-
61
- @IsOptional()
62
- @IsString()
63
- @Length(2, 60)
64
- subRegion?: string;
65
-
66
- @IsOptional()
67
- @IsArray()
68
- @IsString({ each: true })
69
- supplementalCategories?: string[];
70
-
71
- @IsOptional()
72
- @ValidateNested()
73
- timezone?: Timezone;
74
-
75
- @IsOptional()
76
- @IsString()
77
- @Length(1, 10)
78
- unitNumber?: string;
79
-
80
- @IsOptional()
81
- @IsString()
82
- @Length(1, 10)
83
- unitType?: string;
1
+ import { IsArray, IsBoolean, IsEnum, IsOptional, IsString, Length, ValidateNested } from 'class-validator';
2
+ import { Geometry } from "./Geometry";
3
+ import { Timezone } from "./Timezone";
4
+ import { Country } from '../../country/enums/Country';
5
+
6
+ export class Place {
7
+ @ValidateNested()
8
+ geometry: Geometry;
9
+
10
+ @IsOptional()
11
+ @IsString()
12
+ addressNumber?: string;
13
+
14
+ @IsOptional()
15
+ @IsArray()
16
+ @IsString({ each: true })
17
+ categories?: string[];
18
+
19
+ @IsOptional()
20
+ @IsEnum(Country)
21
+ country?: string;
22
+
23
+ @IsBoolean()
24
+ interpolated: boolean;
25
+
26
+ @IsOptional()
27
+ @IsString()
28
+ @Length(1, 300)
29
+ label?: string;
30
+
31
+ @IsOptional()
32
+ @IsString()
33
+ @Length(1, 60)
34
+ municipality?: string;
35
+
36
+ @IsOptional()
37
+ @IsString()
38
+ @Length(2, 60)
39
+ neighborhood?: string;
40
+
41
+ @IsOptional()
42
+ @IsString()
43
+ @Length(5, 10)
44
+ postalCode?: string;
45
+
46
+ @IsOptional()
47
+ @IsString()
48
+ @Length(5, 10)
49
+ region?: string;
50
+
51
+ @IsOptional()
52
+ @IsString()
53
+ @Length(1, 100)
54
+ street?: string;
55
+
56
+ @IsOptional()
57
+ @IsString()
58
+ @Length(2, 60)
59
+ subMunicipality?: string;
60
+
61
+ @IsOptional()
62
+ @IsString()
63
+ @Length(2, 60)
64
+ subRegion?: string;
65
+
66
+ @IsOptional()
67
+ @IsArray()
68
+ @IsString({ each: true })
69
+ supplementalCategories?: string[];
70
+
71
+ @IsOptional()
72
+ @ValidateNested()
73
+ timezone?: Timezone;
74
+
75
+ @IsOptional()
76
+ @IsString()
77
+ @Length(1, 10)
78
+ unitNumber?: string;
79
+
80
+ @IsOptional()
81
+ @IsString()
82
+ @Length(1, 10)
83
+ unitType?: string;
84
84
  }