@heliofi/common 0.2.170-alpha.0 → 0.2.172

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 (61) hide show
  1. package/dist/src/domain/model/charge/dtos/updateCharge.dto.d.ts +1 -0
  2. package/dist/src/domain/model/charge/dtos/updateCharge.dto.js +8 -0
  3. package/dist/src/domain/model/charge/dtos/updateCharge.dto.js.map +1 -1
  4. package/dist/src/domain/model/company/dtos/index.d.ts +1 -0
  5. package/dist/src/domain/model/company/dtos/index.js +1 -0
  6. package/dist/src/domain/model/company/dtos/index.js.map +1 -1
  7. package/dist/src/domain/model/company/dtos/updateDepositAffiliateFee.dto.d.ts +4 -0
  8. package/dist/src/domain/model/{stripe-details/StripeApiKey.dto.js → company/dtos/updateDepositAffiliateFee.dto.js} +8 -18
  9. package/dist/src/domain/model/company/dtos/updateDepositAffiliateFee.dto.js.map +1 -0
  10. package/dist/src/domain/model/currency/entities/BaseCurrency.entity.d.ts +1 -0
  11. package/dist/src/domain/model/currency/entities/BaseCurrency.entity.js.map +1 -1
  12. package/dist/src/domain/model/deposit/dtos/createDepositWithApi.dto.d.ts +12 -0
  13. package/dist/src/domain/model/deposit/dtos/createDepositWithApi.dto.js +66 -0
  14. package/dist/src/domain/model/deposit/dtos/createDepositWithApi.dto.js.map +1 -0
  15. package/dist/src/domain/model/deposit/entities/DepositForMerchant.entity.d.ts +5 -0
  16. package/dist/src/domain/model/deposit/entities/DepositForMerchant.entity.js +8 -0
  17. package/dist/src/domain/model/deposit/entities/DepositForMerchant.entity.js.map +1 -0
  18. package/dist/src/domain/model/deposit/entities/DepositWalletEnriched.entity.d.ts +1 -0
  19. package/dist/src/domain/model/deposit/entities/DepositWalletEnriched.entity.js.map +1 -1
  20. package/dist/src/domain/model/deposit-tx/entities/BaseDepositTx.d.ts +3 -0
  21. package/dist/src/domain/model/deposit-tx/entities/BaseDepositTx.js +4 -0
  22. package/dist/src/domain/model/deposit-tx/entities/BaseDepositTx.js.map +1 -1
  23. package/dist/src/domain/model/link-features/dtos/updateLinkFeatures.dto.d.ts +1 -0
  24. package/dist/src/domain/model/link-features/dtos/updateLinkFeatures.dto.js +5 -0
  25. package/dist/src/domain/model/link-features/dtos/updateLinkFeatures.dto.js.map +1 -1
  26. package/dist/src/domain/model/paylink/dtos/updatePaylink.dto.d.ts +2 -0
  27. package/dist/src/domain/model/paylink/dtos/updatePaylink.dto.js +9 -0
  28. package/dist/src/domain/model/paylink/dtos/updatePaylink.dto.js.map +1 -1
  29. package/dist/src/domain/model/recent-sweep-attempt/entities/RecentSweepAttempt.d.ts +9 -0
  30. package/dist/src/domain/model/recent-sweep-attempt/entities/RecentSweepAttempt.js +8 -0
  31. package/dist/src/domain/model/recent-sweep-attempt/entities/RecentSweepAttempt.js.map +1 -0
  32. package/dist/src/domain/model/recent-sweep-attempt/entities/index.d.ts +1 -0
  33. package/dist/src/domain/model/{stripe-details → recent-sweep-attempt/entities}/index.js +1 -3
  34. package/dist/src/domain/model/recent-sweep-attempt/entities/index.js.map +1 -0
  35. package/dist/src/domain/model/recent-sweep-attempt/index.d.ts +1 -0
  36. package/dist/src/domain/model/recent-sweep-attempt/index.js +18 -0
  37. package/dist/src/domain/model/recent-sweep-attempt/index.js.map +1 -0
  38. package/dist/tsconfig.tsbuildinfo +1 -1
  39. package/package.json +2 -2
  40. package/dist/src/domain/model/deposit/entities/Deposit.d.ts +0 -8
  41. package/dist/src/domain/model/deposit/entities/Deposit.js +0 -8
  42. package/dist/src/domain/model/deposit/entities/Deposit.js.map +0 -1
  43. package/dist/src/domain/model/deposit/entities/DepositCustomer.d.ts +0 -6
  44. package/dist/src/domain/model/deposit/entities/DepositCustomer.js +0 -8
  45. package/dist/src/domain/model/deposit/entities/DepositCustomer.js.map +0 -1
  46. package/dist/src/domain/model/deposit/entities/DepositCustomerPopulated.entity.d.ts +0 -8
  47. package/dist/src/domain/model/deposit/entities/DepositCustomerPopulated.entity.js +0 -8
  48. package/dist/src/domain/model/deposit/entities/DepositCustomerPopulated.entity.js.map +0 -1
  49. package/dist/src/domain/model/stripe-details/StripeApiKey.dto.d.ts +0 -5
  50. package/dist/src/domain/model/stripe-details/StripeApiKey.dto.js.map +0 -1
  51. package/dist/src/domain/model/stripe-details/StripeApiKey.entity.d.ts +0 -4
  52. package/dist/src/domain/model/stripe-details/StripeApiKey.entity.js +0 -7
  53. package/dist/src/domain/model/stripe-details/StripeApiKey.entity.js.map +0 -1
  54. package/dist/src/domain/model/stripe-details/StripeApiKeys.dto.d.ts +0 -4
  55. package/dist/src/domain/model/stripe-details/StripeApiKeys.dto.js +0 -26
  56. package/dist/src/domain/model/stripe-details/StripeApiKeys.dto.js.map +0 -1
  57. package/dist/src/domain/model/stripe-details/StripeDetails.entity.d.ts +0 -5
  58. package/dist/src/domain/model/stripe-details/StripeDetails.entity.js +0 -8
  59. package/dist/src/domain/model/stripe-details/StripeDetails.entity.js.map +0 -1
  60. package/dist/src/domain/model/stripe-details/index.d.ts +0 -3
  61. package/dist/src/domain/model/stripe-details/index.js.map +0 -1
@@ -7,4 +7,5 @@ export declare class UpdateChargeDto extends PartialUpdateChargeDto {
7
7
  pricingCurrencyRateToken: string;
8
8
  customerDetails?: CustomerDetailsDto;
9
9
  productDetails?: ProductDetailsDto;
10
+ additionalProductDetails?: ProductDetailsDto[];
10
11
  }
@@ -45,4 +45,12 @@ __decorate([
45
45
  (0, class_validator_1.IsOptional)(),
46
46
  __metadata("design:type", product_details_1.ProductDetailsDto)
47
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);
48
56
  //# 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,qDAKyB;AACzB,yDAAyC;AACzC,uEAAmE;AACnE,6DAA4D;AAC5D,2DAA0D;AAE1D,MAAa,eAAgB,SAAQ,gDAAsB;CA+B1D;AA/BD,0CA+BC;AA5BC;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"}
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,3 +1,4 @@
1
1
  export * from './updateCompany.dto';
2
2
  export * from './createCompany.dto';
3
3
  export * from './updateMoonpayApiKey.dto';
4
+ export * from './updateDepositAffiliateFee.dto';
@@ -17,4 +17,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./updateCompany.dto"), exports);
18
18
  __exportStar(require("./createCompany.dto"), exports);
19
19
  __exportStar(require("./updateMoonpayApiKey.dto"), exports);
20
+ __exportStar(require("./updateDepositAffiliateFee.dto"), exports);
20
21
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/company/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC;AACpC,sDAAoC;AACpC,4DAA0C"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/company/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC;AACpC,sDAAoC;AACpC,4DAA0C;AAC1C,kEAAgD"}
@@ -0,0 +1,4 @@
1
+ export declare class UpdateDepositAffiliateFeeDto {
2
+ depositAffiliateFeeBps?: number;
3
+ depositAffiliateFeeWallet?: string;
4
+ }
@@ -9,29 +9,19 @@ var __metadata = (this && this.__metadata) || function (k, v) {
9
9
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.StripeApiKeyDto = void 0;
12
+ exports.UpdateDepositAffiliateFeeDto = void 0;
13
13
  const class_validator_1 = require("class-validator");
14
- class StripeApiKeyDto {
14
+ class UpdateDepositAffiliateFeeDto {
15
15
  }
16
+ exports.UpdateDepositAffiliateFeeDto = UpdateDepositAffiliateFeeDto;
16
17
  __decorate([
18
+ (0, class_validator_1.IsNumber)(),
17
19
  (0, class_validator_1.IsOptional)(),
18
- (0, class_validator_1.IsMongoId)(),
19
- __metadata("design:type", String)
20
- ], StripeApiKeyDto.prototype, "id", void 0);
20
+ __metadata("design:type", Number)
21
+ ], UpdateDepositAffiliateFeeDto.prototype, "depositAffiliateFeeBps", void 0);
21
22
  __decorate([
22
- (0, class_validator_1.IsOptional)(),
23
23
  (0, class_validator_1.IsString)(),
24
- (0, class_validator_1.MaxLength)(100),
25
- __metadata("design:type", String)
26
- ], StripeApiKeyDto.prototype, "name", void 0);
27
- __decorate([
28
24
  (0, class_validator_1.IsOptional)(),
29
- (0, class_validator_1.IsString)(),
30
- (0, class_validator_1.MaxLength)(200),
31
- (0, class_validator_1.Matches)(/^rk_/, {
32
- message: 'Stripe API key must be a restricted key starting with "rk_"',
33
- }),
34
25
  __metadata("design:type", String)
35
- ], StripeApiKeyDto.prototype, "newSecretKey", void 0);
36
- exports.StripeApiKeyDto = StripeApiKeyDto;
37
- //# sourceMappingURL=StripeApiKey.dto.js.map
26
+ ], UpdateDepositAffiliateFeeDto.prototype, "depositAffiliateFeeWallet", void 0);
27
+ //# sourceMappingURL=updateDepositAffiliateFee.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"updateDepositAffiliateFee.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/company/dtos/updateDepositAffiliateFee.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAiE;AAEjE,MAAa,4BAA4B;CAQxC;AARD,oEAQC;AALC;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;4EACmB;AAIhC;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;+EACsB"}
@@ -15,6 +15,7 @@ export declare class BaseCurrency extends Entity {
15
15
  type?: CurrencyType;
16
16
  features?: CurrencyFeature[];
17
17
  iconUrl?: string;
18
+ iconUrlFull?: string;
18
19
  orderingType?: OrderingType;
19
20
  isNative?: boolean;
20
21
  }
@@ -1 +1 @@
1
- {"version":3,"file":"BaseCurrency.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/currency/entities/BaseCurrency.entity.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAKtC,MAAa,YAAa,SAAQ,eAAM;CA4BvC;AA5BD,oCA4BC"}
1
+ {"version":3,"file":"BaseCurrency.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/currency/entities/BaseCurrency.entity.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAKtC,MAAa,YAAa,SAAQ,eAAM;CA8BvC;AA9BD,oCA8BC"}
@@ -0,0 +1,12 @@
1
+ import { DepositOptions } from './depositOptions.dto';
2
+ import { DepositOptionsForCard } from './depositOptionsForCard.dto';
3
+ export declare class CreateDepositWithApiDto {
4
+ name: string;
5
+ description?: string;
6
+ currencyIds: string[];
7
+ isCardPaymentEnabled?: boolean;
8
+ notifyReceiverByEmail?: boolean;
9
+ connectWalletOptions?: DepositOptions;
10
+ transferManuallyOptions?: DepositOptions;
11
+ payWithCardOptions?: DepositOptionsForCard;
12
+ }
@@ -0,0 +1,66 @@
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.CreateDepositWithApiDto = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ const depositOptions_dto_1 = require("./depositOptions.dto");
15
+ const depositOptionsForCard_dto_1 = require("./depositOptionsForCard.dto");
16
+ class CreateDepositWithApiDto {
17
+ constructor() {
18
+ this.isCardPaymentEnabled = true;
19
+ }
20
+ }
21
+ exports.CreateDepositWithApiDto = CreateDepositWithApiDto;
22
+ __decorate([
23
+ (0, class_validator_1.IsString)(),
24
+ (0, class_validator_1.IsNotEmpty)(),
25
+ (0, class_validator_1.MaxLength)(200),
26
+ __metadata("design:type", String)
27
+ ], CreateDepositWithApiDto.prototype, "name", void 0);
28
+ __decorate([
29
+ (0, class_validator_1.IsString)(),
30
+ (0, class_validator_1.IsOptional)(),
31
+ (0, class_validator_1.MaxLength)(200),
32
+ __metadata("design:type", String)
33
+ ], CreateDepositWithApiDto.prototype, "description", void 0);
34
+ __decorate([
35
+ (0, class_validator_1.IsArray)(),
36
+ (0, class_validator_1.IsString)({ each: true }),
37
+ (0, class_validator_1.ArrayMinSize)(1),
38
+ (0, class_validator_1.ArrayMaxSize)(1),
39
+ __metadata("design:type", Array)
40
+ ], CreateDepositWithApiDto.prototype, "currencyIds", void 0);
41
+ __decorate([
42
+ (0, class_validator_1.IsBoolean)(),
43
+ (0, class_validator_1.IsOptional)(),
44
+ __metadata("design:type", Boolean)
45
+ ], CreateDepositWithApiDto.prototype, "isCardPaymentEnabled", void 0);
46
+ __decorate([
47
+ (0, class_validator_1.IsBoolean)(),
48
+ (0, class_validator_1.IsOptional)(),
49
+ __metadata("design:type", Boolean)
50
+ ], CreateDepositWithApiDto.prototype, "notifyReceiverByEmail", void 0);
51
+ __decorate([
52
+ (0, class_validator_1.IsObject)(),
53
+ (0, class_validator_1.IsOptional)(),
54
+ __metadata("design:type", depositOptions_dto_1.DepositOptions)
55
+ ], CreateDepositWithApiDto.prototype, "connectWalletOptions", void 0);
56
+ __decorate([
57
+ (0, class_validator_1.IsObject)(),
58
+ (0, class_validator_1.IsOptional)(),
59
+ __metadata("design:type", depositOptions_dto_1.DepositOptions)
60
+ ], CreateDepositWithApiDto.prototype, "transferManuallyOptions", void 0);
61
+ __decorate([
62
+ (0, class_validator_1.IsObject)(),
63
+ (0, class_validator_1.IsOptional)(),
64
+ __metadata("design:type", depositOptionsForCard_dto_1.DepositOptionsForCard)
65
+ ], CreateDepositWithApiDto.prototype, "payWithCardOptions", void 0);
66
+ //# sourceMappingURL=createDepositWithApi.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createDepositWithApi.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/deposit/dtos/createDepositWithApi.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAUyB;AACzB,6DAAsD;AACtD,2EAAoE;AAMpE,MAAa,uBAAuB;IAApC;QAmBE,yBAAoB,GAAa,IAAI,CAAC;IAiBxC,CAAC;CAAA;AApCD,0DAoCC;AAhCC;IAHC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,EAAC,GAAG,CAAC;;qDACF;AAKb;IAHC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,EAAC,GAAG,CAAC;;4DACM;AAMrB;IAJC,IAAA,yBAAO,GAAE;IACT,IAAA,0BAAQ,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IACxB,IAAA,8BAAY,EAAC,CAAC,CAAC;IACf,IAAA,8BAAY,EAAC,CAAC,CAAC;;4DACM;AAItB;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;qEACyB;AAItC;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;sEACmB;AAIhC;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;8BACU,mCAAc;qEAAC;AAItC;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;8BACa,mCAAc;wEAAC;AAIzC;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;8BACQ,iDAAqB;mEAAC"}
@@ -0,0 +1,5 @@
1
+ import { DepositEntity } from './Deposit.entity';
2
+ export declare class DepositForMerchant extends DepositEntity {
3
+ merchantAffiliateFeeBps?: number;
4
+ merchantAffiliateFeeWallet?: string;
5
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DepositForMerchant = void 0;
4
+ const Deposit_entity_1 = require("./Deposit.entity");
5
+ class DepositForMerchant extends Deposit_entity_1.DepositEntity {
6
+ }
7
+ exports.DepositForMerchant = DepositForMerchant;
8
+ //# sourceMappingURL=DepositForMerchant.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DepositForMerchant.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/deposit/entities/DepositForMerchant.entity.ts"],"names":[],"mappings":";;;AAAA,qDAAiD;AAEjD,MAAa,kBAAmB,SAAQ,8BAAa;CAIpD;AAJD,gDAIC"}
@@ -7,4 +7,5 @@ export declare class DepositWalletEnrichedEntity extends Entity {
7
7
  sweepTransactionErrorCount?: number;
8
8
  destinationTransactionErrorCount?: number;
9
9
  lastActivityAt?: string;
10
+ shouldEnrichIncomingTransactions?: boolean;
10
11
  }
@@ -1 +1 @@
1
- {"version":3,"file":"DepositWalletEnriched.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/deposit/entities/DepositWalletEnriched.entity.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAGtC,MAAa,2BAA4B,SAAQ,eAAM;CAYtD;AAZD,kEAYC"}
1
+ {"version":3,"file":"DepositWalletEnriched.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/deposit/entities/DepositWalletEnriched.entity.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAGtC,MAAa,2BAA4B,SAAQ,eAAM;CActD;AAdD,kEAcC"}
@@ -2,7 +2,10 @@ import { Entity } from '../../entity/Entity';
2
2
  import { PaymentRequestType } from '../../payment-request';
3
3
  export declare class BaseDepositTx extends Entity {
4
4
  fee: bigint;
5
+ affiliateFee?: bigint;
5
6
  id: string;
6
7
  createdAt: string;
7
8
  paymentType: PaymentRequestType;
9
+ affiliateFeeWallet?: string;
10
+ affiliateFeeBps?: number;
8
11
  }
@@ -19,4 +19,8 @@ __decorate([
19
19
  (0, class_transformer_1.Transform)(({ value }) => BigInt(value)),
20
20
  __metadata("design:type", BigInt)
21
21
  ], BaseDepositTx.prototype, "fee", void 0);
22
+ __decorate([
23
+ (0, class_transformer_1.Transform)(({ value }) => BigInt(value)),
24
+ __metadata("design:type", BigInt)
25
+ ], BaseDepositTx.prototype, "affiliateFee", void 0);
22
26
  //# sourceMappingURL=BaseDepositTx.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"BaseDepositTx.js","sourceRoot":"","sources":["../../../../../../src/domain/model/deposit-tx/entities/BaseDepositTx.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA8C;AAC9C,gDAA6C;AAG7C,MAAa,aAAc,SAAQ,eAAM;CASxC;AATD,sCASC;AAPC;IADC,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;;0CAC5B"}
1
+ {"version":3,"file":"BaseDepositTx.js","sourceRoot":"","sources":["../../../../../../src/domain/model/deposit-tx/entities/BaseDepositTx.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA8C;AAC9C,gDAA6C;AAG7C,MAAa,aAAc,SAAQ,eAAM;CAgBxC;AAhBD,sCAgBC;AAdC;IADC,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;;0CAC5B;AAGZ;IADC,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;;mDAClB"}
@@ -13,4 +13,5 @@ export declare class UpdateLinkFeaturesDto extends UpdatePaymentRequestFeaturesD
13
13
  requireRaffle?: boolean;
14
14
  shouldRedirectOnSuccess?: boolean;
15
15
  showDetailsForCharge?: boolean;
16
+ requireAdditionalProductDetails?: boolean;
16
17
  }
@@ -80,4 +80,9 @@ __decorate([
80
80
  (0, class_validator_1.IsOptional)(),
81
81
  __metadata("design:type", Boolean)
82
82
  ], UpdateLinkFeaturesDto.prototype, "showDetailsForCharge", void 0);
83
+ __decorate([
84
+ (0, class_validator_1.IsBoolean)(),
85
+ (0, class_validator_1.IsOptional)(),
86
+ __metadata("design:type", Boolean)
87
+ ], UpdateLinkFeaturesDto.prototype, "requireAdditionalProductDetails", void 0);
83
88
  //# sourceMappingURL=updateLinkFeatures.dto.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"updateLinkFeatures.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/link-features/dtos/updateLinkFeatures.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAwD;AACxD,6EAAiF;AAEjF,MAAa,qBAAsB,SAAQ,0DAA+B;CAoDzE;AApDD,sDAoDC;AAjDC;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;2DACU;AAIvB;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;2DACU;AAIvB;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;gEACe;AAI5B;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;oEACmB;AAIhC;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;6DACY;AAIzB;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;0DACS;AAItB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;;yDACS;AAIrB;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;+DACc;AAI3B;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;+DACc;AAI3B;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;6DACY;AAIzB;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;4DACW;AAIxB;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;sEACqB;AAIlC;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;mEACkB"}
1
+ {"version":3,"file":"updateLinkFeatures.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/link-features/dtos/updateLinkFeatures.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAwD;AACxD,6EAAiF;AAEjF,MAAa,qBAAsB,SAAQ,0DAA+B;CAwDzE;AAxDD,sDAwDC;AArDC;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;2DACU;AAIvB;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;2DACU;AAIvB;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;gEACe;AAI5B;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;oEACmB;AAIhC;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;6DACY;AAIzB;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;0DACS;AAItB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;;yDACS;AAIrB;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;+DACc;AAI3B;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;+DACc;AAI3B;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;6DACY;AAIzB;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;4DACW;AAIxB;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;sEACqB;AAIlC;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;mEACkB;AAI/B;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;8EAC6B"}
@@ -7,6 +7,7 @@ import { LimitSaleType } from '../../../constants';
7
7
  import { AffiliateDetailsDto } from '../../affiliates';
8
8
  import { RaffleDetailsDto } from '../../raffle-details';
9
9
  import { SubscriptionDetailsDto } from '../../subscription-details';
10
+ import { ProductDto } from '../../product';
10
11
  export declare class UpdatePaylinkDto extends UpdatePaymentRequestDto {
11
12
  features?: UpdateLinkFeaturesDto;
12
13
  splitWallets?: SplitWalletDto[];
@@ -23,4 +24,5 @@ export declare class UpdatePaylinkDto extends UpdatePaymentRequestDto {
23
24
  subscriptionDetails?: SubscriptionDetailsDto;
24
25
  addTelegramGroup?: boolean;
25
26
  telegramGroupIds?: string[];
27
+ additionalProducts?: ProductDto[];
26
28
  }
@@ -21,6 +21,7 @@ const constants_1 = require("../../../constants");
21
21
  const affiliates_1 = require("../../affiliates");
22
22
  const raffle_details_1 = require("../../raffle-details");
23
23
  const subscription_details_1 = require("../../subscription-details");
24
+ const product_1 = require("../../product");
24
25
  class UpdatePaylinkDto extends payment_request_1.UpdatePaymentRequestDto {
25
26
  }
26
27
  exports.UpdatePaylinkDto = UpdatePaylinkDto;
@@ -106,4 +107,12 @@ __decorate([
106
107
  (0, class_validator_1.IsOptional)(),
107
108
  __metadata("design:type", Array)
108
109
  ], UpdatePaylinkDto.prototype, "telegramGroupIds", void 0);
110
+ __decorate([
111
+ (0, class_validator_1.IsOptional)(),
112
+ (0, class_validator_1.IsArray)(),
113
+ (0, class_validator_1.ArrayMaxSize)(1),
114
+ (0, class_transformer_1.Type)(() => product_1.ProductDto),
115
+ (0, class_validator_1.ValidateNested)({ each: true }),
116
+ __metadata("design:type", Array)
117
+ ], UpdatePaylinkDto.prototype, "additionalProducts", void 0);
109
118
  //# sourceMappingURL=updatePaylink.dto.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"updatePaylink.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/paylink/dtos/updatePaylink.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDASyB;AACzB,yDAAyC;AACzC,uDAA4D;AAC5D,uDAAqD;AACrD,2DAAgE;AAChE,iDAA0D;AAC1D,yDAAuD;AACvD,kDAAmD;AACnD,iDAAuD;AACvD,yDAAwD;AACxD,qEAAoE;AAEpE,MAAa,gBAAiB,SAAQ,yCAAuB;CAmE5D;AAnED,4CAmEC;AA/DC;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,qCAAqB,CAAC;IACjC,IAAA,gCAAc,GAAE;8BACN,qCAAqB;kDAAC;AAIjC;IAFC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,8BAAc,CAAC;IAC1B,IAAA,4BAAU,GAAE;;sDACmB;AAIhC;IAFC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,gCAAe,CAAC;IAC3B,IAAA,4BAAU,GAAE;;uDACqB;AAIlC;IAFC,IAAA,wBAAM,EAAC,yBAAa,CAAC;IACrB,IAAA,4BAAU,GAAE;;uDACiB;AAI9B;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;qDACQ;AAIrB;IA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;AAKrB;IAHC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;;0DACc;AAK1B;IAHC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,6CAAsB,CAAC;IAClC,IAAA,4BAAU,GAAE;IACZ,IAAA,gCAAc,GAAE;8BACK,6CAAsB;6DAAC;AAI7C;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;0DACc;AAK3B;IAHC,IAAA,yBAAO,GAAE;IACT,IAAA,0BAAQ,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IACxB,IAAA,4BAAU,GAAE;;0DACe;AAO5B;IALC,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;IACT,IAAA,8BAAY,EAAC,CAAC,CAAC;IACf,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,oBAAU,CAAC;IACtB,IAAA,gCAAc,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;4DACG"}
@@ -0,0 +1,9 @@
1
+ import { Entity } from '../../entity';
2
+ import { DepositSweepErrorType, DepositSweepStatus } from '../../../constants';
3
+ export declare class RecentSweepAttempt extends Entity {
4
+ id: string;
5
+ depositCustomerId: string;
6
+ status: DepositSweepStatus;
7
+ errorType?: DepositSweepErrorType;
8
+ createdAt: string;
9
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RecentSweepAttempt = void 0;
4
+ const entity_1 = require("../../entity");
5
+ class RecentSweepAttempt extends entity_1.Entity {
6
+ }
7
+ exports.RecentSweepAttempt = RecentSweepAttempt;
8
+ //# sourceMappingURL=RecentSweepAttempt.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RecentSweepAttempt.js","sourceRoot":"","sources":["../../../../../../src/domain/model/recent-sweep-attempt/entities/RecentSweepAttempt.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAGtC,MAAa,kBAAmB,SAAQ,eAAM;CAU7C;AAVD,gDAUC"}
@@ -0,0 +1 @@
1
+ export * from './RecentSweepAttempt';
@@ -14,7 +14,5 @@ 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("./StripeApiKey.entity"), exports);
18
- __exportStar(require("./StripeApiKey.dto"), exports);
19
- __exportStar(require("./StripeApiKeys.dto"), exports);
17
+ __exportStar(require("./RecentSweepAttempt"), exports);
20
18
  //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/recent-sweep-attempt/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAqC"}
@@ -0,0 +1 @@
1
+ export * from './entities';
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./entities"), exports);
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/domain/model/recent-sweep-attempt/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA2B"}