@heliofi/common 0.1.216 → 0.1.218

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.
@@ -1,4 +1,4 @@
1
1
  export declare class NftDropDto {
2
- tokenAddresses: string[];
2
+ mintAddresses: string[];
3
3
  escrowAccountPK: string;
4
4
  }
@@ -19,7 +19,7 @@ __decorate([
19
19
  (0, class_validator_1.IsString)({ each: true }),
20
20
  (0, class_validator_1.IsNotEmpty)({ each: true }),
21
21
  __metadata("design:type", Array)
22
- ], NftDropDto.prototype, "tokenAddresses", void 0);
22
+ ], NftDropDto.prototype, "mintAddresses", void 0);
23
23
  __decorate([
24
24
  (0, class_validator_1.IsString)(),
25
25
  (0, class_validator_1.IsNotEmpty)(),
@@ -1 +1 @@
1
- {"version":3,"file":"nftDrop.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/nft-drop/dtos/nftDrop.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA8E;AAE9E,MAAa,UAAU;CAUtB;AATC;IAAC,IAAA,yBAAO,GAAE;IACT,IAAA,8BAAY,EAAC,CAAC,CAAC;IACf,IAAA,0BAAQ,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IACxB,IAAA,4BAAU,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;kDACF;AAEzB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;mDACW;AAT1B,gCAUC"}
1
+ {"version":3,"file":"nftDrop.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/nft-drop/dtos/nftDrop.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA8E;AAE9E,MAAa,UAAU;CAUtB;AATC;IAAC,IAAA,yBAAO,GAAE;IACT,IAAA,8BAAY,EAAC,CAAC,CAAC;IACf,IAAA,0BAAQ,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IACxB,IAAA,4BAAU,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;iDACH;AAExB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;mDACW;AAT1B,gCAUC"}
@@ -1,6 +1,6 @@
1
1
  import { Entity } from '../../entity';
2
2
  export declare class NftDrop extends Entity {
3
- tokenAddresses: string[];
3
+ mintAddresses: string[];
4
4
  escrowAccountPK: string;
5
5
  disabled: boolean;
6
6
  }
@@ -6,6 +6,7 @@ export declare class PrepareEvmTransactionDto extends PreparePaymentRequestDto {
6
6
  amount?: string;
7
7
  quantity?: number;
8
8
  fixedCurrencyRateToken?: string;
9
+ discountToken?: string;
9
10
  customerDetails?: CustomerDetailsDto;
10
11
  productDetails?: ProductDetailsDto;
11
12
  }
@@ -37,6 +37,11 @@ __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);
40
45
  __decorate([
41
46
  (0, class_transformer_1.Type)(() => customer_details_1.CustomerDetailsDto),
42
47
  (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;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"}
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"}
@@ -6,6 +6,7 @@ export declare class TokenTransactionPayload extends Entity {
6
6
  paymentRequestId: string;
7
7
  feeProperties: FeeProperties;
8
8
  sessionHash?: string;
9
+ finalAmount?: string;
9
10
  eventName?: EventName;
10
11
  transactionDbId?: string;
11
12
  }
@@ -1,8 +1,22 @@
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
+ };
2
11
  Object.defineProperty(exports, "__esModule", { value: true });
3
12
  exports.TokenTransactionPayload = void 0;
13
+ const class_transformer_1 = require("class-transformer");
4
14
  const entity_1 = require("../../entity");
5
15
  class TokenTransactionPayload extends entity_1.Entity {
6
16
  }
17
+ __decorate([
18
+ (0, class_transformer_1.Transform)(({ value }) => BigInt(value)),
19
+ __metadata("design:type", String)
20
+ ], TokenTransactionPayload.prototype, "finalAmount", void 0);
7
21
  exports.TokenTransactionPayload = TokenTransactionPayload;
8
22
  //# 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,yCAAsC;AAGtC,MAAa,uBAAwB,SAAQ,eAAM;CAYlD;AAZD,0DAYC"}
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"}