@heliofi/common 0.1.215 → 0.1.216

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 (136) hide show
  1. package/dist/src/domain/model/index.d.ts +1 -0
  2. package/dist/src/domain/model/index.js +1 -0
  3. package/dist/src/domain/model/index.js.map +1 -1
  4. package/dist/src/domain/model/nft-escrow/dtos/index.d.ts +3 -0
  5. package/dist/src/domain/model/{accessCodeAuthProperties → nft-escrow}/dtos/index.js +3 -1
  6. package/dist/src/domain/model/nft-escrow/dtos/index.js.map +1 -0
  7. package/dist/src/domain/model/nft-escrow/dtos/nftEscrowCancel.dto.d.ts +5 -0
  8. package/dist/src/domain/model/{transaction-meta/entities/BaseTransactionMeta.js → nft-escrow/dtos/nftEscrowCancel.dto.js} +18 -12
  9. package/dist/src/domain/model/nft-escrow/dtos/nftEscrowCancel.dto.js.map +1 -0
  10. package/dist/src/domain/model/nft-escrow/dtos/nftEscrowCreate.dto.d.ts +7 -0
  11. package/dist/src/domain/model/{refund/dtos/refund.dto.js → nft-escrow/dtos/nftEscrowCreate.dto.js} +17 -13
  12. package/dist/src/domain/model/nft-escrow/dtos/nftEscrowCreate.dto.js.map +1 -0
  13. package/dist/src/domain/model/nft-escrow/dtos/nftEscrowSubmit.dto.d.ts +4 -0
  14. package/dist/src/domain/model/{accessCodeAuthProperties/dtos/accessCodeAuthProperties.dto.js → nft-escrow/dtos/nftEscrowSubmit.dto.js} +10 -5
  15. package/dist/src/domain/model/nft-escrow/dtos/nftEscrowSubmit.dto.js.map +1 -0
  16. package/dist/src/domain/model/nft-escrow/entities/TokenNftEscrowPayload.d.ts +5 -0
  17. package/dist/src/domain/model/nft-escrow/entities/TokenNftEscrowPayload.js +8 -0
  18. package/dist/src/domain/model/nft-escrow/entities/TokenNftEscrowPayload.js.map +1 -0
  19. package/dist/src/domain/model/nft-escrow/entities/index.d.ts +1 -0
  20. package/dist/src/domain/model/{accessCodeAuthProperties → nft-escrow}/entities/index.js +1 -1
  21. package/dist/src/domain/model/nft-escrow/entities/index.js.map +1 -0
  22. package/dist/src/domain/model/nft-escrow/index.js.map +1 -0
  23. package/dist/src/domain/model/prepare-transaction/dtos/prepareEvmTransaction.dto.d.ts +0 -1
  24. package/dist/src/domain/model/prepare-transaction/dtos/prepareEvmTransaction.dto.js +0 -5
  25. package/dist/src/domain/model/prepare-transaction/dtos/prepareEvmTransaction.dto.js.map +1 -1
  26. package/dist/src/domain/model/prepare-transaction/entities/TokenTransactionPayload.d.ts +0 -1
  27. package/dist/src/domain/model/prepare-transaction/entities/TokenTransactionPayload.js +0 -14
  28. package/dist/src/domain/model/prepare-transaction/entities/TokenTransactionPayload.js.map +1 -1
  29. package/dist/tsconfig.tsbuildinfo +1 -1
  30. package/package.json +2 -2
  31. package/dist/src/domain/model/accessCodeAuthProperties/dtos/accessCodeAuthProperties.dto.d.ts +0 -3
  32. package/dist/src/domain/model/accessCodeAuthProperties/dtos/accessCodeAuthProperties.dto.js.map +0 -1
  33. package/dist/src/domain/model/accessCodeAuthProperties/dtos/index.d.ts +0 -1
  34. package/dist/src/domain/model/accessCodeAuthProperties/dtos/index.js.map +0 -1
  35. package/dist/src/domain/model/accessCodeAuthProperties/entities/AccessCodeAuthProperties.d.ts +0 -4
  36. package/dist/src/domain/model/accessCodeAuthProperties/entities/AccessCodeAuthProperties.js +0 -8
  37. package/dist/src/domain/model/accessCodeAuthProperties/entities/AccessCodeAuthProperties.js.map +0 -1
  38. package/dist/src/domain/model/accessCodeAuthProperties/entities/index.d.ts +0 -1
  39. package/dist/src/domain/model/accessCodeAuthProperties/entities/index.js.map +0 -1
  40. package/dist/src/domain/model/accessCodeAuthProperties/index.js.map +0 -1
  41. package/dist/src/domain/model/attachment/entities/BaseAttachment.d.ts +0 -7
  42. package/dist/src/domain/model/attachment/entities/BaseAttachment.js +0 -8
  43. package/dist/src/domain/model/attachment/entities/BaseAttachment.js.map +0 -1
  44. package/dist/src/domain/model/auth/entities/CheckoutAuthToken.d.ts +0 -6
  45. package/dist/src/domain/model/auth/entities/CheckoutAuthToken.js +0 -7
  46. package/dist/src/domain/model/auth/entities/CheckoutAuthToken.js.map +0 -1
  47. package/dist/src/domain/model/blockchain/entities/Blockchain.d.ts +0 -6
  48. package/dist/src/domain/model/blockchain/entities/Blockchain.js +0 -8
  49. package/dist/src/domain/model/blockchain/entities/Blockchain.js.map +0 -1
  50. package/dist/src/domain/model/company/entities/BaseCompany.d.ts +0 -13
  51. package/dist/src/domain/model/company/entities/BaseCompany.js +0 -8
  52. package/dist/src/domain/model/company/entities/BaseCompany.js.map +0 -1
  53. package/dist/src/domain/model/company/entities/Company.d.ts +0 -7
  54. package/dist/src/domain/model/company/entities/Company.js +0 -8
  55. package/dist/src/domain/model/company/entities/Company.js.map +0 -1
  56. package/dist/src/domain/model/currency/entities/BaseCurrency.d.ts +0 -14
  57. package/dist/src/domain/model/currency/entities/BaseCurrency.js +0 -8
  58. package/dist/src/domain/model/currency/entities/BaseCurrency.js.map +0 -1
  59. package/dist/src/domain/model/currency/entities/Currency.d.ts +0 -5
  60. package/dist/src/domain/model/currency/entities/Currency.js +0 -8
  61. package/dist/src/domain/model/currency/entities/Currency.js.map +0 -1
  62. package/dist/src/domain/model/fixed-currency/entities/TokenRatePayload.d.ts +0 -9
  63. package/dist/src/domain/model/fixed-currency/entities/TokenRatePayload.js +0 -8
  64. package/dist/src/domain/model/fixed-currency/entities/TokenRatePayload.js.map +0 -1
  65. package/dist/src/domain/model/funding/entities/Funding.d.ts +0 -6
  66. package/dist/src/domain/model/funding/entities/Funding.js +0 -22
  67. package/dist/src/domain/model/funding/entities/Funding.js.map +0 -1
  68. package/dist/src/domain/model/location/entities/FetchifyFindAddress.d.ts +0 -8
  69. package/dist/src/domain/model/location/entities/FetchifyFindAddress.js +0 -8
  70. package/dist/src/domain/model/location/entities/FetchifyFindAddress.js.map +0 -1
  71. package/dist/src/domain/model/location/entities/FetchifyRetrieveAddress.d.ts +0 -13
  72. package/dist/src/domain/model/location/entities/FetchifyRetrieveAddress.js +0 -8
  73. package/dist/src/domain/model/location/entities/FetchifyRetrieveAddress.js.map +0 -1
  74. package/dist/src/domain/model/paylink/entities/OnlyContentAndTransactionPaylink.d.ts +0 -13
  75. package/dist/src/domain/model/paylink/entities/OnlyContentAndTransactionPaylink.js +0 -11
  76. package/dist/src/domain/model/paylink/entities/OnlyContentAndTransactionPaylink.js.map +0 -1
  77. package/dist/src/domain/model/paystream/entities/IntervalType.d.ts +0 -9
  78. package/dist/src/domain/model/paystream/entities/IntervalType.js +0 -14
  79. package/dist/src/domain/model/paystream/entities/IntervalType.js.map +0 -1
  80. package/dist/src/domain/model/paystream-tx/dtos/createPaystreamTxDto.d.ts +0 -11
  81. package/dist/src/domain/model/paystream-tx/dtos/createPaystreamTxDto.js +0 -57
  82. package/dist/src/domain/model/paystream-tx/dtos/createPaystreamTxDto.js.map +0 -1
  83. package/dist/src/domain/model/paystream-tx/dtos/updatePaystreamTxDto.d.ts +0 -6
  84. package/dist/src/domain/model/paystream-tx/dtos/updatePaystreamTxDto.js +0 -36
  85. package/dist/src/domain/model/paystream-tx/dtos/updatePaystreamTxDto.js.map +0 -1
  86. package/dist/src/domain/model/paystream-tx/entities/CheckoutStatus.d.ts +0 -16
  87. package/dist/src/domain/model/paystream-tx/entities/CheckoutStatus.js +0 -7
  88. package/dist/src/domain/model/paystream-tx/entities/CheckoutStatus.js.map +0 -1
  89. package/dist/src/domain/model/paystream-tx/entities/PaystreamTx.d.ts +0 -20
  90. package/dist/src/domain/model/paystream-tx/entities/PaystreamTx.js +0 -37
  91. package/dist/src/domain/model/paystream-tx/entities/PaystreamTx.js.map +0 -1
  92. package/dist/src/domain/model/prepare-invoice/entities/PrepareInvoice.d.ts +0 -5
  93. package/dist/src/domain/model/prepare-invoice/entities/PrepareInvoice.js +0 -8
  94. package/dist/src/domain/model/prepare-invoice/entities/PrepareInvoice.js.map +0 -1
  95. package/dist/src/domain/model/prepare-refund/entities/index.d.ts +0 -0
  96. package/dist/src/domain/model/prepare-refund/entities/index.js +0 -1
  97. package/dist/src/domain/model/prepare-refund/entities/index.js.map +0 -1
  98. package/dist/src/domain/model/prepare-stream/entities/FundingTokenPayload.d.ts +0 -4
  99. package/dist/src/domain/model/prepare-stream/entities/FundingTokenPayload.js +0 -8
  100. package/dist/src/domain/model/prepare-stream/entities/FundingTokenPayload.js.map +0 -1
  101. package/dist/src/domain/model/prepare-stream/entities/TokenStreamPayload.d.ts +0 -8
  102. package/dist/src/domain/model/prepare-stream/entities/TokenStreamPayload.js +0 -8
  103. package/dist/src/domain/model/prepare-stream/entities/TokenStreamPayload.js.map +0 -1
  104. package/dist/src/domain/model/prepare-transaction/entities/PrepareSwapTransaction.d.ts +0 -5
  105. package/dist/src/domain/model/prepare-transaction/entities/PrepareSwapTransaction.js +0 -7
  106. package/dist/src/domain/model/prepare-transaction/entities/PrepareSwapTransaction.js.map +0 -1
  107. package/dist/src/domain/model/prepare-transaction/entities/PrepareTransaction.d.ts +0 -5
  108. package/dist/src/domain/model/prepare-transaction/entities/PrepareTransaction.js +0 -8
  109. package/dist/src/domain/model/prepare-transaction/entities/PrepareTransaction.js.map +0 -1
  110. package/dist/src/domain/model/refund/dtos/refund.dto.d.ts +0 -7
  111. package/dist/src/domain/model/refund/dtos/refund.dto.js.map +0 -1
  112. package/dist/src/domain/model/report/entities/ReportItem.d.ts +0 -37
  113. package/dist/src/domain/model/report/entities/ReportItem.js +0 -7
  114. package/dist/src/domain/model/report/entities/ReportItem.js.map +0 -1
  115. package/dist/src/domain/model/token-quoting/entities/TokenQuoting.d.ts +0 -4
  116. package/dist/src/domain/model/token-quoting/entities/TokenQuoting.js +0 -8
  117. package/dist/src/domain/model/token-quoting/entities/TokenQuoting.js.map +0 -1
  118. package/dist/src/domain/model/token-swap/entities/SwapRouteToken.d.ts +0 -4
  119. package/dist/src/domain/model/token-swap/entities/SwapRouteToken.js +0 -8
  120. package/dist/src/domain/model/token-swap/entities/SwapRouteToken.js.map +0 -1
  121. package/dist/src/domain/model/transaction-meta/entities/BaseTransactionMeta.d.ts +0 -16
  122. package/dist/src/domain/model/transaction-meta/entities/BaseTransactionMeta.js.map +0 -1
  123. package/dist/src/domain/model/user/entities/BaseUser.d.ts +0 -9
  124. package/dist/src/domain/model/user/entities/BaseUser.js +0 -8
  125. package/dist/src/domain/model/user/entities/BaseUser.js.map +0 -1
  126. package/dist/src/domain/model/wallet/entities/BaseWallet.d.ts +0 -5
  127. package/dist/src/domain/model/wallet/entities/BaseWallet.js +0 -8
  128. package/dist/src/domain/model/wallet/entities/BaseWallet.js.map +0 -1
  129. package/dist/src/domain/model/wallet/entities/Wallet.d.ts +0 -7
  130. package/dist/src/domain/model/wallet/entities/Wallet.js +0 -8
  131. package/dist/src/domain/model/wallet/entities/Wallet.js.map +0 -1
  132. package/dist/src/domain/model/wallet/entities/WalletDetails.d.ts +0 -4
  133. package/dist/src/domain/model/wallet/entities/WalletDetails.js +0 -8
  134. package/dist/src/domain/model/wallet/entities/WalletDetails.js.map +0 -1
  135. /package/dist/src/domain/model/{accessCodeAuthProperties → nft-escrow}/index.d.ts +0 -0
  136. /package/dist/src/domain/model/{accessCodeAuthProperties → nft-escrow}/index.js +0 -0
@@ -70,3 +70,4 @@ export * from './submit-refund';
70
70
  export * from './enrich-payment-request';
71
71
  export * from './nft-drop';
72
72
  export * from './discount-codes';
73
+ export * from './nft-escrow';
@@ -86,4 +86,5 @@ __exportStar(require("./submit-refund"), exports);
86
86
  __exportStar(require("./enrich-payment-request"), exports);
87
87
  __exportStar(require("./nft-drop"), exports);
88
88
  __exportStar(require("./discount-codes"), exports);
89
+ __exportStar(require("./nft-escrow"), exports);
89
90
  //# 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,0DAAwC;AACxC,qDAAmC;AACnC,mDAAiC;AACjC,6CAA2B;AAC3B,4CAA0B;AAC1B,2CAAyB;AACzB,+CAA6B;AAC7B,+CAA6B;AAC7B,4CAA0B;AAC1B,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,mDAAiC;AACjC,4CAA0B;AAC1B,gDAA8B;AAC9B,mDAAiC;AACjC,+CAA6B;AAC7B,+CAA6B;AAC7B,0CAAwB;AACxB,mDAAiC;AACjC,kDAAgC;AAChC,wCAAsB;AACtB,oDAAkC;AAClC,gDAA8B;AAC9B,qDAAmC;AACnC,6CAA2B;AAC3B,4DAA0C;AAC1C,gEAA8C;AAC9C,+DAA6C;AAC7C,uDAAqC;AACrC,0CAAwB;AACxB,+CAA6B;AAC7B,4CAA0B;AAC1B,mDAAiC;AACjC,mDAAiC;AACjC,2CAAyB;AACzB,kDAAgC;AAChC,2DAAyC;AACzC,6CAA2B;AAC3B,mDAAiC"}
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,0DAAwC;AACxC,qDAAmC;AACnC,mDAAiC;AACjC,6CAA2B;AAC3B,4CAA0B;AAC1B,2CAAyB;AACzB,+CAA6B;AAC7B,+CAA6B;AAC7B,4CAA0B;AAC1B,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,mDAAiC;AACjC,4CAA0B;AAC1B,gDAA8B;AAC9B,mDAAiC;AACjC,+CAA6B;AAC7B,+CAA6B;AAC7B,0CAAwB;AACxB,mDAAiC;AACjC,kDAAgC;AAChC,wCAAsB;AACtB,oDAAkC;AAClC,gDAA8B;AAC9B,qDAAmC;AACnC,6CAA2B;AAC3B,4DAA0C;AAC1C,gEAA8C;AAC9C,+DAA6C;AAC7C,uDAAqC;AACrC,0CAAwB;AACxB,+CAA6B;AAC7B,4CAA0B;AAC1B,mDAAiC;AACjC,mDAAiC;AACjC,2CAAyB;AACzB,kDAAgC;AAChC,2DAAyC;AACzC,6CAA2B;AAC3B,mDAAiC;AACjC,+CAA6B"}
@@ -0,0 +1,3 @@
1
+ export * from './nftEscrowCreate.dto';
2
+ export * from './nftEscrowSubmit.dto';
3
+ export * from './nftEscrowCancel.dto';
@@ -14,5 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./accessCodeAuthProperties.dto"), exports);
17
+ __exportStar(require("./nftEscrowCreate.dto"), exports);
18
+ __exportStar(require("./nftEscrowSubmit.dto"), exports);
19
+ __exportStar(require("./nftEscrowCancel.dto"), exports);
18
20
  //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/nft-escrow/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wDAAsC;AACtC,wDAAsC;AACtC,wDAAsC"}
@@ -0,0 +1,5 @@
1
+ export declare class NftEscrowCancelDto {
2
+ ownerPK: string;
3
+ escrowAccountPK: string;
4
+ mintAddress: string;
5
+ }
@@ -9,18 +9,24 @@ var __metadata = (this && this.__metadata) || function (k, v) {
9
9
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.BaseTransactionMeta = void 0;
13
- const class_transformer_1 = require("class-transformer");
14
- const entity_1 = require("../../entity");
15
- class BaseTransactionMeta extends entity_1.Entity {
12
+ exports.NftEscrowCancelDto = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ class NftEscrowCancelDto {
16
15
  }
17
16
  __decorate([
18
- (0, class_transformer_1.Transform)(({ value }) => BigInt(value)),
19
- __metadata("design:type", BigInt)
20
- ], BaseTransactionMeta.prototype, "amount", void 0);
17
+ (0, class_validator_1.IsString)(),
18
+ (0, class_validator_1.IsNotEmpty)(),
19
+ __metadata("design:type", String)
20
+ ], NftEscrowCancelDto.prototype, "ownerPK", void 0);
21
21
  __decorate([
22
- (0, class_transformer_1.Transform)(({ value }) => BigInt(value)),
23
- __metadata("design:type", BigInt)
24
- ], BaseTransactionMeta.prototype, "totalAmount", void 0);
25
- exports.BaseTransactionMeta = BaseTransactionMeta;
26
- //# sourceMappingURL=BaseTransactionMeta.js.map
22
+ (0, class_validator_1.IsString)(),
23
+ (0, class_validator_1.IsNotEmpty)(),
24
+ __metadata("design:type", String)
25
+ ], NftEscrowCancelDto.prototype, "escrowAccountPK", void 0);
26
+ __decorate([
27
+ (0, class_validator_1.IsString)(),
28
+ (0, class_validator_1.IsNotEmpty)(),
29
+ __metadata("design:type", String)
30
+ ], NftEscrowCancelDto.prototype, "mintAddress", void 0);
31
+ exports.NftEscrowCancelDto = NftEscrowCancelDto;
32
+ //# sourceMappingURL=nftEscrowCancel.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"nftEscrowCancel.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/nft-escrow/dtos/nftEscrowCancel.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuD;AAEvD,MAAa,kBAAkB;CAY9B;AAXC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;mDACG;AAEhB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;2DACW;AAExB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;uDACO;AAXtB,gDAYC"}
@@ -0,0 +1,7 @@
1
+ export declare class NftEscrowCreateDto {
2
+ price: string;
3
+ ownerPK: string;
4
+ escrowAccountPK: string;
5
+ mintAddress: string;
6
+ currencyMintAddress: string;
7
+ }
@@ -9,31 +9,35 @@ 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.RefundDto = void 0;
13
- const class_validator_1 = require("class-validator");
12
+ exports.NftEscrowCreateDto = void 0;
14
13
  const class_transformer_1 = require("class-transformer");
15
- const transaction_meta_1 = require("../../transaction-meta");
16
- class RefundDto {
14
+ const class_validator_1 = require("class-validator");
15
+ class NftEscrowCreateDto {
17
16
  }
17
+ __decorate([
18
+ (0, class_validator_1.IsNotEmpty)(),
19
+ (0, class_transformer_1.Transform)(({ value }) => BigInt(value)),
20
+ __metadata("design:type", String)
21
+ ], NftEscrowCreateDto.prototype, "price", void 0);
18
22
  __decorate([
19
23
  (0, class_validator_1.IsString)(),
20
24
  (0, class_validator_1.IsNotEmpty)(),
21
25
  __metadata("design:type", String)
22
- ], RefundDto.prototype, "transactionSignature", void 0);
26
+ ], NftEscrowCreateDto.prototype, "ownerPK", void 0);
23
27
  __decorate([
24
- (0, class_validator_1.IsEnum)(transaction_meta_1.TransactionStatus),
28
+ (0, class_validator_1.IsString)(),
25
29
  (0, class_validator_1.IsNotEmpty)(),
26
30
  __metadata("design:type", String)
27
- ], RefundDto.prototype, "transactionStatus", void 0);
31
+ ], NftEscrowCreateDto.prototype, "escrowAccountPK", void 0);
28
32
  __decorate([
29
- (0, class_transformer_1.Transform)(({ value }) => BigInt(value)),
33
+ (0, class_validator_1.IsString)(),
30
34
  (0, class_validator_1.IsNotEmpty)(),
31
- __metadata("design:type", BigInt)
32
- ], RefundDto.prototype, "amount", void 0);
35
+ __metadata("design:type", String)
36
+ ], NftEscrowCreateDto.prototype, "mintAddress", void 0);
33
37
  __decorate([
34
38
  (0, class_validator_1.IsString)(),
35
39
  (0, class_validator_1.IsNotEmpty)(),
36
40
  __metadata("design:type", String)
37
- ], RefundDto.prototype, "currency", void 0);
38
- exports.RefundDto = RefundDto;
39
- //# sourceMappingURL=refund.dto.js.map
41
+ ], NftEscrowCreateDto.prototype, "currencyMintAddress", void 0);
42
+ exports.NftEscrowCreateDto = NftEscrowCreateDto;
43
+ //# sourceMappingURL=nftEscrowCreate.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"nftEscrowCreate.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/nft-escrow/dtos/nftEscrowCreate.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA8C;AAC9C,qDAAuD;AAEvD,MAAa,kBAAkB;CAoB9B;AAnBC;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;;iDAC1B;AAEd;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;mDACG;AAEhB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;2DACW;AAExB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;uDACO;AAEpB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;+DACe;AAnB9B,gDAoBC"}
@@ -0,0 +1,4 @@
1
+ export declare class NftEscrowSubmitDto {
2
+ signedTransaction: string;
3
+ transactionToken?: string;
4
+ }
@@ -9,14 +9,19 @@ 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.AccessCodeAuthPropertiesDto = void 0;
12
+ exports.NftEscrowSubmitDto = void 0;
13
13
  const class_validator_1 = require("class-validator");
14
- class AccessCodeAuthPropertiesDto {
14
+ class NftEscrowSubmitDto {
15
15
  }
16
16
  __decorate([
17
17
  (0, class_validator_1.IsString)(),
18
18
  (0, class_validator_1.IsNotEmpty)(),
19
19
  __metadata("design:type", String)
20
- ], AccessCodeAuthPropertiesDto.prototype, "accessCode", void 0);
21
- exports.AccessCodeAuthPropertiesDto = AccessCodeAuthPropertiesDto;
22
- //# sourceMappingURL=accessCodeAuthProperties.dto.js.map
20
+ ], NftEscrowSubmitDto.prototype, "signedTransaction", void 0);
21
+ __decorate([
22
+ (0, class_validator_1.IsString)(),
23
+ (0, class_validator_1.IsOptional)(),
24
+ __metadata("design:type", String)
25
+ ], NftEscrowSubmitDto.prototype, "transactionToken", void 0);
26
+ exports.NftEscrowSubmitDto = NftEscrowSubmitDto;
27
+ //# sourceMappingURL=nftEscrowSubmit.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"nftEscrowSubmit.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/nft-escrow/dtos/nftEscrowSubmit.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAmE;AAEnE,MAAa,kBAAkB;CAQ9B;AAPC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;6DACa;AAE1B;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;4DACa;AAP5B,gDAQC"}
@@ -0,0 +1,5 @@
1
+ import { Entity } from '../../entity';
2
+ export declare class TokenNftEscrowPayload extends Entity {
3
+ hash: string;
4
+ sessionHash?: string;
5
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TokenNftEscrowPayload = void 0;
4
+ const entity_1 = require("../../entity");
5
+ class TokenNftEscrowPayload extends entity_1.Entity {
6
+ }
7
+ exports.TokenNftEscrowPayload = TokenNftEscrowPayload;
8
+ //# sourceMappingURL=TokenNftEscrowPayload.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TokenNftEscrowPayload.js","sourceRoot":"","sources":["../../../../../../src/domain/model/nft-escrow/entities/TokenNftEscrowPayload.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAEtC,MAAa,qBAAsB,SAAQ,eAAM;CAIhD;AAJD,sDAIC"}
@@ -0,0 +1 @@
1
+ export * from './TokenNftEscrowPayload';
@@ -14,5 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./AccessCodeAuthProperties"), exports);
17
+ __exportStar(require("./TokenNftEscrowPayload"), exports);
18
18
  //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/nft-escrow/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0DAAwC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/domain/model/nft-escrow/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAuB;AACvB,6CAA2B"}
@@ -6,7 +6,6 @@ export declare class PrepareEvmTransactionDto extends PreparePaymentRequestDto {
6
6
  amount?: string;
7
7
  quantity?: number;
8
8
  fixedCurrencyRateToken?: string;
9
- discountToken?: string;
10
9
  customerDetails?: CustomerDetailsDto;
11
10
  productDetails?: ProductDetailsDto;
12
11
  }
@@ -37,11 +37,6 @@ __decorate([
37
37
  (0, class_validator_1.IsOptional)(),
38
38
  __metadata("design:type", String)
39
39
  ], PrepareEvmTransactionDto.prototype, "fixedCurrencyRateToken", void 0);
40
- __decorate([
41
- (0, class_validator_1.IsString)(),
42
- (0, class_validator_1.IsOptional)(),
43
- __metadata("design:type", String)
44
- ], PrepareEvmTransactionDto.prototype, "discountToken", void 0);
45
40
  __decorate([
46
41
  (0, class_transformer_1.Type)(() => customer_details_1.CustomerDetailsDto),
47
42
  (0, class_validator_1.ValidateNested)(),
@@ -1 +1 @@
1
- {"version":3,"file":"prepareEvmTransaction.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/prepare-transaction/dtos/prepareEvmTransaction.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAMyB;AACzB,yDAAoD;AACpD,2EAAyE;AACzE,2DAA0D;AAC1D,6DAA4D;AAE5D,MAAa,wBAAyB,SAAQ,kDAAwB;CA8BrE;AA7BC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;0DACI;AAEjB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;;wDACxB;AAEhB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;0DACK;AAElB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;wEACmB;AAEhC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;+DACU;AAEvB;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,qCAAkB,CAAC;IAC9B,IAAA,gCAAc,GAAE;IAChB,IAAA,4BAAU,GAAE;8BACK,qCAAkB;iEAAC;AAErC;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,mCAAiB,CAAC;IAC7B,IAAA,gCAAc,GAAE;IAChB,IAAA,4BAAU,GAAE;8BACI,mCAAiB;gEAAC;AA7BrC,4DA8BC"}
1
+ {"version":3,"file":"prepareEvmTransaction.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/prepare-transaction/dtos/prepareEvmTransaction.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAMyB;AACzB,yDAAoD;AACpD,2EAAyE;AACzE,2DAA0D;AAC1D,6DAA4D;AAE5D,MAAa,wBAAyB,SAAQ,kDAAwB;CA0BrE;AAzBC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;0DACI;AAEjB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;;wDACxB;AAEhB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;0DACK;AAElB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;wEACmB;AAEhC;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,qCAAkB,CAAC;IAC9B,IAAA,gCAAc,GAAE;IAChB,IAAA,4BAAU,GAAE;8BACK,qCAAkB;iEAAC;AAErC;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,mCAAiB,CAAC;IAC7B,IAAA,gCAAc,GAAE;IAChB,IAAA,4BAAU,GAAE;8BACI,mCAAiB;gEAAC;AAzBrC,4DA0BC"}
@@ -6,7 +6,6 @@ export declare class TokenTransactionPayload extends Entity {
6
6
  paymentRequestId: string;
7
7
  feeProperties: FeeProperties;
8
8
  sessionHash?: string;
9
- finalAmount?: string;
10
9
  eventName?: EventName;
11
10
  transactionDbId?: string;
12
11
  }
@@ -1,22 +1,8 @@
1
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
2
  Object.defineProperty(exports, "__esModule", { value: true });
12
3
  exports.TokenTransactionPayload = void 0;
13
- const class_transformer_1 = require("class-transformer");
14
4
  const entity_1 = require("../../entity");
15
5
  class TokenTransactionPayload extends entity_1.Entity {
16
6
  }
17
- __decorate([
18
- (0, class_transformer_1.Transform)(({ value }) => BigInt(value)),
19
- __metadata("design:type", String)
20
- ], TokenTransactionPayload.prototype, "finalAmount", void 0);
21
7
  exports.TokenTransactionPayload = TokenTransactionPayload;
22
8
  //# sourceMappingURL=TokenTransactionPayload.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"TokenTransactionPayload.js","sourceRoot":"","sources":["../../../../../../src/domain/model/prepare-transaction/entities/TokenTransactionPayload.ts"],"names":[],"mappings":";;;;;;;;;;;;AACA,yDAA8C;AAC9C,yCAAsC;AAGtC,MAAa,uBAAwB,SAAQ,eAAM;CAelD;AANC;IAAC,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;;4DACnB;AAVvB,0DAeC"}
1
+ {"version":3,"file":"TokenTransactionPayload.js","sourceRoot":"","sources":["../../../../../../src/domain/model/prepare-transaction/entities/TokenTransactionPayload.ts"],"names":[],"mappings":";;;AACA,yCAAsC;AAGtC,MAAa,uBAAwB,SAAQ,eAAM;CAYlD;AAZD,0DAYC"}