@heliofi/common 0.2.238 → 0.2.239-alpha.1778157963

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 (38) hide show
  1. package/dist/src/domain/model/charge/dtos/partialUpdateCharge.dto.d.ts +5 -0
  2. package/dist/src/domain/model/charge/dtos/partialUpdateCharge.dto.js +25 -0
  3. package/dist/src/domain/model/charge/dtos/partialUpdateCharge.dto.js.map +1 -1
  4. package/dist/src/domain/model/charge/dtos/updateCharge.dto.d.ts +0 -5
  5. package/dist/src/domain/model/charge/dtos/updateCharge.dto.js +0 -23
  6. package/dist/src/domain/model/charge/dtos/updateCharge.dto.js.map +1 -1
  7. package/dist/src/domain/model/company/entities/BaseCompany.entity.d.ts +1 -0
  8. package/dist/src/domain/model/company/entities/BaseCompany.entity.js.map +1 -1
  9. package/dist/src/domain/model/deposit/entities/DepositCurrenciesExchangeRate.entity.d.ts +1 -0
  10. package/dist/src/domain/model/deposit/entities/DepositCurrenciesExchangeRate.entity.js.map +1 -1
  11. package/dist/src/domain/model/tron-gasless/dtos/index.d.ts +2 -0
  12. package/dist/src/domain/model/tron-gasless/dtos/index.js +2 -0
  13. package/dist/src/domain/model/tron-gasless/dtos/index.js.map +1 -1
  14. package/dist/src/domain/model/tron-gasless/dtos/undelegateResource.dto.d.ts +6 -0
  15. package/dist/src/domain/model/tron-gasless/dtos/undelegateResource.dto.js +34 -0
  16. package/dist/src/domain/model/tron-gasless/dtos/undelegateResource.dto.js.map +1 -0
  17. package/dist/src/domain/model/tron-gasless/dtos/unfreezeBalance.dto.d.ts +5 -0
  18. package/dist/src/domain/model/tron-gasless/dtos/unfreezeBalance.dto.js +29 -0
  19. package/dist/src/domain/model/tron-gasless/dtos/unfreezeBalance.dto.js.map +1 -0
  20. package/dist/src/domain/model/tron-gasless/entities/PendingUnfreeze.entity.d.ts +6 -0
  21. package/dist/src/domain/model/tron-gasless/entities/PendingUnfreeze.entity.js +7 -0
  22. package/dist/src/domain/model/tron-gasless/entities/PendingUnfreeze.entity.js.map +1 -0
  23. package/dist/src/domain/model/tron-gasless/entities/UndelegateResourceResponse.entity.d.ts +7 -0
  24. package/dist/src/domain/model/tron-gasless/entities/UndelegateResourceResponse.entity.js +7 -0
  25. package/dist/src/domain/model/tron-gasless/entities/UndelegateResourceResponse.entity.js.map +1 -0
  26. package/dist/src/domain/model/tron-gasless/entities/UnfreezeBalanceResponse.entity.d.ts +7 -0
  27. package/dist/src/domain/model/tron-gasless/entities/UnfreezeBalanceResponse.entity.js +7 -0
  28. package/dist/src/domain/model/tron-gasless/entities/UnfreezeBalanceResponse.entity.js.map +1 -0
  29. package/dist/src/domain/model/tron-gasless/entities/WithdrawExpireUnfreezeResponse.entity.d.ts +4 -0
  30. package/dist/src/domain/model/tron-gasless/entities/WithdrawExpireUnfreezeResponse.entity.js +7 -0
  31. package/dist/src/domain/model/tron-gasless/entities/WithdrawExpireUnfreezeResponse.entity.js.map +1 -0
  32. package/dist/src/domain/model/tron-gasless/entities/gasWalletResources.entity.d.ts +4 -0
  33. package/dist/src/domain/model/tron-gasless/entities/gasWalletResources.entity.js.map +1 -1
  34. package/dist/src/domain/model/tron-gasless/entities/index.d.ts +4 -0
  35. package/dist/src/domain/model/tron-gasless/entities/index.js +4 -0
  36. package/dist/src/domain/model/tron-gasless/entities/index.js.map +1 -1
  37. package/dist/tsconfig.tsbuildinfo +1 -1
  38. package/package.json +2 -2
@@ -1,3 +1,8 @@
1
+ import { CustomerDetailsDto } from '../../customer-details';
2
+ import { ProductDetailsDto } from '../../product-details';
1
3
  export declare class PartialUpdateChargeDto {
2
4
  quantity?: number;
5
+ customerDetails?: CustomerDetailsDto;
6
+ productDetails?: ProductDetailsDto;
7
+ additionalProductDetails?: ProductDetailsDto[];
3
8
  }
@@ -11,6 +11,9 @@ var __metadata = (this && this.__metadata) || function (k, v) {
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.PartialUpdateChargeDto = void 0;
13
13
  const class_validator_1 = require("class-validator");
14
+ const class_transformer_1 = require("class-transformer");
15
+ const customer_details_1 = require("../../customer-details");
16
+ const product_details_1 = require("../../product-details");
14
17
  class PartialUpdateChargeDto {
15
18
  }
16
19
  exports.PartialUpdateChargeDto = PartialUpdateChargeDto;
@@ -19,4 +22,26 @@ __decorate([
19
22
  (0, class_validator_1.IsNumber)(),
20
23
  __metadata("design:type", Number)
21
24
  ], PartialUpdateChargeDto.prototype, "quantity", void 0);
25
+ __decorate([
26
+ (0, class_validator_1.IsOptional)(),
27
+ (0, class_transformer_1.Type)(() => customer_details_1.CustomerDetailsDto),
28
+ (0, class_validator_1.IsObject)(),
29
+ (0, class_validator_1.ValidateNested)(),
30
+ __metadata("design:type", customer_details_1.CustomerDetailsDto)
31
+ ], PartialUpdateChargeDto.prototype, "customerDetails", void 0);
32
+ __decorate([
33
+ (0, class_validator_1.IsOptional)(),
34
+ (0, class_transformer_1.Type)(() => product_details_1.ProductDetailsDto),
35
+ (0, class_validator_1.IsObject)(),
36
+ (0, class_validator_1.ValidateNested)(),
37
+ __metadata("design:type", product_details_1.ProductDetailsDto)
38
+ ], PartialUpdateChargeDto.prototype, "productDetails", void 0);
39
+ __decorate([
40
+ (0, class_validator_1.IsOptional)(),
41
+ (0, class_validator_1.IsArray)(),
42
+ (0, class_validator_1.ArrayMaxSize)(1),
43
+ (0, class_transformer_1.Type)(() => product_details_1.ProductDetailsDto),
44
+ (0, class_validator_1.ValidateNested)({ each: true }),
45
+ __metadata("design:type", Array)
46
+ ], PartialUpdateChargeDto.prototype, "additionalProductDetails", void 0);
22
47
  //# sourceMappingURL=partialUpdateCharge.dto.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"partialUpdateCharge.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/charge/dtos/partialUpdateCharge.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuD;AAEvD,MAAa,sBAAsB;CAIlC;AAJD,wDAIC;AADC;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;wDACO"}
1
+ {"version":3,"file":"partialUpdateCharge.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/charge/dtos/partialUpdateCharge.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAOyB;AACzB,yDAAyC;AACzC,6DAA4D;AAC5D,2DAA0D;AAE1D,MAAa,sBAAsB;CAuBlC;AAvBD,wDAuBC;AApBC;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;wDACO;AAMlB;IAJC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,qCAAkB,CAAC;IAC9B,IAAA,0BAAQ,GAAE;IACV,IAAA,gCAAc,GAAE;8BACC,qCAAkB;+DAAC;AAMrC;IAJC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,mCAAiB,CAAC;IAC7B,IAAA,0BAAQ,GAAE;IACV,IAAA,gCAAc,GAAE;8BACA,mCAAiB;8DAAC;AAOnC;IALC,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;IACT,IAAA,8BAAY,EAAC,CAAC,CAAC;IACf,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,mCAAiB,CAAC;IAC7B,IAAA,gCAAc,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;wEACgB"}
@@ -1,11 +1,6 @@
1
1
  import { PartialUpdateChargeDto } from './partialUpdateCharge.dto';
2
- import { CustomerDetailsDto } from '../../customer-details';
3
- import { ProductDetailsDto } from '../../product-details';
4
2
  export declare class UpdateChargeDto extends PartialUpdateChargeDto {
5
3
  amount: string;
6
4
  currency: string;
7
5
  pricingCurrencyRateToken: string;
8
- customerDetails?: CustomerDetailsDto;
9
- productDetails?: ProductDetailsDto;
10
- additionalProductDetails?: ProductDetailsDto[];
11
6
  }
@@ -11,10 +11,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.UpdateChargeDto = void 0;
13
13
  const class_validator_1 = require("class-validator");
14
- const class_transformer_1 = require("class-transformer");
15
14
  const partialUpdateCharge_dto_1 = require("./partialUpdateCharge.dto");
16
- const customer_details_1 = require("../../customer-details");
17
- const product_details_1 = require("../../product-details");
18
15
  class UpdateChargeDto extends partialUpdateCharge_dto_1.PartialUpdateChargeDto {
19
16
  }
20
17
  exports.UpdateChargeDto = UpdateChargeDto;
@@ -33,24 +30,4 @@ __decorate([
33
30
  (0, class_validator_1.IsNotEmpty)(),
34
31
  __metadata("design:type", String)
35
32
  ], UpdateChargeDto.prototype, "pricingCurrencyRateToken", void 0);
36
- __decorate([
37
- (0, class_transformer_1.Type)(() => customer_details_1.CustomerDetailsDto),
38
- (0, class_validator_1.ValidateNested)(),
39
- (0, class_validator_1.IsOptional)(),
40
- __metadata("design:type", customer_details_1.CustomerDetailsDto)
41
- ], UpdateChargeDto.prototype, "customerDetails", void 0);
42
- __decorate([
43
- (0, class_transformer_1.Type)(() => product_details_1.ProductDetailsDto),
44
- (0, class_validator_1.ValidateNested)(),
45
- (0, class_validator_1.IsOptional)(),
46
- __metadata("design:type", product_details_1.ProductDetailsDto)
47
- ], UpdateChargeDto.prototype, "productDetails", void 0);
48
- __decorate([
49
- (0, class_validator_1.IsOptional)(),
50
- (0, class_validator_1.IsArray)(),
51
- (0, class_validator_1.ArrayMaxSize)(1),
52
- (0, class_transformer_1.Type)(() => product_details_1.ProductDetailsDto),
53
- (0, class_validator_1.ValidateNested)({ each: true }),
54
- __metadata("design:type", Array)
55
- ], UpdateChargeDto.prototype, "additionalProductDetails", void 0);
56
33
  //# sourceMappingURL=updateCharge.dto.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"updateCharge.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/charge/dtos/updateCharge.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAOyB;AACzB,yDAAyC;AACzC,uEAAmE;AACnE,6DAA4D;AAC5D,2DAA0D;AAE1D,MAAa,eAAgB,SAAQ,gDAAsB;CA6B1D;AA7BD,0CA6BC;AA1BC;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;+CACE;AAIf;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;iDACI;AAIjB;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;iEACoB;AAKjC;IAHC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,qCAAkB,CAAC;IAC9B,IAAA,gCAAc,GAAE;IAChB,IAAA,4BAAU,GAAE;8BACK,qCAAkB;wDAAC;AAKrC;IAHC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,mCAAiB,CAAC;IAC7B,IAAA,gCAAc,GAAE;IAChB,IAAA,4BAAU,GAAE;8BACI,mCAAiB;uDAAC;AAOnC;IALC,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;IACT,IAAA,8BAAY,EAAC,CAAC,CAAC;IACf,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,mCAAiB,CAAC;IAC7B,IAAA,gCAAc,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;iEACgB"}
1
+ {"version":3,"file":"updateCharge.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/charge/dtos/updateCharge.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuD;AACvD,uEAAmE;AAEnE,MAAa,eAAgB,SAAQ,gDAAsB;CAY1D;AAZD,0CAYC;AATC;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;+CACE;AAIf;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;iDACI;AAIjB;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;iEACoB"}
@@ -27,6 +27,7 @@ export declare class BaseCompany extends Entity {
27
27
  onrampDirectlyToMerchant?: boolean;
28
28
  showWeb3Auth?: boolean;
29
29
  customTheme?: CustomTheme;
30
+ allowDeposit?: boolean;
30
31
  verifiedEntity?: {
31
32
  entityName?: string;
32
33
  country?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"BaseCompany.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/company/entities/BaseCompany.entity.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAStC,MAAa,WAAY,SAAQ,eAAM;CA+CtC;AA/CD,kCA+CC"}
1
+ {"version":3,"file":"BaseCompany.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/company/entities/BaseCompany.entity.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAStC,MAAa,WAAY,SAAQ,eAAM;CAiDtC;AAjDD,kCAiDC"}
@@ -5,5 +5,6 @@ export declare class DepositCurrenciesExchangeRate extends Entity {
5
5
  fromCurrencyId: string;
6
6
  toCurrencyId: string;
7
7
  fromCurrencySymbol: string;
8
+ fromBlockchainSymbol: string;
8
9
  toCurrencySymbol: string;
9
10
  }
@@ -1 +1 @@
1
- {"version":3,"file":"DepositCurrenciesExchangeRate.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/deposit/entities/DepositCurrenciesExchangeRate.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA8C;AAC9C,yCAAsC;AAEtC,MAAa,6BAA8B,SAAQ,eAAM;CAaxD;AAbD,sEAaC;AAXC;IADC,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;;sEAChB"}
1
+ {"version":3,"file":"DepositCurrenciesExchangeRate.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/deposit/entities/DepositCurrenciesExchangeRate.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA8C;AAC9C,yCAAsC;AAEtC,MAAa,6BAA8B,SAAQ,eAAM;CAexD;AAfD,sEAeC;AAbC;IADC,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;;sEAChB"}
@@ -1 +1,3 @@
1
1
  export * from './freezeBalance.dto';
2
+ export * from './undelegateResource.dto';
3
+ export * from './unfreezeBalance.dto';
@@ -15,4 +15,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./freezeBalance.dto"), exports);
18
+ __exportStar(require("./undelegateResource.dto"), exports);
19
+ __exportStar(require("./unfreezeBalance.dto"), exports);
18
20
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/tron-gasless/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/tron-gasless/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC;AACpC,2DAAyC;AACzC,wDAAsC"}
@@ -0,0 +1,6 @@
1
+ import { TronResourceType } from '../constants/tronResourceType.enum';
2
+ export declare class UndelegateResourceDto {
3
+ amount: number;
4
+ toAddress: string;
5
+ resource: TronResourceType;
6
+ }
@@ -0,0 +1,34 @@
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.UndelegateResourceDto = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ const tronResourceType_enum_1 = require("../constants/tronResourceType.enum");
15
+ class UndelegateResourceDto {
16
+ }
17
+ exports.UndelegateResourceDto = UndelegateResourceDto;
18
+ __decorate([
19
+ (0, class_validator_1.IsInt)(),
20
+ (0, class_validator_1.IsNotEmpty)(),
21
+ (0, class_validator_1.Min)(1),
22
+ __metadata("design:type", Number)
23
+ ], UndelegateResourceDto.prototype, "amount", void 0);
24
+ __decorate([
25
+ (0, class_validator_1.IsString)(),
26
+ (0, class_validator_1.IsNotEmpty)(),
27
+ __metadata("design:type", String)
28
+ ], UndelegateResourceDto.prototype, "toAddress", void 0);
29
+ __decorate([
30
+ (0, class_validator_1.IsEnum)(tronResourceType_enum_1.TronResourceType),
31
+ (0, class_validator_1.IsNotEmpty)(),
32
+ __metadata("design:type", String)
33
+ ], UndelegateResourceDto.prototype, "resource", void 0);
34
+ //# sourceMappingURL=undelegateResource.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"undelegateResource.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/tron-gasless/dtos/undelegateResource.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA2E;AAC3E,8EAAsE;AAEtE,MAAa,qBAAqB;CAajC;AAbD,sDAaC;AATC;IAHC,IAAA,uBAAK,GAAE;IACP,IAAA,4BAAU,GAAE;IACZ,IAAA,qBAAG,EAAC,CAAC,CAAC;;qDACQ;AAIf;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;wDACK;AAIlB;IAFC,IAAA,wBAAM,EAAC,wCAAgB,CAAC;IACxB,IAAA,4BAAU,GAAE;;uDACc"}
@@ -0,0 +1,5 @@
1
+ import { TronResourceType } from '../constants/tronResourceType.enum';
2
+ export declare class UnfreezeBalanceDto {
3
+ amount: number;
4
+ resource: TronResourceType;
5
+ }
@@ -0,0 +1,29 @@
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.UnfreezeBalanceDto = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ const tronResourceType_enum_1 = require("../constants/tronResourceType.enum");
15
+ class UnfreezeBalanceDto {
16
+ }
17
+ exports.UnfreezeBalanceDto = UnfreezeBalanceDto;
18
+ __decorate([
19
+ (0, class_validator_1.IsInt)(),
20
+ (0, class_validator_1.IsNotEmpty)(),
21
+ (0, class_validator_1.Min)(1),
22
+ __metadata("design:type", Number)
23
+ ], UnfreezeBalanceDto.prototype, "amount", void 0);
24
+ __decorate([
25
+ (0, class_validator_1.IsEnum)(tronResourceType_enum_1.TronResourceType),
26
+ (0, class_validator_1.IsNotEmpty)(),
27
+ __metadata("design:type", String)
28
+ ], UnfreezeBalanceDto.prototype, "resource", void 0);
29
+ //# sourceMappingURL=unfreezeBalance.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"unfreezeBalance.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/tron-gasless/dtos/unfreezeBalance.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAiE;AACjE,8EAAsE;AAEtE,MAAa,kBAAkB;CAS9B;AATD,gDASC;AALC;IAHC,IAAA,uBAAK,GAAE;IACP,IAAA,4BAAU,GAAE;IACZ,IAAA,qBAAG,EAAC,CAAC,CAAC;;kDACQ;AAIf;IAFC,IAAA,wBAAM,EAAC,wCAAgB,CAAC;IACxB,IAAA,4BAAU,GAAE;;oDACc"}
@@ -0,0 +1,6 @@
1
+ import { TronResourceType } from '../constants/tronResourceType.enum';
2
+ export declare class PendingUnfreeze {
3
+ amount: number;
4
+ expireTime: number;
5
+ resource: TronResourceType;
6
+ }
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PendingUnfreeze = void 0;
4
+ class PendingUnfreeze {
5
+ }
6
+ exports.PendingUnfreeze = PendingUnfreeze;
7
+ //# sourceMappingURL=PendingUnfreeze.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PendingUnfreeze.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/tron-gasless/entities/PendingUnfreeze.entity.ts"],"names":[],"mappings":";;;AAEA,MAAa,eAAe;CAM3B;AAND,0CAMC"}
@@ -0,0 +1,7 @@
1
+ import { TronResourceType } from '../constants/tronResourceType.enum';
2
+ export declare class UndelegateResourceResponse {
3
+ transactionId: string;
4
+ undelegatedAmount: number;
5
+ resource: TronResourceType;
6
+ gasWalletAddress: string;
7
+ }
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UndelegateResourceResponse = void 0;
4
+ class UndelegateResourceResponse {
5
+ }
6
+ exports.UndelegateResourceResponse = UndelegateResourceResponse;
7
+ //# sourceMappingURL=UndelegateResourceResponse.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UndelegateResourceResponse.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/tron-gasless/entities/UndelegateResourceResponse.entity.ts"],"names":[],"mappings":";;;AAEA,MAAa,0BAA0B;CAQtC;AARD,gEAQC"}
@@ -0,0 +1,7 @@
1
+ import { TronResourceType } from '../constants/tronResourceType.enum';
2
+ export declare class UnfreezeBalanceResponse {
3
+ transactionId: string;
4
+ unfrozenAmount: number;
5
+ resource: TronResourceType;
6
+ gasWalletAddress: string;
7
+ }
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UnfreezeBalanceResponse = void 0;
4
+ class UnfreezeBalanceResponse {
5
+ }
6
+ exports.UnfreezeBalanceResponse = UnfreezeBalanceResponse;
7
+ //# sourceMappingURL=UnfreezeBalanceResponse.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UnfreezeBalanceResponse.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/tron-gasless/entities/UnfreezeBalanceResponse.entity.ts"],"names":[],"mappings":";;;AAEA,MAAa,uBAAuB;CAQnC;AARD,0DAQC"}
@@ -0,0 +1,4 @@
1
+ export declare class WithdrawExpireUnfreezeResponse {
2
+ transactionId: string;
3
+ gasWalletAddress: string;
4
+ }
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.WithdrawExpireUnfreezeResponse = void 0;
4
+ class WithdrawExpireUnfreezeResponse {
5
+ }
6
+ exports.WithdrawExpireUnfreezeResponse = WithdrawExpireUnfreezeResponse;
7
+ //# sourceMappingURL=WithdrawExpireUnfreezeResponse.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WithdrawExpireUnfreezeResponse.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/tron-gasless/entities/WithdrawExpireUnfreezeResponse.entity.ts"],"names":[],"mappings":";;;AAAA,MAAa,8BAA8B;CAI1C;AAJD,wEAIC"}
@@ -1,3 +1,4 @@
1
+ import { PendingUnfreeze } from './PendingUnfreeze.entity';
1
2
  export declare class GasWalletResources {
2
3
  gasWalletAddress: string;
3
4
  bandwidth: number;
@@ -5,4 +6,7 @@ export declare class GasWalletResources {
5
6
  trxBalance: number;
6
7
  frozenBalanceForBandwidth: number;
7
8
  frozenBalanceForEnergy: number;
9
+ delegatedForBandwidth: number;
10
+ delegatedForEnergy: number;
11
+ unfreezing: PendingUnfreeze[];
8
12
  }
@@ -1 +1 @@
1
- {"version":3,"file":"gasWalletResources.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/tron-gasless/entities/gasWalletResources.entity.ts"],"names":[],"mappings":";;;AAAA,MAAa,kBAAkB;CAY9B;AAZD,gDAYC"}
1
+ {"version":3,"file":"gasWalletResources.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/tron-gasless/entities/gasWalletResources.entity.ts"],"names":[],"mappings":";;;AAEA,MAAa,kBAAkB;CAkB9B;AAlBD,gDAkBC"}
@@ -1,2 +1,6 @@
1
1
  export * from './freezeBalanceResponse.entity';
2
2
  export * from './gasWalletResources.entity';
3
+ export * from './PendingUnfreeze.entity';
4
+ export * from './UndelegateResourceResponse.entity';
5
+ export * from './UnfreezeBalanceResponse.entity';
6
+ export * from './WithdrawExpireUnfreezeResponse.entity';
@@ -16,4 +16,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./freezeBalanceResponse.entity"), exports);
18
18
  __exportStar(require("./gasWalletResources.entity"), exports);
19
+ __exportStar(require("./PendingUnfreeze.entity"), exports);
20
+ __exportStar(require("./UndelegateResourceResponse.entity"), exports);
21
+ __exportStar(require("./UnfreezeBalanceResponse.entity"), exports);
22
+ __exportStar(require("./WithdrawExpireUnfreezeResponse.entity"), exports);
19
23
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/tron-gasless/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iEAA+C;AAC/C,8DAA4C"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/tron-gasless/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iEAA+C;AAC/C,8DAA4C;AAC5C,2DAAyC;AACzC,sEAAoD;AACpD,mEAAiD;AACjD,0EAAwD"}