@explorins/pers-shared 2.1.25 → 2.1.26

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 (39) hide show
  1. package/dist/cjs/shared-lib/dto/redemption/redemptionRedeem.dto.d.ts +6 -12
  2. package/dist/cjs/shared-lib/dto/redemption/redemptionRedeem.dto.d.ts.map +1 -1
  3. package/dist/cjs/shared-lib/dto/redemption/redemptionRedeem.dto.js +35 -40
  4. package/dist/cjs/shared-lib/dto/redemption/redemptionRedeem.dto.js.map +1 -1
  5. package/dist/cjs/shared-lib/dto/transaction/transaction-pagination.request.dto.d.ts +5 -5
  6. package/dist/cjs/shared-lib/dto/transaction/transaction-pagination.request.dto.d.ts.map +1 -1
  7. package/dist/cjs/shared-lib/dto/transaction/transaction-pagination.request.dto.js.map +1 -1
  8. package/dist/cjs/shared-lib/enum/index.d.ts +1 -0
  9. package/dist/cjs/shared-lib/enum/index.d.ts.map +1 -1
  10. package/dist/cjs/shared-lib/enum/index.js +1 -0
  11. package/dist/cjs/shared-lib/enum/index.js.map +1 -1
  12. package/dist/cjs/shared-lib/enum/redemption/index.d.ts +2 -0
  13. package/dist/cjs/shared-lib/enum/redemption/index.d.ts.map +1 -0
  14. package/dist/cjs/shared-lib/enum/redemption/index.js +18 -0
  15. package/dist/cjs/shared-lib/enum/redemption/index.js.map +1 -0
  16. package/dist/cjs/shared-lib/enum/redemption/redemption-redeem-status.d.ts +7 -0
  17. package/dist/cjs/shared-lib/enum/redemption/redemption-redeem-status.d.ts.map +1 -0
  18. package/dist/cjs/shared-lib/enum/redemption/redemption-redeem-status.js +11 -0
  19. package/dist/cjs/shared-lib/enum/redemption/redemption-redeem-status.js.map +1 -0
  20. package/dist/esm/shared-lib/dto/redemption/redemptionRedeem.dto.d.ts +6 -12
  21. package/dist/esm/shared-lib/dto/redemption/redemptionRedeem.dto.d.ts.map +1 -1
  22. package/dist/esm/shared-lib/dto/redemption/redemptionRedeem.dto.js +29 -31
  23. package/dist/esm/shared-lib/dto/redemption/redemptionRedeem.dto.js.map +1 -1
  24. package/dist/esm/shared-lib/dto/transaction/transaction-pagination.request.dto.d.ts +5 -5
  25. package/dist/esm/shared-lib/dto/transaction/transaction-pagination.request.dto.d.ts.map +1 -1
  26. package/dist/esm/shared-lib/dto/transaction/transaction-pagination.request.dto.js.map +1 -1
  27. package/dist/esm/shared-lib/enum/index.d.ts +1 -0
  28. package/dist/esm/shared-lib/enum/index.d.ts.map +1 -1
  29. package/dist/esm/shared-lib/enum/index.js +1 -0
  30. package/dist/esm/shared-lib/enum/index.js.map +1 -1
  31. package/dist/esm/shared-lib/enum/redemption/index.d.ts +2 -0
  32. package/dist/esm/shared-lib/enum/redemption/index.d.ts.map +1 -0
  33. package/dist/esm/shared-lib/enum/redemption/index.js +2 -0
  34. package/dist/esm/shared-lib/enum/redemption/index.js.map +1 -0
  35. package/dist/esm/shared-lib/enum/redemption/redemption-redeem-status.d.ts +7 -0
  36. package/dist/esm/shared-lib/enum/redemption/redemption-redeem-status.d.ts.map +1 -0
  37. package/dist/esm/shared-lib/enum/redemption/redemption-redeem-status.js +8 -0
  38. package/dist/esm/shared-lib/enum/redemption/redemption-redeem-status.js.map +1 -0
  39. package/package.json +1 -1
@@ -1,19 +1,13 @@
1
- import { TransactionDTO } from "../transaction/transaction.dto";
2
- import { TransactionRequestResponseDTO, TransactionSubmissionRequestDTO } from "../transaction";
1
+ import { RedemptionRedeemStatus } from "../../enum";
3
2
  export declare class RedemptionRedeemDTO {
4
3
  id: string;
5
4
  userId: string;
6
5
  redemptionId: string;
7
- transactionIds: string[];
8
6
  userCountryCode: string | null;
9
- }
10
- export declare class RedemptionRedeemRequestResponseDTO {
11
- redeem: RedemptionRedeemDTO;
12
- senderTransaction: TransactionRequestResponseDTO | null;
13
- recipientTransactions: TransactionDTO[] | null;
14
- }
15
- export declare class RedemptionSubmissionRequestDTO {
16
- redemptionRedeemId: string;
17
- transactionSubmission: TransactionSubmissionRequestDTO;
7
+ status: RedemptionRedeemStatus;
8
+ anonymizedIpAddress?: string;
9
+ createdAt?: Date;
10
+ updatedAt?: Date;
11
+ failureReason?: string;
18
12
  }
19
13
  //# sourceMappingURL=redemptionRedeem.dto.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"redemptionRedeem.dto.d.ts","sourceRoot":"","sources":["../../../../../src/shared-lib/dto/redemption/redemptionRedeem.dto.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAC;AAChE,OAAO,EAAE,6BAA6B,EAAE,+BAA+B,EAAE,MAAM,gBAAgB,CAAC;AAGhG,qBAAa,mBAAmB;IAK5B,EAAE,EAAE,MAAM,CAAM;IAKhB,MAAM,EAAE,MAAM,CAAM;IAKpB,YAAY,EAAE,MAAM,CAAK;IAKzB,cAAc,EAAE,MAAM,EAAE,CAAM;IAO9B,eAAe,EAAE,MAAM,GAAG,IAAI,CAAQ;CACzC;AAED,qBAAa,kCAAkC;IAK3C,MAAM,EAAE,mBAAmB,CAA6B;IAOxD,iBAAiB,EAAE,6BAA6B,GAAG,IAAI,CAAQ;IAQ/D,qBAAqB,EAAE,cAAc,EAAE,GAAG,IAAI,CAAQ;CACzD;AAED,qBAAa,8BAA8B;IAMvC,kBAAkB,EAAE,MAAM,CAAM;IAOhC,qBAAqB,EAAE,+BAA+B,CAAyC;CAElG"}
1
+ {"version":3,"file":"redemptionRedeem.dto.d.ts","sourceRoot":"","sources":["../../../../../src/shared-lib/dto/redemption/redemptionRedeem.dto.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,sBAAsB,EAAE,MAAM,YAAY,CAAC;AAGpD,qBAAa,mBAAmB;IAK5B,EAAE,EAAE,MAAM,CAAM;IAKhB,MAAM,EAAE,MAAM,CAAM;IAKpB,YAAY,EAAE,MAAM,CAAK;IAYzB,eAAe,EAAE,MAAM,GAAG,IAAI,CAAQ;IAOtC,MAAM,EAAE,sBAAsB,CAAkC;IAOhE,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAO7B,SAAS,CAAC,EAAE,IAAI,CAAC;IAOjB,SAAS,CAAC,EAAE,IAAI,CAAC;IAOjB,aAAa,CAAC,EAAE,MAAM,CAAC;CAC1B"}
@@ -9,16 +9,23 @@ 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.RedemptionSubmissionRequestDTO = exports.RedemptionRedeemRequestResponseDTO = exports.RedemptionRedeemDTO = void 0;
12
+ exports.RedemptionRedeemDTO = void 0;
13
13
  const swagger_1 = require("@nestjs/swagger");
14
- const transaction_dto_1 = require("../transaction/transaction.dto");
15
- const transaction_1 = require("../transaction");
14
+ const enum_1 = require("../../enum");
16
15
  class RedemptionRedeemDTO {
17
16
  id = '';
18
17
  userId = '';
19
18
  redemptionId = '';
20
- transactionIds = [];
19
+ /* @ApiProperty(
20
+ {description: 'The transaction ids that resulted from the user redeeming the redemption'}
21
+ )
22
+ transactionIds: string[] = []; */
21
23
  userCountryCode = null;
24
+ status = enum_1.RedemptionRedeemStatus.PENDING;
25
+ anonymizedIpAddress;
26
+ createdAt;
27
+ updatedAt;
28
+ failureReason;
22
29
  }
23
30
  exports.RedemptionRedeemDTO = RedemptionRedeemDTO;
24
31
  __decorate([
@@ -33,10 +40,6 @@ __decorate([
33
40
  (0, swagger_1.ApiProperty)({ description: 'The redemption that the user is redeeming' }),
34
41
  __metadata("design:type", String)
35
42
  ], RedemptionRedeemDTO.prototype, "redemptionId", void 0);
36
- __decorate([
37
- (0, swagger_1.ApiProperty)({ description: 'The transaction ids that resulted from the user redeeming the redemption' }),
38
- __metadata("design:type", Array)
39
- ], RedemptionRedeemDTO.prototype, "transactionIds", void 0);
40
43
  __decorate([
41
44
  (0, swagger_1.ApiProperty)({
42
45
  description: 'The country code of the user redeeming the redemption',
@@ -45,52 +48,44 @@ __decorate([
45
48
  }),
46
49
  __metadata("design:type", Object)
47
50
  ], RedemptionRedeemDTO.prototype, "userCountryCode", void 0);
48
- class RedemptionRedeemRequestResponseDTO {
49
- redeem = new RedemptionRedeemDTO();
50
- senderTransaction = null;
51
- recipientTransactions = null;
52
- }
53
- exports.RedemptionRedeemRequestResponseDTO = RedemptionRedeemRequestResponseDTO;
54
51
  __decorate([
55
- (0, swagger_1.ApiProperty)({ description: 'The redemption redeem details that the user redeemed',
56
- type: () => RedemptionRedeemDTO, // Use lazy resolver to prevent circular dependency
52
+ (0, swagger_1.ApiProperty)({
53
+ description: 'The status of the redemption redeem',
54
+ enum: enum_1.RedemptionRedeemStatus,
55
+ default: enum_1.RedemptionRedeemStatus.PENDING
57
56
  }),
58
- __metadata("design:type", RedemptionRedeemDTO)
59
- ], RedemptionRedeemRequestResponseDTO.prototype, "redeem", void 0);
57
+ __metadata("design:type", String)
58
+ ], RedemptionRedeemDTO.prototype, "status", void 0);
60
59
  __decorate([
61
60
  (0, swagger_1.ApiProperty)({
62
- description: 'The sender transaction that resulted from the user redeeming the redemption, this is applicable for redemptions that involve sending tokens from the user to a specific address',
63
- type: transaction_1.TransactionRequestResponseDTO,
61
+ description: 'The anonymized IP address of the user redeeming the redemption',
62
+ type: String,
64
63
  nullable: true
65
64
  }),
66
- __metadata("design:type", Object)
67
- ], RedemptionRedeemRequestResponseDTO.prototype, "senderTransaction", void 0);
65
+ __metadata("design:type", String)
66
+ ], RedemptionRedeemDTO.prototype, "anonymizedIpAddress", void 0);
68
67
  __decorate([
69
68
  (0, swagger_1.ApiProperty)({
70
- description: 'The recipient transactions that resulted from the user redeeming the redemption',
71
- type: () => [transaction_dto_1.TransactionDTO], // Use lazy resolver to prevent circular dependency
72
- isArray: true,
69
+ description: 'The date and time when processing of the redemption redeem started',
70
+ type: Date,
73
71
  nullable: true
74
72
  }),
75
- __metadata("design:type", Object)
76
- ], RedemptionRedeemRequestResponseDTO.prototype, "recipientTransactions", void 0);
77
- class RedemptionSubmissionRequestDTO {
78
- redemptionRedeemId = '';
79
- transactionSubmission = new transaction_1.TransactionSubmissionRequestDTO();
80
- }
81
- exports.RedemptionSubmissionRequestDTO = RedemptionSubmissionRequestDTO;
73
+ __metadata("design:type", Date)
74
+ ], RedemptionRedeemDTO.prototype, "createdAt", void 0);
82
75
  __decorate([
83
76
  (0, swagger_1.ApiProperty)({
84
- description: 'The id of the redemption redeem to submit the transaction for',
85
- type: String
77
+ description: 'The date and time when processing of the redemption redeem was last updated',
78
+ type: Date,
79
+ nullable: true
86
80
  }),
87
- __metadata("design:type", String)
88
- ], RedemptionSubmissionRequestDTO.prototype, "redemptionRedeemId", void 0);
81
+ __metadata("design:type", Date)
82
+ ], RedemptionRedeemDTO.prototype, "updatedAt", void 0);
89
83
  __decorate([
90
84
  (0, swagger_1.ApiProperty)({
91
- description: 'The transaction submission details for the redemption redeem',
92
- type: transaction_1.TransactionSubmissionRequestDTO
85
+ description: 'The reason for failure if the redemption redeem failed',
86
+ type: String,
87
+ nullable: true
93
88
  }),
94
- __metadata("design:type", transaction_1.TransactionSubmissionRequestDTO)
95
- ], RedemptionSubmissionRequestDTO.prototype, "transactionSubmission", void 0);
89
+ __metadata("design:type", String)
90
+ ], RedemptionRedeemDTO.prototype, "failureReason", void 0);
96
91
  //# sourceMappingURL=redemptionRedeem.dto.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"redemptionRedeem.dto.js","sourceRoot":"","sources":["../../../../../src/shared-lib/dto/redemption/redemptionRedeem.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAA8C;AAC9C,oEAAgE;AAChE,gDAAgG;AAGhG,MAAa,mBAAmB;IAK5B,EAAE,GAAW,EAAE,CAAC;IAKhB,MAAM,GAAW,EAAE,CAAC;IAKpB,YAAY,GAAW,EAAE,CAAA;IAKzB,cAAc,GAAa,EAAE,CAAC;IAO9B,eAAe,GAAkB,IAAI,CAAC;CACzC;AA5BD,kDA4BC;AAvBG;IAHC,IAAA,qBAAW,EAC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+D;QAC5E,IAAI,EAAE,MAAM;KACf,CAAC;;0EAC8B;AAOhC;IAJC,IAAA,qBAAW,EAAC;QACT,WAAW,EAAE,8DAA8D;QAC3E,IAAI,EAAE,6CAA+B;KACxC,CAAC;8BACqB,6CAA+B;6EAAyC"}
1
+ {"version":3,"file":"redemptionRedeem.dto.js","sourceRoot":"","sources":["../../../../../src/shared-lib/dto/redemption/redemptionRedeem.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAA8C;AAG9C,qCAAoD;AAGpD,MAAa,mBAAmB;IAK5B,EAAE,GAAW,EAAE,CAAC;IAKhB,MAAM,GAAW,EAAE,CAAC;IAKpB,YAAY,GAAW,EAAE,CAAA;IAEzB;;;qCAGiC;IAOjC,eAAe,GAAkB,IAAI,CAAC;IAOtC,MAAM,GAA2B,6BAAsB,CAAC,OAAO,CAAC;IAOhE,mBAAmB,CAAU;IAO7B,SAAS,CAAQ;IAOjB,SAAS,CAAQ;IAOjB,aAAa,CAAU;CAC1B;AA/DD,kDA+DC;AA1DG;IAHC,IAAA,qBAAW,EACR,EAAC,WAAW,EAAE,sCAAsC,EAAC,CACxD;;+CACe;AAKhB;IAHC,IAAA,qBAAW,EACR,EAAC,WAAW,EAAE,6CAA6C,EAAC,CAC/D;;mDACmB;AAKpB;IAHC,IAAA,qBAAW,EACR,EAAC,WAAW,EAAE,2CAA2C,EAAC,CAC7D;;yDACwB;AAYzB;IALC,IAAA,qBAAW,EAAC;QACT,WAAW,EAAE,uDAAuD;QACpE,IAAI,EAAE,MAAM;QACZ,QAAQ,EAAE,IAAI;KACjB,CAAC;;4DACoC;AAOtC;IALC,IAAA,qBAAW,EAAC;QACT,WAAW,EAAE,qCAAqC;QAClD,IAAI,EAAE,6BAAsB;QAC5B,OAAO,EAAE,6BAAsB,CAAC,OAAO;KAC1C,CAAC;;mDAC8D;AAOhE;IALC,IAAA,qBAAW,EAAC;QACT,WAAW,EAAE,gEAAgE;QAC7E,IAAI,EAAE,MAAM;QACZ,QAAQ,EAAE,IAAI;KACjB,CAAC;;gEAC2B;AAO7B;IALC,IAAA,qBAAW,EAAC;QACT,WAAW,EAAE,oEAAoE;QACjF,IAAI,EAAE,IAAI;QACV,QAAQ,EAAE,IAAI;KACjB,CAAC;8BACU,IAAI;sDAAC;AAOjB;IALC,IAAA,qBAAW,EAAC;QACT,WAAW,EAAE,6EAA6E;QAC1F,IAAI,EAAE,IAAI;QACV,QAAQ,EAAE,IAAI;KACjB,CAAC;8BACU,IAAI;sDAAC;AAOjB;IALC,IAAA,qBAAW,EAAC;QACT,WAAW,EAAE,wDAAwD;QACrE,IAAI,EAAE,MAAM;QACZ,QAAQ,EAAE,IAAI;KACjB,CAAC;;0DACqB"}
@@ -7,17 +7,17 @@ export type TransactionSortField = typeof TRANSACTION_SORT_FIELDS[number];
7
7
  * ✅ DOMAIN-SPECIFIC: Transaction filters
8
8
  */
9
9
  export declare class TransactionFiltersDTO extends BaseFiltersDTO {
10
- readonly participantId?: string;
11
- readonly status?: TransactionStatus;
12
- readonly type?: Web3TransactionType;
13
- readonly tokenType?: NativeTokenType;
10
+ participantId?: string;
11
+ status?: TransactionStatus;
12
+ type?: Web3TransactionType;
13
+ tokenType?: NativeTokenType;
14
14
  }
15
15
  /**
16
16
  * ✅ DOMAIN-SPECIFIC: Complete transaction pagination request
17
17
  */
18
18
  export declare class TransactionPaginationRequestDTO extends BasePaginationRequestDTO {
19
19
  readonly sortBy: TransactionSortField;
20
- readonly filters?: TransactionFiltersDTO;
20
+ filters?: TransactionFiltersDTO;
21
21
  }
22
22
  export {};
23
23
  //# sourceMappingURL=transaction-pagination.request.dto.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"transaction-pagination.request.dto.d.ts","sourceRoot":"","sources":["../../../../../src/shared-lib/dto/transaction/transaction-pagination.request.dto.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,eAAe,EAAoB,MAAM,aAAa,CAAC;AACrE,OAAO,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AACpE,OAAO,EAAE,cAAc,EAAE,wBAAwB,EAAE,MAAM,sCAAsC,CAAC;AAGhG,QAAA,MAAM,uBAAuB,sGAQnB,CAAC;AAEX,MAAM,MAAM,oBAAoB,GAAG,OAAO,uBAAuB,CAAC,MAAM,CAAC,CAAC;AAE1E;;GAEG;AACH,qBAAa,qBAAsB,SAAQ,cAAc;IAOvD,QAAQ,CAAC,aAAa,CAAC,EAAE,MAAM,CAAC;IAQhC,QAAQ,CAAC,MAAM,CAAC,EAAE,iBAAiB,CAAC;IASpC,QAAQ,CAAC,IAAI,CAAC,EAAE,mBAAmB,CAAC;IASpC,QAAQ,CAAC,SAAS,CAAC,EAAE,eAAe,CAAE;CACvC;AAED;;GAEG;AACH,qBAAa,+BAAgC,SAAQ,wBAAwB;IAa3E,QAAQ,CAAC,MAAM,EAAE,oBAAoB,CAAe;IAOpD,QAAQ,CAAC,OAAO,CAAC,EAAE,qBAAqB,CAAC;CAC1C"}
1
+ {"version":3,"file":"transaction-pagination.request.dto.d.ts","sourceRoot":"","sources":["../../../../../src/shared-lib/dto/transaction/transaction-pagination.request.dto.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,eAAe,EAAoB,MAAM,aAAa,CAAC;AACrE,OAAO,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AACpE,OAAO,EAAE,cAAc,EAAE,wBAAwB,EAAE,MAAM,sCAAsC,CAAC;AAGhG,QAAA,MAAM,uBAAuB,sGAQnB,CAAC;AAEX,MAAM,MAAM,oBAAoB,GAAG,OAAO,uBAAuB,CAAC,MAAM,CAAC,CAAC;AAE1E;;GAEG;AACH,qBAAa,qBAAsB,SAAQ,cAAc;IAOvD,aAAa,CAAC,EAAE,MAAM,CAAC;IAQvB,MAAM,CAAC,EAAE,iBAAiB,CAAC;IAS3B,IAAI,CAAC,EAAE,mBAAmB,CAAC;IAS3B,SAAS,CAAC,EAAE,eAAe,CAAE;CAC9B;AAED;;GAEG;AACH,qBAAa,+BAAgC,SAAQ,wBAAwB;IAa3E,QAAQ,CAAC,MAAM,EAAE,oBAAoB,CAAe;IAOpD,OAAO,CAAC,EAAE,qBAAqB,CAAC;CACjC"}
@@ -1 +1 @@
1
- {"version":3,"file":"transaction-pagination.request.dto.js","sourceRoot":"","sources":["../../../../../src/shared-lib/dto/transaction/transaction-pagination.request.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAsD;AACtD,qDAA6D;AAC7D,uCAAqE;AACrE,qCAAoE;AACpE,iFAAgG;AAChG,yDAA8C;AAE9C,MAAM,uBAAuB,GAAG;IAC5B,WAAW;IACX,QAAQ;IACR,MAAM;IACN,WAAW;IACX,QAAQ;IACR,eAAe;IACf,kBAAkB;CACZ,CAAC;AAIX;;GAEG;AACH,MAAa,qBAAsB,SAAQ,uCAAc;IAO9C,aAAa,CAAU;IAQvB,MAAM,CAAqB;IAS3B,IAAI,CAAuB;IAS3B,SAAS,CAAoB;CACvC;AAlCD,sDAkCC;AA3BU;IANR,IAAA,6BAAmB,EAAC;QACnB,WAAW,EAAE,sEAAsE;QACnF,OAAO,EAAE,uCAAuC;KACjD,CAAC;IACD,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;4DACqB;AAQvB;IANR,IAAA,6BAAmB,EAAC;QACnB,WAAW,EAAE,8BAA8B;QAC3C,OAAO,EAAE,WAAW;KACrB,CAAC;IACD,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;qDACyB;AAS3B;IAPR,IAAA,6BAAmB,EAAC;QACnB,WAAW,EAAE,4BAA4B;QACzC,IAAI,EAAE,CAAC,0BAAmB,CAAC;QAC3B,OAAO,EAAE,MAAM;KAChB,CAAC;IACD,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;mDACyB;AAS3B;IAPR,IAAA,6BAAmB,EAAC;QACnB,WAAW,EAAE,sBAAsB;QACnC,IAAI,EAAE,CAAC,wBAAgB,CAAC;QACxB,OAAO,EAAE,OAAO;KACjB,CAAC;IACD,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;wDAC2B;AAGxC;;GAEG;AACH,MAAa,+BAAgC,SAAQ,iDAAwB;IAalE,MAAM,GAAyB,WAAW,CAAC;IAO3C,OAAO,CAAyB;CAC1C;AArBD,0EAqBC;AARU;IAXR,IAAA,6BAAmB,EAAC;QACnB,WAAW,EAAE,6BAA6B;QAC1C,IAAI,EAAE,uBAAuB;QAC7B,OAAO,EAAE,WAAW;QACpB,OAAO,EAAE,WAAW;KACrB,CAAC;IACD,IAAA,4BAAU,GAAE;IACZ,IAAA,sBAAI,EAAC,uBAAuB,EAAE;QAC7B,OAAO,EAAE,0BAA0B,uBAAuB,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE;KACxE,CAAC;IACD,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,KAAK,IAAI,WAAW,CAAC,CAAC,4BAA4B;;;+DACxB;AAO3C;IALR,IAAA,6BAAmB,EAAC;QACnB,WAAW,EAAE,8BAA8B;QAC3C,IAAI,EAAE,qBAAqB;KAC5B,CAAC;IACD,IAAA,4BAAU,GAAE;8BACM,qBAAqB;gEAAC"}
1
+ {"version":3,"file":"transaction-pagination.request.dto.js","sourceRoot":"","sources":["../../../../../src/shared-lib/dto/transaction/transaction-pagination.request.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAsD;AACtD,qDAA6D;AAC7D,uCAAqE;AACrE,qCAAoE;AACpE,iFAAgG;AAChG,yDAA8C;AAE9C,MAAM,uBAAuB,GAAG;IAC5B,WAAW;IACX,QAAQ;IACR,MAAM;IACN,WAAW;IACX,QAAQ;IACR,eAAe;IACf,kBAAkB;CACZ,CAAC;AAIX;;GAEG;AACH,MAAa,qBAAsB,SAAQ,uCAAc;IAOvD,aAAa,CAAU;IAQvB,MAAM,CAAqB;IAS3B,IAAI,C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AAK,IAAI,WAAW,CAAC,CAAC,4BAA4B;;;+DACxB;AAOpD;IALC,IAAA,6BAAmB,EAAC;QACnB,WAAW,EAAE,8BAA8B;QAC3C,IAAI,EAAE,qBAAqB;KAC5B,CAAC;IACD,IAAA,4BAAU,GAAE;8BACH,qBAAqB;gEAAC"}
@@ -17,4 +17,5 @@ export * from './crypto.enum';
17
17
  export * from './wallet.enum';
18
18
  export * from './sort-order.enum';
19
19
  export * from './purchase';
20
+ export * from './redemption';
20
21
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/shared-lib/enum/index.ts"],"names":[],"mappings":"AACA,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,yCAAyC,CAAC;AACxD,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,wBAAwB,CAAC;AACvC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,iCAAiC,CAAC;AAChD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,mBAAmB,CAAC;AAClC,cAAc,YAAY,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/shared-lib/enum/index.ts"],"names":[],"mappings":"AACA,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,yCAAyC,CAAC;AACxD,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,wBAAwB,CAAC;AACvC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,iCAAiC,CAAC;AAChD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,mBAAmB,CAAC;AAElC,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC"}
@@ -34,4 +34,5 @@ __exportStar(require("./crypto.enum"), exports);
34
34
  __exportStar(require("./wallet.enum"), exports);
35
35
  __exportStar(require("./sort-order.enum"), exports);
36
36
  __exportStar(require("./purchase"), exports);
37
+ __exportStar(require("./redemption"), exports);
37
38
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/shared-lib/enum/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wCAAwC;AACxC,0DAAwC;AACxC,0DAAwC;AACxC,4DAA0C;AAC1C,0EAAwD;AACxD,sDAAoC;AACpC,oDAAkC;AAClC,4DAA0C;AAC1C,+DAA6C;AAC7C,6DAA2C;AAC3C,oDAAkC;AAClC,qDAAmC;AACnC,yDAAuC;AACvC,iEAA+C;AAC/C,kEAAgD;AAChD,gEAA8C;AAC9C,gDAA8B;AAC9B,gDAA8B;AAC9B,oDAAkC;AAClC,6CAA2B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/shared-lib/enum/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wCAAwC;AACxC,0DAAwC;AACxC,0DAAwC;AACxC,4DAA0C;AAC1C,0EAAwD;AACxD,sDAAoC;AACpC,oDAAkC;AAClC,4DAA0C;AAC1C,+DAA6C;AAC7C,6DAA2C;AAC3C,oDAAkC;AAClC,qDAAmC;AACnC,yDAAuC;AACvC,iEAA+C;AAC/C,kEAAgD;AAChD,gEAA8C;AAC9C,gDAA8B;AAC9B,gDAA8B;AAC9B,oDAAkC;AAElC,6CAA2B;AAC3B,+CAA6B"}
@@ -0,0 +1,2 @@
1
+ export * from './redemption-redeem-status';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/shared-lib/enum/redemption/index.ts"],"names":[],"mappings":"AAEA,cAAc,4BAA4B,CAAC"}
@@ -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("./redemption-redeem-status"), exports);
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/shared-lib/enum/redemption/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAEA,6DAA2C"}
@@ -0,0 +1,7 @@
1
+ export declare enum RedemptionRedeemStatus {
2
+ PENDING = "PENDING",// Just created, no transactions yet
3
+ PROCESSING = "PROCESSING",// Sender transaction submitted/processing
4
+ COMPLETED = "COMPLETED",// All transactions completed successfully
5
+ FAILED = "FAILED"
6
+ }
7
+ //# sourceMappingURL=redemption-redeem-status.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"redemption-redeem-status.d.ts","sourceRoot":"","sources":["../../../../../src/shared-lib/enum/redemption/redemption-redeem-status.ts"],"names":[],"mappings":"AAEA,oBAAY,sBAAsB;IAC9B,OAAO,YAAY,CAAY,oCAAoC;IACnE,UAAU,eAAe,CAAM,0CAA0C;IACzE,SAAS,cAAc,CAAQ,0CAA0C;IACzE,MAAM,WAAW;CACpB"}
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RedemptionRedeemStatus = void 0;
4
+ var RedemptionRedeemStatus;
5
+ (function (RedemptionRedeemStatus) {
6
+ RedemptionRedeemStatus["PENDING"] = "PENDING";
7
+ RedemptionRedeemStatus["PROCESSING"] = "PROCESSING";
8
+ RedemptionRedeemStatus["COMPLETED"] = "COMPLETED";
9
+ RedemptionRedeemStatus["FAILED"] = "FAILED"; // Processing failed
10
+ })(RedemptionRedeemStatus || (exports.RedemptionRedeemStatus = RedemptionRedeemStatus = {}));
11
+ //# sourceMappingURL=redemption-redeem-status.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"redemption-redeem-status.js","sourceRoot":"","sources":["../../../../../src/shared-lib/enum/redemption/redemption-redeem-status.ts"],"names":[],"mappings":";;;AAEA,IAAY,sBAKX;AALD,WAAY,sBAAsB;IAC9B,6CAAmB,CAAA;IACnB,mDAAyB,CAAA;IACzB,iDAAuB,CAAA;IACvB,2CAAiB,CAAA,CAAc,oBAAoB;AACvD,CAAC,EALW,sBAAsB,sCAAtB,sBAAsB,QAKjC"}
@@ -1,19 +1,13 @@
1
- import { TransactionDTO } from "../transaction/transaction.dto";
2
- import { TransactionRequestResponseDTO, TransactionSubmissionRequestDTO } from "../transaction";
1
+ import { RedemptionRedeemStatus } from "../../enum";
3
2
  export declare class RedemptionRedeemDTO {
4
3
  id: string;
5
4
  userId: string;
6
5
  redemptionId: string;
7
- transactionIds: string[];
8
6
  userCountryCode: string | null;
9
- }
10
- export declare class RedemptionRedeemRequestResponseDTO {
11
- redeem: RedemptionRedeemDTO;
12
- senderTransaction: TransactionRequestResponseDTO | null;
13
- recipientTransactions: TransactionDTO[] | null;
14
- }
15
- export declare class RedemptionSubmissionRequestDTO {
16
- redemptionRedeemId: string;
17
- transactionSubmission: TransactionSubmissionRequestDTO;
7
+ status: RedemptionRedeemStatus;
8
+ anonymizedIpAddress?: string;
9
+ createdAt?: Date;
10
+ updatedAt?: Date;
11
+ failureReason?: string;
18
12
  }
19
13
  //# sourceMappingURL=redemptionRedeem.dto.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"redemptionRedeem.dto.d.ts","sourceRoot":"","sources":["../../../../../src/shared-lib/dto/redemption/redemptionRedeem.dto.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAC;AAChE,OAAO,EAAE,6BAA6B,EAAE,+BAA+B,EAAE,MAAM,gBAAgB,CAAC;AAGhG,qBAAa,mBAAmB;IAK5B,EAAE,EAAE,MAAM,CAAM;IAKhB,MAAM,EAAE,MAAM,CAAM;IAKpB,YAAY,EAAE,MAAM,CAAK;IAKzB,cAAc,EAAE,MAAM,EAAE,CAAM;IAO9B,eAAe,EAAE,MAAM,GAAG,IAAI,CAAQ;CACzC;AAED,qBAAa,kCAAkC;IAK3C,MAAM,EAAE,mBAAmB,CAA6B;IAOxD,iBAAiB,EAAE,6BAA6B,GAAG,IAAI,CAAQ;IAQ/D,qBAAqB,EAAE,cAAc,EAAE,GAAG,IAAI,CAAQ;CACzD;AAED,qBAAa,8BAA8B;IAMvC,kBAAkB,EAAE,MAAM,CAAM;IAOhC,qBAAqB,EAAE,+BAA+B,CAAyC;CAElG"}
1
+ {"version":3,"file":"redemptionRedeem.dto.d.ts","sourceRoot":"","sources":["../../../../../src/shared-lib/dto/redemption/redemptionRedeem.dto.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,sBAAsB,EAAE,MAAM,YAAY,CAAC;AAGpD,qBAAa,mBAAmB;IAK5B,EAAE,EAAE,MAAM,CAAM;IAKhB,MAAM,EAAE,MAAM,CAAM;IAKpB,YAAY,EAAE,MAAM,CAAK;IAYzB,eAAe,EAAE,MAAM,GAAG,IAAI,CAAQ;IAOtC,MAAM,EAAE,sBAAsB,CAAkC;IAOhE,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAO7B,SAAS,CAAC,EAAE,IAAI,CAAC;IAOjB,SAAS,CAAC,EAAE,IAAI,CAAC;IAOjB,aAAa,CAAC,EAAE,MAAM,CAAC;CAC1B"}
@@ -5,14 +5,21 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
5
5
  return c > 3 && r && Object.defineProperty(target, key, r), r;
6
6
  };
7
7
  import { ApiProperty } from "@nestjs/swagger";
8
- import { TransactionDTO } from "../transaction/transaction.dto";
9
- import { TransactionRequestResponseDTO, TransactionSubmissionRequestDTO } from "../transaction";
8
+ import { RedemptionRedeemStatus } from "../../enum";
10
9
  export class RedemptionRedeemDTO {
11
10
  id = '';
12
11
  userId = '';
13
12
  redemptionId = '';
14
- transactionIds = [];
13
+ /* @ApiProperty(
14
+ {description: 'The transaction ids that resulted from the user redeeming the redemption'}
15
+ )
16
+ transactionIds: string[] = []; */
15
17
  userCountryCode = null;
18
+ status = RedemptionRedeemStatus.PENDING;
19
+ anonymizedIpAddress;
20
+ createdAt;
21
+ updatedAt;
22
+ failureReason;
16
23
  }
17
24
  __decorate([
18
25
  ApiProperty({ description: 'The id of the redemption user redeem' })
@@ -23,9 +30,6 @@ __decorate([
23
30
  __decorate([
24
31
  ApiProperty({ description: 'The redemption that the user is redeeming' })
25
32
  ], RedemptionRedeemDTO.prototype, "redemptionId", void 0);
26
- __decorate([
27
- ApiProperty({ description: 'The transaction ids that resulted from the user redeeming the redemption' })
28
- ], RedemptionRedeemDTO.prototype, "transactionIds", void 0);
29
33
  __decorate([
30
34
  ApiProperty({
31
35
  description: 'The country code of the user redeeming the redemption',
@@ -33,45 +37,39 @@ __decorate([
33
37
  nullable: true
34
38
  })
35
39
  ], RedemptionRedeemDTO.prototype, "userCountryCode", void 0);
36
- export class RedemptionRedeemRequestResponseDTO {
37
- redeem = new RedemptionRedeemDTO();
38
- senderTransaction = null;
39
- recipientTransactions = null;
40
- }
41
40
  __decorate([
42
- ApiProperty({ description: 'The redemption redeem details that the user redeemed',
43
- type: () => RedemptionRedeemDTO, // Use lazy resolver to prevent circular dependency
41
+ ApiProperty({
42
+ description: 'The status of the redemption redeem',
43
+ enum: RedemptionRedeemStatus,
44
+ default: RedemptionRedeemStatus.PENDING
44
45
  })
45
- ], RedemptionRedeemRequestResponseDTO.prototype, "redeem", void 0);
46
+ ], RedemptionRedeemDTO.prototype, "status", void 0);
46
47
  __decorate([
47
48
  ApiProperty({
48
- description: 'The sender transaction that resulted from the user redeeming the redemption, this is applicable for redemptions that involve sending tokens from the user to a specific address',
49
- type: TransactionRequestResponseDTO,
49
+ description: 'The anonymized IP address of the user redeeming the redemption',
50
+ type: String,
50
51
  nullable: true
51
52
  })
52
- ], RedemptionRedeemRequestResponseDTO.prototype, "senderTransaction", void 0);
53
+ ], RedemptionRedeemDTO.prototype, "anonymizedIpAddress", void 0);
53
54
  __decorate([
54
55
  ApiProperty({
55
- description: 'The recipient transactions that resulted from the user redeeming the redemption',
56
- type: () => [TransactionDTO], // Use lazy resolver to prevent circular dependency
57
- isArray: true,
56
+ description: 'The date and time when processing of the redemption redeem started',
57
+ type: Date,
58
58
  nullable: true
59
59
  })
60
- ], RedemptionRedeemRequestResponseDTO.prototype, "recipientTransactions", void 0);
61
- export class RedemptionSubmissionRequestDTO {
62
- redemptionRedeemId = '';
63
- transactionSubmission = new TransactionSubmissionRequestDTO();
64
- }
60
+ ], RedemptionRedeemDTO.prototype, "createdAt", void 0);
65
61
  __decorate([
66
62
  ApiProperty({
67
- description: 'The id of the redemption redeem to submit the transaction for',
68
- type: String
63
+ description: 'The date and time when processing of the redemption redeem was last updated',
64
+ type: Date,
65
+ nullable: true
69
66
  })
70
- ], RedemptionSubmissionRequestDTO.prototype, "redemptionRedeemId", void 0);
67
+ ], RedemptionRedeemDTO.prototype, "updatedAt", void 0);
71
68
  __decorate([
72
69
  ApiProperty({
73
- description: 'The transaction submission details for the redemption redeem',
74
- type: TransactionSubmissionRequestDTO
70
+ description: 'The reason for failure if the redemption redeem failed',
71
+ type: String,
72
+ nullable: true
75
73
  })
76
- ], RedemptionSubmissionRequestDTO.prototype, "transactionSubmission", void 0);
74
+ ], RedemptionRedeemDTO.prototype, "failureReason", void 0);
77
75
  //# sourceMappingURL=redemptionRedeem.dto.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"redemptionRedeem.dto.js","sourceRoot":"","sources":["../../../../../src/shared-lib/dto/redemption/redemptionRedeem.dto.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAC9C,OAAO,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAC;AAChE,OAAO,EAAE,6BAA6B,EAAE,+BAA+B,EAAE,MAAM,gBAAgB,CAAC;AAGhG,MAAM,OAAO,mBAAmB;IAK5B,EAAE,GAAW,EAAE,CAAC;IAKhB,MAAM,GAAW,EAAE,CAAC;IAKpB,YAAY,GAAW,EAAE,CAAA;IAKzB,cAAc,GAAa,EAAE,CAAC;IAO9B,eAAe,GAAkB,IAAI,CAAC;CACzC;AAvBG;IAHC,WAAW,CACR,EAAC,WAAW,EAAE,sCAAsC,EAAC,CACxD;+CACe;AAKhB;IAHC,WAAW,CACR,EAAC,WAAW,EAAE,6CAA6C,EAAC,CAC/D;mDACmB;AAKpB;IAHC,WAAW,CACR,EAAC,WAAW,EAAE,2CAA2C,EAAC,CAC7D;yDACwB;AAKzB;IAHC,WAAW,CACR,EAAC,WAAW,EAAE,0EAA0E,EAAC,CAC5F;2DAC6B;AAO9B;IALC,WAAW,CAAC;QACT,WAAW,EAAE,uDAAuD;QACpE,IAAI,EAAE,MAAM;QACZ,QAAQ,EAAE,IAAI;KACjB,CAAC;4DACoC;AAG1C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
9
9
  export declare class TransactionFiltersDTO extends BaseFiltersDTO {
10
- readonly participantId?: string;
11
- readonly status?: TransactionStatus;
12
- readonly type?: Web3TransactionType;
13
- readonly tokenType?: NativeTokenType;
10
+ participantId?: string;
11
+ status?: TransactionStatus;
12
+ type?: Web3TransactionType;
13
+ tokenType?: NativeTokenType;
14
14
  }
15
15
  /**
16
16
  * ✅ DOMAIN-SPECIFIC: Complete transaction pagination request
17
17
  */
18
18
  export declare class TransactionPaginationRequestDTO extends BasePaginationRequestDTO {
19
19
  readonly sortBy: TransactionSortField;
20
- readonly filters?: TransactionFiltersDTO;
20
+ filters?: TransactionFiltersDTO;
21
21
  }
22
22
  export {};
23
23
  //# sourceMappingURL=transaction-pagination.request.dto.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"transaction-pagination.request.dto.d.ts","sourceRoot":"","sources":["../../../../../src/shared-lib/dto/transaction/transaction-pagination.request.dto.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,eAAe,EAAoB,MAAM,aAAa,CAAC;AACrE,OAAO,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AACpE,OAAO,EAAE,cAAc,EAAE,wBAAwB,EAAE,MAAM,sCAAsC,CAAC;AAGhG,QAAA,MAAM,uBAAuB,sGAQnB,CAAC;AAEX,MAAM,MAAM,oBAAoB,GAAG,OAAO,uBAAuB,CAAC,MAAM,CAAC,CAAC;AAE1E;;GAEG;AACH,qBAAa,qBAAsB,SAAQ,cAAc;IAOvD,QAAQ,CAAC,aAAa,CAAC,EAAE,MAAM,CAAC;IAQhC,QAAQ,CAAC,MAAM,CAAC,EAAE,iBAAiB,CAAC;IASpC,QAAQ,CAAC,IAAI,CAAC,EAAE,mBAAmB,CAAC;IASpC,QAAQ,CAAC,SAAS,CAAC,EAAE,eAAe,CAAE;CACvC;AAED;;GAEG;AACH,qBAAa,+BAAgC,SAAQ,wBAAwB;IAa3E,QAAQ,CAAC,MAAM,EAAE,oBAAoB,CAAe;IAOpD,QAAQ,CAAC,OAAO,CAAC,EAAE,qBAAqB,CAAC;CAC1C"}
1
+ {"version":3,"file":"transaction-pagination.request.dto.d.ts","sourceRoot":"","sources":["../../../../../src/shared-lib/dto/transaction/transaction-pagination.request.dto.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,eAAe,EAAoB,MAAM,aAAa,CAAC;AACrE,OAAO,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AACpE,OAAO,EAAE,cAAc,EAAE,wBAAwB,EAAE,MAAM,sCAAsC,CAAC;AAGhG,QAAA,MAAM,uBAAuB,sGAQnB,CAAC;AAEX,MAAM,MAAM,oBAAoB,GAAG,OAAO,uBAAuB,CAAC,MAAM,CAAC,CAAC;AAE1E;;GAEG;AACH,qBAAa,qBAAsB,SAAQ,cAAc;IAOvD,aAAa,CAAC,EAAE,MAAM,CAAC;IAQvB,MAAM,CAAC,EAAE,iBAAiB,CAAC;IAS3B,IAAI,CAAC,EAAE,mBAAmB,CAAC;IAS3B,SAAS,CAAC,EAAE,eAAe,CAAE;CAC9B;AAED;;GAEG;AACH,qBAAa,+BAAgC,SAAQ,wBAAwB;IAa3E,QAAQ,CAAC,MAAM,EAAE,oBAAoB,CAAe;IAOpD,OAAO,CAAC,EAAE,qBAAqB,CAAC;CACjC"}
@@ -1 +1 @@
1
- {"version":3,"file":"transaction-pagination.request.dto.js","sourceRoot":"","sources":["../../../../../src/shared-lib/dto/transaction/transaction-pagination.request.dto.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AACtD,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAC7D,OAAO,EAAwB,gBAAgB,EAAE,MAAM,aAAa,CAAC;AACrE,OAAO,EAAqB,mBAAmB,EAAE,MAAM,YAAY,CAAC;AACpE,OAAO,EAAE,cAAc,EAAE,wBAAw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,IAAI,CAAC,uBAAuB,EAAE;QAC7B,OAAO,EAAE,0BAA0B,uBAAuB,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE;KACxE,CAAC;IACD,SAAS,CAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,KAAK,IAAI,WAAW,CAAC,CAAC,4BAA4B;+DACxB;AAO3C;IALR,mBAAmB,CAAC;QACnB,WAAW,EAAE,8BAA8B;QAC3C,IAAI,EAAE,qBAAqB;KAC5B,CAAC;IACD,UAAU,EAAE;gEAC4B"}
1
+ {"version":3,"file":"transaction-pagination.request.dto.js","sourceRoot":"","sources":["../../../../../src/shared-lib/dto/transaction/transaction-pagination.request.dto.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AACtD,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAC7D,OAAO,EAAwB,gBAAgB,EAAE,MAAM,aAAa,CAAC;AACrE,OAAO,EAAqB,mBAAmB,EAAE,MAAM,YAAY,CAAC;AACpE,OAAO,EAAE,cAAc,EAAE,wBAAwB,EAAE,MAAM,sCAAsC,CAAC;AAChG,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAE9C,MAAM,uBAAuB,GAAG;IAC5B,WAAW;IACX,QAAQ;IACR,MAAM;IACN,WAAW;IACX,QAAQ;IACR,eAAe;IACf,kBAAkB;CACZ,CAAC;AAIX;;GAEG;AACH,MAAM,OAAO,qBAAsB,SAAQ,cAAc;IAOvD,aAAa,CAAU;IAQvB,MAAM,CAAqB;IAS3B,IAAI,CAAuB;IAS3B,SAAS,CAAoB;CAC9B;AA3BC;IANC,mBAAmB,CAAC;QACnB,WAAW,EAAE,sEAAsE;QACnF,OAAO,EAAE,uCAAuC;KACjD,CAAC;IACD,UAAU,EAAE;IACZ,QAAQ,EAAE;4DACY;AAQvB;IANC,mBAAmB,CAAC;QACnB,WAAW,EAAE,8BAA8B;QAC3C,OAAO,EAAE,WAAW;KACrB,CAAC;IACD,UAAU,EAAE;IACZ,QAAQ,EAAE;qDACgB;AAS3B;IAPC,mBAAmB,CAAC;QACnB,WAAW,EAAE,4BAA4B;QACzC,IAAI,EAAE,CAAC,mBAAmB,CAAC;QAC3B,OAAO,EAAE,MAAM;KAChB,CAAC;IACD,UAAU,EAAE;IACZ,QAAQ,EAAE;mDACgB;AAS3B;IAPC,mBAAmB,CAAC;QACnB,WAAW,EAAE,sBAAsB;QACnC,IAAI,EAAE,CAAC,gBAAgB,CAAC;QACxB,OAAO,EAAE,OAAO;KACjB,CAAC;IACD,UAAU,EAAE;IACZ,QAAQ,EAAE;wDACkB;AAG/B;;GAEG;AACH,MAAM,OAAO,+BAAgC,SAAQ,wBAAwB;IAalE,MAAM,GAAyB,WAAW,CAAC;IAOpD,OAAO,CAAyB;CACjC;AARU;IAXR,mBAAmB,CAAC;QACnB,WAAW,EAAE,6BAA6B;QAC1C,IAAI,EAAE,uBAAuB;QAC7B,OAAO,EAAE,WAAW;QACpB,OAAO,EAAE,WAAW;KACrB,CAAC;IACD,UAAU,EAAE;IACZ,IAAI,CAAC,uBAAuB,EAAE;QAC7B,OAAO,EAAE,0BAA0B,uBAAuB,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE;KACxE,CAAC;IACD,SAAS,CAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,KAAK,IAAI,WAAW,CAAC,CAAC,4BAA4B;+DACxB;AAOpD;IALC,mBAAmB,CAAC;QACnB,WAAW,EAAE,8BAA8B;QAC3C,IAAI,EAAE,qBAAqB;KAC5B,CAAC;IACD,UAAU,EAAE;gEACmB"}
@@ -17,4 +17,5 @@ export * from './crypto.enum';
17
17
  export * from './wallet.enum';
18
18
  export * from './sort-order.enum';
19
19
  export * from './purchase';
20
+ export * from './redemption';
20
21
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/shared-lib/enum/index.ts"],"names":[],"mappings":"AACA,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,yCAAyC,CAAC;AACxD,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,wBAAwB,CAAC;AACvC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,iCAAiC,CAAC;AAChD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,mBAAmB,CAAC;AAClC,cAAc,YAAY,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/shared-lib/enum/index.ts"],"names":[],"mappings":"AACA,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,yCAAyC,CAAC;AACxD,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,wBAAwB,CAAC;AACvC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,iCAAiC,CAAC;AAChD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,mBAAmB,CAAC;AAElC,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC"}
@@ -18,4 +18,5 @@ export * from './crypto.enum';
18
18
  export * from './wallet.enum';
19
19
  export * from './sort-order.enum';
20
20
  export * from './purchase';
21
+ export * from './redemption';
21
22
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/shared-lib/enum/index.ts"],"names":[],"mappings":"AAAA,wCAAwC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,yCAAyC,CAAC;AACxD,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,wBAAwB,CAAC;AACvC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,iCAAiC,CAAC;AAChD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,mBAAmB,CAAC;AAClC,cAAc,YAAY,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/shared-lib/enum/index.ts"],"names":[],"mappings":"AAAA,wCAAwC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,yCAAyC,CAAC;AACxD,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,wBAAwB,CAAC;AACvC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,iCAAiC,CAAC;AAChD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,mBAAmB,CAAC;AAElC,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './redemption-redeem-status';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/shared-lib/enum/redemption/index.ts"],"names":[],"mappings":"AAEA,cAAc,4BAA4B,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './redemption-redeem-status';
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/shared-lib/enum/redemption/index.ts"],"names":[],"mappings":"AAEA,cAAc,4BAA4B,CAAC"}
@@ -0,0 +1,7 @@
1
+ export declare enum RedemptionRedeemStatus {
2
+ PENDING = "PENDING",// Just created, no transactions yet
3
+ PROCESSING = "PROCESSING",// Sender transaction submitted/processing
4
+ COMPLETED = "COMPLETED",// All transactions completed successfully
5
+ FAILED = "FAILED"
6
+ }
7
+ //# sourceMappingURL=redemption-redeem-status.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"redemption-redeem-status.d.ts","sourceRoot":"","sources":["../../../../../src/shared-lib/enum/redemption/redemption-redeem-status.ts"],"names":[],"mappings":"AAEA,oBAAY,sBAAsB;IAC9B,OAAO,YAAY,CAAY,oCAAoC;IACnE,UAAU,eAAe,CAAM,0CAA0C;IACzE,SAAS,cAAc,CAAQ,0CAA0C;IACzE,MAAM,WAAW;CACpB"}
@@ -0,0 +1,8 @@
1
+ export var RedemptionRedeemStatus;
2
+ (function (RedemptionRedeemStatus) {
3
+ RedemptionRedeemStatus["PENDING"] = "PENDING";
4
+ RedemptionRedeemStatus["PROCESSING"] = "PROCESSING";
5
+ RedemptionRedeemStatus["COMPLETED"] = "COMPLETED";
6
+ RedemptionRedeemStatus["FAILED"] = "FAILED"; // Processing failed
7
+ })(RedemptionRedeemStatus || (RedemptionRedeemStatus = {}));
8
+ //# sourceMappingURL=redemption-redeem-status.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"redemption-redeem-status.js","sourceRoot":"","sources":["../../../../../src/shared-lib/enum/redemption/redemption-redeem-status.ts"],"names":[],"mappings":"AAEA,MAAM,CAAN,IAAY,sBAKX;AALD,WAAY,sBAAsB;IAC9B,6CAAmB,CAAA;IACnB,mDAAyB,CAAA;IACzB,iDAAuB,CAAA;IACvB,2CAAiB,CAAA,CAAc,oBAAoB;AACvD,CAAC,EALW,sBAAsB,KAAtB,sBAAsB,QAKjC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@explorins/pers-shared",
3
- "version": "2.1.25",
3
+ "version": "2.1.26",
4
4
  "scripts": {
5
5
  "clean": "find dist -type f -delete 2>/dev/null || true",
6
6
  "build:esm": "tsc -p tsconfig.esm.json",