@heliofi/common 0.2.55 → 0.2.56
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.
- package/dist/src/domain/model/onramp/dtos/getOnrampPaymentMethods.dto.d.ts +5 -0
- package/dist/src/domain/model/onramp/dtos/getOnrampPaymentMethods.dto.js +28 -0
- package/dist/src/domain/model/onramp/dtos/getOnrampPaymentMethods.dto.js.map +1 -0
- package/dist/src/domain/model/onramp/dtos/index.d.ts +2 -2
- package/dist/src/domain/model/onramp/dtos/index.js +2 -2
- package/dist/src/domain/model/onramp/dtos/index.js.map +1 -1
- package/dist/src/domain/model/onramp/dtos/initiateOnrampTransaction.dto.d.ts +9 -0
- package/dist/src/domain/model/onramp/dtos/initiateOnrampTransaction.dto.js +48 -0
- package/dist/src/domain/model/onramp/dtos/initiateOnrampTransaction.dto.js.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1,28 @@
|
|
|
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.GetOnrampPaymentMethodsDto = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const blockchain_1 = require("../../blockchain");
|
|
15
|
+
class GetOnrampPaymentMethodsDto {
|
|
16
|
+
}
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_validator_1.IsString)(),
|
|
19
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
20
|
+
__metadata("design:type", String)
|
|
21
|
+
], GetOnrampPaymentMethodsDto.prototype, "currency", void 0);
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, class_validator_1.IsEnum)(blockchain_1.BlockchainSymbol),
|
|
24
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
25
|
+
__metadata("design:type", String)
|
|
26
|
+
], GetOnrampPaymentMethodsDto.prototype, "blockchain", void 0);
|
|
27
|
+
exports.GetOnrampPaymentMethodsDto = GetOnrampPaymentMethodsDto;
|
|
28
|
+
//# sourceMappingURL=getOnrampPaymentMethods.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getOnrampPaymentMethods.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/onramp/dtos/getOnrampPaymentMethods.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA+D;AAC/D,iDAAoD;AAEpD,MAAa,0BAA0B;CAQtC;AAPC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;4DACI;AAEjB;IAAC,IAAA,wBAAM,EAAC,6BAAgB,CAAC;IACxB,IAAA,4BAAU,GAAE;;8DACgB;AAP/B,gEAQC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './
|
|
2
|
-
export * from './
|
|
1
|
+
export * from './getOnrampPaymentMethods.dto';
|
|
2
|
+
export * from './initiateOnrampTransaction.dto';
|
|
@@ -14,6 +14,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./
|
|
18
|
-
__exportStar(require("./
|
|
17
|
+
__exportStar(require("./getOnrampPaymentMethods.dto"), exports);
|
|
18
|
+
__exportStar(require("./initiateOnrampTransaction.dto"), exports);
|
|
19
19
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/onramp/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/onramp/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gEAA8C;AAC9C,kEAAgD"}
|
|
@@ -0,0 +1,48 @@
|
|
|
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.InitiateOnrampTransactionDto = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const blockchain_1 = require("../../blockchain");
|
|
15
|
+
class InitiateOnrampTransactionDto {
|
|
16
|
+
}
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_validator_1.IsString)(),
|
|
19
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
20
|
+
__metadata("design:type", String)
|
|
21
|
+
], InitiateOnrampTransactionDto.prototype, "amount", void 0);
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, class_validator_1.IsString)(),
|
|
24
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
25
|
+
__metadata("design:type", String)
|
|
26
|
+
], InitiateOnrampTransactionDto.prototype, "currency", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, class_validator_1.IsEnum)(blockchain_1.BlockchainSymbol),
|
|
29
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
30
|
+
__metadata("design:type", String)
|
|
31
|
+
], InitiateOnrampTransactionDto.prototype, "blockchain", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, class_validator_1.IsString)(),
|
|
34
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
35
|
+
__metadata("design:type", String)
|
|
36
|
+
], InitiateOnrampTransactionDto.prototype, "walletAddress", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, class_validator_1.IsString)(),
|
|
39
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
40
|
+
__metadata("design:type", String)
|
|
41
|
+
], InitiateOnrampTransactionDto.prototype, "paymentMethod", void 0);
|
|
42
|
+
__decorate([
|
|
43
|
+
(0, class_validator_1.IsBoolean)(),
|
|
44
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
45
|
+
__metadata("design:type", Boolean)
|
|
46
|
+
], InitiateOnrampTransactionDto.prototype, "isDark", void 0);
|
|
47
|
+
exports.InitiateOnrampTransactionDto = InitiateOnrampTransactionDto;
|
|
48
|
+
//# sourceMappingURL=initiateOnrampTransaction.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"initiateOnrampTransaction.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/onramp/dtos/initiateOnrampTransaction.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA0E;AAC1E,iDAAoD;AAEpD,MAAa,4BAA4B;CAwBxC;AAvBC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;4DACE;AAEf;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;8DACI;AAEjB;IAAC,IAAA,wBAAM,EAAC,6BAAgB,CAAC;IACxB,IAAA,4BAAU,GAAE;;gEACgB;AAE7B;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;mEACS;AAEtB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;mEACS;AAEtB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;4DACG;AAvBlB,oEAwBC"}
|