@heliofi/common 0.2.96-alpha.0 → 0.2.98-alpha.0

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 (47) hide show
  1. package/dist/src/domain/model/charge/dtos/StripePaymentDetails.dto.d.ts +3 -0
  2. package/dist/src/domain/model/{stripe-details/StripeApiKeys.dto.js → charge/dtos/StripePaymentDetails.dto.js} +8 -12
  3. package/dist/src/domain/model/charge/dtos/StripePaymentDetails.dto.js.map +1 -0
  4. package/dist/src/domain/model/charge/dtos/createChargeByApiKey.dto.d.ts +2 -0
  5. package/dist/src/domain/model/charge/dtos/createChargeByApiKey.dto.js +7 -0
  6. package/dist/src/domain/model/charge/dtos/createChargeByApiKey.dto.js.map +1 -1
  7. package/dist/src/domain/model/index.d.ts +1 -0
  8. package/dist/src/domain/model/index.js +1 -0
  9. package/dist/src/domain/model/index.js.map +1 -1
  10. package/dist/src/domain/model/link-features/dtos/createLinkFeatures.dto.d.ts +1 -0
  11. package/dist/src/domain/model/link-features/dtos/createLinkFeatures.dto.js +5 -0
  12. package/dist/src/domain/model/link-features/dtos/createLinkFeatures.dto.js.map +1 -1
  13. package/dist/src/domain/model/link-features/dtos/updateLinkFeatures.dto.d.ts +1 -0
  14. package/dist/src/domain/model/link-features/dtos/updateLinkFeatures.dto.js +5 -0
  15. package/dist/src/domain/model/link-features/dtos/updateLinkFeatures.dto.js.map +1 -1
  16. package/dist/src/domain/model/payment-request-features/entities/PaymentRequestFeatures.d.ts +1 -0
  17. package/dist/src/domain/model/payment-request-features/entities/PaymentRequestFeatures.js.map +1 -1
  18. package/dist/src/domain/model/prepare-transaction/dtos/index.d.ts +1 -0
  19. package/dist/src/domain/model/prepare-transaction/dtos/index.js +3 -1
  20. package/dist/src/domain/model/prepare-transaction/dtos/index.js.map +1 -1
  21. package/dist/src/domain/model/prepare-transaction/dtos/preparePayment.dto.d.ts +12 -0
  22. package/dist/src/domain/model/prepare-transaction/dtos/preparePayment.dto.js +64 -0
  23. package/dist/src/domain/model/prepare-transaction/dtos/preparePayment.dto.js.map +1 -0
  24. package/dist/src/domain/model/stripe-payment-details/entities/StripePaymentDetails.entity.d.ts +4 -0
  25. package/dist/src/domain/model/stripe-payment-details/entities/StripePaymentDetails.entity.js +8 -0
  26. package/dist/src/domain/model/stripe-payment-details/entities/StripePaymentDetails.entity.js.map +1 -0
  27. package/dist/src/domain/model/stripe-payment-details/entities/index.d.ts +1 -0
  28. package/dist/src/domain/model/{stripe-details → stripe-payment-details/entities}/index.js +1 -3
  29. package/dist/src/domain/model/stripe-payment-details/entities/index.js.map +1 -0
  30. package/dist/src/domain/model/stripe-payment-details/index.d.ts +1 -0
  31. package/dist/src/domain/model/stripe-payment-details/index.js +18 -0
  32. package/dist/src/domain/model/stripe-payment-details/index.js.map +1 -0
  33. package/dist/tsconfig.tsbuildinfo +1 -1
  34. package/package.json +2 -2
  35. package/dist/src/domain/model/stripe-details/StripeApiKey.dto.d.ts +0 -5
  36. package/dist/src/domain/model/stripe-details/StripeApiKey.dto.js +0 -37
  37. package/dist/src/domain/model/stripe-details/StripeApiKey.dto.js.map +0 -1
  38. package/dist/src/domain/model/stripe-details/StripeApiKey.entity.d.ts +0 -4
  39. package/dist/src/domain/model/stripe-details/StripeApiKey.entity.js +0 -7
  40. package/dist/src/domain/model/stripe-details/StripeApiKey.entity.js.map +0 -1
  41. package/dist/src/domain/model/stripe-details/StripeApiKeys.dto.d.ts +0 -4
  42. package/dist/src/domain/model/stripe-details/StripeApiKeys.dto.js.map +0 -1
  43. package/dist/src/domain/model/stripe-details/StripeDetails.entity.d.ts +0 -5
  44. package/dist/src/domain/model/stripe-details/StripeDetails.entity.js +0 -8
  45. package/dist/src/domain/model/stripe-details/StripeDetails.entity.js.map +0 -1
  46. package/dist/src/domain/model/stripe-details/index.d.ts +0 -3
  47. package/dist/src/domain/model/stripe-details/index.js.map +0 -1
@@ -0,0 +1,3 @@
1
+ export declare class StripePaymentDetailsDto {
2
+ invoiceId: string;
3
+ }
@@ -9,18 +9,14 @@ 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.StripeApiKeysDto = void 0;
12
+ exports.StripePaymentDetailsDto = void 0;
13
13
  const class_validator_1 = require("class-validator");
14
- const class_transformer_1 = require("class-transformer");
15
- const StripeApiKey_dto_1 = require("./StripeApiKey.dto");
16
- class StripeApiKeysDto {
14
+ class StripePaymentDetailsDto {
17
15
  }
18
16
  __decorate([
19
- (0, class_transformer_1.Type)(() => StripeApiKey_dto_1.StripeApiKeyDto),
20
- (0, class_validator_1.IsArray)(),
21
- (0, class_validator_1.IsDefined)(),
22
- (0, class_validator_1.ValidateNested)({ each: true }),
23
- __metadata("design:type", Array)
24
- ], StripeApiKeysDto.prototype, "apiKeys", void 0);
25
- exports.StripeApiKeysDto = StripeApiKeysDto;
26
- //# sourceMappingURL=StripeApiKeys.dto.js.map
17
+ (0, class_validator_1.IsString)(),
18
+ (0, class_validator_1.IsNotEmpty)(),
19
+ __metadata("design:type", String)
20
+ ], StripePaymentDetailsDto.prototype, "invoiceId", void 0);
21
+ exports.StripePaymentDetailsDto = StripePaymentDetailsDto;
22
+ //# sourceMappingURL=StripePaymentDetails.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StripePaymentDetails.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/charge/dtos/StripePaymentDetails.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuD;AAEvD,MAAa,uBAAuB;CAInC;AAHC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;0DACK;AAHpB,0DAIC"}
@@ -1,6 +1,8 @@
1
1
  import { PrepareRequestBodyFromApiKeyChargeDto } from './prepareRequestBodyFromApiKeyCharge.dto';
2
+ import { StripePaymentDetailsDto } from './StripePaymentDetails.dto';
2
3
  export declare class CreateChargeByApiKeyDto {
3
4
  paymentRequestId: string;
4
5
  requestAmount?: string;
5
6
  prepareRequestBody?: PrepareRequestBodyFromApiKeyChargeDto;
7
+ stripePaymentDetails?: StripePaymentDetailsDto;
6
8
  }
@@ -13,6 +13,7 @@ exports.CreateChargeByApiKeyDto = void 0;
13
13
  const class_validator_1 = require("class-validator");
14
14
  const class_transformer_1 = require("class-transformer");
15
15
  const prepareRequestBodyFromApiKeyCharge_dto_1 = require("./prepareRequestBodyFromApiKeyCharge.dto");
16
+ const StripePaymentDetails_dto_1 = require("./StripePaymentDetails.dto");
16
17
  class CreateChargeByApiKeyDto {
17
18
  }
18
19
  __decorate([
@@ -31,5 +32,11 @@ __decorate([
31
32
  (0, class_validator_1.ValidateNested)(),
32
33
  __metadata("design:type", prepareRequestBodyFromApiKeyCharge_dto_1.PrepareRequestBodyFromApiKeyChargeDto)
33
34
  ], CreateChargeByApiKeyDto.prototype, "prepareRequestBody", void 0);
35
+ __decorate([
36
+ (0, class_transformer_1.Type)(() => StripePaymentDetails_dto_1.StripePaymentDetailsDto),
37
+ (0, class_validator_1.ValidateNested)(),
38
+ (0, class_validator_1.IsOptional)(),
39
+ __metadata("design:type", StripePaymentDetails_dto_1.StripePaymentDetailsDto)
40
+ ], CreateChargeByApiKeyDto.prototype, "stripePaymentDetails", void 0);
34
41
  exports.CreateChargeByApiKeyDto = CreateChargeByApiKeyDto;
35
42
  //# sourceMappingURL=createChargeByApiKey.dto.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"createChargeByApiKey.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/charge/dtos/createChargeByApiKey.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAMyB;AACzB,yDAAyC;AACzC,qGAAiG;AAEjG,MAAa,uBAAuB;CAanC;AAZC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;iEACY;AAEzB;IAAC,IAAA,gCAAc,GAAE;IAChB,IAAA,4BAAU,GAAE;;8DACU;AAEvB;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,8EAAqC,CAAC;IACjD,IAAA,4BAAU,GAAE;IACZ,IAAA,gCAAc,GAAE;8BACI,8EAAqC;mEAAC;AAZ7D,0DAaC"}
1
+ {"version":3,"file":"createChargeByApiKey.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/charge/dtos/createChargeByApiKey.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAMyB;AACzB,yDAAyC;AACzC,qGAAiG;AACjG,yEAAqE;AAErE,MAAa,uBAAuB;CAkBnC;AAjBC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;iEACY;AAEzB;IAAC,IAAA,gCAAc,GAAE;IAChB,IAAA,4BAAU,GAAE;;8DACU;AAEvB;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,8EAAqC,CAAC;IACjD,IAAA,4BAAU,GAAE;IACZ,IAAA,gCAAc,GAAE;8BACI,8EAAqC;mEAAC;AAE3D;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,kDAAuB,CAAC;IACnC,IAAA,gCAAc,GAAE;IAChB,IAAA,4BAAU,GAAE;8BACU,kDAAuB;qEAAC;AAjBjD,0DAkBC"}
@@ -127,3 +127,4 @@ export * from './telegram-user';
127
127
  export * from './redirect-query-params';
128
128
  export * from './onramp';
129
129
  export * from './shared';
130
+ export * from './stripe-payment-details';
@@ -143,4 +143,5 @@ __exportStar(require("./telegram-user"), exports);
143
143
  __exportStar(require("./redirect-query-params"), exports);
144
144
  __exportStar(require("./onramp"), exports);
145
145
  __exportStar(require("./shared"), exports);
146
+ __exportStar(require("./stripe-payment-details"), exports);
146
147
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/domain/model/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAuB;A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AuC;AACvC,iDAA+B;AAC/B,4CAA0B;AAC1B,+CAA6B;AAC7B,kDAAgC;AAChC,0CAAwB;AACxB,8CAA4B;AAC5B,kDAAgC;AAChC,sDAAoC;AACpC,0CAAwB;AACxB,6DAA2C;AAC3C,mDAAiC;AACjC,2DAAyC;AACzC,kDAAgC;AAChC,6CAA2B;AAC3B,mDAAiC;AACjC,iDAA+B;AAC/B,2CAAyB;AACzB,yDAAuC;AACvC,6DAA2C;AAC3C,4DAA0C;AAC1C,qDAAmC;AACnC,gDAA8B;AAC9B,+CAA6B;AAC7B,gDAA8B;AAC9B,mDAAiC;AACjC,0DAAwC;AACxC,gDAA8B;AAC9B,2CAAyB;AACzB,6CAA2B;AAC3B,+CAA6B;AAC7B,oDAAkC;AAClC,kDAAgC;AAChC,0CAAwB;AACxB,oDAAkC;AAClC,2CAAyB;AACzB,yDAAuC;AACvC,iDAA+B;AAC/B,0CAAwB;AACxB,wCAAsB;AACtB,+CAA6B;AAC7B,qDAAmC;AACnC,kDAAgC;AAChC,0DAAwC;AACxC,2CAAyB;AACzB,2CAAyB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/domain/model/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAuB;AACvB,yCAAuB;AACvB,yCAAuB;AACvB,2CAAyB;AACzB,2CAAyB;AACzB,qDAAmC;AACnC,yDAAuC;AACvC,oDAAkC;AAClC,qDAAmC;AACnC,mDAAiC;AACjC,6CAA2B;AAC3B,4CAA0B;AAC1B,2CAAyB;AACzB,+CAA6B;AAC7B,+CAA6B;AAC7B,4CAA0B;AAC1B,4CAA0B;AAC1B,kDAAgC;AAChC,oDAAkC;AAClC,6DAA2C;AAC3C,+CAA6B;AAC7B,0CAAwB;AACxB,yCAAuB;AACvB,wDAAsC;AACtC,4CAA0B;AAC1B,oDAAkC;AAClC,8CAA4B;AAC5B,iDAA+B;AAC/B,2CAAyB;AACzB,iDAA+B;AAC/B,oDAAkC;AACl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A6B;AAC7B,oDAAkC;AAClC,kDAAgC;AAChC,0CAAwB;AACxB,oDAAkC;AAClC,2CAAyB;AACzB,yDAAuC;AACvC,iDAA+B;AAC/B,0CAAwB;AACxB,wCAAsB;AACtB,+CAA6B;AAC7B,qDAAmC;AACnC,kDAAgC;AAChC,0DAAwC;AACxC,2CAAyB;AACzB,2CAAyB;AACzB,2DAAyC"}
@@ -15,4 +15,5 @@ export declare class CreateLinkFeaturesDto extends CreatePaymentRequestFeaturesD
15
15
  hasRedirectQueryParams?: boolean;
16
16
  isSubscription?: boolean;
17
17
  hasStripeApiKey?: boolean;
18
+ showDetailsForCharge?: boolean;
18
19
  }
@@ -89,5 +89,10 @@ __decorate([
89
89
  (0, class_validator_1.IsOptional)(),
90
90
  __metadata("design:type", Boolean)
91
91
  ], CreateLinkFeaturesDto.prototype, "hasStripeApiKey", void 0);
92
+ __decorate([
93
+ (0, class_validator_1.IsBoolean)(),
94
+ (0, class_validator_1.IsOptional)(),
95
+ __metadata("design:type", Boolean)
96
+ ], CreateLinkFeaturesDto.prototype, "showDetailsForCharge", void 0);
92
97
  exports.CreateLinkFeaturesDto = CreateLinkFeaturesDto;
93
98
  //# sourceMappingURL=createLinkFeatures.dto.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"createLinkFeatures.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/link-features/dtos/createLinkFeatures.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAwD;AACxD,6EAAiF;AAEjF,MAAa,qBAAsB,SAAQ,0DAA+B;CA4DzE;AA3DC;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;2DACU;AAEvB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;2DACU;AAEvB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;gEACe;AAE5B;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;oEACmB;AAEhC;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;6DACY;AAEzB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;0DACS;AAEtB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;;yDACS;AAErB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;+DACc;AAE3B;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;+DACc;AAE3B;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;6DACY;AAEzB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;4DACW;AAExB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;sEACqB;AAElC;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;qEACoB;AAEjC;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;6DACY;AAEzB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;8DACa;AA3D5B,sDA4DC"}
1
+ {"version":3,"file":"createLinkFeatures.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/link-features/dtos/createLinkFeatures.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAwD;AACxD,6EAAiF;AAEjF,MAAa,qBAAsB,SAAQ,0DAA+B;CAgEzE;AA/DC;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;2DACU;AAEvB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;2DACU;AAEvB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;gEACe;AAE5B;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;oEACmB;AAEhC;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;6DACY;AAEzB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;0DACS;AAEtB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;;yDACS;AAErB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;+DACc;AAE3B;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;+DACc;AAE3B;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;6DACY;AAEzB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;4DACW;AAExB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;sEACqB;AAElC;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;qEACoB;AAEjC;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;6DACY;AAEzB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;8DACa;AAE1B;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;mEACkB;AA/DjC,sDAgEC"}
@@ -12,4 +12,5 @@ export declare class UpdateLinkFeaturesDto extends UpdatePaymentRequestFeaturesD
12
12
  requireAirdrop?: boolean;
13
13
  requireRaffle?: boolean;
14
14
  shouldRedirectOnSuccess?: boolean;
15
+ showDetailsForCharge?: boolean;
15
16
  }
@@ -74,5 +74,10 @@ __decorate([
74
74
  (0, class_validator_1.IsOptional)(),
75
75
  __metadata("design:type", Boolean)
76
76
  ], UpdateLinkFeaturesDto.prototype, "shouldRedirectOnSuccess", void 0);
77
+ __decorate([
78
+ (0, class_validator_1.IsBoolean)(),
79
+ (0, class_validator_1.IsOptional)(),
80
+ __metadata("design:type", Boolean)
81
+ ], UpdateLinkFeaturesDto.prototype, "showDetailsForCharge", void 0);
77
82
  exports.UpdateLinkFeaturesDto = UpdateLinkFeaturesDto;
78
83
  //# 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;CAgDzE;AA/CC;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;2DACU;AAEvB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;2DACU;AAEvB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;gEACe;AAE5B;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;oEACmB;AAEhC;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;6DACY;AAEzB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;0DACS;AAEtB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;;yDACS;AAErB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;+DACc;AAE3B;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;+DACc;AAE3B;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;6DACY;AAEzB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;4DACW;AAExB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;sEACqB;AA/CpC,sDAgDC"}
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;AAnDC;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;2DACU;AAEvB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;2DACU;AAEvB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;gEACe;AAE5B;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;oEACmB;AAEhC;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;6DACY;AAEzB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;0DACS;AAEtB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;;yDACS;AAErB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;+DACc;AAE3B;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;+DACc;AAE3B;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;6DACY;AAEzB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;4DACW;AAExB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;sEACqB;AAElC;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;mEACkB;AAnDjC,sDAoDC"}
@@ -29,4 +29,5 @@ export declare class PaymentRequestFeatures extends Entity {
29
29
  shouldRedirectOnSuccess: boolean;
30
30
  customThemeEnabled: boolean;
31
31
  hasRedirectQueryParams?: boolean;
32
+ showDetailsForCharge?: boolean;
32
33
  }
@@ -1 +1 @@
1
- {"version":3,"file":"PaymentRequestFeatures.js","sourceRoot":"","sources":["../../../../../../src/domain/model/payment-request-features/entities/PaymentRequestFeatures.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAEtC,MAAa,sBAAuB,SAAQ,eAAM;CA0DjD;AA1DD,wDA0DC"}
1
+ {"version":3,"file":"PaymentRequestFeatures.js","sourceRoot":"","sources":["../../../../../../src/domain/model/payment-request-features/entities/PaymentRequestFeatures.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAEtC,MAAa,sBAAuB,SAAQ,eAAM;CA4DjD;AA5DD,wDA4DC"}
@@ -2,3 +2,4 @@ export { PrepareTransactionDto } from './prepareTransaction.dto';
2
2
  export { PrepareSwapTransactionDto } from './prepareSwapTransaction.dto';
3
3
  export { PrepareEvmTransactionDto } from './prepareEvmTransaction.dto';
4
4
  export { PrepareBTCTransactionDto } from './prepareBTCTransaction.dto';
5
+ export { PreparePaymentDto } from './preparePayment.dto';
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PrepareBTCTransactionDto = exports.PrepareEvmTransactionDto = exports.PrepareSwapTransactionDto = exports.PrepareTransactionDto = void 0;
3
+ exports.PreparePaymentDto = exports.PrepareBTCTransactionDto = exports.PrepareEvmTransactionDto = exports.PrepareSwapTransactionDto = exports.PrepareTransactionDto = void 0;
4
4
  var prepareTransaction_dto_1 = require("./prepareTransaction.dto");
5
5
  Object.defineProperty(exports, "PrepareTransactionDto", { enumerable: true, get: function () { return prepareTransaction_dto_1.PrepareTransactionDto; } });
6
6
  var prepareSwapTransaction_dto_1 = require("./prepareSwapTransaction.dto");
@@ -9,4 +9,6 @@ var prepareEvmTransaction_dto_1 = require("./prepareEvmTransaction.dto");
9
9
  Object.defineProperty(exports, "PrepareEvmTransactionDto", { enumerable: true, get: function () { return prepareEvmTransaction_dto_1.PrepareEvmTransactionDto; } });
10
10
  var prepareBTCTransaction_dto_1 = require("./prepareBTCTransaction.dto");
11
11
  Object.defineProperty(exports, "PrepareBTCTransactionDto", { enumerable: true, get: function () { return prepareBTCTransaction_dto_1.PrepareBTCTransactionDto; } });
12
+ var preparePayment_dto_1 = require("./preparePayment.dto");
13
+ Object.defineProperty(exports, "PreparePaymentDto", { enumerable: true, get: function () { return preparePayment_dto_1.PreparePaymentDto; } });
12
14
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/prepare-transaction/dtos/index.ts"],"names":[],"mappings":";;;AAAA,mEAAiE;AAAxD,+HAAA,qBAAqB,OAAA;AAC9B,2EAAyE;AAAhE,uIAAA,yBAAyB,OAAA;AAClC,yEAAuE;AAA9D,qIAAA,wBAAwB,OAAA;AACjC,yEAAuE;AAA9D,qIAAA,wBAAwB,OAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/prepare-transaction/dtos/index.ts"],"names":[],"mappings":";;;AAAA,mEAAiE;AAAxD,+HAAA,qBAAqB,OAAA;AAC9B,2EAAyE;AAAhE,uIAAA,yBAAyB,OAAA;AAClC,yEAAuE;AAA9D,qIAAA,wBAAwB,OAAA;AACjC,yEAAuE;AAA9D,qIAAA,wBAAwB,OAAA;AACjC,2DAAyD;AAAhD,uHAAA,iBAAiB,OAAA"}
@@ -0,0 +1,12 @@
1
+ import { CustomerDetailsDto } from '../../customer-details';
2
+ import { ProductDetailsDto } from '../../product-details';
3
+ export declare class PreparePaymentDto {
4
+ paymentRequestId: string;
5
+ senderPublicKey: string;
6
+ currencyId?: string;
7
+ quantity?: number;
8
+ amount?: bigint;
9
+ affiliateCode?: string;
10
+ customerDetails?: CustomerDetailsDto;
11
+ productDetails?: ProductDetailsDto;
12
+ }
@@ -0,0 +1,64 @@
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.PreparePaymentDto = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ const class_transformer_1 = require("class-transformer");
15
+ const customer_details_1 = require("../../customer-details");
16
+ const product_details_1 = require("../../product-details");
17
+ class PreparePaymentDto {
18
+ }
19
+ __decorate([
20
+ (0, class_validator_1.IsMongoId)(),
21
+ (0, class_validator_1.IsNotEmpty)(),
22
+ __metadata("design:type", String)
23
+ ], PreparePaymentDto.prototype, "paymentRequestId", void 0);
24
+ __decorate([
25
+ (0, class_validator_1.IsString)(),
26
+ (0, class_validator_1.IsNotEmpty)(),
27
+ __metadata("design:type", String)
28
+ ], PreparePaymentDto.prototype, "senderPublicKey", void 0);
29
+ __decorate([
30
+ (0, class_validator_1.IsMongoId)(),
31
+ (0, class_validator_1.IsOptional)(),
32
+ __metadata("design:type", String)
33
+ ], PreparePaymentDto.prototype, "currencyId", void 0);
34
+ __decorate([
35
+ (0, class_validator_1.IsNumber)({ allowInfinity: false, allowNaN: false, maxDecimalPlaces: 0 }),
36
+ (0, class_validator_1.IsOptional)(),
37
+ __metadata("design:type", Number)
38
+ ], PreparePaymentDto.prototype, "quantity", void 0);
39
+ __decorate([
40
+ (0, class_validator_1.IsOptional)(),
41
+ (0, class_transformer_1.Transform)(({ value }) => value === undefined || value === null || value === ''
42
+ ? undefined
43
+ : BigInt(value), { toClassOnly: true }),
44
+ __metadata("design:type", BigInt)
45
+ ], PreparePaymentDto.prototype, "amount", void 0);
46
+ __decorate([
47
+ (0, class_validator_1.IsString)(),
48
+ (0, class_validator_1.IsOptional)(),
49
+ __metadata("design:type", String)
50
+ ], PreparePaymentDto.prototype, "affiliateCode", void 0);
51
+ __decorate([
52
+ (0, class_transformer_1.Type)(() => customer_details_1.CustomerDetailsDto),
53
+ (0, class_validator_1.ValidateNested)(),
54
+ (0, class_validator_1.IsOptional)(),
55
+ __metadata("design:type", customer_details_1.CustomerDetailsDto)
56
+ ], PreparePaymentDto.prototype, "customerDetails", void 0);
57
+ __decorate([
58
+ (0, class_transformer_1.Type)(() => product_details_1.ProductDetailsDto),
59
+ (0, class_validator_1.ValidateNested)(),
60
+ (0, class_validator_1.IsOptional)(),
61
+ __metadata("design:type", product_details_1.ProductDetailsDto)
62
+ ], PreparePaymentDto.prototype, "productDetails", void 0);
63
+ exports.PreparePaymentDto = PreparePaymentDto;
64
+ //# sourceMappingURL=preparePayment.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"preparePayment.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/prepare-transaction/dtos/preparePayment.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAOyB;AACzB,yDAAoD;AACpD,6DAA4D;AAC5D,2DAA0D;AAG1D,MAAa,iBAAiB;CAwC7B;AAvCC;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;2DACY;AAEzB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;0DACW;AAExB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;qDACO;AAEpB;IAAC,IAAA,0BAAQ,EAAC,EAAE,aAAa,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,gBAAgB,EAAE,CAAC,EAAE,CAAC;IACxE,IAAA,4BAAU,GAAE;;mDACK;AAElB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,6BAAS,EACR,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CACZ,KAAK,KAAK,SAAS,IAAI,KAAK,KAAK,IAAI,IAAI,KAAK,KAAK,EAAE;QACnD,CAAC,CAAC,SAAS;QACX,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,EACnB,EAAE,WAAW,EAAE,IAAI,EAAE,CACtB;;iDACe;AAEhB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;wDACU;AAEvB;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,qCAAkB,CAAC;IAC9B,IAAA,gCAAc,GAAE;IAChB,IAAA,4BAAU,GAAE;8BACK,qCAAkB;0DAAC;AAErC;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,mCAAiB,CAAC;IAC7B,IAAA,gCAAc,GAAE;IAChB,IAAA,4BAAU,GAAE;8BACI,mCAAiB;yDAAC;AAvCrC,8CAwCC"}
@@ -0,0 +1,4 @@
1
+ import { Entity } from '../../entity';
2
+ export declare class StripePaymentDetails extends Entity {
3
+ invoiceId: string;
4
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.StripePaymentDetails = void 0;
4
+ const entity_1 = require("../../entity");
5
+ class StripePaymentDetails extends entity_1.Entity {
6
+ }
7
+ exports.StripePaymentDetails = StripePaymentDetails;
8
+ //# sourceMappingURL=StripePaymentDetails.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StripePaymentDetails.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/stripe-payment-details/entities/StripePaymentDetails.entity.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAEtC,MAAa,oBAAqB,SAAQ,eAAM;CAE/C;AAFD,oDAEC"}
@@ -0,0 +1 @@
1
+ export * from './StripePaymentDetails.entity';
@@ -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("./StripePaymentDetails.entity"), exports);
20
18
  //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/stripe-payment-details/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gEAA8C"}
@@ -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/stripe-payment-details/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA2B"}