@heliofi/common 0.2.259 → 0.2.261

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 (154) hide show
  1. package/dist/src/domain/model/audit/explorer/constants/ExplorerAuditAction.d.ts +1 -0
  2. package/dist/src/domain/model/audit/explorer/constants/ExplorerAuditAction.js +1 -0
  3. package/dist/src/domain/model/audit/explorer/constants/ExplorerAuditAction.js.map +1 -1
  4. package/dist/src/domain/model/audit/explorer/constants/ExplorerAuditActionType.js +1 -0
  5. package/dist/src/domain/model/audit/explorer/constants/ExplorerAuditActionType.js.map +1 -1
  6. package/dist/src/domain/model/company/dtos/index.d.ts +1 -0
  7. package/dist/src/domain/model/company/dtos/index.js +1 -0
  8. package/dist/src/domain/model/company/dtos/index.js.map +1 -1
  9. package/dist/src/domain/model/company/dtos/updateRestrictedDepositEngines.dto.d.ts +4 -0
  10. package/dist/src/domain/model/company/dtos/updateRestrictedDepositEngines.dto.js +24 -0
  11. package/dist/src/domain/model/company/dtos/updateRestrictedDepositEngines.dto.js.map +1 -0
  12. package/dist/src/domain/model/company/entities/BaseCompany.entity.d.ts +2 -0
  13. package/dist/src/domain/model/company/entities/BaseCompany.entity.js.map +1 -1
  14. package/dist/src/domain/model/currency/entities/CurrencyFeature.d.ts +2 -0
  15. package/dist/src/domain/model/currency/entities/CurrencyFeature.js +2 -0
  16. package/dist/src/domain/model/currency/entities/CurrencyFeature.js.map +1 -1
  17. package/dist/src/domain/model/decent-swap/entities/DecentBridgeProvider.d.ts +3 -1
  18. package/dist/src/domain/model/decent-swap/entities/DecentBridgeProvider.js +2 -0
  19. package/dist/src/domain/model/decent-swap/entities/DecentBridgeProvider.js.map +1 -1
  20. package/dist/src/domain/model/decent-swap/entities/DecentTransactionStatus.d.ts +1 -1
  21. package/dist/src/domain/model/helio-wallet-transaction/dtos/helioWalletRefund.dto.d.ts +6 -0
  22. package/dist/src/domain/model/{withdraw/dtos/submitWithdrawalSignedTx.dto.js → helio-wallet-transaction/dtos/helioWalletRefund.dto.js} +15 -11
  23. package/dist/src/domain/model/helio-wallet-transaction/dtos/helioWalletRefund.dto.js.map +1 -0
  24. package/dist/src/domain/model/helio-wallet-transaction/dtos/index.d.ts +1 -0
  25. package/dist/src/domain/model/helio-wallet-transaction/dtos/index.js +1 -0
  26. package/dist/src/domain/model/helio-wallet-transaction/dtos/index.js.map +1 -1
  27. package/dist/src/domain/model/index.d.ts +1 -0
  28. package/dist/src/domain/model/index.js +1 -0
  29. package/dist/src/domain/model/index.js.map +1 -1
  30. package/dist/src/domain/model/intercom-identity/entities/IntercomIdentityHash.entity.d.ts +3 -0
  31. package/dist/src/domain/model/intercom-identity/entities/IntercomIdentityHash.entity.js +7 -0
  32. package/dist/src/domain/model/intercom-identity/entities/IntercomIdentityHash.entity.js.map +1 -0
  33. package/dist/src/domain/model/intercom-identity/entities/index.d.ts +1 -0
  34. package/dist/src/domain/model/intercom-identity/entities/index.js +18 -0
  35. package/dist/src/domain/model/intercom-identity/entities/index.js.map +1 -0
  36. package/dist/src/domain/model/intercom-identity/index.d.ts +1 -0
  37. package/dist/src/domain/model/intercom-identity/index.js +18 -0
  38. package/dist/src/domain/model/intercom-identity/index.js.map +1 -0
  39. package/dist/src/domain/model/on-ramps/dtos/getMoonPayPlatformPaymentMethods.dto.d.ts +5 -0
  40. package/dist/src/domain/model/on-ramps/dtos/getMoonPayPlatformPaymentMethods.dto.js +35 -0
  41. package/dist/src/domain/model/on-ramps/dtos/getMoonPayPlatformPaymentMethods.dto.js.map +1 -0
  42. package/dist/src/domain/model/on-ramps/dtos/getMoonPayPlatformPaymentMethods.dto.spec.d.ts +1 -0
  43. package/dist/src/domain/model/on-ramps/dtos/getMoonPayPlatformPaymentMethods.dto.spec.js +57 -0
  44. package/dist/src/domain/model/on-ramps/dtos/getMoonPayPlatformPaymentMethods.dto.spec.js.map +1 -0
  45. package/dist/src/domain/model/on-ramps/dtos/index.d.ts +1 -0
  46. package/dist/src/domain/model/on-ramps/dtos/index.js +1 -0
  47. package/dist/src/domain/model/on-ramps/dtos/index.js.map +1 -1
  48. package/dist/src/domain/model/on-ramps/entities/MoonPayPlatformPaymentMethodConfig.entity.d.ts +16 -0
  49. package/dist/src/domain/model/on-ramps/entities/MoonPayPlatformPaymentMethodConfig.entity.js +7 -0
  50. package/dist/src/domain/model/on-ramps/entities/MoonPayPlatformPaymentMethodConfig.entity.js.map +1 -0
  51. package/dist/src/domain/model/on-ramps/entities/MoonPayPlatformPaymentMethods.entity.d.ts +6 -0
  52. package/dist/src/domain/model/on-ramps/entities/MoonPayPlatformPaymentMethods.entity.js +7 -0
  53. package/dist/src/domain/model/on-ramps/entities/MoonPayPlatformPaymentMethods.entity.js.map +1 -0
  54. package/dist/src/domain/model/on-ramps/entities/MoonPayStoredPaymentMethod.entity.d.ts +12 -0
  55. package/dist/src/domain/model/on-ramps/entities/MoonPayStoredPaymentMethod.entity.js +7 -0
  56. package/dist/src/domain/model/on-ramps/entities/MoonPayStoredPaymentMethod.entity.js.map +1 -0
  57. package/dist/src/domain/model/on-ramps/entities/index.d.ts +3 -0
  58. package/dist/src/domain/model/on-ramps/entities/index.js +3 -0
  59. package/dist/src/domain/model/on-ramps/entities/index.js.map +1 -1
  60. package/dist/src/domain/model/transaction-meta/constants/TransactionStatus.d.ts +1 -0
  61. package/dist/src/domain/model/transaction-meta/constants/TransactionStatus.js +3 -0
  62. package/dist/src/domain/model/transaction-meta/constants/TransactionStatus.js.map +1 -1
  63. package/dist/src/domain/model/webhook/withdrawal/withdrawal-hook/dtos/createWithdrawalHook.dto.d.ts +7 -0
  64. package/dist/src/domain/model/webhook/withdrawal/withdrawal-hook/dtos/createWithdrawalHook.dto.js +36 -0
  65. package/dist/src/domain/model/webhook/withdrawal/withdrawal-hook/dtos/createWithdrawalHook.dto.js.map +1 -0
  66. package/dist/src/domain/model/webhook/withdrawal/withdrawal-hook/dtos/createWithdrawalHookByApiKey.dto.d.ts +6 -0
  67. package/dist/src/domain/model/webhook/withdrawal/withdrawal-hook/dtos/createWithdrawalHookByApiKey.dto.js +31 -0
  68. package/dist/src/domain/model/webhook/withdrawal/withdrawal-hook/dtos/createWithdrawalHookByApiKey.dto.js.map +1 -0
  69. package/dist/src/domain/model/webhook/withdrawal/withdrawal-hook/dtos/index.d.ts +4 -0
  70. package/dist/src/domain/model/webhook/withdrawal/withdrawal-hook/dtos/index.js +21 -0
  71. package/dist/src/domain/model/webhook/withdrawal/withdrawal-hook/dtos/index.js.map +1 -0
  72. package/dist/src/domain/model/webhook/withdrawal/withdrawal-hook/dtos/sendWithdrawalHookTestEvent.dto.d.ts +4 -0
  73. package/dist/src/domain/model/webhook/withdrawal/withdrawal-hook/dtos/sendWithdrawalHookTestEvent.dto.js +23 -0
  74. package/dist/src/domain/model/webhook/withdrawal/withdrawal-hook/dtos/sendWithdrawalHookTestEvent.dto.js.map +1 -0
  75. package/dist/src/domain/model/webhook/withdrawal/withdrawal-hook/dtos/updateWithdrawalHook.dto.d.ts +7 -0
  76. package/dist/src/domain/model/webhook/withdrawal/withdrawal-hook/dtos/updateWithdrawalHook.dto.js +41 -0
  77. package/dist/src/domain/model/webhook/withdrawal/withdrawal-hook/dtos/updateWithdrawalHook.dto.js.map +1 -0
  78. package/dist/src/domain/model/webhook/withdrawal/withdrawal-hook/entities/WithdrawalHook.entity.d.ts +12 -0
  79. package/dist/src/domain/model/webhook/withdrawal/withdrawal-hook/entities/WithdrawalHook.entity.js +8 -0
  80. package/dist/src/domain/model/webhook/withdrawal/withdrawal-hook/entities/WithdrawalHook.entity.js.map +1 -0
  81. package/dist/src/domain/model/webhook/withdrawal/withdrawal-hook/entities/index.d.ts +1 -1
  82. package/dist/src/domain/model/webhook/withdrawal/withdrawal-hook/entities/index.js +15 -0
  83. package/dist/src/domain/model/webhook/withdrawal/withdrawal-hook/entities/index.js.map +1 -1
  84. package/dist/src/domain/model/webhook/withdrawal/withdrawal-hook/index.d.ts +2 -0
  85. package/dist/src/domain/model/webhook/withdrawal/withdrawal-hook/index.js +2 -0
  86. package/dist/src/domain/model/webhook/withdrawal/withdrawal-hook/index.js.map +1 -1
  87. package/dist/src/domain/model/webhook/withdrawal/withdrawal-hook/query/getAllQuery.dto.d.ts +4 -0
  88. package/dist/src/domain/model/webhook/withdrawal/withdrawal-hook/query/getAllQuery.dto.js +23 -0
  89. package/dist/src/domain/model/webhook/withdrawal/withdrawal-hook/query/getAllQuery.dto.js.map +1 -0
  90. package/dist/src/domain/model/webhook/withdrawal/withdrawal-hook/query/index.d.ts +1 -0
  91. package/dist/src/domain/model/webhook/withdrawal/withdrawal-hook/query/index.js +18 -0
  92. package/dist/src/domain/model/webhook/withdrawal/withdrawal-hook/query/index.js.map +1 -0
  93. package/dist/src/domain/model/webhook/withdrawal/withdrawal-hook-event/dtos/createWithdrawalHookEvent.dto.d.ts +9 -0
  94. package/dist/src/domain/model/webhook/withdrawal/withdrawal-hook-event/dtos/createWithdrawalHookEvent.dto.js +48 -0
  95. package/dist/src/domain/model/webhook/withdrawal/withdrawal-hook-event/dtos/createWithdrawalHookEvent.dto.js.map +1 -0
  96. package/dist/src/domain/model/webhook/withdrawal/withdrawal-hook-event/dtos/index.d.ts +2 -0
  97. package/dist/src/domain/model/webhook/withdrawal/withdrawal-hook-event/dtos/index.js +19 -0
  98. package/dist/src/domain/model/webhook/withdrawal/withdrawal-hook-event/dtos/index.js.map +1 -0
  99. package/dist/src/domain/model/webhook/withdrawal/withdrawal-hook-event/dtos/updateWithdrawalHookEvent.dto.d.ts +6 -0
  100. package/dist/src/domain/model/webhook/withdrawal/withdrawal-hook-event/dtos/updateWithdrawalHookEvent.dto.js +33 -0
  101. package/dist/src/domain/model/webhook/withdrawal/withdrawal-hook-event/dtos/updateWithdrawalHookEvent.dto.js.map +1 -0
  102. package/dist/src/domain/model/webhook/withdrawal/withdrawal-hook-event/entities/BaseWithdrawalHookEvents.entity.d.ts +12 -0
  103. package/dist/src/domain/model/webhook/withdrawal/withdrawal-hook-event/entities/BaseWithdrawalHookEvents.entity.js +8 -0
  104. package/dist/src/domain/model/webhook/withdrawal/withdrawal-hook-event/entities/BaseWithdrawalHookEvents.entity.js.map +1 -0
  105. package/dist/src/domain/model/webhook/withdrawal/withdrawal-hook-event/entities/WithdrawalHookEvents.entity.d.ts +5 -0
  106. package/dist/src/domain/model/webhook/withdrawal/withdrawal-hook-event/entities/WithdrawalHookEvents.entity.js +8 -0
  107. package/dist/src/domain/model/webhook/withdrawal/withdrawal-hook-event/entities/WithdrawalHookEvents.entity.js.map +1 -0
  108. package/dist/src/domain/model/webhook/withdrawal/withdrawal-hook-event/entities/WithdrawalHookEventsEnriched.entity.d.ts +13 -0
  109. package/dist/src/domain/model/webhook/withdrawal/withdrawal-hook-event/entities/WithdrawalHookEventsEnriched.entity.js +8 -0
  110. package/dist/src/domain/model/webhook/withdrawal/withdrawal-hook-event/entities/WithdrawalHookEventsEnriched.entity.js.map +1 -0
  111. package/dist/src/domain/model/webhook/withdrawal/withdrawal-hook-event/entities/index.d.ts +3 -0
  112. package/dist/src/domain/model/webhook/withdrawal/withdrawal-hook-event/entities/index.js +3 -0
  113. package/dist/src/domain/model/webhook/withdrawal/withdrawal-hook-event/entities/index.js.map +1 -1
  114. package/dist/src/domain/model/webhook/withdrawal/withdrawal-hook-event/index.d.ts +2 -0
  115. package/dist/src/domain/model/webhook/withdrawal/withdrawal-hook-event/index.js +2 -0
  116. package/dist/src/domain/model/webhook/withdrawal/withdrawal-hook-event/index.js.map +1 -1
  117. package/dist/src/domain/model/webhook/withdrawal/withdrawal-hook-event/query/getAllQuery.dto.d.ts +6 -0
  118. package/dist/src/domain/model/webhook/withdrawal/withdrawal-hook-event/query/getAllQuery.dto.js +34 -0
  119. package/dist/src/domain/model/webhook/withdrawal/withdrawal-hook-event/query/getAllQuery.dto.js.map +1 -0
  120. package/dist/src/domain/model/webhook/withdrawal/withdrawal-hook-event/query/index.d.ts +1 -0
  121. package/dist/src/domain/model/webhook/withdrawal/withdrawal-hook-event/query/index.js +18 -0
  122. package/dist/src/domain/model/webhook/withdrawal/withdrawal-hook-event/query/index.js.map +1 -0
  123. package/dist/src/domain/model/withdraw/constants/WithdrawalKind.d.ts +2 -1
  124. package/dist/src/domain/model/withdraw/constants/WithdrawalKind.js +1 -0
  125. package/dist/src/domain/model/withdraw/constants/WithdrawalKind.js.map +1 -1
  126. package/dist/src/domain/model/withdraw/dtos/createWithdrawalConfig.dto.spec.d.ts +1 -0
  127. package/dist/src/domain/model/withdraw/dtos/createWithdrawalConfig.dto.spec.js +38 -0
  128. package/dist/src/domain/model/withdraw/dtos/createWithdrawalConfig.dto.spec.js.map +1 -0
  129. package/dist/src/domain/model/withdraw/dtos/index.d.ts +0 -1
  130. package/dist/src/domain/model/withdraw/dtos/index.js +0 -1
  131. package/dist/src/domain/model/withdraw/dtos/index.js.map +1 -1
  132. package/dist/src/domain/model/withdraw/dtos/preparedWithdrawal.dto.d.ts +1 -0
  133. package/dist/src/domain/model/withdraw/dtos/preparedWithdrawal.dto.js +5 -0
  134. package/dist/src/domain/model/withdraw/dtos/preparedWithdrawal.dto.js.map +1 -1
  135. package/dist/src/domain/model/withdraw/dtos/submitWithdrawal.dto.d.ts +1 -2
  136. package/dist/src/domain/model/withdraw/dtos/submitWithdrawal.dto.js +3 -5
  137. package/dist/src/domain/model/withdraw/dtos/submitWithdrawal.dto.js.map +1 -1
  138. package/dist/src/domain/model/withdraw/dtos/submitWithdrawal.dto.spec.d.ts +1 -0
  139. package/dist/src/domain/model/withdraw/dtos/submitWithdrawal.dto.spec.js +31 -0
  140. package/dist/src/domain/model/withdraw/dtos/submitWithdrawal.dto.spec.js.map +1 -0
  141. package/dist/src/domain/model/withdraw/entities/WithdrawalCustomerSwapRoutesResponse.entity.d.ts +2 -0
  142. package/dist/src/domain/model/withdraw/entities/WithdrawalCustomerSwapRoutesResponse.entity.js.map +1 -1
  143. package/dist/src/domain/model/withdraw/entities/WithdrawalDetail.entity.d.ts +10 -0
  144. package/dist/src/domain/model/withdraw/entities/WithdrawalDetail.entity.js +8 -0
  145. package/dist/src/domain/model/withdraw/entities/WithdrawalDetail.entity.js.map +1 -0
  146. package/dist/src/domain/model/withdraw/entities/index.d.ts +1 -0
  147. package/dist/src/domain/model/withdraw/entities/index.js +1 -0
  148. package/dist/src/domain/model/withdraw/entities/index.js.map +1 -1
  149. package/dist/src/domain/model/withdraw/preparedTransaction.spec.js +7 -6
  150. package/dist/src/domain/model/withdraw/preparedTransaction.spec.js.map +1 -1
  151. package/dist/tsconfig.tsbuildinfo +1 -1
  152. package/package.json +2 -2
  153. package/dist/src/domain/model/withdraw/dtos/submitWithdrawalSignedTx.dto.d.ts +0 -5
  154. package/dist/src/domain/model/withdraw/dtos/submitWithdrawalSignedTx.dto.js.map +0 -1
@@ -24,6 +24,7 @@ export declare enum ExplorerAuditAction {
24
24
  COMPANY_PAYMENT_METHOD_FEE_UPSERT = "COMPANY_PAYMENT_METHOD_FEE_UPSERT",
25
25
  COMPANY_PAYMENT_METHOD_FEE_DELETE = "COMPANY_PAYMENT_METHOD_FEE_DELETE",
26
26
  COMPANY_DISABLED_SWAP_CURRENCIES_UPDATE = "COMPANY_DISABLED_SWAP_CURRENCIES_UPDATE",
27
+ COMPANY_RESTRICTED_DEPOSIT_ENGINES_UPDATE = "COMPANY_RESTRICTED_DEPOSIT_ENGINES_UPDATE",
27
28
  COMPANY_KYB_VERIFY = "COMPANY_KYB_VERIFY",
28
29
  COMPANY_KYC_VERIFY = "COMPANY_KYC_VERIFY",
29
30
  CURRENCY_CREATE = "CURRENCY_CREATE",
@@ -28,6 +28,7 @@ var ExplorerAuditAction;
28
28
  ExplorerAuditAction["COMPANY_PAYMENT_METHOD_FEE_UPSERT"] = "COMPANY_PAYMENT_METHOD_FEE_UPSERT";
29
29
  ExplorerAuditAction["COMPANY_PAYMENT_METHOD_FEE_DELETE"] = "COMPANY_PAYMENT_METHOD_FEE_DELETE";
30
30
  ExplorerAuditAction["COMPANY_DISABLED_SWAP_CURRENCIES_UPDATE"] = "COMPANY_DISABLED_SWAP_CURRENCIES_UPDATE";
31
+ ExplorerAuditAction["COMPANY_RESTRICTED_DEPOSIT_ENGINES_UPDATE"] = "COMPANY_RESTRICTED_DEPOSIT_ENGINES_UPDATE";
31
32
  ExplorerAuditAction["COMPANY_KYB_VERIFY"] = "COMPANY_KYB_VERIFY";
32
33
  ExplorerAuditAction["COMPANY_KYC_VERIFY"] = "COMPANY_KYC_VERIFY";
33
34
  ExplorerAuditAction["CURRENCY_CREATE"] = "CURRENCY_CREATE";
@@ -1 +1 @@
1
- {"version":3,"file":"ExplorerAuditAction.js","sourceRoot":"","sources":["../../../../../../../src/domain/model/audit/explorer/constants/ExplorerAuditAction.ts"],"names":[],"mappings":";;;AAAA,IAAY,mBAiGX;AAjGD,WAAY,mBAAmB;IAE7B,oDAA6B,CAAA;IAC7B,wEAAiD,CAAA;IACjD,wEAAiD,CAAA;IACjD,wFAAiE,CAAA;IACjE,0FAAmE,CAAA;IACnE,kFAA2D,CAAA;IAC3D,oFAA6D,CAAA;IAC7D,0EAAmD,CAAA;IACnD,gFAAyD,CAAA;IACzD,sGAA+E,CAAA;IAC/E,wGAAiF,CAAA;IACjF,wGAAiF,CAAA;IACjF,wGAAiF,CAAA;IACjF,oGAA6E,CAAA;IAC7E,oGAA6E,CAAA;IAC7E,oGAA6E,CAAA;IAC7E,8GAAuF,CAAA;IACvF,8GAAuF,CAAA;IACvF,8GAAuF,CAAA;IACvF,wHAAiG,CAAA;IACjG,wHAAiG,CAAA;IACjG,wHAAiG,CAAA;IACjG,8FAAuE,CAAA;IACvE,8FAAuE,CAAA;IACvE,0GAAmF,CAAA;IACnF,gEAAyC,CAAA;IACzC,gEAAyC,CAAA;IAGzC,0DAAmC,CAAA;IACnC,0DAAmC,CAAA;IAGnC,kEAA2C,CAAA;IAC3C,kFAA2D,CAAA;IAC3D,kFAA2D,CAAA;IAC3D,kFAA2D,CAAA;IAC3D,wEAAiD,CAAA;IACjD,oFAA6D,CAAA;IAC7D,sFAA+D,CAAA;IAC/D,4FAAqE,CAAA;IACrE,kEAA2C,CAAA;IAC3C,sEAA+C,CAAA;IAC/C,wFAAiE,CAAA;IACjE,0EAAmD,CAAA;IACnD,kFAA2D,CAAA;IAC3D,4FAAqE,CAAA;IACrE,wDAAiC,CAAA;IACjC,sEAA+C,CAAA;IAC/C,sEAA+C,CAAA;IAG/C,gEAAyC,CAAA;IACzC,oEAA6C,CAAA;IAC7C,wEAAiD,CAAA;IACjD,gFAAyD,CAAA;IACzD,0DAAmC,CAAA;IACnC,8DAAuC,CAAA;IAGvC,4DAAqC,CAAA;IACrC,4CAAqB,CAAA;IACrB,gDAAyB,CAAA;IAGzB,wEAAiD,CAAA;IACjD,4EAAqD,CAAA;IACrD,4EAAqD,CAAA;IAGrD,sEAA+C,CAAA;IAG/C,kFAA2D,CAAA;IAC3D,wEAAiD,CAAA;IACjD,oFAA6D,CAAA;IAC7D,sFAA+D,CAAA;IAC/D,4FAAqE,CAAA;IAGrE,kFAA2D,CAAA;IAC3D,0FAAmE,CAAA;IACnE,oEAA6C,CAAA;IAC7C,0EAAmD,CAAA;IACnD,8EAAuD,CAAA;IACvD,gGAAyE,CAAA;IACzE,gEAAyC,CAAA;IACzC,4GAAqF,CAAA;IACrF,4GAAqF,CAAA;IACrF,kFAA2D,CAAA;IAG3D,oFAA6D,CAAA;IAC7D,0EAAmD,CAAA;IACnD,4EAAqD,CAAA;AACvD,CAAC,EAjGW,mBAAmB,mCAAnB,mBAAmB,QAiG9B"}
1
+ {"version":3,"file":"ExplorerAuditAction.js","sourceRoot":"","sources":["../../../../../../../src/domain/model/audit/explorer/constants/ExplorerAuditAction.ts"],"names":[],"mappings":";;;AAAA,IAAY,mBAkGX;AAlGD,WAAY,mBAAmB;IAE7B,oDAA6B,CAAA;IAC7B,wEAAiD,CAAA;IACjD,wEAAiD,CAAA;IACjD,wFAAiE,CAAA;IACjE,0FAAmE,CAAA;IACnE,kFAA2D,CAAA;IAC3D,oFAA6D,CAAA;IA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AAA;IAC3D,0FAAmE,CAAA;IACnE,oEAA6C,CAAA;IAC7C,0EAAmD,CAAA;IACnD,8EAAuD,CAAA;IACvD,gGAAyE,CAAA;IACzE,gEAAyC,CAAA;IACzC,4GAAqF,CAAA;IACrF,4GAAqF,CAAA;IACrF,kFAA2D,CAAA;IAG3D,oFAA6D,CAAA;IAC7D,0EAAmD,CAAA;IACnD,4EAAqD,CAAA;AACvD,CAAC,EAlGW,mBAAmB,mCAAnB,mBAAmB,QAkG9B"}
@@ -31,6 +31,7 @@ const WRITE_ACTIONS = new Set([
31
31
  ExplorerAuditAction_1.ExplorerAuditAction.COMPANY_PAYMENT_METHOD_FEE_UPSERT,
32
32
  ExplorerAuditAction_1.ExplorerAuditAction.COMPANY_PAYMENT_METHOD_FEE_DELETE,
33
33
  ExplorerAuditAction_1.ExplorerAuditAction.COMPANY_DISABLED_SWAP_CURRENCIES_UPDATE,
34
+ ExplorerAuditAction_1.ExplorerAuditAction.COMPANY_RESTRICTED_DEPOSIT_ENGINES_UPDATE,
34
35
  ExplorerAuditAction_1.ExplorerAuditAction.COMPANY_KYB_VERIFY,
35
36
  ExplorerAuditAction_1.ExplorerAuditAction.COMPANY_KYC_VERIFY,
36
37
  ExplorerAuditAction_1.ExplorerAuditAction.CURRENCY_CREATE,
@@ -1 +1 @@
1
- {"version":3,"file":"ExplorerAuditActionType.js","sourceRoot":"","sources":["../../../../../../../src/domain/model/audit/explorer/constants/ExplorerAuditActionType.ts"],"names":[],"mappings":";;;AAAA,+DAA4D;AAE5D,IAAY,uBAGX;AAHD,WAAY,uBAAuB;IACjC,wCAAa,CAAA;IACb,0CAAe,CAAA;AACjB,CAAC,EAHW,uBAAuB,uCAAvB,uBAAuB,QAGlC;AAED,MAAM,aAAa,GAAG,IAAI,GAAG,CAAsB;IACjD,yCAAmB,CAAC,sBAAsB;IAC1C,yCAAmB,CAAC,8BAA8B;IAClD,yCAAmB,CAAC,+BAA+B;IACnD,yCAAmB,CAAC,2BAA2B;IAC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CAAC,6BAA6B;IACjD,yCAAmB,CAAC,gCAAgC;IACpD,yCAAmB,CAAC,uBAAuB;CAC5C,CAAC,CAAC;AAEI,MAAM,aAAa,GAAG,CAC3B,MAA2B,EACF,EAAE,CAC3B,aAAa,CAAC,GAAG,CAAC,MAAM,CAAC;IACvB,CAAC,CAAC,uBAAuB,CAAC,KAAK;IAC/B,CAAC,CAAC,uBAAuB,CAAC,IAAI,CAAC;AALtB,QAAA,aAAa,iBAKS"}
1
+ {"version":3,"file":"ExplorerAuditActionType.js","sourceRoot":"","sources":["../../../../../../../src/domain/model/audit/explorer/constants/ExplorerAuditActionType.ts"],"names":[],"mappings":";;;AAAA,+DAA4D;AAE5D,IAAY,uBAGX;AAHD,WAAY,uBAAuB;IACjC,wCAAa,CAAA;IACb,0CAAe,CAAA;AACjB,CAAC,EAHW,uBAAuB,uCAAvB,uBAAuB,QAGlC;AAED,MAAM,aAAa,GAAG,IAAI,GAAG,CAAsB;IACjD,yCAAmB,CAAC,sBAAsB;IAC1C,yCAAmB,CAAC,8BAA8B;IAClD,yCAAmB,CAAC,+BAA+B;IACnD,yCAAmB,CAAC,2BAA2B;IAC/C,yCAAmB,CAAC,4BAA4B;IAChD,yCAAmB,CAAC,uBAAuB;IAC3C,yCAAmB,CAAC,0BAA0B;IAC9C,yCAAmB,CAAC,qCAAqC;IACzD,yCAAmB,CAAC,sCAAsC;IAC1D,yCAAmB,CAAC,sCAAsC;IAC1D,yCAAmB,CAAC,sCAAsC;IAC1D,yCAAmB,CAAC,oCAAoC;IACxD,yCAAmB,CAAC,oCAAoC;IACxD,yCAAmB,CAAC,oCAAoC;IACxD,yCAAmB,CAAC,yCAAyC;IAC7D,yCAAmB,CAAC,yCAAyC;IAC7D,yCAAmB,CAAC,yCAAyC;IAC7D,yCAAmB,CAAC,8CAA8C;IAClE,yCAAmB,CAAC,8CAA8C;IAClE,yCAAmB,CAAC,8CAA8C;IAClE,yCAAmB,CAAC,iCAAiC;IACrD,yCAAmB,CAAC,iCAAiC;IACrD,yCAAmB,CAAC,uCAAuC;IAC3D,yCAAmB,CAAC,yCAAyC;IAC7D,yCAAmB,CAAC,kBAAkB;IACtC,yCAAmB,CAAC,kBAAkB;IACtC,yCAAmB,CAAC,eAAe;IACnC,yCAAmB,CAAC,eAAe;IACnC,yCAAmB,CAAC,2BAA2B;IAC/C,yCAAmB,CAAC,sBAAsB;IAC1C,yCAAmB,CAAC,4BAA4B;IAChD,yCAAmB,CAAC,6BAA6B;IACjD,yCAAmB,CAAC,gCAAgC;IACpD,yCAAmB,CAAC,mBAAmB;IACvC,yCAAmB,CAAC,qBAAqB;IACzC,yCAAmB,CAAC,8BAA8B;IAClD,yCAAmB,CAAC,uBAAuB;IAC3C,yCAAmB,CAAC,cAAc;IAClC,yCAAmB,CAAC,qBAAqB;IACzC,yCAAmB,CAAC,qBAAqB;IACzC,yCAAmB,CAAC,eAAe;IACnC,yCAAmB,CAAC,iBAAiB;IACrC,yCAAmB,CAAC,UAAU;IAC9B,yCAAmB,CAAC,wBAAwB;IAC5C,yCAAmB,CAAC,wBAAwB;IAC5C,yCAAmB,CAAC,sBAAsB;IAC1C,yCAAmB,CAAC,4BAA4B;IAChD,yCAAmB,CAAC,6BAA6B;IACjD,yCAAmB,CAAC,gCAAgC;IACpD,yCAAmB,CAAC,uBAAuB;CAC5C,CAAC,CAAC;AAEI,MAAM,aAAa,GAAG,CAC3B,MAA2B,EACF,EAAE,CAC3B,aAAa,CAAC,GAAG,CAAC,MAAM,CAAC;IACvB,CAAC,CAAC,uBAAuB,CAAC,KAAK;IAC/B,CAAC,CAAC,uBAAuB,CAAC,IAAI,CAAC;AALtB,QAAA,aAAa,iBAKS"}
@@ -14,3 +14,4 @@ export * from './updateMinimalDepositAmount.dto';
14
14
  export * from './updateMoonpayApiKey.dto';
15
15
  export * from './updateOneToOneSwapRoutes.dto';
16
16
  export * from './updateOnramperApiKey.dto';
17
+ export * from './updateRestrictedDepositEngines.dto';
@@ -30,4 +30,5 @@ __exportStar(require("./updateMinimalDepositAmount.dto"), exports);
30
30
  __exportStar(require("./updateMoonpayApiKey.dto"), exports);
31
31
  __exportStar(require("./updateOneToOneSwapRoutes.dto"), exports);
32
32
  __exportStar(require("./updateOnramperApiKey.dto"), exports);
33
+ __exportStar(require("./updateRestrictedDepositEngines.dto"), exports);
33
34
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/company/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC;AACpC,mEAAiD;AACjD,iEAA+C;AAC/C,mEAAiD;AACjD,iEAA+C;AAC/C,sDAAoC;AACpC,mEAAiD;AACjD,wEAAsD;AACtD,kEAAgD;AAChD,iEAA+C;AAC/C,qEAAmD;AACnD,yDAAuC;AACvC,mEAAiD;AACjD,4DAA0C;AAC1C,iEAA+C;AAC/C,6DAA2C"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/company/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC;AACpC,mEAAiD;AACjD,iEAA+C;AAC/C,mEAAiD;AACjD,iEAA+C;AAC/C,sDAAoC;AACpC,mEAAiD;AACjD,wEAAsD;AACtD,kEAAgD;AAChD,iEAA+C;AAC/C,qEAAmD;AACnD,yDAAuC;AACvC,mEAAiD;AACjD,4DAA0C;AAC1C,iEAA+C;AAC/C,6DAA2C;AAC3C,uEAAqD"}
@@ -0,0 +1,4 @@
1
+ import { BlockchainEngineType } from '../../blockchainEngine/constants';
2
+ export declare class UpdateRestrictedDepositEnginesDto {
3
+ enabledRestrictedDepositEngines: BlockchainEngineType[];
4
+ }
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.UpdateRestrictedDepositEnginesDto = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ const constants_1 = require("../../blockchainEngine/constants");
15
+ class UpdateRestrictedDepositEnginesDto {
16
+ }
17
+ exports.UpdateRestrictedDepositEnginesDto = UpdateRestrictedDepositEnginesDto;
18
+ __decorate([
19
+ (0, class_validator_1.IsArray)(),
20
+ (0, class_validator_1.ArrayUnique)(),
21
+ (0, class_validator_1.IsEnum)(constants_1.BlockchainEngineType, { each: true }),
22
+ __metadata("design:type", Array)
23
+ ], UpdateRestrictedDepositEnginesDto.prototype, "enabledRestrictedDepositEngines", void 0);
24
+ //# sourceMappingURL=updateRestrictedDepositEngines.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"updateRestrictedDepositEngines.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/company/dtos/updateRestrictedDepositEngines.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA+D;AAC/D,gEAAwE;AAExE,MAAa,iCAAiC;CAK7C;AALD,8EAKC;AADC;IAHC,IAAA,yBAAO,GAAE;IACT,IAAA,6BAAW,GAAE;IACb,IAAA,wBAAM,EAAC,gCAAoB,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;0FACW"}
@@ -1,5 +1,6 @@
1
1
  import { Entity } from '../../entity';
2
2
  import { CustomTheme } from '../../theme';
3
+ import { BlockchainEngineType } from '../../blockchainEngine';
3
4
  export interface CustomDepositPathFee {
4
5
  depositCurrency: string;
5
6
  recipientCurrency: string;
@@ -30,6 +31,7 @@ export declare class BaseCompany extends Entity {
30
31
  showWeb3Auth?: boolean;
31
32
  customTheme?: CustomTheme;
32
33
  allowDeposit?: boolean;
34
+ enabledRestrictedDepositEngines?: BlockchainEngineType[];
33
35
  verifiedEntity?: {
34
36
  entityName?: string;
35
37
  country?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"BaseCompany.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/company/entities/BaseCompany.entity.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAStC,MAAa,WAAY,SAAQ,eAAM;CAqDtC;AArDD,kCAqDC"}
1
+ {"version":3,"file":"BaseCompany.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/company/entities/BaseCompany.entity.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAUtC,MAAa,WAAY,SAAQ,eAAM;CAuDtC;AAvDD,kCAuDC"}
@@ -5,6 +5,8 @@ export declare enum CurrencyFeature {
5
5
  DEPOSIT_MERCHANT_RECIPIENT = "DEPOSIT_MERCHANT_RECIPIENT",
6
6
  DEPOSIT_CUSTOMER_CHECKOUT = "DEPOSIT_CUSTOMER_CHECKOUT",
7
7
  DEPOSIT_PAYLINK_CUSTOMER_CHECKOUT = "DEPOSIT_PAYLINK_CUSTOMER_CHECKOUT",
8
+ WITHDRAWAL_SOURCE = "WITHDRAWAL_SOURCE",
9
+ WITHDRAWAL_DESTINATION = "WITHDRAWAL_DESTINATION",
8
10
  USD_RATE = "USD_RATE",
9
11
  STABLECOIN = "STABLECOIN",
10
12
  USD_STABLE = "USD_STABLE",
@@ -9,6 +9,8 @@ var CurrencyFeature;
9
9
  CurrencyFeature["DEPOSIT_MERCHANT_RECIPIENT"] = "DEPOSIT_MERCHANT_RECIPIENT";
10
10
  CurrencyFeature["DEPOSIT_CUSTOMER_CHECKOUT"] = "DEPOSIT_CUSTOMER_CHECKOUT";
11
11
  CurrencyFeature["DEPOSIT_PAYLINK_CUSTOMER_CHECKOUT"] = "DEPOSIT_PAYLINK_CUSTOMER_CHECKOUT";
12
+ CurrencyFeature["WITHDRAWAL_SOURCE"] = "WITHDRAWAL_SOURCE";
13
+ CurrencyFeature["WITHDRAWAL_DESTINATION"] = "WITHDRAWAL_DESTINATION";
12
14
  CurrencyFeature["USD_RATE"] = "USD_RATE";
13
15
  CurrencyFeature["STABLECOIN"] = "STABLECOIN";
14
16
  CurrencyFeature["USD_STABLE"] = "USD_STABLE";
@@ -1 +1 @@
1
- {"version":3,"file":"CurrencyFeature.js","sourceRoot":"","sources":["../../../../../../src/domain/model/currency/entities/CurrencyFeature.ts"],"names":[],"mappings":";;;AAAA,IAAY,eAWX;AAXD,WAAY,eAAe;IACzB,sDAAmC,CAAA;IACnC,0DAAuC,CAAA;IACvC,gCAAa,CAAA;IACb,4EAAyD,CAAA;IACzD,0EAAuD,CAAA;IACvD,0FAAuE,CAAA;IACvE,wCAAqB,CAAA;IACrB,4CAAyB,CAAA;IACzB,4CAAyB,CAAA;IACzB,gDAA6B,CAAA;AAC/B,CAAC,EAXW,eAAe,+BAAf,eAAe,QAW1B"}
1
+ {"version":3,"file":"CurrencyFeature.js","sourceRoot":"","sources":["../../../../../../src/domain/model/currency/entities/CurrencyFeature.ts"],"names":[],"mappings":";;;AAAA,IAAY,eAaX;AAbD,WAAY,eAAe;IACzB,sDAAmC,CAAA;IACnC,0DAAuC,CAAA;IACvC,gCAAa,CAAA;IACb,4EAAyD,CAAA;IACzD,0EAAuD,CAAA;IACvD,0FAAuE,CAAA;IACvE,0DAAuC,CAAA;IACvC,oEAAiD,CAAA;IACjD,wCAAqB,CAAA;IACrB,4CAAyB,CAAA;IACzB,4CAAyB,CAAA;IACzB,gDAA6B,CAAA;AAC/B,CAAC,EAbW,eAAe,+BAAf,eAAe,QAa1B"}
@@ -9,5 +9,7 @@ export declare enum DecentBridgeProvider {
9
9
  ARBITRUM = "arbitrum",
10
10
  ACROSS = "across",
11
11
  HYPERLANE = "hyperlane",
12
- GHOST = "ghost"
12
+ GHOST = "ghost",
13
+ GHOST_V2 = "ghost-v2",
14
+ M0 = "m0"
13
15
  }
@@ -14,5 +14,7 @@ var DecentBridgeProvider;
14
14
  DecentBridgeProvider["ACROSS"] = "across";
15
15
  DecentBridgeProvider["HYPERLANE"] = "hyperlane";
16
16
  DecentBridgeProvider["GHOST"] = "ghost";
17
+ DecentBridgeProvider["GHOST_V2"] = "ghost-v2";
18
+ DecentBridgeProvider["M0"] = "m0";
17
19
  })(DecentBridgeProvider || (exports.DecentBridgeProvider = DecentBridgeProvider = {}));
18
20
  //# sourceMappingURL=DecentBridgeProvider.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"DecentBridgeProvider.js","sourceRoot":"","sources":["../../../../../../src/domain/model/decent-swap/entities/DecentBridgeProvider.ts"],"names":[],"mappings":";;;AAAA,IAAY,oBAYX;AAZD,WAAY,oBAAoB;IAC9B,uCAAe,CAAA;IACf,uCAAe,CAAA;IACf,6CAAqB,CAAA;IACrB,6CAAqB,CAAA;IACrB,6CAAqB,CAAA;IACrB,mCAAW,CAAA;IACX,+CAAuB,CAAA;IACvB,6CAAqB,CAAA;IACrB,yCAAiB,CAAA;IACjB,+CAAuB,CAAA;IACvB,uCAAe,CAAA;AACjB,CAAC,EAZW,oBAAoB,oCAApB,oBAAoB,QAY/B"}
1
+ {"version":3,"file":"DecentBridgeProvider.js","sourceRoot":"","sources":["../../../../../../src/domain/model/decent-swap/entities/DecentBridgeProvider.ts"],"names":[],"mappings":";;;AAAA,IAAY,oBAgBX;AAhBD,WAAY,oBAAoB;IAC9B,uCAAe,CAAA;IACf,uCAAe,CAAA;IACf,6CAAqB,CAAA;IACrB,6CAAqB,CAAA;IACrB,6CAAqB,CAAA;IACrB,mCAAW,CAAA;IACX,+CAAuB,CAAA;IACvB,6CAAqB,CAAA;IACrB,yCAAiB,CAAA;IACjB,+CAAuB,CAAA;IACvB,uCAAe,CAAA;IAGf,6CAAqB,CAAA;IACrB,iCAAS,CAAA;AACX,CAAC,EAhBW,oBAAoB,oCAApB,oBAAoB,QAgB/B"}
@@ -1,4 +1,4 @@
1
- export type DecentStatusMessage = 'success' | 'pending' | 'refunded' | 'failed';
1
+ export type DecentStatusMessage = 'success' | 'pending' | 'requires refund' | 'refunded' | 'failed';
2
2
  export interface DecentPaymentToken {
3
3
  name: string;
4
4
  symbol: string;
@@ -0,0 +1,6 @@
1
+ import { PaymentRequestType } from '../../payment-request';
2
+ export declare class HelioWalletRefundDto {
3
+ paymentRequestTxId: string;
4
+ paymentRequestType: PaymentRequestType;
5
+ otpCode: string;
6
+ }
@@ -9,21 +9,25 @@ 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.SubmitWithdrawalSignedTxDto = void 0;
12
+ exports.HelioWalletRefundDto = void 0;
13
13
  const class_validator_1 = require("class-validator");
14
- const SignedTransactionKind_1 = require("../../broadcast/constants/SignedTransactionKind");
15
- class SubmitWithdrawalSignedTxDto {
14
+ const payment_request_1 = require("../../payment-request");
15
+ class HelioWalletRefundDto {
16
16
  }
17
- exports.SubmitWithdrawalSignedTxDto = SubmitWithdrawalSignedTxDto;
17
+ exports.HelioWalletRefundDto = HelioWalletRefundDto;
18
18
  __decorate([
19
- (0, class_validator_1.IsEnum)(SignedTransactionKind_1.SignedTransactionKind),
19
+ (0, class_validator_1.IsString)(),
20
+ (0, class_validator_1.IsNotEmpty)(),
21
+ __metadata("design:type", String)
22
+ ], HelioWalletRefundDto.prototype, "paymentRequestTxId", void 0);
23
+ __decorate([
24
+ (0, class_validator_1.IsEnum)(payment_request_1.PaymentRequestType),
25
+ (0, class_validator_1.IsNotEmpty)(),
20
26
  __metadata("design:type", String)
21
- ], SubmitWithdrawalSignedTxDto.prototype, "kind", void 0);
27
+ ], HelioWalletRefundDto.prototype, "paymentRequestType", void 0);
22
28
  __decorate([
23
29
  (0, class_validator_1.IsString)(),
24
- (0, class_validator_1.Matches)(/^0x[0-9a-fA-F]{130}$/, {
25
- message: 'signature must be a 0x-prefixed 65-byte (130 hex char) secp256k1 signature',
26
- }),
30
+ (0, class_validator_1.IsNotEmpty)(),
27
31
  __metadata("design:type", String)
28
- ], SubmitWithdrawalSignedTxDto.prototype, "signature", void 0);
29
- //# sourceMappingURL=submitWithdrawalSignedTx.dto.js.map
32
+ ], HelioWalletRefundDto.prototype, "otpCode", void 0);
33
+ //# sourceMappingURL=helioWalletRefund.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"helioWalletRefund.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/helio-wallet-transaction/dtos/helioWalletRefund.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA+D;AAC/D,2DAA2D;AAW3D,MAAa,oBAAoB;CAYhC;AAZD,oDAYC;AATC;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;gEACc;AAI3B;IAFC,IAAA,wBAAM,EAAC,oCAAkB,CAAC;IAC1B,IAAA,4BAAU,GAAE;;gEAC0B;AAIvC;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;qDACG"}
@@ -1 +1,2 @@
1
1
  export * from './helioWalletSendFunds.dto';
2
+ export * from './helioWalletRefund.dto';
@@ -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("./helioWalletSendFunds.dto"), exports);
18
+ __exportStar(require("./helioWalletRefund.dto"), exports);
18
19
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/helio-wallet-transaction/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6DAA2C"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/helio-wallet-transaction/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6DAA2C;AAC3C,0DAAwC"}
@@ -151,3 +151,4 @@ export * from './coinbase-auth';
151
151
  export * from './hypercore';
152
152
  export * from './x402';
153
153
  export * from './payment-method-fee';
154
+ export * from './intercom-identity';
@@ -167,4 +167,5 @@ __exportStar(require("./coinbase-auth"), exports);
167
167
  __exportStar(require("./hypercore"), exports);
168
168
  __exportStar(require("./x402"), exports);
169
169
  __exportStar(require("./payment-method-fee"), exports);
170
+ __exportStar(require("./intercom-identity"), exports);
170
171
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/domain/model/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAuB;AACvB,yCAAuB;AACvB,yCAAuB;AACvB,2CAAyB;AACzB,2CAAyB;AACzB,qDAAmC;AACnC,mDAAiC;AACjC,yDAAuC;AACvC,oDAAkC;AAClC,qDAAmC;AACnC,mDAAiC;AACjC,6CAA2B;AAC3B,4CAA0B;AAC1B,2CAAyB;AACzB,+CAA6B;AAC7B,+CAA6B;AAC7B,4CAA0B;AAC1B,4CAA0B;AAC1B,+CAA6B;AAC7B,6CAA2B;AAC3B,8CAA4B;AAC5B,2DAAyC;AACzC,uEAAqD;AACrD,uDAAqC;AACrC,4CAA0B;AAC1B,kDAAgC;AAChC,oDAAkC;AAClC,6DAA2C;AAC3C,+CAA6B;AAC7B,0CAAwB;AACxB,yCAAuB;AACvB,wDAAsC;AACtC,4CAA0B;AAC1B,oDAAkC;AAClC,8CAA4B;AAC5B,iDAA+B;AAC/B,2CAAyB;AACzB,iDAA+B;AAC/B,oDAAkC;AAClC,+CAA6B;AAC7B,2CAAyB;AACzB,+CAA6B;AAC7B,uDAAqC;AACrC,mDAAiC;AACjC,4CAA0B;AAC1B,kDAAgC;AAChC,kDAAgC;AAChC,4C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ACtB,+CAA6B;AAC7B,qDAAmC;AACnC,kDAAgC;AAChC,0DAAwC;AACxC,2CAAyB;AACzB,kDAAgC;AAChC,2CAAyB;AACzB,2DAAyC;AACzC,uDAAqC;AACrC,gDAA8B;AAC9B,sDAAoC;AACpC,sDAAoC;AACpC,4CAA0B;AAC1B,kDAAgC;AAChC,0DAAwC;AACxC,mDAAiC;AACjC,wEAAsD;AACtD,+CAA6B;AAC7B,iDAA+B;AAC/B,kDAAgC;AAChC,8CAA4B;AAC5B,yCAAuB;AACvB,uDAAqC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/domain/model/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAuB;AACvB,yCAAuB;AACvB,yCAAuB;AACvB,2CAAyB;AACzB,2CAAyB;AACzB,qDAAmC;AACnC,mDAAiC;AACjC,yDAAuC;AACvC,oDAAkC;AAClC,qDAAmC;AACnC,mDAAiC;AACjC,6CAA2B;AAC3B,4CAA0B;AAC1B,2CAAyB;AACzB,+CAA6B;AAC7B,+CAA6B;AAC7B,4CAA0B;AAC1B,4CAA0B;AAC1B,+CAA6B;AAC7B,6CAA2B;AAC3B,8CAA4B;AAC5B,2DAAyC;AACzC,uEAAqD;AACrD,uDAAqC;AACrC,4CAA0B;AAC1B,kDAAgC;AAChC,oDAAkC;AAClC,6DAA2C;AAC3C,+CAA6B;AAC7B,0CAAwB;AACxB,yCAAuB;AACvB,wDAAsC;AACtC,4CAA0B;AAC1B,oDAAkC;AAClC,8CAA4B;AAC5B,iDAA+B;AAC/B,2CAAyB;AACzB,iDAA+B;AAC/B,oDAAkC;AAClC,+CAA6B;AAC7B,2CAAyB;AACzB,+CAA6B;AAC7B,uDAAqC;AACrC,mDAAiC;AACjC,4CAA0B;AAC1B,kDAAgC;AAChC,kDAAgC;AAChC,4CAA0B;AAC1B,mDAAiC;AACjC,mDAAiC;AACjC,4CAA0B;AAC1B,wDAAsC;AACtC,kDAAgC;AAChC,mDAAi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2CAAyB;AACzB,2DAAyC;AACzC,uDAAqC;AACrC,gDAA8B;AAC9B,sDAAoC;AACpC,sDAAoC;AACpC,4CAA0B;AAC1B,kDAAgC;AAChC,0DAAwC;AACxC,mDAAiC;AACjC,wEAAsD;AACtD,+CAA6B;AAC7B,iDAA+B;AAC/B,kDAAgC;AAChC,8CAA4B;AAC5B,yCAAuB;AACvB,uDAAqC;AACrC,sDAAoC"}
@@ -0,0 +1,3 @@
1
+ export declare class IntercomIdentityHash {
2
+ userHash: string;
3
+ }
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.IntercomIdentityHash = void 0;
4
+ class IntercomIdentityHash {
5
+ }
6
+ exports.IntercomIdentityHash = IntercomIdentityHash;
7
+ //# sourceMappingURL=IntercomIdentityHash.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IntercomIdentityHash.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/intercom-identity/entities/IntercomIdentityHash.entity.ts"],"names":[],"mappings":";;;AAAA,MAAa,oBAAoB;CAEhC;AAFD,oDAEC"}
@@ -0,0 +1 @@
1
+ export * from './IntercomIdentityHash.entity';
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./IntercomIdentityHash.entity"), exports);
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/intercom-identity/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gEAA8C"}
@@ -0,0 +1 @@
1
+ export * from './entities';
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./entities"), exports);
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/domain/model/intercom-identity/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA2B"}
@@ -0,0 +1,5 @@
1
+ export declare class GetMoonPayPlatformPaymentMethodsDto {
2
+ accessToken: string;
3
+ configs?: boolean;
4
+ details?: boolean;
5
+ }
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.GetMoonPayPlatformPaymentMethodsDto = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ const class_transformer_1 = require("class-transformer");
15
+ class GetMoonPayPlatformPaymentMethodsDto {
16
+ }
17
+ exports.GetMoonPayPlatformPaymentMethodsDto = GetMoonPayPlatformPaymentMethodsDto;
18
+ __decorate([
19
+ (0, class_validator_1.IsString)(),
20
+ (0, class_validator_1.IsNotEmpty)(),
21
+ __metadata("design:type", String)
22
+ ], GetMoonPayPlatformPaymentMethodsDto.prototype, "accessToken", void 0);
23
+ __decorate([
24
+ (0, class_transformer_1.Transform)(({ value }) => value === 'true' || value === true),
25
+ (0, class_validator_1.IsBoolean)(),
26
+ (0, class_validator_1.IsOptional)(),
27
+ __metadata("design:type", Boolean)
28
+ ], GetMoonPayPlatformPaymentMethodsDto.prototype, "configs", void 0);
29
+ __decorate([
30
+ (0, class_transformer_1.Transform)(({ value }) => value === 'true' || value === true),
31
+ (0, class_validator_1.IsBoolean)(),
32
+ (0, class_validator_1.IsOptional)(),
33
+ __metadata("design:type", Boolean)
34
+ ], GetMoonPayPlatformPaymentMethodsDto.prototype, "details", void 0);
35
+ //# sourceMappingURL=getMoonPayPlatformPaymentMethods.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getMoonPayPlatformPaymentMethods.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/on-ramps/dtos/getMoonPayPlatformPaymentMethods.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA8E;AAC9E,yDAA8C;AAE9C,MAAa,mCAAmC;CAc/C;AAdD,kFAcC;AAXC;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;wEACO;AAKpB;IAHC,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,KAAK,KAAK,MAAM,IAAI,KAAK,KAAK,IAAI,CAAC;IAC5D,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;oEACK;AAKlB;IAHC,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,KAAK,KAAK,MAAM,IAAI,KAAK,KAAK,IAAI,CAAC;IAC5D,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;oEACK"}
@@ -0,0 +1,57 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const class_validator_1 = require("class-validator");
4
+ const class_transformer_1 = require("class-transformer");
5
+ const getMoonPayPlatformPaymentMethods_dto_1 = require("./getMoonPayPlatformPaymentMethods.dto");
6
+ describe('GetMoonPayPlatformPaymentMethodsDto', () => {
7
+ it('accepts valid input with only accessToken', async () => {
8
+ const dto = (0, class_transformer_1.plainToInstance)(getMoonPayPlatformPaymentMethods_dto_1.GetMoonPayPlatformPaymentMethodsDto, {
9
+ accessToken: 'some-token',
10
+ });
11
+ const errors = await (0, class_validator_1.validate)(dto);
12
+ expect(errors).toHaveLength(0);
13
+ });
14
+ it('rejects when accessToken is missing', async () => {
15
+ const dto = (0, class_transformer_1.plainToInstance)(getMoonPayPlatformPaymentMethods_dto_1.GetMoonPayPlatformPaymentMethodsDto, {});
16
+ const errors = await (0, class_validator_1.validate)(dto);
17
+ expect(errors.some((e) => e.property === 'accessToken')).toBe(true);
18
+ });
19
+ it('transforms string "true" to boolean true for configs', () => {
20
+ const dto = (0, class_transformer_1.plainToInstance)(getMoonPayPlatformPaymentMethods_dto_1.GetMoonPayPlatformPaymentMethodsDto, {
21
+ accessToken: 'tok',
22
+ configs: 'true',
23
+ });
24
+ expect(dto.configs).toBe(true);
25
+ });
26
+ it('transforms string "false" to boolean false for configs', () => {
27
+ const dto = (0, class_transformer_1.plainToInstance)(getMoonPayPlatformPaymentMethods_dto_1.GetMoonPayPlatformPaymentMethodsDto, {
28
+ accessToken: 'tok',
29
+ configs: 'false',
30
+ });
31
+ expect(dto.configs).toBe(false);
32
+ });
33
+ it('transforms string "true" to boolean true for details', () => {
34
+ const dto = (0, class_transformer_1.plainToInstance)(getMoonPayPlatformPaymentMethods_dto_1.GetMoonPayPlatformPaymentMethodsDto, {
35
+ accessToken: 'tok',
36
+ details: 'true',
37
+ });
38
+ expect(dto.details).toBe(true);
39
+ });
40
+ it('transforms string "false" to boolean false for details', () => {
41
+ const dto = (0, class_transformer_1.plainToInstance)(getMoonPayPlatformPaymentMethods_dto_1.GetMoonPayPlatformPaymentMethodsDto, {
42
+ accessToken: 'tok',
43
+ details: 'false',
44
+ });
45
+ expect(dto.details).toBe(false);
46
+ });
47
+ it('preserves actual boolean values', () => {
48
+ const dto = (0, class_transformer_1.plainToInstance)(getMoonPayPlatformPaymentMethods_dto_1.GetMoonPayPlatformPaymentMethodsDto, {
49
+ accessToken: 'tok',
50
+ configs: true,
51
+ details: false,
52
+ });
53
+ expect(dto.configs).toBe(true);
54
+ expect(dto.details).toBe(false);
55
+ });
56
+ });
57
+ //# sourceMappingURL=getMoonPayPlatformPaymentMethods.dto.spec.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getMoonPayPlatformPaymentMethods.dto.spec.js","sourceRoot":"","sources":["../../../../../../src/domain/model/on-ramps/dtos/getMoonPayPlatformPaymentMethods.dto.spec.ts"],"names":[],"mappings":";;AAAA,qDAA2C;AAC3C,yDAAoD;AACpD,iGAA6F;AAE7F,QAAQ,CAAC,qCAAqC,EAAE,GAAG,EAAE;IACnD,EAAE,CAAC,2CAA2C,EAAE,KAAK,IAAI,EAAE;QACzD,MAAM,GAAG,GAAG,IAAA,mCAAe,E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EAAE;YAC/D,WAAW,EAAE,KAAK;YAClB,OAAO,EAAE,MAAM;SAChB,CAAC,CAAC;QACH,MAAM,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACjC,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,wDAAwD,EAAE,GAAG,EAAE;QAChE,MAAM,GAAG,GAAG,IAAA,mCAAe,EAAC,0EAAmC,EAAE;YAC/D,WAAW,EAAE,KAAK;YAClB,OAAO,EAAE,OAAO;SACjB,CAAC,CAAC;QACH,MAAM,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IAClC,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,iCAAiC,EAAE,GAAG,EAAE;QACzC,MAAM,GAAG,GAAG,IAAA,mCAAe,EAAC,0EAAmC,EAAE;YAC/D,WAAW,EAAE,KAAK;YAClB,OAAO,EAAE,IAAI;YACb,OAAO,EAAE,KAAK;SACf,CAAC,CAAC;QACH,MAAM,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAC/B,MAAM,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IAClC,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
@@ -5,3 +5,4 @@ export * from './MoonPayPaymentMethodConfigQuery.dto';
5
5
  export * from './moonpayPlatformWebhookPayload.dto';
6
6
  export * from './MoonPayUrl.dto';
7
7
  export * from './createMoonPayPlatformSession.dto';
8
+ export * from './getMoonPayPlatformPaymentMethods.dto';
@@ -21,4 +21,5 @@ __exportStar(require("./MoonPayPaymentMethodConfigQuery.dto"), exports);
21
21
  __exportStar(require("./moonpayPlatformWebhookPayload.dto"), exports);
22
22
  __exportStar(require("./MoonPayUrl.dto"), exports);
23
23
  __exportStar(require("./createMoonPayPlatformSession.dto"), exports);
24
+ __exportStar(require("./getMoonPayPlatformPaymentMethods.dto"), exports);
24
25
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/on-ramps/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4EAA0D;AAC1D,gEAA8C;AAC9C,sEAAoD;AACpD,wEAAsD;AACtD,sEAAoD;AACpD,mDAAiC;AACjC,qEAAmD"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/on-ramps/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4EAA0D;AAC1D,gEAA8C;AAC9C,sEAAoD;AACpD,wEAAsD;AACtD,sEAAoD;AACpD,mDAAiC;AACjC,qEAAmD;AACnD,yEAAuD"}
@@ -0,0 +1,16 @@
1
+ import { MoonPayPaymentMethodType } from './MoonPayPaymentMethodType';
2
+ export interface MoonPayPaymentMethodCapabilities {
3
+ supportedCurrencies: string[];
4
+ supportedTransactionTypes: string[];
5
+ allowsDeletion: boolean;
6
+ requiresWidget: boolean;
7
+ }
8
+ export interface MoonPayPaymentMethodAvailability {
9
+ active: boolean;
10
+ reasons?: string[];
11
+ }
12
+ export declare class MoonPayPlatformPaymentMethodConfig {
13
+ type: MoonPayPaymentMethodType;
14
+ capabilities: MoonPayPaymentMethodCapabilities;
15
+ availability: MoonPayPaymentMethodAvailability;
16
+ }
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MoonPayPlatformPaymentMethodConfig = void 0;
4
+ class MoonPayPlatformPaymentMethodConfig {
5
+ }
6
+ exports.MoonPayPlatformPaymentMethodConfig = MoonPayPlatformPaymentMethodConfig;
7
+ //# sourceMappingURL=MoonPayPlatformPaymentMethodConfig.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MoonPayPlatformPaymentMethodConfig.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/on-ramps/entities/MoonPayPlatformPaymentMethodConfig.entity.ts"],"names":[],"mappings":";;;AAcA,MAAa,kCAAkC;CAM9C;AAND,gFAMC"}
@@ -0,0 +1,6 @@
1
+ import { MoonPayPlatformPaymentMethodConfig } from './MoonPayPlatformPaymentMethodConfig.entity';
2
+ import { MoonPayStoredPaymentMethod } from './MoonPayStoredPaymentMethod.entity';
3
+ export declare class MoonPayPlatformPaymentMethods {
4
+ paymentMethodConfigs?: MoonPayPlatformPaymentMethodConfig[];
5
+ paymentMethods?: MoonPayStoredPaymentMethod[];
6
+ }
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MoonPayPlatformPaymentMethods = void 0;
4
+ class MoonPayPlatformPaymentMethods {
5
+ }
6
+ exports.MoonPayPlatformPaymentMethods = MoonPayPlatformPaymentMethods;
7
+ //# sourceMappingURL=MoonPayPlatformPaymentMethods.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MoonPayPlatformPaymentMethods.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/on-ramps/entities/MoonPayPlatformPaymentMethods.entity.ts"],"names":[],"mappings":";;;AAGA,MAAa,6BAA6B;CAIzC;AAJD,sEAIC"}
@@ -0,0 +1,12 @@
1
+ import { MoonPayPaymentMethodType } from './MoonPayPaymentMethodType';
2
+ import { MoonPayPaymentMethodAvailability } from './MoonPayPlatformPaymentMethodConfig.entity';
3
+ export declare class MoonPayStoredPaymentMethod {
4
+ id: string;
5
+ type: MoonPayPaymentMethodType;
6
+ cardType?: string;
7
+ brand?: string;
8
+ last4?: string;
9
+ expirationMonth?: string;
10
+ expirationYear?: string;
11
+ availability?: MoonPayPaymentMethodAvailability;
12
+ }
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MoonPayStoredPaymentMethod = void 0;
4
+ class MoonPayStoredPaymentMethod {
5
+ }
6
+ exports.MoonPayStoredPaymentMethod = MoonPayStoredPaymentMethod;
7
+ //# sourceMappingURL=MoonPayStoredPaymentMethod.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MoonPayStoredPaymentMethod.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/on-ramps/entities/MoonPayStoredPaymentMethod.entity.ts"],"names":[],"mappings":";;;AAGA,MAAa,0BAA0B;CAgBtC;AAhBD,gEAgBC"}
@@ -4,4 +4,7 @@ export * from './MoonPayPlatformQuote.entity';
4
4
  export * from './MoonPayPlatformSession.entity';
5
5
  export * from './MoonPayPlatformTransaction.entity';
6
6
  export * from './MoonPayTransactionType';
7
+ export * from './MoonPayPlatformPaymentMethodConfig.entity';
8
+ export * from './MoonPayPlatformPaymentMethods.entity';
9
+ export * from './MoonPayStoredPaymentMethod.entity';
7
10
  export * from './MoonPayUrlSignature.entity';
@@ -20,5 +20,8 @@ __exportStar(require("./MoonPayPlatformQuote.entity"), exports);
20
20
  __exportStar(require("./MoonPayPlatformSession.entity"), exports);
21
21
  __exportStar(require("./MoonPayPlatformTransaction.entity"), exports);
22
22
  __exportStar(require("./MoonPayTransactionType"), exports);
23
+ __exportStar(require("./MoonPayPlatformPaymentMethodConfig.entity"), exports);
24
+ __exportStar(require("./MoonPayPlatformPaymentMethods.entity"), exports);
25
+ __exportStar(require("./MoonPayStoredPaymentMethod.entity"), exports);
23
26
  __exportStar(require("./MoonPayUrlSignature.entity"), exports);
24
27
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/on-ramps/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sEAAoD;AACpD,6DAA2C;AAC3C,gEAA8C;AAC9C,kEAAgD;AAChD,sEAAoD;AACpD,2DAAyC;AACzC,+DAA6C"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/on-ramps/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sEAAoD;AACpD,6DAA2C;AAC3C,gEAA8C;AAC9C,kEAAgD;AAChD,sEAAoD;AACpD,2DAAyC;AACzC,8EAA4D;AAC5D,yEAAuD;AACvD,sEAAoD;AACpD,+DAA6C"}