@heliofi/common 0.2.282 → 0.2.284

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 (74) hide show
  1. package/dist/src/domain/model/blockchain/constants/decentChainIdToBlockchainSymbol.d.ts +2 -0
  2. package/dist/src/domain/model/blockchain/constants/decentChainIdToBlockchainSymbol.js +13 -0
  3. package/dist/src/domain/model/blockchain/constants/decentChainIdToBlockchainSymbol.js.map +1 -0
  4. package/dist/src/domain/model/blockchain/constants/index.d.ts +1 -0
  5. package/dist/src/domain/model/blockchain/constants/index.js +1 -0
  6. package/dist/src/domain/model/blockchain/constants/index.js.map +1 -1
  7. package/dist/src/domain/model/deposit/dtos/getDepositCustomers.dto.d.ts +3 -0
  8. package/dist/src/domain/model/deposit/dtos/getDepositCustomers.dto.js +8 -0
  9. package/dist/src/domain/model/deposit/dtos/getDepositCustomers.dto.js.map +1 -0
  10. package/dist/src/domain/model/deposit/dtos/index.d.ts +1 -0
  11. package/dist/src/domain/model/deposit/dtos/index.js +1 -0
  12. package/dist/src/domain/model/deposit/dtos/index.js.map +1 -1
  13. package/dist/src/domain/model/deposit/entities/DepositCustomerPageResponse.entity.d.ts +7 -0
  14. package/dist/src/domain/model/deposit/entities/DepositCustomerPageResponse.entity.js +3 -0
  15. package/dist/src/domain/model/deposit/entities/DepositCustomerPageResponse.entity.js.map +1 -0
  16. package/dist/src/domain/model/deposit/entities/IronIdentificationResponse.entity.d.ts +1 -0
  17. package/dist/src/domain/model/deposit/entities/IronIdentificationResponse.entity.js.map +1 -1
  18. package/dist/src/domain/model/deposit/entities/PartiallyPaidChargePageResponse.entity.d.ts +7 -0
  19. package/dist/src/domain/model/deposit/entities/PartiallyPaidChargePageResponse.entity.js +3 -0
  20. package/dist/src/domain/model/deposit/entities/PartiallyPaidChargePageResponse.entity.js.map +1 -0
  21. package/dist/src/domain/model/deposit/entities/VirtualAccount.enums.d.ts +2 -1
  22. package/dist/src/domain/model/deposit/entities/VirtualAccount.enums.js +1 -0
  23. package/dist/src/domain/model/deposit/entities/VirtualAccount.enums.js.map +1 -1
  24. package/dist/src/domain/model/deposit/entities/index.d.ts +2 -0
  25. package/dist/src/domain/model/deposit/entities/index.js +2 -0
  26. package/dist/src/domain/model/deposit/entities/index.js.map +1 -1
  27. package/dist/src/domain/model/link-features/dtos/createLinkFeatures.dto.d.ts +1 -0
  28. package/dist/src/domain/model/link-features/dtos/createLinkFeatures.dto.js +5 -0
  29. package/dist/src/domain/model/link-features/dtos/createLinkFeatures.dto.js.map +1 -1
  30. package/dist/src/domain/model/link-features/dtos/updateLinkFeatures.dto.d.ts +1 -0
  31. package/dist/src/domain/model/link-features/dtos/updateLinkFeatures.dto.js +5 -0
  32. package/dist/src/domain/model/link-features/dtos/updateLinkFeatures.dto.js.map +1 -1
  33. package/dist/src/domain/model/link-features/entities/LinkFeatures.entity.d.ts +1 -0
  34. package/dist/src/domain/model/link-features/entities/LinkFeatures.entity.js.map +1 -1
  35. package/dist/src/domain/model/transaction-meta/constants/ExportTransactionType.d.ts +2 -1
  36. package/dist/src/domain/model/transaction-meta/constants/ExportTransactionType.js +1 -0
  37. package/dist/src/domain/model/transaction-meta/constants/ExportTransactionType.js.map +1 -1
  38. package/dist/src/domain/model/wallet-balance/entities/WalletCurrencyBalance.entity.d.ts +2 -0
  39. package/dist/src/domain/model/wallet-balance/entities/WalletCurrencyBalance.entity.js.map +1 -1
  40. package/dist/src/domain/model/withdraw/dtos/getWithdrawalTransactionsQuery.dto.d.ts +7 -0
  41. package/dist/src/domain/model/withdraw/dtos/getWithdrawalTransactionsQuery.dto.js +39 -0
  42. package/dist/src/domain/model/withdraw/dtos/getWithdrawalTransactionsQuery.dto.js.map +1 -0
  43. package/dist/src/domain/model/withdraw/dtos/index.d.ts +1 -0
  44. package/dist/src/domain/model/withdraw/dtos/index.js +1 -0
  45. package/dist/src/domain/model/withdraw/dtos/index.js.map +1 -1
  46. package/dist/src/domain/model/withdraw/dtos/preparedWithdrawal.dto.d.ts +1 -0
  47. package/dist/src/domain/model/withdraw/dtos/preparedWithdrawal.dto.js +6 -0
  48. package/dist/src/domain/model/withdraw/dtos/preparedWithdrawal.dto.js.map +1 -1
  49. package/dist/src/domain/model/withdraw/dtos/preparedWithdrawalSummary.dto.d.ts +7 -0
  50. package/dist/src/domain/model/withdraw/dtos/preparedWithdrawalSummary.dto.js.map +1 -1
  51. package/dist/src/domain/model/withdraw/entities/PublicWithdrawalConfig.entity.d.ts +4 -0
  52. package/dist/src/domain/model/withdraw/entities/PublicWithdrawalConfig.entity.js.map +1 -1
  53. package/dist/src/domain/model/withdraw/entities/WithdrawalDetail.entity.d.ts +1 -0
  54. package/dist/src/domain/model/withdraw/entities/WithdrawalDetail.entity.js.map +1 -1
  55. package/dist/src/domain/model/withdraw/entities/WithdrawalDetailEnriched.entity.d.ts +20 -0
  56. package/dist/src/domain/model/withdraw/entities/WithdrawalDetailEnriched.entity.js +8 -0
  57. package/dist/src/domain/model/withdraw/entities/WithdrawalDetailEnriched.entity.js.map +1 -0
  58. package/dist/src/domain/model/withdraw/entities/WithdrawalDetailReceipt.entity.d.ts +30 -0
  59. package/dist/src/domain/model/withdraw/entities/WithdrawalDetailReceipt.entity.js +8 -0
  60. package/dist/src/domain/model/withdraw/entities/WithdrawalDetailReceipt.entity.js.map +1 -0
  61. package/dist/src/domain/model/withdraw/entities/WithdrawalMinSupportedVersions.entity.d.ts +8 -0
  62. package/dist/src/domain/model/withdraw/entities/WithdrawalMinSupportedVersions.entity.js +13 -0
  63. package/dist/src/domain/model/withdraw/entities/WithdrawalMinSupportedVersions.entity.js.map +1 -0
  64. package/dist/src/domain/model/withdraw/entities/WithdrawalQuoteFee.entity.d.ts +6 -0
  65. package/dist/src/domain/model/withdraw/entities/WithdrawalQuoteFee.entity.js +8 -0
  66. package/dist/src/domain/model/withdraw/entities/WithdrawalQuoteFee.entity.js.map +1 -0
  67. package/dist/src/domain/model/withdraw/entities/WithdrawalReportItem.entity.d.ts +26 -0
  68. package/dist/src/domain/model/withdraw/entities/WithdrawalReportItem.entity.js +8 -0
  69. package/dist/src/domain/model/withdraw/entities/WithdrawalReportItem.entity.js.map +1 -0
  70. package/dist/src/domain/model/withdraw/entities/index.d.ts +5 -0
  71. package/dist/src/domain/model/withdraw/entities/index.js +5 -0
  72. package/dist/src/domain/model/withdraw/entities/index.js.map +1 -1
  73. package/dist/tsconfig.tsbuildinfo +1 -1
  74. package/package.json +3 -3
@@ -0,0 +1,2 @@
1
+ import { BlockchainSymbol, DepositBlockchainSymbol } from './BlockchainSymbol';
2
+ export declare function decentChainIdToBlockchainSymbol(chainId: number): BlockchainSymbol | DepositBlockchainSymbol | undefined;
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.decentChainIdToBlockchainSymbol = decentChainIdToBlockchainSymbol;
4
+ const BlockchainSymbolToDecentChainId_1 = require("./BlockchainSymbolToDecentChainId");
5
+ function decentChainIdToBlockchainSymbol(chainId) {
6
+ for (const [symbol, clusters] of Object.entries(BlockchainSymbolToDecentChainId_1.BlockchainSymbolToDecentChainId)) {
7
+ if (clusters && Object.values(clusters).includes(chainId)) {
8
+ return symbol;
9
+ }
10
+ }
11
+ return undefined;
12
+ }
13
+ //# sourceMappingURL=decentChainIdToBlockchainSymbol.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"decentChainIdToBlockchainSymbol.js","sourceRoot":"","sources":["../../../../../../src/domain/model/blockchain/constants/decentChainIdToBlockchainSymbol.ts"],"names":[],"mappings":";;AAKA,0EAWC;AAfD,uFAAoF;AAIpF,SAAgB,+BAA+B,CAC7C,OAAe;IAEf,KAAK,MAAM,CAAC,MAAM,EAAE,QAAQ,CAAC,IAAI,MAAM,CAAC,OAAO,CAC7C,iEAA+B,CAChC,EAAE,CAAC;QACF,IAAI,QAAQ,IAAI,MAAM,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,QAAQ,CAAC,OAAO,CAAC,EAAE,CAAC;YAC1D,OAAO,MAAoD,CAAC;QAC9D,CAAC;IACH,CAAC;IACD,OAAO,SAAS,CAAC;AACnB,CAAC"}
@@ -3,4 +3,5 @@ export * from './BlockchainSymbol';
3
3
  export * from './BlockchainEngineToBlockchain';
4
4
  export * from './BlockchainToBlockchainEngine';
5
5
  export * from './BlockchainSymbolToDecentChainId';
6
+ export * from './decentChainIdToBlockchainSymbol';
6
7
  export * from './ConfirmTimeoutSec';
@@ -19,5 +19,6 @@ __exportStar(require("./BlockchainSymbol"), exports);
19
19
  __exportStar(require("./BlockchainEngineToBlockchain"), exports);
20
20
  __exportStar(require("./BlockchainToBlockchainEngine"), exports);
21
21
  __exportStar(require("./BlockchainSymbolToDecentChainId"), exports);
22
+ __exportStar(require("./decentChainIdToBlockchainSymbol"), exports);
22
23
  __exportStar(require("./ConfirmTimeoutSec"), exports);
23
24
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/blockchain/constants/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAA0B;AAC1B,qDAAmC;AACnC,iEAA+C;AAC/C,iEAA+C;AAC/C,oEAAkD;AAClD,sDAAoC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/blockchain/constants/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAA0B;AAC1B,qDAAmC;AACnC,iEAA+C;AAC/C,iEAA+C;AAC/C,oEAAkD;AAClD,oEAAkD;AAClD,sDAAoC"}
@@ -0,0 +1,3 @@
1
+ import { BaseQueryDto } from '../../shared/queries/baseQuery.dto';
2
+ export declare class GetDepositCustomersDto extends BaseQueryDto {
3
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetDepositCustomersDto = void 0;
4
+ const baseQuery_dto_1 = require("../../shared/queries/baseQuery.dto");
5
+ class GetDepositCustomersDto extends baseQuery_dto_1.BaseQueryDto {
6
+ }
7
+ exports.GetDepositCustomersDto = GetDepositCustomersDto;
8
+ //# sourceMappingURL=getDepositCustomers.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getDepositCustomers.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/deposit/dtos/getDepositCustomers.dto.ts"],"names":[],"mappings":";;;AAAA,sEAAkE;AAElE,MAAa,sBAAuB,SAAQ,4BAAY;CAAG;AAA3D,wDAA2D"}
@@ -1,6 +1,7 @@
1
1
  export * from './createDeposit.dto';
2
2
  export * from './updateDepositCustomer.dto';
3
3
  export * from './createDepositCustomer.dto';
4
+ export * from './getDepositCustomers.dto';
4
5
  export * from './updateDepositWallet.dto';
5
6
  export * from './updateWalletActivity.dto';
6
7
  export * from './updateDeposit.dto';
@@ -17,6 +17,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./createDeposit.dto"), exports);
18
18
  __exportStar(require("./updateDepositCustomer.dto"), exports);
19
19
  __exportStar(require("./createDepositCustomer.dto"), exports);
20
+ __exportStar(require("./getDepositCustomers.dto"), exports);
20
21
  __exportStar(require("./updateDepositWallet.dto"), exports);
21
22
  __exportStar(require("./updateWalletActivity.dto"), exports);
22
23
  __exportStar(require("./updateDeposit.dto"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/deposit/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC;AACpC,8DAA4C;AAC5C,8DAA4C;AAC5C,4DAA0C;AAC1C,6DAA2C;AAC3C,sDAAoC;AACpC,8EAA4D;AAC5D,gFAA8D;AAC9D,oEAAkD;AAClD,+DAA6C;AAC7C,iEAA+C;AAC/C,iEAA+C;AAC/C,gEAA8C"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/deposit/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC;AACpC,8DAA4C;AAC5C,8DAA4C;AAC5C,4DAA0C;AAC1C,4DAA0C;AAC1C,6DAA2C;AAC3C,sDAAoC;AACpC,8EAA4D;AAC5D,gFAA8D;AAC9D,oEAAkD;AAClD,+DAA6C;AAC7C,iEAA+C;AAC/C,iEAA+C;AAC/C,gEAA8C"}
@@ -0,0 +1,7 @@
1
+ import { DepositCustomerEntity } from './DepositCustomer.entity';
2
+ export type DepositCustomerPageResponse = {
3
+ data: DepositCustomerEntity[];
4
+ total: number;
5
+ page: number;
6
+ limit: number;
7
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=DepositCustomerPageResponse.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DepositCustomerPageResponse.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/deposit/entities/DepositCustomerPageResponse.entity.ts"],"names":[],"mappings":""}
@@ -6,6 +6,7 @@ export declare class IronIdentificationResponse extends Entity {
6
6
  status: IronIdentificationStatus;
7
7
  url?: string;
8
8
  stepStatus?: Record<string, unknown>;
9
+ residenceCountry?: string;
9
10
  createdAt: string;
10
11
  updatedAt: string;
11
12
  }
@@ -1 +1 @@
1
- {"version":3,"file":"IronIdentificationResponse.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/deposit/entities/IronIdentificationResponse.entity.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAGtC,MAAa,0BAA2B,SAAQ,eAAM;CAcrD;AAdD,gEAcC"}
1
+ {"version":3,"file":"IronIdentificationResponse.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/deposit/entities/IronIdentificationResponse.entity.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAGtC,MAAa,0BAA2B,SAAQ,eAAM;CAiBrD;AAjBD,gEAiBC"}
@@ -0,0 +1,7 @@
1
+ import { PartiallyPaidChargeEntity } from './PartiallyPaidCharge.entity';
2
+ export type PartiallyPaidChargePageResponse = {
3
+ data: PartiallyPaidChargeEntity[];
4
+ total: number;
5
+ page: number;
6
+ limit: number;
7
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=PartiallyPaidChargePageResponse.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PartiallyPaidChargePageResponse.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/deposit/entities/PartiallyPaidChargePageResponse.entity.ts"],"names":[],"mappings":""}
@@ -35,5 +35,6 @@ export declare enum VirtualAccountStep {
35
35
  KYC = "KYC",
36
36
  TERMS = "TERMS",
37
37
  BANK_DETAILS_PENDING = "BANK_DETAILS_PENDING",
38
- READY = "READY"
38
+ READY = "READY",
39
+ BANK_COUNTRY_BANNED = "BANK_COUNTRY_BANNED"
39
40
  }
@@ -44,5 +44,6 @@ var VirtualAccountStep;
44
44
  VirtualAccountStep["TERMS"] = "TERMS";
45
45
  VirtualAccountStep["BANK_DETAILS_PENDING"] = "BANK_DETAILS_PENDING";
46
46
  VirtualAccountStep["READY"] = "READY";
47
+ VirtualAccountStep["BANK_COUNTRY_BANNED"] = "BANK_COUNTRY_BANNED";
47
48
  })(VirtualAccountStep || (exports.VirtualAccountStep = VirtualAccountStep = {}));
48
49
  //# sourceMappingURL=VirtualAccount.enums.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"VirtualAccount.enums.js","sourceRoot":"","sources":["../../../../../../src/domain/model/deposit/entities/VirtualAccount.enums.ts"],"names":[],"mappings":";;;AAAA,IAAY,uBAKX;AALD,WAAY,uBAAuB;IACjC,sDAA2B,CAAA;IAC3B,8CAAmB,CAAA;IACnB,gDAAqB,CAAA;IACrB,gDAAqB,CAAA;AACvB,CAAC,EALW,uBAAuB,uCAAvB,uBAAuB,QAKlC;AAGD,IAAY,gCAMX;AAND,WAAY,gCAAgC;IAC1C,kEAA8B,CAAA;IAC9B,0EAAsC,CAAA;IACtC,sFAAkD,CAAA;IAClD,qDAAiB,CAAA;IACjB,2DAAuB,CAAA;AACzB,CAAC,EANW,gCAAgC,gDAAhC,gCAAgC,QAM3C;AAED,IAAY,+BAMX;AAND,WAAY,+BAA+B;IACzC,wDAAqB,CAAA;IACrB,sDAAmB,CAAA;IACnB,wDAAqB,CAAA;IACrB,wDAAqB,CAAA;IACrB,kDAAe,CAAA;AACjB,CAAC,EANW,+BAA+B,+CAA/B,+BAA+B,QAM1C;AAED,IAAY,+BASX;AATD,WAAY,+BAA+B;IACzC,qFAAkD,CAAA;IAClD,kFAA+C,CAAA;IAC/C,0EAAuC,CAAA;IACvC,0DAAuB,CAAA;IACvB,oDAAiB,CAAA;IACjB,+DAA4B,CAAA;IAC5B,mEAAgC,CAAA;IAChC,4EAAyC,CAAA;AAC3C,CAAC,EATW,+BAA+B,+CAA/B,+BAA+B,QAS1C;AAED,IAAY,kBAQX;AARD,WAAY,kBAAkB;IAC5B,mCAAa,CAAA;IACb,qDAA+B,CAAA;IAC/B,yDAAmC,CAAA;IACnC,iCAAW,CAAA;IACX,qCAAe,CAAA;IACf,mEAA6C,CAAA;IAC7C,qCAAe,CAAA;AACjB,CAAC,EARW,kBAAkB,kCAAlB,kBAAkB,QAQ7B"}
1
+ {"version":3,"file":"VirtualAccount.enums.js","sourceRoot":"","sources":["../../../../../../src/domain/model/deposit/entities/VirtualAccount.enums.ts"],"names":[],"mappings":";;;AAAA,IAAY,uBAKX;AALD,WAAY,uBAAuB;IACjC,sDAA2B,CAAA;IAC3B,8CAAmB,CAAA;IACnB,gDAAqB,CAAA;IACrB,gDAAqB,CAAA;AACvB,CAAC,EALW,uBAAuB,uCAAvB,uBAAuB,QAKlC;AAGD,IAAY,gCAMX;AAND,WAAY,gCAAgC;IAC1C,kEAA8B,CAAA;IAC9B,0EAAsC,CAAA;IACtC,sFAAkD,CAAA;IAClD,qDAAiB,CAAA;IACjB,2DAAuB,CAAA;AACzB,CAAC,EANW,gCAAgC,gDAAhC,gCAAgC,QAM3C;AAED,IAAY,+BAMX;AAND,WAAY,+BAA+B;IACzC,wDAAqB,CAAA;IACrB,sDAAmB,CAAA;IACnB,wDAAqB,CAAA;IACrB,wDAAqB,CAAA;IACrB,kDAAe,CAAA;AACjB,CAAC,EANW,+BAA+B,+CAA/B,+BAA+B,QAM1C;AAED,IAAY,+BASX;AATD,WAAY,+BAA+B;IACzC,qFAAkD,CAAA;IAClD,kFAA+C,CAAA;IAC/C,0EAAuC,CAAA;IACvC,0DAAuB,CAAA;IACvB,oDAAiB,CAAA;IACjB,+DAA4B,CAAA;IAC5B,mEAAgC,CAAA;IAChC,4EAAyC,CAAA;AAC3C,CAAC,EATW,+BAA+B,+CAA/B,+BAA+B,QAS1C;AAED,IAAY,kBAUX;AAVD,WAAY,kBAAkB;IAC5B,mCAAa,CAAA;IACb,qDAA+B,CAAA;IAC/B,yDAAmC,CAAA;IACnC,iCAAW,CAAA;IACX,qCAAe,CAAA;IACf,mEAA6C,CAAA;IAC7C,qCAAe,CAAA;IAEf,iEAA2C,CAAA;AAC7C,CAAC,EAVW,kBAAkB,kCAAlB,kBAAkB,QAU7B"}
@@ -8,6 +8,7 @@ export * from './DepositEnriched.entity';
8
8
  export * from './Deposit.entity';
9
9
  export * from './DepositWithCurrencies.entity';
10
10
  export * from './DepositCustomer.entity';
11
+ export * from './DepositCustomerPageResponse.entity';
11
12
  export * from './DepositCustomerEnriched.entity';
12
13
  export * from './DepositWallet.entity';
13
14
  export * from './DepositWithStats.entity';
@@ -37,5 +38,6 @@ export * from './ironIdentificationStatus';
37
38
  export * from './IronRequiredSigning.entity';
38
39
  export * from './IronSigningResponse.entity';
39
40
  export * from './PartiallyPaidCharge.entity';
41
+ export * from './PartiallyPaidChargePageResponse.entity';
40
42
  export * from './VirtualAccountSupportedCountry.entity';
41
43
  export * from './DepositRouteFee.entity';
@@ -24,6 +24,7 @@ __exportStar(require("./DepositEnriched.entity"), exports);
24
24
  __exportStar(require("./Deposit.entity"), exports);
25
25
  __exportStar(require("./DepositWithCurrencies.entity"), exports);
26
26
  __exportStar(require("./DepositCustomer.entity"), exports);
27
+ __exportStar(require("./DepositCustomerPageResponse.entity"), exports);
27
28
  __exportStar(require("./DepositCustomerEnriched.entity"), exports);
28
29
  __exportStar(require("./DepositWallet.entity"), exports);
29
30
  __exportStar(require("./DepositWithStats.entity"), exports);
@@ -53,6 +54,7 @@ __exportStar(require("./ironIdentificationStatus"), exports);
53
54
  __exportStar(require("./IronRequiredSigning.entity"), exports);
54
55
  __exportStar(require("./IronSigningResponse.entity"), exports);
55
56
  __exportStar(require("./PartiallyPaidCharge.entity"), exports);
57
+ __exportStar(require("./PartiallyPaidChargePageResponse.entity"), exports);
56
58
  __exportStar(require("./VirtualAccountSupportedCountry.entity"), exports);
57
59
  __exportStar(require("./DepositRouteFee.entity"), exports);
58
60
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/deposit/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qEAAmD;AACnD,qEAAmD;AACnD,2EAAyD;AACzD,sEAAoD;AACpD,gFAA8D;AAC9D,iEAA+C;AAC/C,2DAAyC;AACzC,mDAAiC;AACjC,iEAA+C;AAC/C,2DAAyC;AACzC,mEAAiD;AACjD,yDAAuC;AACvC,4DAA0C;AAC1C,iDAA+B;AAC/B,+DAA6C;AAC7C,yEAAuD;AACvD,oEAAkD;AAClD,oFAAkE;AAClE,4EAA0D;AAC1D,6EAA2D;AAC3D,yDAAuC;AACvC,yEAAuD;AACvD,qEAAmD;AACnD,8DAA4C;AAC5C,gEAA8C;AAC9C,0DAAwC;AACxC,iEAA+C;AAC/C,mDAAiC;AACjC,2DAAyC;AACzC,qEAAmD;AACnD,+EAA6D;AAC7D,oEAAkD;AAClD,qDAAmC;AACnC,gEAA8C;AAC9C,sEAAoD;AACpD,6DAA2C;AAC3C,+DAA6C;AAC7C,+DAA6C;AAC7C,+DAA6C;AAC7C,0EAAwD;AACxD,2DAAyC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/deposit/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qEAAmD;AACnD,qEAAmD;AACnD,2EAAyD;AACzD,sEAAoD;AACpD,gFAA8D;AAC9D,iEAA+C;AAC/C,2DAAyC;AACzC,mDAAiC;AACjC,iEAA+C;AAC/C,2DAAyC;AACzC,uEAAqD;AACrD,mEAAiD;AACjD,yDAAuC;AACvC,4DAA0C;AAC1C,iDAA+B;AAC/B,+DAA6C;AAC7C,yEAAuD;AACvD,oEAAkD;AAClD,oFAAkE;AAClE,4EAA0D;AAC1D,6EAA2D;AAC3D,yDAAuC;AACvC,yEAAuD;AACvD,qEAAmD;AACnD,8DAA4C;AAC5C,gEAA8C;AAC9C,0DAAwC;AACxC,iEAA+C;AAC/C,mDAAiC;AACjC,2DAAyC;AACzC,qEAAmD;AACnD,+EAA6D;AAC7D,oEAAkD;AAClD,qDAAmC;AACnC,gEAA8C;AAC9C,sEAAoD;AACpD,6DAA2C;AAC3C,+DAA6C;AAC7C,+DAA6C;AAC7C,+DAA6C;AAC7C,2EAAyD;AACzD,0EAAwD;AACxD,2DAAyC"}
@@ -16,4 +16,5 @@ export declare class CreateLinkFeaturesDto extends CreatePaymentRequestFeaturesD
16
16
  hasStripeApiKey?: boolean;
17
17
  showDetailsForCharge?: boolean;
18
18
  requireAdditionalProductDetails?: boolean;
19
+ disableEmailReceipt?: boolean;
19
20
  }
@@ -95,4 +95,9 @@ __decorate([
95
95
  (0, class_validator_1.IsOptional)(),
96
96
  __metadata("design:type", Boolean)
97
97
  ], CreateLinkFeaturesDto.prototype, "requireAdditionalProductDetails", void 0);
98
+ __decorate([
99
+ (0, class_validator_1.IsBoolean)(),
100
+ (0, class_validator_1.IsOptional)(),
101
+ __metadata("design:type", Boolean)
102
+ ], CreateLinkFeaturesDto.prototype, "disableEmailReceipt", void 0);
98
103
  //# sourceMappingURL=createLinkFeatures.dto.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"createLinkFeatures.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/link-features/dtos/createLinkFeatures.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAwD;AACxD,6EAAiF;AAEjF,MAAa,qBAAsB,SAAQ,0DAA+B;CAgEzE;AAhED,sDAgEC;AA7DC;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;2DACU;AAIvB;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;2DACU;AAIvB;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;gEACe;AAI5B;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;oEACmB;AAIhC;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;6DACY;AAIzB;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;0DACS;AAItB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;;yDACS;AAIrB;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;+DACc;AAI3B;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;+DACc;AAI3B;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;6DACY;AAIzB;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;sEACqB;AAIlC;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;qEACoB;AAIjC;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;6DACY;AAIzB;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;8DACa;AAI1B;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;mEACkB;AAI/B;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;8EAC6B"}
1
+ {"version":3,"file":"createLinkFeatures.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/link-features/dtos/createLinkFeatures.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAwD;AACxD,6EAAiF;AAEjF,MAAa,qBAAsB,SAAQ,0DAA+B;CAoEzE;AApED,sDAoEC;AAjEC;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;2DACU;AAIvB;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;2DACU;AAIvB;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;gEACe;AAI5B;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;oEACmB;AAIhC;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;6DACY;AAIzB;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;0DACS;AAItB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;;yDACS;AAIrB;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;+DACc;AAI3B;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;+DACc;AAI3B;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;6DACY;AAIzB;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;sEACqB;AAIlC;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;qEACoB;AAIjC;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;6DACY;AAIzB;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;8DACa;AAI1B;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;mEACkB;AAI/B;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;8EAC6B;AAI1C;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;kEACiB"}
@@ -13,4 +13,5 @@ export declare class UpdateLinkFeaturesDto extends UpdatePaymentRequestFeaturesD
13
13
  shouldRedirectOnSuccess?: boolean;
14
14
  showDetailsForCharge?: boolean;
15
15
  requireAdditionalProductDetails?: boolean;
16
+ disableEmailReceipt?: boolean;
16
17
  }
@@ -80,4 +80,9 @@ __decorate([
80
80
  (0, class_validator_1.IsOptional)(),
81
81
  __metadata("design:type", Boolean)
82
82
  ], UpdateLinkFeaturesDto.prototype, "requireAdditionalProductDetails", void 0);
83
+ __decorate([
84
+ (0, class_validator_1.IsBoolean)(),
85
+ (0, class_validator_1.IsOptional)(),
86
+ __metadata("design:type", Boolean)
87
+ ], UpdateLinkFeaturesDto.prototype, "disableEmailReceipt", void 0);
83
88
  //# sourceMappingURL=updateLinkFeatures.dto.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"updateLinkFeatures.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/link-features/dtos/updateLinkFeatures.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAwD;AACxD,6EAAiF;AAEjF,MAAa,qBAAsB,SAAQ,0DAA+B;CAoDzE;AApDD,sDAoDC;AAjDC;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;2DACU;AAIvB;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;2DACU;AAIvB;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;gEACe;AAI5B;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;oEACmB;AAIhC;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;6DACY;AAIzB;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;0DACS;AAItB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;;yDACS;AAIrB;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;+DACc;AAI3B;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;+DACc;AAI3B;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;6DACY;AAIzB;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;sEACqB;AAIlC;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;mEACkB;AAI/B;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;8EAC6B"}
1
+ {"version":3,"file":"updateLinkFeatures.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/link-features/dtos/updateLinkFeatures.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAwD;AACxD,6EAAiF;AAEjF,MAAa,qBAAsB,SAAQ,0DAA+B;CAwDzE;AAxDD,sDAwDC;AArDC;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;2DACU;AAIvB;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;2DACU;AAIvB;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;gEACe;AAI5B;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;oEACmB;AAIhC;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;6DACY;AAIzB;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;0DACS;AAItB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;;yDACS;AAIrB;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;+DACc;AAI3B;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;+DACc;AAI3B;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;6DACY;AAIzB;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;sEACqB;AAIlC;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;mEACkB;AAI/B;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;8EAC6B;AAI1C;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;kEACiB"}
@@ -11,4 +11,5 @@ export declare class LinkFeatures extends PaymentRequestFeatures {
11
11
  isSubscription: boolean;
12
12
  hasStripeApiKey: boolean;
13
13
  allowDeposit?: boolean;
14
+ disableEmailReceipt?: boolean;
14
15
  }
@@ -1 +1 @@
1
- {"version":3,"file":"LinkFeatures.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/link-features/entities/LinkFeatures.entity.ts"],"names":[],"mappings":";;;AAAA,6EAAwE;AAExE,MAAa,YAAa,SAAQ,iDAAsB;CAsBvD;AAtBD,oCAsBC"}
1
+ {"version":3,"file":"LinkFeatures.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/link-features/entities/LinkFeatures.entity.ts"],"names":[],"mappings":";;;AAAA,6EAAwE;AAExE,MAAa,YAAa,SAAQ,iDAAsB;CAwBvD;AAxBD,oCAwBC"}
@@ -2,5 +2,6 @@ export declare enum ExportTransactionType {
2
2
  REFUNDED = "REFUNDED",
3
3
  PAYLINK = "PAYLINK",
4
4
  STREAM = "STREAM",
5
- DEPOSIT = "DEPOSIT"
5
+ DEPOSIT = "DEPOSIT",
6
+ WITHDRAWAL = "WITHDRAWAL"
6
7
  }
@@ -7,5 +7,6 @@ var ExportTransactionType;
7
7
  ExportTransactionType["PAYLINK"] = "PAYLINK";
8
8
  ExportTransactionType["STREAM"] = "STREAM";
9
9
  ExportTransactionType["DEPOSIT"] = "DEPOSIT";
10
+ ExportTransactionType["WITHDRAWAL"] = "WITHDRAWAL";
10
11
  })(ExportTransactionType || (exports.ExportTransactionType = ExportTransactionType = {}));
11
12
  //# sourceMappingURL=ExportTransactionType.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ExportTransactionType.js","sourceRoot":"","sources":["../../../../../../src/domain/model/transaction-meta/constants/ExportTransactionType.ts"],"names":[],"mappings":";;;AAAA,IAAY,qBAKX;AALD,WAAY,qBAAqB;IAC/B,8CAAqB,CAAA;IACrB,4CAAmB,CAAA;IACnB,0CAAiB,CAAA;IACjB,4CAAmB,CAAA;AACrB,CAAC,EALW,qBAAqB,qCAArB,qBAAqB,QAKhC"}
1
+ {"version":3,"file":"ExportTransactionType.js","sourceRoot":"","sources":["../../../../../../src/domain/model/transaction-meta/constants/ExportTransactionType.ts"],"names":[],"mappings":";;;AAAA,IAAY,qBAMX;AAND,WAAY,qBAAqB;IAC/B,8CAAqB,CAAA;IACrB,4CAAmB,CAAA;IACnB,0CAAiB,CAAA;IACjB,4CAAmB,CAAA;IACnB,kDAAyB,CAAA;AAC3B,CAAC,EANW,qBAAqB,qCAArB,qBAAqB,QAMhC"}
@@ -4,4 +4,6 @@ export declare class WalletCurrencyBalance {
4
4
  mintAddress: string;
5
5
  balance: string | null;
6
6
  uiBalance: string | null;
7
+ maxWithdrawableAmount: string | null;
8
+ uiMaxWithdrawableAmount: string | null;
7
9
  }
@@ -1 +1 @@
1
- {"version":3,"file":"WalletCurrencyBalance.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/wallet-balance/entities/WalletCurrencyBalance.entity.ts"],"names":[],"mappings":";;;AAAA,MAAa,qBAAqB;CAUjC;AAVD,sDAUC"}
1
+ {"version":3,"file":"WalletCurrencyBalance.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/wallet-balance/entities/WalletCurrencyBalance.entity.ts"],"names":[],"mappings":";;;AAAA,MAAa,qBAAqB;CAiBjC;AAjBD,sDAiBC"}
@@ -0,0 +1,7 @@
1
+ import { BaseQueryDto } from '../../shared/queries/baseQuery.dto';
2
+ export declare class GetWithdrawalTransactionsQueryDto extends BaseQueryDto {
3
+ state?: string[];
4
+ sourceChain?: string;
5
+ destinationChain?: string;
6
+ withdrawalConfigId?: string;
7
+ }
@@ -0,0 +1,39 @@
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.GetWithdrawalTransactionsQueryDto = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ const baseQuery_dto_1 = require("../../shared/queries/baseQuery.dto");
15
+ class GetWithdrawalTransactionsQueryDto extends baseQuery_dto_1.BaseQueryDto {
16
+ }
17
+ exports.GetWithdrawalTransactionsQueryDto = GetWithdrawalTransactionsQueryDto;
18
+ __decorate([
19
+ (0, class_validator_1.IsArray)(),
20
+ (0, class_validator_1.IsString)({ each: true }),
21
+ (0, class_validator_1.IsOptional)(),
22
+ __metadata("design:type", Array)
23
+ ], GetWithdrawalTransactionsQueryDto.prototype, "state", void 0);
24
+ __decorate([
25
+ (0, class_validator_1.IsString)(),
26
+ (0, class_validator_1.IsOptional)(),
27
+ __metadata("design:type", String)
28
+ ], GetWithdrawalTransactionsQueryDto.prototype, "sourceChain", void 0);
29
+ __decorate([
30
+ (0, class_validator_1.IsString)(),
31
+ (0, class_validator_1.IsOptional)(),
32
+ __metadata("design:type", String)
33
+ ], GetWithdrawalTransactionsQueryDto.prototype, "destinationChain", void 0);
34
+ __decorate([
35
+ (0, class_validator_1.IsString)(),
36
+ (0, class_validator_1.IsOptional)(),
37
+ __metadata("design:type", String)
38
+ ], GetWithdrawalTransactionsQueryDto.prototype, "withdrawalConfigId", void 0);
39
+ //# sourceMappingURL=getWithdrawalTransactionsQuery.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getWithdrawalTransactionsQuery.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/withdraw/dtos/getWithdrawalTransactionsQuery.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAgE;AAChE,sEAAkE;AAElE,MAAa,iCAAkC,SAAQ,4BAAY;CAiBlE;AAjBD,8EAiBC;AAbC;IAHC,IAAA,yBAAO,GAAE;IACT,IAAA,0BAAQ,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IACxB,IAAA,4BAAU,GAAE;;gEACI;AAIjB;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;sEACQ;AAIrB;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;2EACa;AAI1B;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;6EACe"}
@@ -8,4 +8,5 @@ export * from './preparedWithdrawalTypedData.dto';
8
8
  export * from './preparedWithdrawalTypedDataDomain.dto';
9
9
  export * from './preparedWithdrawalTypedDataField.dto';
10
10
  export * from './submitWithdrawal.dto';
11
+ export * from './getWithdrawalTransactionsQuery.dto';
11
12
  export * from './updateWithdrawalConfig.dto';
@@ -24,5 +24,6 @@ __exportStar(require("./preparedWithdrawalTypedData.dto"), exports);
24
24
  __exportStar(require("./preparedWithdrawalTypedDataDomain.dto"), exports);
25
25
  __exportStar(require("./preparedWithdrawalTypedDataField.dto"), exports);
26
26
  __exportStar(require("./submitWithdrawal.dto"), exports);
27
+ __exportStar(require("./getWithdrawalTransactionsQuery.dto"), exports);
27
28
  __exportStar(require("./updateWithdrawalConfig.dto"), exports);
28
29
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/withdraw/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6DAA2C;AAC3C,+DAA6C;AAC7C,4DAA0C;AAC1C,2DAAyC;AACzC,+DAA6C;AAC7C,kEAAgD;AAChD,oEAAkD;AAClD,0EAAwD;AACxD,yEAAuD;AACvD,yDAAuC;AACvC,+DAA6C"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/withdraw/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6DAA2C;AAC3C,+DAA6C;AAC7C,4DAA0C;AAC1C,2DAAyC;AACzC,+DAA6C;AAC7C,kEAAgD;AAChD,oEAAkD;AAClD,0EAAwD;AACxD,yEAAuD;AACvD,yDAAuC;AACvC,uEAAqD;AACrD,+DAA6C"}
@@ -4,4 +4,5 @@ export declare class PreparedWithdrawalDto {
4
4
  amount: string;
5
5
  toCurrencyId: string;
6
6
  sourceCurrencyId: string;
7
+ customerId?: string;
7
8
  }
@@ -36,4 +36,10 @@ __decorate([
36
36
  (0, class_validator_1.IsMongoId)(),
37
37
  __metadata("design:type", String)
38
38
  ], PreparedWithdrawalDto.prototype, "sourceCurrencyId", void 0);
39
+ __decorate([
40
+ (0, class_validator_1.IsOptional)(),
41
+ (0, class_validator_1.IsString)(),
42
+ (0, class_validator_1.MaxLength)(255),
43
+ __metadata("design:type", String)
44
+ ], PreparedWithdrawalDto.prototype, "customerId", void 0);
39
45
  //# sourceMappingURL=preparedWithdrawal.dto.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"preparedWithdrawal.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/withdraw/dtos/preparedWithdrawal.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA2E;AAE3E,MAAa,qBAAqB;CAgCjC;AAhCD,sDAgCC;AAxBC;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;2DACQ;AAOrB;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;wDACK;AAKlB;IADC,IAAA,yBAAO,EAAC,OAAO,CAAC;;qDACF;AAKf;IADC,IAAA,2BAAS,GAAE;;2DACS;AAMrB;IADC,IAAA,2BAAS,GAAE;;+DACa"}
1
+ {"version":3,"file":"preparedWithdrawal.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/withdraw/dtos/preparedWithdrawal.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAOyB;AAEzB,MAAa,qBAAqB;CAuCjC;AAvCD,sDAuCC;AA/BC;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;2DACQ;AAOrB;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;wDACK;AAKlB;IADC,IAAA,yBAAO,EAAC,OAAO,CAAC;;qDACF;AAKf;IADC,IAAA,2BAAS,GAAE;;2DACS;AAMrB;IADC,IAAA,2BAAS,GAAE;;+DACa;AAOzB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,2BAAS,EAAC,GAAG,CAAC;;yDACK"}
@@ -1,8 +1,15 @@
1
+ import { WithdrawalQuoteFeeEntity } from '../entities/WithdrawalQuoteFee.entity';
1
2
  export declare class PreparedWithdrawalSummaryDto {
2
3
  sourceToken: string;
3
4
  sourceAmount: string;
4
5
  destinationToken: string;
5
6
  destinationAmount: string;
6
7
  destinationAmountMin: string;
8
+ maxSlippageBps: number;
9
+ estimatedPriceImpact?: number;
10
+ bridgeFee: WithdrawalQuoteFeeEntity;
11
+ applicationFee: WithdrawalQuoteFeeEntity;
12
+ protocolFee: WithdrawalQuoteFeeEntity;
13
+ totalFee: WithdrawalQuoteFeeEntity;
7
14
  expiresAt: string;
8
15
  }
@@ -1 +1 @@
1
- {"version":3,"file":"preparedWithdrawalSummary.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/withdraw/dtos/preparedWithdrawalSummary.dto.ts"],"names":[],"mappings":";;;AAAA,MAAa,4BAA4B;CAYxC;AAZD,oEAYC"}
1
+ {"version":3,"file":"preparedWithdrawalSummary.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/withdraw/dtos/preparedWithdrawalSummary.dto.ts"],"names":[],"mappings":";;;AAEA,MAAa,4BAA4B;CAwBxC;AAxBD,oEAwBC"}
@@ -1,7 +1,11 @@
1
1
  import { WithdrawalConfigEntity } from './WithdrawalConfig.entity';
2
2
  import { SlimCurrencyWithPopulatedBlockchain } from '../../currency/entities/SlimCurrencyWithPopulatedBlockchain.entity';
3
3
  import { WithdrawalCurrenciesExchangeRate } from './WithdrawalCurrenciesExchangeRate.entity';
4
+ import { WithdrawalMinSupportedVersions } from './WithdrawalMinSupportedVersions.entity';
5
+ import { BaseCompany } from '../../company';
4
6
  export declare class PublicWithdrawalConfigEntity extends WithdrawalConfigEntity {
5
7
  fromCurrencies: SlimCurrencyWithPopulatedBlockchain[];
6
8
  exchangeRates: WithdrawalCurrenciesExchangeRate[];
9
+ minSupportedVersions: WithdrawalMinSupportedVersions;
10
+ company: BaseCompany;
7
11
  }
@@ -1 +1 @@
1
- {"version":3,"file":"PublicWithdrawalConfig.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/withdraw/entities/PublicWithdrawalConfig.entity.ts"],"names":[],"mappings":";;;AAAA,uEAAmE;AAInE,MAAa,4BAA6B,SAAQ,gDAAsB;CAIvE;AAJD,oEAIC"}
1
+ {"version":3,"file":"PublicWithdrawalConfig.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/withdraw/entities/PublicWithdrawalConfig.entity.ts"],"names":[],"mappings":";;;AAAA,uEAAmE;AAMnE,MAAa,4BAA6B,SAAQ,gDAAsB;CAYvE;AAZD,oEAYC"}
@@ -7,4 +7,5 @@ export declare class WithdrawalDetailEntity extends Entity {
7
7
  txHash: string | null;
8
8
  broadcastAck: BroadcastAck | null;
9
9
  errorReason: string | null;
10
+ customerId: string | null;
10
11
  }
@@ -1 +1 @@
1
- {"version":3,"file":"WithdrawalDetail.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/withdraw/entities/WithdrawalDetail.entity.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAItC,MAAa,sBAAuB,SAAQ,eAAM;CAUjD;AAVD,wDAUC"}
1
+ {"version":3,"file":"WithdrawalDetail.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/withdraw/entities/WithdrawalDetail.entity.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAItC,MAAa,sBAAuB,SAAQ,eAAM;CAYjD;AAZD,wDAYC"}
@@ -0,0 +1,20 @@
1
+ import { Entity } from '../../entity';
2
+ import { BroadcastAck } from '../constants/BroadcastAck';
3
+ import { WithdrawalState } from '../constants/WithdrawalState';
4
+ export declare class WithdrawalDetailEnriched extends Entity {
5
+ withdrawalDetailId: string;
6
+ state: WithdrawalState;
7
+ sourceChain: string;
8
+ sourceToken: string;
9
+ sourceAmount: string;
10
+ destinationChain: string;
11
+ destinationToken: string;
12
+ destinationAmount: string;
13
+ destinationWallet: string;
14
+ txHash: string | null;
15
+ broadcastAck: BroadcastAck | null;
16
+ errorReason: string | null;
17
+ customerId: string | null;
18
+ createdAt: Date;
19
+ updatedAt: Date;
20
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.WithdrawalDetailEnriched = void 0;
4
+ const entity_1 = require("../../entity");
5
+ class WithdrawalDetailEnriched extends entity_1.Entity {
6
+ }
7
+ exports.WithdrawalDetailEnriched = WithdrawalDetailEnriched;
8
+ //# sourceMappingURL=WithdrawalDetailEnriched.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WithdrawalDetailEnriched.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/withdraw/entities/WithdrawalDetailEnriched.entity.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAItC,MAAa,wBAAyB,SAAQ,eAAM;CA8BnD;AA9BD,4DA8BC"}
@@ -0,0 +1,30 @@
1
+ import { BlockchainSymbol, DepositBlockchainSymbol } from '../../blockchain';
2
+ import { Entity } from '../../entity';
3
+ import { BroadcastAck } from '../constants/BroadcastAck';
4
+ import { WithdrawalState } from '../constants/WithdrawalState';
5
+ export declare class WithdrawalDetailReceipt extends Entity {
6
+ withdrawalDetailId: string;
7
+ state: WithdrawalState;
8
+ createdAt: Date;
9
+ updatedAt: Date;
10
+ sourceChain: BlockchainSymbol | DepositBlockchainSymbol;
11
+ sourceToken: string;
12
+ sourceAmount: string;
13
+ destinationChain: BlockchainSymbol | DepositBlockchainSymbol;
14
+ destinationToken: string;
15
+ destinationAmount: string;
16
+ sourceWalletAddress: string;
17
+ destinationWallet: string;
18
+ sourceTxHash: string | null;
19
+ sourceTxExplorerLink: string | null;
20
+ destinationTxHash: string | null;
21
+ destinationTxExplorerLink: string | null;
22
+ platformFee: string;
23
+ affiliateFee: string;
24
+ decentBridgeFee: string;
25
+ networkGasSource: string;
26
+ networkGasDest: string | null;
27
+ errorReason: string | null;
28
+ broadcastAck: BroadcastAck | null;
29
+ customerId: string | null;
30
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.WithdrawalDetailReceipt = void 0;
4
+ const entity_1 = require("../../entity");
5
+ class WithdrawalDetailReceipt extends entity_1.Entity {
6
+ }
7
+ exports.WithdrawalDetailReceipt = WithdrawalDetailReceipt;
8
+ //# sourceMappingURL=WithdrawalDetailReceipt.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WithdrawalDetailReceipt.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/withdraw/entities/WithdrawalDetailReceipt.entity.ts"],"names":[],"mappings":";;;AACA,yCAAsC;AAItC,MAAa,uBAAwB,SAAQ,eAAM;CAgDlD;AAhDD,0DAgDC"}
@@ -0,0 +1,8 @@
1
+ import { Entity } from '../../entity';
2
+ export declare enum WithdrawalPackage {
3
+ HELIOFI_WITHDRAW_CORE = "@heliofi/withdraw-core",
4
+ HELIOFI_WITHDRAW_REACT = "@heliofi/withdraw-react"
5
+ }
6
+ export declare class WithdrawalMinSupportedVersions extends Entity {
7
+ packages: Partial<Record<WithdrawalPackage, string>>;
8
+ }
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.WithdrawalMinSupportedVersions = exports.WithdrawalPackage = void 0;
4
+ const entity_1 = require("../../entity");
5
+ var WithdrawalPackage;
6
+ (function (WithdrawalPackage) {
7
+ WithdrawalPackage["HELIOFI_WITHDRAW_CORE"] = "@heliofi/withdraw-core";
8
+ WithdrawalPackage["HELIOFI_WITHDRAW_REACT"] = "@heliofi/withdraw-react";
9
+ })(WithdrawalPackage || (exports.WithdrawalPackage = WithdrawalPackage = {}));
10
+ class WithdrawalMinSupportedVersions extends entity_1.Entity {
11
+ }
12
+ exports.WithdrawalMinSupportedVersions = WithdrawalMinSupportedVersions;
13
+ //# sourceMappingURL=WithdrawalMinSupportedVersions.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WithdrawalMinSupportedVersions.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/withdraw/entities/WithdrawalMinSupportedVersions.entity.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAEtC,IAAY,iBAGX;AAHD,WAAY,iBAAiB;IAC3B,qEAAgD,CAAA;IAChD,uEAAkD,CAAA;AACpD,CAAC,EAHW,iBAAiB,iCAAjB,iBAAiB,QAG5B;AAED,MAAa,8BAA+B,SAAQ,eAAM;CAEzD;AAFD,wEAEC"}
@@ -0,0 +1,6 @@
1
+ import { Entity } from '../../entity';
2
+ import { Currency } from '../../currency/entities/Currency.entity';
3
+ export declare class WithdrawalQuoteFeeEntity extends Entity {
4
+ amount: string;
5
+ currency: Currency | null;
6
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.WithdrawalQuoteFeeEntity = void 0;
4
+ const entity_1 = require("../../entity");
5
+ class WithdrawalQuoteFeeEntity extends entity_1.Entity {
6
+ }
7
+ exports.WithdrawalQuoteFeeEntity = WithdrawalQuoteFeeEntity;
8
+ //# sourceMappingURL=WithdrawalQuoteFee.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WithdrawalQuoteFee.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/withdraw/entities/WithdrawalQuoteFee.entity.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAGtC,MAAa,wBAAyB,SAAQ,eAAM;CAOnD;AAPD,4DAOC"}