@heliofi/common 0.1.463 → 0.1.465

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,7 @@
1
1
  import { PreparePaymentRequestDto } from '../../prepare-payment-request';
2
2
  import { ProductDetailsDto } from '../../product-details';
3
3
  import { CustomerDetailsDto } from '../../customer-details';
4
+ import { SourceIntegration } from '../../transaction-meta';
4
5
  export declare class PrepareBTCTransactionDto extends PreparePaymentRequestDto {
5
6
  btcPublicKey: string;
6
7
  amount?: string;
@@ -9,4 +10,6 @@ export declare class PrepareBTCTransactionDto extends PreparePaymentRequestDto {
9
10
  productDetails?: ProductDetailsDto;
10
11
  fixedCurrencyRateToken?: string;
11
12
  pricingCurrencyRateToken?: string;
13
+ integration?: SourceIntegration;
14
+ integrationVersion?: string;
12
15
  }
@@ -15,6 +15,7 @@ const class_transformer_1 = require("class-transformer");
15
15
  const prepare_payment_request_1 = require("../../prepare-payment-request");
16
16
  const product_details_1 = require("../../product-details");
17
17
  const customer_details_1 = require("../../customer-details");
18
+ const transaction_meta_1 = require("../../transaction-meta");
18
19
  class PrepareBTCTransactionDto extends prepare_payment_request_1.PreparePaymentRequestDto {
19
20
  }
20
21
  __decorate([
@@ -54,5 +55,16 @@ __decorate([
54
55
  (0, class_validator_1.IsOptional)(),
55
56
  __metadata("design:type", String)
56
57
  ], PrepareBTCTransactionDto.prototype, "pricingCurrencyRateToken", void 0);
58
+ __decorate([
59
+ (0, class_validator_1.IsEnum)(transaction_meta_1.SourceIntegration),
60
+ (0, class_validator_1.IsOptional)(),
61
+ __metadata("design:type", String)
62
+ ], PrepareBTCTransactionDto.prototype, "integration", void 0);
63
+ __decorate([
64
+ (0, class_validator_1.IsString)(),
65
+ (0, class_validator_1.IsOptional)(),
66
+ (0, class_validator_1.MaxLength)(100),
67
+ __metadata("design:type", String)
68
+ ], PrepareBTCTransactionDto.prototype, "integrationVersion", void 0);
57
69
  exports.PrepareBTCTransactionDto = PrepareBTCTransactionDto;
58
70
  //# sourceMappingURL=prepareBTCTransaction.dto.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"prepareBTCTransaction.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/prepare-transaction/dtos/prepareBTCTransaction.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAMyB;AACzB,yDAAoD;AACpD,2EAAyE;AACzE,2DAA0D;AAC1D,6DAA4D;AAE5D,MAAa,wBAAyB,SAAQ,kDAAwB;CA+BrE;AA9BC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;8DACQ;AAErB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;;wDACxB;AAEhB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;0DACK;AAElB;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,qCAAkB,CAAC;IAC9B,IAAA,gCAAc,GAAE;IAChB,IAAA,4BAAU,GAAE;8BACK,qCAAkB;iEAAC;AAErC;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,mCAAiB,CAAC;IAC7B,IAAA,gCAAc,GAAE;IAChB,IAAA,4BAAU,GAAE;8BACI,mCAAiB;gEAAC;AAGnC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;wEACmB;AAEhC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;0EACqB;AA9BpC,4DA+BC"}
1
+ {"version":3,"file":"prepareBTCTransaction.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/prepare-transaction/dtos/prepareBTCTransaction.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAQyB;AACzB,yDAAoD;AACpD,2EAAyE;AACzE,2DAA0D;AAC1D,6DAA4D;AAC5D,6DAA2D;AAE3D,MAAa,wBAAyB,SAAQ,kDAAwB;CAwCrE;AAvCC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;8DACQ;AAErB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;;wDACxB;AAEhB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;0DACK;AAElB;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,qCAAkB,CAAC;IAC9B,IAAA,gCAAc,GAAE;IAChB,IAAA,4BAAU,GAAE;8BACK,qCAAkB;iEAAC;AAErC;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,mCAAiB,CAAC;IAC7B,IAAA,gCAAc,GAAE;IAChB,IAAA,4BAAU,GAAE;8BACI,mCAAiB;gEAAC;AAGnC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;wEACmB;AAEhC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;0EACqB;AAElC;IAAC,IAAA,wBAAM,EAAC,oCAAiB,CAAC;IACzB,IAAA,4BAAU,GAAE;;6DACmB;AAEhC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,EAAC,GAAG,CAAC;;oEACa;AAvC9B,4DAwCC"}
@@ -1,6 +1,7 @@
1
1
  import { PreparePaymentRequestDto } from '../../prepare-payment-request';
2
2
  import { ProductDetailsDto } from '../../product-details';
3
3
  import { CustomerDetailsDto } from '../../customer-details';
4
+ import { SourceIntegration } from '../../transaction-meta';
4
5
  export declare class PrepareEvmTransactionDto extends PreparePaymentRequestDto {
5
6
  currency: string;
6
7
  amount?: string;
@@ -10,4 +11,6 @@ export declare class PrepareEvmTransactionDto extends PreparePaymentRequestDto {
10
11
  customerDetails?: CustomerDetailsDto;
11
12
  productDetails?: ProductDetailsDto;
12
13
  pricingCurrencyRateToken?: string;
14
+ integration?: SourceIntegration;
15
+ integrationVersion?: string;
13
16
  }
@@ -15,6 +15,7 @@ const class_transformer_1 = require("class-transformer");
15
15
  const prepare_payment_request_1 = require("../../prepare-payment-request");
16
16
  const product_details_1 = require("../../product-details");
17
17
  const customer_details_1 = require("../../customer-details");
18
+ const transaction_meta_1 = require("../../transaction-meta");
18
19
  class PrepareEvmTransactionDto extends prepare_payment_request_1.PreparePaymentRequestDto {
19
20
  }
20
21
  __decorate([
@@ -59,5 +60,16 @@ __decorate([
59
60
  (0, class_validator_1.IsOptional)(),
60
61
  __metadata("design:type", String)
61
62
  ], PrepareEvmTransactionDto.prototype, "pricingCurrencyRateToken", void 0);
63
+ __decorate([
64
+ (0, class_validator_1.IsEnum)(transaction_meta_1.SourceIntegration),
65
+ (0, class_validator_1.IsOptional)(),
66
+ __metadata("design:type", String)
67
+ ], PrepareEvmTransactionDto.prototype, "integration", void 0);
68
+ __decorate([
69
+ (0, class_validator_1.IsString)(),
70
+ (0, class_validator_1.IsOptional)(),
71
+ (0, class_validator_1.MaxLength)(100),
72
+ __metadata("design:type", String)
73
+ ], PrepareEvmTransactionDto.prototype, "integrationVersion", void 0);
62
74
  exports.PrepareEvmTransactionDto = PrepareEvmTransactionDto;
63
75
  //# sourceMappingURL=prepareEvmTransaction.dto.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"prepareEvmTransaction.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/prepare-transaction/dtos/prepareEvmTransaction.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAMyB;AACzB,yDAAoD;AACpD,2EAAyE;AACzE,2DAA0D;AAC1D,6DAA4D;AAE5D,MAAa,wBAAyB,SAAQ,kDAAwB;CAmCrE;AAlCC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;0DACI;AAEjB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;;wDACxB;AAEhB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;0DACK;AAGlB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;wEACmB;AAEhC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;+DACU;AAEvB;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,qCAAkB,CAAC;IAC9B,IAAA,gCAAc,GAAE;IAChB,IAAA,4BAAU,GAAE;8BACK,qCAAkB;iEAAC;AAErC;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,mCAAiB,CAAC;IAC7B,IAAA,gCAAc,GAAE;IAChB,IAAA,4BAAU,GAAE;8BACI,mCAAiB;gEAAC;AAEnC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;0EACqB;AAlCpC,4DAmCC"}
1
+ {"version":3,"file":"prepareEvmTransaction.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/prepare-transaction/dtos/prepareEvmTransaction.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAQyB;AACzB,yDAAoD;AACpD,2EAAyE;AACzE,2DAA0D;AAC1D,6DAA4D;AAC5D,6DAA2D;AAE3D,MAAa,wBAAyB,SAAQ,kDAAwB;CA4CrE;AA3CC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;0DACI;AAEjB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;;wDACxB;AAEhB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;0DACK;AAGlB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;wEACmB;AAEhC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;+DACU;AAEvB;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,qCAAkB,CAAC;IAC9B,IAAA,gCAAc,GAAE;IAChB,IAAA,4BAAU,GAAE;8BACK,qCAAkB;iEAAC;AAErC;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,mCAAiB,CAAC;IAC7B,IAAA,gCAAc,GAAE;IAChB,IAAA,4BAAU,GAAE;8BACI,mCAAiB;gEAAC;AAEnC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;0EACqB;AAElC;IAAC,IAAA,wBAAM,EAAC,oCAAiB,CAAC;IACzB,IAAA,4BAAU,GAAE;;6DACmB;AAEhC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,EAAC,GAAG,CAAC;;oEACa;AA3C9B,4DA4CC"}
@@ -1 +1 @@
1
- {"version":3,"file":"SplitWallet.js","sourceRoot":"","sources":["../../../../../../src/domain/model/split-wallets/entities/SplitWallet.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAEtC,MAAa,WAAY,SAAQ,eAAM;CAMtC;AAND,kCAMC"}
1
+ {"version":3,"file":"SplitWallet.js","sourceRoot":"","sources":["../../../../../../src/domain/model/split-wallets/entities/SplitWallet.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAEtC,MAAa,WAAY,SAAQ,eAAM;CAStC;AATD,kCASC"}
@@ -1,3 +1,6 @@
1
+ import { SourceIntegration } from './sourceIntegration.enum';
1
2
  export declare class SourceMeta {
2
3
  origin?: string;
4
+ integration?: SourceIntegration;
5
+ integrationVersion?: string;
3
6
  }
@@ -1 +1 @@
1
- {"version":3,"file":"SourceMeta.js","sourceRoot":"","sources":["../../../../../../src/domain/model/transaction-meta/entities/SourceMeta.ts"],"names":[],"mappings":";;;AAAA,MAAa,UAAU;CAEtB;AAFD,gCAEC"}
1
+ {"version":3,"file":"SourceMeta.js","sourceRoot":"","sources":["../../../../../../src/domain/model/transaction-meta/entities/SourceMeta.ts"],"names":[],"mappings":";;;AAEA,MAAa,UAAU;CAMtB;AAND,gCAMC"}