@heliofi/common 0.1.234 → 0.1.235

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 (103) hide show
  1. package/dist/src/domain/constants/escrow.d.ts +1 -0
  2. package/dist/src/domain/constants/escrow.js +5 -0
  3. package/dist/src/domain/constants/escrow.js.map +1 -0
  4. package/dist/src/domain/model/escrow-cancel-transaction-meta/entities/EscrowCancelTransactionMeta.entity.d.ts +5 -0
  5. package/dist/src/domain/model/escrow-cancel-transaction-meta/entities/EscrowCancelTransactionMeta.entity.js +8 -0
  6. package/dist/src/domain/model/escrow-cancel-transaction-meta/entities/EscrowCancelTransactionMeta.entity.js.map +1 -0
  7. package/dist/src/domain/model/escrow-cancel-transaction-meta/entities/index.d.ts +1 -0
  8. package/dist/src/domain/model/escrow-cancel-transaction-meta/entities/index.js +18 -0
  9. package/dist/src/domain/model/escrow-cancel-transaction-meta/entities/index.js.map +1 -0
  10. package/dist/src/domain/model/escrow-cancel-transaction-meta/index.d.ts +1 -0
  11. package/dist/src/domain/model/escrow-cancel-transaction-meta/index.js +18 -0
  12. package/dist/src/domain/model/escrow-cancel-transaction-meta/index.js.map +1 -0
  13. package/dist/src/domain/model/escrow-transaction/dtos/EscrowTransactionMeta.dto.d.ts +6 -0
  14. package/dist/src/domain/model/escrow-transaction/dtos/EscrowTransactionMeta.dto.js +33 -0
  15. package/dist/src/domain/model/escrow-transaction/dtos/EscrowTransactionMeta.dto.js.map +1 -0
  16. package/dist/src/domain/model/escrow-transaction/dtos/index.d.ts +1 -0
  17. package/dist/src/domain/model/escrow-transaction/dtos/index.js +18 -0
  18. package/dist/src/domain/model/escrow-transaction/dtos/index.js.map +1 -0
  19. package/dist/src/domain/model/escrow-transaction/entities/BaseEscrowTransactionMeta.entity.d.ts +6 -0
  20. package/dist/src/domain/model/escrow-transaction/entities/BaseEscrowTransactionMeta.entity.js +8 -0
  21. package/dist/src/domain/model/escrow-transaction/entities/BaseEscrowTransactionMeta.entity.js.map +1 -0
  22. package/dist/src/domain/model/escrow-transaction/entities/BaseTransactionMeta.entity.d.ts +6 -0
  23. package/dist/src/domain/model/escrow-transaction/entities/BaseTransactionMeta.entity.js +8 -0
  24. package/dist/src/domain/model/escrow-transaction/entities/BaseTransactionMeta.entity.js.map +1 -0
  25. package/dist/src/domain/model/escrow-transaction/entities/EscrowCancelTransactionMeta.entity.d.ts +3 -0
  26. package/dist/src/domain/model/escrow-transaction/entities/EscrowCancelTransactionMeta.entity.js +8 -0
  27. package/dist/src/domain/model/escrow-transaction/entities/EscrowCancelTransactionMeta.entity.js.map +1 -0
  28. package/dist/src/domain/model/escrow-transaction/entities/EscrowTransactionMeta.entity.d.ts +4 -0
  29. package/dist/src/domain/model/escrow-transaction/entities/EscrowTransactionMeta.entity.js +8 -0
  30. package/dist/src/domain/model/escrow-transaction/entities/EscrowTransactionMeta.entity.js.map +1 -0
  31. package/dist/src/domain/model/escrow-transaction/entities/index.d.ts +2 -0
  32. package/dist/src/domain/model/escrow-transaction/entities/index.js +19 -0
  33. package/dist/src/domain/model/escrow-transaction/entities/index.js.map +1 -0
  34. package/dist/src/domain/model/escrow-transaction/index.d.ts +2 -0
  35. package/dist/src/domain/model/escrow-transaction/index.js +19 -0
  36. package/dist/src/domain/model/escrow-transaction/index.js.map +1 -0
  37. package/dist/src/domain/model/escrow-transaction-meta/entities/EscrowTransactionMeta.entity.d.ts +6 -0
  38. package/dist/src/domain/model/escrow-transaction-meta/entities/EscrowTransactionMeta.entity.js +8 -0
  39. package/dist/src/domain/model/escrow-transaction-meta/entities/EscrowTransactionMeta.entity.js.map +1 -0
  40. package/dist/src/domain/model/escrow-transaction-meta/entities/index.d.ts +1 -0
  41. package/dist/src/domain/model/escrow-transaction-meta/entities/index.js +18 -0
  42. package/dist/src/domain/model/escrow-transaction-meta/entities/index.js.map +1 -0
  43. package/dist/src/domain/model/escrow-transaction-meta/index.d.ts +1 -0
  44. package/dist/src/domain/model/escrow-transaction-meta/index.js +18 -0
  45. package/dist/src/domain/model/escrow-transaction-meta/index.js.map +1 -0
  46. package/dist/src/domain/model/index.d.ts +2 -0
  47. package/dist/src/domain/model/index.js +2 -0
  48. package/dist/src/domain/model/index.js.map +1 -1
  49. package/dist/src/domain/model/nft-drop/constants/index.d.ts +1 -0
  50. package/dist/src/domain/model/nft-drop/constants/index.js +18 -0
  51. package/dist/src/domain/model/nft-drop/constants/index.js.map +1 -0
  52. package/dist/src/domain/model/nft-drop/constants/nftDropState.d.ts +9 -0
  53. package/dist/src/domain/model/nft-drop/constants/nftDropState.js +14 -0
  54. package/dist/src/domain/model/nft-drop/constants/nftDropState.js.map +1 -0
  55. package/dist/src/domain/model/nft-drop/dtos/index.d.ts +1 -0
  56. package/dist/src/domain/model/nft-drop/dtos/index.js +1 -0
  57. package/dist/src/domain/model/nft-drop/dtos/index.js.map +1 -1
  58. package/dist/src/domain/model/nft-drop/dtos/nftDrop.dto.d.ts +0 -1
  59. package/dist/src/domain/model/nft-drop/dtos/nftDrop.dto.js +0 -5
  60. package/dist/src/domain/model/nft-drop/dtos/nftDrop.dto.js.map +1 -1
  61. package/dist/src/domain/model/nft-drop/dtos/updateNftDrop.dto.d.ts +8 -0
  62. package/dist/src/domain/model/nft-drop/dtos/updateNftDrop.dto.js +42 -0
  63. package/dist/src/domain/model/nft-drop/dtos/updateNftDrop.dto.js.map +1 -0
  64. package/dist/src/domain/model/nft-drop/dtos/updateNftDropDto.d.ts +8 -0
  65. package/dist/src/domain/model/nft-drop/dtos/updateNftDropDto.js +42 -0
  66. package/dist/src/domain/model/nft-drop/dtos/updateNftDropDto.js.map +1 -0
  67. package/dist/src/domain/model/nft-drop/entities/NftDrop.entity.d.ts +6 -2
  68. package/dist/src/domain/model/nft-drop/entities/NftDrop.entity.js.map +1 -1
  69. package/dist/src/domain/model/nft-drop/index.d.ts +1 -0
  70. package/dist/src/domain/model/nft-drop/index.js +1 -0
  71. package/dist/src/domain/model/nft-drop/index.js.map +1 -1
  72. package/dist/src/domain/model/nft-escrow/dtos/index.d.ts +3 -0
  73. package/dist/src/domain/model/nft-escrow/dtos/index.js +20 -0
  74. package/dist/src/domain/model/nft-escrow/dtos/index.js.map +1 -0
  75. package/dist/src/domain/model/nft-escrow/dtos/nftEscrowCancel.dto.d.ts +5 -0
  76. package/dist/src/domain/model/nft-escrow/dtos/nftEscrowCancel.dto.js +32 -0
  77. package/dist/src/domain/model/nft-escrow/dtos/nftEscrowCancel.dto.js.map +1 -0
  78. package/dist/src/domain/model/nft-escrow/dtos/nftEscrowCreate.dto.d.ts +7 -0
  79. package/dist/src/domain/model/nft-escrow/dtos/nftEscrowCreate.dto.js +43 -0
  80. package/dist/src/domain/model/nft-escrow/dtos/nftEscrowCreate.dto.js.map +1 -0
  81. package/dist/src/domain/model/nft-escrow/dtos/nftEscrowSubmit.dto.d.ts +5 -0
  82. package/dist/src/domain/model/nft-escrow/dtos/nftEscrowSubmit.dto.js +32 -0
  83. package/dist/src/domain/model/nft-escrow/dtos/nftEscrowSubmit.dto.js.map +1 -0
  84. package/dist/src/domain/model/nft-escrow/entities/TokenNftEscrowPayload.d.ts +5 -0
  85. package/dist/src/domain/model/nft-escrow/entities/TokenNftEscrowPayload.entity.d.ts +5 -0
  86. package/dist/src/domain/model/nft-escrow/entities/TokenNftEscrowPayload.entity.js +8 -0
  87. package/dist/src/domain/model/nft-escrow/entities/TokenNftEscrowPayload.entity.js.map +1 -0
  88. package/dist/src/domain/model/nft-escrow/entities/TokenNftEscrowPayload.js +8 -0
  89. package/dist/src/domain/model/nft-escrow/entities/TokenNftEscrowPayload.js.map +1 -0
  90. package/dist/src/domain/model/nft-escrow/entities/index.d.ts +1 -0
  91. package/dist/src/domain/model/nft-escrow/entities/index.js +18 -0
  92. package/dist/src/domain/model/nft-escrow/entities/index.js.map +1 -0
  93. package/dist/src/domain/model/nft-escrow/index.d.ts +2 -0
  94. package/dist/src/domain/model/nft-escrow/index.js +19 -0
  95. package/dist/src/domain/model/nft-escrow/index.js.map +1 -0
  96. package/dist/src/domain/model/payment-request/dtos/updatePaymentRequest.dto.d.ts +2 -2
  97. package/dist/src/domain/model/payment-request/dtos/updatePaymentRequest.dto.js +2 -2
  98. package/dist/src/domain/model/payment-request/dtos/updatePaymentRequest.dto.js.map +1 -1
  99. package/dist/src/domain/model/transaction-meta/constants/TransactionType.d.ts +2 -1
  100. package/dist/src/domain/model/transaction-meta/constants/TransactionType.js +1 -0
  101. package/dist/src/domain/model/transaction-meta/constants/TransactionType.js.map +1 -1
  102. package/dist/tsconfig.tsbuildinfo +1 -1
  103. package/package.json +2 -2
@@ -0,0 +1 @@
1
+ {"version":3,"file":"updateNftDropDto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/nft-drop/dtos/updateNftDropDto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAKyB;AACzB,4CAA4C;AAC5C,iEAGkC;AAClC,yDAAyC;AAEzC,MAAa,gBAAgB;CAkB5B;AAjBC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;+CACQ;AAErB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,6CAAwB,CAAC;IACpC,IAAA,gCAAc,GAAE;8BACR,0CAAqB;gDAAC;AAE/B;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,6CAAwB,CAAC;IACpC,IAAA,gCAAc,GAAE;8BACF,0CAAqB;sDAAC;AAErC;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;kDACM;AAjBrB,4CAkBC"}
@@ -1,6 +1,10 @@
1
1
  import { Entity } from '../../entity';
2
+ import { EscrowTransactionMeta, EscrowCancelTransactionMeta } from '../../escrow-transaction';
3
+ import { NftDropState } from '../constants';
2
4
  export declare class NftDrop extends Entity {
3
5
  mintAddresses: string[];
4
- escrowAccountPK: string;
5
- disabled: boolean;
6
+ state: NftDropState;
7
+ escrow: EscrowTransactionMeta;
8
+ disabled?: boolean;
9
+ escrowCancel?: EscrowCancelTransactionMeta;
6
10
  }
@@ -1 +1 @@
1
- {"version":3,"file":"NftDrop.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/nft-drop/entities/NftDrop.entity.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAEtC,MAAa,OAAQ,SAAQ,eAAM;CAMlC;AAND,0BAMC"}
1
+ {"version":3,"file":"NftDrop.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/nft-drop/entities/NftDrop.entity.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAOtC,MAAa,OAAQ,SAAQ,eAAM;CAUlC;AAVD,0BAUC"}
@@ -1,2 +1,3 @@
1
1
  export * from './dtos';
2
2
  export * from './entities';
3
+ export * from './constants';
@@ -16,4 +16,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./dtos"), exports);
18
18
  __exportStar(require("./entities"), exports);
19
+ __exportStar(require("./constants"), exports);
19
20
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/domain/model/nft-drop/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAuB;AACvB,6CAA2B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/domain/model/nft-drop/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAuB;AACvB,6CAA2B;AAC3B,8CAA4B"}
@@ -0,0 +1,3 @@
1
+ export * from './nftEscrowCreate.dto';
2
+ export * from './nftEscrowCancel.dto';
3
+ export * from './nftEscrowSubmit.dto';
@@ -0,0 +1,20 @@
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("./nftEscrowCreate.dto"), exports);
18
+ __exportStar(require("./nftEscrowCancel.dto"), exports);
19
+ __exportStar(require("./nftEscrowSubmit.dto"), exports);
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
+ }
@@ -0,0 +1,32 @@
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.NftEscrowCancelDto = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ class NftEscrowCancelDto {
15
+ }
16
+ __decorate([
17
+ (0, class_validator_1.IsString)(),
18
+ (0, class_validator_1.IsNotEmpty)(),
19
+ __metadata("design:type", String)
20
+ ], NftEscrowCancelDto.prototype, "ownerPK", void 0);
21
+ __decorate([
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
+ }
@@ -0,0 +1,43 @@
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.NftEscrowCreateDto = void 0;
13
+ const class_transformer_1 = require("class-transformer");
14
+ const class_validator_1 = require("class-validator");
15
+ class NftEscrowCreateDto {
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);
22
+ __decorate([
23
+ (0, class_validator_1.IsString)(),
24
+ (0, class_validator_1.IsNotEmpty)(),
25
+ __metadata("design:type", String)
26
+ ], NftEscrowCreateDto.prototype, "ownerPK", void 0);
27
+ __decorate([
28
+ (0, class_validator_1.IsString)(),
29
+ (0, class_validator_1.IsNotEmpty)(),
30
+ __metadata("design:type", String)
31
+ ], NftEscrowCreateDto.prototype, "escrowAccountPK", void 0);
32
+ __decorate([
33
+ (0, class_validator_1.IsString)(),
34
+ (0, class_validator_1.IsNotEmpty)(),
35
+ __metadata("design:type", String)
36
+ ], NftEscrowCreateDto.prototype, "mintAddress", void 0);
37
+ __decorate([
38
+ (0, class_validator_1.IsString)(),
39
+ (0, class_validator_1.IsNotEmpty)(),
40
+ __metadata("design:type", String)
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,5 @@
1
+ export declare class NftEscrowSubmitDto {
2
+ signedTransaction: string;
3
+ transactionToken?: string;
4
+ paymentRequestId: string;
5
+ }
@@ -0,0 +1,32 @@
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.NftEscrowSubmitDto = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ class NftEscrowSubmitDto {
15
+ }
16
+ __decorate([
17
+ (0, class_validator_1.IsString)(),
18
+ (0, class_validator_1.IsNotEmpty)(),
19
+ __metadata("design:type", String)
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
+ __decorate([
27
+ (0, class_validator_1.IsString)(),
28
+ (0, class_validator_1.IsNotEmpty)(),
29
+ __metadata("design:type", String)
30
+ ], NftEscrowSubmitDto.prototype, "paymentRequestId", void 0);
31
+ exports.NftEscrowSubmitDto = NftEscrowSubmitDto;
32
+ //# 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;CAY9B;AAXC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;6DACa;AAE1B;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;4DACa;AAE1B;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;4DACY;AAX3B,gDAYC"}
@@ -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,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.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TokenNftEscrowPayload.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/nft-escrow/entities/TokenNftEscrowPayload.entity.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAEtC,MAAa,qBAAsB,SAAQ,eAAM;CAIhD;AAJD,sDAIC"}
@@ -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.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("./TokenNftEscrowPayload.entity"), exports);
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,iEAA+C"}
@@ -0,0 +1,2 @@
1
+ export * from './dtos';
2
+ export * from './entities';
@@ -0,0 +1,19 @@
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("./dtos"), exports);
18
+ __exportStar(require("./entities"), exports);
19
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/domain/model/nft-escrow/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAuB;AACvB,6CAA2B"}
@@ -4,7 +4,7 @@ import { FixedCurrencyDto } from '../../fixed-currency';
4
4
  import { DiscordAuthPropertiesDto } from '../../discordAuthProperties';
5
5
  import { AccessCodeAuthPropertiesDto } from '../../access-code-auth-properties';
6
6
  import { BlockchainSymbol } from '../../blockchain';
7
- import { NftDropDto } from '../../nft-drop';
7
+ import { UpdateNftDropDto } from '../../nft-drop';
8
8
  export declare class UpdatePaymentRequestDto {
9
9
  company?: string;
10
10
  name?: string;
@@ -25,6 +25,6 @@ export declare class UpdatePaymentRequestDto {
25
25
  nftCollectionAddress?: string;
26
26
  discordAuthProperties?: DiscordAuthPropertiesDto;
27
27
  accessCodeAuthProperties?: AccessCodeAuthPropertiesDto;
28
- nftDrop?: NftDropDto;
28
+ nftDrop?: UpdateNftDropDto;
29
29
  fixedCurrency?: FixedCurrencyDto;
30
30
  }
@@ -122,10 +122,10 @@ __decorate([
122
122
  __metadata("design:type", access_code_auth_properties_1.AccessCodeAuthPropertiesDto)
123
123
  ], UpdatePaymentRequestDto.prototype, "accessCodeAuthProperties", void 0);
124
124
  __decorate([
125
- (0, class_transformer_1.Type)(() => nft_drop_1.NftDropDto),
125
+ (0, class_transformer_1.Type)(() => nft_drop_1.UpdateNftDropDto),
126
126
  (0, class_validator_1.IsOptional)(),
127
127
  (0, class_validator_1.ValidateNested)(),
128
- __metadata("design:type", nft_drop_1.NftDropDto)
128
+ __metadata("design:type", nft_drop_1.UpdateNftDropDto)
129
129
  ], UpdatePaymentRequestDto.prototype, "nftDrop", void 0);
130
130
  __decorate([
131
131
  (0, class_transformer_1.Type)(() => fixed_currency_1.FixedCurrencyDto),
@@ -1 +1 @@
1
- {"version":3,"file":"updatePaymentRequest.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/payment-request/dtos/updatePaymentRequest.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAOyB;AACzB,yDAAoD;AACpD,2CAA2C;AAC3C,2CAA2C;AAC3C,yDAAwD;AACxD,uEAAuE;AACvE,mFAAgF;AAChF,iDAAoD;AACpD,6CAA4C;AAE5C,MAAa,uBAAuB;CA0FnC;AAzFC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;wDACI;AAEjB;IAAC,IAAA,0BAAQ,GAA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BAAU,GAAE;;qEACiB;AAE9B;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,gDAAwB,CAAC;IACpC,IAAA,4BAAU,GAAE;IACZ,IAAA,gCAAc,GAAE;8BACO,gDAAwB;sEAAC;AAEjD;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,yDAA2B,CAAC;IACvC,IAAA,4BAAU,GAAE;IACZ,IAAA,gCAAc,GAAE;8BACU,yDAA2B;yEAAC;AAEvD;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,qBAAU,CAAC;IACtB,IAAA,4BAAU,GAAE;IACZ,IAAA,gCAAc,GAAE;8BACP,qBAAU;wDAAC;AAErB;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,iCAAgB,CAAC;IAC5B,IAAA,4BAAU,GAAE;8BACG,iCAAgB;8DAAC;AAzFnC,0DA0FC"}
1
+ {"version":3,"file":"updatePaymentRequest.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/payment-request/dtos/updatePaymentRequest.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAOyB;AACzB,yDAAoD;AACpD,2CAA2C;AAC3C,2CAA2C;AAC3C,yDAAwD;AACxD,uEAAuE;AACvE,mFAAgF;AAChF,iDAAoD;AACpD,6CAAkD;AAElD,MAAa,uBAAuB;CA0FnC;AAzFC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;wDACI;AAEjB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;qDACC;AAEd;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;4DACQ;AAErB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;sDACE;AAEf;IAAC,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;IACvC,IAAA,4BAAU,GAAE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AAC;AAEvD;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,2BAAgB,CAAC;IAC5B,IAAA,4BAAU,GAAE;IACZ,IAAA,gCAAc,GAAE;8BACP,2BAAgB;wDAAC;AAE3B;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,iCAAgB,CAAC;IAC5B,IAAA,4BAAU,GAAE;8BACG,iCAAgB;8DAAC;AAzFnC,0DA0FC"}
@@ -1,3 +1,4 @@
1
1
  export declare enum TransactionType {
2
- REFUND = "REFUND"
2
+ REFUND = "REFUND",
3
+ PAYLINK = "PAYLINK"
3
4
  }
@@ -4,5 +4,6 @@ exports.TransactionType = void 0;
4
4
  var TransactionType;
5
5
  (function (TransactionType) {
6
6
  TransactionType["REFUND"] = "REFUND";
7
+ TransactionType["PAYLINK"] = "PAYLINK";
7
8
  })(TransactionType = exports.TransactionType || (exports.TransactionType = {}));
8
9
  //# sourceMappingURL=TransactionType.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"TransactionType.js","sourceRoot":"","sources":["../../../../../../src/domain/model/transaction-meta/constants/TransactionType.ts"],"names":[],"mappings":";;;AAAA,IAAY,eAEX;AAFD,WAAY,eAAe;IACzB,oCAAiB,CAAA;AACnB,CAAC,EAFW,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAE1B"}
1
+ {"version":3,"file":"TransactionType.js","sourceRoot":"","sources":["../../../../../../src/domain/model/transaction-meta/constants/TransactionType.ts"],"names":[],"mappings":";;;AAAA,IAAY,eAGX;AAHD,WAAY,eAAe;IACzB,oCAAiB,CAAA;IACjB,sCAAmB,CAAA;AACrB,CAAC,EAHW,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAG1B"}