@heliofi/common 0.2.217 → 0.2.219

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,6 +1,6 @@
1
1
  export declare class UpdateOnramperApiKeyDto {
2
2
  onramperApiKey?: string;
3
3
  onramperApiKeySecret?: string;
4
- onramperWebhookUrl?: string;
4
+ onramperWebhookSecret?: string;
5
5
  isEnabled?: boolean;
6
6
  }
@@ -25,10 +25,10 @@ __decorate([
25
25
  __metadata("design:type", String)
26
26
  ], UpdateOnramperApiKeyDto.prototype, "onramperApiKeySecret", void 0);
27
27
  __decorate([
28
- (0, class_validator_1.IsUrl)(),
28
+ (0, class_validator_1.IsString)(),
29
29
  (0, class_validator_1.IsOptional)(),
30
30
  __metadata("design:type", String)
31
- ], UpdateOnramperApiKeyDto.prototype, "onramperWebhookUrl", void 0);
31
+ ], UpdateOnramperApiKeyDto.prototype, "onramperWebhookSecret", void 0);
32
32
  __decorate([
33
33
  (0, class_validator_1.IsBoolean)(),
34
34
  (0, class_validator_1.IsOptional)(),
@@ -1 +1 @@
1
- {"version":3,"file":"UpdateOnramperApiKey.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/company/dtos/UpdateOnramperApiKey.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAyE;AAEzE,MAAa,uBAAuB;CAgBnC;AAhBD,0DAgBC;AAbC;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;+DACW;AAIxB;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;qEACiB;AAI9B;IAFC,IAAA,uBAAK,GAAE;IACP,IAAA,4BAAU,GAAE;;mEACe;AAI5B;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;0DACO"}
1
+ {"version":3,"file":"UpdateOnramperApiKey.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/company/dtos/UpdateOnramperApiKey.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAkE;AAElE,MAAa,uBAAuB;CAgBnC;AAhBD,0DAgBC;AAbC;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;+DACW;AAIxB;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;qEACiB;AAI9B;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;sEACkB;AAI/B;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;0DACO"}
@@ -1,5 +1,4 @@
1
1
  export declare class OnramperApiKeyConfig {
2
2
  onramperApiKey?: string;
3
- onramperWebhookUrl?: string;
4
3
  isEnabled?: boolean;
5
4
  }
@@ -1 +1 @@
1
- {"version":3,"file":"OnramperApiKeyConfig.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/company/entities/OnramperApiKeyConfig.entity.ts"],"names":[],"mappings":";;;AAAA,MAAa,oBAAoB;CAMhC;AAND,oDAMC"}
1
+ {"version":3,"file":"OnramperApiKeyConfig.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/company/entities/OnramperApiKeyConfig.entity.ts"],"names":[],"mappings":";;;AAAA,MAAa,oBAAoB;CAIhC;AAJD,oDAIC"}
@@ -0,0 +1,5 @@
1
+ export declare class GetOnrampCurrenciesDto {
2
+ country: string;
3
+ depositCustomerToken?: string;
4
+ state?: string;
5
+ }
@@ -0,0 +1,32 @@
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.GetOnrampCurrenciesDto = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ class GetOnrampCurrenciesDto {
15
+ }
16
+ exports.GetOnrampCurrenciesDto = GetOnrampCurrenciesDto;
17
+ __decorate([
18
+ (0, class_validator_1.IsString)(),
19
+ (0, class_validator_1.IsNotEmpty)(),
20
+ __metadata("design:type", String)
21
+ ], GetOnrampCurrenciesDto.prototype, "country", void 0);
22
+ __decorate([
23
+ (0, class_validator_1.IsString)(),
24
+ (0, class_validator_1.IsOptional)(),
25
+ __metadata("design:type", String)
26
+ ], GetOnrampCurrenciesDto.prototype, "depositCustomerToken", void 0);
27
+ __decorate([
28
+ (0, class_validator_1.IsString)(),
29
+ (0, class_validator_1.IsOptional)(),
30
+ __metadata("design:type", String)
31
+ ], GetOnrampCurrenciesDto.prototype, "state", void 0);
32
+ //# sourceMappingURL=getOnrampCurrencies.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getOnrampCurrencies.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/onramp/dtos/getOnrampCurrencies.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAmE;AAEnE,MAAa,sBAAsB;CAYlC;AAZD,wDAYC;AATC;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;uDACG;AAIhB;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;oEACiB;AAI9B;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;qDACE"}
@@ -3,7 +3,7 @@ export declare class GetOnrampQuotesDto {
3
3
  fiat: string;
4
4
  crypto: string;
5
5
  amount: number;
6
+ country: string;
6
7
  paymentMethod?: string;
7
8
  walletAddress?: string;
8
- country?: string;
9
9
  }
@@ -36,18 +36,18 @@ __decorate([
36
36
  __metadata("design:type", Number)
37
37
  ], GetOnrampQuotesDto.prototype, "amount", void 0);
38
38
  __decorate([
39
- (0, class_validator_1.IsOptional)(),
40
39
  (0, class_validator_1.IsString)(),
40
+ (0, class_validator_1.IsNotEmpty)(),
41
41
  __metadata("design:type", String)
42
- ], GetOnrampQuotesDto.prototype, "paymentMethod", void 0);
42
+ ], GetOnrampQuotesDto.prototype, "country", void 0);
43
43
  __decorate([
44
44
  (0, class_validator_1.IsOptional)(),
45
45
  (0, class_validator_1.IsString)(),
46
46
  __metadata("design:type", String)
47
- ], GetOnrampQuotesDto.prototype, "walletAddress", void 0);
47
+ ], GetOnrampQuotesDto.prototype, "paymentMethod", void 0);
48
48
  __decorate([
49
49
  (0, class_validator_1.IsOptional)(),
50
50
  (0, class_validator_1.IsString)(),
51
51
  __metadata("design:type", String)
52
- ], GetOnrampQuotesDto.prototype, "country", void 0);
52
+ ], GetOnrampQuotesDto.prototype, "walletAddress", void 0);
53
53
  //# sourceMappingURL=getOnrampQuotes.dto.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getOnrampQuotes.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/onramp/dtos/getOnrampQuotes.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAMyB;AAEzB,MAAa,kBAAkB;CA6B9B;AA7BD,gDA6BC;AA1BC;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;gEACiB;AAI9B;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;gDACA;AAIb;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;kDACE;AAKf;IAHC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,4BAAU,GAAE;;kDACE;AAIf;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;yDACY;AAIvB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;yDACY;AAIvB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;mDACM"}
1
+ {"version":3,"file":"getOnrampQuotes.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/onramp/dtos/getOnrampQuotes.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAMyB;AAEzB,MAAa,kBAAkB;CA6B9B;AA7BD,gDA6BC;AA1BC;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;gEACiB;AAI9B;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;gDACA;AAIb;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;kDACE;AAKf;IAHC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,4BAAU,GAAE;;kDACE;AAIf;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;mDACG;AAIhB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;yDACY;AAIvB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;yDACY"}
@@ -1,3 +1,4 @@
1
+ export * from './getOnrampCurrencies.dto';
1
2
  export * from './getOnrampPaymentMethods.dto';
2
3
  export * from './getOnrampQuotes.dto';
3
4
  export * from './initiateOnrampTransaction.dto';
@@ -14,6 +14,7 @@ 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("./getOnrampCurrencies.dto"), exports);
17
18
  __exportStar(require("./getOnrampPaymentMethods.dto"), exports);
18
19
  __exportStar(require("./getOnrampQuotes.dto"), exports);
19
20
  __exportStar(require("./initiateOnrampTransaction.dto"), exports);
@@ -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;AAChD,uDAAqC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/onramp/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4DAA0C;AAC1C,gEAA8C;AAC9C,wDAAsC;AACtC,kEAAgD;AAChD,uDAAqC"}