@fiado/type-kit 1.1.43 → 1.1.45

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 (385) 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/sonarlint/issuestore/0/2/02175ba1c7b82f17c1f95edd897711cf21fc8b55 +0 -0
  5. package/.idea/sonarlint/issuestore/0/3/0382ec9d8bd1d671b35f3cce2e83a60a6f0d4e92 +0 -0
  6. package/.idea/sonarlint/issuestore/0/9/09ee7ee398f8b5bc6eda536c9104a8ae5419c82e +0 -0
  7. package/.idea/sonarlint/issuestore/0/f/0f534ce38f745b6707998aa6c868a729b909bf4d +0 -0
  8. package/.idea/sonarlint/issuestore/1/0/10612661d76edd5c482b60e71edd3a7f74505d5e +0 -0
  9. package/.idea/sonarlint/issuestore/1/2/12453d06e6e35287172e482940b954ba12dc25a2 +2 -0
  10. package/.idea/sonarlint/issuestore/1/8/18c290c3d5b13d503bb211e6319a9e64ccd83350 +0 -0
  11. package/.idea/sonarlint/issuestore/1/f/1fcc1ef4b4c5c551f5f5833f39af79dd4d6440bd +0 -0
  12. package/.idea/sonarlint/issuestore/2/4/244f232939a7014966ac2eff9cd795d12c5ddc21 +0 -0
  13. package/.idea/sonarlint/issuestore/2/5/25497cc140764f84080ed16d4d408b09b411525a +0 -0
  14. package/.idea/sonarlint/issuestore/2/9/2983524a17882775f03310e18fd052a958d44d3b +0 -0
  15. package/.idea/sonarlint/issuestore/2/c/2cf73169675e38d4411f50e8ac8e5c5186a3616e +0 -0
  16. package/.idea/sonarlint/issuestore/2/d/2de53b2c61661c8acd989aad739d9b6cc0deabde +0 -0
  17. package/.idea/sonarlint/issuestore/3/5/355a0b1b7628657539752d4cfbd8f33fcc664d5d +0 -0
  18. package/.idea/sonarlint/issuestore/3/8/38c41cacebf63514689973e01014e89db38448d7 +0 -0
  19. package/.idea/sonarlint/issuestore/3/9/3942490f54c10c0111afa09b30a079f3ef9aeec7 +0 -0
  20. package/.idea/sonarlint/issuestore/3/a/3a96f9d5c15844580b34596455a77e22ce0b1da1 +0 -0
  21. package/.idea/sonarlint/issuestore/4/1/4110de41994be7f0e890b6711ba86bb4fb50f602 +0 -0
  22. package/.idea/sonarlint/issuestore/4/d/4d722d4f799d0dcaf4f273105d16ce2d9761ceb2 +0 -0
  23. package/.idea/sonarlint/issuestore/4/f/4f9e0d80d4df64baa27bf681528cb43a3ba4fde6 +0 -0
  24. package/.idea/sonarlint/issuestore/5/2/52124373285180cc9fc913380c1cf02a160f9e62 +0 -0
  25. package/.idea/sonarlint/issuestore/5/5/55792c374cceb362b99620756061abf16563279b +0 -0
  26. package/.idea/sonarlint/issuestore/5/6/566db33aef0142b767c76568b2fca29caaa1b423 +0 -0
  27. package/.idea/sonarlint/issuestore/5/7/57d8ecb1bda7803e970cddbcb9d96ec682fbce50 +0 -0
  28. package/.idea/sonarlint/issuestore/5/8/5815363aa7c189fe1d8a995d750c3a3f27900621 +0 -0
  29. package/.idea/sonarlint/issuestore/5/9/5993b7cd868ca0f67fff0860484d2de906467a5c +0 -0
  30. package/.idea/sonarlint/issuestore/5/a/5a74acb4b064cbe70d9a71991eb486fb4d78f531 +0 -0
  31. package/.idea/sonarlint/issuestore/5/b/5b4cf966e749bb0515dfad5d0c51e5fa59e969e5 +0 -0
  32. package/.idea/sonarlint/issuestore/5/b/5bc0ebc2a399a9f7595b8013c990ef8681de0fb8 +0 -0
  33. package/.idea/sonarlint/issuestore/6/1/619fe0b2aa30704d95a60035674b31d432fc5a75 +0 -0
  34. package/.idea/sonarlint/issuestore/6/4/646b88aafc1ca8453d1a111ea33d258c52e07851 +0 -0
  35. package/.idea/sonarlint/issuestore/6/5/65e727e2ee3468d20e4bf7cb3800385cb2c7a983 +0 -0
  36. package/.idea/sonarlint/issuestore/6/6/6627ec0b7b336db9c2a70382b2ee1e69ba3163ac +0 -0
  37. package/.idea/sonarlint/issuestore/6/9/69abfdb53d85b80c255b3ab2a88666175ceeac54 +0 -0
  38. package/.idea/sonarlint/issuestore/6/b/6bcb55d35bf54b940fe29f44e2bb679bc6f621e1 +0 -0
  39. package/.idea/sonarlint/issuestore/6/f/6f43ceef55b03d8c26768ceb4ee9e3e1cea7ddd4 +0 -0
  40. package/.idea/sonarlint/issuestore/7/0/7030d0b2f71b999ff89a343de08c414af32fc93a +0 -0
  41. package/.idea/sonarlint/issuestore/7/0/70c663239858c68590cdba7e904366fe59855b0b +0 -0
  42. package/.idea/sonarlint/issuestore/7/3/73d3690344e0bf29ccdba246e5f3450707458c0a +0 -0
  43. package/.idea/sonarlint/issuestore/7/3/73eee44012dacbb17c6d2e2d988e6def209267b8 +0 -0
  44. package/.idea/sonarlint/issuestore/7/4/7489a99709fa9ca44fa1a085c02ee8502e21a9fd +0 -0
  45. package/.idea/sonarlint/issuestore/7/7/77a3404a468e41376864800c0ab63d69287e6eab +0 -0
  46. package/.idea/sonarlint/issuestore/7/8/782e1a44f35a71927df243d92a4eede126f437ac +0 -0
  47. package/.idea/sonarlint/issuestore/7/e/7ecdb333781356fc0fe1cc9fa84ac8f76b996401 +0 -0
  48. package/.idea/sonarlint/issuestore/7/f/7f9d84f1e541f40d1bc582e467f11283b3acfe99 +0 -0
  49. package/.idea/sonarlint/issuestore/8/1/81c76302465b6fb29ef101681712a023c52c8f00 +0 -0
  50. package/.idea/sonarlint/issuestore/8/2/823bafbef2d005b52054bb6ba237d26a93a69289 +0 -0
  51. package/.idea/sonarlint/issuestore/8/b/8b0588db2495f22a93ce5d97cc089971f40aa4ec +0 -0
  52. package/.idea/sonarlint/issuestore/8/c/8ce69d617cb074433c15518eed688652cbc8c164 +0 -0
  53. package/.idea/sonarlint/issuestore/8/e/8ec9a00bfd09b3190ac6b22251dbb1aa95a0579d +0 -0
  54. package/.idea/sonarlint/issuestore/9/4/948b0afb07fbe2035d9d0a168a017e51c2b221a2 +0 -0
  55. package/.idea/sonarlint/issuestore/9/4/94f646fcac8f4172c6e6958abd9f455b3c79995f +0 -0
  56. package/.idea/sonarlint/issuestore/9/5/95966b4a91847f490e094dfa87f80c2c5c59fbb9 +0 -0
  57. package/.idea/sonarlint/issuestore/9/8/98a520adeec585ead0013d974a18f679393b6997 +0 -0
  58. package/.idea/sonarlint/issuestore/9/f/9fc96c9beeba61e907bd3ba313f11eac8cf0d430 +0 -0
  59. package/.idea/sonarlint/issuestore/a/0/a06a99270cf7808dda3a6025cf813ae52720b475 +0 -0
  60. package/.idea/sonarlint/issuestore/a/5/a5cc2925ca8258af241be7e5b0381edf30266302 +0 -0
  61. package/.idea/sonarlint/issuestore/a/9/a903e3bfc804794d9b9535cbb530c68383652b5d +0 -0
  62. package/.idea/sonarlint/issuestore/a/b/abfb24bd8d0e3cdfbf3ff4c7e80603bf1cdf7871 +0 -0
  63. package/.idea/sonarlint/issuestore/b/2/b2186424e9f368610bda357e95a38d1b7b11ba53 +0 -0
  64. package/.idea/sonarlint/issuestore/b/c/bc5b896ed63da1497d081036364d9f2384f2ea37 +0 -0
  65. package/.idea/sonarlint/issuestore/c/5/c5fb850250c7443c48a6c12b5cf6916773da31f1 +0 -0
  66. package/.idea/sonarlint/issuestore/c/9/c9c508bb5b9ad2f0f6b3ad35422b961d678e1d0f +0 -0
  67. package/.idea/sonarlint/issuestore/c/b/cbc130a9515015718fb34e36adfe27e4e31f43e5 +0 -0
  68. package/.idea/sonarlint/issuestore/d/2/d24fe332e92475452d840d36f81c9af7b70887e7 +0 -0
  69. package/.idea/sonarlint/issuestore/d/2/d2b43e6a30699faba4dff61341b06c7e17e7f400 +0 -0
  70. package/.idea/sonarlint/issuestore/d/d/dd375f957eb150c2f7fb1d4edba07501286db515 +0 -0
  71. package/.idea/sonarlint/issuestore/d/f/df083cf457b627bc4ada3c11eee92cc83e6c4c80 +0 -0
  72. package/.idea/sonarlint/issuestore/e/0/e05f58bae396006667e2ac1103d301e443e1f856 +0 -0
  73. package/.idea/sonarlint/issuestore/e/d/ed43355775e0bbf3987e4526d4d8dd779773eb91 +0 -0
  74. package/.idea/sonarlint/issuestore/f/2/f2d1f4712d58f68a238d7df4f455d3cc45882594 +0 -0
  75. package/.idea/sonarlint/issuestore/f/9/f9cb0ab2ca2e8ce4e64e10034c949066c38000f5 +0 -0
  76. package/.idea/sonarlint/issuestore/f/9/f9d6327040914014594d301e0dc6361a476a5ff4 +0 -0
  77. package/.idea/sonarlint/issuestore/f/a/fa9452abeeb6e134b984ce22f0ff271a774c9093 +0 -0
  78. package/.idea/sonarlint/issuestore/f/a/fa9dce145b13c5aaff8e84813e79f94dcd4c0860 +0 -0
  79. package/.idea/sonarlint/issuestore/f/b/fb74f3edc49c374fcb38034841d290680603b9cb +0 -0
  80. package/.idea/sonarlint/issuestore/f/d/fdd4872693720f9140008b46069639fb2801114d +0 -0
  81. package/.idea/sonarlint/issuestore/index.pb +156 -0
  82. package/.idea/sonarlint/securityhotspotstore/0/2/02175ba1c7b82f17c1f95edd897711cf21fc8b55 +0 -0
  83. package/.idea/sonarlint/securityhotspotstore/0/3/0382ec9d8bd1d671b35f3cce2e83a60a6f0d4e92 +0 -0
  84. package/.idea/sonarlint/securityhotspotstore/0/9/09ee7ee398f8b5bc6eda536c9104a8ae5419c82e +0 -0
  85. package/.idea/sonarlint/securityhotspotstore/0/f/0f534ce38f745b6707998aa6c868a729b909bf4d +0 -0
  86. package/.idea/sonarlint/securityhotspotstore/1/0/10612661d76edd5c482b60e71edd3a7f74505d5e +0 -0
  87. package/.idea/sonarlint/securityhotspotstore/1/2/12453d06e6e35287172e482940b954ba12dc25a2 +0 -0
  88. package/.idea/sonarlint/securityhotspotstore/1/8/18c290c3d5b13d503bb211e6319a9e64ccd83350 +0 -0
  89. package/.idea/sonarlint/securityhotspotstore/1/f/1fcc1ef4b4c5c551f5f5833f39af79dd4d6440bd +0 -0
  90. package/.idea/sonarlint/securityhotspotstore/2/4/244f232939a7014966ac2eff9cd795d12c5ddc21 +0 -0
  91. package/.idea/sonarlint/securityhotspotstore/2/5/25497cc140764f84080ed16d4d408b09b411525a +0 -0
  92. package/.idea/sonarlint/securityhotspotstore/2/9/2983524a17882775f03310e18fd052a958d44d3b +0 -0
  93. package/.idea/sonarlint/securityhotspotstore/2/c/2cf73169675e38d4411f50e8ac8e5c5186a3616e +0 -0
  94. package/.idea/sonarlint/securityhotspotstore/2/d/2de53b2c61661c8acd989aad739d9b6cc0deabde +0 -0
  95. package/.idea/sonarlint/securityhotspotstore/3/5/355a0b1b7628657539752d4cfbd8f33fcc664d5d +0 -0
  96. package/.idea/sonarlint/securityhotspotstore/3/8/38c41cacebf63514689973e01014e89db38448d7 +0 -0
  97. package/.idea/sonarlint/securityhotspotstore/3/9/3942490f54c10c0111afa09b30a079f3ef9aeec7 +0 -0
  98. package/.idea/sonarlint/securityhotspotstore/3/a/3a96f9d5c15844580b34596455a77e22ce0b1da1 +0 -0
  99. package/.idea/sonarlint/securityhotspotstore/4/1/4110de41994be7f0e890b6711ba86bb4fb50f602 +0 -0
  100. package/.idea/sonarlint/securityhotspotstore/4/d/4d722d4f799d0dcaf4f273105d16ce2d9761ceb2 +0 -0
  101. package/.idea/sonarlint/securityhotspotstore/4/f/4f9e0d80d4df64baa27bf681528cb43a3ba4fde6 +0 -0
  102. package/.idea/sonarlint/securityhotspotstore/5/2/52124373285180cc9fc913380c1cf02a160f9e62 +0 -0
  103. package/.idea/sonarlint/securityhotspotstore/5/5/55792c374cceb362b99620756061abf16563279b +0 -0
  104. package/.idea/sonarlint/securityhotspotstore/5/6/566db33aef0142b767c76568b2fca29caaa1b423 +0 -0
  105. package/.idea/sonarlint/securityhotspotstore/5/7/57d8ecb1bda7803e970cddbcb9d96ec682fbce50 +0 -0
  106. package/.idea/sonarlint/securityhotspotstore/5/8/5815363aa7c189fe1d8a995d750c3a3f27900621 +0 -0
  107. package/.idea/sonarlint/securityhotspotstore/5/9/5993b7cd868ca0f67fff0860484d2de906467a5c +0 -0
  108. package/.idea/sonarlint/securityhotspotstore/5/a/5a74acb4b064cbe70d9a71991eb486fb4d78f531 +0 -0
  109. package/.idea/sonarlint/securityhotspotstore/5/b/5b4cf966e749bb0515dfad5d0c51e5fa59e969e5 +0 -0
  110. package/.idea/sonarlint/securityhotspotstore/5/b/5bc0ebc2a399a9f7595b8013c990ef8681de0fb8 +0 -0
  111. package/.idea/sonarlint/securityhotspotstore/6/1/619fe0b2aa30704d95a60035674b31d432fc5a75 +0 -0
  112. package/.idea/sonarlint/securityhotspotstore/6/4/646b88aafc1ca8453d1a111ea33d258c52e07851 +0 -0
  113. package/.idea/sonarlint/securityhotspotstore/6/5/65e727e2ee3468d20e4bf7cb3800385cb2c7a983 +0 -0
  114. package/.idea/sonarlint/securityhotspotstore/6/6/6627ec0b7b336db9c2a70382b2ee1e69ba3163ac +0 -0
  115. package/.idea/sonarlint/securityhotspotstore/6/9/69abfdb53d85b80c255b3ab2a88666175ceeac54 +0 -0
  116. package/.idea/sonarlint/securityhotspotstore/6/b/6bcb55d35bf54b940fe29f44e2bb679bc6f621e1 +0 -0
  117. package/.idea/sonarlint/securityhotspotstore/6/f/6f43ceef55b03d8c26768ceb4ee9e3e1cea7ddd4 +0 -0
  118. package/.idea/sonarlint/securityhotspotstore/7/0/7030d0b2f71b999ff89a343de08c414af32fc93a +0 -0
  119. package/.idea/sonarlint/securityhotspotstore/7/0/70c663239858c68590cdba7e904366fe59855b0b +0 -0
  120. package/.idea/sonarlint/securityhotspotstore/7/3/73d3690344e0bf29ccdba246e5f3450707458c0a +0 -0
  121. package/.idea/sonarlint/securityhotspotstore/7/3/73eee44012dacbb17c6d2e2d988e6def209267b8 +0 -0
  122. package/.idea/sonarlint/securityhotspotstore/7/4/7489a99709fa9ca44fa1a085c02ee8502e21a9fd +0 -0
  123. package/.idea/sonarlint/securityhotspotstore/7/7/77a3404a468e41376864800c0ab63d69287e6eab +0 -0
  124. package/.idea/sonarlint/securityhotspotstore/7/8/782e1a44f35a71927df243d92a4eede126f437ac +0 -0
  125. package/.idea/sonarlint/securityhotspotstore/7/e/7ecdb333781356fc0fe1cc9fa84ac8f76b996401 +0 -0
  126. package/.idea/sonarlint/securityhotspotstore/7/f/7f9d84f1e541f40d1bc582e467f11283b3acfe99 +0 -0
  127. package/.idea/sonarlint/securityhotspotstore/8/1/81c76302465b6fb29ef101681712a023c52c8f00 +0 -0
  128. package/.idea/sonarlint/securityhotspotstore/8/2/823bafbef2d005b52054bb6ba237d26a93a69289 +0 -0
  129. package/.idea/sonarlint/securityhotspotstore/8/b/8b0588db2495f22a93ce5d97cc089971f40aa4ec +0 -0
  130. package/.idea/sonarlint/securityhotspotstore/8/c/8ce69d617cb074433c15518eed688652cbc8c164 +0 -0
  131. package/.idea/sonarlint/securityhotspotstore/8/e/8ec9a00bfd09b3190ac6b22251dbb1aa95a0579d +0 -0
  132. package/.idea/sonarlint/securityhotspotstore/9/4/948b0afb07fbe2035d9d0a168a017e51c2b221a2 +0 -0
  133. package/.idea/sonarlint/securityhotspotstore/9/4/94f646fcac8f4172c6e6958abd9f455b3c79995f +0 -0
  134. package/.idea/sonarlint/securityhotspotstore/9/5/95966b4a91847f490e094dfa87f80c2c5c59fbb9 +0 -0
  135. package/.idea/sonarlint/securityhotspotstore/9/8/98a520adeec585ead0013d974a18f679393b6997 +0 -0
  136. package/.idea/sonarlint/securityhotspotstore/9/f/9fc96c9beeba61e907bd3ba313f11eac8cf0d430 +0 -0
  137. package/.idea/sonarlint/securityhotspotstore/a/0/a06a99270cf7808dda3a6025cf813ae52720b475 +0 -0
  138. package/.idea/sonarlint/securityhotspotstore/a/5/a5cc2925ca8258af241be7e5b0381edf30266302 +0 -0
  139. package/.idea/sonarlint/securityhotspotstore/a/9/a903e3bfc804794d9b9535cbb530c68383652b5d +0 -0
  140. package/.idea/sonarlint/securityhotspotstore/a/b/abfb24bd8d0e3cdfbf3ff4c7e80603bf1cdf7871 +0 -0
  141. package/.idea/sonarlint/securityhotspotstore/b/2/b2186424e9f368610bda357e95a38d1b7b11ba53 +0 -0
  142. package/.idea/sonarlint/securityhotspotstore/b/c/bc5b896ed63da1497d081036364d9f2384f2ea37 +0 -0
  143. package/.idea/sonarlint/securityhotspotstore/c/5/c5fb850250c7443c48a6c12b5cf6916773da31f1 +0 -0
  144. package/.idea/sonarlint/securityhotspotstore/c/9/c9c508bb5b9ad2f0f6b3ad35422b961d678e1d0f +0 -0
  145. package/.idea/sonarlint/securityhotspotstore/c/b/cbc130a9515015718fb34e36adfe27e4e31f43e5 +0 -0
  146. package/.idea/sonarlint/securityhotspotstore/d/2/d24fe332e92475452d840d36f81c9af7b70887e7 +0 -0
  147. package/.idea/sonarlint/securityhotspotstore/d/2/d2b43e6a30699faba4dff61341b06c7e17e7f400 +0 -0
  148. package/.idea/sonarlint/securityhotspotstore/d/d/dd375f957eb150c2f7fb1d4edba07501286db515 +0 -0
  149. package/.idea/sonarlint/securityhotspotstore/d/f/df083cf457b627bc4ada3c11eee92cc83e6c4c80 +0 -0
  150. package/.idea/sonarlint/securityhotspotstore/e/0/e05f58bae396006667e2ac1103d301e443e1f856 +0 -0
  151. package/.idea/sonarlint/securityhotspotstore/e/d/ed43355775e0bbf3987e4526d4d8dd779773eb91 +0 -0
  152. package/.idea/sonarlint/securityhotspotstore/f/2/f2d1f4712d58f68a238d7df4f455d3cc45882594 +0 -0
  153. package/.idea/sonarlint/securityhotspotstore/f/9/f9cb0ab2ca2e8ce4e64e10034c949066c38000f5 +0 -0
  154. package/.idea/sonarlint/securityhotspotstore/f/9/f9d6327040914014594d301e0dc6361a476a5ff4 +0 -0
  155. package/.idea/sonarlint/securityhotspotstore/f/a/fa9452abeeb6e134b984ce22f0ff271a774c9093 +0 -0
  156. package/.idea/sonarlint/securityhotspotstore/f/a/fa9dce145b13c5aaff8e84813e79f94dcd4c0860 +0 -0
  157. package/.idea/sonarlint/securityhotspotstore/f/b/fb74f3edc49c374fcb38034841d290680603b9cb +0 -0
  158. package/.idea/sonarlint/securityhotspotstore/f/d/fdd4872693720f9140008b46069639fb2801114d +0 -0
  159. package/.idea/sonarlint/securityhotspotstore/index.pb +156 -0
  160. package/.idea/vcs.xml +5 -5
  161. package/README.md +70 -70
  162. package/bin/card/dtos/CardResponse.d.ts +1 -1
  163. package/bin/productCatalog/dtos/GetProductCatalogRequest.d.ts +3 -0
  164. package/bin/{tern/dtos/TernGetUserRequest.js → productCatalog/dtos/GetProductCatalogRequest.js} +5 -6
  165. package/bin/transactionProcessor/dtos/private/ExecutePocketOperationRequest.d.ts +3 -0
  166. package/bin/{tern/dtos/TernCreateAccountResponse.js → transactionProcessor/dtos/private/ExecutePocketOperationRequest.js} +6 -11
  167. package/bin/transactionProcessor/index.d.ts +1 -0
  168. package/bin/transactionProcessor/index.js +1 -0
  169. package/package.json +23 -23
  170. package/src/account/dtos/AccountCreateRequest.ts +75 -75
  171. package/src/account/dtos/AccountCreateResponse.ts +7 -7
  172. package/src/account/dtos/AccountInfo.ts +39 -39
  173. package/src/account/dtos/AccountUpdateBalanceRequest.ts +6 -6
  174. package/src/account/dtos/BankAccountExternalAddress.ts +17 -17
  175. package/src/account/dtos/BankAccountP2pTransferRequest.ts +7 -7
  176. package/src/account/dtos/CreateBankAccountRequest.ts +11 -11
  177. package/src/account/dtos/CreateBankAccountResponse.ts +8 -8
  178. package/src/account/dtos/CreateBankAccountUserRequest.ts +17 -17
  179. package/src/account/dtos/CreateBankAccountUserResponse.ts +11 -11
  180. package/src/account/dtos/ExchangeInfo.ts +8 -8
  181. package/src/account/dtos/GetAccountBalanceResponse.ts +36 -36
  182. package/src/account/dtos/GetAccountResponse.ts +62 -62
  183. package/src/account/dtos/GetBankAccountRequest.ts +3 -3
  184. package/src/account/dtos/GetBankAccountResponse.ts +22 -22
  185. package/src/account/dtos/GetBankAccountSensitiveInformationRequest.ts +5 -5
  186. package/src/account/dtos/GetBankAccountSensitiveInformationResponse.ts +8 -8
  187. package/src/account/dtos/GetBankAccountUserRequest.ts +2 -2
  188. package/src/account/dtos/GetBankAccountUserResponse.ts +25 -25
  189. package/src/account/dtos/GetPocketBalanceResponse.ts +46 -46
  190. package/src/account/dtos/GetPocketResponse.ts +8 -8
  191. package/src/account/dtos/PocketBalanceItem.ts +14 -14
  192. package/src/account/dtos/PocketItem.ts +43 -43
  193. package/src/account/dtos/UpdateBalanceOperation.ts +8 -8
  194. package/src/account/dtos/UpdateBankAccountUserRequest.ts +26 -26
  195. package/src/account/dtos/UpdateBankAccountUserResponse.ts +3 -3
  196. package/src/account/entities/AccountEntityBase.ts +12 -12
  197. package/src/account/enums/AccountEntityStatusEnum.ts +4 -4
  198. package/src/account/enums/AccountLevelEnum.ts +5 -5
  199. package/src/account/enums/BankAccountP2pTransferType.ts +5 -5
  200. package/src/account/enums/BankAccountTypeEnum.ts +2 -2
  201. package/src/account/enums/BankAccountUserStatusEnum.ts +4 -4
  202. package/src/account/enums/UserEntityStatusEnum.ts +4 -4
  203. package/src/account/index.ts +39 -39
  204. package/src/address/dtos/AddressBase.ts +130 -130
  205. package/src/address/dtos/AddressCreateRequest.ts +6 -6
  206. package/src/address/dtos/AddressResponse.ts +41 -41
  207. package/src/address/dtos/AddressShippingCardRequest.ts +12 -12
  208. package/src/address/dtos/AddressShippingCardResponse.ts +11 -11
  209. package/src/address/dtos/Geometry.ts +4 -4
  210. package/src/address/dtos/OfficeDetails.ts +30 -30
  211. package/src/address/dtos/OperationSchedule.ts +8 -8
  212. package/src/address/dtos/Place.ts +83 -83
  213. package/src/address/dtos/Shipping.ts +36 -36
  214. package/src/address/dtos/Timezone.ts +5 -5
  215. package/src/address/enums/AddressProvider.ts +10 -10
  216. package/src/address/enums/AddressStatus.ts +9 -9
  217. package/src/address/index.ts +16 -16
  218. package/src/app/enums/App.ts +10 -10
  219. package/src/app/index.ts +3 -3
  220. package/src/authentication/dtos/SignUpAdditionalRequest.ts +32 -32
  221. package/src/authentication/dtos/SignUpAdditionalResponse.ts +5 -5
  222. package/src/authentication/index.ts +3 -3
  223. package/src/beneficiary/dtos/AccountBeneficiaryCreateRequest.ts +41 -41
  224. package/src/beneficiary/dtos/AccountBeneficiaryResponse.ts +23 -23
  225. package/src/beneficiary/dtos/AccountBeneficiaryUpdateRequest.ts +39 -39
  226. package/src/beneficiary/enums/AccountType.ts +6 -6
  227. package/src/beneficiary/index.ts +7 -7
  228. package/src/card/dtos/CardActivateRequest.ts +12 -12
  229. package/src/card/dtos/CardAdditionalRequest.ts +25 -25
  230. package/src/card/dtos/CardAdditionalResponse.ts +12 -12
  231. package/src/card/dtos/CardApplicationRequest.ts +22 -22
  232. package/src/card/dtos/CardBalanceResponse.ts +10 -10
  233. package/src/card/dtos/CardCreateAdditionalRequest.ts +40 -40
  234. package/src/card/dtos/CardResponse.ts +34 -34
  235. package/src/card/dtos/CardSensitiveInformationResponse.ts +18 -18
  236. package/src/card/dtos/CardShipmentQueueMessage.ts +7 -7
  237. package/src/card/dtos/CardShipmentUpdateRequest.ts +19 -19
  238. package/src/card/dtos/CardSummaryResponse.ts +10 -10
  239. package/src/card/dtos/CardUpdateRequest.ts +11 -11
  240. package/src/card/dtos/Internal/ActivateBankAccountCardRequest.ts +9 -9
  241. package/src/card/dtos/Internal/ActivateBankAccountCardResponse.ts +4 -4
  242. package/src/card/dtos/Internal/AssignCardRequest.ts +8 -8
  243. package/src/card/dtos/Internal/CreateBankAccountCardRequest.ts +16 -16
  244. package/src/card/dtos/Internal/CreateBankAccountCardResponse.ts +8 -8
  245. package/src/card/dtos/Internal/CreateBankAccountCardShippingRequest.ts +14 -14
  246. package/src/card/dtos/Internal/CreateBankAccountCardShippingResponse.ts +12 -12
  247. package/src/card/dtos/Internal/GetBankAccountCardResponse.ts +32 -32
  248. package/src/card/dtos/Internal/GetBankAccountShippingRequest.ts +5 -5
  249. package/src/card/dtos/Internal/GetBankAccountShippingResponse.ts +19 -19
  250. package/src/card/dtos/Internal/UpdateBankAccountCardRequest.ts +21 -21
  251. package/src/card/dtos/Internal/UpdateBankAccountCardResponse.ts +5 -5
  252. package/src/card/enums/Brand.ts +7 -7
  253. package/src/card/enums/CardIssuanceStatus.ts +5 -5
  254. package/src/card/enums/CardIssuing.ts +6 -6
  255. package/src/card/enums/CardType.ts +4 -4
  256. package/src/card/enums/CardUpdateKey.ts +4 -4
  257. package/src/card/enums/CreditOrDebit.ts +5 -5
  258. package/src/card/enums/DeliveryChannel.ts +7 -7
  259. package/src/card/enums/ExternalShippingStatus.ts +14 -14
  260. package/src/card/enums/ExternalShippingStatusDetails.ts +53 -53
  261. package/src/card/enums/IssuanceType.ts +5 -5
  262. package/src/card/enums/NominatedOrInnominated.ts +8 -8
  263. package/src/card/enums/OwnershipType.ts +3 -3
  264. package/src/card/enums/ShippingStatus.ts +8 -8
  265. package/src/card/enums/Status.ts +6 -6
  266. package/src/card/enums/UpdateKey.ts +5 -5
  267. package/src/card/enums/VirtualOrPhysical.ts +6 -6
  268. package/src/card/index.ts +50 -50
  269. package/src/card/validations/CardUpdateKeyConstraint.ts +53 -53
  270. package/src/card/validations/IsPhoneNumberConstraint.ts +26 -26
  271. package/src/contactInfo/dtos/GetAllContactInfoResponse.ts +13 -13
  272. package/src/contactInfo/enums/TypeOfContactIdEnum.ts +3 -3
  273. package/src/contactInfo/index.ts +1 -1
  274. package/src/contract/dtos/ContractCreateRequest.ts +29 -29
  275. package/src/contract/dtos/ContractCreateResponse.ts +2 -2
  276. package/src/contract/index.ts +4 -4
  277. package/src/country/enums/Country.ts +6 -6
  278. package/src/country/enums/CountryId.ts +6 -6
  279. package/src/country/index.ts +5 -5
  280. package/src/creditContract/dtos/CreditContractCreateRequest.ts +51 -51
  281. package/src/creditContract/enums/InstrumentEnum.ts +5 -5
  282. package/src/creditContract/index.ts +5 -5
  283. package/src/currency/dtos/CurrencyResponse.ts +8 -8
  284. package/src/currency/index.ts +2 -2
  285. package/src/directory/dtos/DirectoryResponse.ts +18 -18
  286. package/src/directory/dtos/External.ts +6 -6
  287. package/src/directory/enums/Profile.ts +6 -6
  288. package/src/directory/enums/Scope.ts +7 -7
  289. package/src/directory/enums/Status.ts +8 -8
  290. package/src/directory/enums/TypeOfDirectoryId.ts +6 -6
  291. package/src/directory/index.ts +7 -7
  292. package/src/eventBridge/dto/EventBridgeMessageRequest.ts +4 -4
  293. package/src/eventBridge/index.ts +1 -1
  294. package/src/exchangeRate/dtos/ExchangeRateCreateRequest.ts +50 -50
  295. package/src/exchangeRate/dtos/ExchangeRateCreateResponse.ts +4 -4
  296. package/src/exchangeRate/dtos/ExchangeRateResponse.ts +19 -19
  297. package/src/exchangeRate/dtos/GetExchangeRatesRequest.ts +3 -3
  298. package/src/exchangeRate/enums/ExchangeRateStatus.ts +5 -5
  299. package/src/exchangeRate/index.ts +9 -9
  300. package/src/genericMessage/dto/GenericMessageRequest.ts +17 -17
  301. package/src/genericMessage/enums/GenericMessageSourceEnum.ts +3 -3
  302. package/src/genericMessage/index.ts +1 -1
  303. package/src/group/dtos/GroupAddDirectoryRequest.ts +27 -27
  304. package/src/group/dtos/GroupCreateRequest.ts +54 -54
  305. package/src/group/dtos/GroupDirectoryRelationsResponse.ts +20 -20
  306. package/src/group/dtos/GroupDirectoryRelationsUpdateRequest.ts +10 -10
  307. package/src/group/dtos/GroupResponse.ts +17 -17
  308. package/src/group/dtos/GroupUpdateRequest.ts +31 -31
  309. package/src/group/enums/GroupAction.ts +8 -8
  310. package/src/group/enums/GroupStatus.ts +6 -6
  311. package/src/group/enums/RelationStatus.ts +8 -8
  312. package/src/group/enums/RelationType.ts +9 -9
  313. package/src/group/index.ts +18 -18
  314. package/src/header/TokenPayload.ts +18 -18
  315. package/src/header/index.ts +3 -3
  316. package/src/helpers/ValidationUtils.ts +32 -32
  317. package/src/helpers/constans/regex.ts +12 -12
  318. package/src/identity/dtos/IdentificationDocument.ts +24 -24
  319. package/src/identity/dtos/PeopleCreateRequest.ts +4 -4
  320. package/src/identity/dtos/PeopleResponse.ts +72 -72
  321. package/src/identity/dtos/PeopleUpdateRequest.ts +71 -71
  322. package/src/identity/dtos/TypeOfDocument.ts +11 -11
  323. package/src/identity/enums/IdentificationDocumentStatus.ts +7 -7
  324. package/src/identity/enums/SexDocument.ts +6 -6
  325. package/src/identity/enums/TypeOfDocument.ts +5 -5
  326. package/src/identity/index.ts +12 -12
  327. package/src/index.ts +28 -28
  328. package/src/notificationMessages/dtos/NotificationQueueMessageRequest.ts +7 -7
  329. package/src/notificationMessages/dtos/QueueMessageDestination.ts +6 -6
  330. package/src/notificationMessages/dtos/QueueMessageVariableValues.ts +3 -3
  331. package/src/notificationMessages/enums/NotificationId.ts +13 -13
  332. package/src/notificationMessages/index.ts +5 -5
  333. package/src/productCatalog/dtos/CreateProductCatalogRequest.ts +14 -14
  334. package/src/productCatalog/dtos/GetProductCatalogResponse.ts +38 -38
  335. package/src/productCatalog/enums/ProductTaxFeeTypeEnum.ts +3 -3
  336. package/src/productCatalog/enums/ProductTypeEnum.ts +8 -8
  337. package/src/productCatalog/index.ts +4 -4
  338. package/src/provider/enums/Provider.ts +4 -4
  339. package/src/provider/index.ts +1 -1
  340. package/src/queue/dtos/QueueMessageBase.ts +13 -13
  341. package/src/servicePayment/dtos/ServicePaymentRequest.ts +33 -33
  342. package/src/sessionActivity/dtos/SessionActivityQueueMessageRequest.ts +10 -10
  343. package/src/sessionActivity/enums/SessionActivityActionEnum.ts +7 -7
  344. package/src/sessionActivity/enums/SessionActivityActionOriginEnum.ts +4 -4
  345. package/src/sessionActivity/index.ts +2 -2
  346. package/src/transaction/dtos/Credit.ts +21 -21
  347. package/src/transaction/dtos/Debit.ts +20 -20
  348. package/src/transaction/dtos/Notional.ts +20 -20
  349. package/src/transaction/dtos/Product.ts +21 -21
  350. package/src/transaction/dtos/Total.ts +20 -20
  351. package/src/transaction/dtos/TransactionCreateRequest.ts +93 -93
  352. package/src/transaction/dtos/TransactionCreateResponse.ts +4 -4
  353. package/src/transaction/enums/OperationEnum.ts +3 -3
  354. package/src/transaction/index.ts +5 -5
  355. package/src/transactionProcessor/dtos/private/ExecutePocketOperationRequest.ts +6 -0
  356. package/src/transactionProcessor/dtos/private/PrivateProcessorAmountInfo.ts +6 -6
  357. package/src/transactionProcessor/dtos/private/PrivateProcessorAmountInfoItem.ts +3 -3
  358. package/src/transactionProcessor/dtos/private/PrivateProcessorCardInfo.ts +5 -5
  359. package/src/transactionProcessor/dtos/private/PrivateProcessorMerchantInfo.ts +6 -6
  360. package/src/transactionProcessor/dtos/private/PrivateProcessorTransactionInfo.ts +7 -7
  361. package/src/transactionProcessor/dtos/private/PrivateTransactionProcessorRequest.ts +16 -16
  362. package/src/transactionProcessor/enums/TransactionProcessorCodesEnum.ts +12 -12
  363. package/src/transactionProcessor/index.ts +10 -9
  364. package/bin/tern/dtos/TernAddress.d.ts +0 -8
  365. package/bin/tern/dtos/TernAddress.js +0 -40
  366. package/bin/tern/dtos/TernCreateAccountRequest.d.ts +0 -7
  367. package/bin/tern/dtos/TernCreateAccountRequest.js +0 -33
  368. package/bin/tern/dtos/TernCreateAccountResponse.d.ts +0 -5
  369. package/bin/tern/dtos/TernCreateUserRequest.d.ts +0 -15
  370. package/bin/tern/dtos/TernCreateUserRequest.js +0 -70
  371. package/bin/tern/dtos/TernCreateUserResponse.d.ts +0 -8
  372. package/bin/tern/dtos/TernCreateUserResponse.js +0 -37
  373. package/bin/tern/dtos/TernGetAccountRequest.d.ts +0 -5
  374. package/bin/tern/dtos/TernGetAccountRequest.js +0 -25
  375. package/bin/tern/dtos/TernGetAccountResponse.d.ts +0 -22
  376. package/bin/tern/dtos/TernGetAccountResponse.js +0 -87
  377. package/bin/tern/dtos/TernGetUserRequest.d.ts +0 -3
  378. package/bin/tern/dtos/TernGetUserResponse.d.ts +0 -24
  379. package/bin/tern/dtos/TernGetUserResponse.js +0 -96
  380. package/bin/tern/enums/TernAccountStatusEnum.d.ts +0 -4
  381. package/bin/tern/enums/TernAccountStatusEnum.js +0 -8
  382. package/bin/tern/enums/TernAccountTypeEnum.d.ts +0 -5
  383. package/bin/tern/enums/TernAccountTypeEnum.js +0 -9
  384. package/bin/tern/index.d.ts +0 -11
  385. package/bin/tern/index.js +0 -29
@@ -1,5 +1,5 @@
1
- export * from './dtos/GetProductCatalogResponse';
2
- export * from './dtos/CreateProductCatalogRequest';
3
-
4
- export * from './enums/ProductTaxFeeTypeEnum';
1
+ export * from './dtos/GetProductCatalogResponse';
2
+ export * from './dtos/CreateProductCatalogRequest';
3
+
4
+ export * from './enums/ProductTaxFeeTypeEnum';
5
5
  export * from './enums/ProductTypeEnum';
@@ -1,5 +1,5 @@
1
- export enum Provider {
2
- TERN = 'TERN',
3
- POMELO = 'POMELO',
4
- STP= 'STP'
1
+ export enum Provider {
2
+ TERN = 'TERN',
3
+ POMELO = 'POMELO',
4
+ STP= 'STP'
5
5
  }
@@ -1,2 +1,2 @@
1
-
1
+
2
2
  export * from './enums/Provider';
@@ -1,14 +1,14 @@
1
- import { IsEnum, IsString } from "class-validator";
2
- import { Provider } from "../../provider";
3
-
4
-
5
- export class QueueMessageBase<T> {
6
-
7
- @IsEnum(Provider)
8
- provider: string;
9
-
10
- @IsString()
11
- eventType: string;
12
-
13
- message: T
1
+ import { IsEnum, IsString } from "class-validator";
2
+ import { Provider } from "../../provider";
3
+
4
+
5
+ export class QueueMessageBase<T> {
6
+
7
+ @IsEnum(Provider)
8
+ provider: string;
9
+
10
+ @IsString()
11
+ eventType: string;
12
+
13
+ message: T
14
14
  }
@@ -1,33 +1,33 @@
1
-
2
-
3
- import { IsNotEmpty, Length, Min } from 'class-validator';
4
-
5
-
6
- export class ServicePaymentRequest {
7
-
8
- @IsNotEmpty()
9
- @Length(1, 50)
10
- serviceId: string;
11
-
12
- @IsNotEmpty()
13
- @Length(1, 100)
14
- directoryId: string;
15
-
16
- @IsNotEmpty()
17
- @Length(1, 100)
18
- reference: string;
19
-
20
- @IsNotEmpty()
21
- @Length(1, 50)
22
- productId: string;
23
-
24
- @IsNotEmpty()
25
- @Min(0.01)
26
- amount: number;
27
-
28
- @IsNotEmpty()
29
- @Length(1, 50)
30
- transactionNumber: string;
31
- }
32
-
33
-
1
+
2
+
3
+ import { IsNotEmpty, Length, Min } from 'class-validator';
4
+
5
+
6
+ export class ServicePaymentRequest {
7
+
8
+ @IsNotEmpty()
9
+ @Length(1, 50)
10
+ serviceId: string;
11
+
12
+ @IsNotEmpty()
13
+ @Length(1, 100)
14
+ directoryId: string;
15
+
16
+ @IsNotEmpty()
17
+ @Length(1, 100)
18
+ reference: string;
19
+
20
+ @IsNotEmpty()
21
+ @Length(1, 50)
22
+ productId: string;
23
+
24
+ @IsNotEmpty()
25
+ @Min(0.01)
26
+ amount: number;
27
+
28
+ @IsNotEmpty()
29
+ @Length(1, 50)
30
+ transactionNumber: string;
31
+ }
32
+
33
+
@@ -1,11 +1,11 @@
1
- import {SessionActivityActionEnum} from "../enums/SessionActivityActionEnum";
2
- import {SessionActivityActionOriginEnum} from "../enums/SessionActivityActionOriginEnum";
3
-
4
- export class SessionActivityQueueMessageRequest {
5
- id: string; // requestId de la peticion
6
- sessionId: string; // Id de la sesion que realizo el request
7
- operationName: string; // nombre de la operacion asociada al request
8
- source: string; // Tabla|lambda|componente desde donde vino el mensaje
9
- action: SessionActivityActionEnum; // Accion realizada
10
- actionOrigin: SessionActivityActionOriginEnum; // Si la peticion fue realizada desde la APP o backoffice
1
+ import {SessionActivityActionEnum} from "../enums/SessionActivityActionEnum";
2
+ import {SessionActivityActionOriginEnum} from "../enums/SessionActivityActionOriginEnum";
3
+
4
+ export class SessionActivityQueueMessageRequest {
5
+ id: string; // requestId de la peticion
6
+ sessionId: string; // Id de la sesion que realizo el request
7
+ operationName: string; // nombre de la operacion asociada al request
8
+ source: string; // Tabla|lambda|componente desde donde vino el mensaje
9
+ action: SessionActivityActionEnum; // Accion realizada
10
+ actionOrigin: SessionActivityActionOriginEnum; // Si la peticion fue realizada desde la APP o backoffice
11
11
  }
@@ -1,8 +1,8 @@
1
- export enum SessionActivityActionEnum {
2
- "GET" = "GET",
3
- "POST" = "POST",
4
- "PUT" = "PUT",
5
- "DELETE" = "DELETE",
6
- "PATCH" = "PATCH",
7
- "OPTIONS" = "OPTIONS"
1
+ export enum SessionActivityActionEnum {
2
+ "GET" = "GET",
3
+ "POST" = "POST",
4
+ "PUT" = "PUT",
5
+ "DELETE" = "DELETE",
6
+ "PATCH" = "PATCH",
7
+ "OPTIONS" = "OPTIONS"
8
8
  }
@@ -1,5 +1,5 @@
1
- export enum SessionActivityActionOriginEnum {
2
- MOBILE_APP = "USERS_APP",
3
- BACKOFFICE = "BACKOFFICE",
4
- UNKNOWN = "UNKNOWN"
1
+ export enum SessionActivityActionOriginEnum {
2
+ MOBILE_APP = "USERS_APP",
3
+ BACKOFFICE = "BACKOFFICE",
4
+ UNKNOWN = "UNKNOWN"
5
5
  }
@@ -1,3 +1,3 @@
1
- export * from './dtos/SessionActivityQueueMessageRequest';
2
- export * from './enums/SessionActivityActionEnum';
1
+ export * from './dtos/SessionActivityQueueMessageRequest';
2
+ export * from './enums/SessionActivityActionEnum';
3
3
  export * from './enums/SessionActivityActionOriginEnum';
@@ -1,21 +1,21 @@
1
- import {IsNotEmpty, IsNumber, IsString, Matches} from "class-validator";
2
- import { regexUuidV4 } from "../../helpers/constans/regex";
3
-
4
- export class Credit {
5
-
6
- @IsNotEmpty()
7
- @IsNumber()
8
- creditNotional: number;
9
-
10
- @IsNotEmpty()
11
- @IsNumber()
12
- creditFees: number;
13
-
14
- @IsNotEmpty()
15
- @IsNumber()
16
- creditTax: number;
17
-
18
- @IsNotEmpty()
19
- @IsNumber()
20
- creditTotal: number;
21
- }
1
+ import {IsNotEmpty, IsNumber, IsString, Matches} from "class-validator";
2
+ import { regexUuidV4 } from "../../helpers/constans/regex";
3
+
4
+ export class Credit {
5
+
6
+ @IsNotEmpty()
7
+ @IsNumber()
8
+ creditNotional: number;
9
+
10
+ @IsNotEmpty()
11
+ @IsNumber()
12
+ creditFees: number;
13
+
14
+ @IsNotEmpty()
15
+ @IsNumber()
16
+ creditTax: number;
17
+
18
+ @IsNotEmpty()
19
+ @IsNumber()
20
+ creditTotal: number;
21
+ }
@@ -1,20 +1,20 @@
1
- import {IsNotEmpty, IsNumber} from "class-validator";
2
-
3
- export class Debit {
4
-
5
- @IsNotEmpty()
6
- @IsNumber()
7
- debitNotional: number;
8
-
9
- @IsNotEmpty()
10
- @IsNumber()
11
- debitFees: number;
12
-
13
- @IsNotEmpty()
14
- @IsNumber()
15
- debitTax: number;
16
-
17
- @IsNotEmpty()
18
- @IsNumber()
19
- debitTotal: number;
20
- }
1
+ import {IsNotEmpty, IsNumber} from "class-validator";
2
+
3
+ export class Debit {
4
+
5
+ @IsNotEmpty()
6
+ @IsNumber()
7
+ debitNotional: number;
8
+
9
+ @IsNotEmpty()
10
+ @IsNumber()
11
+ debitFees: number;
12
+
13
+ @IsNotEmpty()
14
+ @IsNumber()
15
+ debitTax: number;
16
+
17
+ @IsNotEmpty()
18
+ @IsNumber()
19
+ debitTotal: number;
20
+ }
@@ -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,21 +1,21 @@
1
- import {IsNotEmpty, IsNumber, IsString} from "class-validator";
2
- import { ProductTypeEnum } from "../../productCatalog";
3
-
4
- export class Product {
5
-
6
- @IsNotEmpty()
7
- @IsString()
8
- type: ProductTypeEnum;
9
-
10
- @IsNotEmpty()
11
- @IsString()
12
- description: string;
13
-
14
- @IsNotEmpty()
15
- @IsString()
16
- displayName: string;
17
-
18
- @IsNotEmpty()
19
- @IsString()
20
- relatedProductId: string;
21
- }
1
+ import {IsNotEmpty, IsNumber, IsString} from "class-validator";
2
+ import { ProductTypeEnum } from "../../productCatalog";
3
+
4
+ export class Product {
5
+
6
+ @IsNotEmpty()
7
+ @IsString()
8
+ type: ProductTypeEnum;
9
+
10
+ @IsNotEmpty()
11
+ @IsString()
12
+ description: string;
13
+
14
+ @IsNotEmpty()
15
+ @IsString()
16
+ displayName: string;
17
+
18
+ @IsNotEmpty()
19
+ @IsString()
20
+ relatedProductId: string;
21
+ }
@@ -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,93 +1,93 @@
1
- import {IsDate, 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
-
13
- export class TransactionCreateRequest {
14
-
15
- @IsNotEmpty()
16
- @IsString()
17
- @Length(3, 50)
18
- transactionNumber: string;
19
-
20
- @IsNotEmpty()
21
- @IsString()
22
- @Matches(regexUuidV4,
23
- {
24
- message: 'directoryId must be a valid UUID v4',
25
- })
26
- directoryId: string;
27
-
28
- @IsNotEmpty()
29
- @IsString()
30
- @Matches(regexUuidV4,
31
- {
32
- message: 'peopleId must be a valid UUID v4',
33
- })
34
- peopleId: string;
35
-
36
- @IsNotEmpty()
37
- @IsString()
38
- accountId: string;
39
-
40
- @IsNotEmpty()
41
- @IsString()
42
- pocketId: string;
43
-
44
- @IsNotEmpty()
45
- @IsString()
46
- @Matches(regexUuidV4,
47
- {
48
- message: 'ownerDirectoryId must be a valid UUID v4',
49
- })
50
- ownerDirectoryId: string;
51
-
52
- @IsNotEmpty()
53
- @IsString()
54
- transactionDate: string;
55
-
56
- @IsString()
57
- sessionId: string;
58
-
59
- @IsNotEmpty()
60
- @IsEnum(CountryId)
61
- currencyId: CountryId;
62
-
63
- @IsNotEmpty()
64
- @IsEnum(OperationEnum)
65
- operation: OperationEnum;
66
-
67
- @ValidateNested({ each: true })
68
- @Type(() => Notional)
69
- notional: Notional;
70
-
71
- @ValidateNested({ each: true })
72
- @Type(() => Credit)
73
- credit: Credit;
74
-
75
- @ValidateNested({ each: true })
76
- @Type(() => Debit)
77
- debit: Debit;
78
-
79
- @ValidateNested({ each: true })
80
- @Type(() => Total)
81
- total: Total;
82
-
83
- @ValidateNested({ each: true })
84
- @Type(() => Product)
85
- product: Product;
86
-
87
- @IsNotEmpty()
88
- @IsEnum(TypeOfDirectoryId)
89
- typeOfDirectoryId: TypeOfDirectoryId;
90
-
91
- }
92
-
93
-
1
+ import {IsDate, 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
+
13
+ export class TransactionCreateRequest {
14
+
15
+ @IsNotEmpty()
16
+ @IsString()
17
+ @Length(3, 50)
18
+ transactionNumber: string;
19
+
20
+ @IsNotEmpty()
21
+ @IsString()
22
+ @Matches(regexUuidV4,
23
+ {
24
+ message: 'directoryId must be a valid UUID v4',
25
+ })
26
+ directoryId: string;
27
+
28
+ @IsNotEmpty()
29
+ @IsString()
30
+ @Matches(regexUuidV4,
31
+ {
32
+ message: 'peopleId must be a valid UUID v4',
33
+ })
34
+ peopleId: string;
35
+
36
+ @IsNotEmpty()
37
+ @IsString()
38
+ accountId: string;
39
+
40
+ @IsNotEmpty()
41
+ @IsString()
42
+ pocketId: string;
43
+
44
+ @IsNotEmpty()
45
+ @IsString()
46
+ @Matches(regexUuidV4,
47
+ {
48
+ message: 'ownerDirectoryId must be a valid UUID v4',
49
+ })
50
+ ownerDirectoryId: string;
51
+
52
+ @IsNotEmpty()
53
+ @IsString()
54
+ transactionDate: string;
55
+
56
+ @IsString()
57
+ sessionId: string;
58
+
59
+ @IsNotEmpty()
60
+ @IsEnum(CountryId)
61
+ currencyId: CountryId;
62
+
63
+ @IsNotEmpty()
64
+ @IsEnum(OperationEnum)
65
+ operation: OperationEnum;
66
+
67
+ @ValidateNested({ each: true })
68
+ @Type(() => Notional)
69
+ notional: Notional;
70
+
71
+ @ValidateNested({ each: true })
72
+ @Type(() => Credit)
73
+ credit: Credit;
74
+
75
+ @ValidateNested({ each: true })
76
+ @Type(() => Debit)
77
+ debit: Debit;
78
+
79
+ @ValidateNested({ each: true })
80
+ @Type(() => Total)
81
+ total: Total;
82
+
83
+ @ValidateNested({ each: true })
84
+ @Type(() => Product)
85
+ product: Product;
86
+
87
+ @IsNotEmpty()
88
+ @IsEnum(TypeOfDirectoryId)
89
+ typeOfDirectoryId: TypeOfDirectoryId;
90
+
91
+ }
92
+
93
+
@@ -1,4 +1,4 @@
1
-
2
- export class TransactionCreateResponse {
3
-
4
- }
1
+
2
+ export class TransactionCreateResponse {
3
+
4
+ }
@@ -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,6 +1,6 @@
1
- //dtos
2
- export * from './dtos/TransactionCreateRequest';
3
- export * from './dtos/TransactionCreateResponse';
4
-
5
- //enums
1
+ //dtos
2
+ export * from './dtos/TransactionCreateRequest';
3
+ export * from './dtos/TransactionCreateResponse';
4
+
5
+ //enums
6
6
  export * from './enums/OperationEnum';
@@ -0,0 +1,6 @@
1
+ import {IsNumber} from "class-validator";
2
+
3
+ export class ExecutePocketOperationRequest {
4
+ @IsNumber()
5
+ amount: number;
6
+ }
@@ -1,7 +1,7 @@
1
- import {PrivateProcessorAmountInfoItem} from "./PrivateProcessorAmountInfoItem";
2
-
3
- export class PrivateProcessorAmountInfo {
4
- transaction: PrivateProcessorAmountInfoItem;
5
- settlement: PrivateProcessorAmountInfoItem;
6
- local: PrivateProcessorAmountInfoItem;
1
+ import {PrivateProcessorAmountInfoItem} from "./PrivateProcessorAmountInfoItem";
2
+
3
+ export class PrivateProcessorAmountInfo {
4
+ transaction: PrivateProcessorAmountInfoItem;
5
+ settlement: PrivateProcessorAmountInfoItem;
6
+ local: PrivateProcessorAmountInfoItem;
7
7
  }
@@ -1,4 +1,4 @@
1
- export class PrivateProcessorAmountInfoItem {
2
- total: number;
3
- currencyId: string;
1
+ export class PrivateProcessorAmountInfoItem {
2
+ total: number;
3
+ currencyId: string;
4
4
  }
@@ -1,6 +1,6 @@
1
- export class PrivateProcessorCardInfo {
2
- productType: string;
3
- lastFour: string;
4
- provider: string;
5
- externalCardId: string;
1
+ export class PrivateProcessorCardInfo {
2
+ productType: string;
3
+ lastFour: string;
4
+ provider: string;
5
+ externalCardId: string;
6
6
  }
@@ -1,7 +1,7 @@
1
- export class PrivateProcessorMerchantInfo {
2
- id: string;
3
- address: string;
4
- name: string;
5
- mcc: string;
6
- terminalId: string;
1
+ export class PrivateProcessorMerchantInfo {
2
+ id: string;
3
+ address: string;
4
+ name: string;
5
+ mcc: string;
6
+ terminalId: string;
7
7
  }