@heliofi/common 0.2.59 → 0.2.61

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 (181) hide show
  1. package/dist/src/domain/constants/intervalUnit.d.ts +1 -1
  2. package/dist/src/domain/constants/intervalUnit.js +3 -3
  3. package/dist/src/domain/constants/intervalUnit.js.map +1 -1
  4. package/dist/src/domain/model/onramp/dtos/getQuote.dto.d.ts +1 -4
  5. package/dist/src/domain/model/onramp/dtos/getQuote.dto.js +2 -13
  6. package/dist/src/domain/model/onramp/dtos/getQuote.dto.js.map +1 -1
  7. package/dist/src/domain/model/onramp/dtos/initiateTransaction.dto.d.ts +4 -3
  8. package/dist/src/domain/model/onramp/dtos/initiateTransaction.dto.js +11 -6
  9. package/dist/src/domain/model/onramp/dtos/initiateTransaction.dto.js.map +1 -1
  10. package/dist/src/domain/model/onramper/dtos/getPaymentMethods.dto.d.ts +1 -1
  11. package/dist/src/domain/model/onramper/dtos/getPaymentMethods.dto.js +1 -1
  12. package/dist/src/domain/model/onramper/dtos/getPaymentMethods.dto.js.map +1 -1
  13. package/dist/src/domain/model/onramper/dtos/index.d.ts +0 -1
  14. package/dist/src/domain/model/onramper/dtos/index.js +0 -1
  15. package/dist/src/domain/model/onramper/dtos/index.js.map +1 -1
  16. package/dist/src/domain/model/onramper/entities/index.d.ts +0 -1
  17. package/dist/src/domain/model/onramper/entities/index.js +0 -1
  18. package/dist/src/domain/model/onramper/entities/index.js.map +1 -1
  19. package/dist/src/domain/model/redirect-query-params/dtos/{RedirectQueryParam.dto.js → redirect-query-param.dto.js} +6 -6
  20. package/dist/src/domain/model/redirect-query-params/dtos/redirect-query-param.dto.js.map +1 -0
  21. package/dist/src/domain/model/redirect-query-params/entities/redirect-query-param.entity.d.ts +6 -0
  22. package/dist/src/domain/model/redirect-query-params/entities/redirect-query-param.entity.js +8 -0
  23. package/dist/src/domain/model/redirect-query-params/entities/redirect-query-param.entity.js.map +1 -0
  24. package/dist/tsconfig.tsbuildinfo +1 -1
  25. package/package.json +2 -2
  26. package/dist/src/domain/model/allowlist/entities/InvalidAllowlistWallets.entity.d.ts +0 -4
  27. package/dist/src/domain/model/allowlist/entities/InvalidAllowlistWallets.entity.js +0 -7
  28. package/dist/src/domain/model/allowlist/entities/InvalidAllowlistWallets.entity.js.map +0 -1
  29. package/dist/src/domain/model/apiKey/dtos/createApiKeyDtoInternal.d.ts +0 -6
  30. package/dist/src/domain/model/apiKey/dtos/createApiKeyDtoInternal.js +0 -37
  31. package/dist/src/domain/model/apiKey/dtos/createApiKeyDtoInternal.js.map +0 -1
  32. package/dist/src/domain/model/apiKey/dtos/updateApiKey.dto.d.ts +0 -4
  33. package/dist/src/domain/model/apiKey/dtos/updateApiKey.dto.js +0 -27
  34. package/dist/src/domain/model/apiKey/dtos/updateApiKey.dto.js.map +0 -1
  35. package/dist/src/domain/model/auth/dtos/generateTwitterRefreshToken.dto.d.ts +0 -8
  36. package/dist/src/domain/model/auth/dtos/generateTwitterRefreshToken.dto.js +0 -43
  37. package/dist/src/domain/model/auth/dtos/generateTwitterRefreshToken.dto.js.map +0 -1
  38. package/dist/src/domain/model/blink/entities/CreateBlinkResponse.entity.d.ts +0 -3
  39. package/dist/src/domain/model/blink/entities/CreateBlinkResponse.entity.js +0 -7
  40. package/dist/src/domain/model/blink/entities/CreateBlinkResponse.entity.js.map +0 -1
  41. package/dist/src/domain/model/discount-codes/entities/DiscountCodePublicAccess.entity.d.ts +0 -8
  42. package/dist/src/domain/model/discount-codes/entities/DiscountCodePublicAccess.entity.js +0 -8
  43. package/dist/src/domain/model/discount-codes/entities/DiscountCodePublicAccess.entity.js.map +0 -1
  44. package/dist/src/domain/model/email/EmailTelegramInviteDto.d.ts +0 -8
  45. package/dist/src/domain/model/email/EmailTelegramInviteDto.js +0 -3
  46. package/dist/src/domain/model/email/EmailTelegramInviteDto.js.map +0 -1
  47. package/dist/src/domain/model/email/dtos/emailRenewalReminder.dto.d.ts +0 -16
  48. package/dist/src/domain/model/email/dtos/emailRenewalReminder.dto.js +0 -83
  49. package/dist/src/domain/model/email/dtos/emailRenewalReminder.dto.js.map +0 -1
  50. package/dist/src/domain/model/fee/dtos/feeDetailsDto.d.ts +0 -4
  51. package/dist/src/domain/model/fee/dtos/feeDetailsDto.js +0 -27
  52. package/dist/src/domain/model/fee/dtos/feeDetailsDto.js.map +0 -1
  53. package/dist/src/domain/model/fee/dtos/feeDto.d.ts +0 -8
  54. package/dist/src/domain/model/fee/dtos/feeDto.js +0 -48
  55. package/dist/src/domain/model/fee/dtos/feeDto.js.map +0 -1
  56. package/dist/src/domain/model/fee/dtos/index.d.ts +0 -1
  57. package/dist/src/domain/model/fee/dtos/index.js +0 -18
  58. package/dist/src/domain/model/fee/dtos/index.js.map +0 -1
  59. package/dist/src/domain/model/fee/entities/FeeOptions.d.ts +0 -8
  60. package/dist/src/domain/model/fee/entities/FeeOptions.js +0 -3
  61. package/dist/src/domain/model/fee/entities/FeeOptions.js.map +0 -1
  62. package/dist/src/domain/model/location/entities/FetchifyFindAddress.entity.d.ts +0 -5
  63. package/dist/src/domain/model/location/entities/FetchifyFindAddress.entity.js +0 -8
  64. package/dist/src/domain/model/location/entities/FetchifyFindAddress.entity.js.map +0 -1
  65. package/dist/src/domain/model/location/entities/FetchifyResult.entity.d.ts +0 -5
  66. package/dist/src/domain/model/location/entities/FetchifyResult.entity.js +0 -7
  67. package/dist/src/domain/model/location/entities/FetchifyResult.entity.js.map +0 -1
  68. package/dist/src/domain/model/location/entities/FetchifyRetrieveAddress.entity.d.ts +0 -13
  69. package/dist/src/domain/model/location/entities/FetchifyRetrieveAddress.entity.js +0 -8
  70. package/dist/src/domain/model/location/entities/FetchifyRetrieveAddress.entity.js.map +0 -1
  71. package/dist/src/domain/model/location/entities/index.d.ts +0 -2
  72. package/dist/src/domain/model/location/entities/index.js +0 -19
  73. package/dist/src/domain/model/location/entities/index.js.map +0 -1
  74. package/dist/src/domain/model/location/index.d.ts +0 -1
  75. package/dist/src/domain/model/location/index.js +0 -18
  76. package/dist/src/domain/model/location/index.js.map +0 -1
  77. package/dist/src/domain/model/onramp/entities/OnrampTransactionStatus.entity.d.ts +0 -5
  78. package/dist/src/domain/model/onramp/entities/OnrampTransactionStatus.entity.js +0 -7
  79. package/dist/src/domain/model/onramp/entities/OnrampTransactionStatus.entity.js.map +0 -1
  80. package/dist/src/domain/model/onramp/entities/OnramperCurrency.entity.d.ts +0 -12
  81. package/dist/src/domain/model/onramp/entities/OnramperCurrency.entity.js +0 -7
  82. package/dist/src/domain/model/onramp/entities/OnramperCurrency.entity.js.map +0 -1
  83. package/dist/src/domain/model/onramp/entities/OnramperPaymentMethod.entity.d.ts +0 -4
  84. package/dist/src/domain/model/onramp/entities/OnramperPaymentMethod.entity.js +0 -7
  85. package/dist/src/domain/model/onramp/entities/OnramperPaymentMethod.entity.js.map +0 -1
  86. package/dist/src/domain/model/onramp/entities/OnramperQuote.entity.d.ts +0 -10
  87. package/dist/src/domain/model/onramp/entities/OnramperQuote.entity.js +0 -7
  88. package/dist/src/domain/model/onramp/entities/OnramperQuote.entity.js.map +0 -1
  89. package/dist/src/domain/model/onramp/entities/OnramperTransaction.entity.d.ts +0 -42
  90. package/dist/src/domain/model/onramp/entities/OnramperTransaction.entity.js +0 -7
  91. package/dist/src/domain/model/onramp/entities/OnramperTransaction.entity.js.map +0 -1
  92. package/dist/src/domain/model/onramper/dtos/getCurrencies.dto.d.ts +0 -3
  93. package/dist/src/domain/model/onramper/dtos/getCurrencies.dto.js +0 -22
  94. package/dist/src/domain/model/onramper/dtos/getCurrencies.dto.js.map +0 -1
  95. package/dist/src/domain/model/onramper/dtos/initiateTransaction.dto.d.ts +0 -10
  96. package/dist/src/domain/model/onramper/dtos/initiateTransaction.dto.js +0 -53
  97. package/dist/src/domain/model/onramper/dtos/initiateTransaction.dto.js.map +0 -1
  98. package/dist/src/domain/model/onramper/entities/OnramperTransaction.entity.d.ts +0 -4
  99. package/dist/src/domain/model/onramper/entities/OnramperTransaction.entity.js +0 -7
  100. package/dist/src/domain/model/onramper/entities/OnramperTransaction.entity.js.map +0 -1
  101. package/dist/src/domain/model/onramper/entities/PaymentMethod.entity.d.ts +0 -5
  102. package/dist/src/domain/model/onramper/entities/PaymentMethod.entity.js +0 -7
  103. package/dist/src/domain/model/onramper/entities/PaymentMethod.entity.js.map +0 -1
  104. package/dist/src/domain/model/paylink-tx/entities/CreatePaylinkTx.d.ts +0 -8
  105. package/dist/src/domain/model/paylink-tx/entities/CreatePaylinkTx.js +0 -7
  106. package/dist/src/domain/model/paylink-tx/entities/CreatePaylinkTx.js.map +0 -1
  107. package/dist/src/domain/model/paylink-tx/entities/UpdatePaylinkTx.d.ts +0 -4
  108. package/dist/src/domain/model/paylink-tx/entities/UpdatePaylinkTx.js +0 -7
  109. package/dist/src/domain/model/paylink-tx/entities/UpdatePaylinkTx.js.map +0 -1
  110. package/dist/src/domain/model/paystream-tx/entities/CreatePaystreamTx.d.ts +0 -11
  111. package/dist/src/domain/model/paystream-tx/entities/CreatePaystreamTx.js +0 -7
  112. package/dist/src/domain/model/paystream-tx/entities/CreatePaystreamTx.js.map +0 -1
  113. package/dist/src/domain/model/paystream-tx/entities/UpdatePaystreamTx.d.ts +0 -7
  114. package/dist/src/domain/model/paystream-tx/entities/UpdatePaystreamTx.js +0 -7
  115. package/dist/src/domain/model/paystream-tx/entities/UpdatePaystreamTx.js.map +0 -1
  116. package/dist/src/domain/model/raffle-details/dtos/createRaffleDetails.dto.d.ts +0 -7
  117. package/dist/src/domain/model/raffle-details/dtos/createRaffleDetails.dto.js +0 -44
  118. package/dist/src/domain/model/raffle-details/dtos/createRaffleDetails.dto.js.map +0 -1
  119. package/dist/src/domain/model/raffle-details/dtos/updateRaffleDetails.dto.d.ts +0 -6
  120. package/dist/src/domain/model/raffle-details/dtos/updateRaffleDetails.dto.js +0 -37
  121. package/dist/src/domain/model/raffle-details/dtos/updateRaffleDetails.dto.js.map +0 -1
  122. package/dist/src/domain/model/redirect-query-params/dtos/RedirectQueryParam.dto.js.map +0 -1
  123. package/dist/src/domain/model/role/dtos/createRole.dto.d.ts +0 -6
  124. package/dist/src/domain/model/role/dtos/createRole.dto.js +0 -33
  125. package/dist/src/domain/model/role/dtos/createRole.dto.js.map +0 -1
  126. package/dist/src/domain/model/role/dtos/index.d.ts +0 -2
  127. package/dist/src/domain/model/role/dtos/index.js +0 -19
  128. package/dist/src/domain/model/role/dtos/index.js.map +0 -1
  129. package/dist/src/domain/model/role/dtos/updateRole.dto.d.ts +0 -4
  130. package/dist/src/domain/model/role/dtos/updateRole.dto.js +0 -23
  131. package/dist/src/domain/model/role/dtos/updateRole.dto.js.map +0 -1
  132. package/dist/src/domain/model/shopify-gdpr/dtos/Customer.dto.d.ts +0 -5
  133. package/dist/src/domain/model/shopify-gdpr/dtos/Customer.dto.js +0 -32
  134. package/dist/src/domain/model/shopify-gdpr/dtos/Customer.dto.js.map +0 -1
  135. package/dist/src/domain/model/shopify-gdpr/dtos/CustomerDataRequest.dto.d.ts +0 -9
  136. package/dist/src/domain/model/shopify-gdpr/dtos/CustomerDataRequest.dto.js +0 -45
  137. package/dist/src/domain/model/shopify-gdpr/dtos/CustomerDataRequest.dto.js.map +0 -1
  138. package/dist/src/domain/model/shopify-gdpr/dtos/CustomerRedactRequest.dto.d.ts +0 -7
  139. package/dist/src/domain/model/shopify-gdpr/dtos/CustomerRedactRequest.dto.js +0 -39
  140. package/dist/src/domain/model/shopify-gdpr/dtos/CustomerRedactRequest.dto.js.map +0 -1
  141. package/dist/src/domain/model/shopify-gdpr/dtos/DataRequest.dto.d.ts +0 -3
  142. package/dist/src/domain/model/shopify-gdpr/dtos/DataRequest.dto.js +0 -22
  143. package/dist/src/domain/model/shopify-gdpr/dtos/DataRequest.dto.js.map +0 -1
  144. package/dist/src/domain/model/shopify-gdpr/dtos/ShopRedactRequest.dto.d.ts +0 -4
  145. package/dist/src/domain/model/shopify-gdpr/dtos/ShopRedactRequest.dto.js +0 -27
  146. package/dist/src/domain/model/shopify-gdpr/dtos/ShopRedactRequest.dto.js.map +0 -1
  147. package/dist/src/domain/model/shopify-gdpr/dtos/index.d.ts +0 -5
  148. package/dist/src/domain/model/shopify-gdpr/dtos/index.js +0 -22
  149. package/dist/src/domain/model/shopify-gdpr/dtos/index.js.map +0 -1
  150. package/dist/src/domain/model/shopify-gdpr/index.d.ts +0 -1
  151. package/dist/src/domain/model/shopify-gdpr/index.js +0 -18
  152. package/dist/src/domain/model/shopify-gdpr/index.js.map +0 -1
  153. package/dist/src/domain/model/telegram-details/dtos/telegramLogin.dto.d.ts +0 -5
  154. package/dist/src/domain/model/telegram-details/dtos/telegramLogin.dto.js +0 -32
  155. package/dist/src/domain/model/telegram-details/dtos/telegramLogin.dto.js.map +0 -1
  156. package/dist/src/domain/model/webhook/paylink-transaction-hook/dtos/createPaylinkTransactionHook.dto.d.ts +0 -6
  157. package/dist/src/domain/model/webhook/paylink-transaction-hook/dtos/createPaylinkTransactionHook.dto.js +0 -31
  158. package/dist/src/domain/model/webhook/paylink-transaction-hook/dtos/createPaylinkTransactionHook.dto.js.map +0 -1
  159. package/dist/src/domain/model/webhook/paylink-transaction-hook/dtos/index.d.ts +0 -1
  160. package/dist/src/domain/model/webhook/paylink-transaction-hook/dtos/index.js +0 -18
  161. package/dist/src/domain/model/webhook/paylink-transaction-hook/dtos/index.js.map +0 -1
  162. package/dist/src/domain/model/webhook/paylink-transaction-hook/entities/PaylinkTransactionEvent.entity.d.ts +0 -3
  163. package/dist/src/domain/model/webhook/paylink-transaction-hook/entities/PaylinkTransactionEvent.entity.js +0 -8
  164. package/dist/src/domain/model/webhook/paylink-transaction-hook/entities/PaylinkTransactionEvent.entity.js.map +0 -1
  165. package/dist/src/domain/model/webhook/paylink-transaction-hook/entities/PaylinkTransactionHook.entity.d.ts +0 -11
  166. package/dist/src/domain/model/webhook/paylink-transaction-hook/entities/PaylinkTransactionHook.entity.js +0 -8
  167. package/dist/src/domain/model/webhook/paylink-transaction-hook/entities/PaylinkTransactionHook.entity.js.map +0 -1
  168. package/dist/src/domain/model/webhook/paylink-transaction-hook/entities/PaylinkTransactionPayload.entity.d.ts +0 -8
  169. package/dist/src/domain/model/webhook/paylink-transaction-hook/entities/PaylinkTransactionPayload.entity.js +0 -8
  170. package/dist/src/domain/model/webhook/paylink-transaction-hook/entities/PaylinkTransactionPayload.entity.js.map +0 -1
  171. package/dist/src/domain/model/webhook/paylink-transaction-hook/entities/index.d.ts +0 -3
  172. package/dist/src/domain/model/webhook/paylink-transaction-hook/entities/index.js +0 -20
  173. package/dist/src/domain/model/webhook/paylink-transaction-hook/entities/index.js.map +0 -1
  174. package/dist/src/domain/model/webhook/paylink-transaction-hook/index.d.ts +0 -2
  175. package/dist/src/domain/model/webhook/paylink-transaction-hook/index.js +0 -19
  176. package/dist/src/domain/model/webhook/paylink-transaction-hook/index.js.map +0 -1
  177. package/dist/src/domain/model/withdrawal/dtos/updateWithdrawalDto.d.ts +0 -3
  178. package/dist/src/domain/model/withdrawal/dtos/updateWithdrawalDto.js +0 -23
  179. package/dist/src/domain/model/withdrawal/dtos/updateWithdrawalDto.js.map +0 -1
  180. package/yarn-error.log +0 -18384
  181. package/dist/src/domain/model/redirect-query-params/dtos/{RedirectQueryParam.dto.d.ts → redirect-query-param.dto.d.ts} +1 -1
@@ -6,7 +6,7 @@ export declare enum IntervalType {
6
6
  WEEK = "WEEK",
7
7
  MONTH = "MONTH",
8
8
  QUARTER = "QUARTER",
9
- HALF_YEAR = "HALF_YEAR",
9
+ BIANNUALLY = "BIANNUALLY",
10
10
  YEAR = "YEAR"
11
11
  }
12
12
  export declare const intervalUnit: Record<IntervalType, number>;
@@ -10,7 +10,7 @@ var IntervalType;
10
10
  IntervalType["WEEK"] = "WEEK";
11
11
  IntervalType["MONTH"] = "MONTH";
12
12
  IntervalType["QUARTER"] = "QUARTER";
13
- IntervalType["HALF_YEAR"] = "HALF_YEAR";
13
+ IntervalType["BIANNUALLY"] = "BIANNUALLY";
14
14
  IntervalType["YEAR"] = "YEAR";
15
15
  })(IntervalType = exports.IntervalType || (exports.IntervalType = {}));
16
16
  exports.intervalUnit = {
@@ -21,7 +21,7 @@ exports.intervalUnit = {
21
21
  [IntervalType.WEEK]: 604800,
22
22
  [IntervalType.MONTH]: 2592000,
23
23
  [IntervalType.QUARTER]: 7776000,
24
- [IntervalType.HALF_YEAR]: 15552000,
24
+ [IntervalType.BIANNUALLY]: 15552000,
25
25
  [IntervalType.YEAR]: 31536000,
26
26
  };
27
27
  exports.intervalValue = {
@@ -32,7 +32,7 @@ exports.intervalValue = {
32
32
  604800: IntervalType.WEEK,
33
33
  2592000: IntervalType.MONTH,
34
34
  7776000: IntervalType.QUARTER,
35
- 15552000: IntervalType.HALF_YEAR,
35
+ 15552000: IntervalType.BIANNUALLY,
36
36
  31536000: IntervalType.YEAR,
37
37
  };
38
38
  //# sourceMappingURL=intervalUnit.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"intervalUnit.js","sourceRoot":"","sources":["../../../../src/domain/constants/intervalUnit.ts"],"names":[],"mappings":";;;AAAA,IAAY,YAUX;AAVD,WAAY,YAAY;IACtB,iCAAiB,CAAA;IACjB,iCAAiB,CAAA;IACjB,6BAAa,CAAA;IACb,2BAAW,CAAA;IACX,6BAAa,CAAA;IACb,+BAAe,CAAA;IACf,mCAAmB,CAAA;IACnB,uCAAuB,CAAA;IACvB,6BAAa,CAAA;AACf,CAAC,EAVW,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAUvB;AAEY,QAAA,YAAY,GAAiC;IACxD,CAAC,YAAY,CAAC,MAAM,CAAC,EAAE,CAAC;IACxB,CAAC,YAAY,CAAC,MAAM,CAAC,EAAE,EAAE;IACzB,CAAC,YAAY,CAAC,IAAI,CAAC,EAAE,IAAI;IACzB,CAAC,YAAY,CAAC,GAAG,CAAC,EAAE,KAAK;IACzB,CAAC,YAAY,CAAC,IAAI,CAAC,EAAE,MAAM;IAC3B,CAAC,YAAY,CAAC,KAAK,CAAC,EAAE,OAAO;IAC7B,CAAC,YAAY,CAAC,OAAO,CAAC,EAAE,OAAO;IAC/B,CAAC,YAAY,CAAC,SAAS,CAAC,EAAE,QAAQ;IAClC,CAAC,YAAY,CAAC,IAAI,CAAC,EAAE,QAAQ;CAC9B,CAAC;AAEW,QAAA,aAAa,GAAiC;IACzD,CAAC,EAAE,YAAY,CAAC,MAAM;IACtB,EAAE,EAAE,YAAY,CAAC,MAAM;IACvB,IAAI,EAAE,YAAY,CAAC,IAAI;IACvB,KAAK,EAAE,YAAY,CAAC,GAAG;IACvB,MAAM,EAAE,YAAY,CAAC,IAAI;IACzB,OAAO,EAAE,YAAY,CAAC,KAAK;IAC3B,OAAO,EAAE,YAAY,CAAC,OAAO;IAC7B,QAAQ,EAAE,YAAY,CAAC,SAAS;IAChC,QAAQ,EAAE,YAAY,CAAC,IAAI;CAC5B,CAAC"}
1
+ {"version":3,"file":"intervalUnit.js","sourceRoot":"","sources":["../../../../src/domain/constants/intervalUnit.ts"],"names":[],"mappings":";;;AAAA,IAAY,YAUX;AAVD,WAAY,YAAY;IACtB,iCAAiB,CAAA;IACjB,iCAAiB,CAAA;IACjB,6BAAa,CAAA;IACb,2BAAW,CAAA;IACX,6BAAa,CAAA;IACb,+BAAe,CAAA;IACf,mCAAmB,CAAA;IACnB,yCAAyB,CAAA;IACzB,6BAAa,CAAA;AACf,CAAC,EAVW,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAUvB;AAEY,QAAA,YAAY,GAAiC;IACxD,CAAC,YAAY,CAAC,MAAM,CAAC,EAAE,CAAC;IACxB,CAAC,YAAY,CAAC,MAAM,CAAC,EAAE,EAAE;IACzB,CAAC,YAAY,CAAC,IAAI,CAAC,EAAE,IAAI;IACzB,CAAC,YAAY,CAAC,GAAG,CAAC,EAAE,KAAK;IACzB,CAAC,YAAY,CAAC,IAAI,CAAC,EAAE,MAAM;IAC3B,CAAC,YAAY,CAAC,KAAK,CAAC,EAAE,OAAO;IAC7B,CAAC,YAAY,CAAC,OAAO,CAAC,EAAE,OAAO;IAC/B,CAAC,YAAY,CAAC,UAAU,CAAC,EAAE,QAAQ;IACnC,CAAC,YAAY,CAAC,IAAI,CAAC,EAAE,QAAQ;CAC9B,CAAC;AAEW,QAAA,aAAa,GAAiC;IACzD,CAAC,EAAE,YAAY,CAAC,MAAM;IACtB,EAAE,EAAE,YAAY,CAAC,MAAM;IACvB,IAAI,EAAE,YAAY,CAAC,IAAI;IACvB,KAAK,EAAE,YAAY,CAAC,GAAG;IACvB,MAAM,EAAE,YAAY,CAAC,IAAI;IACzB,OAAO,EAAE,YAAY,CAAC,KAAK;IAC3B,OAAO,EAAE,YAAY,CAAC,OAAO;IAC7B,QAAQ,EAAE,YAAY,CAAC,UAAU;IACjC,QAAQ,EAAE,YAAY,CAAC,IAAI;CAC5B,CAAC"}
@@ -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"}
@@ -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"}