@heliofi/common 0.1.338 → 0.1.339

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.
@@ -0,0 +1,6 @@
1
+ import { AllowlistWallet } from './allowlistWallet.dto';
2
+ export declare class AddAllowlistWalletsDto {
3
+ prId: string;
4
+ prType: string;
5
+ wallets: AllowlistWallet[];
6
+ }
@@ -0,0 +1,37 @@
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.AddAllowlistWalletsDto = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ const class_transformer_1 = require("class-transformer");
15
+ const payment_request_1 = require("../../payment-request");
16
+ const allowlistWallet_dto_1 = require("./allowlistWallet.dto");
17
+ class AddAllowlistWalletsDto {
18
+ }
19
+ __decorate([
20
+ (0, class_validator_1.IsString)(),
21
+ (0, class_validator_1.IsNotEmpty)(),
22
+ __metadata("design:type", String)
23
+ ], AddAllowlistWalletsDto.prototype, "prId", void 0);
24
+ __decorate([
25
+ (0, class_validator_1.IsEnum)(payment_request_1.PaymentRequestType),
26
+ (0, class_validator_1.IsNotEmpty)(),
27
+ __metadata("design:type", String)
28
+ ], AddAllowlistWalletsDto.prototype, "prType", void 0);
29
+ __decorate([
30
+ (0, class_validator_1.IsArray)(),
31
+ (0, class_validator_1.ArrayMinSize)(1),
32
+ (0, class_transformer_1.Type)(() => allowlistWallet_dto_1.AllowlistWallet),
33
+ (0, class_validator_1.ValidateNested)({ each: true }),
34
+ __metadata("design:type", Array)
35
+ ], AddAllowlistWalletsDto.prototype, "wallets", void 0);
36
+ exports.AddAllowlistWalletsDto = AddAllowlistWalletsDto;
37
+ //# sourceMappingURL=addAllowlistWallets.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"addAllowlistWallets.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/allowlist/dtos/addAllowlistWallets.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAOyB;AACzB,yDAAyC;AACzC,2DAA2D;AAC3D,+DAAwD;AAExD,MAAa,sBAAsB;CAclC;AAbC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;oDACA;AAEb;IAAC,IAAA,wBAAM,EAAC,oCAAkB,CAAC;IAC1B,IAAA,4BAAU,GAAE;;sDACE;AAEf;IAAC,IAAA,yBAAO,GAAE;IACT,IAAA,8BAAY,EAAC,CAAC,CAAC;IACf,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,qCAAe,CAAC;IAC3B,IAAA,gCAAc,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;uDACJ;AAb7B,wDAcC"}
@@ -0,0 +1,4 @@
1
+ export declare class AllowlistWallet {
2
+ publicKey: string;
3
+ maxAllowedQuantity?: number;
4
+ }
@@ -0,0 +1,27 @@
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.AllowlistWallet = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ class AllowlistWallet {
15
+ }
16
+ __decorate([
17
+ (0, class_validator_1.IsString)(),
18
+ (0, class_validator_1.IsNotEmpty)(),
19
+ __metadata("design:type", String)
20
+ ], AllowlistWallet.prototype, "publicKey", void 0);
21
+ __decorate([
22
+ (0, class_validator_1.IsNumber)(),
23
+ (0, class_validator_1.IsOptional)(),
24
+ __metadata("design:type", Number)
25
+ ], AllowlistWallet.prototype, "maxAllowedQuantity", void 0);
26
+ exports.AllowlistWallet = AllowlistWallet;
27
+ //# sourceMappingURL=allowlistWallet.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"allowlistWallet.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/allowlist/dtos/allowlistWallet.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA6E;AAE7E,MAAa,eAAe;CAQ3B;AAPC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;kDACK;AAElB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;2DACe;AAP9B,0CAQC"}
@@ -1 +1,2 @@
1
1
  export * from './uploadAllowlistCSV.dto';
2
+ export * from './addAllowlistWallets.dto';
@@ -15,4 +15,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./uploadAllowlistCSV.dto"), exports);
18
+ __exportStar(require("./addAllowlistWallets.dto"), exports);
18
19
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/allowlist/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2DAAyC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/allowlist/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2DAAyC;AACzC,4DAA0C"}
@@ -0,0 +1,8 @@
1
+ import { Entity } from '../../entity';
2
+ import { AllowlistWallet } from './AllowlistWallet';
3
+ export declare class AddAllowlistResponse extends Entity {
4
+ id: string;
5
+ prId: string;
6
+ prType: string;
7
+ wallets: AllowlistWallet[];
8
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AddAllowlistResponse = void 0;
4
+ const entity_1 = require("../../entity");
5
+ class AddAllowlistResponse extends entity_1.Entity {
6
+ }
7
+ exports.AddAllowlistResponse = AddAllowlistResponse;
8
+ //# sourceMappingURL=AddAllowlistResponse.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AddAllowlistResponse.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/allowlist/entities/AddAllowlistResponse.entity.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAGtC,MAAa,oBAAqB,SAAQ,eAAM;CAQ/C;AARD,oDAQC"}
@@ -1,4 +1,5 @@
1
- export declare class AllowlistWallet {
1
+ import { Entity } from '../../entity';
2
+ export declare class AllowlistWallet extends Entity {
2
3
  publicKey: string;
3
4
  maxAllowedQuantity?: number;
4
5
  }
@@ -1,7 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.AllowlistWallet = void 0;
4
- class AllowlistWallet {
4
+ const entity_1 = require("../../entity");
5
+ class AllowlistWallet extends entity_1.Entity {
5
6
  }
6
7
  exports.AllowlistWallet = AllowlistWallet;
7
8
  //# sourceMappingURL=AllowlistWallet.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"AllowlistWallet.js","sourceRoot":"","sources":["../../../../../../src/domain/model/allowlist/entities/AllowlistWallet.ts"],"names":[],"mappings":";;;AAAA,MAAa,eAAe;CAI3B;AAJD,0CAIC"}
1
+ {"version":3,"file":"AllowlistWallet.js","sourceRoot":"","sources":["../../../../../../src/domain/model/allowlist/entities/AllowlistWallet.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAEtC,MAAa,eAAgB,SAAQ,eAAM;CAI1C;AAJD,0CAIC"}
@@ -1,3 +1,4 @@
1
1
  export * from './Allowlist';
2
2
  export * from './AllowlistWallet';
3
3
  export * from './AllowlistResponse';
4
+ export * from './AddAllowlistResponse.entity';
@@ -17,4 +17,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./Allowlist"), exports);
18
18
  __exportStar(require("./AllowlistWallet"), exports);
19
19
  __exportStar(require("./AllowlistResponse"), exports);
20
+ __exportStar(require("./AddAllowlistResponse.entity"), exports);
20
21
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/allowlist/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8CAA4B;AAC5B,oDAAkC;AAClC,sDAAoC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/allowlist/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8CAA4B;AAC5B,oDAAkC;AAClC,sDAAoC;AACpC,gEAA8C"}