@fiado/type-kit 1.2.48 → 1.2.50

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 (336) hide show
  1. package/README.md +70 -70
  2. package/bin/card/validations/CardUpdateKeyConstraint.js +2 -2
  3. package/bin/card/validations/IsPhoneNumberConstraint.js +2 -2
  4. package/bin/contactInfo/dtos/ContactInfoBackOfficeResponse.d.ts +4 -0
  5. package/bin/contactInfo/dtos/ContactInfoBackOfficeResponse.js +7 -0
  6. package/bin/contactInfo/dtos/ContactInfoCreateBackOfficeRequest.d.ts +4 -0
  7. package/bin/{account/dtos/PocketCreateRequest.js → contactInfo/dtos/ContactInfoCreateBackOfficeRequest.js} +7 -14
  8. package/bin/contactInfo/dtos/ContactInfoCreateRequest.d.ts +2 -15
  9. package/bin/contactInfo/dtos/ContactInfoCreateRequest.js +2 -65
  10. package/bin/contactInfo/dtos/ContactInfoRequest.d.ts +11 -0
  11. package/bin/{tern/dtos/TernAddress.js → contactInfo/dtos/ContactInfoRequest.js} +25 -16
  12. package/bin/contactInfo/dtos/ContactInfoResponse.d.ts +12 -0
  13. package/bin/contactInfo/dtos/ContactInfoResponse.js +6 -0
  14. package/bin/contactInfo/dtos/ContactInfoUpdateBackOfficeRequest.d.ts +5 -0
  15. package/bin/{tern/dtos/TernGetAccountRequest.js → contactInfo/dtos/ContactInfoUpdateBackOfficeRequest.js} +12 -9
  16. package/bin/contactInfo/dtos/ContactInfoUpdateRequest.d.ts +3 -0
  17. package/bin/contactInfo/dtos/ContactInfoUpdateRequest.js +7 -0
  18. package/bin/contactInfo/index.d.ts +6 -1
  19. package/bin/contactInfo/index.js +6 -1
  20. package/package.json +23 -23
  21. package/src/account/dtos/AccountCreateRequest.ts +79 -79
  22. package/src/account/dtos/AccountCreateResponse.ts +7 -7
  23. package/src/account/dtos/AccountInfo.ts +39 -39
  24. package/src/account/dtos/AccountUpdateBalanceRequest.ts +6 -6
  25. package/src/account/dtos/AccountUpdateRequest.ts +36 -36
  26. package/src/account/dtos/BankAccountExternalAddress.ts +17 -17
  27. package/src/account/dtos/BankAccountP2pTransferRequest.ts +7 -7
  28. package/src/account/dtos/CreateBankAccountRequest.ts +11 -11
  29. package/src/account/dtos/CreateBankAccountResponse.ts +8 -8
  30. package/src/account/dtos/CreateBankAccountUserRequest.ts +17 -17
  31. package/src/account/dtos/CreateBankAccountUserResponse.ts +11 -11
  32. package/src/account/dtos/ExchangeInfo.ts +8 -8
  33. package/src/account/dtos/ExecuteP2pOperationRequest.ts +7 -7
  34. package/src/account/dtos/ExecutePocketOperationRequest.ts +5 -5
  35. package/src/account/dtos/GetAccountBalanceResponse.ts +46 -46
  36. package/src/account/dtos/GetAccountResponse.ts +62 -62
  37. package/src/account/dtos/GetBankAccountRequest.ts +3 -3
  38. package/src/account/dtos/GetBankAccountResponse.ts +22 -22
  39. package/src/account/dtos/GetBankAccountSensitiveInformationRequest.ts +5 -5
  40. package/src/account/dtos/GetBankAccountSensitiveInformationResponse.ts +8 -8
  41. package/src/account/dtos/GetBankAccountUserRequest.ts +2 -2
  42. package/src/account/dtos/GetBankAccountUserResponse.ts +25 -25
  43. package/src/account/dtos/GetPocketBalanceResponse.ts +46 -46
  44. package/src/account/dtos/GetPocketResponse.ts +8 -8
  45. package/src/account/dtos/PocketBalanceItem.ts +17 -17
  46. package/src/account/dtos/PocketItem.ts +43 -43
  47. package/src/account/dtos/UpdateBalanceOperation.ts +10 -10
  48. package/src/account/dtos/UpdateBankAccountUserRequest.ts +26 -26
  49. package/src/account/dtos/UpdateBankAccountUserResponse.ts +3 -3
  50. package/src/account/entities/AccountEntityBase.ts +12 -12
  51. package/src/account/enums/AccountEntityStatusEnum.ts +4 -4
  52. package/src/account/enums/AccountLevelEnum.ts +5 -5
  53. package/src/account/enums/BankAccountP2pTransferType.ts +5 -5
  54. package/src/account/enums/BankAccountTypeEnum.ts +2 -2
  55. package/src/account/enums/BankAccountUserStatusEnum.ts +4 -4
  56. package/src/account/enums/UserEntityStatusEnum.ts +4 -4
  57. package/src/account/index.ts +42 -42
  58. package/src/activity/dtos/ActivityMessageRequest.ts +24 -24
  59. package/src/activity/dtos/ActivityMessageResponse.ts +24 -24
  60. package/src/activity/dtos/ActivityQueueMessage.ts +9 -9
  61. package/src/activity/index.ts +8 -8
  62. package/src/address/dtos/AddressBase.ts +130 -130
  63. package/src/address/dtos/AddressCreateRequest.ts +6 -6
  64. package/src/address/dtos/AddressResponse.ts +41 -41
  65. package/src/address/dtos/AddressShippingCardRequest.ts +12 -12
  66. package/src/address/dtos/AddressShippingCardResponse.ts +11 -11
  67. package/src/address/dtos/Geometry.ts +4 -4
  68. package/src/address/dtos/OfficeDetails.ts +30 -30
  69. package/src/address/dtos/OperationSchedule.ts +8 -8
  70. package/src/address/dtos/Place.ts +83 -83
  71. package/src/address/dtos/Shipping.ts +36 -36
  72. package/src/address/dtos/Timezone.ts +5 -5
  73. package/src/address/enums/AddressProvider.ts +10 -10
  74. package/src/address/enums/AddressStatus.ts +9 -9
  75. package/src/address/index.ts +16 -16
  76. package/src/app/enums/App.ts +10 -10
  77. package/src/app/index.ts +3 -3
  78. package/src/authentication/dtos/SignUpAdditionalRequest.ts +32 -32
  79. package/src/authentication/dtos/SignUpAdditionalResponse.ts +5 -5
  80. package/src/authentication/index.ts +3 -3
  81. package/src/bankAccount/dtos/ExternalAccountCurrency.ts +3 -3
  82. package/src/bankAccount/dtos/ExternalAccountType.ts +3 -3
  83. package/src/bankAccount/dtos/GetExternalBankAccountRequest.ts +11 -11
  84. package/src/bankAccount/dtos/GetExternalBankAccountResponse.ts +15 -15
  85. package/src/bankAccount/dtos/GetExternalBankResponse.ts +13 -13
  86. package/src/bankAccount/index.ts +4 -4
  87. package/src/bbvaRst/dtos/CreateRSTTransactionRequest.ts +14 -14
  88. package/src/bbvaRst/dtos/CreateRSTTransactionResponse.ts +9 -9
  89. package/src/bbvaRst/enums/RSTStatusEnum.ts +4 -4
  90. package/src/bbvaRst/index.ts +2 -2
  91. package/src/beneficiary/dtos/AccountBeneficiaryCreateRequest.ts +41 -41
  92. package/src/beneficiary/dtos/AccountBeneficiaryResponse.ts +23 -23
  93. package/src/beneficiary/dtos/AccountBeneficiaryUpdateRequest.ts +39 -39
  94. package/src/beneficiary/enums/AccountType.ts +6 -6
  95. package/src/beneficiary/index.ts +7 -7
  96. package/src/card/dtos/CardActivateRequest.ts +12 -12
  97. package/src/card/dtos/CardAdditionalRequest.ts +25 -25
  98. package/src/card/dtos/CardAdditionalResponse.ts +14 -14
  99. package/src/card/dtos/CardApplicationRequest.ts +27 -27
  100. package/src/card/dtos/CardBalanceResponse.ts +10 -10
  101. package/src/card/dtos/CardCreateAdditionalRequest.ts +78 -78
  102. package/src/card/dtos/CardResponse.ts +34 -34
  103. package/src/card/dtos/CardSensitiveInformationResponse.ts +18 -18
  104. package/src/card/dtos/CardShipmentQueueMessage.ts +7 -7
  105. package/src/card/dtos/CardShipmentUpdateRequest.ts +19 -19
  106. package/src/card/dtos/CardSummaryResponse.ts +10 -10
  107. package/src/card/dtos/CardUpdateRequest.ts +11 -11
  108. package/src/card/dtos/Internal/ActivateBankAccountCardRequest.ts +9 -9
  109. package/src/card/dtos/Internal/ActivateBankAccountCardResponse.ts +4 -4
  110. package/src/card/dtos/Internal/AssignCardRequest.ts +8 -8
  111. package/src/card/dtos/Internal/CreateBankAccountCardRequest.ts +16 -16
  112. package/src/card/dtos/Internal/CreateBankAccountCardResponse.ts +8 -8
  113. package/src/card/dtos/Internal/CreateBankAccountCardShippingRequest.ts +14 -14
  114. package/src/card/dtos/Internal/CreateBankAccountCardShippingResponse.ts +12 -12
  115. package/src/card/dtos/Internal/GetBankAccountCardResponse.ts +32 -32
  116. package/src/card/dtos/Internal/GetBankAccountShippingRequest.ts +5 -5
  117. package/src/card/dtos/Internal/GetBankAccountShippingResponse.ts +19 -19
  118. package/src/card/dtos/Internal/UpdateBankAccountCardRequest.ts +21 -21
  119. package/src/card/dtos/Internal/UpdateBankAccountCardResponse.ts +5 -5
  120. package/src/card/enums/Brand.ts +7 -7
  121. package/src/card/enums/CardIssuanceStatus.ts +5 -5
  122. package/src/card/enums/CardIssuing.ts +6 -6
  123. package/src/card/enums/CardType.ts +4 -4
  124. package/src/card/enums/CardUpdateKey.ts +4 -4
  125. package/src/card/enums/CreditOrDebit.ts +5 -5
  126. package/src/card/enums/DeliveryChannel.ts +7 -7
  127. package/src/card/enums/ExternalShippingStatus.ts +14 -14
  128. package/src/card/enums/ExternalShippingStatusDetails.ts +53 -53
  129. package/src/card/enums/IssuanceType.ts +5 -5
  130. package/src/card/enums/NominatedOrInnominated.ts +8 -8
  131. package/src/card/enums/OwnershipType.ts +3 -3
  132. package/src/card/enums/ShippingStatus.ts +8 -8
  133. package/src/card/enums/Status.ts +6 -6
  134. package/src/card/enums/UpdateKey.ts +5 -5
  135. package/src/card/enums/VirtualOrPhysical.ts +6 -6
  136. package/src/card/index.ts +50 -50
  137. package/src/card/validations/CardUpdateKeyConstraint.ts +53 -53
  138. package/src/card/validations/IsPhoneNumberConstraint.ts +29 -29
  139. package/src/contactInfo/dtos/ContactInfoBackOfficeResponse.ts +7 -0
  140. package/src/contactInfo/dtos/ContactInfoCreateBackOfficeRequest.ts +11 -0
  141. package/src/contactInfo/dtos/ContactInfoCreateRequest.ts +3 -48
  142. package/src/contactInfo/dtos/ContactInfoRequest.ts +30 -0
  143. package/src/contactInfo/dtos/{GetAllContactInfoResponse.ts → ContactInfoResponse.ts} +14 -13
  144. package/src/contactInfo/dtos/ContactInfoUpdateBackOfficeRequest.ts +16 -0
  145. package/src/contactInfo/dtos/ContactInfoUpdateRequest.ts +5 -0
  146. package/src/contactInfo/enums/TypeOfContactIdEnum.ts +3 -3
  147. package/src/contactInfo/index.ts +7 -2
  148. package/src/contract/dtos/ContractCreateRequest.ts +29 -29
  149. package/src/contract/dtos/ContractCreateResponse.ts +2 -2
  150. package/src/contract/index.ts +4 -4
  151. package/src/country/enums/Country.ts +6 -6
  152. package/src/country/enums/CountryId.ts +6 -6
  153. package/src/country/index.ts +5 -5
  154. package/src/creditContract/dtos/CreditContractCreateRequest.ts +51 -51
  155. package/src/creditContract/enums/InstrumentEnum.ts +5 -5
  156. package/src/creditContract/index.ts +5 -5
  157. package/src/currency/dtos/CurrencyResponse.ts +8 -8
  158. package/src/currency/index.ts +2 -2
  159. package/src/directory/dtos/DirectoryResponse.ts +19 -19
  160. package/src/directory/dtos/External.ts +6 -6
  161. package/src/directory/enums/Profile.ts +6 -6
  162. package/src/directory/enums/Scope.ts +7 -7
  163. package/src/directory/enums/Status.ts +8 -8
  164. package/src/directory/enums/TypeOfDirectoryId.ts +6 -6
  165. package/src/directory/index.ts +7 -7
  166. package/src/eventBridge/dto/EventBridgeMessageRequest.ts +4 -4
  167. package/src/eventBridge/index.ts +1 -1
  168. package/src/exchangeRate/dtos/ExchangeRateCreateRequest.ts +50 -50
  169. package/src/exchangeRate/dtos/ExchangeRateCreateResponse.ts +4 -4
  170. package/src/exchangeRate/dtos/ExchangeRateResponse.ts +19 -19
  171. package/src/exchangeRate/dtos/GetExchangeRatesRequest.ts +3 -3
  172. package/src/exchangeRate/enums/ExchangeRateStatus.ts +5 -5
  173. package/src/exchangeRate/index.ts +9 -9
  174. package/src/fraudPreventionEngine/dtos/CreateAccountLevelRequest.ts +9 -9
  175. package/src/fraudPreventionEngine/dtos/GetAccountLevelParams.ts +3 -3
  176. package/src/fraudPreventionEngine/dtos/GetAccountLevelResponse.ts +7 -7
  177. package/src/fraudPreventionEngine/enums/AccountLevelTenantEnum.ts +5 -5
  178. package/src/fraudPreventionEngine/index.ts +5 -5
  179. package/src/genericMessage/dto/GenericMessageRequest.ts +17 -17
  180. package/src/genericMessage/enums/GenericMessageSourceEnum.ts +3 -3
  181. package/src/genericMessage/index.ts +1 -1
  182. package/src/group/dtos/GroupAddDirectoryRequest.ts +27 -27
  183. package/src/group/dtos/GroupCreateRequest.ts +54 -54
  184. package/src/group/dtos/GroupDirectoryRelationsResponse.ts +20 -20
  185. package/src/group/dtos/GroupDirectoryRelationsUpdateRequest.ts +10 -10
  186. package/src/group/dtos/GroupResponse.ts +17 -17
  187. package/src/group/dtos/GroupUpdateRequest.ts +31 -31
  188. package/src/group/enums/GroupAction.ts +8 -8
  189. package/src/group/enums/GroupStatus.ts +6 -6
  190. package/src/group/enums/RelationStatus.ts +8 -8
  191. package/src/group/enums/RelationType.ts +9 -9
  192. package/src/group/index.ts +18 -18
  193. package/src/header/TokenPayload.ts +18 -18
  194. package/src/header/index.ts +3 -3
  195. package/src/helpers/ValidationUtils.ts +32 -32
  196. package/src/helpers/constans/regex.ts +12 -12
  197. package/src/identity/dtos/IdentificationDocument.ts +24 -24
  198. package/src/identity/dtos/PeopleCreateRequest.ts +4 -4
  199. package/src/identity/dtos/PeopleResponse.ts +74 -74
  200. package/src/identity/dtos/PeopleUpdateRequest.ts +73 -73
  201. package/src/identity/dtos/TypeOfDocument.ts +11 -11
  202. package/src/identity/enums/IdentificationDocumentStatus.ts +7 -7
  203. package/src/identity/enums/SexDocument.ts +6 -6
  204. package/src/identity/enums/TypeOfDocument.ts +5 -5
  205. package/src/identity/index.ts +12 -12
  206. package/src/index.ts +35 -35
  207. package/src/notificationMessages/dtos/NotificationQueueMessageRequest.ts +7 -7
  208. package/src/notificationMessages/dtos/QueueMessageDestination.ts +6 -6
  209. package/src/notificationMessages/dtos/QueueMessageVariableValues.ts +3 -3
  210. package/src/notificationMessages/enums/NotificationId.ts +13 -13
  211. package/src/notificationMessages/index.ts +5 -5
  212. package/src/p2pContact/dtos/CreateP2pContactRequest.ts +8 -8
  213. package/src/productCatalog/dtos/CreateProductCatalogRequest.ts +14 -14
  214. package/src/productCatalog/dtos/GetProductCatalogResponse.ts +38 -38
  215. package/src/productCatalog/enums/ProductTaxFeeTypeEnum.ts +3 -3
  216. package/src/productCatalog/enums/ProductTypeEnum.ts +15 -15
  217. package/src/productCatalog/index.ts +4 -4
  218. package/src/provider/enums/Provider.ts +4 -4
  219. package/src/provider/index.ts +1 -1
  220. package/src/queue/dtos/QueueMessageBase.ts +13 -13
  221. package/src/servicePayment/dtos/GetCatalogParams.ts +5 -5
  222. package/src/servicePayment/dtos/ServicePaymentRequest.ts +33 -33
  223. package/src/servicePayment/index.ts +1 -1
  224. package/src/sessionActivity/dtos/SessionActivityQueueMessageRequest.ts +10 -10
  225. package/src/sessionActivity/enums/SessionActivityActionEnum.ts +7 -7
  226. package/src/sessionActivity/enums/SessionActivityActionOriginEnum.ts +4 -4
  227. package/src/sessionActivity/index.ts +2 -2
  228. package/src/stpSpei/dtos/PutStpOrderRequest.ts +13 -13
  229. package/src/stpSpei/dtos/SpeiWebhookMessage.ts +9 -9
  230. package/src/stpSpei/enums/WebhookMessageStatusEnum.ts +4 -4
  231. package/src/stpSpei/index.ts +3 -3
  232. package/src/transaction/dtos/Credit.ts +24 -24
  233. package/src/transaction/dtos/Debit.ts +20 -20
  234. package/src/transaction/dtos/Notional.ts +20 -20
  235. package/src/transaction/dtos/Product.ts +16 -16
  236. package/src/transaction/dtos/ProductDetail.ts +23 -23
  237. package/src/transaction/dtos/Total.ts +20 -20
  238. package/src/transaction/dtos/TransactionCreateRequest.ts +109 -109
  239. package/src/transaction/dtos/TransactionCreateResponse.ts +4 -4
  240. package/src/transaction/dtos/TransactionGetDetailResponse.ts +24 -24
  241. package/src/transaction/dtos/TransactionGetResponse.ts +19 -19
  242. package/src/transaction/enums/OperationEnum.ts +3 -3
  243. package/src/transaction/enums/TransactionSourceEnum.ts +4 -4
  244. package/src/transaction/enums/TransactionStatusEnum.ts +6 -6
  245. package/src/transaction/index.ts +17 -17
  246. package/src/transactionProcessor/dtos/AmountInfo.ts +6 -6
  247. package/src/transactionProcessor/dtos/AmountInfoItem.ts +3 -3
  248. package/src/transactionProcessor/dtos/AuthorizeCreditCardAdjustmentRequest.ts +19 -19
  249. package/src/transactionProcessor/dtos/AuthorizeCreditCardPurchaseRequest.ts +16 -16
  250. package/src/transactionProcessor/dtos/AuthorizeP2pTransactionRequest.ts +8 -8
  251. package/src/transactionProcessor/dtos/AuthorizePocketTransactionRequest.ts +8 -8
  252. package/src/transactionProcessor/dtos/AuthorizeRstTransactionRequest.ts +4 -4
  253. package/src/transactionProcessor/dtos/AuthorizeServicePaymentRequest.ts +7 -7
  254. package/src/transactionProcessor/dtos/AuthorizeSpeiBankTransferRequest.ts +6 -6
  255. package/src/transactionProcessor/dtos/CardInfo.ts +5 -5
  256. package/src/transactionProcessor/dtos/InstallmentsInfo.ts +6 -6
  257. package/src/transactionProcessor/dtos/MerchantInfo.ts +6 -6
  258. package/src/transactionProcessor/dtos/ProcessUpdateLevelRequest.ts +3 -3
  259. package/src/transactionProcessor/dtos/RSTTransactionStatusUpdate.ts +6 -6
  260. package/src/transactionProcessor/dtos/SpeiBankTransferStatusUpdate.ts +6 -6
  261. package/src/transactionProcessor/dtos/TransactionInfo.ts +7 -7
  262. package/src/transactionProcessor/dtos/TransactionProcessorQueueMessage.ts +3 -3
  263. package/src/transactionProcessor/enums/AsyncTxStatusEnum.ts +5 -5
  264. package/src/transactionProcessor/enums/TransactionProcessorCodesEnum.ts +15 -15
  265. package/src/transactionProcessor/index.ts +20 -20
  266. package/bin/account/dtos/AccountResponse.d.ts +0 -21
  267. package/bin/account/dtos/AccountResponse.js +0 -6
  268. package/bin/account/dtos/CreateBankAccountInput.d.ts +0 -8
  269. package/bin/account/dtos/CreateBankAccountInput.js +0 -6
  270. package/bin/account/dtos/CreateBankAccountUserInput.d.ts +0 -14
  271. package/bin/account/dtos/CreateBankAccountUserInput.js +0 -6
  272. package/bin/account/dtos/PocketCreateRequest.d.ts +0 -4
  273. package/bin/account/dtos/PocketCreateResponse.d.ts +0 -2
  274. package/bin/account/dtos/PocketCreateResponse.js +0 -6
  275. package/bin/account/enums/AccountStatus.d.ts +0 -5
  276. package/bin/account/enums/AccountStatus.js +0 -9
  277. package/bin/card/dtos/CardCreateRequest.d.ts +0 -34
  278. package/bin/card/dtos/CardCreateRequest.js +0 -176
  279. package/bin/group/dtos/GroupDirectoryRetationsUpdateRequest.d.ts +0 -3
  280. package/bin/group/dtos/GroupDirectoryRetationsUpdateRequest.js +0 -22
  281. package/bin/pomelo/dtos/PomeloCreateUserRequest.d.ts +0 -28
  282. package/bin/pomelo/dtos/PomeloCreateUserRequest.js +0 -2
  283. package/bin/pomelo/dtos/PomeloCreateUserResponse.d.ts +0 -35
  284. package/bin/pomelo/dtos/PomeloCreateUserResponse.js +0 -2
  285. package/bin/pomelo/enums/CountryEnum.d.ts +0 -8
  286. package/bin/pomelo/enums/CountryEnum.js +0 -12
  287. package/bin/pomelo/enums/IdentificationTypeEnum.d.ts +0 -7
  288. package/bin/pomelo/enums/IdentificationTypeEnum.js +0 -11
  289. package/bin/pomelo/enums/SexEnum.d.ts +0 -4
  290. package/bin/pomelo/enums/SexEnum.js +0 -8
  291. package/bin/pomelo/enums/TaxTypeEnum.d.ts +0 -7
  292. package/bin/pomelo/enums/TaxTypeEnum.js +0 -11
  293. package/bin/pomelo/enums/UserStatusEnum.d.ts +0 -4
  294. package/bin/pomelo/enums/UserStatusEnum.js +0 -8
  295. package/bin/pomelo/index.d.ts +0 -7
  296. package/bin/pomelo/index.js +0 -25
  297. package/bin/productCatalog/dtos/GetProductCatalogRequest.d.ts +0 -3
  298. package/bin/productCatalog/dtos/GetProductCatalogRequest.js +0 -19
  299. package/bin/tern/dtos/TernAddress.d.ts +0 -8
  300. package/bin/tern/dtos/TernCreateAccountRequest.d.ts +0 -7
  301. package/bin/tern/dtos/TernCreateAccountRequest.js +0 -33
  302. package/bin/tern/dtos/TernCreateAccountResponse.d.ts +0 -5
  303. package/bin/tern/dtos/TernCreateAccountResponse.js +0 -25
  304. package/bin/tern/dtos/TernCreateUserRequest.d.ts +0 -15
  305. package/bin/tern/dtos/TernCreateUserRequest.js +0 -70
  306. package/bin/tern/dtos/TernCreateUserResponse.d.ts +0 -8
  307. package/bin/tern/dtos/TernCreateUserResponse.js +0 -37
  308. package/bin/tern/dtos/TernGetAccountRequest.d.ts +0 -5
  309. package/bin/tern/dtos/TernGetAccountResponse.d.ts +0 -22
  310. package/bin/tern/dtos/TernGetAccountResponse.js +0 -87
  311. package/bin/tern/dtos/TernGetUserRequest.d.ts +0 -3
  312. package/bin/tern/dtos/TernGetUserRequest.js +0 -20
  313. package/bin/tern/dtos/TernGetUserResponse.d.ts +0 -24
  314. package/bin/tern/dtos/TernGetUserResponse.js +0 -96
  315. package/bin/tern/enums/TernAccountStatusEnum.d.ts +0 -4
  316. package/bin/tern/enums/TernAccountStatusEnum.js +0 -8
  317. package/bin/tern/enums/TernAccountTypeEnum.d.ts +0 -5
  318. package/bin/tern/enums/TernAccountTypeEnum.js +0 -9
  319. package/bin/tern/index.d.ts +0 -11
  320. package/bin/tern/index.js +0 -29
  321. package/bin/transactionProcessor/dtos/private/AuthorizeP2pTransactionRequest.d.ts +0 -5
  322. package/bin/transactionProcessor/dtos/private/AuthorizeP2pTransactionRequest.js +0 -6
  323. package/bin/transactionProcessor/dtos/private/AuthorizePocketTransactionRequest.d.ts +0 -7
  324. package/bin/transactionProcessor/dtos/private/AuthorizePocketTransactionRequest.js +0 -6
  325. package/bin/transactionProcessor/dtos/private/PrivateProcessorAmountInfo.d.ts +0 -6
  326. package/bin/transactionProcessor/dtos/private/PrivateProcessorAmountInfo.js +0 -6
  327. package/bin/transactionProcessor/dtos/private/PrivateProcessorAmountInfoItem.d.ts +0 -4
  328. package/bin/transactionProcessor/dtos/private/PrivateProcessorAmountInfoItem.js +0 -6
  329. package/bin/transactionProcessor/dtos/private/PrivateProcessorCardInfo.d.ts +0 -6
  330. package/bin/transactionProcessor/dtos/private/PrivateProcessorCardInfo.js +0 -6
  331. package/bin/transactionProcessor/dtos/private/PrivateProcessorMerchantInfo.d.ts +0 -7
  332. package/bin/transactionProcessor/dtos/private/PrivateProcessorMerchantInfo.js +0 -6
  333. package/bin/transactionProcessor/dtos/private/PrivateProcessorTransactionInfo.d.ts +0 -8
  334. package/bin/transactionProcessor/dtos/private/PrivateProcessorTransactionInfo.js +0 -6
  335. package/bin/transactionProcessor/dtos/private/PrivateTransactionProcessorRequest.d.ts +0 -16
  336. package/bin/transactionProcessor/dtos/private/PrivateTransactionProcessorRequest.js +0 -6
@@ -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
  }
@@ -1,10 +1,10 @@
1
-
2
-
3
- export class ActivateBankAccountCardRequest {
4
- externalAccountId?: string;
5
- externalUserId?: string;
6
- pin?: string;
7
- pan?: string;
8
- previousCardId?: string;
9
- value?: string;
1
+
2
+
3
+ export class ActivateBankAccountCardRequest {
4
+ externalAccountId?: string;
5
+ externalUserId?: string;
6
+ pin?: string;
7
+ pan?: string;
8
+ previousCardId?: string;
9
+ value?: string;
10
10
  }
@@ -1,5 +1,5 @@
1
-
2
-
3
- export class ActivateBankAccountCardResponse {
4
- activated: boolean;
1
+
2
+
3
+ export class ActivateBankAccountCardResponse {
4
+ activated: boolean;
5
5
  }
@@ -1,8 +1,8 @@
1
-
2
-
3
-
4
- export type AssignCardRequest = {
5
- proxyValue: string,
6
- accountId: number
7
- }
8
-
1
+
2
+
3
+
4
+ export type AssignCardRequest = {
5
+ proxyValue: string,
6
+ accountId: number
7
+ }
8
+
@@ -1,17 +1,17 @@
1
- import { AddressResponse } from "../../../address";
2
- import { CardIssuing } from "../../enums/CardIssuing";
3
- import { VirtualOrPhysical } from "../../enums/VirtualOrPhysical";
4
-
5
- export class CreateBankAccountCardRequest {
6
- externalUserId?: string;
7
- externalAccountId?: string;
8
- cardType: VirtualOrPhysical;
9
- firstName: string;
10
- lastName: string;
11
- address: AddressResponse;
12
- nominated: boolean;
13
- directoryId?: string;
14
- typeOfDirectoryId?: string;
15
- previousCardId?: string;
16
- issuing: CardIssuing;
1
+ import { AddressResponse } from "../../../address";
2
+ import { CardIssuing } from "../../enums/CardIssuing";
3
+ import { VirtualOrPhysical } from "../../enums/VirtualOrPhysical";
4
+
5
+ export class CreateBankAccountCardRequest {
6
+ externalUserId?: string;
7
+ externalAccountId?: string;
8
+ cardType: VirtualOrPhysical;
9
+ firstName: string;
10
+ lastName: string;
11
+ address: AddressResponse;
12
+ nominated: boolean;
13
+ directoryId?: string;
14
+ typeOfDirectoryId?: string;
15
+ previousCardId?: string;
16
+ issuing: CardIssuing;
17
17
  }
@@ -1,9 +1,9 @@
1
- import { Provider } from "../../../provider";
2
- import { Status } from "../../enums/Status";
3
-
4
-
5
- export class CreateBankAccountCardResponse {
6
- externalCardId: string;
7
- provider: Provider;
8
- status: Status;
1
+ import { Provider } from "../../../provider";
2
+ import { Status } from "../../enums/Status";
3
+
4
+
5
+ export class CreateBankAccountCardResponse {
6
+ externalCardId: string;
7
+ provider: Provider;
8
+ status: Status;
9
9
  }
@@ -1,15 +1,15 @@
1
- import { AddressResponse } from "../../../address";
2
- import { TypeOfDocument } from "../../../identity/enums/TypeOfDocument";
3
-
4
- export class CreateBankAccountCardShippingRequest {
5
- externalCardId?: string;
6
- typeOfDocumentId?: TypeOfDocument;
7
- documentNumber?: string;
8
- phoneNumber?: string;
9
- firstName: string;
10
- lastName: string;
11
- address: AddressResponse;
12
- nominated: boolean;
13
- email?: string;
14
- userId?: string;
1
+ import { AddressResponse } from "../../../address";
2
+ import { TypeOfDocument } from "../../../identity/enums/TypeOfDocument";
3
+
4
+ export class CreateBankAccountCardShippingRequest {
5
+ externalCardId?: string;
6
+ typeOfDocumentId?: TypeOfDocument;
7
+ documentNumber?: string;
8
+ phoneNumber?: string;
9
+ firstName: string;
10
+ lastName: string;
11
+ address: AddressResponse;
12
+ nominated: boolean;
13
+ email?: string;
14
+ userId?: string;
15
15
  }
@@ -1,13 +1,13 @@
1
-
2
-
3
- export class CreateBankAccountCardShippingResponse {
4
- externalShippingId: string;
5
- type: string;
6
- status: string;
7
- statusDetail: string;
8
- courier: {
9
- company: string;
10
- trackingNumber?: string;
11
- trackingUrl?: string;
12
- };
1
+
2
+
3
+ export class CreateBankAccountCardShippingResponse {
4
+ externalShippingId: string;
5
+ type: string;
6
+ status: string;
7
+ statusDetail: string;
8
+ courier: {
9
+ company: string;
10
+ trackingNumber?: string;
11
+ trackingUrl?: string;
12
+ };
13
13
  }
@@ -1,33 +1,33 @@
1
- import { CountryId } from "../../../country";
2
- import { Provider } from "../../../provider";
3
- import { CreditOrDebit } from "../../enums/CreditOrDebit";
4
- import { Status } from "../../enums/Status";
5
- import { VirtualOrPhysical } from "../../enums/VirtualOrPhysical";
6
-
7
-
8
- export interface GetBankAccountCardResponse {
9
- countryId: CountryId;
10
- holder?: {
11
- name?: string;
12
- lastName?: string;
13
- };
14
- expirationMonth?: string;
15
- expirationYear?: string;
16
- mii?: string;
17
- typeOfCardId?: VirtualOrPhysical;
18
- creditOrDebit?: CreditOrDebit;
19
- nominated?: boolean;
20
- pan?: string;
21
- panLastDigits?: string;
22
- activationValue?: string;
23
- provider: {
24
- id: Provider,
25
- externalUserId?: string;
26
- externalCardId: string;
27
- externalAccountId?: string;
28
- };
29
- address?: object;
30
- status: Status;
31
- statusDetail?: string;
32
- createDate?: string;
1
+ import { CountryId } from "../../../country";
2
+ import { Provider } from "../../../provider";
3
+ import { CreditOrDebit } from "../../enums/CreditOrDebit";
4
+ import { Status } from "../../enums/Status";
5
+ import { VirtualOrPhysical } from "../../enums/VirtualOrPhysical";
6
+
7
+
8
+ export interface GetBankAccountCardResponse {
9
+ countryId: CountryId;
10
+ holder?: {
11
+ name?: string;
12
+ lastName?: string;
13
+ };
14
+ expirationMonth?: string;
15
+ expirationYear?: string;
16
+ mii?: string;
17
+ typeOfCardId?: VirtualOrPhysical;
18
+ creditOrDebit?: CreditOrDebit;
19
+ nominated?: boolean;
20
+ pan?: string;
21
+ panLastDigits?: string;
22
+ activationValue?: string;
23
+ provider: {
24
+ id: Provider,
25
+ externalUserId?: string;
26
+ externalCardId: string;
27
+ externalAccountId?: string;
28
+ };
29
+ address?: object;
30
+ status: Status;
31
+ statusDetail?: string;
32
+ createDate?: string;
33
33
  }
@@ -1,6 +1,6 @@
1
-
2
-
3
-
4
- export class GetBankAccountShippingRequest {
5
- externalShippingId: string;
1
+
2
+
3
+
4
+ export class GetBankAccountShippingRequest {
5
+ externalShippingId: string;
6
6
  }
@@ -1,20 +1,20 @@
1
- import { ExternalShippingStatus } from "../../enums/ExternalShippingStatus";
2
- import { ExternalShippingStatusDetail } from "../../enums/ExternalShippingStatusDetails";
3
-
4
- export class GetBankAccountShippingResponse {
5
- id: string;
6
- courier: {
7
- company: string;
8
- trackingNumber?: string;
9
- trackingUrl?: string;
10
- };
11
- status: ExternalShippingStatus;
12
- statusDetail: ExternalShippingStatusDetail;
13
- type: string;
14
- shippingAddress: object;
15
- reciever: {
16
- name: string;
17
- lastName: string;
18
- phoneNumber: string;
19
- };
1
+ import { ExternalShippingStatus } from "../../enums/ExternalShippingStatus";
2
+ import { ExternalShippingStatusDetail } from "../../enums/ExternalShippingStatusDetails";
3
+
4
+ export class GetBankAccountShippingResponse {
5
+ id: string;
6
+ courier: {
7
+ company: string;
8
+ trackingNumber?: string;
9
+ trackingUrl?: string;
10
+ };
11
+ status: ExternalShippingStatus;
12
+ statusDetail: ExternalShippingStatusDetail;
13
+ type: string;
14
+ shippingAddress: object;
15
+ reciever: {
16
+ name: string;
17
+ lastName: string;
18
+ phoneNumber: string;
19
+ };
20
20
  }
@@ -1,22 +1,22 @@
1
- import { AddressResponse } from "../../../address";
2
- import { ExternalShippingStatus } from "../../enums/ExternalShippingStatus";
3
- import { ExternalShippingStatusDetail } from "../../enums/ExternalShippingStatusDetails";
4
- import { ShippingStatus } from "../../enums/ShippingStatus";
5
- import { Status } from "../../enums/Status";
6
-
7
-
8
- export class UpdateBankAccountCardRequest {
9
- cardId: string;
10
- nominated?: boolean | null;
11
- status?: Status | null;
12
- pin?: string | null;
13
- externalShippingId?: string;
14
- externalShippingStatus?: ExternalShippingStatus | null;
15
- externalShippingStatusDetail?: ExternalShippingStatusDetail | null;
16
- shippingStatus?: ShippingStatus | null;
17
- shippingTrackingNumber?: string | null;
18
- shippingTrackingUrl?: string | null;
19
- firstName?: string | null;
20
- lastName?: string | null;
21
- address?: AddressResponse | null;
1
+ import { AddressResponse } from "../../../address";
2
+ import { ExternalShippingStatus } from "../../enums/ExternalShippingStatus";
3
+ import { ExternalShippingStatusDetail } from "../../enums/ExternalShippingStatusDetails";
4
+ import { ShippingStatus } from "../../enums/ShippingStatus";
5
+ import { Status } from "../../enums/Status";
6
+
7
+
8
+ export class UpdateBankAccountCardRequest {
9
+ cardId: string;
10
+ nominated?: boolean | null;
11
+ status?: Status | null;
12
+ pin?: string | null;
13
+ externalShippingId?: string;
14
+ externalShippingStatus?: ExternalShippingStatus | null;
15
+ externalShippingStatusDetail?: ExternalShippingStatusDetail | null;
16
+ shippingStatus?: ShippingStatus | null;
17
+ shippingTrackingNumber?: string | null;
18
+ shippingTrackingUrl?: string | null;
19
+ firstName?: string | null;
20
+ lastName?: string | null;
21
+ address?: AddressResponse | null;
22
22
  }
@@ -1,6 +1,6 @@
1
-
2
-
3
- export class UpdateBankAccountCardResponse {
4
- updatedAt: string;
5
- updatedBy: string;
1
+
2
+
3
+ export class UpdateBankAccountCardResponse {
4
+ updatedAt: string;
5
+ updatedBy: string;
6
6
  }
@@ -1,8 +1,8 @@
1
- export enum Brand {
2
- VISA = "VISA",
3
- MASTERCARD = 'MASTERCARD',
4
- AMERICAN_EXPRESS = 'AMERICAN_EXPRESS',
5
- DISCOVER = 'DISCOVER',
6
- DINERS_CLUB = 'DINERS_CLUB',
7
- JCB = 'JCB'
1
+ export enum Brand {
2
+ VISA = "VISA",
3
+ MASTERCARD = 'MASTERCARD',
4
+ AMERICAN_EXPRESS = 'AMERICAN_EXPRESS',
5
+ DISCOVER = 'DISCOVER',
6
+ DINERS_CLUB = 'DINERS_CLUB',
7
+ JCB = 'JCB'
8
8
  };
@@ -1,6 +1,6 @@
1
-
2
- export enum CardIssuanceStatus {
3
- IN_PROCESS = "IN_PROCESS",
4
- COMPLETED = "COMPLETED",
5
- FAILED = "FAILED"
1
+
2
+ export enum CardIssuanceStatus {
3
+ IN_PROCESS = "IN_PROCESS",
4
+ COMPLETED = "COMPLETED",
5
+ FAILED = "FAILED"
6
6
  }
@@ -1,7 +1,7 @@
1
-
2
-
3
- export enum CardIssuing {
4
- NEW = "NEW",
5
- REISSUE = "REISSUE",
6
- REPLACE = "REPLACE"
1
+
2
+
3
+ export enum CardIssuing {
4
+ NEW = "NEW",
5
+ REISSUE = "REISSUE",
6
+ REPLACE = "REPLACE"
7
7
  }
@@ -1,5 +1,5 @@
1
- export enum CardType {
2
- CREDIT = 'CREDIT',
3
- DEBIT = 'DEBIT',
4
- PREPAID = 'PREPAID'
1
+ export enum CardType {
2
+ CREDIT = 'CREDIT',
3
+ DEBIT = 'DEBIT',
4
+ PREPAID = 'PREPAID'
5
5
  }
@@ -1,4 +1,4 @@
1
- export enum CardUpdateKey {
2
- CHANGE_STATUS = 'CHANGE_STATUS',
3
- CHANGE_PIN = 'CHANGE_PIN',
4
- }
1
+ export enum CardUpdateKey {
2
+ CHANGE_STATUS = 'CHANGE_STATUS',
3
+ CHANGE_PIN = 'CHANGE_PIN',
4
+ }
@@ -1,6 +1,6 @@
1
-
2
-
3
- export enum CreditOrDebit {
4
- CREDIT = "CREDIT",
5
- DEBIT = "DEBIT"
1
+
2
+
3
+ export enum CreditOrDebit {
4
+ CREDIT = "CREDIT",
5
+ DEBIT = "DEBIT"
6
6
  }
@@ -1,8 +1,8 @@
1
-
2
-
3
- export enum DeliveryChannel {
4
- OCURRE = "OCURRE",
5
- DOMICILIO = "DOMICILIO",
6
- AGENT = "AGENT",
7
- VIRTUAL = "VIRTUAL",
1
+
2
+
3
+ export enum DeliveryChannel {
4
+ OCURRE = "OCURRE",
5
+ DOMICILIO = "DOMICILIO",
6
+ AGENT = "AGENT",
7
+ VIRTUAL = "VIRTUAL",
8
8
  }