@fiado/type-kit 1.0.85 → 1.0.87

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 (270) 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/account/dtos/GetPocketResponse.d.ts +6 -0
  7. package/bin/account/dtos/PocketBalanceItem.d.ts +6 -0
  8. package/bin/account/dtos/PocketBalanceItem.js +32 -0
  9. package/bin/account/dtos/PocketItem.d.ts +2 -3
  10. package/bin/account/dtos/PocketItem.js +3 -11
  11. package/bin/account/index.d.ts +1 -0
  12. package/bin/account/index.js +1 -0
  13. package/bin/tern/dtos/TernAddress.d.ts +8 -0
  14. package/bin/tern/dtos/TernAddress.js +40 -0
  15. package/bin/tern/dtos/TernCreateAccountRequest.d.ts +7 -0
  16. package/bin/tern/dtos/TernCreateAccountRequest.js +33 -0
  17. package/bin/tern/dtos/TernCreateAccountResponse.d.ts +5 -0
  18. package/bin/tern/dtos/TernCreateAccountResponse.js +25 -0
  19. package/bin/tern/dtos/TernCreateUserRequest.d.ts +15 -0
  20. package/bin/tern/dtos/TernCreateUserRequest.js +70 -0
  21. package/bin/tern/dtos/TernCreateUserResponse.d.ts +8 -0
  22. package/bin/tern/dtos/TernCreateUserResponse.js +37 -0
  23. package/bin/tern/dtos/TernGetAccountRequest.d.ts +5 -0
  24. package/bin/tern/dtos/TernGetAccountRequest.js +25 -0
  25. package/bin/tern/dtos/TernGetAccountResponse.d.ts +22 -0
  26. package/bin/tern/dtos/TernGetAccountResponse.js +87 -0
  27. package/bin/tern/dtos/TernGetUserRequest.d.ts +3 -0
  28. package/bin/tern/dtos/TernGetUserRequest.js +20 -0
  29. package/bin/tern/dtos/TernGetUserResponse.d.ts +24 -0
  30. package/bin/tern/dtos/TernGetUserResponse.js +96 -0
  31. package/bin/tern/enums/TernAccountStatusEnum.d.ts +4 -0
  32. package/bin/tern/enums/TernAccountStatusEnum.js +8 -0
  33. package/bin/tern/enums/TernAccountTypeEnum.d.ts +5 -0
  34. package/bin/tern/enums/TernAccountTypeEnum.js +9 -0
  35. package/bin/tern/index.d.ts +11 -0
  36. package/bin/tern/index.js +29 -0
  37. package/package.json +23 -23
  38. package/src/account/dtos/AccountCreateRequest.ts +75 -75
  39. package/src/account/dtos/AccountCreateResponse.ts +7 -7
  40. package/src/account/dtos/AccountInfo.ts +39 -39
  41. package/src/account/dtos/BankAccountExternalAddress.ts +17 -17
  42. package/src/account/dtos/CreateBankAccountRequest.ts +11 -11
  43. package/src/account/dtos/CreateBankAccountResponse.ts +8 -8
  44. package/src/account/dtos/CreateBankAccountUserRequest.ts +17 -17
  45. package/src/account/dtos/CreateBankAccountUserResponse.ts +11 -11
  46. package/src/account/dtos/ExchangeInfo.ts +8 -8
  47. package/src/account/dtos/GetAccountBalanceResponse.ts +32 -32
  48. package/src/account/dtos/GetBankAccountRequest.ts +3 -3
  49. package/src/account/dtos/GetBankAccountResponse.ts +22 -22
  50. package/src/account/dtos/GetBankAccountSensitiveInformationRequest.ts +5 -5
  51. package/src/account/dtos/GetBankAccountSensitiveInformationResponse.ts +8 -8
  52. package/src/account/dtos/GetBankAccountUserRequest.ts +2 -2
  53. package/src/account/dtos/GetBankAccountUserResponse.ts +25 -25
  54. package/src/account/dtos/GetPocketBalanceResponse.ts +43 -43
  55. package/src/account/dtos/GetPocketResponse.ts +8 -2
  56. package/src/account/dtos/PocketBalanceItem.ts +15 -0
  57. package/src/account/dtos/PocketItem.ts +40 -45
  58. package/src/account/dtos/UpdateBankAccountUserRequest.ts +26 -26
  59. package/src/account/dtos/UpdateBankAccountUserResponse.ts +3 -3
  60. package/src/account/entities/AccountEntityBase.ts +12 -12
  61. package/src/account/enums/AccountEntityStatusEnum.ts +4 -4
  62. package/src/account/enums/AccountLevelEnum.ts +5 -5
  63. package/src/account/enums/BankAccountTypeEnum.ts +2 -2
  64. package/src/account/enums/BankAccountUserStatusEnum.ts +4 -4
  65. package/src/account/enums/UserEntityStatusEnum.ts +4 -4
  66. package/src/account/index.ts +33 -32
  67. package/src/address/dtos/AddressBase.ts +130 -130
  68. package/src/address/dtos/AddressCreateRequest.ts +6 -6
  69. package/src/address/dtos/AddressResponse.ts +41 -41
  70. package/src/address/dtos/AddressShippingCardRequest.ts +12 -12
  71. package/src/address/dtos/AddressShippingCardResponse.ts +11 -11
  72. package/src/address/dtos/Geometry.ts +4 -4
  73. package/src/address/dtos/OfficeDetails.ts +30 -30
  74. package/src/address/dtos/OperationSchedule.ts +8 -8
  75. package/src/address/dtos/Place.ts +83 -83
  76. package/src/address/dtos/Shipping.ts +36 -36
  77. package/src/address/dtos/Timezone.ts +5 -5
  78. package/src/address/enums/AddressProvider.ts +10 -10
  79. package/src/address/enums/AddressStatus.ts +9 -9
  80. package/src/address/index.ts +16 -16
  81. package/src/app/enums/App.ts +10 -10
  82. package/src/app/index.ts +3 -3
  83. package/src/authentication/dtos/SignUpAdditionalRequest.ts +32 -32
  84. package/src/authentication/dtos/SignUpAdditionalResponse.ts +5 -5
  85. package/src/authentication/index.ts +3 -3
  86. package/src/card/dtos/CardActivateRequest.ts +12 -12
  87. package/src/card/dtos/CardApplicationRequest.ts +20 -20
  88. package/src/card/dtos/CardBalanceResponse.ts +10 -10
  89. package/src/card/dtos/CardCreateAdditionalRequest.ts +40 -40
  90. package/src/card/dtos/CardResponse.ts +4 -4
  91. package/src/card/dtos/CardShipmentQueueMessage.ts +7 -7
  92. package/src/card/dtos/CardShipmentUpdateRequest.ts +19 -19
  93. package/src/card/dtos/CardUpdateRequest.ts +13 -13
  94. package/src/card/dtos/Internal/ActivateBankAccountCardRequest.ts +9 -9
  95. package/src/card/dtos/Internal/ActivateBankAccountCardResponse.ts +4 -4
  96. package/src/card/dtos/Internal/CreateBankAccountCardRequest.ts +16 -16
  97. package/src/card/dtos/Internal/CreateBankAccountCardResponse.ts +8 -8
  98. package/src/card/dtos/Internal/CreateBankAccountCardShippingRequest.ts +14 -14
  99. package/src/card/dtos/Internal/CreateBankAccountCardShippingResponse.ts +12 -12
  100. package/src/card/dtos/Internal/GetBankAccountShippingRequest.ts +5 -5
  101. package/src/card/dtos/Internal/GetBankAccountShippingResponse.ts +19 -19
  102. package/src/card/dtos/Internal/UpdateBankAccountCardRequest.ts +21 -21
  103. package/src/card/dtos/Internal/UpdateBankAccountCardResponse.ts +5 -5
  104. package/src/card/enums/Brand.ts +7 -7
  105. package/src/card/enums/CardIssuanceStatus.ts +5 -5
  106. package/src/card/enums/CardIssuing.ts +6 -6
  107. package/src/card/enums/CardType.ts +4 -4
  108. package/src/card/enums/CardUpdateKey.ts +4 -4
  109. package/src/card/enums/CreditOrDebit.ts +5 -5
  110. package/src/card/enums/DeliveryChannel.ts +7 -7
  111. package/src/card/enums/ExternalShippingStatus.ts +14 -14
  112. package/src/card/enums/ExternalShippingStatusDetails.ts +53 -53
  113. package/src/card/enums/IssuanceType.ts +5 -5
  114. package/src/card/enums/NominatedOrInnominated.ts +8 -8
  115. package/src/card/enums/OwnershipType.ts +3 -3
  116. package/src/card/enums/ShippingStatus.ts +8 -8
  117. package/src/card/enums/Status.ts +6 -6
  118. package/src/card/enums/UpdateKey.ts +5 -5
  119. package/src/card/enums/VirtualOrPhysical.ts +6 -6
  120. package/src/card/index.ts +44 -44
  121. package/src/card/validations/CardUpdateKeyConstraint.ts +53 -53
  122. package/src/card/validations/IsPhoneNumberConstraint.ts +26 -26
  123. package/src/country/enums/Country.ts +6 -6
  124. package/src/country/enums/CountryId.ts +6 -6
  125. package/src/country/index.ts +5 -5
  126. package/src/currency/dtos/CurrencyResponse.ts +8 -8
  127. package/src/currency/index.ts +2 -2
  128. package/src/directory/dtos/DirectoryResponse.ts +18 -18
  129. package/src/directory/dtos/External.ts +6 -6
  130. package/src/directory/enums/Profile.ts +6 -6
  131. package/src/directory/enums/Scope.ts +7 -7
  132. package/src/directory/enums/Status.ts +8 -8
  133. package/src/directory/enums/TypeOfDirectoryId.ts +6 -6
  134. package/src/directory/index.ts +7 -7
  135. package/src/eventBridge/dto/EventBridgeMessageRequest.ts +4 -4
  136. package/src/eventBridge/index.ts +1 -1
  137. package/src/exchangeRate/dtos/ExchangeRateCreateRequest.ts +50 -50
  138. package/src/exchangeRate/dtos/ExchangeRateCreateResponse.ts +4 -4
  139. package/src/exchangeRate/dtos/ExchangeRateResponse.ts +19 -19
  140. package/src/exchangeRate/enums/ExchangeRateStatus.ts +5 -5
  141. package/src/exchangeRate/index.ts +8 -8
  142. package/src/genericMessage/dto/GenericMessageRequest.ts +17 -17
  143. package/src/genericMessage/enums/GenericMessageSourceEnum.ts +3 -3
  144. package/src/genericMessage/index.ts +1 -1
  145. package/src/group/dtos/GroupAddDirectoryRequest.ts +27 -27
  146. package/src/group/dtos/GroupCreateRequest.ts +54 -54
  147. package/src/group/dtos/GroupDirectoryRelationsResponse.ts +20 -20
  148. package/src/group/dtos/GroupDirectoryRelationsUpdateRequest.ts +10 -10
  149. package/src/group/dtos/GroupResponse.ts +17 -17
  150. package/src/group/dtos/GroupUpdateRequest.ts +31 -31
  151. package/src/group/enums/GroupAction.ts +8 -8
  152. package/src/group/enums/GroupStatus.ts +6 -6
  153. package/src/group/enums/RelationStatus.ts +8 -8
  154. package/src/group/enums/RelationType.ts +9 -9
  155. package/src/group/index.ts +18 -18
  156. package/src/header/TokenPayload.ts +17 -17
  157. package/src/header/index.ts +3 -3
  158. package/src/helpers/ValidationUtils.ts +32 -32
  159. package/src/helpers/constans/regex.ts +12 -12
  160. package/src/identity/dtos/IdentificationDocument.ts +24 -24
  161. package/src/identity/dtos/PeopleCreateRequest.ts +4 -4
  162. package/src/identity/dtos/PeopleResponse.ts +80 -80
  163. package/src/identity/dtos/PeopleUpdateRequest.ts +75 -75
  164. package/src/identity/dtos/TypeOfDocument.ts +11 -11
  165. package/src/identity/enums/IdentificationDocumentStatus.ts +7 -7
  166. package/src/identity/enums/SexDocument.ts +6 -6
  167. package/src/identity/enums/TypeOfDocument.ts +5 -5
  168. package/src/identity/index.ts +12 -12
  169. package/src/index.ts +22 -22
  170. package/src/notificationMessages/dtos/NotificationQueueMessageRequest.ts +7 -7
  171. package/src/notificationMessages/dtos/QueueMessageDestination.ts +6 -6
  172. package/src/notificationMessages/dtos/QueueMessageVariableValues.ts +3 -3
  173. package/src/notificationMessages/enums/NotificationId.ts +13 -13
  174. package/src/notificationMessages/index.ts +5 -5
  175. package/src/provider/enums/Provider.ts +4 -4
  176. package/src/provider/index.ts +1 -1
  177. package/src/queue/dtos/QueueMessageBase.ts +13 -13
  178. package/src/servicePayment/dtos/ServicePaymentRequest.ts +33 -33
  179. package/src/sessionActivity/dtos/SessionActivityQueueMessageRequest.ts +10 -10
  180. package/src/sessionActivity/enums/SessionActivityActionEnum.ts +7 -7
  181. package/src/sessionActivity/enums/SessionActivityActionOriginEnum.ts +4 -4
  182. package/src/sessionActivity/index.ts +2 -2
  183. package/.idea/sonarlint/issuestore/0/9/09ee7ee398f8b5bc6eda536c9104a8ae5419c82e +0 -0
  184. package/.idea/sonarlint/issuestore/1/0/10612661d76edd5c482b60e71edd3a7f74505d5e +0 -0
  185. package/.idea/sonarlint/issuestore/1/2/12453d06e6e35287172e482940b954ba12dc25a2 +0 -2
  186. package/.idea/sonarlint/issuestore/1/8/18c290c3d5b13d503bb211e6319a9e64ccd83350 +0 -0
  187. package/.idea/sonarlint/issuestore/1/f/1fcc1ef4b4c5c551f5f5833f39af79dd4d6440bd +0 -0
  188. package/.idea/sonarlint/issuestore/2/5/25497cc140764f84080ed16d4d408b09b411525a +0 -0
  189. package/.idea/sonarlint/issuestore/2/d/2de53b2c61661c8acd989aad739d9b6cc0deabde +0 -0
  190. package/.idea/sonarlint/issuestore/3/5/355a0b1b7628657539752d4cfbd8f33fcc664d5d +0 -0
  191. package/.idea/sonarlint/issuestore/3/9/3942490f54c10c0111afa09b30a079f3ef9aeec7 +0 -0
  192. package/.idea/sonarlint/issuestore/3/a/3a96f9d5c15844580b34596455a77e22ce0b1da1 +0 -0
  193. package/.idea/sonarlint/issuestore/4/1/4110de41994be7f0e890b6711ba86bb4fb50f602 +0 -0
  194. package/.idea/sonarlint/issuestore/4/f/4f9e0d80d4df64baa27bf681528cb43a3ba4fde6 +0 -0
  195. package/.idea/sonarlint/issuestore/5/5/55792c374cceb362b99620756061abf16563279b +0 -0
  196. package/.idea/sonarlint/issuestore/5/6/566db33aef0142b767c76568b2fca29caaa1b423 +0 -0
  197. package/.idea/sonarlint/issuestore/5/8/5815363aa7c189fe1d8a995d750c3a3f27900621 +0 -0
  198. package/.idea/sonarlint/issuestore/5/9/59861d131fb0f6508d57801b470735455669e76f +0 -0
  199. package/.idea/sonarlint/issuestore/5/a/5a74acb4b064cbe70d9a71991eb486fb4d78f531 +0 -0
  200. package/.idea/sonarlint/issuestore/5/b/5bc0ebc2a399a9f7595b8013c990ef8681de0fb8 +0 -0
  201. package/.idea/sonarlint/issuestore/6/1/619fe0b2aa30704d95a60035674b31d432fc5a75 +0 -0
  202. package/.idea/sonarlint/issuestore/6/4/646b88aafc1ca8453d1a111ea33d258c52e07851 +0 -0
  203. package/.idea/sonarlint/issuestore/6/9/69abfdb53d85b80c255b3ab2a88666175ceeac54 +0 -0
  204. package/.idea/sonarlint/issuestore/6/b/6bcb55d35bf54b940fe29f44e2bb679bc6f621e1 +0 -0
  205. package/.idea/sonarlint/issuestore/6/f/6f43ceef55b03d8c26768ceb4ee9e3e1cea7ddd4 +0 -0
  206. package/.idea/sonarlint/issuestore/7/0/7030d0b2f71b999ff89a343de08c414af32fc93a +0 -0
  207. package/.idea/sonarlint/issuestore/7/3/73d3690344e0bf29ccdba246e5f3450707458c0a +0 -0
  208. package/.idea/sonarlint/issuestore/7/3/73eee44012dacbb17c6d2e2d988e6def209267b8 +0 -0
  209. package/.idea/sonarlint/issuestore/7/7/77a3404a468e41376864800c0ab63d69287e6eab +0 -0
  210. package/.idea/sonarlint/issuestore/7/e/7ecdb333781356fc0fe1cc9fa84ac8f76b996401 +0 -0
  211. package/.idea/sonarlint/issuestore/7/f/7f9d84f1e541f40d1bc582e467f11283b3acfe99 +0 -0
  212. package/.idea/sonarlint/issuestore/8/3/837ec76e2e7ee5ac8e0326747630f9f66b7d5c1c +0 -0
  213. package/.idea/sonarlint/issuestore/8/b/8b0588db2495f22a93ce5d97cc089971f40aa4ec +0 -0
  214. package/.idea/sonarlint/issuestore/8/c/8ce69d617cb074433c15518eed688652cbc8c164 +0 -0
  215. package/.idea/sonarlint/issuestore/8/e/8ec9a00bfd09b3190ac6b22251dbb1aa95a0579d +0 -0
  216. package/.idea/sonarlint/issuestore/9/4/948b0afb07fbe2035d9d0a168a017e51c2b221a2 +0 -0
  217. package/.idea/sonarlint/issuestore/9/8/98a520adeec585ead0013d974a18f679393b6997 +0 -2
  218. package/.idea/sonarlint/issuestore/9/f/9fc96c9beeba61e907bd3ba313f11eac8cf0d430 +0 -0
  219. package/.idea/sonarlint/issuestore/a/5/a545ebf840220599f323a01614431575a770e319 +0 -0
  220. package/.idea/sonarlint/issuestore/a/9/a903e3bfc804794d9b9535cbb530c68383652b5d +0 -0
  221. package/.idea/sonarlint/issuestore/c/5/c5fb850250c7443c48a6c12b5cf6916773da31f1 +0 -0
  222. package/.idea/sonarlint/issuestore/c/9/c9c508bb5b9ad2f0f6b3ad35422b961d678e1d0f +0 -0
  223. package/.idea/sonarlint/issuestore/c/b/cbc130a9515015718fb34e36adfe27e4e31f43e5 +0 -0
  224. package/.idea/sonarlint/issuestore/f/9/f9cb0ab2ca2e8ce4e64e10034c949066c38000f5 +0 -0
  225. package/.idea/sonarlint/issuestore/f/9/f9d6327040914014594d301e0dc6361a476a5ff4 +0 -0
  226. package/.idea/sonarlint/issuestore/index.pb +0 -87
  227. package/.idea/sonarlint/securityhotspotstore/0/9/09ee7ee398f8b5bc6eda536c9104a8ae5419c82e +0 -0
  228. package/.idea/sonarlint/securityhotspotstore/1/0/10612661d76edd5c482b60e71edd3a7f74505d5e +0 -0
  229. package/.idea/sonarlint/securityhotspotstore/1/2/12453d06e6e35287172e482940b954ba12dc25a2 +0 -0
  230. package/.idea/sonarlint/securityhotspotstore/1/8/18c290c3d5b13d503bb211e6319a9e64ccd83350 +0 -0
  231. package/.idea/sonarlint/securityhotspotstore/1/f/1fcc1ef4b4c5c551f5f5833f39af79dd4d6440bd +0 -0
  232. package/.idea/sonarlint/securityhotspotstore/2/5/25497cc140764f84080ed16d4d408b09b411525a +0 -0
  233. package/.idea/sonarlint/securityhotspotstore/2/d/2de53b2c61661c8acd989aad739d9b6cc0deabde +0 -0
  234. package/.idea/sonarlint/securityhotspotstore/3/5/355a0b1b7628657539752d4cfbd8f33fcc664d5d +0 -0
  235. package/.idea/sonarlint/securityhotspotstore/3/9/3942490f54c10c0111afa09b30a079f3ef9aeec7 +0 -0
  236. package/.idea/sonarlint/securityhotspotstore/3/a/3a96f9d5c15844580b34596455a77e22ce0b1da1 +0 -0
  237. package/.idea/sonarlint/securityhotspotstore/4/1/4110de41994be7f0e890b6711ba86bb4fb50f602 +0 -0
  238. package/.idea/sonarlint/securityhotspotstore/4/f/4f9e0d80d4df64baa27bf681528cb43a3ba4fde6 +0 -0
  239. package/.idea/sonarlint/securityhotspotstore/5/5/55792c374cceb362b99620756061abf16563279b +0 -0
  240. package/.idea/sonarlint/securityhotspotstore/5/6/566db33aef0142b767c76568b2fca29caaa1b423 +0 -0
  241. package/.idea/sonarlint/securityhotspotstore/5/8/5815363aa7c189fe1d8a995d750c3a3f27900621 +0 -0
  242. package/.idea/sonarlint/securityhotspotstore/5/9/59861d131fb0f6508d57801b470735455669e76f +0 -0
  243. package/.idea/sonarlint/securityhotspotstore/5/a/5a74acb4b064cbe70d9a71991eb486fb4d78f531 +0 -0
  244. package/.idea/sonarlint/securityhotspotstore/5/b/5bc0ebc2a399a9f7595b8013c990ef8681de0fb8 +0 -0
  245. package/.idea/sonarlint/securityhotspotstore/6/1/619fe0b2aa30704d95a60035674b31d432fc5a75 +0 -0
  246. package/.idea/sonarlint/securityhotspotstore/6/4/646b88aafc1ca8453d1a111ea33d258c52e07851 +0 -0
  247. package/.idea/sonarlint/securityhotspotstore/6/9/69abfdb53d85b80c255b3ab2a88666175ceeac54 +0 -0
  248. package/.idea/sonarlint/securityhotspotstore/6/b/6bcb55d35bf54b940fe29f44e2bb679bc6f621e1 +0 -0
  249. package/.idea/sonarlint/securityhotspotstore/6/f/6f43ceef55b03d8c26768ceb4ee9e3e1cea7ddd4 +0 -0
  250. package/.idea/sonarlint/securityhotspotstore/7/0/7030d0b2f71b999ff89a343de08c414af32fc93a +0 -0
  251. package/.idea/sonarlint/securityhotspotstore/7/3/73d3690344e0bf29ccdba246e5f3450707458c0a +0 -0
  252. package/.idea/sonarlint/securityhotspotstore/7/3/73eee44012dacbb17c6d2e2d988e6def209267b8 +0 -0
  253. package/.idea/sonarlint/securityhotspotstore/7/7/77a3404a468e41376864800c0ab63d69287e6eab +0 -0
  254. package/.idea/sonarlint/securityhotspotstore/7/e/7ecdb333781356fc0fe1cc9fa84ac8f76b996401 +0 -0
  255. package/.idea/sonarlint/securityhotspotstore/7/f/7f9d84f1e541f40d1bc582e467f11283b3acfe99 +0 -0
  256. package/.idea/sonarlint/securityhotspotstore/8/3/837ec76e2e7ee5ac8e0326747630f9f66b7d5c1c +0 -0
  257. package/.idea/sonarlint/securityhotspotstore/8/b/8b0588db2495f22a93ce5d97cc089971f40aa4ec +0 -0
  258. package/.idea/sonarlint/securityhotspotstore/8/c/8ce69d617cb074433c15518eed688652cbc8c164 +0 -0
  259. package/.idea/sonarlint/securityhotspotstore/8/e/8ec9a00bfd09b3190ac6b22251dbb1aa95a0579d +0 -0
  260. package/.idea/sonarlint/securityhotspotstore/9/4/948b0afb07fbe2035d9d0a168a017e51c2b221a2 +0 -0
  261. package/.idea/sonarlint/securityhotspotstore/9/8/98a520adeec585ead0013d974a18f679393b6997 +0 -0
  262. package/.idea/sonarlint/securityhotspotstore/9/f/9fc96c9beeba61e907bd3ba313f11eac8cf0d430 +0 -0
  263. package/.idea/sonarlint/securityhotspotstore/a/5/a545ebf840220599f323a01614431575a770e319 +0 -0
  264. package/.idea/sonarlint/securityhotspotstore/a/9/a903e3bfc804794d9b9535cbb530c68383652b5d +0 -0
  265. package/.idea/sonarlint/securityhotspotstore/c/5/c5fb850250c7443c48a6c12b5cf6916773da31f1 +0 -0
  266. package/.idea/sonarlint/securityhotspotstore/c/9/c9c508bb5b9ad2f0f6b3ad35422b961d678e1d0f +0 -0
  267. package/.idea/sonarlint/securityhotspotstore/c/b/cbc130a9515015718fb34e36adfe27e4e31f43e5 +0 -0
  268. package/.idea/sonarlint/securityhotspotstore/f/9/f9cb0ab2ca2e8ce4e64e10034c949066c38000f5 +0 -0
  269. package/.idea/sonarlint/securityhotspotstore/f/9/f9d6327040914014594d301e0dc6361a476a5ff4 +0 -0
  270. package/.idea/sonarlint/securityhotspotstore/index.pb +0 -87
@@ -1,84 +1,84 @@
1
- import { IsArray, IsBoolean, IsEnum, IsOptional, IsString, Length, ValidateNested } from 'class-validator';
2
- import { Geometry } from "./Geometry";
3
- import { Timezone } from "./Timezone";
4
- import { Country } from '../../country/enums/Country';
5
-
6
- export class Place {
7
- @ValidateNested()
8
- geometry: Geometry;
9
-
10
- @IsOptional()
11
- @IsString()
12
- addressNumber?: string;
13
-
14
- @IsOptional()
15
- @IsArray()
16
- @IsString({ each: true })
17
- categories?: string[];
18
-
19
- @IsOptional()
20
- @IsEnum(Country)
21
- country?: string;
22
-
23
- @IsBoolean()
24
- interpolated: boolean;
25
-
26
- @IsOptional()
27
- @IsString()
28
- @Length(1, 300)
29
- label?: string;
30
-
31
- @IsOptional()
32
- @IsString()
33
- @Length(1, 60)
34
- municipality?: string;
35
-
36
- @IsOptional()
37
- @IsString()
38
- @Length(2, 60)
39
- neighborhood?: string;
40
-
41
- @IsOptional()
42
- @IsString()
43
- @Length(5, 10)
44
- postalCode?: string;
45
-
46
- @IsOptional()
47
- @IsString()
48
- @Length(5, 10)
49
- region?: string;
50
-
51
- @IsOptional()
52
- @IsString()
53
- @Length(1, 100)
54
- street?: string;
55
-
56
- @IsOptional()
57
- @IsString()
58
- @Length(2, 60)
59
- subMunicipality?: string;
60
-
61
- @IsOptional()
62
- @IsString()
63
- @Length(2, 60)
64
- subRegion?: string;
65
-
66
- @IsOptional()
67
- @IsArray()
68
- @IsString({ each: true })
69
- supplementalCategories?: string[];
70
-
71
- @IsOptional()
72
- @ValidateNested()
73
- timezone?: Timezone;
74
-
75
- @IsOptional()
76
- @IsString()
77
- @Length(1, 10)
78
- unitNumber?: string;
79
-
80
- @IsOptional()
81
- @IsString()
82
- @Length(1, 10)
83
- unitType?: string;
1
+ import { IsArray, IsBoolean, IsEnum, IsOptional, IsString, Length, ValidateNested } from 'class-validator';
2
+ import { Geometry } from "./Geometry";
3
+ import { Timezone } from "./Timezone";
4
+ import { Country } from '../../country/enums/Country';
5
+
6
+ export class Place {
7
+ @ValidateNested()
8
+ geometry: Geometry;
9
+
10
+ @IsOptional()
11
+ @IsString()
12
+ addressNumber?: string;
13
+
14
+ @IsOptional()
15
+ @IsArray()
16
+ @IsString({ each: true })
17
+ categories?: string[];
18
+
19
+ @IsOptional()
20
+ @IsEnum(Country)
21
+ country?: string;
22
+
23
+ @IsBoolean()
24
+ interpolated: boolean;
25
+
26
+ @IsOptional()
27
+ @IsString()
28
+ @Length(1, 300)
29
+ label?: string;
30
+
31
+ @IsOptional()
32
+ @IsString()
33
+ @Length(1, 60)
34
+ municipality?: string;
35
+
36
+ @IsOptional()
37
+ @IsString()
38
+ @Length(2, 60)
39
+ neighborhood?: string;
40
+
41
+ @IsOptional()
42
+ @IsString()
43
+ @Length(5, 10)
44
+ postalCode?: string;
45
+
46
+ @IsOptional()
47
+ @IsString()
48
+ @Length(5, 10)
49
+ region?: string;
50
+
51
+ @IsOptional()
52
+ @IsString()
53
+ @Length(1, 100)
54
+ street?: string;
55
+
56
+ @IsOptional()
57
+ @IsString()
58
+ @Length(2, 60)
59
+ subMunicipality?: string;
60
+
61
+ @IsOptional()
62
+ @IsString()
63
+ @Length(2, 60)
64
+ subRegion?: string;
65
+
66
+ @IsOptional()
67
+ @IsArray()
68
+ @IsString({ each: true })
69
+ supplementalCategories?: string[];
70
+
71
+ @IsOptional()
72
+ @ValidateNested()
73
+ timezone?: Timezone;
74
+
75
+ @IsOptional()
76
+ @IsString()
77
+ @Length(1, 10)
78
+ unitNumber?: string;
79
+
80
+ @IsOptional()
81
+ @IsString()
82
+ @Length(1, 10)
83
+ unitType?: string;
84
84
  }
@@ -1,36 +1,36 @@
1
- import { IsString, Length, IsOptional } from 'class-validator';
2
- import { CountryId } from '../../country/enums/CountryId';
3
-
4
- export class Shipping {
5
- @IsString()
6
- @Length(2, 60)
7
- municipality: string;
8
-
9
- @IsString()
10
- @Length(2, 60)
11
- neighborhood: string;
12
-
13
- @IsString()
14
- @Length(5, 10)
15
- postalCode: string;
16
-
17
- @IsString()
18
- @Length(2, 100)
19
- street: string;
20
-
21
- @IsString()
22
- @Length(2, 60)
23
- subRegion: string;
24
-
25
- @IsString()
26
- @Length(1, 10)
27
- addressNumber: string;
28
-
29
- @IsOptional()
30
- @IsString()
31
- @Length(1, 200)
32
- internalNumber?: string;
33
-
34
- @IsString()
35
- countryId: CountryId;
36
- }
1
+ import { IsString, Length, IsOptional } from 'class-validator';
2
+ import { CountryId } from '../../country/enums/CountryId';
3
+
4
+ export class Shipping {
5
+ @IsString()
6
+ @Length(2, 60)
7
+ municipality: string;
8
+
9
+ @IsString()
10
+ @Length(2, 60)
11
+ neighborhood: string;
12
+
13
+ @IsString()
14
+ @Length(5, 10)
15
+ postalCode: string;
16
+
17
+ @IsString()
18
+ @Length(2, 100)
19
+ street: string;
20
+
21
+ @IsString()
22
+ @Length(2, 60)
23
+ subRegion: string;
24
+
25
+ @IsString()
26
+ @Length(1, 10)
27
+ addressNumber: string;
28
+
29
+ @IsOptional()
30
+ @IsString()
31
+ @Length(1, 200)
32
+ internalNumber?: string;
33
+
34
+ @IsString()
35
+ countryId: CountryId;
36
+ }
@@ -1,6 +1,6 @@
1
-
2
-
3
- export type Timezone = {
4
- name: string;
5
- offset: string;
1
+
2
+
3
+ export type Timezone = {
4
+ name: string;
5
+ offset: string;
6
6
  }
@@ -1,10 +1,10 @@
1
-
2
- /**
3
- * AddressProvider enum
4
- * @description AddressProvider enum is used to define the address provider
5
- * @enum {string} AddressProvider
6
- */
7
- export enum AddressProvider {
8
- AWS = "AWS",
9
- MANUAL = "MANUAL"
10
- }
1
+
2
+ /**
3
+ * AddressProvider enum
4
+ * @description AddressProvider enum is used to define the address provider
5
+ * @enum {string} AddressProvider
6
+ */
7
+ export enum AddressProvider {
8
+ AWS = "AWS",
9
+ MANUAL = "MANUAL"
10
+ }
@@ -1,10 +1,10 @@
1
-
2
- /**
3
- * AddressProvider Status
4
- * @description AddressProvider Status is used to define the address provider status
5
- * @enum {string} AddressStatus
6
- */
7
- export enum AddressStatus {
8
- VISIBLE = "VISIBLE",
9
- NOT_VISIBLE = "NOT_VISIBLE"
1
+
2
+ /**
3
+ * AddressProvider Status
4
+ * @description AddressProvider Status is used to define the address provider status
5
+ * @enum {string} AddressStatus
6
+ */
7
+ export enum AddressStatus {
8
+ VISIBLE = "VISIBLE",
9
+ NOT_VISIBLE = "NOT_VISIBLE"
10
10
  }
@@ -1,16 +1,16 @@
1
- //dtos
2
- export * from './dtos/Shipping';
3
- export * from './dtos/AddressCreateRequest';
4
- export * from './dtos/AddressResponse';
5
- export * from './dtos/Geometry';
6
- export * from './dtos/Place';
7
- export * from './dtos/Timezone';
8
- export * from './dtos/OfficeDetails'
9
- export * from './dtos/OperationSchedule'
10
- export * from './dtos/AddressShippingCardResponse'
11
- export * from './dtos/AddressShippingCardRequest'
12
-
13
- //enums
14
- export * from './enums/AddressStatus';
15
- export * from './enums/AddressProvider';
16
-
1
+ //dtos
2
+ export * from './dtos/Shipping';
3
+ export * from './dtos/AddressCreateRequest';
4
+ export * from './dtos/AddressResponse';
5
+ export * from './dtos/Geometry';
6
+ export * from './dtos/Place';
7
+ export * from './dtos/Timezone';
8
+ export * from './dtos/OfficeDetails'
9
+ export * from './dtos/OperationSchedule'
10
+ export * from './dtos/AddressShippingCardResponse'
11
+ export * from './dtos/AddressShippingCardRequest'
12
+
13
+ //enums
14
+ export * from './enums/AddressStatus';
15
+ export * from './enums/AddressProvider';
16
+
@@ -1,11 +1,11 @@
1
-
2
-
3
- export enum App {
4
- USER = "USER",
5
- MERCHANT = "MERCHANT",
6
- BACKOFFICE = "BACKOFFICE",
7
- AGENT = "AGENT",
8
- USER_APP = "APP",
9
- USER_WEB = "WEB",
10
- HYBRID = "HYBRID"
1
+
2
+
3
+ export enum App {
4
+ USER = "USER",
5
+ MERCHANT = "MERCHANT",
6
+ BACKOFFICE = "BACKOFFICE",
7
+ AGENT = "AGENT",
8
+ USER_APP = "APP",
9
+ USER_WEB = "WEB",
10
+ HYBRID = "HYBRID"
11
11
  }
package/src/app/index.ts CHANGED
@@ -1,4 +1,4 @@
1
-
2
-
3
- //enums
1
+
2
+
3
+ //enums
4
4
  export * from './enums/App';
@@ -1,33 +1,33 @@
1
- import { IsBoolean, IsNotEmpty, IsOptional, IsString, Length, Matches } from "class-validator";
2
- import { IsPhoneNumberFiado } from "../../card/validations/IsPhoneNumberConstraint";
3
- import { regexUuidV4 } from "../../helpers/constans/regex";
4
-
5
-
6
-
7
- export class SignUpAdditionalRequest {
8
-
9
- @IsNotEmpty()
10
- @IsString()
11
- @Length(3, 70)
12
- name: string;
13
-
14
- @IsNotEmpty()
15
- @IsString()
16
- @IsPhoneNumberFiado()
17
- phoneNumber: string;
18
-
19
- @IsBoolean()
20
- mexCreditAdditionalWish: boolean;
21
-
22
- @IsString()
23
- @Matches(regexUuidV4,
24
- {
25
- message: 'ownerDirectoryId must be a valid UUID v4',
26
- })
27
- ownerDirectoryId?: string;
28
-
29
- @IsOptional()
30
- @IsString()
31
- ownerRelation: string
32
-
1
+ import { IsBoolean, IsNotEmpty, IsOptional, IsString, Length, Matches } from "class-validator";
2
+ import { IsPhoneNumberFiado } from "../../card/validations/IsPhoneNumberConstraint";
3
+ import { regexUuidV4 } from "../../helpers/constans/regex";
4
+
5
+
6
+
7
+ export class SignUpAdditionalRequest {
8
+
9
+ @IsNotEmpty()
10
+ @IsString()
11
+ @Length(3, 70)
12
+ name: string;
13
+
14
+ @IsNotEmpty()
15
+ @IsString()
16
+ @IsPhoneNumberFiado()
17
+ phoneNumber: string;
18
+
19
+ @IsBoolean()
20
+ mexCreditAdditionalWish: boolean;
21
+
22
+ @IsString()
23
+ @Matches(regexUuidV4,
24
+ {
25
+ message: 'ownerDirectoryId must be a valid UUID v4',
26
+ })
27
+ ownerDirectoryId?: string;
28
+
29
+ @IsOptional()
30
+ @IsString()
31
+ ownerRelation: string
32
+
33
33
  }
@@ -1,6 +1,6 @@
1
-
2
-
3
- export class SignUpAdditionalResponse {
4
- direcrtoryId: string;
5
- peopleId: string;
1
+
2
+
3
+ export class SignUpAdditionalResponse {
4
+ direcrtoryId: string;
5
+ peopleId: string;
6
6
  }
@@ -1,4 +1,4 @@
1
-
2
- //dtos
3
- export * from './dtos/SignUpAdditionalRequest';
1
+
2
+ //dtos
3
+ export * from './dtos/SignUpAdditionalRequest';
4
4
  export * from './dtos/SignUpAdditionalResponse';
@@ -1,12 +1,12 @@
1
- import { IsEnum, IsString, Matches } from 'class-validator';
2
- import { CountryId } from '../../country/enums/CountryId';
3
-
4
-
5
- export class CardActivateRequest {
6
- @IsEnum(CountryId)
7
- countryId: number;
8
-
9
- @IsString()
10
- @Matches(/^\d{16}$/)
11
- panOrCode: string;
12
- }
1
+ import { IsEnum, IsString, Matches } from 'class-validator';
2
+ import { CountryId } from '../../country/enums/CountryId';
3
+
4
+
5
+ export class CardActivateRequest {
6
+ @IsEnum(CountryId)
7
+ countryId: number;
8
+
9
+ @IsString()
10
+ @Matches(/^\d{16}$/)
11
+ panOrCode: string;
12
+ }
@@ -1,20 +1,20 @@
1
-
2
-
3
- import { IsEnum, IsNotEmpty, ValidateNested } from 'class-validator';
4
- import { Type } from 'class-transformer';
5
- import { CountryId } from '../../country/enums/CountryId';
6
- import { CardType } from '../enums/CardType';
7
- import { Shipping } from '../../address/dtos/Shipping';
8
-
9
- export class CardApplicationRequest {
10
- @IsEnum(CountryId)
11
- countryId: number;
12
-
13
- @IsEnum(CardType)
14
- type: string;
15
-
16
- @IsNotEmpty()
17
- @ValidateNested()
18
- @Type(() => Shipping)
19
- address: Shipping;
20
- }
1
+
2
+
3
+ import { IsEnum, IsNotEmpty, ValidateNested } from 'class-validator';
4
+ import { Type } from 'class-transformer';
5
+ import { CountryId } from '../../country/enums/CountryId';
6
+ import { CardType } from '../enums/CardType';
7
+ import { Shipping } from '../../address/dtos/Shipping';
8
+
9
+ export class CardApplicationRequest {
10
+ @IsEnum(CountryId)
11
+ countryId: number;
12
+
13
+ @IsEnum(CardType)
14
+ type: string;
15
+
16
+ @IsNotEmpty()
17
+ @ValidateNested()
18
+ @Type(() => Shipping)
19
+ address: Shipping;
20
+ }
@@ -1,11 +1,11 @@
1
- import { TypeOfDirectoryId } from "../../directory"
2
- import { CountryId } from "../../country"
3
-
4
- export class CardBalanceResponse {
5
-
6
- cardBalanceId: string
7
- currentBalance: number
8
- directoryId: string
9
- typeOfDirectoryId: TypeOfDirectoryId
10
- currencyId: CountryId
1
+ import { TypeOfDirectoryId } from "../../directory"
2
+ import { CountryId } from "../../country"
3
+
4
+ export class CardBalanceResponse {
5
+
6
+ cardBalanceId: string
7
+ currentBalance: number
8
+ directoryId: string
9
+ typeOfDirectoryId: TypeOfDirectoryId
10
+ currencyId: CountryId
11
11
  }
@@ -1,40 +1,40 @@
1
- import { IsDateString, IsNotEmpty, IsString, Length, ValidateNested } from "class-validator";
2
- import { IsPhoneNumberFiado } from "../validations/IsPhoneNumberConstraint";
3
- import { Type } from "class-transformer";
4
- import { AddressCreateRequest } from "../../address";
5
-
6
- export class CardCreateAdditionalRequest {
7
-
8
- @IsNotEmpty()
9
- @IsString()
10
- @Length(3, 40)
11
- name: string;
12
-
13
- @IsNotEmpty()
14
- @IsString()
15
- @Length(3, 20)
16
- lastNamePaternal: string;
17
-
18
- @IsNotEmpty()
19
- @IsString()
20
- @Length(3, 20)
21
- lastNameMaternal: string;
22
-
23
- @IsNotEmpty()
24
- @IsString()
25
- @IsPhoneNumberFiado()
26
- phoneNumber: string;
27
-
28
- @IsDateString()
29
- dateOfBirth: string;
30
-
31
- @IsNotEmpty()
32
- @IsString()
33
- @Length(3, 20)
34
- ownerRelation: string;
35
-
36
- @ValidateNested()
37
- @Type(() => AddressCreateRequest)
38
- address: AddressCreateRequest;
39
- }
40
-
1
+ import { IsDateString, IsNotEmpty, IsString, Length, ValidateNested } from "class-validator";
2
+ import { IsPhoneNumberFiado } from "../validations/IsPhoneNumberConstraint";
3
+ import { Type } from "class-transformer";
4
+ import { AddressCreateRequest } from "../../address";
5
+
6
+ export class CardCreateAdditionalRequest {
7
+
8
+ @IsNotEmpty()
9
+ @IsString()
10
+ @Length(3, 40)
11
+ name: string;
12
+
13
+ @IsNotEmpty()
14
+ @IsString()
15
+ @Length(3, 20)
16
+ lastNamePaternal: string;
17
+
18
+ @IsNotEmpty()
19
+ @IsString()
20
+ @Length(3, 20)
21
+ lastNameMaternal: string;
22
+
23
+ @IsNotEmpty()
24
+ @IsString()
25
+ @IsPhoneNumberFiado()
26
+ phoneNumber: string;
27
+
28
+ @IsDateString()
29
+ dateOfBirth: string;
30
+
31
+ @IsNotEmpty()
32
+ @IsString()
33
+ @Length(3, 20)
34
+ ownerRelation: string;
35
+
36
+ @ValidateNested()
37
+ @Type(() => AddressCreateRequest)
38
+ address: AddressCreateRequest;
39
+ }
40
+
@@ -1,5 +1,5 @@
1
-
2
-
3
- export class CardResponse {
4
-
1
+
2
+
3
+ export class CardResponse {
4
+
5
5
  }
@@ -1,8 +1,8 @@
1
- import { QueueMessageBase } from "../../queue/dtos/QueueMessageBase";
2
- import { CardShipmentUpdateRequest } from "./CardShipmentUpdateRequest";
3
-
4
- export class CardShipmentQueueMessage extends QueueMessageBase<CardShipmentUpdateRequest> {
5
-
6
- message: CardShipmentUpdateRequest;
7
-
1
+ import { QueueMessageBase } from "../../queue/dtos/QueueMessageBase";
2
+ import { CardShipmentUpdateRequest } from "./CardShipmentUpdateRequest";
3
+
4
+ export class CardShipmentQueueMessage extends QueueMessageBase<CardShipmentUpdateRequest> {
5
+
6
+ message: CardShipmentUpdateRequest;
7
+
8
8
  }