@fiado/type-kit 1.2.2 → 1.2.4

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 (452) hide show
  1. package/bin/account/dtos/AccountCreateRequest.d.ts +24 -0
  2. package/bin/account/dtos/AccountCreateRequest.js +104 -0
  3. package/bin/account/dtos/AccountCreateResponse.d.ts +8 -0
  4. package/bin/account/dtos/AccountCreateResponse.js +6 -0
  5. package/bin/account/dtos/AccountInfo.d.ts +12 -0
  6. package/bin/account/dtos/AccountInfo.js +59 -0
  7. package/bin/account/dtos/AccountUpdateBalanceRequest.d.ts +4 -0
  8. package/bin/account/dtos/AccountUpdateBalanceRequest.js +20 -0
  9. package/bin/account/dtos/BankAccountExternalAddress.d.ts +15 -0
  10. package/bin/account/dtos/BankAccountExternalAddress.js +6 -0
  11. package/bin/account/dtos/BankAccountP2pTransferRequest.d.ts +7 -0
  12. package/bin/account/dtos/BankAccountP2pTransferRequest.js +6 -0
  13. package/bin/account/dtos/CreateBankAccountRequest.d.ts +8 -0
  14. package/bin/account/dtos/CreateBankAccountRequest.js +6 -0
  15. package/bin/account/dtos/CreateBankAccountResponse.d.ts +5 -0
  16. package/bin/account/dtos/CreateBankAccountResponse.js +6 -0
  17. package/bin/account/dtos/CreateBankAccountUserRequest.d.ts +14 -0
  18. package/bin/account/dtos/CreateBankAccountUserRequest.js +6 -0
  19. package/bin/account/dtos/CreateBankAccountUserResponse.d.ts +8 -0
  20. package/bin/account/dtos/CreateBankAccountUserResponse.js +6 -0
  21. package/bin/account/dtos/ExchangeInfo.d.ts +4 -0
  22. package/bin/account/dtos/ExchangeInfo.js +23 -0
  23. package/bin/account/dtos/ExecuteP2pOperationRequest.d.ts +7 -0
  24. package/bin/account/dtos/ExecuteP2pOperationRequest.js +6 -0
  25. package/bin/account/dtos/ExecutePocketOperationRequest.d.ts +3 -0
  26. package/bin/account/dtos/ExecutePocketOperationRequest.js +20 -0
  27. package/bin/account/dtos/GetAccountBalanceResponse.d.ts +11 -0
  28. package/bin/account/dtos/GetAccountBalanceResponse.js +59 -0
  29. package/bin/account/dtos/GetAccountResponse.d.ts +20 -0
  30. package/bin/account/dtos/GetAccountResponse.js +89 -0
  31. package/bin/account/dtos/GetBankAccountRequest.d.ts +4 -0
  32. package/bin/account/dtos/GetBankAccountRequest.js +6 -0
  33. package/bin/account/dtos/GetBankAccountResponse.d.ts +22 -0
  34. package/bin/account/dtos/GetBankAccountResponse.js +6 -0
  35. package/bin/account/dtos/GetBankAccountSensitiveInformationRequest.d.ts +5 -0
  36. package/bin/account/dtos/GetBankAccountSensitiveInformationRequest.js +6 -0
  37. package/bin/account/dtos/GetBankAccountSensitiveInformationResponse.d.ts +8 -0
  38. package/bin/account/dtos/GetBankAccountSensitiveInformationResponse.js +6 -0
  39. package/bin/account/dtos/GetBankAccountUserRequest.d.ts +3 -0
  40. package/bin/account/dtos/GetBankAccountUserRequest.js +6 -0
  41. package/bin/account/dtos/GetBankAccountUserResponse.d.ts +25 -0
  42. package/bin/account/dtos/GetBankAccountUserResponse.js +6 -0
  43. package/bin/account/dtos/GetPocketBalanceResponse.d.ts +11 -0
  44. package/bin/account/dtos/GetPocketBalanceResponse.js +65 -0
  45. package/bin/account/dtos/GetPocketResponse.d.ts +8 -0
  46. package/bin/account/dtos/GetPocketResponse.js +5 -0
  47. package/bin/account/dtos/PocketBalanceItem.d.ts +7 -0
  48. package/bin/account/dtos/PocketBalanceItem.js +36 -0
  49. package/bin/account/dtos/PocketItem.d.ts +12 -0
  50. package/bin/account/dtos/PocketItem.js +61 -0
  51. package/bin/account/dtos/UpdateBalanceOperation.d.ts +8 -0
  52. package/bin/account/dtos/UpdateBalanceOperation.js +6 -0
  53. package/bin/account/dtos/UpdateBankAccountUserRequest.d.ts +26 -0
  54. package/bin/account/dtos/UpdateBankAccountUserRequest.js +6 -0
  55. package/bin/account/dtos/UpdateBankAccountUserResponse.d.ts +4 -0
  56. package/bin/account/dtos/UpdateBankAccountUserResponse.js +6 -0
  57. package/bin/account/entities/AccountEntityBase.d.ts +12 -0
  58. package/bin/account/entities/AccountEntityBase.js +6 -0
  59. package/bin/account/enums/AccountEntityStatusEnum.d.ts +5 -0
  60. package/bin/account/enums/AccountEntityStatusEnum.js +9 -0
  61. package/bin/account/enums/AccountLevelEnum.d.ts +6 -0
  62. package/bin/account/enums/AccountLevelEnum.js +10 -0
  63. package/bin/account/enums/BankAccountP2pTransferType.d.ts +6 -0
  64. package/bin/account/enums/BankAccountP2pTransferType.js +10 -0
  65. package/bin/account/enums/BankAccountTypeEnum.d.ts +3 -0
  66. package/bin/account/enums/BankAccountTypeEnum.js +7 -0
  67. package/bin/account/enums/BankAccountUserStatusEnum.d.ts +5 -0
  68. package/bin/account/enums/BankAccountUserStatusEnum.js +9 -0
  69. package/bin/account/enums/UserEntityStatusEnum.d.ts +5 -0
  70. package/bin/account/enums/UserEntityStatusEnum.js +9 -0
  71. package/bin/account/index.d.ts +35 -0
  72. package/bin/account/index.js +54 -0
  73. package/bin/address/dtos/AddressBase.d.ts +34 -0
  74. package/bin/address/dtos/AddressBase.js +163 -0
  75. package/bin/address/dtos/AddressCreateRequest.d.ts +3 -0
  76. package/bin/address/dtos/AddressCreateRequest.js +7 -0
  77. package/bin/address/dtos/AddressResponse.d.ts +7 -0
  78. package/bin/address/dtos/AddressResponse.js +47 -0
  79. package/bin/address/dtos/AddressShippingCardRequest.d.ts +9 -0
  80. package/bin/address/dtos/AddressShippingCardRequest.js +7 -0
  81. package/bin/address/dtos/AddressShippingCardResponse.d.ts +8 -0
  82. package/bin/address/dtos/AddressShippingCardResponse.js +2 -0
  83. package/bin/address/dtos/Geometry.d.ts +3 -0
  84. package/bin/address/dtos/Geometry.js +2 -0
  85. package/bin/address/dtos/OfficeDetails.d.ts +28 -0
  86. package/bin/address/dtos/OfficeDetails.js +2 -0
  87. package/bin/address/dtos/OperationSchedule.d.ts +7 -0
  88. package/bin/address/dtos/OperationSchedule.js +2 -0
  89. package/bin/address/dtos/Place.d.ts +21 -0
  90. package/bin/address/dtos/Place.js +112 -0
  91. package/bin/address/dtos/Shipping.d.ts +11 -0
  92. package/bin/address/dtos/Shipping.js +57 -0
  93. package/bin/address/dtos/Timezone.d.ts +4 -0
  94. package/bin/address/dtos/Timezone.js +2 -0
  95. package/bin/address/enums/AddressProvider.d.ts +9 -0
  96. package/bin/address/enums/AddressProvider.js +13 -0
  97. package/bin/address/enums/AddressStatus.d.ts +9 -0
  98. package/bin/address/enums/AddressStatus.js +13 -0
  99. package/bin/address/index.d.ts +12 -0
  100. package/bin/address/index.js +30 -0
  101. package/bin/app/enums/App.d.ts +9 -0
  102. package/bin/app/enums/App.js +13 -0
  103. package/bin/app/index.d.ts +1 -0
  104. package/bin/app/index.js +18 -0
  105. package/bin/authentication/dtos/SignUpAdditionalRequest.d.ts +7 -0
  106. package/bin/authentication/dtos/SignUpAdditionalRequest.js +46 -0
  107. package/bin/authentication/dtos/SignUpAdditionalResponse.d.ts +4 -0
  108. package/bin/authentication/dtos/SignUpAdditionalResponse.js +6 -0
  109. package/bin/authentication/index.d.ts +2 -0
  110. package/bin/authentication/index.js +19 -0
  111. package/bin/bankAccount/dtos/ExternalAccountCurrency.d.ts +4 -0
  112. package/bin/bankAccount/dtos/ExternalAccountCurrency.js +6 -0
  113. package/bin/bankAccount/dtos/ExternalAccountType.d.ts +4 -0
  114. package/bin/bankAccount/dtos/ExternalAccountType.js +6 -0
  115. package/bin/bankAccount/dtos/GetExternalBankAccountRequest.d.ts +12 -0
  116. package/bin/bankAccount/dtos/GetExternalBankAccountRequest.js +5 -0
  117. package/bin/bankAccount/dtos/GetExternalBankAccountResponse.d.ts +15 -0
  118. package/bin/bankAccount/dtos/GetExternalBankAccountResponse.js +5 -0
  119. package/bin/bankAccount/dtos/GetExternalBankResponse.d.ts +13 -0
  120. package/bin/bankAccount/dtos/GetExternalBankResponse.js +6 -0
  121. package/bin/bankAccount/index.d.ts +5 -0
  122. package/bin/bankAccount/index.js +21 -0
  123. package/bin/bbvaRst/dtos/CreateRSTTransactionRequest.d.ts +13 -0
  124. package/bin/bbvaRst/dtos/CreateRSTTransactionRequest.js +6 -0
  125. package/bin/bbvaRst/dtos/CreateRSTTransactionResponse.d.ts +9 -0
  126. package/bin/bbvaRst/dtos/CreateRSTTransactionResponse.js +6 -0
  127. package/bin/bbvaRst/enums/RSTStatusEnum.d.ts +5 -0
  128. package/bin/bbvaRst/enums/RSTStatusEnum.js +9 -0
  129. package/bin/bbvaRst/index.d.ts +3 -0
  130. package/bin/bbvaRst/index.js +19 -0
  131. package/bin/beneficiary/dtos/AccountBeneficiaryCreateRequest.d.ts +11 -0
  132. package/bin/beneficiary/dtos/AccountBeneficiaryCreateRequest.js +60 -0
  133. package/bin/beneficiary/dtos/AccountBeneficiaryResponse.d.ts +18 -0
  134. package/bin/beneficiary/dtos/AccountBeneficiaryResponse.js +6 -0
  135. package/bin/beneficiary/dtos/AccountBeneficiaryUpdateRequest.d.ts +10 -0
  136. package/bin/beneficiary/dtos/AccountBeneficiaryUpdateRequest.js +59 -0
  137. package/bin/beneficiary/enums/AccountType.d.ts +4 -0
  138. package/bin/beneficiary/enums/AccountType.js +8 -0
  139. package/bin/beneficiary/index.d.ts +4 -0
  140. package/bin/beneficiary/index.js +22 -0
  141. package/bin/card/dtos/CardActivateRequest.d.ts +5 -0
  142. package/bin/card/dtos/CardActivateRequest.js +26 -0
  143. package/bin/card/dtos/CardAdditionalRequest.d.ts +9 -0
  144. package/bin/card/dtos/CardAdditionalRequest.js +44 -0
  145. package/bin/card/dtos/CardAdditionalResponse.d.ts +11 -0
  146. package/bin/card/dtos/CardAdditionalResponse.js +6 -0
  147. package/bin/card/dtos/CardApplicationRequest.d.ts +9 -0
  148. package/bin/card/dtos/CardApplicationRequest.js +42 -0
  149. package/bin/card/dtos/CardBalanceResponse.d.ts +9 -0
  150. package/bin/card/dtos/CardBalanceResponse.js +6 -0
  151. package/bin/card/dtos/CardCreateAdditionalRequest.d.ts +16 -0
  152. package/bin/card/dtos/CardCreateAdditionalRequest.js +94 -0
  153. package/bin/card/dtos/CardResponse.d.ts +33 -0
  154. package/bin/card/dtos/CardResponse.js +6 -0
  155. package/bin/card/dtos/CardSensitiveInformationResponse.d.ts +17 -0
  156. package/bin/card/dtos/CardSensitiveInformationResponse.js +6 -0
  157. package/bin/card/dtos/CardShipmentQueueMessage.d.ts +5 -0
  158. package/bin/card/dtos/CardShipmentQueueMessage.js +7 -0
  159. package/bin/card/dtos/CardShipmentUpdateRequest.d.ts +6 -0
  160. package/bin/card/dtos/CardShipmentUpdateRequest.js +36 -0
  161. package/bin/card/dtos/CardSummaryResponse.d.ts +7 -0
  162. package/bin/card/dtos/CardSummaryResponse.js +6 -0
  163. package/bin/card/dtos/CardUpdateRequest.d.ts +5 -0
  164. package/bin/card/dtos/CardUpdateRequest.js +25 -0
  165. package/bin/card/dtos/Internal/ActivateBankAccountCardRequest.d.ts +8 -0
  166. package/bin/card/dtos/Internal/ActivateBankAccountCardRequest.js +6 -0
  167. package/bin/card/dtos/Internal/ActivateBankAccountCardResponse.d.ts +3 -0
  168. package/bin/card/dtos/Internal/ActivateBankAccountCardResponse.js +6 -0
  169. package/bin/card/dtos/Internal/AssignCardRequest.d.ts +4 -0
  170. package/bin/card/dtos/Internal/AssignCardRequest.js +2 -0
  171. package/bin/card/dtos/Internal/CreateBankAccountCardRequest.d.ts +16 -0
  172. package/bin/card/dtos/Internal/CreateBankAccountCardRequest.js +6 -0
  173. package/bin/card/dtos/Internal/CreateBankAccountCardResponse.d.ts +7 -0
  174. package/bin/card/dtos/Internal/CreateBankAccountCardResponse.js +6 -0
  175. package/bin/card/dtos/Internal/CreateBankAccountCardShippingRequest.d.ts +14 -0
  176. package/bin/card/dtos/Internal/CreateBankAccountCardShippingRequest.js +6 -0
  177. package/bin/card/dtos/Internal/CreateBankAccountCardShippingResponse.d.ts +11 -0
  178. package/bin/card/dtos/Internal/CreateBankAccountCardShippingResponse.js +6 -0
  179. package/bin/card/dtos/Internal/GetBankAccountCardResponse.d.ts +31 -0
  180. package/bin/card/dtos/Internal/GetBankAccountCardResponse.js +2 -0
  181. package/bin/card/dtos/Internal/GetBankAccountShippingRequest.d.ts +3 -0
  182. package/bin/card/dtos/Internal/GetBankAccountShippingRequest.js +6 -0
  183. package/bin/card/dtos/Internal/GetBankAccountShippingResponse.d.ts +19 -0
  184. package/bin/card/dtos/Internal/GetBankAccountShippingResponse.js +6 -0
  185. package/bin/card/dtos/Internal/UpdateBankAccountCardRequest.d.ts +20 -0
  186. package/bin/card/dtos/Internal/UpdateBankAccountCardRequest.js +6 -0
  187. package/bin/card/dtos/Internal/UpdateBankAccountCardResponse.d.ts +4 -0
  188. package/bin/card/dtos/Internal/UpdateBankAccountCardResponse.js +6 -0
  189. package/bin/card/enums/Brand.d.ts +8 -0
  190. package/bin/card/enums/Brand.js +13 -0
  191. package/bin/card/enums/CardIssuanceStatus.d.ts +5 -0
  192. package/bin/card/enums/CardIssuanceStatus.js +9 -0
  193. package/bin/card/enums/CardIssuing.d.ts +5 -0
  194. package/bin/card/enums/CardIssuing.js +9 -0
  195. package/bin/card/enums/CardType.d.ts +5 -0
  196. package/bin/card/enums/CardType.js +9 -0
  197. package/bin/card/enums/CardUpdateKey.d.ts +4 -0
  198. package/bin/card/enums/CardUpdateKey.js +8 -0
  199. package/bin/card/enums/CreditOrDebit.d.ts +4 -0
  200. package/bin/card/enums/CreditOrDebit.js +8 -0
  201. package/bin/card/enums/DeliveryChannel.d.ts +6 -0
  202. package/bin/card/enums/DeliveryChannel.js +10 -0
  203. package/bin/card/enums/ExternalShippingStatus.d.ts +14 -0
  204. package/bin/card/enums/ExternalShippingStatus.js +18 -0
  205. package/bin/card/enums/ExternalShippingStatusDetails.d.ts +54 -0
  206. package/bin/card/enums/ExternalShippingStatusDetails.js +58 -0
  207. package/bin/card/enums/IssuanceType.d.ts +4 -0
  208. package/bin/card/enums/IssuanceType.js +8 -0
  209. package/bin/card/enums/NominatedOrInnominated.d.ts +4 -0
  210. package/bin/card/enums/NominatedOrInnominated.js +8 -0
  211. package/bin/card/enums/OwnershipType.d.ts +4 -0
  212. package/bin/card/enums/OwnershipType.js +8 -0
  213. package/bin/card/enums/ShippingStatus.d.ts +6 -0
  214. package/bin/card/enums/ShippingStatus.js +10 -0
  215. package/bin/card/enums/Status.d.ts +6 -0
  216. package/bin/card/enums/Status.js +10 -0
  217. package/bin/card/enums/UpdateKey.d.ts +4 -0
  218. package/bin/card/enums/UpdateKey.js +8 -0
  219. package/bin/card/enums/VirtualOrPhysical.d.ts +4 -0
  220. package/bin/card/enums/VirtualOrPhysical.js +8 -0
  221. package/bin/card/index.d.ts +40 -0
  222. package/bin/card/index.js +59 -0
  223. package/bin/card/validations/CardUpdateKeyConstraint.d.ts +7 -0
  224. package/bin/card/validations/CardUpdateKeyConstraint.js +57 -0
  225. package/bin/card/validations/IsPhoneNumberConstraint.d.ts +6 -0
  226. package/bin/card/validations/IsPhoneNumberConstraint.js +39 -0
  227. package/bin/contactInfo/dtos/ContactInfoCreateRequest.d.ts +15 -0
  228. package/bin/contactInfo/dtos/ContactInfoCreateRequest.js +76 -0
  229. package/bin/contactInfo/dtos/GetAllContactInfoResponse.d.ts +13 -0
  230. package/bin/contactInfo/dtos/GetAllContactInfoResponse.js +6 -0
  231. package/bin/contactInfo/enums/TypeOfContactIdEnum.d.ts +4 -0
  232. package/bin/contactInfo/enums/TypeOfContactIdEnum.js +8 -0
  233. package/bin/contactInfo/index.d.ts +3 -0
  234. package/bin/contactInfo/index.js +19 -0
  235. package/bin/contract/dtos/ContractCreateRequest.d.ts +8 -0
  236. package/bin/contract/dtos/ContractCreateRequest.js +46 -0
  237. package/bin/contract/dtos/ContractCreateResponse.d.ts +3 -0
  238. package/bin/contract/dtos/ContractCreateResponse.js +6 -0
  239. package/bin/contract/index.d.ts +2 -0
  240. package/bin/contract/index.js +19 -0
  241. package/bin/country/enums/Country.d.ts +4 -0
  242. package/bin/country/enums/Country.js +8 -0
  243. package/bin/country/enums/CountryId.d.ts +4 -0
  244. package/bin/country/enums/CountryId.js +9 -0
  245. package/bin/country/index.d.ts +2 -0
  246. package/bin/country/index.js +20 -0
  247. package/bin/creditContract/dtos/CreditContractCreateRequest.d.ts +15 -0
  248. package/bin/creditContract/dtos/CreditContractCreateRequest.js +72 -0
  249. package/bin/creditContract/enums/InstrumentEnum.d.ts +6 -0
  250. package/bin/creditContract/enums/InstrumentEnum.js +2 -0
  251. package/bin/creditContract/index.d.ts +2 -0
  252. package/bin/creditContract/index.js +20 -0
  253. package/bin/currency/dtos/CurrencyResponse.d.ts +6 -0
  254. package/bin/currency/dtos/CurrencyResponse.js +6 -0
  255. package/bin/currency/index.d.ts +1 -0
  256. package/bin/currency/index.js +17 -0
  257. package/bin/directory/dtos/DirectoryResponse.d.ts +18 -0
  258. package/bin/directory/dtos/DirectoryResponse.js +2 -0
  259. package/bin/directory/dtos/External.d.ts +5 -0
  260. package/bin/directory/dtos/External.js +2 -0
  261. package/bin/directory/enums/Profile.d.ts +5 -0
  262. package/bin/directory/enums/Profile.js +9 -0
  263. package/bin/directory/enums/Scope.d.ts +6 -0
  264. package/bin/directory/enums/Scope.js +10 -0
  265. package/bin/directory/enums/Status.d.ts +6 -0
  266. package/bin/directory/enums/Status.js +10 -0
  267. package/bin/directory/enums/TypeOfDirectoryId.d.ts +5 -0
  268. package/bin/directory/enums/TypeOfDirectoryId.js +9 -0
  269. package/bin/directory/index.d.ts +3 -0
  270. package/bin/directory/index.js +21 -0
  271. package/bin/eventBridge/dto/EventBridgeMessageRequest.d.ts +3 -0
  272. package/bin/eventBridge/dto/EventBridgeMessageRequest.js +7 -0
  273. package/bin/eventBridge/index.d.ts +1 -0
  274. package/bin/eventBridge/index.js +18 -0
  275. package/bin/exchangeRate/dtos/ExchangeRateCreateRequest.d.ts +17 -0
  276. package/bin/exchangeRate/dtos/ExchangeRateCreateRequest.js +74 -0
  277. package/bin/exchangeRate/dtos/ExchangeRateCreateResponse.d.ts +3 -0
  278. package/bin/exchangeRate/dtos/ExchangeRateCreateResponse.js +7 -0
  279. package/bin/exchangeRate/dtos/ExchangeRateResponse.d.ts +18 -0
  280. package/bin/exchangeRate/dtos/ExchangeRateResponse.js +6 -0
  281. package/bin/exchangeRate/dtos/GetExchangeRatesRequest.d.ts +4 -0
  282. package/bin/exchangeRate/dtos/GetExchangeRatesRequest.js +5 -0
  283. package/bin/exchangeRate/enums/ExchangeRateStatus.d.ts +4 -0
  284. package/bin/exchangeRate/enums/ExchangeRateStatus.js +8 -0
  285. package/bin/exchangeRate/index.d.ts +5 -0
  286. package/bin/exchangeRate/index.js +23 -0
  287. package/bin/genericMessage/dto/GenericMessageRequest.d.ts +7 -0
  288. package/bin/genericMessage/dto/GenericMessageRequest.js +30 -0
  289. package/bin/genericMessage/enums/GenericMessageSourceEnum.d.ts +3 -0
  290. package/bin/genericMessage/enums/GenericMessageSourceEnum.js +7 -0
  291. package/bin/genericMessage/index.d.ts +1 -0
  292. package/bin/genericMessage/index.js +18 -0
  293. package/bin/group/dtos/GroupAddDirectoryRequest.d.ts +10 -0
  294. package/bin/group/dtos/GroupAddDirectoryRequest.js +48 -0
  295. package/bin/group/dtos/GroupCreateRequest.d.ts +13 -0
  296. package/bin/group/dtos/GroupCreateRequest.js +77 -0
  297. package/bin/group/dtos/GroupDirectoryRelationsResponse.d.ts +16 -0
  298. package/bin/group/dtos/GroupDirectoryRelationsResponse.js +6 -0
  299. package/bin/group/dtos/GroupDirectoryRelationsUpdateRequest.d.ts +3 -0
  300. package/bin/group/dtos/GroupDirectoryRelationsUpdateRequest.js +22 -0
  301. package/bin/group/dtos/GroupResponse.d.ts +12 -0
  302. package/bin/group/dtos/GroupResponse.js +6 -0
  303. package/bin/group/dtos/GroupUpdateRequest.d.ts +9 -0
  304. package/bin/group/dtos/GroupUpdateRequest.js +49 -0
  305. package/bin/group/enums/GroupAction.d.ts +4 -0
  306. package/bin/group/enums/GroupAction.js +8 -0
  307. package/bin/group/enums/GroupStatus.d.ts +4 -0
  308. package/bin/group/enums/GroupStatus.js +8 -0
  309. package/bin/group/enums/RelationStatus.d.ts +5 -0
  310. package/bin/group/enums/RelationStatus.js +9 -0
  311. package/bin/group/enums/RelationType.d.ts +5 -0
  312. package/bin/group/enums/RelationType.js +9 -0
  313. package/bin/group/index.d.ts +10 -0
  314. package/bin/group/index.js +28 -0
  315. package/bin/header/TokenPayload.d.ts +17 -0
  316. package/bin/header/TokenPayload.js +2 -0
  317. package/bin/header/index.d.ts +1 -0
  318. package/bin/header/index.js +17 -0
  319. package/bin/helpers/ValidationUtils.d.ts +6 -0
  320. package/bin/helpers/ValidationUtils.js +34 -0
  321. package/bin/helpers/constans/regex.d.ts +3 -0
  322. package/bin/helpers/constans/regex.js +9 -0
  323. package/bin/identity/dtos/IdentificationDocument.d.ts +22 -0
  324. package/bin/identity/dtos/IdentificationDocument.js +6 -0
  325. package/bin/identity/dtos/PeopleCreateRequest.d.ts +2 -0
  326. package/bin/identity/dtos/PeopleCreateRequest.js +6 -0
  327. package/bin/identity/dtos/PeopleResponse.d.ts +66 -0
  328. package/bin/identity/dtos/PeopleResponse.js +6 -0
  329. package/bin/identity/dtos/PeopleUpdateRequest.d.ts +68 -0
  330. package/bin/identity/dtos/PeopleUpdateRequest.js +6 -0
  331. package/bin/identity/dtos/TypeOfDocument.d.ts +10 -0
  332. package/bin/identity/dtos/TypeOfDocument.js +6 -0
  333. package/bin/identity/enums/IdentificationDocumentStatus.d.ts +5 -0
  334. package/bin/identity/enums/IdentificationDocumentStatus.js +9 -0
  335. package/bin/identity/enums/SexDocument.d.ts +4 -0
  336. package/bin/identity/enums/SexDocument.js +8 -0
  337. package/bin/identity/enums/TypeOfDocument.d.ts +6 -0
  338. package/bin/identity/enums/TypeOfDocument.js +10 -0
  339. package/bin/identity/index.d.ts +7 -0
  340. package/bin/identity/index.js +25 -0
  341. package/bin/index.d.ts +29 -0
  342. package/bin/index.js +55 -0
  343. package/bin/notificationMessages/dtos/NotificationQueueMessageRequest.d.ts +7 -0
  344. package/bin/notificationMessages/dtos/NotificationQueueMessageRequest.js +6 -0
  345. package/bin/notificationMessages/dtos/QueueMessageDestination.d.ts +6 -0
  346. package/bin/notificationMessages/dtos/QueueMessageDestination.js +6 -0
  347. package/bin/notificationMessages/dtos/QueueMessageVariableValues.d.ts +4 -0
  348. package/bin/notificationMessages/dtos/QueueMessageVariableValues.js +6 -0
  349. package/bin/notificationMessages/enums/NotificationId.d.ts +6 -0
  350. package/bin/notificationMessages/enums/NotificationId.js +10 -0
  351. package/bin/notificationMessages/index.d.ts +4 -0
  352. package/bin/notificationMessages/index.js +20 -0
  353. package/bin/p2pContact/dtos/CreateP2pContactRequest.d.ts +8 -0
  354. package/bin/p2pContact/dtos/CreateP2pContactRequest.js +6 -0
  355. package/bin/p2pContact/index.d.ts +1 -0
  356. package/bin/p2pContact/index.js +17 -0
  357. package/bin/productCatalog/dtos/CreateProductCatalogRequest.d.ts +14 -0
  358. package/bin/productCatalog/dtos/CreateProductCatalogRequest.js +6 -0
  359. package/bin/productCatalog/dtos/GetProductCatalogResponse.d.ts +16 -0
  360. package/bin/productCatalog/dtos/GetProductCatalogResponse.js +62 -0
  361. package/bin/productCatalog/enums/ProductTaxFeeTypeEnum.d.ts +4 -0
  362. package/bin/productCatalog/enums/ProductTaxFeeTypeEnum.js +8 -0
  363. package/bin/productCatalog/enums/ProductTypeEnum.d.ts +12 -0
  364. package/bin/productCatalog/enums/ProductTypeEnum.js +16 -0
  365. package/bin/productCatalog/index.d.ts +4 -0
  366. package/bin/productCatalog/index.js +20 -0
  367. package/bin/provider/enums/Provider.d.ts +5 -0
  368. package/bin/provider/enums/Provider.js +9 -0
  369. package/bin/provider/index.d.ts +1 -0
  370. package/bin/provider/index.js +17 -0
  371. package/bin/queue/dtos/QueueMessageBase.d.ts +5 -0
  372. package/bin/queue/dtos/QueueMessageBase.js +25 -0
  373. package/bin/servicePayment/dtos/GetCatalogParams.d.ts +6 -0
  374. package/bin/servicePayment/dtos/GetCatalogParams.js +6 -0
  375. package/bin/servicePayment/dtos/ServicePaymentRequest.d.ts +8 -0
  376. package/bin/servicePayment/dtos/ServicePaymentRequest.js +46 -0
  377. package/bin/servicePayment/index.d.ts +2 -0
  378. package/bin/servicePayment/index.js +18 -0
  379. package/bin/sessionActivity/dtos/SessionActivityQueueMessageRequest.d.ts +10 -0
  380. package/bin/sessionActivity/dtos/SessionActivityQueueMessageRequest.js +6 -0
  381. package/bin/sessionActivity/enums/SessionActivityActionEnum.d.ts +8 -0
  382. package/bin/sessionActivity/enums/SessionActivityActionEnum.js +12 -0
  383. package/bin/sessionActivity/enums/SessionActivityActionOriginEnum.d.ts +5 -0
  384. package/bin/sessionActivity/enums/SessionActivityActionOriginEnum.js +9 -0
  385. package/bin/sessionActivity/index.d.ts +3 -0
  386. package/bin/sessionActivity/index.js +19 -0
  387. package/bin/stpSpei/dtos/PutStpOrderRequest.d.ts +11 -0
  388. package/bin/stpSpei/dtos/PutStpOrderRequest.js +6 -0
  389. package/bin/stpSpei/dtos/SpeiWebhookMessage.d.ts +9 -0
  390. package/bin/stpSpei/dtos/SpeiWebhookMessage.js +6 -0
  391. package/bin/stpSpei/enums/WebhookMessageStatusEnum.d.ts +5 -0
  392. package/bin/stpSpei/enums/WebhookMessageStatusEnum.js +9 -0
  393. package/bin/stpSpei/index.d.ts +3 -0
  394. package/bin/stpSpei/index.js +19 -0
  395. package/bin/transaction/dtos/Credit.d.ts +7 -0
  396. package/bin/transaction/dtos/Credit.js +41 -0
  397. package/bin/transaction/dtos/Debit.d.ts +6 -0
  398. package/bin/transaction/dtos/Debit.js +36 -0
  399. package/bin/transaction/dtos/Notional.d.ts +6 -0
  400. package/bin/transaction/dtos/Notional.js +36 -0
  401. package/bin/transaction/dtos/Product.d.ts +8 -0
  402. package/bin/transaction/dtos/Product.js +39 -0
  403. package/bin/transaction/dtos/Total.d.ts +6 -0
  404. package/bin/transaction/dtos/Total.js +36 -0
  405. package/bin/transaction/dtos/TransactionCreateRequest.d.ts +28 -0
  406. package/bin/transaction/dtos/TransactionCreateRequest.js +123 -0
  407. package/bin/transaction/dtos/TransactionCreateResponse.d.ts +2 -0
  408. package/bin/transaction/dtos/TransactionCreateResponse.js +6 -0
  409. package/bin/transaction/dtos/TransactionGetResponse.d.ts +17 -0
  410. package/bin/transaction/dtos/TransactionGetResponse.js +6 -0
  411. package/bin/transaction/enums/OperationEnum.d.ts +4 -0
  412. package/bin/transaction/enums/OperationEnum.js +8 -0
  413. package/bin/transaction/enums/TransactionSourceEnum.d.ts +5 -0
  414. package/bin/transaction/enums/TransactionSourceEnum.js +9 -0
  415. package/bin/transaction/index.d.ts +5 -0
  416. package/bin/transaction/index.js +23 -0
  417. package/bin/transactionProcessor/dtos/AmountInfo.d.ts +6 -0
  418. package/bin/transactionProcessor/dtos/AmountInfo.js +6 -0
  419. package/bin/transactionProcessor/dtos/AmountInfoItem.d.ts +4 -0
  420. package/bin/transactionProcessor/dtos/AmountInfoItem.js +6 -0
  421. package/bin/transactionProcessor/dtos/AuthorizeCreditCardAdjustmentRequest.d.ts +17 -0
  422. package/bin/transactionProcessor/dtos/AuthorizeCreditCardAdjustmentRequest.js +6 -0
  423. package/bin/transactionProcessor/dtos/AuthorizeCreditCardPurchaseRequest.d.ts +16 -0
  424. package/bin/transactionProcessor/dtos/AuthorizeCreditCardPurchaseRequest.js +6 -0
  425. package/bin/transactionProcessor/dtos/AuthorizeP2pTransactionRequest.d.ts +9 -0
  426. package/bin/transactionProcessor/dtos/AuthorizeP2pTransactionRequest.js +6 -0
  427. package/bin/transactionProcessor/dtos/AuthorizePocketTransactionRequest.d.ts +8 -0
  428. package/bin/transactionProcessor/dtos/AuthorizePocketTransactionRequest.js +6 -0
  429. package/bin/transactionProcessor/dtos/AuthorizeServicePaymentRequest.d.ts +8 -0
  430. package/bin/transactionProcessor/dtos/AuthorizeServicePaymentRequest.js +6 -0
  431. package/bin/transactionProcessor/dtos/AuthorizeSpeiBankTransferRequest.d.ts +7 -0
  432. package/bin/transactionProcessor/dtos/AuthorizeSpeiBankTransferRequest.js +5 -0
  433. package/bin/transactionProcessor/dtos/CardInfo.d.ts +6 -0
  434. package/bin/transactionProcessor/dtos/CardInfo.js +6 -0
  435. package/bin/transactionProcessor/dtos/InstallmentsInfo.d.ts +7 -0
  436. package/bin/transactionProcessor/dtos/InstallmentsInfo.js +6 -0
  437. package/bin/transactionProcessor/dtos/MerchantInfo.d.ts +7 -0
  438. package/bin/transactionProcessor/dtos/MerchantInfo.js +6 -0
  439. package/bin/transactionProcessor/dtos/SpeiBankTransferStatusUpdate.d.ts +6 -0
  440. package/bin/transactionProcessor/dtos/SpeiBankTransferStatusUpdate.js +6 -0
  441. package/bin/transactionProcessor/dtos/TransactionInfo.d.ts +8 -0
  442. package/bin/transactionProcessor/dtos/TransactionInfo.js +6 -0
  443. package/bin/transactionProcessor/dtos/TransactionProcessorQueueMessage.d.ts +4 -0
  444. package/bin/transactionProcessor/dtos/TransactionProcessorQueueMessage.js +6 -0
  445. package/bin/transactionProcessor/enums/AsyncTxStatusEnum.d.ts +6 -0
  446. package/bin/transactionProcessor/enums/AsyncTxStatusEnum.js +10 -0
  447. package/bin/transactionProcessor/enums/TransactionProcessorCodesEnum.d.ts +14 -0
  448. package/bin/transactionProcessor/enums/TransactionProcessorCodesEnum.js +18 -0
  449. package/bin/transactionProcessor/index.d.ts +16 -0
  450. package/bin/transactionProcessor/index.js +32 -0
  451. package/package.json +1 -1
  452. package/src/contactInfo/index.ts +1 -0
@@ -0,0 +1,39 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ Object.defineProperty(exports, "__esModule", { value: true });
9
+ exports.IsPhoneNumberConstraint = void 0;
10
+ exports.IsPhoneNumberFiado = IsPhoneNumberFiado;
11
+ const class_validator_1 = require("class-validator");
12
+ const regex_1 = require("../../helpers/constans/regex");
13
+ let IsPhoneNumberConstraint = class IsPhoneNumberConstraint {
14
+ validate(deliveryPhoneNumber, args) {
15
+ if (deliveryPhoneNumber === undefined || deliveryPhoneNumber === null || deliveryPhoneNumber === "") {
16
+ return true;
17
+ }
18
+ return regex_1.regexPhoneNumber.test(deliveryPhoneNumber);
19
+ }
20
+ defaultMessage(args) {
21
+ return "The phone number is not valid. The expected format is +############.";
22
+ }
23
+ };
24
+ exports.IsPhoneNumberConstraint = IsPhoneNumberConstraint;
25
+ exports.IsPhoneNumberConstraint = IsPhoneNumberConstraint = __decorate([
26
+ (0, class_validator_1.ValidatorConstraint)({ async: true })
27
+ ], IsPhoneNumberConstraint);
28
+ // Decorador que usaremos en nuestras clases DTO
29
+ function IsPhoneNumberFiado(validationOptions) {
30
+ return function (object, propertyName) {
31
+ (0, class_validator_1.registerDecorator)({
32
+ target: object.constructor,
33
+ propertyName: propertyName,
34
+ options: validationOptions,
35
+ constraints: [],
36
+ validator: IsPhoneNumberConstraint,
37
+ });
38
+ };
39
+ }
@@ -0,0 +1,15 @@
1
+ export declare class ContactInfoCreateRequest {
2
+ contact: string;
3
+ createDate: string;
4
+ directoryId: string;
5
+ isApp: boolean;
6
+ isDeleted: boolean;
7
+ isPrincipal: boolean;
8
+ isSMS: boolean;
9
+ isVoice: boolean;
10
+ isWhatsApp: boolean;
11
+ note: string;
12
+ tenantId: string;
13
+ typeOfContactId: string;
14
+ typeOfDirectoryId: string;
15
+ }
@@ -0,0 +1,76 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.ContactInfoCreateRequest = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ const regex_1 = require("../../helpers/constans/regex");
15
+ const TypeOfContactIdEnum_1 = require("../enums/TypeOfContactIdEnum");
16
+ const directory_1 = require("../../directory");
17
+ class ContactInfoCreateRequest {
18
+ }
19
+ exports.ContactInfoCreateRequest = ContactInfoCreateRequest;
20
+ __decorate([
21
+ (0, class_validator_1.IsString)(),
22
+ __metadata("design:type", String)
23
+ ], ContactInfoCreateRequest.prototype, "contact", void 0);
24
+ __decorate([
25
+ (0, class_validator_1.Matches)(regex_1.regexIso8601, {
26
+ message: 'createDate must be a valid ISO 8601 date string',
27
+ }),
28
+ __metadata("design:type", String)
29
+ ], ContactInfoCreateRequest.prototype, "createDate", void 0);
30
+ __decorate([
31
+ (0, class_validator_1.Matches)(regex_1.regexUuidV4, {
32
+ message: 'directoryId must be a valid UUID v4',
33
+ }),
34
+ __metadata("design:type", String)
35
+ ], ContactInfoCreateRequest.prototype, "directoryId", void 0);
36
+ __decorate([
37
+ (0, class_validator_1.IsBoolean)(),
38
+ __metadata("design:type", Boolean)
39
+ ], ContactInfoCreateRequest.prototype, "isApp", void 0);
40
+ __decorate([
41
+ (0, class_validator_1.IsBoolean)(),
42
+ __metadata("design:type", Boolean)
43
+ ], ContactInfoCreateRequest.prototype, "isDeleted", void 0);
44
+ __decorate([
45
+ (0, class_validator_1.IsBoolean)(),
46
+ __metadata("design:type", Boolean)
47
+ ], ContactInfoCreateRequest.prototype, "isPrincipal", void 0);
48
+ __decorate([
49
+ (0, class_validator_1.IsBoolean)(),
50
+ __metadata("design:type", Boolean)
51
+ ], ContactInfoCreateRequest.prototype, "isSMS", void 0);
52
+ __decorate([
53
+ (0, class_validator_1.IsBoolean)(),
54
+ __metadata("design:type", Boolean)
55
+ ], ContactInfoCreateRequest.prototype, "isVoice", void 0);
56
+ __decorate([
57
+ (0, class_validator_1.IsBoolean)(),
58
+ __metadata("design:type", Boolean)
59
+ ], ContactInfoCreateRequest.prototype, "isWhatsApp", void 0);
60
+ __decorate([
61
+ (0, class_validator_1.IsString)(),
62
+ __metadata("design:type", String)
63
+ ], ContactInfoCreateRequest.prototype, "note", void 0);
64
+ __decorate([
65
+ (0, class_validator_1.IsString)(),
66
+ (0, class_validator_1.Length)(1, 100),
67
+ __metadata("design:type", String)
68
+ ], ContactInfoCreateRequest.prototype, "tenantId", void 0);
69
+ __decorate([
70
+ (0, class_validator_1.IsEnum)(TypeOfContactIdEnum_1.TypeOfContactIdEnum),
71
+ __metadata("design:type", String)
72
+ ], ContactInfoCreateRequest.prototype, "typeOfContactId", void 0);
73
+ __decorate([
74
+ (0, class_validator_1.IsEnum)(directory_1.TypeOfDirectoryId),
75
+ __metadata("design:type", String)
76
+ ], ContactInfoCreateRequest.prototype, "typeOfDirectoryId", void 0);
@@ -0,0 +1,13 @@
1
+ import { TypeOfContactIdEnum } from "../enums/TypeOfContactIdEnum";
2
+ export declare class GetAllContactInfoResponse {
3
+ id: string;
4
+ contact: string;
5
+ directoryId: string;
6
+ isPrincipal: boolean;
7
+ typeOfContactId: TypeOfContactIdEnum;
8
+ isWhatsApp: boolean;
9
+ isVoice: boolean;
10
+ isSMS: boolean;
11
+ isApp: boolean;
12
+ note: string;
13
+ }
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetAllContactInfoResponse = void 0;
4
+ class GetAllContactInfoResponse {
5
+ }
6
+ exports.GetAllContactInfoResponse = GetAllContactInfoResponse;
@@ -0,0 +1,4 @@
1
+ export declare enum TypeOfContactIdEnum {
2
+ PHONE = "PHONE",
3
+ EMAIL = "EMAIL"
4
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TypeOfContactIdEnum = void 0;
4
+ var TypeOfContactIdEnum;
5
+ (function (TypeOfContactIdEnum) {
6
+ TypeOfContactIdEnum["PHONE"] = "PHONE";
7
+ TypeOfContactIdEnum["EMAIL"] = "EMAIL";
8
+ })(TypeOfContactIdEnum || (exports.TypeOfContactIdEnum = TypeOfContactIdEnum = {}));
@@ -0,0 +1,3 @@
1
+ export * from './dtos/GetAllContactInfoResponse';
2
+ export * from './dtos/ContactInfoCreateRequest';
3
+ export * from './enums/TypeOfContactIdEnum';
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./dtos/GetAllContactInfoResponse"), exports);
18
+ __exportStar(require("./dtos/ContactInfoCreateRequest"), exports);
19
+ __exportStar(require("./enums/TypeOfContactIdEnum"), exports);
@@ -0,0 +1,8 @@
1
+ export declare class ContractCreateRequest {
2
+ id: string;
3
+ indexName: string;
4
+ dob: string;
5
+ curp: string;
6
+ createDate: string;
7
+ signBase64: string;
8
+ }
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.ContractCreateRequest = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ class ContractCreateRequest {
15
+ }
16
+ exports.ContractCreateRequest = ContractCreateRequest;
17
+ __decorate([
18
+ (0, class_validator_1.IsString)(),
19
+ (0, class_validator_1.IsNotEmpty)(),
20
+ __metadata("design:type", String)
21
+ ], ContractCreateRequest.prototype, "id", void 0);
22
+ __decorate([
23
+ (0, class_validator_1.IsString)(),
24
+ (0, class_validator_1.IsNotEmpty)(),
25
+ __metadata("design:type", String)
26
+ ], ContractCreateRequest.prototype, "indexName", void 0);
27
+ __decorate([
28
+ (0, class_validator_1.IsString)(),
29
+ (0, class_validator_1.IsNotEmpty)(),
30
+ __metadata("design:type", String)
31
+ ], ContractCreateRequest.prototype, "dob", void 0);
32
+ __decorate([
33
+ (0, class_validator_1.IsString)(),
34
+ (0, class_validator_1.IsNotEmpty)(),
35
+ __metadata("design:type", String)
36
+ ], ContractCreateRequest.prototype, "curp", void 0);
37
+ __decorate([
38
+ (0, class_validator_1.IsString)(),
39
+ (0, class_validator_1.IsNotEmpty)(),
40
+ __metadata("design:type", String)
41
+ ], ContractCreateRequest.prototype, "createDate", void 0);
42
+ __decorate([
43
+ (0, class_validator_1.IsString)(),
44
+ (0, class_validator_1.IsNotEmpty)(),
45
+ __metadata("design:type", String)
46
+ ], ContractCreateRequest.prototype, "signBase64", void 0);
@@ -0,0 +1,3 @@
1
+ export declare class ContractCreateResponse {
2
+ reportBase64: string;
3
+ }
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ContractCreateResponse = void 0;
4
+ class ContractCreateResponse {
5
+ }
6
+ exports.ContractCreateResponse = ContractCreateResponse;
@@ -0,0 +1,2 @@
1
+ export * from './dtos/ContractCreateRequest';
2
+ export * from './dtos/ContractCreateResponse';
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ //dtos
18
+ __exportStar(require("./dtos/ContractCreateRequest"), exports);
19
+ __exportStar(require("./dtos/ContractCreateResponse"), exports);
@@ -0,0 +1,4 @@
1
+ export declare enum Country {
2
+ MEX = "MEX",
3
+ USA = "USA"
4
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Country = void 0;
4
+ var Country;
5
+ (function (Country) {
6
+ Country["MEX"] = "MEX";
7
+ Country["USA"] = "USA";
8
+ })(Country || (exports.Country = Country = {}));
@@ -0,0 +1,4 @@
1
+ export declare enum CountryId {
2
+ MEX = "484",
3
+ USA = "840"
4
+ }
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ //*
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.CountryId = void 0;
5
+ var CountryId;
6
+ (function (CountryId) {
7
+ CountryId["MEX"] = "484";
8
+ CountryId["USA"] = "840";
9
+ })(CountryId || (exports.CountryId = CountryId = {}));
@@ -0,0 +1,2 @@
1
+ export * from './enums/CountryId';
2
+ export * from './enums/Country';
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ //dto
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
16
+ };
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ //enums
19
+ __exportStar(require("./enums/CountryId"), exports);
20
+ __exportStar(require("./enums/Country"), exports);
@@ -0,0 +1,15 @@
1
+ import { CountryId } from "../../country";
2
+ import { ProductTypeEnum } from "../../productCatalog";
3
+ export default class CreditContractCreateRequest {
4
+ directoryUserId: string;
5
+ relatedTransaction: string;
6
+ peopleId: string;
7
+ currencyId: CountryId;
8
+ creditNotional: number;
9
+ creditFee: number;
10
+ creditTax: number;
11
+ creditTotal: number;
12
+ instrument: ProductTypeEnum;
13
+ amountBlocked: number;
14
+ relatedPocketId: string;
15
+ }
@@ -0,0 +1,72 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ const class_validator_1 = require("class-validator");
13
+ const country_1 = require("../../country");
14
+ const productCatalog_1 = require("../../productCatalog");
15
+ class CreditContractCreateRequest {
16
+ }
17
+ exports.default = CreditContractCreateRequest;
18
+ __decorate([
19
+ (0, class_validator_1.IsString)(),
20
+ (0, class_validator_1.IsNotEmpty)(),
21
+ __metadata("design:type", String)
22
+ ], CreditContractCreateRequest.prototype, "directoryUserId", void 0);
23
+ __decorate([
24
+ (0, class_validator_1.IsString)(),
25
+ (0, class_validator_1.IsNotEmpty)(),
26
+ __metadata("design:type", String)
27
+ ], CreditContractCreateRequest.prototype, "relatedTransaction", void 0);
28
+ __decorate([
29
+ (0, class_validator_1.IsString)(),
30
+ (0, class_validator_1.IsNotEmpty)(),
31
+ __metadata("design:type", String)
32
+ ], CreditContractCreateRequest.prototype, "peopleId", void 0);
33
+ __decorate([
34
+ (0, class_validator_1.IsEnum)(country_1.CountryId),
35
+ (0, class_validator_1.IsNotEmpty)(),
36
+ __metadata("design:type", String)
37
+ ], CreditContractCreateRequest.prototype, "currencyId", void 0);
38
+ __decorate([
39
+ (0, class_validator_1.IsNumber)(),
40
+ (0, class_validator_1.IsNotEmpty)(),
41
+ __metadata("design:type", Number)
42
+ ], CreditContractCreateRequest.prototype, "creditNotional", void 0);
43
+ __decorate([
44
+ (0, class_validator_1.IsNumber)(),
45
+ (0, class_validator_1.IsNotEmpty)(),
46
+ __metadata("design:type", Number)
47
+ ], CreditContractCreateRequest.prototype, "creditFee", void 0);
48
+ __decorate([
49
+ (0, class_validator_1.IsNumber)(),
50
+ (0, class_validator_1.IsNotEmpty)(),
51
+ __metadata("design:type", Number)
52
+ ], CreditContractCreateRequest.prototype, "creditTax", void 0);
53
+ __decorate([
54
+ (0, class_validator_1.IsNumber)(),
55
+ (0, class_validator_1.IsNotEmpty)(),
56
+ __metadata("design:type", Number)
57
+ ], CreditContractCreateRequest.prototype, "creditTotal", void 0);
58
+ __decorate([
59
+ (0, class_validator_1.IsEnum)(productCatalog_1.ProductTypeEnum),
60
+ (0, class_validator_1.IsNotEmpty)(),
61
+ __metadata("design:type", String)
62
+ ], CreditContractCreateRequest.prototype, "instrument", void 0);
63
+ __decorate([
64
+ (0, class_validator_1.IsNumber)(),
65
+ (0, class_validator_1.IsNotEmpty)(),
66
+ __metadata("design:type", Number)
67
+ ], CreditContractCreateRequest.prototype, "amountBlocked", void 0);
68
+ __decorate([
69
+ (0, class_validator_1.IsString)(),
70
+ (0, class_validator_1.IsNotEmpty)(),
71
+ __metadata("design:type", String)
72
+ ], CreditContractCreateRequest.prototype, "relatedPocketId", void 0);
@@ -0,0 +1,6 @@
1
+ export declare enum InstrumentEnum {
2
+ CREDIT_CARD = "TdC",
3
+ ATM = "ATM",
4
+ TRANSFER = "TRF",
5
+ SRV = "SRV"
6
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,2 @@
1
+ export * from './dtos/CreditContractCreateRequest';
2
+ export * from './enums/InstrumentEnum';
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ //dtos
18
+ __exportStar(require("./dtos/CreditContractCreateRequest"), exports);
19
+ //enums
20
+ __exportStar(require("./enums/InstrumentEnum"), exports);
@@ -0,0 +1,6 @@
1
+ export declare class CurrencyResponse {
2
+ currencyId: string;
3
+ iso: string;
4
+ name: string;
5
+ symbol: string;
6
+ }
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CurrencyResponse = void 0;
4
+ class CurrencyResponse {
5
+ }
6
+ exports.CurrencyResponse = CurrencyResponse;
@@ -0,0 +1 @@
1
+ export * from './dtos/CurrencyResponse';
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./dtos/CurrencyResponse"), exports);
@@ -0,0 +1,18 @@
1
+ import { Profile } from "../enums/Profile";
2
+ import { Scope } from "../enums/Scope";
3
+ import { Status } from "../enums/Status";
4
+ import { External } from "./External";
5
+ export interface DirectoryResponse {
6
+ id: string;
7
+ identityId: string | null;
8
+ lastSession: string | null;
9
+ ownerDirectoryId: string | null;
10
+ password: string;
11
+ peopleId: string;
12
+ phoneNumber: string;
13
+ scope: Array<Scope>;
14
+ status: Status;
15
+ userProfile: Profile;
16
+ ownerRelation: string | null;
17
+ external: Array<External>;
18
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,5 @@
1
+ import { Provider } from "../../provider/enums/Provider";
2
+ export type External = {
3
+ provider: Provider;
4
+ user: string;
5
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,5 @@
1
+ export declare enum Profile {
2
+ HOST = "HOST",
3
+ GUEST = "GUEST",
4
+ GUEST_MINOR = "GUEST_MINOR"
5
+ }
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Profile = void 0;
4
+ var Profile;
5
+ (function (Profile) {
6
+ Profile["HOST"] = "HOST";
7
+ Profile["GUEST"] = "GUEST";
8
+ Profile["GUEST_MINOR"] = "GUEST_MINOR";
9
+ })(Profile || (exports.Profile = Profile = {}));
@@ -0,0 +1,6 @@
1
+ export declare enum Scope {
2
+ FIADO_MX = "fiado.mx",
3
+ FIADO_US = "fiado.us",
4
+ US_ONBOARDING_PROFILE = "fiado.on_us",
5
+ MX_ONBOARDING_PROFILE = "fiado.on_mx"
6
+ }
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Scope = void 0;
4
+ var Scope;
5
+ (function (Scope) {
6
+ Scope["FIADO_MX"] = "fiado.mx";
7
+ Scope["FIADO_US"] = "fiado.us";
8
+ Scope["US_ONBOARDING_PROFILE"] = "fiado.on_us";
9
+ Scope["MX_ONBOARDING_PROFILE"] = "fiado.on_mx";
10
+ })(Scope || (exports.Scope = Scope = {}));
@@ -0,0 +1,6 @@
1
+ export declare enum Status {
2
+ ACTIVE = "ACTIVE",
3
+ PAUSED = "PAUSED",
4
+ PROHIBITED = "PROHIBITED",
5
+ SIGN_UP = "SIGN_UP"
6
+ }
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Status = void 0;
4
+ var Status;
5
+ (function (Status) {
6
+ Status["ACTIVE"] = "ACTIVE";
7
+ Status["PAUSED"] = "PAUSED";
8
+ Status["PROHIBITED"] = "PROHIBITED";
9
+ Status["SIGN_UP"] = "SIGN_UP";
10
+ })(Status || (exports.Status = Status = {}));
@@ -0,0 +1,5 @@
1
+ export declare enum TypeOfDirectoryId {
2
+ USER = "USER",
3
+ BACKOFFICE = "BACKOFFICE",
4
+ AGENT = "AGENT"
5
+ }
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TypeOfDirectoryId = void 0;
4
+ var TypeOfDirectoryId;
5
+ (function (TypeOfDirectoryId) {
6
+ TypeOfDirectoryId["USER"] = "USER";
7
+ TypeOfDirectoryId["BACKOFFICE"] = "BACKOFFICE";
8
+ TypeOfDirectoryId["AGENT"] = "AGENT";
9
+ })(TypeOfDirectoryId || (exports.TypeOfDirectoryId = TypeOfDirectoryId = {}));
@@ -0,0 +1,3 @@
1
+ export * from './dtos/DirectoryResponse';
2
+ export * from './dtos/External';
3
+ export * from './enums/TypeOfDirectoryId';