@fiado/type-kit 1.4.4 → 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 (446) 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/TransactionProcessorResponse.d.ts +5 -0
  9. package/bin/transactionProcessor/dtos/TransactionProcessorResponse.js +30 -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 +79 -79
  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 +7 -7
  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 +4 -4
  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 +41 -41
  85. package/src/beneficiary/dtos/AccountBeneficiaryResponse.ts +23 -23
  86. package/src/beneficiary/dtos/AccountBeneficiaryUpdateRequest.ts +39 -39
  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 +27 -27
  93. package/src/card/dtos/CardBalanceResponse.ts +10 -10
  94. package/src/card/dtos/CardCreateAdditionalRequest.ts +78 -78
  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 +6 -6
  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/Country.ts +6 -6
  145. package/src/country/enums/CountryId.ts +6 -6
  146. package/src/country/index.ts +5 -5
  147. package/src/creditContract/dtos/CreditContractCreateRequest.ts +51 -51
  148. package/src/creditContract/enums/InstrumentEnum.ts +5 -5
  149. package/src/creditContract/index.ts +5 -5
  150. package/src/currency/dtos/CurrencyResponse.ts +8 -8
  151. package/src/currency/index.ts +2 -2
  152. package/src/directory/dtos/DirectoryResponse.ts +19 -19
  153. package/src/directory/dtos/External.ts +6 -6
  154. package/src/directory/enums/Profile.ts +6 -6
  155. package/src/directory/enums/Scope.ts +7 -7
  156. package/src/directory/enums/Status.ts +8 -8
  157. package/src/directory/enums/TypeOfDirectoryId.ts +6 -6
  158. package/src/directory/index.ts +7 -7
  159. package/src/eventBridge/dto/EventBridgeMessageRequest.ts +4 -4
  160. package/src/eventBridge/index.ts +1 -1
  161. package/src/exchangeRate/dtos/ExchangeRateCreateRequest.ts +50 -50
  162. package/src/exchangeRate/dtos/ExchangeRateCreateResponse.ts +4 -4
  163. package/src/exchangeRate/dtos/ExchangeRateResponse.ts +19 -19
  164. package/src/exchangeRate/dtos/GetExchangeRatesRequest.ts +3 -3
  165. package/src/exchangeRate/enums/ExchangeRateStatus.ts +5 -5
  166. package/src/exchangeRate/index.ts +9 -9
  167. package/src/fraudPreventionEngine/dtos/CreateAccountLevelRequest.ts +9 -9
  168. package/src/fraudPreventionEngine/dtos/GetAccountLevelParams.ts +3 -3
  169. package/src/fraudPreventionEngine/dtos/GetAccountLevelResponse.ts +7 -7
  170. package/src/fraudPreventionEngine/enums/AccountLevelTenantEnum.ts +5 -5
  171. package/src/fraudPreventionEngine/index.ts +5 -5
  172. package/src/genericMessage/dto/GenericMessageRequest.ts +17 -17
  173. package/src/genericMessage/enums/GenericMessageSourceEnum.ts +3 -3
  174. package/src/genericMessage/index.ts +1 -1
  175. package/src/group/dtos/GroupAddDirectoryRequest.ts +27 -27
  176. package/src/group/dtos/GroupCreateRequest.ts +54 -54
  177. package/src/group/dtos/GroupDirectoryRelationsResponse.ts +20 -20
  178. package/src/group/dtos/GroupDirectoryRelationsUpdateRequest.ts +10 -10
  179. package/src/group/dtos/GroupResponse.ts +17 -17
  180. package/src/group/dtos/GroupUpdateRequest.ts +31 -31
  181. package/src/group/enums/GroupAction.ts +8 -8
  182. package/src/group/enums/GroupStatus.ts +6 -6
  183. package/src/group/enums/RelationStatus.ts +8 -8
  184. package/src/group/enums/RelationType.ts +9 -9
  185. package/src/group/index.ts +18 -18
  186. package/src/header/TokenPayload.ts +18 -18
  187. package/src/header/index.ts +3 -3
  188. package/src/helpers/ValidationUtils.ts +32 -32
  189. package/src/helpers/constans/regex.ts +12 -12
  190. package/src/identity/dtos/IdentificationDocument.ts +24 -24
  191. package/src/identity/dtos/PeopleCreateRequest.ts +4 -4
  192. package/src/identity/dtos/PeopleResponse.ts +75 -75
  193. package/src/identity/dtos/PeopleUpdateRequest.ts +75 -75
  194. package/src/identity/dtos/TypeOfDocument.ts +11 -11
  195. package/src/identity/enums/IdentificationDocumentStatus.ts +7 -7
  196. package/src/identity/enums/SexDocument.ts +6 -6
  197. package/src/identity/enums/TypeOfDocument.ts +5 -5
  198. package/src/identity/index.ts +12 -12
  199. package/src/index.ts +36 -36
  200. package/src/notificationMessages/dtos/NotificationQueueMessageRequest.ts +7 -7
  201. package/src/notificationMessages/dtos/QueueMessageDestination.ts +6 -6
  202. package/src/notificationMessages/dtos/QueueMessageVariableValues.ts +3 -3
  203. package/src/notificationMessages/enums/NotificationId.ts +13 -13
  204. package/src/notificationMessages/index.ts +5 -5
  205. package/src/p2pContact/dtos/CreateP2pContactRequest.ts +8 -8
  206. package/src/productCatalog/dtos/CreateProductCatalogRequest.ts +14 -14
  207. package/src/productCatalog/dtos/GetProductCatalogResponse.ts +38 -38
  208. package/src/productCatalog/enums/ProductTaxFeeTypeEnum.ts +3 -3
  209. package/src/productCatalog/enums/ProductTypeEnum.ts +15 -15
  210. package/src/productCatalog/index.ts +4 -4
  211. package/src/provider/enums/Provider.ts +4 -4
  212. package/src/provider/index.ts +1 -1
  213. package/src/queue/dtos/QueueMessageBase.ts +13 -13
  214. package/src/riskProfile/dtos/AlarmCategory.ts +2 -2
  215. package/src/riskProfile/dtos/CreateRiskProfileRequest.ts +45 -45
  216. package/src/riskProfile/dtos/TransactionAlarmQueueMessage.ts +44 -44
  217. package/src/riskProfile/dtos/UpdateAlarmProfileRequest.ts +9 -9
  218. package/src/riskProfile/dtos/UpdateFactorInfo.ts +5 -5
  219. package/src/riskProfile/dtos/UpdateRiskProfileRequest.ts +5 -5
  220. package/src/riskProfile/dtos/UpdateTransactionAlertRequest.ts +18 -18
  221. package/src/riskProfile/enums/AlarmCategory.ts +8 -8
  222. package/src/riskProfile/enums/AlarmOperationType.ts +7 -7
  223. package/src/riskProfile/enums/PepLevelEnum.ts +6 -6
  224. package/src/riskProfile/enums/RiskFactorCategoryEnum.ts +13 -13
  225. package/src/riskProfile/index.ts +12 -12
  226. package/src/servicePayment/dtos/GetCatalogParams.ts +5 -5
  227. package/src/servicePayment/dtos/ServicePaymentRequest.ts +33 -33
  228. package/src/servicePayment/index.ts +1 -1
  229. package/src/sessionActivity/dtos/SessionActivityQueueMessageRequest.ts +10 -10
  230. package/src/sessionActivity/enums/SessionActivityActionEnum.ts +7 -7
  231. package/src/sessionActivity/enums/SessionActivityActionOriginEnum.ts +4 -4
  232. package/src/sessionActivity/index.ts +2 -2
  233. package/src/stpAccount/dtos/CreateAccountWebhookDetail.ts +5 -5
  234. package/src/stpSpei/dtos/PutStpOrderRequest.ts +13 -13
  235. package/src/stpSpei/dtos/SpeiWebhookMessage.ts +9 -9
  236. package/src/stpSpei/enums/ActividadesProductivasEnum.ts +47 -47
  237. package/src/stpSpei/enums/EntidadesFederativasEnum.ts +33 -33
  238. package/src/stpSpei/enums/PaisesEnum.ts +275 -275
  239. package/src/stpSpei/enums/WebhookMessageStatusEnum.ts +4 -4
  240. package/src/stpSpei/index.ts +7 -7
  241. package/src/transaction/dtos/Credit.ts +24 -24
  242. package/src/transaction/dtos/Debit.ts +20 -20
  243. package/src/transaction/dtos/Notional.ts +20 -20
  244. package/src/transaction/dtos/Product.ts +16 -16
  245. package/src/transaction/dtos/ProductDetail.ts +35 -35
  246. package/src/transaction/dtos/Total.ts +20 -20
  247. package/src/transaction/dtos/TransactionCreateRequest.ts +115 -115
  248. package/src/transaction/dtos/TransactionCreateResponse.ts +4 -4
  249. package/src/transaction/dtos/TransactionGetDetailResponse.ts +24 -24
  250. package/src/transaction/dtos/TransactionGetResponse.ts +20 -20
  251. package/src/transaction/enums/OperationEnum.ts +3 -3
  252. package/src/transaction/enums/TransactionSourceEnum.ts +4 -4
  253. package/src/transaction/enums/TransactionStatusEnum.ts +6 -6
  254. package/src/transaction/index.ts +17 -17
  255. package/src/transactionProcessor/dtos/AmountInfo.ts +6 -6
  256. package/src/transactionProcessor/dtos/AmountInfoItem.ts +3 -3
  257. package/src/transactionProcessor/dtos/AuthorizeCreditCardAdjustmentRequest.ts +19 -19
  258. package/src/transactionProcessor/dtos/AuthorizeCreditCardPurchaseRequest.ts +16 -16
  259. package/src/transactionProcessor/dtos/AuthorizeP2pTransactionRequest.ts +8 -8
  260. package/src/transactionProcessor/dtos/AuthorizePocketTransactionRequest.ts +8 -8
  261. package/src/transactionProcessor/dtos/AuthorizeRstTransactionRequest.ts +4 -4
  262. package/src/transactionProcessor/dtos/AuthorizeServicePaymentRequest.ts +7 -7
  263. package/src/transactionProcessor/dtos/AuthorizeSpeiBankTransferRequest.ts +6 -6
  264. package/src/transactionProcessor/dtos/AuthorizeSpeiMexBankTransferInRequest.ts +33 -33
  265. package/src/transactionProcessor/dtos/CardInfo.ts +5 -5
  266. package/src/transactionProcessor/dtos/InstallmentsInfo.ts +6 -6
  267. package/src/transactionProcessor/dtos/MerchantInfo.ts +6 -6
  268. package/src/transactionProcessor/dtos/ProcessUpdateLevelRequest.ts +3 -3
  269. package/src/transactionProcessor/dtos/RSTTransactionStatusUpdate.ts +6 -6
  270. package/src/transactionProcessor/dtos/SpeiBankTransferStatusUpdate.ts +6 -6
  271. package/src/transactionProcessor/dtos/TransactionInfo.ts +7 -7
  272. package/src/transactionProcessor/dtos/TransactionProcessorQueueMessage.ts +3 -3
  273. package/src/transactionProcessor/dtos/TransactionProcessorResponse.ts +14 -0
  274. package/src/transactionProcessor/enums/AsyncTxStatusEnum.ts +5 -5
  275. package/src/transactionProcessor/enums/TransactionProcessorCodesEnum.ts +15 -15
  276. package/src/transactionProcessor/index.ts +22 -21
  277. package/.idea/sonarlint/issuestore/0/2/02175ba1c7b82f17c1f95edd897711cf21fc8b55 +0 -0
  278. package/.idea/sonarlint/issuestore/0/3/0382ec9d8bd1d671b35f3cce2e83a60a6f0d4e92 +0 -0
  279. package/.idea/sonarlint/issuestore/0/9/09ee7ee398f8b5bc6eda536c9104a8ae5419c82e +0 -0
  280. package/.idea/sonarlint/issuestore/0/f/0f534ce38f745b6707998aa6c868a729b909bf4d +0 -0
  281. package/.idea/sonarlint/issuestore/1/0/10612661d76edd5c482b60e71edd3a7f74505d5e +0 -0
  282. package/.idea/sonarlint/issuestore/1/2/12453d06e6e35287172e482940b954ba12dc25a2 +0 -2
  283. package/.idea/sonarlint/issuestore/1/8/18c290c3d5b13d503bb211e6319a9e64ccd83350 +0 -0
  284. package/.idea/sonarlint/issuestore/1/9/197cec5934a8756e52d31de4e13741cc3a816164 +0 -0
  285. package/.idea/sonarlint/issuestore/1/f/1fcc1ef4b4c5c551f5f5833f39af79dd4d6440bd +0 -0
  286. package/.idea/sonarlint/issuestore/2/4/244f232939a7014966ac2eff9cd795d12c5ddc21 +0 -0
  287. package/.idea/sonarlint/issuestore/2/5/25497cc140764f84080ed16d4d408b09b411525a +0 -0
  288. package/.idea/sonarlint/issuestore/2/9/2983524a17882775f03310e18fd052a958d44d3b +0 -0
  289. package/.idea/sonarlint/issuestore/2/c/2cf73169675e38d4411f50e8ac8e5c5186a3616e +0 -0
  290. package/.idea/sonarlint/issuestore/2/d/2de53b2c61661c8acd989aad739d9b6cc0deabde +0 -0
  291. package/.idea/sonarlint/issuestore/3/5/355a0b1b7628657539752d4cfbd8f33fcc664d5d +0 -0
  292. package/.idea/sonarlint/issuestore/3/8/38c41cacebf63514689973e01014e89db38448d7 +0 -0
  293. package/.idea/sonarlint/issuestore/3/9/3942490f54c10c0111afa09b30a079f3ef9aeec7 +0 -0
  294. package/.idea/sonarlint/issuestore/3/a/3a96f9d5c15844580b34596455a77e22ce0b1da1 +0 -0
  295. package/.idea/sonarlint/issuestore/4/1/4110de41994be7f0e890b6711ba86bb4fb50f602 +0 -0
  296. package/.idea/sonarlint/issuestore/4/d/4d722d4f799d0dcaf4f273105d16ce2d9761ceb2 +0 -0
  297. package/.idea/sonarlint/issuestore/4/f/4f9e0d80d4df64baa27bf681528cb43a3ba4fde6 +0 -0
  298. package/.idea/sonarlint/issuestore/5/2/52124373285180cc9fc913380c1cf02a160f9e62 +0 -0
  299. package/.idea/sonarlint/issuestore/5/5/55792c374cceb362b99620756061abf16563279b +0 -0
  300. package/.idea/sonarlint/issuestore/5/6/566db33aef0142b767c76568b2fca29caaa1b423 +0 -0
  301. package/.idea/sonarlint/issuestore/5/7/57d8ecb1bda7803e970cddbcb9d96ec682fbce50 +0 -0
  302. package/.idea/sonarlint/issuestore/5/8/5815363aa7c189fe1d8a995d750c3a3f27900621 +0 -0
  303. package/.idea/sonarlint/issuestore/5/9/5993b7cd868ca0f67fff0860484d2de906467a5c +0 -0
  304. package/.idea/sonarlint/issuestore/5/a/5a74acb4b064cbe70d9a71991eb486fb4d78f531 +0 -0
  305. package/.idea/sonarlint/issuestore/5/b/5b4cf966e749bb0515dfad5d0c51e5fa59e969e5 +0 -0
  306. package/.idea/sonarlint/issuestore/5/b/5bc0ebc2a399a9f7595b8013c990ef8681de0fb8 +0 -0
  307. package/.idea/sonarlint/issuestore/6/1/619fe0b2aa30704d95a60035674b31d432fc5a75 +0 -0
  308. package/.idea/sonarlint/issuestore/6/4/646b88aafc1ca8453d1a111ea33d258c52e07851 +0 -0
  309. package/.idea/sonarlint/issuestore/6/5/65e727e2ee3468d20e4bf7cb3800385cb2c7a983 +0 -0
  310. package/.idea/sonarlint/issuestore/6/6/6627ec0b7b336db9c2a70382b2ee1e69ba3163ac +0 -0
  311. package/.idea/sonarlint/issuestore/6/9/69abfdb53d85b80c255b3ab2a88666175ceeac54 +0 -0
  312. package/.idea/sonarlint/issuestore/6/9/69d58b0b6323e7e777c435dbaefe94a64394e255 +0 -0
  313. package/.idea/sonarlint/issuestore/6/b/6bcb55d35bf54b940fe29f44e2bb679bc6f621e1 +0 -0
  314. package/.idea/sonarlint/issuestore/6/f/6f43ceef55b03d8c26768ceb4ee9e3e1cea7ddd4 +0 -0
  315. package/.idea/sonarlint/issuestore/7/0/7030d0b2f71b999ff89a343de08c414af32fc93a +0 -0
  316. package/.idea/sonarlint/issuestore/7/0/70c663239858c68590cdba7e904366fe59855b0b +0 -0
  317. package/.idea/sonarlint/issuestore/7/3/73d3690344e0bf29ccdba246e5f3450707458c0a +0 -0
  318. package/.idea/sonarlint/issuestore/7/3/73eee44012dacbb17c6d2e2d988e6def209267b8 +0 -0
  319. package/.idea/sonarlint/issuestore/7/4/7489a99709fa9ca44fa1a085c02ee8502e21a9fd +0 -0
  320. package/.idea/sonarlint/issuestore/7/7/77a3404a468e41376864800c0ab63d69287e6eab +0 -0
  321. package/.idea/sonarlint/issuestore/7/8/782e1a44f35a71927df243d92a4eede126f437ac +0 -0
  322. package/.idea/sonarlint/issuestore/7/a/7aa3d5a067415a7071571cb5018a37d03cff5bbd +0 -0
  323. package/.idea/sonarlint/issuestore/7/e/7ecdb333781356fc0fe1cc9fa84ac8f76b996401 +0 -0
  324. package/.idea/sonarlint/issuestore/7/f/7f9d84f1e541f40d1bc582e467f11283b3acfe99 +0 -0
  325. package/.idea/sonarlint/issuestore/8/1/81c76302465b6fb29ef101681712a023c52c8f00 +0 -0
  326. package/.idea/sonarlint/issuestore/8/2/823bafbef2d005b52054bb6ba237d26a93a69289 +0 -0
  327. package/.idea/sonarlint/issuestore/8/b/8b0588db2495f22a93ce5d97cc089971f40aa4ec +0 -0
  328. package/.idea/sonarlint/issuestore/8/c/8ce69d617cb074433c15518eed688652cbc8c164 +0 -0
  329. package/.idea/sonarlint/issuestore/8/e/8ec9a00bfd09b3190ac6b22251dbb1aa95a0579d +0 -0
  330. package/.idea/sonarlint/issuestore/9/2/9252baf9a1ff6cf967c8f83c4a62c40264b122d7 +0 -0
  331. package/.idea/sonarlint/issuestore/9/4/948b0afb07fbe2035d9d0a168a017e51c2b221a2 +0 -0
  332. package/.idea/sonarlint/issuestore/9/4/94f646fcac8f4172c6e6958abd9f455b3c79995f +0 -0
  333. package/.idea/sonarlint/issuestore/9/5/95966b4a91847f490e094dfa87f80c2c5c59fbb9 +0 -0
  334. package/.idea/sonarlint/issuestore/9/8/98a520adeec585ead0013d974a18f679393b6997 +0 -0
  335. package/.idea/sonarlint/issuestore/9/f/9fc96c9beeba61e907bd3ba313f11eac8cf0d430 +0 -0
  336. package/.idea/sonarlint/issuestore/a/0/a06a99270cf7808dda3a6025cf813ae52720b475 +0 -0
  337. package/.idea/sonarlint/issuestore/a/5/a5cc2925ca8258af241be7e5b0381edf30266302 +0 -0
  338. package/.idea/sonarlint/issuestore/a/9/a903e3bfc804794d9b9535cbb530c68383652b5d +0 -0
  339. package/.idea/sonarlint/issuestore/a/b/abfb24bd8d0e3cdfbf3ff4c7e80603bf1cdf7871 +0 -0
  340. package/.idea/sonarlint/issuestore/b/c/bc5b896ed63da1497d081036364d9f2384f2ea37 +0 -0
  341. package/.idea/sonarlint/issuestore/c/5/c5fb850250c7443c48a6c12b5cf6916773da31f1 +0 -0
  342. package/.idea/sonarlint/issuestore/c/9/c9c508bb5b9ad2f0f6b3ad35422b961d678e1d0f +0 -0
  343. package/.idea/sonarlint/issuestore/c/b/cbc130a9515015718fb34e36adfe27e4e31f43e5 +0 -0
  344. package/.idea/sonarlint/issuestore/c/d/cdd687c2228066cdac5910ebcd0a5584e5c50985 +0 -0
  345. package/.idea/sonarlint/issuestore/d/2/d24fe332e92475452d840d36f81c9af7b70887e7 +0 -0
  346. package/.idea/sonarlint/issuestore/d/2/d2b43e6a30699faba4dff61341b06c7e17e7f400 +0 -0
  347. package/.idea/sonarlint/issuestore/d/d/dd375f957eb150c2f7fb1d4edba07501286db515 +0 -0
  348. package/.idea/sonarlint/issuestore/d/f/df083cf457b627bc4ada3c11eee92cc83e6c4c80 +0 -0
  349. package/.idea/sonarlint/issuestore/e/0/e05f58bae396006667e2ac1103d301e443e1f856 +0 -0
  350. package/.idea/sonarlint/issuestore/e/7/e7248564a8f7fdc020eba78ea0c58c98603880a4 +0 -0
  351. package/.idea/sonarlint/issuestore/e/d/ed43355775e0bbf3987e4526d4d8dd779773eb91 +0 -0
  352. package/.idea/sonarlint/issuestore/f/2/f2d1f4712d58f68a238d7df4f455d3cc45882594 +0 -0
  353. package/.idea/sonarlint/issuestore/f/2/f2f4d557bf4d2e72606a808a2446af7098387e58 +0 -0
  354. package/.idea/sonarlint/issuestore/f/9/f9cb0ab2ca2e8ce4e64e10034c949066c38000f5 +0 -0
  355. package/.idea/sonarlint/issuestore/f/9/f9d6327040914014594d301e0dc6361a476a5ff4 +0 -0
  356. package/.idea/sonarlint/issuestore/f/a/fa9452abeeb6e134b984ce22f0ff271a774c9093 +0 -0
  357. package/.idea/sonarlint/issuestore/f/a/fa9dce145b13c5aaff8e84813e79f94dcd4c0860 +0 -0
  358. package/.idea/sonarlint/issuestore/f/b/fb74f3edc49c374fcb38034841d290680603b9cb +0 -0
  359. package/.idea/sonarlint/issuestore/f/d/fdd4872693720f9140008b46069639fb2801114d +0 -0
  360. package/.idea/sonarlint/issuestore/index.pb +0 -168
  361. package/.idea/sonarlint/securityhotspotstore/0/2/02175ba1c7b82f17c1f95edd897711cf21fc8b55 +0 -0
  362. package/.idea/sonarlint/securityhotspotstore/0/3/0382ec9d8bd1d671b35f3cce2e83a60a6f0d4e92 +0 -0
  363. package/.idea/sonarlint/securityhotspotstore/0/9/09ee7ee398f8b5bc6eda536c9104a8ae5419c82e +0 -0
  364. package/.idea/sonarlint/securityhotspotstore/0/f/0f534ce38f745b6707998aa6c868a729b909bf4d +0 -0
  365. package/.idea/sonarlint/securityhotspotstore/1/0/10612661d76edd5c482b60e71edd3a7f74505d5e +0 -0
  366. package/.idea/sonarlint/securityhotspotstore/1/2/12453d06e6e35287172e482940b954ba12dc25a2 +0 -0
  367. package/.idea/sonarlint/securityhotspotstore/1/8/18c290c3d5b13d503bb211e6319a9e64ccd83350 +0 -0
  368. package/.idea/sonarlint/securityhotspotstore/1/9/197cec5934a8756e52d31de4e13741cc3a816164 +0 -0
  369. package/.idea/sonarlint/securityhotspotstore/1/f/1fcc1ef4b4c5c551f5f5833f39af79dd4d6440bd +0 -0
  370. package/.idea/sonarlint/securityhotspotstore/2/4/244f232939a7014966ac2eff9cd795d12c5ddc21 +0 -0
  371. package/.idea/sonarlint/securityhotspotstore/2/5/25497cc140764f84080ed16d4d408b09b411525a +0 -0
  372. package/.idea/sonarlint/securityhotspotstore/2/9/2983524a17882775f03310e18fd052a958d44d3b +0 -0
  373. package/.idea/sonarlint/securityhotspotstore/2/c/2cf73169675e38d4411f50e8ac8e5c5186a3616e +0 -0
  374. package/.idea/sonarlint/securityhotspotstore/2/d/2de53b2c61661c8acd989aad739d9b6cc0deabde +0 -0
  375. package/.idea/sonarlint/securityhotspotstore/3/5/355a0b1b7628657539752d4cfbd8f33fcc664d5d +0 -0
  376. package/.idea/sonarlint/securityhotspotstore/3/8/38c41cacebf63514689973e01014e89db38448d7 +0 -0
  377. package/.idea/sonarlint/securityhotspotstore/3/9/3942490f54c10c0111afa09b30a079f3ef9aeec7 +0 -0
  378. package/.idea/sonarlint/securityhotspotstore/3/a/3a96f9d5c15844580b34596455a77e22ce0b1da1 +0 -0
  379. package/.idea/sonarlint/securityhotspotstore/4/1/4110de41994be7f0e890b6711ba86bb4fb50f602 +0 -0
  380. package/.idea/sonarlint/securityhotspotstore/4/d/4d722d4f799d0dcaf4f273105d16ce2d9761ceb2 +0 -0
  381. package/.idea/sonarlint/securityhotspotstore/4/f/4f9e0d80d4df64baa27bf681528cb43a3ba4fde6 +0 -0
  382. package/.idea/sonarlint/securityhotspotstore/5/2/52124373285180cc9fc913380c1cf02a160f9e62 +0 -0
  383. package/.idea/sonarlint/securityhotspotstore/5/5/55792c374cceb362b99620756061abf16563279b +0 -0
  384. package/.idea/sonarlint/securityhotspotstore/5/6/566db33aef0142b767c76568b2fca29caaa1b423 +0 -0
  385. package/.idea/sonarlint/securityhotspotstore/5/7/57d8ecb1bda7803e970cddbcb9d96ec682fbce50 +0 -0
  386. package/.idea/sonarlint/securityhotspotstore/5/8/5815363aa7c189fe1d8a995d750c3a3f27900621 +0 -0
  387. package/.idea/sonarlint/securityhotspotstore/5/9/5993b7cd868ca0f67fff0860484d2de906467a5c +0 -0
  388. package/.idea/sonarlint/securityhotspotstore/5/a/5a74acb4b064cbe70d9a71991eb486fb4d78f531 +0 -0
  389. package/.idea/sonarlint/securityhotspotstore/5/b/5b4cf966e749bb0515dfad5d0c51e5fa59e969e5 +0 -0
  390. package/.idea/sonarlint/securityhotspotstore/5/b/5bc0ebc2a399a9f7595b8013c990ef8681de0fb8 +0 -0
  391. package/.idea/sonarlint/securityhotspotstore/6/1/619fe0b2aa30704d95a60035674b31d432fc5a75 +0 -0
  392. package/.idea/sonarlint/securityhotspotstore/6/4/646b88aafc1ca8453d1a111ea33d258c52e07851 +0 -0
  393. package/.idea/sonarlint/securityhotspotstore/6/5/65e727e2ee3468d20e4bf7cb3800385cb2c7a983 +0 -0
  394. package/.idea/sonarlint/securityhotspotstore/6/6/6627ec0b7b336db9c2a70382b2ee1e69ba3163ac +0 -0
  395. package/.idea/sonarlint/securityhotspotstore/6/9/69abfdb53d85b80c255b3ab2a88666175ceeac54 +0 -0
  396. package/.idea/sonarlint/securityhotspotstore/6/9/69d58b0b6323e7e777c435dbaefe94a64394e255 +0 -0
  397. package/.idea/sonarlint/securityhotspotstore/6/b/6bcb55d35bf54b940fe29f44e2bb679bc6f621e1 +0 -0
  398. package/.idea/sonarlint/securityhotspotstore/6/f/6f43ceef55b03d8c26768ceb4ee9e3e1cea7ddd4 +0 -0
  399. package/.idea/sonarlint/securityhotspotstore/7/0/7030d0b2f71b999ff89a343de08c414af32fc93a +0 -0
  400. package/.idea/sonarlint/securityhotspotstore/7/0/70c663239858c68590cdba7e904366fe59855b0b +0 -0
  401. package/.idea/sonarlint/securityhotspotstore/7/3/73d3690344e0bf29ccdba246e5f3450707458c0a +0 -0
  402. package/.idea/sonarlint/securityhotspotstore/7/3/73eee44012dacbb17c6d2e2d988e6def209267b8 +0 -0
  403. package/.idea/sonarlint/securityhotspotstore/7/4/7489a99709fa9ca44fa1a085c02ee8502e21a9fd +0 -0
  404. package/.idea/sonarlint/securityhotspotstore/7/7/77a3404a468e41376864800c0ab63d69287e6eab +0 -0
  405. package/.idea/sonarlint/securityhotspotstore/7/8/782e1a44f35a71927df243d92a4eede126f437ac +0 -0
  406. package/.idea/sonarlint/securityhotspotstore/7/a/7aa3d5a067415a7071571cb5018a37d03cff5bbd +0 -0
  407. package/.idea/sonarlint/securityhotspotstore/7/e/7ecdb333781356fc0fe1cc9fa84ac8f76b996401 +0 -0
  408. package/.idea/sonarlint/securityhotspotstore/7/f/7f9d84f1e541f40d1bc582e467f11283b3acfe99 +0 -0
  409. package/.idea/sonarlint/securityhotspotstore/8/1/81c76302465b6fb29ef101681712a023c52c8f00 +0 -0
  410. package/.idea/sonarlint/securityhotspotstore/8/2/823bafbef2d005b52054bb6ba237d26a93a69289 +0 -0
  411. package/.idea/sonarlint/securityhotspotstore/8/b/8b0588db2495f22a93ce5d97cc089971f40aa4ec +0 -0
  412. package/.idea/sonarlint/securityhotspotstore/8/c/8ce69d617cb074433c15518eed688652cbc8c164 +0 -0
  413. package/.idea/sonarlint/securityhotspotstore/8/e/8ec9a00bfd09b3190ac6b22251dbb1aa95a0579d +0 -0
  414. package/.idea/sonarlint/securityhotspotstore/9/2/9252baf9a1ff6cf967c8f83c4a62c40264b122d7 +0 -0
  415. package/.idea/sonarlint/securityhotspotstore/9/4/948b0afb07fbe2035d9d0a168a017e51c2b221a2 +0 -0
  416. package/.idea/sonarlint/securityhotspotstore/9/4/94f646fcac8f4172c6e6958abd9f455b3c79995f +0 -0
  417. package/.idea/sonarlint/securityhotspotstore/9/5/95966b4a91847f490e094dfa87f80c2c5c59fbb9 +0 -0
  418. package/.idea/sonarlint/securityhotspotstore/9/8/98a520adeec585ead0013d974a18f679393b6997 +0 -0
  419. package/.idea/sonarlint/securityhotspotstore/9/f/9fc96c9beeba61e907bd3ba313f11eac8cf0d430 +0 -0
  420. package/.idea/sonarlint/securityhotspotstore/a/0/a06a99270cf7808dda3a6025cf813ae52720b475 +0 -0
  421. package/.idea/sonarlint/securityhotspotstore/a/5/a5cc2925ca8258af241be7e5b0381edf30266302 +0 -0
  422. package/.idea/sonarlint/securityhotspotstore/a/9/a903e3bfc804794d9b9535cbb530c68383652b5d +0 -0
  423. package/.idea/sonarlint/securityhotspotstore/a/b/abfb24bd8d0e3cdfbf3ff4c7e80603bf1cdf7871 +0 -0
  424. package/.idea/sonarlint/securityhotspotstore/b/c/bc5b896ed63da1497d081036364d9f2384f2ea37 +0 -0
  425. package/.idea/sonarlint/securityhotspotstore/c/5/c5fb850250c7443c48a6c12b5cf6916773da31f1 +0 -0
  426. package/.idea/sonarlint/securityhotspotstore/c/9/c9c508bb5b9ad2f0f6b3ad35422b961d678e1d0f +0 -0
  427. package/.idea/sonarlint/securityhotspotstore/c/b/cbc130a9515015718fb34e36adfe27e4e31f43e5 +0 -0
  428. package/.idea/sonarlint/securityhotspotstore/c/d/cdd687c2228066cdac5910ebcd0a5584e5c50985 +0 -0
  429. package/.idea/sonarlint/securityhotspotstore/d/2/d24fe332e92475452d840d36f81c9af7b70887e7 +0 -0
  430. package/.idea/sonarlint/securityhotspotstore/d/2/d2b43e6a30699faba4dff61341b06c7e17e7f400 +0 -0
  431. package/.idea/sonarlint/securityhotspotstore/d/d/dd375f957eb150c2f7fb1d4edba07501286db515 +0 -0
  432. package/.idea/sonarlint/securityhotspotstore/d/f/df083cf457b627bc4ada3c11eee92cc83e6c4c80 +0 -0
  433. package/.idea/sonarlint/securityhotspotstore/e/0/e05f58bae396006667e2ac1103d301e443e1f856 +0 -0
  434. package/.idea/sonarlint/securityhotspotstore/e/7/e7248564a8f7fdc020eba78ea0c58c98603880a4 +0 -0
  435. package/.idea/sonarlint/securityhotspotstore/e/d/ed43355775e0bbf3987e4526d4d8dd779773eb91 +0 -0
  436. package/.idea/sonarlint/securityhotspotstore/f/2/f2d1f4712d58f68a238d7df4f455d3cc45882594 +0 -0
  437. package/.idea/sonarlint/securityhotspotstore/f/2/f2f4d557bf4d2e72606a808a2446af7098387e58 +0 -0
  438. package/.idea/sonarlint/securityhotspotstore/f/9/f9cb0ab2ca2e8ce4e64e10034c949066c38000f5 +0 -0
  439. package/.idea/sonarlint/securityhotspotstore/f/9/f9d6327040914014594d301e0dc6361a476a5ff4 +0 -0
  440. package/.idea/sonarlint/securityhotspotstore/f/a/fa9452abeeb6e134b984ce22f0ff271a774c9093 +0 -0
  441. package/.idea/sonarlint/securityhotspotstore/f/a/fa9dce145b13c5aaff8e84813e79f94dcd4c0860 +0 -0
  442. package/.idea/sonarlint/securityhotspotstore/f/b/fb74f3edc49c374fcb38034841d290680603b9cb +0 -0
  443. package/.idea/sonarlint/securityhotspotstore/f/d/fdd4872693720f9140008b46069639fb2801114d +0 -0
  444. package/.idea/sonarlint/securityhotspotstore/index.pb +0 -168
  445. package/bin/transactionProcessor/dtos/AuthorizeSpeiMexBankTransferIn.d.ts +0 -12
  446. package/bin/transactionProcessor/dtos/AuthorizeSpeiMexBankTransferIn.js +0 -57
@@ -1,20 +1,20 @@
1
- import {IsNotEmpty, IsNumber} from "class-validator";
2
-
3
- export class Notional {
4
-
5
- @IsNotEmpty()
6
- @IsNumber()
7
- notional: number;
8
-
9
- @IsNotEmpty()
10
- @IsNumber()
11
- productFees: number;
12
-
13
- @IsNotEmpty()
14
- @IsNumber()
15
- productTax: number;
16
-
17
- @IsNotEmpty()
18
- @IsNumber()
19
- total: number;
20
- }
1
+ import {IsNotEmpty, IsNumber} from "class-validator";
2
+
3
+ export class Notional {
4
+
5
+ @IsNotEmpty()
6
+ @IsNumber()
7
+ notional: number;
8
+
9
+ @IsNotEmpty()
10
+ @IsNumber()
11
+ productFees: number;
12
+
13
+ @IsNotEmpty()
14
+ @IsNumber()
15
+ productTax: number;
16
+
17
+ @IsNotEmpty()
18
+ @IsNumber()
19
+ total: number;
20
+ }
@@ -1,16 +1,16 @@
1
- import {IsNotEmpty, IsString, ValidateNested} from "class-validator";
2
- import {ProductTypeEnum} from "../../productCatalog";
3
- import {ProductDetail} from "./ProductDetail";
4
-
5
- export class Product {
6
-
7
- @IsNotEmpty()
8
- @IsString()
9
- type: ProductTypeEnum;
10
-
11
- @ValidateNested()
12
- details: ProductDetail;
13
-
14
- @IsString()
15
- relatedProductId: string;
16
- }
1
+ import {IsNotEmpty, IsString, ValidateNested} from "class-validator";
2
+ import {ProductTypeEnum} from "../../productCatalog";
3
+ import {ProductDetail} from "./ProductDetail";
4
+
5
+ export class Product {
6
+
7
+ @IsNotEmpty()
8
+ @IsString()
9
+ type: ProductTypeEnum;
10
+
11
+ @ValidateNested()
12
+ details: ProductDetail;
13
+
14
+ @IsString()
15
+ relatedProductId: string;
16
+ }
@@ -1,36 +1,36 @@
1
- import {IsOptional, IsString} from "class-validator";
2
-
3
- export class ProductDetail {
4
- //
5
- @IsOptional()
6
- @IsString()
7
- sourceName: string;
8
-
9
- @IsOptional()
10
- @IsString()
11
- sourceNumber: string;
12
-
13
- @IsOptional()
14
- @IsString()
15
- sourceBankName: string;
16
-
17
- @IsOptional()
18
- @IsString()
19
- targetName: string;
20
-
21
- @IsOptional()
22
- @IsString()
23
- targetNumber: string;
24
-
25
- @IsOptional()
26
- @IsString()
27
- targetBankName: string;
28
-
29
- @IsOptional()
30
- @IsString()
31
- trackingNumber: string;
32
-
33
- @IsOptional()
34
- @IsString()
35
- description: string;
1
+ import {IsOptional, IsString} from "class-validator";
2
+
3
+ export class ProductDetail {
4
+ //
5
+ @IsOptional()
6
+ @IsString()
7
+ sourceName: string;
8
+
9
+ @IsOptional()
10
+ @IsString()
11
+ sourceNumber: string;
12
+
13
+ @IsOptional()
14
+ @IsString()
15
+ sourceBankName: string;
16
+
17
+ @IsOptional()
18
+ @IsString()
19
+ targetName: string;
20
+
21
+ @IsOptional()
22
+ @IsString()
23
+ targetNumber: string;
24
+
25
+ @IsOptional()
26
+ @IsString()
27
+ targetBankName: string;
28
+
29
+ @IsOptional()
30
+ @IsString()
31
+ trackingNumber: string;
32
+
33
+ @IsOptional()
34
+ @IsString()
35
+ description: string;
36
36
  }
@@ -1,20 +1,20 @@
1
- import {IsNotEmpty, IsNumber} from "class-validator";
2
-
3
- export class Total {
4
-
5
- @IsNotEmpty()
6
- @IsNumber()
7
- totalNotional: number;
8
-
9
- @IsNotEmpty()
10
- @IsNumber()
11
- totalFees: number;
12
-
13
- @IsNotEmpty()
14
- @IsNumber()
15
- totalTax: number;
16
-
17
- @IsNotEmpty()
18
- @IsNumber()
19
- totalTotal: number;
20
- }
1
+ import {IsNotEmpty, IsNumber} from "class-validator";
2
+
3
+ export class Total {
4
+
5
+ @IsNotEmpty()
6
+ @IsNumber()
7
+ totalNotional: number;
8
+
9
+ @IsNotEmpty()
10
+ @IsNumber()
11
+ totalFees: number;
12
+
13
+ @IsNotEmpty()
14
+ @IsNumber()
15
+ totalTax: number;
16
+
17
+ @IsNotEmpty()
18
+ @IsNumber()
19
+ totalTotal: number;
20
+ }
@@ -1,115 +1,115 @@
1
- import {IsEnum, IsNotEmpty, IsString, Length, Matches, ValidateNested} from "class-validator";
2
- import {regexUuidV4} from "../../helpers/constans/regex";
3
- import {CountryId} from "../../country";
4
- import {OperationEnum} from "../enums/OperationEnum";
5
- import {TypeOfDirectoryId} from "../../directory";
6
- import {Type} from "class-transformer";
7
- import {Notional} from "./Notional";
8
- import {Credit} from "./Credit";
9
- import {Debit} from "./Debit";
10
- import {Total} from "./Total";
11
- import {Product} from "./Product";
12
- import {TransactionStatusEnum} from "../enums/TransactionStatusEnum";
13
-
14
- export class TransactionCreateRequest {
15
- @IsNotEmpty()
16
- @IsString()
17
- id: string;
18
-
19
- @IsNotEmpty()
20
- @IsString()
21
- @Length(3, 50)
22
- transactionNumber: string;
23
-
24
- @IsNotEmpty()
25
- @IsString()
26
- @Matches(regexUuidV4,
27
- {
28
- message: 'directoryId must be a valid UUID v4',
29
- })
30
- directoryId: string;
31
-
32
- @IsNotEmpty()
33
- @IsString()
34
- @Matches(regexUuidV4,
35
- {
36
- message: 'peopleId must be a valid UUID v4',
37
- })
38
- peopleId: string;
39
-
40
- @IsString()
41
- pocketId: string;
42
-
43
- @IsString()
44
- fiadoSaAccountId: string;
45
-
46
- @IsNotEmpty()
47
- @IsString()
48
- pagoConfiadoAccountId: string;
49
-
50
- @IsNotEmpty()
51
- @IsString()
52
- @Matches(regexUuidV4,
53
- {
54
- message: 'ownerDirectoryId must be a valid UUID v4',
55
- })
56
- ownerDirectoryId: string;
57
-
58
-
59
- @IsString()
60
- targetDirectoryId: string;
61
-
62
- @IsString()
63
- targetPeopleId: string;
64
-
65
- @IsString()
66
- targetPagoConfiadoAccountId: string;
67
-
68
- @IsNotEmpty()
69
- @IsString()
70
- transactionDate: string;
71
-
72
- @IsString()
73
- sessionId: string;
74
-
75
- @IsNotEmpty()
76
- @IsEnum(CountryId)
77
- currencyId: CountryId;
78
-
79
- @IsNotEmpty()
80
- @IsEnum(OperationEnum)
81
- operation: OperationEnum;
82
-
83
- @ValidateNested({each: true})
84
- @Type(() => Notional)
85
- notional: Notional;
86
-
87
- @ValidateNested({each: true})
88
- @Type(() => Credit)
89
- credit: Credit;
90
-
91
- @ValidateNested({each: true})
92
- @Type(() => Debit)
93
- debit: Debit;
94
-
95
- @ValidateNested({each: true})
96
- @Type(() => Total)
97
- total: Total;
98
-
99
- @ValidateNested({each: true})
100
- @Type(() => Product)
101
- product: Product;
102
-
103
- @IsNotEmpty()
104
- @IsEnum(TypeOfDirectoryId)
105
- typeOfDirectoryId: TypeOfDirectoryId;
106
-
107
- @IsNotEmpty()
108
- @IsEnum(TransactionStatusEnum)
109
- status: TransactionStatusEnum;
110
-
111
- pagoConfiadoAccountBalance?: Number;
112
- targetPagoConfiadoAccountBalance?: Number;
113
- }
114
-
115
-
1
+ import {IsEnum, IsNotEmpty, IsString, Length, Matches, ValidateNested} from "class-validator";
2
+ import {regexUuidV4} from "../../helpers/constans/regex";
3
+ import {CountryId} from "../../country";
4
+ import {OperationEnum} from "../enums/OperationEnum";
5
+ import {TypeOfDirectoryId} from "../../directory";
6
+ import {Type} from "class-transformer";
7
+ import {Notional} from "./Notional";
8
+ import {Credit} from "./Credit";
9
+ import {Debit} from "./Debit";
10
+ import {Total} from "./Total";
11
+ import {Product} from "./Product";
12
+ import {TransactionStatusEnum} from "../enums/TransactionStatusEnum";
13
+
14
+ export class TransactionCreateRequest {
15
+ @IsNotEmpty()
16
+ @IsString()
17
+ id: string;
18
+
19
+ @IsNotEmpty()
20
+ @IsString()
21
+ @Length(3, 50)
22
+ transactionNumber: string;
23
+
24
+ @IsNotEmpty()
25
+ @IsString()
26
+ @Matches(regexUuidV4,
27
+ {
28
+ message: 'directoryId must be a valid UUID v4',
29
+ })
30
+ directoryId: string;
31
+
32
+ @IsNotEmpty()
33
+ @IsString()
34
+ @Matches(regexUuidV4,
35
+ {
36
+ message: 'peopleId must be a valid UUID v4',
37
+ })
38
+ peopleId: string;
39
+
40
+ @IsString()
41
+ pocketId: string;
42
+
43
+ @IsString()
44
+ fiadoSaAccountId: string;
45
+
46
+ @IsNotEmpty()
47
+ @IsString()
48
+ pagoConfiadoAccountId: string;
49
+
50
+ @IsNotEmpty()
51
+ @IsString()
52
+ @Matches(regexUuidV4,
53
+ {
54
+ message: 'ownerDirectoryId must be a valid UUID v4',
55
+ })
56
+ ownerDirectoryId: string;
57
+
58
+
59
+ @IsString()
60
+ targetDirectoryId: string;
61
+
62
+ @IsString()
63
+ targetPeopleId: string;
64
+
65
+ @IsString()
66
+ targetPagoConfiadoAccountId: string;
67
+
68
+ @IsNotEmpty()
69
+ @IsString()
70
+ transactionDate: string;
71
+
72
+ @IsString()
73
+ sessionId: string;
74
+
75
+ @IsNotEmpty()
76
+ @IsEnum(CountryId)
77
+ currencyId: CountryId;
78
+
79
+ @IsNotEmpty()
80
+ @IsEnum(OperationEnum)
81
+ operation: OperationEnum;
82
+
83
+ @ValidateNested({each: true})
84
+ @Type(() => Notional)
85
+ notional: Notional;
86
+
87
+ @ValidateNested({each: true})
88
+ @Type(() => Credit)
89
+ credit: Credit;
90
+
91
+ @ValidateNested({each: true})
92
+ @Type(() => Debit)
93
+ debit: Debit;
94
+
95
+ @ValidateNested({each: true})
96
+ @Type(() => Total)
97
+ total: Total;
98
+
99
+ @ValidateNested({each: true})
100
+ @Type(() => Product)
101
+ product: Product;
102
+
103
+ @IsNotEmpty()
104
+ @IsEnum(TypeOfDirectoryId)
105
+ typeOfDirectoryId: TypeOfDirectoryId;
106
+
107
+ @IsNotEmpty()
108
+ @IsEnum(TransactionStatusEnum)
109
+ status: TransactionStatusEnum;
110
+
111
+ pagoConfiadoAccountBalance?: Number;
112
+ targetPagoConfiadoAccountBalance?: Number;
113
+ }
114
+
115
+
@@ -1,4 +1,4 @@
1
-
2
- export class TransactionCreateResponse {
3
-
4
- }
1
+
2
+ export class TransactionCreateResponse {
3
+
4
+ }
@@ -1,25 +1,25 @@
1
- import { CountryId } from "../../country";
2
- import { OperationEnum } from "../enums/OperationEnum";
3
- import { TransactionSourceEnum } from "../enums/TransactionSourceEnum";
4
- import { TransactionStatusEnum } from "../enums/TransactionStatusEnum";
5
- import { Credit } from "./Credit";
6
- import { Debit } from "./Debit";
7
- import { Notional } from "./Notional";
8
- import { Product } from "./Product";
9
- import { Total } from "./Total";
10
-
11
- export class TransactionGetDetailResponse {
12
- currencyId:CountryId
13
- source: TransactionSourceEnum
14
- transactionNumber:string
15
- product:Product
16
- credit:Credit|null
17
- debit:Debit|null
18
- total: Total|null
19
- notional: Notional|null
20
- status: TransactionStatusEnum
21
- date:string
22
- operation: OperationEnum
23
- displayName: string
24
- transactionType?: string
1
+ import { CountryId } from "../../country";
2
+ import { OperationEnum } from "../enums/OperationEnum";
3
+ import { TransactionSourceEnum } from "../enums/TransactionSourceEnum";
4
+ import { TransactionStatusEnum } from "../enums/TransactionStatusEnum";
5
+ import { Credit } from "./Credit";
6
+ import { Debit } from "./Debit";
7
+ import { Notional } from "./Notional";
8
+ import { Product } from "./Product";
9
+ import { Total } from "./Total";
10
+
11
+ export class TransactionGetDetailResponse {
12
+ currencyId:CountryId
13
+ source: TransactionSourceEnum
14
+ transactionNumber:string
15
+ product:Product
16
+ credit:Credit|null
17
+ debit:Debit|null
18
+ total: Total|null
19
+ notional: Notional|null
20
+ status: TransactionStatusEnum
21
+ date:string
22
+ operation: OperationEnum
23
+ displayName: string
24
+ transactionType?: string
25
25
  }
@@ -1,21 +1,21 @@
1
- import { CountryId } from "../../country";
2
- import { ProductTypeEnum } from "../../productCatalog";
3
- import { OperationEnum } from "../enums/OperationEnum";
4
- import { TransactionSourceEnum } from "../enums/TransactionSourceEnum";
5
- import { TransactionStatusEnum } from "../enums/TransactionStatusEnum";
6
-
7
- export class TransactionGetResponse {
8
- pagination: any;
9
- items: {
10
- source: TransactionSourceEnum;
11
- amount: number;
12
- date: Date;
13
- transactionNumber: string;
14
- transactionType: ProductTypeEnum;
15
- displayName: string;
16
- currencyId: CountryId;
17
- operation: OperationEnum;
18
- status: TransactionStatusEnum;
19
- balance?: number;
20
- }[]
1
+ import { CountryId } from "../../country";
2
+ import { ProductTypeEnum } from "../../productCatalog";
3
+ import { OperationEnum } from "../enums/OperationEnum";
4
+ import { TransactionSourceEnum } from "../enums/TransactionSourceEnum";
5
+ import { TransactionStatusEnum } from "../enums/TransactionStatusEnum";
6
+
7
+ export class TransactionGetResponse {
8
+ pagination: any;
9
+ items: {
10
+ source: TransactionSourceEnum;
11
+ amount: number;
12
+ date: Date;
13
+ transactionNumber: string;
14
+ transactionType: ProductTypeEnum;
15
+ displayName: string;
16
+ currencyId: CountryId;
17
+ operation: OperationEnum;
18
+ status: TransactionStatusEnum;
19
+ balance?: number;
20
+ }[]
21
21
  }
@@ -1,4 +1,4 @@
1
- export enum OperationEnum {
2
- ADD = "ADD",
3
- SUBSTRACT = "SUBSTRACT"
1
+ export enum OperationEnum {
2
+ ADD = "ADD",
3
+ SUBSTRACT = "SUBSTRACT"
4
4
  }
@@ -1,5 +1,5 @@
1
- export enum TransactionSourceEnum {
2
- FIADO_INC = "FIADO_INC",
3
- FIADO_IFPE = "FIADO_IFPE",
4
- FIADO_SA = "FIADO_SA"
1
+ export enum TransactionSourceEnum {
2
+ FIADO_INC = "FIADO_INC",
3
+ FIADO_IFPE = "FIADO_IFPE",
4
+ FIADO_SA = "FIADO_SA"
5
5
  }
@@ -1,7 +1,7 @@
1
- export enum TransactionStatusEnum {
2
- PENDING = 'PENDING',
3
- COMPLETED = 'COMPLETED',
4
- REJECTED = 'REJECTED',
5
- CANCELLED = 'CANCELLED',
6
- RETURNED = "RETURNED"
1
+ export enum TransactionStatusEnum {
2
+ PENDING = 'PENDING',
3
+ COMPLETED = 'COMPLETED',
4
+ REJECTED = 'REJECTED',
5
+ CANCELLED = 'CANCELLED',
6
+ RETURNED = "RETURNED"
7
7
  }
@@ -1,17 +1,17 @@
1
- //dtos
2
- export * from './dtos/TransactionCreateRequest';
3
- export * from './dtos/TransactionCreateResponse';
4
- export * from './dtos/TransactionGetDetailResponse';
5
- export * from './dtos/TransactionGetResponse';
6
- export * from './dtos/Credit';
7
- export * from './dtos/Debit';
8
- export * from './dtos/Notional';
9
- export * from './dtos/Product';
10
- export * from './dtos/ProductDetail';
11
- export * from './dtos/Total';
12
-
13
-
14
- //enums
15
- export * from './enums/OperationEnum';
16
- export * from './enums/TransactionSourceEnum';
17
- export * from './enums/TransactionStatusEnum';
1
+ //dtos
2
+ export * from './dtos/TransactionCreateRequest';
3
+ export * from './dtos/TransactionCreateResponse';
4
+ export * from './dtos/TransactionGetDetailResponse';
5
+ export * from './dtos/TransactionGetResponse';
6
+ export * from './dtos/Credit';
7
+ export * from './dtos/Debit';
8
+ export * from './dtos/Notional';
9
+ export * from './dtos/Product';
10
+ export * from './dtos/ProductDetail';
11
+ export * from './dtos/Total';
12
+
13
+
14
+ //enums
15
+ export * from './enums/OperationEnum';
16
+ export * from './enums/TransactionSourceEnum';
17
+ export * from './enums/TransactionStatusEnum';
@@ -1,7 +1,7 @@
1
- import {AmountInfoItem} from "./AmountInfoItem";
2
-
3
- export class AmountInfo {
4
- transaction: AmountInfoItem;
5
- settlement: AmountInfoItem;
6
- local: AmountInfoItem;
1
+ import {AmountInfoItem} from "./AmountInfoItem";
2
+
3
+ export class AmountInfo {
4
+ transaction: AmountInfoItem;
5
+ settlement: AmountInfoItem;
6
+ local: AmountInfoItem;
7
7
  }
@@ -1,4 +1,4 @@
1
- export class AmountInfoItem {
2
- total: number;
3
- currencyId: string;
1
+ export class AmountInfoItem {
2
+ total: number;
3
+ currencyId: string;
4
4
  }
@@ -1,20 +1,20 @@
1
- import {TransactionInfo} from "./TransactionInfo";
2
- import {MerchantInfo} from "./MerchantInfo";
3
- import {CardInfo} from "./CardInfo";
4
- import {AmountInfo} from "./AmountInfo";
5
- import {CountryId} from "../../country";
6
- import {InstallmentsInfo} from "./InstallmentsInfo";
7
- import {OperationEnum} from "../../transaction";
8
-
9
- export class AuthorizeCreditCardAdjustmentRequest {
10
- idempotencyKey: string;
11
- externalUserId: string;
12
- cardInfo: CardInfo;
13
- productCatalogId: string;
14
- merchantInfo: MerchantInfo;
15
- amountInfo: AmountInfo;
16
- transactionInfo: TransactionInfo;
17
- countryId: CountryId;
18
- installments: InstallmentsInfo;
19
- operation: OperationEnum;
1
+ import {TransactionInfo} from "./TransactionInfo";
2
+ import {MerchantInfo} from "./MerchantInfo";
3
+ import {CardInfo} from "./CardInfo";
4
+ import {AmountInfo} from "./AmountInfo";
5
+ import {CountryId} from "../../country";
6
+ import {InstallmentsInfo} from "./InstallmentsInfo";
7
+ import {OperationEnum} from "../../transaction";
8
+
9
+ export class AuthorizeCreditCardAdjustmentRequest {
10
+ idempotencyKey: string;
11
+ externalUserId: string;
12
+ cardInfo: CardInfo;
13
+ productCatalogId: string;
14
+ merchantInfo: MerchantInfo;
15
+ amountInfo: AmountInfo;
16
+ transactionInfo: TransactionInfo;
17
+ countryId: CountryId;
18
+ installments: InstallmentsInfo;
19
+ operation: OperationEnum;
20
20
  }