@heliofi/common 0.2.208 → 0.2.209

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,15 @@
1
+ import { DecentErrorCode } from './DecentApiError';
2
+ import { GetRoutesOptions } from './GetRoutesOptions';
3
+ export declare class SwapPathStatusItem {
4
+ from: {
5
+ currencySymbol: string;
6
+ blockchainSymbol: string;
7
+ };
8
+ to: {
9
+ currencySymbol: string;
10
+ blockchainSymbol: string;
11
+ };
12
+ available: boolean;
13
+ error?: DecentErrorCode;
14
+ payload?: GetRoutesOptions;
15
+ }
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SwapPathStatusItem = void 0;
4
+ class SwapPathStatusItem {
5
+ }
6
+ exports.SwapPathStatusItem = SwapPathStatusItem;
7
+ //# sourceMappingURL=SwapPathStatusItem.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SwapPathStatusItem.js","sourceRoot":"","sources":["../../../../../../src/domain/model/decent-swap/entities/SwapPathStatusItem.ts"],"names":[],"mappings":";;;AAGA,MAAa,kBAAkB;CAU9B;AAVD,gDAUC"}
@@ -8,3 +8,4 @@ export * from './DecentChainId';
8
8
  export * from './DecentAppFeeOverride';
9
9
  export * from './DecentBridgeProvider';
10
10
  export * from './DecentApiError';
11
+ export * from './SwapPathStatusItem';
@@ -24,4 +24,5 @@ __exportStar(require("./DecentChainId"), exports);
24
24
  __exportStar(require("./DecentAppFeeOverride"), exports);
25
25
  __exportStar(require("./DecentBridgeProvider"), exports);
26
26
  __exportStar(require("./DecentApiError"), exports);
27
+ __exportStar(require("./SwapPathStatusItem"), exports);
27
28
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/decent-swap/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,oDAAkC;AAClC,4DAA0C;AAC1C,mDAAiC;AACjC,qDAAmC;AACnC,gDAA8B;AAC9B,kDAAgC;AAChC,yDAAuC;AACvC,yDAAuC;AACvC,mDAAiC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/decent-swap/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,oDAAkC;AAClC,4DAA0C;AAC1C,mDAAiC;AACjC,qDAAmC;AACnC,gDAA8B;AAC9B,kDAAgC;AAChC,yDAAuC;AACvC,yDAAuC;AACvC,mDAAiC;AACjC,uDAAqC"}
@@ -1,3 +1,4 @@
1
1
  export * from './getOnrampPaymentMethods.dto';
2
2
  export * from './getOnrampQuotes.dto';
3
3
  export * from './initiateOnrampTransaction.dto';
4
+ export * from './onrampCheckout.dto';
@@ -17,4 +17,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./getOnrampPaymentMethods.dto"), exports);
18
18
  __exportStar(require("./getOnrampQuotes.dto"), exports);
19
19
  __exportStar(require("./initiateOnrampTransaction.dto"), exports);
20
+ __exportStar(require("./onrampCheckout.dto"), exports);
20
21
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/onramp/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gEAA8C;AAC9C,wDAAsC;AACtC,kEAAgD"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/onramp/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gEAA8C;AAC9C,wDAAsC;AACtC,kEAAgD;AAChD,uDAAqC"}
@@ -0,0 +1,14 @@
1
+ export declare class OnrampCheckoutDto {
2
+ onramp: string;
3
+ source: string;
4
+ destination: string;
5
+ amount: number;
6
+ paymentMethod: string;
7
+ network: string;
8
+ walletAddress: string;
9
+ isDark: boolean;
10
+ email?: string;
11
+ partnerContext?: string;
12
+ country?: string;
13
+ redirectUrl?: string;
14
+ }
@@ -0,0 +1,78 @@
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.OnrampCheckoutDto = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ class OnrampCheckoutDto {
15
+ }
16
+ exports.OnrampCheckoutDto = OnrampCheckoutDto;
17
+ __decorate([
18
+ (0, class_validator_1.IsString)(),
19
+ (0, class_validator_1.IsNotEmpty)(),
20
+ __metadata("design:type", String)
21
+ ], OnrampCheckoutDto.prototype, "onramp", void 0);
22
+ __decorate([
23
+ (0, class_validator_1.IsString)(),
24
+ (0, class_validator_1.IsNotEmpty)(),
25
+ __metadata("design:type", String)
26
+ ], OnrampCheckoutDto.prototype, "source", void 0);
27
+ __decorate([
28
+ (0, class_validator_1.IsString)(),
29
+ (0, class_validator_1.IsNotEmpty)(),
30
+ __metadata("design:type", String)
31
+ ], OnrampCheckoutDto.prototype, "destination", void 0);
32
+ __decorate([
33
+ (0, class_validator_1.IsNumber)(),
34
+ (0, class_validator_1.IsNotEmpty)(),
35
+ (0, class_validator_1.IsPositive)(),
36
+ __metadata("design:type", Number)
37
+ ], OnrampCheckoutDto.prototype, "amount", void 0);
38
+ __decorate([
39
+ (0, class_validator_1.IsString)(),
40
+ (0, class_validator_1.IsNotEmpty)(),
41
+ __metadata("design:type", String)
42
+ ], OnrampCheckoutDto.prototype, "paymentMethod", void 0);
43
+ __decorate([
44
+ (0, class_validator_1.IsString)(),
45
+ (0, class_validator_1.IsNotEmpty)(),
46
+ __metadata("design:type", String)
47
+ ], OnrampCheckoutDto.prototype, "network", void 0);
48
+ __decorate([
49
+ (0, class_validator_1.IsString)(),
50
+ (0, class_validator_1.IsNotEmpty)(),
51
+ __metadata("design:type", String)
52
+ ], OnrampCheckoutDto.prototype, "walletAddress", void 0);
53
+ __decorate([
54
+ (0, class_validator_1.IsBoolean)(),
55
+ (0, class_validator_1.IsNotEmpty)(),
56
+ __metadata("design:type", Boolean)
57
+ ], OnrampCheckoutDto.prototype, "isDark", void 0);
58
+ __decorate([
59
+ (0, class_validator_1.IsOptional)(),
60
+ (0, class_validator_1.IsString)(),
61
+ __metadata("design:type", String)
62
+ ], OnrampCheckoutDto.prototype, "email", void 0);
63
+ __decorate([
64
+ (0, class_validator_1.IsOptional)(),
65
+ (0, class_validator_1.IsString)(),
66
+ __metadata("design:type", String)
67
+ ], OnrampCheckoutDto.prototype, "partnerContext", void 0);
68
+ __decorate([
69
+ (0, class_validator_1.IsOptional)(),
70
+ (0, class_validator_1.IsString)(),
71
+ __metadata("design:type", String)
72
+ ], OnrampCheckoutDto.prototype, "country", void 0);
73
+ __decorate([
74
+ (0, class_validator_1.IsOptional)(),
75
+ (0, class_validator_1.IsString)(),
76
+ __metadata("design:type", String)
77
+ ], OnrampCheckoutDto.prototype, "redirectUrl", void 0);
78
+ //# sourceMappingURL=onrampCheckout.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"onrampCheckout.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/onramp/dtos/onrampCheckout.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAOyB;AAEzB,MAAa,iBAAiB;CAiD7B;AAjDD,8CAiDC;AA9CC;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;iDACE;AAIf;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;iDACE;AAIf;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;sDACO;AAKpB;IAHC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,4BAAU,GAAE;;iDACE;AAIf;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;wDACS;AAItB;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;kDACG;AAIhB;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;wDACS;AAItB;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;iDACG;AAIhB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;gDACI;AAIf;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;yDACa;AAIxB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;kDACM;AAIjB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;sDACU"}