@heliofi/common 0.2.65 → 0.2.66

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 (225) hide show
  1. package/dist/src/domain/constants/{redirectQueryParams.js → RedirectQueryParams.js} +1 -1
  2. package/dist/src/domain/constants/RedirectQueryParams.js.map +1 -0
  3. package/dist/src/domain/model/onramp/dtos/getQuote.dto.d.ts +1 -4
  4. package/dist/src/domain/model/onramp/dtos/getQuote.dto.js +2 -13
  5. package/dist/src/domain/model/onramp/dtos/getQuote.dto.js.map +1 -1
  6. package/dist/src/domain/model/onramp/dtos/initiateTransaction.dto.d.ts +4 -3
  7. package/dist/src/domain/model/onramp/dtos/initiateTransaction.dto.js +11 -6
  8. package/dist/src/domain/model/onramp/dtos/initiateTransaction.dto.js.map +1 -1
  9. package/dist/src/domain/model/onramper/dtos/getPaymentMethods.dto.d.ts +1 -1
  10. package/dist/src/domain/model/onramper/dtos/getPaymentMethods.dto.js +1 -1
  11. package/dist/src/domain/model/onramper/dtos/getPaymentMethods.dto.js.map +1 -1
  12. package/dist/src/domain/model/onramper/dtos/index.d.ts +0 -1
  13. package/dist/src/domain/model/onramper/dtos/index.js +0 -1
  14. package/dist/src/domain/model/onramper/dtos/index.js.map +1 -1
  15. package/dist/src/domain/model/onramper/entities/index.d.ts +0 -1
  16. package/dist/src/domain/model/onramper/entities/index.js +0 -1
  17. package/dist/src/domain/model/onramper/entities/index.js.map +1 -1
  18. package/dist/src/domain/model/paylink/entities/PlainPaylink.d.ts +3 -0
  19. package/dist/src/domain/model/paylink/entities/PlainPaylink.js +8 -0
  20. package/dist/src/domain/model/paylink/entities/PlainPaylink.js.map +1 -0
  21. package/dist/src/domain/model/paylink/entities/index.d.ts +1 -0
  22. package/dist/src/domain/model/paylink/entities/index.js +1 -0
  23. package/dist/src/domain/model/paylink/entities/index.js.map +1 -1
  24. package/dist/src/domain/model/payment-request/entities/PlainPaymentRequest.d.ts +5 -0
  25. package/dist/src/domain/model/payment-request/entities/PlainPaymentRequest.js +8 -0
  26. package/dist/src/domain/model/payment-request/entities/PlainPaymentRequest.js.map +1 -0
  27. package/dist/src/domain/model/payment-request/entities/index.d.ts +1 -0
  28. package/dist/src/domain/model/payment-request/entities/index.js +1 -0
  29. package/dist/src/domain/model/payment-request/entities/index.js.map +1 -1
  30. package/dist/src/domain/model/redirect-query-params/dtos/{RedirectQueryParam.dto.js → redirect-query-param.dto.js} +6 -6
  31. package/dist/src/domain/model/redirect-query-params/dtos/redirect-query-param.dto.js.map +1 -0
  32. package/dist/src/domain/model/redirect-query-params/entities/redirect-query-param.entity.d.ts +6 -0
  33. package/dist/src/domain/model/redirect-query-params/entities/redirect-query-param.entity.js +8 -0
  34. package/dist/src/domain/model/redirect-query-params/entities/redirect-query-param.entity.js.map +1 -0
  35. package/dist/src/domain/model/shared/queries/baseQuery.dto.d.ts +3 -2
  36. package/dist/src/domain/model/shared/queries/baseQuery.dto.js +9 -4
  37. package/dist/src/domain/model/shared/queries/baseQuery.dto.js.map +1 -1
  38. package/dist/src/domain/model/webhook/paylink/base-paylink-hook/createPaylinkHookBase.dto.js +1 -1
  39. package/dist/src/domain/model/webhook/paylink/base-paylink-hook/createPaylinkHookBase.dto.js.map +1 -1
  40. package/dist/src/domain/model/webhook/paylink/paylink-hook/entities/HookSecret.entity.d.ts +4 -0
  41. package/dist/src/domain/model/webhook/paylink/paylink-hook/entities/HookSecret.entity.js +8 -0
  42. package/dist/src/domain/model/webhook/paylink/paylink-hook/entities/HookSecret.entity.js.map +1 -0
  43. package/dist/src/domain/model/webhook/paylink/paylink-hook/entities/PaylinkHook.entity.d.ts +2 -0
  44. package/dist/src/domain/model/webhook/paylink/paylink-hook/entities/PaylinkHook.entity.js.map +1 -1
  45. package/dist/src/domain/model/webhook/paylink/paylink-hook/query/getAllQuery.dto.js +1 -1
  46. package/dist/src/domain/model/webhook/paylink/paylink-hook/query/getAllQuery.dto.js.map +1 -1
  47. package/dist/src/domain/model/webhook/paylink/paylink-hook-event/entities/BasePaylinkHookEvents.entity.d.ts +10 -0
  48. package/dist/src/domain/model/webhook/paylink/paylink-hook-event/entities/BasePaylinkHookEvents.entity.js +7 -0
  49. package/dist/src/domain/model/webhook/paylink/paylink-hook-event/entities/BasePaylinkHookEvents.entity.js.map +1 -0
  50. package/dist/src/domain/model/webhook/paylink/paylink-hook-event/entities/PaylinkHookEvents.entity.d.ts +5 -0
  51. package/dist/src/domain/model/webhook/paylink/paylink-hook-event/entities/PaylinkHookEvents.entity.js +8 -0
  52. package/dist/src/domain/model/webhook/paylink/paylink-hook-event/entities/PaylinkHookEvents.entity.js.map +1 -0
  53. package/dist/src/domain/model/webhook/paylink/paylink-hook-event/entities/PaylinkHookEventsEnriched.entity.d.ts +7 -0
  54. package/dist/src/domain/model/webhook/paylink/paylink-hook-event/entities/PaylinkHookEventsEnriched.entity.js +8 -0
  55. package/dist/src/domain/model/webhook/paylink/paylink-hook-event/entities/PaylinkHookEventsEnriched.entity.js.map +1 -0
  56. package/dist/src/domain/model/webhook/paylink/paylink-hook-event/entities/index.d.ts +3 -0
  57. package/dist/src/domain/model/webhook/paylink/paylink-hook-event/entities/index.js +3 -0
  58. package/dist/src/domain/model/webhook/paylink/paylink-hook-event/entities/index.js.map +1 -1
  59. package/dist/src/domain/model/webhook/paylink/paylink-hook-event/index.d.ts +1 -0
  60. package/dist/src/domain/model/webhook/paylink/paylink-hook-event/index.js +1 -0
  61. package/dist/src/domain/model/webhook/paylink/paylink-hook-event/index.js.map +1 -1
  62. package/dist/src/domain/model/webhook/paylink/paylink-hook-event/query/getAllQuery.dto.d.ts +7 -0
  63. package/dist/src/domain/model/webhook/{paylink-transaction-hook/dtos/createPaylinkTransactionHook.dto.js → paylink/paylink-hook-event/query/getAllQuery.dto.js} +14 -13
  64. package/dist/src/domain/model/webhook/paylink/paylink-hook-event/query/getAllQuery.dto.js.map +1 -0
  65. package/dist/src/domain/model/webhook/paylink/paylink-hook-event/query/index.d.ts +1 -0
  66. package/dist/src/domain/model/{location → webhook/paylink/paylink-hook-event/query}/index.js +1 -1
  67. package/dist/src/domain/model/webhook/paylink/paylink-hook-event/query/index.js.map +1 -0
  68. package/dist/tsconfig.tsbuildinfo +1 -1
  69. package/package.json +2 -2
  70. package/dist/src/domain/constants/redirectQueryParams.js.map +0 -1
  71. package/dist/src/domain/model/allowlist/entities/InvalidAllowlistWallets.entity.d.ts +0 -4
  72. package/dist/src/domain/model/allowlist/entities/InvalidAllowlistWallets.entity.js +0 -7
  73. package/dist/src/domain/model/allowlist/entities/InvalidAllowlistWallets.entity.js.map +0 -1
  74. package/dist/src/domain/model/apiKey/dtos/createApiKeyDtoInternal.d.ts +0 -6
  75. package/dist/src/domain/model/apiKey/dtos/createApiKeyDtoInternal.js +0 -37
  76. package/dist/src/domain/model/apiKey/dtos/createApiKeyDtoInternal.js.map +0 -1
  77. package/dist/src/domain/model/apiKey/dtos/updateApiKey.dto.d.ts +0 -4
  78. package/dist/src/domain/model/apiKey/dtos/updateApiKey.dto.js +0 -27
  79. package/dist/src/domain/model/apiKey/dtos/updateApiKey.dto.js.map +0 -1
  80. package/dist/src/domain/model/auth/dtos/generateTwitterRefreshToken.dto.d.ts +0 -8
  81. package/dist/src/domain/model/auth/dtos/generateTwitterRefreshToken.dto.js +0 -43
  82. package/dist/src/domain/model/auth/dtos/generateTwitterRefreshToken.dto.js.map +0 -1
  83. package/dist/src/domain/model/blink/entities/CreateBlinkResponse.entity.d.ts +0 -3
  84. package/dist/src/domain/model/blink/entities/CreateBlinkResponse.entity.js +0 -7
  85. package/dist/src/domain/model/blink/entities/CreateBlinkResponse.entity.js.map +0 -1
  86. package/dist/src/domain/model/discount-codes/entities/DiscountCodePublicAccess.entity.d.ts +0 -8
  87. package/dist/src/domain/model/discount-codes/entities/DiscountCodePublicAccess.entity.js +0 -8
  88. package/dist/src/domain/model/discount-codes/entities/DiscountCodePublicAccess.entity.js.map +0 -1
  89. package/dist/src/domain/model/email/EmailTelegramInviteDto.d.ts +0 -8
  90. package/dist/src/domain/model/email/EmailTelegramInviteDto.js +0 -3
  91. package/dist/src/domain/model/email/EmailTelegramInviteDto.js.map +0 -1
  92. package/dist/src/domain/model/email/dtos/emailRenewalReminder.dto.d.ts +0 -16
  93. package/dist/src/domain/model/email/dtos/emailRenewalReminder.dto.js +0 -83
  94. package/dist/src/domain/model/email/dtos/emailRenewalReminder.dto.js.map +0 -1
  95. package/dist/src/domain/model/fee/dtos/feeDetailsDto.d.ts +0 -4
  96. package/dist/src/domain/model/fee/dtos/feeDetailsDto.js +0 -27
  97. package/dist/src/domain/model/fee/dtos/feeDetailsDto.js.map +0 -1
  98. package/dist/src/domain/model/fee/dtos/feeDto.d.ts +0 -8
  99. package/dist/src/domain/model/fee/dtos/feeDto.js +0 -48
  100. package/dist/src/domain/model/fee/dtos/feeDto.js.map +0 -1
  101. package/dist/src/domain/model/fee/dtos/index.d.ts +0 -1
  102. package/dist/src/domain/model/fee/dtos/index.js +0 -18
  103. package/dist/src/domain/model/fee/dtos/index.js.map +0 -1
  104. package/dist/src/domain/model/fee/entities/FeeOptions.d.ts +0 -8
  105. package/dist/src/domain/model/fee/entities/FeeOptions.js +0 -3
  106. package/dist/src/domain/model/fee/entities/FeeOptions.js.map +0 -1
  107. package/dist/src/domain/model/location/entities/FetchifyFindAddress.entity.d.ts +0 -5
  108. package/dist/src/domain/model/location/entities/FetchifyFindAddress.entity.js +0 -8
  109. package/dist/src/domain/model/location/entities/FetchifyFindAddress.entity.js.map +0 -1
  110. package/dist/src/domain/model/location/entities/FetchifyResult.entity.d.ts +0 -5
  111. package/dist/src/domain/model/location/entities/FetchifyResult.entity.js +0 -7
  112. package/dist/src/domain/model/location/entities/FetchifyResult.entity.js.map +0 -1
  113. package/dist/src/domain/model/location/entities/FetchifyRetrieveAddress.entity.d.ts +0 -13
  114. package/dist/src/domain/model/location/entities/FetchifyRetrieveAddress.entity.js +0 -8
  115. package/dist/src/domain/model/location/entities/FetchifyRetrieveAddress.entity.js.map +0 -1
  116. package/dist/src/domain/model/location/entities/index.d.ts +0 -2
  117. package/dist/src/domain/model/location/entities/index.js +0 -19
  118. package/dist/src/domain/model/location/entities/index.js.map +0 -1
  119. package/dist/src/domain/model/location/index.d.ts +0 -1
  120. package/dist/src/domain/model/location/index.js.map +0 -1
  121. package/dist/src/domain/model/onramp/entities/OnrampTransactionStatus.entity.d.ts +0 -5
  122. package/dist/src/domain/model/onramp/entities/OnrampTransactionStatus.entity.js +0 -7
  123. package/dist/src/domain/model/onramp/entities/OnrampTransactionStatus.entity.js.map +0 -1
  124. package/dist/src/domain/model/onramp/entities/OnramperCurrency.entity.d.ts +0 -12
  125. package/dist/src/domain/model/onramp/entities/OnramperCurrency.entity.js +0 -7
  126. package/dist/src/domain/model/onramp/entities/OnramperCurrency.entity.js.map +0 -1
  127. package/dist/src/domain/model/onramp/entities/OnramperPaymentMethod.entity.d.ts +0 -4
  128. package/dist/src/domain/model/onramp/entities/OnramperPaymentMethod.entity.js +0 -7
  129. package/dist/src/domain/model/onramp/entities/OnramperPaymentMethod.entity.js.map +0 -1
  130. package/dist/src/domain/model/onramp/entities/OnramperQuote.entity.d.ts +0 -10
  131. package/dist/src/domain/model/onramp/entities/OnramperQuote.entity.js +0 -7
  132. package/dist/src/domain/model/onramp/entities/OnramperQuote.entity.js.map +0 -1
  133. package/dist/src/domain/model/onramp/entities/OnramperTransaction.entity.d.ts +0 -42
  134. package/dist/src/domain/model/onramp/entities/OnramperTransaction.entity.js +0 -7
  135. package/dist/src/domain/model/onramp/entities/OnramperTransaction.entity.js.map +0 -1
  136. package/dist/src/domain/model/onramper/dtos/getCurrencies.dto.d.ts +0 -3
  137. package/dist/src/domain/model/onramper/dtos/getCurrencies.dto.js +0 -22
  138. package/dist/src/domain/model/onramper/dtos/getCurrencies.dto.js.map +0 -1
  139. package/dist/src/domain/model/onramper/dtos/initiateTransaction.dto.d.ts +0 -10
  140. package/dist/src/domain/model/onramper/dtos/initiateTransaction.dto.js +0 -53
  141. package/dist/src/domain/model/onramper/dtos/initiateTransaction.dto.js.map +0 -1
  142. package/dist/src/domain/model/onramper/entities/OnramperTransaction.entity.d.ts +0 -4
  143. package/dist/src/domain/model/onramper/entities/OnramperTransaction.entity.js +0 -7
  144. package/dist/src/domain/model/onramper/entities/OnramperTransaction.entity.js.map +0 -1
  145. package/dist/src/domain/model/onramper/entities/PaymentMethod.entity.d.ts +0 -5
  146. package/dist/src/domain/model/onramper/entities/PaymentMethod.entity.js +0 -7
  147. package/dist/src/domain/model/onramper/entities/PaymentMethod.entity.js.map +0 -1
  148. package/dist/src/domain/model/paylink-tx/entities/CreatePaylinkTx.d.ts +0 -8
  149. package/dist/src/domain/model/paylink-tx/entities/CreatePaylinkTx.js +0 -7
  150. package/dist/src/domain/model/paylink-tx/entities/CreatePaylinkTx.js.map +0 -1
  151. package/dist/src/domain/model/paylink-tx/entities/UpdatePaylinkTx.d.ts +0 -4
  152. package/dist/src/domain/model/paylink-tx/entities/UpdatePaylinkTx.js +0 -7
  153. package/dist/src/domain/model/paylink-tx/entities/UpdatePaylinkTx.js.map +0 -1
  154. package/dist/src/domain/model/paystream-tx/entities/CreatePaystreamTx.d.ts +0 -11
  155. package/dist/src/domain/model/paystream-tx/entities/CreatePaystreamTx.js +0 -7
  156. package/dist/src/domain/model/paystream-tx/entities/CreatePaystreamTx.js.map +0 -1
  157. package/dist/src/domain/model/paystream-tx/entities/UpdatePaystreamTx.d.ts +0 -7
  158. package/dist/src/domain/model/paystream-tx/entities/UpdatePaystreamTx.js +0 -7
  159. package/dist/src/domain/model/paystream-tx/entities/UpdatePaystreamTx.js.map +0 -1
  160. package/dist/src/domain/model/raffle-details/dtos/createRaffleDetails.dto.d.ts +0 -7
  161. package/dist/src/domain/model/raffle-details/dtos/createRaffleDetails.dto.js +0 -44
  162. package/dist/src/domain/model/raffle-details/dtos/createRaffleDetails.dto.js.map +0 -1
  163. package/dist/src/domain/model/raffle-details/dtos/updateRaffleDetails.dto.d.ts +0 -6
  164. package/dist/src/domain/model/raffle-details/dtos/updateRaffleDetails.dto.js +0 -37
  165. package/dist/src/domain/model/raffle-details/dtos/updateRaffleDetails.dto.js.map +0 -1
  166. package/dist/src/domain/model/redirect-query-params/dtos/RedirectQueryParam.dto.js.map +0 -1
  167. package/dist/src/domain/model/role/dtos/createRole.dto.d.ts +0 -6
  168. package/dist/src/domain/model/role/dtos/createRole.dto.js +0 -33
  169. package/dist/src/domain/model/role/dtos/createRole.dto.js.map +0 -1
  170. package/dist/src/domain/model/role/dtos/index.d.ts +0 -2
  171. package/dist/src/domain/model/role/dtos/index.js +0 -19
  172. package/dist/src/domain/model/role/dtos/index.js.map +0 -1
  173. package/dist/src/domain/model/role/dtos/updateRole.dto.d.ts +0 -4
  174. package/dist/src/domain/model/role/dtos/updateRole.dto.js +0 -23
  175. package/dist/src/domain/model/role/dtos/updateRole.dto.js.map +0 -1
  176. package/dist/src/domain/model/shopify-gdpr/dtos/Customer.dto.d.ts +0 -5
  177. package/dist/src/domain/model/shopify-gdpr/dtos/Customer.dto.js +0 -32
  178. package/dist/src/domain/model/shopify-gdpr/dtos/Customer.dto.js.map +0 -1
  179. package/dist/src/domain/model/shopify-gdpr/dtos/CustomerDataRequest.dto.d.ts +0 -9
  180. package/dist/src/domain/model/shopify-gdpr/dtos/CustomerDataRequest.dto.js +0 -45
  181. package/dist/src/domain/model/shopify-gdpr/dtos/CustomerDataRequest.dto.js.map +0 -1
  182. package/dist/src/domain/model/shopify-gdpr/dtos/CustomerRedactRequest.dto.d.ts +0 -7
  183. package/dist/src/domain/model/shopify-gdpr/dtos/CustomerRedactRequest.dto.js +0 -39
  184. package/dist/src/domain/model/shopify-gdpr/dtos/CustomerRedactRequest.dto.js.map +0 -1
  185. package/dist/src/domain/model/shopify-gdpr/dtos/DataRequest.dto.d.ts +0 -3
  186. package/dist/src/domain/model/shopify-gdpr/dtos/DataRequest.dto.js +0 -22
  187. package/dist/src/domain/model/shopify-gdpr/dtos/DataRequest.dto.js.map +0 -1
  188. package/dist/src/domain/model/shopify-gdpr/dtos/ShopRedactRequest.dto.d.ts +0 -4
  189. package/dist/src/domain/model/shopify-gdpr/dtos/ShopRedactRequest.dto.js +0 -27
  190. package/dist/src/domain/model/shopify-gdpr/dtos/ShopRedactRequest.dto.js.map +0 -1
  191. package/dist/src/domain/model/shopify-gdpr/dtos/index.d.ts +0 -5
  192. package/dist/src/domain/model/shopify-gdpr/dtos/index.js +0 -22
  193. package/dist/src/domain/model/shopify-gdpr/dtos/index.js.map +0 -1
  194. package/dist/src/domain/model/shopify-gdpr/index.d.ts +0 -1
  195. package/dist/src/domain/model/shopify-gdpr/index.js +0 -18
  196. package/dist/src/domain/model/shopify-gdpr/index.js.map +0 -1
  197. package/dist/src/domain/model/telegram-details/dtos/telegramLogin.dto.d.ts +0 -5
  198. package/dist/src/domain/model/telegram-details/dtos/telegramLogin.dto.js +0 -32
  199. package/dist/src/domain/model/telegram-details/dtos/telegramLogin.dto.js.map +0 -1
  200. package/dist/src/domain/model/webhook/paylink-transaction-hook/dtos/createPaylinkTransactionHook.dto.d.ts +0 -6
  201. package/dist/src/domain/model/webhook/paylink-transaction-hook/dtos/createPaylinkTransactionHook.dto.js.map +0 -1
  202. package/dist/src/domain/model/webhook/paylink-transaction-hook/dtos/index.d.ts +0 -1
  203. package/dist/src/domain/model/webhook/paylink-transaction-hook/dtos/index.js +0 -18
  204. package/dist/src/domain/model/webhook/paylink-transaction-hook/dtos/index.js.map +0 -1
  205. package/dist/src/domain/model/webhook/paylink-transaction-hook/entities/PaylinkTransactionEvent.entity.d.ts +0 -3
  206. package/dist/src/domain/model/webhook/paylink-transaction-hook/entities/PaylinkTransactionEvent.entity.js +0 -8
  207. package/dist/src/domain/model/webhook/paylink-transaction-hook/entities/PaylinkTransactionEvent.entity.js.map +0 -1
  208. package/dist/src/domain/model/webhook/paylink-transaction-hook/entities/PaylinkTransactionHook.entity.d.ts +0 -11
  209. package/dist/src/domain/model/webhook/paylink-transaction-hook/entities/PaylinkTransactionHook.entity.js +0 -8
  210. package/dist/src/domain/model/webhook/paylink-transaction-hook/entities/PaylinkTransactionHook.entity.js.map +0 -1
  211. package/dist/src/domain/model/webhook/paylink-transaction-hook/entities/PaylinkTransactionPayload.entity.d.ts +0 -8
  212. package/dist/src/domain/model/webhook/paylink-transaction-hook/entities/PaylinkTransactionPayload.entity.js +0 -8
  213. package/dist/src/domain/model/webhook/paylink-transaction-hook/entities/PaylinkTransactionPayload.entity.js.map +0 -1
  214. package/dist/src/domain/model/webhook/paylink-transaction-hook/entities/index.d.ts +0 -3
  215. package/dist/src/domain/model/webhook/paylink-transaction-hook/entities/index.js +0 -20
  216. package/dist/src/domain/model/webhook/paylink-transaction-hook/entities/index.js.map +0 -1
  217. package/dist/src/domain/model/webhook/paylink-transaction-hook/index.d.ts +0 -2
  218. package/dist/src/domain/model/webhook/paylink-transaction-hook/index.js +0 -19
  219. package/dist/src/domain/model/webhook/paylink-transaction-hook/index.js.map +0 -1
  220. package/dist/src/domain/model/withdrawal/dtos/updateWithdrawalDto.d.ts +0 -3
  221. package/dist/src/domain/model/withdrawal/dtos/updateWithdrawalDto.js +0 -23
  222. package/dist/src/domain/model/withdrawal/dtos/updateWithdrawalDto.js.map +0 -1
  223. package/yarn-error.log +0 -18384
  224. package/dist/src/domain/constants/{redirectQueryParams.d.ts → RedirectQueryParams.d.ts} +0 -0
  225. package/dist/src/domain/model/redirect-query-params/dtos/{RedirectQueryParam.dto.d.ts → redirect-query-param.dto.d.ts} +1 -1
@@ -5,4 +5,4 @@ var RedirectQueryParams;
5
5
  (function (RedirectQueryParams) {
6
6
  RedirectQueryParams["WALLET_ADDRESS"] = "WALLET_ADDRESS";
7
7
  })(RedirectQueryParams = exports.RedirectQueryParams || (exports.RedirectQueryParams = {}));
8
- //# sourceMappingURL=redirectQueryParams.js.map
8
+ //# sourceMappingURL=RedirectQueryParams.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RedirectQueryParams.js","sourceRoot":"","sources":["../../../../src/domain/constants/RedirectQueryParams.ts"],"names":[],"mappings":";;;AAAA,IAAY,mBAEX;AAFD,WAAY,mBAAmB;IAC7B,wDAAiC,CAAA;AACnC,CAAC,EAFW,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAE9B"}
@@ -1,9 +1,6 @@
1
- import { BlockchainSymbol } from '../../blockchain';
2
1
  export declare class GetQuoteDto {
2
+ crypto: string;
3
3
  amount: string;
4
- currency: string;
5
- blockchain: BlockchainSymbol;
6
4
  walletAddress: string;
7
5
  paymentMethod: string;
8
- isDark: boolean;
9
6
  }
@@ -11,24 +11,18 @@ var __metadata = (this && this.__metadata) || function (k, v) {
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.GetQuoteDto = void 0;
13
13
  const class_validator_1 = require("class-validator");
14
- const blockchain_1 = require("../../blockchain");
15
14
  class GetQuoteDto {
16
15
  }
17
16
  __decorate([
18
17
  (0, class_validator_1.IsString)(),
19
18
  (0, class_validator_1.IsNotEmpty)(),
20
19
  __metadata("design:type", String)
21
- ], GetQuoteDto.prototype, "amount", void 0);
20
+ ], GetQuoteDto.prototype, "crypto", void 0);
22
21
  __decorate([
23
22
  (0, class_validator_1.IsString)(),
24
23
  (0, class_validator_1.IsNotEmpty)(),
25
24
  __metadata("design:type", String)
26
- ], GetQuoteDto.prototype, "currency", void 0);
27
- __decorate([
28
- (0, class_validator_1.IsEnum)(blockchain_1.BlockchainSymbol),
29
- (0, class_validator_1.IsNotEmpty)(),
30
- __metadata("design:type", String)
31
- ], GetQuoteDto.prototype, "blockchain", void 0);
25
+ ], GetQuoteDto.prototype, "amount", void 0);
32
26
  __decorate([
33
27
  (0, class_validator_1.IsString)(),
34
28
  (0, class_validator_1.IsNotEmpty)(),
@@ -39,10 +33,5 @@ __decorate([
39
33
  (0, class_validator_1.IsNotEmpty)(),
40
34
  __metadata("design:type", String)
41
35
  ], GetQuoteDto.prototype, "paymentMethod", void 0);
42
- __decorate([
43
- (0, class_validator_1.IsBoolean)(),
44
- (0, class_validator_1.IsNotEmpty)(),
45
- __metadata("design:type", Boolean)
46
- ], GetQuoteDto.prototype, "isDark", void 0);
47
36
  exports.GetQuoteDto = GetQuoteDto;
48
37
  //# sourceMappingURL=getQuote.dto.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getQuote.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/onramp/dtos/getQuote.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA0E;AAC1E,iDAAoD;AAEpD,MAAa,WAAW;CAwBvB;AAvBC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;2CACE;AAEf;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;6CACI;AAEjB;IAAC,IAAA,wBAAM,EAAC,6BAAgB,CAAC;IACxB,IAAA,4BAAU,GAAE;;+CACgB;AAE7B;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;kDACS;AAEtB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;kDACS;AAEtB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;2CACG;AAvBlB,kCAwBC"}
1
+ {"version":3,"file":"getQuote.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/onramp/dtos/getQuote.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuD;AAEvD,MAAa,WAAW;CAgBvB;AAfC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;2CACE;AAEf;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;2CACE;AAEf;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;kDACS;AAEtB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;kDACS;AAfxB,kCAgBC"}
@@ -1,9 +1,10 @@
1
1
  import { BlockchainSymbol } from '../../blockchain';
2
2
  export declare class InitiateTransactionDto {
3
- amount: string;
4
- currency: string;
3
+ onramp: string;
4
+ destination: string;
5
+ amount: number;
6
+ paymentMethod: string;
5
7
  blockchain: BlockchainSymbol;
6
8
  walletAddress: string;
7
- paymentMethod: string;
8
9
  isDark: boolean;
9
10
  }
@@ -18,12 +18,22 @@ __decorate([
18
18
  (0, class_validator_1.IsString)(),
19
19
  (0, class_validator_1.IsNotEmpty)(),
20
20
  __metadata("design:type", String)
21
+ ], InitiateTransactionDto.prototype, "onramp", void 0);
22
+ __decorate([
23
+ (0, class_validator_1.IsString)(),
24
+ (0, class_validator_1.IsNotEmpty)(),
25
+ __metadata("design:type", String)
26
+ ], InitiateTransactionDto.prototype, "destination", void 0);
27
+ __decorate([
28
+ (0, class_validator_1.IsNumber)(),
29
+ (0, class_validator_1.IsNotEmpty)(),
30
+ __metadata("design:type", Number)
21
31
  ], InitiateTransactionDto.prototype, "amount", void 0);
22
32
  __decorate([
23
33
  (0, class_validator_1.IsString)(),
24
34
  (0, class_validator_1.IsNotEmpty)(),
25
35
  __metadata("design:type", String)
26
- ], InitiateTransactionDto.prototype, "currency", void 0);
36
+ ], InitiateTransactionDto.prototype, "paymentMethod", void 0);
27
37
  __decorate([
28
38
  (0, class_validator_1.IsEnum)(blockchain_1.BlockchainSymbol),
29
39
  (0, class_validator_1.IsNotEmpty)(),
@@ -34,11 +44,6 @@ __decorate([
34
44
  (0, class_validator_1.IsNotEmpty)(),
35
45
  __metadata("design:type", String)
36
46
  ], InitiateTransactionDto.prototype, "walletAddress", void 0);
37
- __decorate([
38
- (0, class_validator_1.IsString)(),
39
- (0, class_validator_1.IsNotEmpty)(),
40
- __metadata("design:type", String)
41
- ], InitiateTransactionDto.prototype, "paymentMethod", void 0);
42
47
  __decorate([
43
48
  (0, class_validator_1.IsBoolean)(),
44
49
  (0, class_validator_1.IsNotEmpty)(),
@@ -1 +1 @@
1
- {"version":3,"file":"initiateTransaction.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/onramp/dtos/initiateTransaction.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA0E;AAC1E,iDAAoD;AAEpD,MAAa,sBAAsB;CAwBlC;AAvBC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;sDACE;AAEf;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;wDACI;AAEjB;IAAC,IAAA,wBAAM,EAAC,6BAAgB,CAAC;IACxB,IAAA,4BAAU,GAAE;;0DACgB;AAE7B;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;6DACS;AAEtB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;6DACS;AAEtB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;sDACG;AAvBlB,wDAwBC"}
1
+ {"version":3,"file":"initiateTransaction.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/onramp/dtos/initiateTransaction.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAMyB;AACzB,iDAAoD;AAEpD,MAAa,sBAAsB;CA4BlC;AA3BC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;sDACE;AAEf;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;2DACO;AAEpB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;sDACE;AAEf;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;6DACS;AAEtB;IAAC,IAAA,wBAAM,EAAC,6BAAgB,CAAC;IACxB,IAAA,4BAAU,GAAE;;0DACgB;AAE7B;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;6DACS;AAEtB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;sDACG;AA3BlB,wDA4BC"}
@@ -1,5 +1,5 @@
1
1
  import { BlockchainSymbol } from '../../blockchain';
2
2
  export declare class GetPaymentMethodsDto {
3
3
  currency: string;
4
- blockchain: BlockchainSymbol;
4
+ chain: BlockchainSymbol;
5
5
  }
@@ -23,6 +23,6 @@ __decorate([
23
23
  (0, class_validator_1.IsEnum)(blockchain_1.BlockchainSymbol),
24
24
  (0, class_validator_1.IsNotEmpty)(),
25
25
  __metadata("design:type", String)
26
- ], GetPaymentMethodsDto.prototype, "blockchain", void 0);
26
+ ], GetPaymentMethodsDto.prototype, "chain", void 0);
27
27
  exports.GetPaymentMethodsDto = GetPaymentMethodsDto;
28
28
  //# sourceMappingURL=getPaymentMethods.dto.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getPaymentMethods.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/onramper/dtos/getPaymentMethods.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA+D;AAC/D,iDAAoD;AAEpD,MAAa,oBAAoB;CAQhC;AAPC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;sDACI;AAEjB;IAAC,IAAA,wBAAM,EAAC,6BAAgB,CAAC;IACxB,IAAA,4BAAU,GAAE;;wDACgB;AAP/B,oDAQC"}
1
+ {"version":3,"file":"getPaymentMethods.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/onramper/dtos/getPaymentMethods.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA+D;AAC/D,iDAAoD;AAEpD,MAAa,oBAAoB;CAQhC;AAPC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;sDACI;AAEjB;IAAC,IAAA,wBAAM,EAAC,6BAAgB,CAAC;IACxB,IAAA,4BAAU,GAAE;;mDACW;AAP1B,oDAQC"}
@@ -1,3 +1,2 @@
1
1
  export * from './getPaymentMethods.dto';
2
2
  export * from './getQuote.dto';
3
- export * from './initiateTransaction.dto';
@@ -16,5 +16,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./getPaymentMethods.dto"), exports);
18
18
  __exportStar(require("./getQuote.dto"), exports);
19
- __exportStar(require("./initiateTransaction.dto"), exports);
20
19
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/onramper/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0DAAwC;AACxC,iDAA+B;AAC/B,4DAA0C"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/onramper/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0DAAwC;AACxC,iDAA+B"}
@@ -1,4 +1,3 @@
1
1
  export * from './OnramperCurrency.entity';
2
2
  export * from './OnramperPaymentMethod.entity';
3
3
  export * from './OnramperQuote.entity';
4
- export * from './OnramperTransaction.entity';
@@ -17,5 +17,4 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./OnramperCurrency.entity"), exports);
18
18
  __exportStar(require("./OnramperPaymentMethod.entity"), exports);
19
19
  __exportStar(require("./OnramperQuote.entity"), exports);
20
- __exportStar(require("./OnramperTransaction.entity"), exports);
21
20
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/onramper/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4DAA0C;AAC1C,iEAA+C;AAC/C,yDAAuC;AACvC,+DAA6C"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/onramper/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4DAA0C;AAC1C,iEAA+C;AAC/C,yDAAuC"}
@@ -0,0 +1,3 @@
1
+ import { PlainPaymentRequest } from '../../payment-request';
2
+ export declare class PlainPaylink extends PlainPaymentRequest {
3
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PlainPaylink = void 0;
4
+ const payment_request_1 = require("../../payment-request");
5
+ class PlainPaylink extends payment_request_1.PlainPaymentRequest {
6
+ }
7
+ exports.PlainPaylink = PlainPaylink;
8
+ //# sourceMappingURL=PlainPaylink.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PlainPaylink.js","sourceRoot":"","sources":["../../../../../../src/domain/model/paylink/entities/PlainPaylink.ts"],"names":[],"mappings":";;;AAAA,2DAA4D;AAE5D,MAAa,YAAa,SAAQ,qCAAmB;CAAG;AAAxD,oCAAwD"}
@@ -8,3 +8,4 @@ export * from './Paylink';
8
8
  export * from './PaylinkStats';
9
9
  export * from './ShallowEnrichedPaylink.entity';
10
10
  export * from './ShopifyMerchentPaylink.entity';
11
+ export * from './PlainPaylink';
@@ -24,4 +24,5 @@ __exportStar(require("./Paylink"), exports);
24
24
  __exportStar(require("./PaylinkStats"), exports);
25
25
  __exportStar(require("./ShallowEnrichedPaylink.entity"), exports);
26
26
  __exportStar(require("./ShopifyMerchentPaylink.entity"), exports);
27
+ __exportStar(require("./PlainPaylink"), exports);
27
28
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/paylink/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA8B;AAC9B,6DAA2C;AAC3C,qDAAmC;AACnC,gFAA8D;AAC9D,4EAA0D;AAC1D,uDAAqC;AACrC,4CAA0B;AAC1B,iDAA+B;AAC/B,kEAAgD;AAChD,kEAAgD"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/paylink/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA8B;AAC9B,6DAA2C;AAC3C,qDAAmC;AACnC,gFAA8D;AAC9D,4EAA0D;AAC1D,uDAAqC;AACrC,4CAA0B;AAC1B,iDAA+B;AAC/B,kEAAgD;AAChD,kEAAgD;AAChD,iDAA+B"}
@@ -0,0 +1,5 @@
1
+ import { Entity } from '../../entity';
2
+ export declare class PlainPaymentRequest extends Entity {
3
+ id: string;
4
+ name: string;
5
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PlainPaymentRequest = void 0;
4
+ const entity_1 = require("../../entity");
5
+ class PlainPaymentRequest extends entity_1.Entity {
6
+ }
7
+ exports.PlainPaymentRequest = PlainPaymentRequest;
8
+ //# sourceMappingURL=PlainPaymentRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PlainPaymentRequest.js","sourceRoot":"","sources":["../../../../../../src/domain/model/payment-request/entities/PlainPaymentRequest.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAEtC,MAAa,mBAAoB,SAAQ,eAAM;CAI9C;AAJD,kDAIC"}
@@ -6,3 +6,4 @@ export * from './SlugPaymentRequest';
6
6
  export * from './PaymentRequestPreview.entity';
7
7
  export * from './ShopifyMerchantPaymentRequest.entity';
8
8
  export * from './PaymentRequestStats';
9
+ export * from './PlainPaymentRequest';
@@ -22,4 +22,5 @@ __exportStar(require("./SlugPaymentRequest"), exports);
22
22
  __exportStar(require("./PaymentRequestPreview.entity"), exports);
23
23
  __exportStar(require("./ShopifyMerchantPaymentRequest.entity"), exports);
24
24
  __exportStar(require("./PaymentRequestStats"), exports);
25
+ __exportStar(require("./PlainPaymentRequest"), exports);
25
26
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/payment-request/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mDAAiC;AACjC,uDAAqC;AACrC,kEAAgD;AAChD,uDAAqC;AACrC,uDAAqC;AACrC,iEAA+C;AAC/C,yEAAuD;AACvD,wDAAsC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/payment-request/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mDAAiC;AACjC,uDAAqC;AACrC,kEAAgD;AAChD,uDAAqC;AACrC,uDAAqC;AACrC,iEAA+C;AAC/C,yEAAuD;AACvD,wDAAsC;AACtC,wDAAsC"}
@@ -14,15 +14,15 @@ const class_validator_1 = require("class-validator");
14
14
  const constants_1 = require("../../../constants");
15
15
  class RedirectQueryParamDto {
16
16
  }
17
- __decorate([
18
- (0, class_validator_1.IsEnum)(constants_1.RedirectQueryParams),
19
- (0, class_validator_1.IsNotEmpty)(),
20
- __metadata("design:type", String)
21
- ], RedirectQueryParamDto.prototype, "queryParamType", void 0);
22
17
  __decorate([
23
18
  (0, class_validator_1.IsString)(),
24
19
  (0, class_validator_1.IsOptional)(),
25
20
  __metadata("design:type", String)
26
21
  ], RedirectQueryParamDto.prototype, "value", void 0);
22
+ __decorate([
23
+ (0, class_validator_1.IsEnum)(constants_1.RedirectQueryParams),
24
+ (0, class_validator_1.IsNotEmpty)(),
25
+ __metadata("design:type", String)
26
+ ], RedirectQueryParamDto.prototype, "queryParamType", void 0);
27
27
  exports.RedirectQueryParamDto = RedirectQueryParamDto;
28
- //# sourceMappingURL=RedirectQueryParam.dto.js.map
28
+ //# sourceMappingURL=redirect-query-param.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"redirect-query-param.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/redirect-query-params/dtos/redirect-query-param.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA2E;AAC3E,kDAAyD;AAEzD,MAAa,qBAAqB;CAQjC;AAPC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;oDACE;AAEf;IAAC,IAAA,wBAAM,EAAC,+BAAmB,CAAC;IAC3B,IAAA,4BAAU,GAAE;;6DACuB;AAPtC,sDAQC"}
@@ -0,0 +1,6 @@
1
+ import { Entity } from '../../entity';
2
+ import { RedirectQueryParams } from '../../../constants';
3
+ export declare class RedirectQueryParam extends Entity {
4
+ queryParamType: RedirectQueryParams;
5
+ value?: string;
6
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RedirectQueryParam = void 0;
4
+ const entity_1 = require("../../entity");
5
+ class RedirectQueryParam extends entity_1.Entity {
6
+ }
7
+ exports.RedirectQueryParam = RedirectQueryParam;
8
+ //# sourceMappingURL=redirect-query-param.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"redirect-query-param.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/redirect-query-params/entities/redirect-query-param.entity.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAGtC,MAAa,kBAAmB,SAAQ,eAAM;CAI7C;AAJD,gDAIC"}
@@ -1,5 +1,6 @@
1
1
  export declare class BaseQueryDto {
2
- page?: string;
3
- limit?: number;
2
+ page?: number;
3
+ limit?: string;
4
+ lastItemId?: string;
4
5
  search?: string;
5
6
  }
@@ -14,15 +14,20 @@ const class_validator_1 = require("class-validator");
14
14
  class BaseQueryDto {
15
15
  }
16
16
  __decorate([
17
- (0, class_validator_1.IsString)(),
17
+ (0, class_validator_1.IsNumberString)(),
18
18
  (0, class_validator_1.IsOptional)(),
19
- __metadata("design:type", String)
19
+ __metadata("design:type", Number)
20
20
  ], BaseQueryDto.prototype, "page", void 0);
21
21
  __decorate([
22
- (0, class_validator_1.IsNumber)(),
22
+ (0, class_validator_1.IsString)(),
23
23
  (0, class_validator_1.IsOptional)(),
24
- __metadata("design:type", Number)
24
+ __metadata("design:type", String)
25
25
  ], BaseQueryDto.prototype, "limit", void 0);
26
+ __decorate([
27
+ (0, class_validator_1.IsString)(),
28
+ (0, class_validator_1.IsOptional)(),
29
+ __metadata("design:type", String)
30
+ ], BaseQueryDto.prototype, "lastItemId", void 0);
26
31
  __decorate([
27
32
  (0, class_validator_1.IsString)(),
28
33
  (0, class_validator_1.IsOptional)(),
@@ -1 +1 @@
1
- {"version":3,"file":"baseQuery.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/shared/queries/baseQuery.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAiE;AAEjE,MAAa,YAAY;CAYxB;AAXC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;0CACC;AAEd;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;2CACE;AAEf;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;4CACG;AAXlB,oCAYC"}
1
+ {"version":3,"file":"baseQuery.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/shared/queries/baseQuery.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuE;AAEvE,MAAa,YAAY;CAgBxB;AAfC;IAAC,IAAA,gCAAc,GAAE;IAChB,IAAA,4BAAU,GAAE;;0CACC;AAEd;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;2CACE;AAEf;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;gDACO;AAEpB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;4CACG;AAflB,oCAgBC"}
@@ -14,7 +14,7 @@ const class_validator_1 = require("class-validator");
14
14
  class CreatePaylinkHookBaseDto {
15
15
  }
16
16
  __decorate([
17
- (0, class_validator_1.IsString)(),
17
+ (0, class_validator_1.IsUrl)(),
18
18
  (0, class_validator_1.IsNotEmpty)(),
19
19
  __metadata("design:type", String)
20
20
  ], CreatePaylinkHookBaseDto.prototype, "targetUrl", void 0);
@@ -1 +1 @@
1
- {"version":3,"file":"createPaylinkHookBase.dto.js","sourceRoot":"","sources":["../../../../../../../src/domain/model/webhook/paylink/base-paylink-hook/createPaylinkHookBase.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuD;AAEvD,MAAa,wBAAwB;CAIpC;AAHC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;2DACK;AAHpB,4DAIC"}
1
+ {"version":3,"file":"createPaylinkHookBase.dto.js","sourceRoot":"","sources":["../../../../../../../src/domain/model/webhook/paylink/base-paylink-hook/createPaylinkHookBase.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAoD;AAEpD,MAAa,wBAAwB;CAIpC;AAHC;IAAC,IAAA,uBAAK,GAAE;IACP,IAAA,4BAAU,GAAE;;2DACK;AAHpB,4DAIC"}
@@ -0,0 +1,4 @@
1
+ import { Entity } from '../../../../entity';
2
+ export declare class HookSecret extends Entity {
3
+ sharedToken: string;
4
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.HookSecret = void 0;
4
+ const entity_1 = require("../../../../entity");
5
+ class HookSecret extends entity_1.Entity {
6
+ }
7
+ exports.HookSecret = HookSecret;
8
+ //# sourceMappingURL=HookSecret.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HookSecret.entity.js","sourceRoot":"","sources":["../../../../../../../../src/domain/model/webhook/paylink/paylink-hook/entities/HookSecret.entity.ts"],"names":[],"mappings":";;;AAAA,+CAA4C;AAE5C,MAAa,UAAW,SAAQ,eAAM;CAErC;AAFD,gCAEC"}
@@ -1,7 +1,9 @@
1
1
  import { BasePaylinkHookEntity } from '../../base-paylink-hook/BasePaylinkHook.entity';
2
+ import { PaylinkHookEvent } from './PaylinkHookEvent.entity';
2
3
  export declare class PaylinkHook extends BasePaylinkHookEntity {
3
4
  name: string;
4
5
  inactive: boolean;
5
6
  createdAt: string;
6
7
  isGlobal: boolean;
8
+ events: PaylinkHookEvent[];
7
9
  }
@@ -1 +1 @@
1
- {"version":3,"file":"PaylinkHook.entity.js","sourceRoot":"","sources":["../../../../../../../../src/domain/model/webhook/paylink/paylink-hook/entities/PaylinkHook.entity.ts"],"names":[],"mappings":";;;AAAA,2FAAuF;AAEvF,MAAa,WAAY,SAAQ,8CAAqB;CAQrD;AARD,kCAQC"}
1
+ {"version":3,"file":"PaylinkHook.entity.js","sourceRoot":"","sources":["../../../../../../../../src/domain/model/webhook/paylink/paylink-hook/entities/PaylinkHook.entity.ts"],"names":[],"mappings":";;;AAAA,2FAAuF;AAGvF,MAAa,WAAY,SAAQ,8CAAqB;CAUrD;AAVD,kCAUC"}
@@ -20,7 +20,7 @@ __decorate([
20
20
  __metadata("design:type", String)
21
21
  ], GetAllPaylinkHooksQueryDto.prototype, "withInactive", void 0);
22
22
  __decorate([
23
- (0, class_validator_1.IsString)(),
23
+ (0, class_validator_1.IsMongoId)(),
24
24
  (0, class_validator_1.IsOptional)(),
25
25
  __metadata("design:type", String)
26
26
  ], GetAllPaylinkHooksQueryDto.prototype, "paylinkId", void 0);
@@ -1 +1 @@
1
- {"version":3,"file":"getAllQuery.dto.js","sourceRoot":"","sources":["../../../../../../../../src/domain/model/webhook/paylink/paylink-hook/query/getAllQuery.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAwE;AACxE,+CAAkD;AAElD,MAAa,0BAA2B,SAAQ,qBAAY;CAQ3D;AAPC;IAAC,IAAA,iCAAe,GAAE;IACjB,IAAA,4BAAU,GAAE;;gEACS;AAEtB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;6DACM;AAPrB,gEAQC"}
1
+ {"version":3,"file":"getAllQuery.dto.js","sourceRoot":"","sources":["../../../../../../../../src/domain/model/webhook/paylink/paylink-hook/query/getAllQuery.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAyE;AACzE,+CAAkD;AAElD,MAAa,0BAA2B,SAAQ,qBAAY;CAQ3D;AAPC;IAAC,IAAA,iCAAe,GAAE;IACjB,IAAA,4BAAU,GAAE;;gEACS;AAEtB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;6DACM;AAPrB,gEAQC"}
@@ -0,0 +1,10 @@
1
+ import { PaylinkHookEvent } from '../../paylink-hook/entities';
2
+ import { PaylinkHookEventStatus } from './PaylinkHookEventStatus.entity';
3
+ export declare class BasePaylinkHookEvents {
4
+ id: string;
5
+ company: string;
6
+ event: PaylinkHookEvent;
7
+ status: PaylinkHookEventStatus;
8
+ attempsLeft: number;
9
+ updatedAt: string;
10
+ }
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BasePaylinkHookEvents = void 0;
4
+ class BasePaylinkHookEvents {
5
+ }
6
+ exports.BasePaylinkHookEvents = BasePaylinkHookEvents;
7
+ //# sourceMappingURL=BasePaylinkHookEvents.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BasePaylinkHookEvents.entity.js","sourceRoot":"","sources":["../../../../../../../../src/domain/model/webhook/paylink/paylink-hook-event/entities/BasePaylinkHookEvents.entity.ts"],"names":[],"mappings":";;;AAGA,MAAa,qBAAqB;CAYjC;AAZD,sDAYC"}
@@ -0,0 +1,5 @@
1
+ import { BasePaylinkHookEvents } from './BasePaylinkHookEvents.entity';
2
+ export declare class PaylinkHookEvents extends BasePaylinkHookEvents {
3
+ paylinkHook: string;
4
+ paylink: string;
5
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PaylinkHookEvents = void 0;
4
+ const BasePaylinkHookEvents_entity_1 = require("./BasePaylinkHookEvents.entity");
5
+ class PaylinkHookEvents extends BasePaylinkHookEvents_entity_1.BasePaylinkHookEvents {
6
+ }
7
+ exports.PaylinkHookEvents = PaylinkHookEvents;
8
+ //# sourceMappingURL=PaylinkHookEvents.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PaylinkHookEvents.entity.js","sourceRoot":"","sources":["../../../../../../../../src/domain/model/webhook/paylink/paylink-hook-event/entities/PaylinkHookEvents.entity.ts"],"names":[],"mappings":";;;AAAA,iFAAuE;AAEvE,MAAa,iBAAkB,SAAQ,oDAAqB;CAI3D;AAJD,8CAIC"}
@@ -0,0 +1,7 @@
1
+ import { BasePaylink } from '../../../../paylink';
2
+ import { PaylinkHook } from '../../paylink-hook/entities';
3
+ import { BasePaylinkHookEvents } from './BasePaylinkHookEvents.entity';
4
+ export declare class PaylinkHookEventsEnriched extends BasePaylinkHookEvents {
5
+ paylinkHook: PaylinkHook;
6
+ paylink: BasePaylink;
7
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PaylinkHookEventsEnriched = void 0;
4
+ const BasePaylinkHookEvents_entity_1 = require("./BasePaylinkHookEvents.entity");
5
+ class PaylinkHookEventsEnriched extends BasePaylinkHookEvents_entity_1.BasePaylinkHookEvents {
6
+ }
7
+ exports.PaylinkHookEventsEnriched = PaylinkHookEventsEnriched;
8
+ //# sourceMappingURL=PaylinkHookEventsEnriched.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PaylinkHookEventsEnriched.entity.js","sourceRoot":"","sources":["../../../../../../../../src/domain/model/webhook/paylink/paylink-hook-event/entities/PaylinkHookEventsEnriched.entity.ts"],"names":[],"mappings":";;;AAEA,iFAAuE;AAEvE,MAAa,yBAA0B,SAAQ,oDAAqB;CAInE;AAJD,8DAIC"}
@@ -1 +1,4 @@
1
1
  export * from './PaylinkHookEventStatus.entity';
2
+ export * from './PaylinkHookEvents.entity';
3
+ export * from './PaylinkHookEventsEnriched.entity';
4
+ export * from './BasePaylinkHookEvents.entity';
@@ -15,4 +15,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./PaylinkHookEventStatus.entity"), exports);
18
+ __exportStar(require("./PaylinkHookEvents.entity"), exports);
19
+ __exportStar(require("./PaylinkHookEventsEnriched.entity"), exports);
20
+ __exportStar(require("./BasePaylinkHookEvents.entity"), exports);
18
21
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../src/domain/model/webhook/paylink/paylink-hook-event/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kEAAgD"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../src/domain/model/webhook/paylink/paylink-hook-event/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kEAAgD;AAChD,6DAA2C;AAC3C,qEAAmD;AACnD,iEAA+C"}
@@ -1 +1,2 @@
1
1
  export * from './entities';
2
+ export * from './query';
@@ -15,4 +15,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./entities"), exports);
18
+ __exportStar(require("./query"), exports);
18
19
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/domain/model/webhook/paylink/paylink-hook-event/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA2B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/domain/model/webhook/paylink/paylink-hook-event/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA2B;AAC3B,0CAAwB"}
@@ -0,0 +1,7 @@
1
+ import { BaseQueryDto } from '../../../../shared';
2
+ import { PaylinkHookEventStatus } from '../entities';
3
+ import { PaylinkHookEvent } from '../../paylink-hook/entities';
4
+ export declare class GetAllPaylinkHookEventsQueryDto extends BaseQueryDto {
5
+ status?: PaylinkHookEventStatus[];
6
+ event?: PaylinkHookEvent[];
7
+ }
@@ -9,23 +9,24 @@ var __metadata = (this && this.__metadata) || function (k, v) {
9
9
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.CreatePaylinkTransactionHookDto = void 0;
12
+ exports.GetAllPaylinkHookEventsQueryDto = void 0;
13
13
  const class_validator_1 = require("class-validator");
14
+ const shared_1 = require("../../../../shared");
14
15
  const entities_1 = require("../entities");
15
- class CreatePaylinkTransactionHookDto {
16
+ const entities_2 = require("../../paylink-hook/entities");
17
+ class GetAllPaylinkHookEventsQueryDto extends shared_1.BaseQueryDto {
16
18
  }
17
19
  __decorate([
18
- (0, class_validator_1.IsString)(),
19
- __metadata("design:type", String)
20
- ], CreatePaylinkTransactionHookDto.prototype, "paylinkId", void 0);
21
- __decorate([
22
- (0, class_validator_1.IsString)(),
23
- __metadata("design:type", String)
24
- ], CreatePaylinkTransactionHookDto.prototype, "targetUrl", void 0);
20
+ (0, class_validator_1.IsOptional)(),
21
+ (0, class_validator_1.IsArray)(),
22
+ (0, class_validator_1.IsEnum)(entities_1.PaylinkHookEventStatus, { each: true }),
23
+ __metadata("design:type", Array)
24
+ ], GetAllPaylinkHookEventsQueryDto.prototype, "status", void 0);
25
25
  __decorate([
26
26
  (0, class_validator_1.IsOptional)(),
27
- (0, class_validator_1.IsEnum)(entities_1.PaylinkTransactionEvent, { each: true }),
27
+ (0, class_validator_1.IsArray)(),
28
+ (0, class_validator_1.IsEnum)(entities_2.PaylinkHookEvent, { each: true }),
28
29
  __metadata("design:type", Array)
29
- ], CreatePaylinkTransactionHookDto.prototype, "events", void 0);
30
- exports.CreatePaylinkTransactionHookDto = CreatePaylinkTransactionHookDto;
31
- //# sourceMappingURL=createPaylinkTransactionHook.dto.js.map
30
+ ], GetAllPaylinkHookEventsQueryDto.prototype, "event", void 0);
31
+ exports.GetAllPaylinkHookEventsQueryDto = GetAllPaylinkHookEventsQueryDto;
32
+ //# sourceMappingURL=getAllQuery.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getAllQuery.dto.js","sourceRoot":"","sources":["../../../../../../../../src/domain/model/webhook/paylink/paylink-hook-event/query/getAllQuery.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA8D;AAC9D,+CAAkD;AAClD,0CAAqD;AACrD,0DAA+D;AAE/D,MAAa,+BAAgC,SAAQ,qBAAY;CAUhE;AATC;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;IACT,IAAA,wBAAM,EAAC,iCAAsB,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;+DACb;AAElC;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;IACT,IAAA,wBAAM,EAAC,2BAAgB,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;8DACd;AAT7B,0EAUC"}
@@ -0,0 +1 @@
1
+ export * from './getAllQuery.dto';
@@ -14,5 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./entities"), exports);
17
+ __exportStar(require("./getAllQuery.dto"), exports);
18
18
  //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../src/domain/model/webhook/paylink/paylink-hook-event/query/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC"}