@heliofi/common 0.2.38 → 0.2.39

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 (63) hide show
  1. package/dist/src/domain/constants/index.d.ts +1 -0
  2. package/dist/src/domain/constants/index.js +1 -0
  3. package/dist/src/domain/constants/index.js.map +1 -1
  4. package/dist/src/domain/constants/redirectQueryParams.d.ts +3 -0
  5. package/dist/src/domain/constants/redirectQueryParams.js +8 -0
  6. package/dist/src/domain/constants/redirectQueryParams.js.map +1 -0
  7. package/dist/src/domain/model/index.d.ts +2 -0
  8. package/dist/src/domain/model/index.js +2 -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/onramper/dtos/getPaymentMethods.dto.d.ts +5 -0
  14. package/dist/src/domain/model/onramper/dtos/getPaymentMethods.dto.js +28 -0
  15. package/dist/src/domain/model/onramper/dtos/getPaymentMethods.dto.js.map +1 -0
  16. package/dist/src/domain/model/onramper/dtos/getQuote.dto.d.ts +6 -0
  17. package/dist/src/domain/model/onramper/dtos/getQuote.dto.js +37 -0
  18. package/dist/src/domain/model/onramper/dtos/getQuote.dto.js.map +1 -0
  19. package/dist/src/domain/model/onramper/dtos/index.d.ts +2 -0
  20. package/dist/src/domain/model/onramper/dtos/index.js +19 -0
  21. package/dist/src/domain/model/onramper/dtos/index.js.map +1 -0
  22. package/dist/src/domain/model/onramper/entities/OnramperCurrency.entity.d.ts +12 -0
  23. package/dist/src/domain/model/onramper/entities/OnramperCurrency.entity.js +7 -0
  24. package/dist/src/domain/model/onramper/entities/OnramperCurrency.entity.js.map +1 -0
  25. package/dist/src/domain/model/onramper/entities/OnramperPaymentMethod.entity.d.ts +5 -0
  26. package/dist/src/domain/model/onramper/entities/OnramperPaymentMethod.entity.js +7 -0
  27. package/dist/src/domain/model/onramper/entities/OnramperPaymentMethod.entity.js.map +1 -0
  28. package/dist/src/domain/model/onramper/entities/OnramperQuote.entity.d.ts +10 -0
  29. package/dist/src/domain/model/onramper/entities/OnramperQuote.entity.js +7 -0
  30. package/dist/src/domain/model/onramper/entities/OnramperQuote.entity.js.map +1 -0
  31. package/dist/src/domain/model/onramper/entities/index.d.ts +3 -0
  32. package/dist/src/domain/model/onramper/entities/index.js +20 -0
  33. package/dist/src/domain/model/onramper/entities/index.js.map +1 -0
  34. package/dist/src/domain/model/onramper/index.d.ts +2 -0
  35. package/dist/src/domain/model/onramper/index.js +19 -0
  36. package/dist/src/domain/model/onramper/index.js.map +1 -0
  37. package/dist/src/domain/model/payment-request/dtos/createPaymentRequest.dto.d.ts +2 -0
  38. package/dist/src/domain/model/payment-request/dtos/createPaymentRequest.dto.js +8 -0
  39. package/dist/src/domain/model/payment-request/dtos/createPaymentRequest.dto.js.map +1 -1
  40. package/dist/src/domain/model/payment-request/dtos/createPaymentRequestWithApi.dto.d.ts +2 -0
  41. package/dist/src/domain/model/payment-request/dtos/createPaymentRequestWithApi.dto.js +8 -0
  42. package/dist/src/domain/model/payment-request/dtos/createPaymentRequestWithApi.dto.js.map +1 -1
  43. package/dist/src/domain/model/payment-request/entities/BasePaymentRequest.d.ts +2 -0
  44. package/dist/src/domain/model/payment-request/entities/BasePaymentRequest.js.map +1 -1
  45. package/dist/src/domain/model/payment-request-features/entities/PaymentRequestFeatures.d.ts +1 -0
  46. package/dist/src/domain/model/payment-request-features/entities/PaymentRequestFeatures.js.map +1 -1
  47. package/dist/src/domain/model/redirect-query-params/dtos/RedirectQueryParam.dto.d.ts +5 -0
  48. package/dist/src/domain/model/redirect-query-params/dtos/RedirectQueryParam.dto.js +28 -0
  49. package/dist/src/domain/model/redirect-query-params/dtos/RedirectQueryParam.dto.js.map +1 -0
  50. package/dist/src/domain/model/redirect-query-params/dtos/index.d.ts +1 -0
  51. package/dist/src/domain/model/redirect-query-params/dtos/index.js +18 -0
  52. package/dist/src/domain/model/redirect-query-params/dtos/index.js.map +1 -0
  53. package/dist/src/domain/model/redirect-query-params/entities/RedirectQueryParam.entity.d.ts +6 -0
  54. package/dist/src/domain/model/redirect-query-params/entities/RedirectQueryParam.entity.js +8 -0
  55. package/dist/src/domain/model/redirect-query-params/entities/RedirectQueryParam.entity.js.map +1 -0
  56. package/dist/src/domain/model/redirect-query-params/entities/index.d.ts +1 -0
  57. package/dist/src/domain/model/redirect-query-params/entities/index.js +18 -0
  58. package/dist/src/domain/model/redirect-query-params/entities/index.js.map +1 -0
  59. package/dist/src/domain/model/redirect-query-params/index.d.ts +2 -0
  60. package/dist/src/domain/model/redirect-query-params/index.js +19 -0
  61. package/dist/src/domain/model/redirect-query-params/index.js.map +1 -0
  62. package/dist/tsconfig.tsbuildinfo +1 -1
  63. package/package.json +2 -2
@@ -26,3 +26,4 @@ export * from './urlValidation';
26
26
  export * from './countryCode';
27
27
  export * from './theme';
28
28
  export * from './nftType';
29
+ export * from './redirectQueryParams';
@@ -42,4 +42,5 @@ __exportStar(require("./urlValidation"), exports);
42
42
  __exportStar(require("./countryCode"), exports);
43
43
  __exportStar(require("./theme"), exports);
44
44
  __exportStar(require("./nftType"), exports);
45
+ __exportStar(require("./redirectQueryParams"), exports);
45
46
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/domain/constants/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC;AAClC,mDAAiC;AACjC,gDAA8B;AAC9B,iDAA+B;AAC/B,+CAA6B;AAC7B,mDAAiC;AACjC,qDAAmC;AACnC,8CAA4B;AAC5B,qEAAmD;AACnD,mDAAiC;AACjC,gDAA8B;AAC9B,2CAAyB;AACzB,2CAAyB;AACzB,kDAAgC;AAChC,4DAA0C;AAC1C,yDAAuC;AACvC,6CAA2B;AAC3B,2CAAyB;AACzB,uDAAqC;AACrC,6CAA2B;AAC3B,6DAA2C;AAC3C,2CAAyB;AACzB,oDAAkC;AAClC,6CAA2B;AAC3B,kDAAgC;AAChC,gDAA8B;AAC9B,0CAAwB;AACxB,4CAA0B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/domain/constants/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC;AAClC,mDAAiC;AACjC,gDAA8B;AAC9B,iDAA+B;AAC/B,+CAA6B;AAC7B,mDAAiC;AACjC,qDAAmC;AACnC,8CAA4B;AAC5B,qEAAmD;AACnD,mDAAiC;AACjC,gDAA8B;AAC9B,2CAAyB;AACzB,2CAAyB;AACzB,kDAAgC;AAChC,4DAA0C;AAC1C,yDAAuC;AACvC,6CAA2B;AAC3B,2CAAyB;AACzB,uDAAqC;AACrC,6CAA2B;AAC3B,6DAA2C;AAC3C,2CAAyB;AACzB,oDAAkC;AAClC,6CAA2B;AAC3B,kDAAgC;AAChC,gDAA8B;AAC9B,0CAAwB;AACxB,4CAA0B;AAC1B,wDAAsC"}
@@ -0,0 +1,3 @@
1
+ export declare enum RedirectQueryParams {
2
+ WALLET_ADDRESS = "WALLET_ADDRESS"
3
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RedirectQueryParams = void 0;
4
+ var RedirectQueryParams;
5
+ (function (RedirectQueryParams) {
6
+ RedirectQueryParams["WALLET_ADDRESS"] = "WALLET_ADDRESS";
7
+ })(RedirectQueryParams = exports.RedirectQueryParams || (exports.RedirectQueryParams = {}));
8
+ //# sourceMappingURL=redirectQueryParams.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"redirectQueryParams.js","sourceRoot":"","sources":["../../../../src/domain/constants/redirectQueryParams.ts"],"names":[],"mappings":";;;AAAA,IAAY,mBAEX;AAFD,WAAY,mBAAmB;IAC7B,wDAAiC,CAAA;AACnC,CAAC,EAFW,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAE9B"}
@@ -123,3 +123,5 @@ export * from './rpc';
123
123
  export * from './privateRpc';
124
124
  export * from './telegram-details';
125
125
  export * from './telegram-user';
126
+ export * from './redirect-query-params';
127
+ export * from './onramper';
@@ -139,4 +139,6 @@ __exportStar(require("./rpc"), exports);
139
139
  __exportStar(require("./privateRpc"), exports);
140
140
  __exportStar(require("./telegram-details"), exports);
141
141
  __exportStar(require("./telegram-user"), exports);
142
+ __exportStar(require("./redirect-query-params"), exports);
143
+ __exportStar(require("./onramper"), exports);
142
144
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
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,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;AAClC,+CAA6B;AAC7B,2CAAyB;AACzB,+CAA6B;AAC7B,uDAAqC;AACrC,mDAAiC;AACjC,4CAA0B;AAC1B,kDAAgC;AAChC,kDAAgC;AAChC,4CAA0B;AAC1B,mDAAiC;AACjC,mDAAiC;AACjC,4CAA0B;AAC1B,wDAAsC;AACtC,kDAAgC;AAChC,mDAAiC;AACjC,4CAA0B;AAC1B,gDAA8B;AAC9B,mDAAiC;AACjC,+CAA6B;AAC7B,+CAA6B;AAC7B,0CAAwB;AACxB,mDAAiC;AACjC,kDAAgC;AAChC,wCAAsB;AACtB,oDAAkC;AAClC,gDAA8B;AAC9B,qDAAmC;AACnC,4DAA0C;AAC1C,gEAA8C;AAC9C,+DAA6C;AAC7C,uDAAqC;AACrC,0CAAwB;AACxB,+CAA6B;AAC7B,4CAA0B;AAC1B,mDAAiC;AACjC,mDAAiC;AACjC,2CAAyB;AACzB,kDAAgC;AAChC,2DAAyC;AACzC,6CAA2B;AAC3B,6CAA2B;AAC3B,mDAAiC;AACjC,+CAA6B;AAC7B,uDAAqC;AACrC,iDAA+B;AAC/B,8CAA4B;AAC5B,8CAA4B;AAC5B,qDAAmC;AACnC,qDAAmC;AACnC,qEAAmD;AACnD,oEAAkD;AAClD,oDAAkC;AAClC,yDAAuC;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"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/domain/model/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAA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,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,6CAA2B"}
@@ -12,5 +12,6 @@ export declare class CreateLinkFeaturesDto extends CreatePaymentRequestFeaturesD
12
12
  requireAirdrop?: boolean;
13
13
  requireRaffle?: boolean;
14
14
  shouldRedirectOnSuccess?: boolean;
15
+ hasRedirectQueryParams?: boolean;
15
16
  isSubscription?: boolean;
16
17
  }
@@ -74,6 +74,11 @@ __decorate([
74
74
  (0, class_validator_1.IsOptional)(),
75
75
  __metadata("design:type", Boolean)
76
76
  ], CreateLinkFeaturesDto.prototype, "shouldRedirectOnSuccess", void 0);
77
+ __decorate([
78
+ (0, class_validator_1.IsBoolean)(),
79
+ (0, class_validator_1.IsOptional)(),
80
+ __metadata("design:type", Boolean)
81
+ ], CreateLinkFeaturesDto.prototype, "hasRedirectQueryParams", void 0);
77
82
  __decorate([
78
83
  (0, class_validator_1.IsBoolean)(),
79
84
  (0, class_validator_1.IsOptional)(),
@@ -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;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;;6DACY;AAnD3B,sDAoDC"}
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;CAwDzE;AAvDC;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;AAvD3B,sDAwDC"}
@@ -0,0 +1,5 @@
1
+ import { BlockchainSymbol } from '../../blockchain';
2
+ export declare class GetPaymentMethodsDto {
3
+ currency: string;
4
+ chain: BlockchainSymbol;
5
+ }
@@ -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.GetPaymentMethodsDto = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ const blockchain_1 = require("../../blockchain");
15
+ class GetPaymentMethodsDto {
16
+ }
17
+ __decorate([
18
+ (0, class_validator_1.IsString)(),
19
+ (0, class_validator_1.IsNotEmpty)(),
20
+ __metadata("design:type", String)
21
+ ], GetPaymentMethodsDto.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
+ ], GetPaymentMethodsDto.prototype, "chain", void 0);
27
+ exports.GetPaymentMethodsDto = GetPaymentMethodsDto;
28
+ //# sourceMappingURL=getPaymentMethods.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getPaymentMethods.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/onramper/dtos/getPaymentMethods.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA+D;AAC/D,iDAAoD;AAEpD,MAAa,oBAAoB;CAQhC;AAPC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;sDACI;AAEjB;IAAC,IAAA,wBAAM,EAAC,6BAAgB,CAAC;IACxB,IAAA,4BAAU,GAAE;;mDACW;AAP1B,oDAQC"}
@@ -0,0 +1,6 @@
1
+ export declare class GetQuoteDto {
2
+ crypto: string;
3
+ amount: string;
4
+ walletAddress: string;
5
+ paymentMethod: string;
6
+ }
@@ -0,0 +1,37 @@
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.GetQuoteDto = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ class GetQuoteDto {
15
+ }
16
+ __decorate([
17
+ (0, class_validator_1.IsString)(),
18
+ (0, class_validator_1.IsNotEmpty)(),
19
+ __metadata("design:type", String)
20
+ ], GetQuoteDto.prototype, "crypto", void 0);
21
+ __decorate([
22
+ (0, class_validator_1.IsString)(),
23
+ (0, class_validator_1.IsNotEmpty)(),
24
+ __metadata("design:type", String)
25
+ ], GetQuoteDto.prototype, "amount", void 0);
26
+ __decorate([
27
+ (0, class_validator_1.IsString)(),
28
+ (0, class_validator_1.IsNotEmpty)(),
29
+ __metadata("design:type", String)
30
+ ], GetQuoteDto.prototype, "walletAddress", void 0);
31
+ __decorate([
32
+ (0, class_validator_1.IsString)(),
33
+ (0, class_validator_1.IsNotEmpty)(),
34
+ __metadata("design:type", String)
35
+ ], GetQuoteDto.prototype, "paymentMethod", void 0);
36
+ exports.GetQuoteDto = GetQuoteDto;
37
+ //# sourceMappingURL=getQuote.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getQuote.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/onramper/dtos/getQuote.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuD;AAEvD,MAAa,WAAW;CAgBvB;AAfC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;2CACE;AAEf;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;2CACE;AAEf;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;kDACS;AAEtB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;kDACS;AAfxB,kCAgBC"}
@@ -0,0 +1,2 @@
1
+ export * from './getPaymentMethods.dto';
2
+ export * from './getQuote.dto';
@@ -0,0 +1,19 @@
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("./getPaymentMethods.dto"), exports);
18
+ __exportStar(require("./getQuote.dto"), exports);
19
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/onramper/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0DAAwC;AACxC,iDAA+B"}
@@ -0,0 +1,12 @@
1
+ export declare class OnramperCurrency {
2
+ id: string;
3
+ name: string;
4
+ code: string;
5
+ symbol: string;
6
+ network: string;
7
+ icon: string;
8
+ address: string;
9
+ decimals: number;
10
+ isMeme: boolean;
11
+ networkDisplayName: string;
12
+ }
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.OnramperCurrency = void 0;
4
+ class OnramperCurrency {
5
+ }
6
+ exports.OnramperCurrency = OnramperCurrency;
7
+ //# sourceMappingURL=OnramperCurrency.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OnramperCurrency.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/onramper/entities/OnramperCurrency.entity.ts"],"names":[],"mappings":";;;AAAA,MAAa,gBAAgB;CAoB5B;AApBD,4CAoBC"}
@@ -0,0 +1,5 @@
1
+ export declare class OnramperPaymentMethod {
2
+ paymentTypeId: string;
3
+ name: string;
4
+ icon: string;
5
+ }
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.OnramperPaymentMethod = void 0;
4
+ class OnramperPaymentMethod {
5
+ }
6
+ exports.OnramperPaymentMethod = OnramperPaymentMethod;
7
+ //# sourceMappingURL=OnramperPaymentMethod.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OnramperPaymentMethod.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/onramper/entities/OnramperPaymentMethod.entity.ts"],"names":[],"mappings":";;;AAAA,MAAa,qBAAqB;CAMjC;AAND,sDAMC"}
@@ -0,0 +1,10 @@
1
+ export declare class OnramperQuote {
2
+ rate?: number;
3
+ networkFee?: number;
4
+ transactionFee?: number;
5
+ ramp: string;
6
+ paymentMethod: string;
7
+ quoteId: string;
8
+ recommendations?: string[];
9
+ errors?: Record<string, string>[];
10
+ }
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.OnramperQuote = void 0;
4
+ class OnramperQuote {
5
+ }
6
+ exports.OnramperQuote = OnramperQuote;
7
+ //# sourceMappingURL=OnramperQuote.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OnramperQuote.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/onramper/entities/OnramperQuote.entity.ts"],"names":[],"mappings":";;;AAAA,MAAa,aAAa;CAgBzB;AAhBD,sCAgBC"}
@@ -0,0 +1,3 @@
1
+ export * from './OnramperCurrency.entity';
2
+ export * from './OnramperPaymentMethod.entity';
3
+ export * from './OnramperQuote.entity';
@@ -0,0 +1,20 @@
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("./OnramperCurrency.entity"), exports);
18
+ __exportStar(require("./OnramperPaymentMethod.entity"), exports);
19
+ __exportStar(require("./OnramperQuote.entity"), exports);
20
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/onramper/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4DAA0C;AAC1C,iEAA+C;AAC/C,yDAAuC"}
@@ -0,0 +1,2 @@
1
+ export * from './dtos';
2
+ export * from './entities';
@@ -0,0 +1,19 @@
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("./dtos"), exports);
18
+ __exportStar(require("./entities"), exports);
19
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/domain/model/onramper/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAuB;AACvB,6CAA2B"}
@@ -12,6 +12,7 @@ import { CountdownDetailsDto } from '../../countdown-details';
12
12
  import { Template } from '../../../constants';
13
13
  import { CustomThemeDto } from '../../theme';
14
14
  import { RedirectTimeoutValues } from '../constants';
15
+ import { RedirectQueryParamDto } from '../../redirect-query-params';
15
16
  export declare class CreatePaymentRequestDto {
16
17
  company: string;
17
18
  name: string;
@@ -44,5 +45,6 @@ export declare class CreatePaymentRequestDto {
44
45
  countdownDetails?: CountdownDetailsDto;
45
46
  redirectUrl?: string;
46
47
  redirectTimeout?: RedirectTimeoutValues;
48
+ redirectQueryParams?: RedirectQueryParamDto[];
47
49
  customTheme?: CustomThemeDto;
48
50
  }
@@ -27,6 +27,7 @@ const countdown_details_1 = require("../../countdown-details");
27
27
  const constants_1 = require("../../../constants");
28
28
  const theme_1 = require("../../theme");
29
29
  const constants_2 = require("../constants");
30
+ const redirect_query_params_1 = require("../../redirect-query-params");
30
31
  class CreatePaymentRequestDto {
31
32
  constructor() {
32
33
  this.notifySenderByEmail = false;
@@ -211,6 +212,13 @@ __decorate([
211
212
  (0, class_validator_1.IsOptional)(),
212
213
  __metadata("design:type", Number)
213
214
  ], CreatePaymentRequestDto.prototype, "redirectTimeout", void 0);
215
+ __decorate([
216
+ (0, class_validator_1.IsArray)(),
217
+ (0, class_transformer_1.Type)(() => redirect_query_params_1.RedirectQueryParamDto),
218
+ (0, class_validator_1.IsOptional)(),
219
+ (0, class_validator_1.ValidateNested)({ each: true }),
220
+ __metadata("design:type", Array)
221
+ ], CreatePaymentRequestDto.prototype, "redirectQueryParams", void 0);
214
222
  __decorate([
215
223
  (0, class_transformer_1.Type)(() => theme_1.CustomThemeDto),
216
224
  (0, class_validator_1.IsOptional)(),
@@ -1 +1 @@
1
- {"version":3,"file":"createPaymentRequest.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/payment-request/dtos/createPaymentRequest.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAayB;AACzB,yDAAoD;AACpD,2CAA2C;AAC3C,2CAA2C;AAC3C,mFAAgF;AAChF,iDAAoD;AACpD,6CAA4C;AAC5C,oDAAgD;AAChD,+CAA+C;AAC/C,qEAAmE;AACnE,qEAAqE;AACrE,iDAAuD;AACvD,uDAAsD;AACtD,+DAA8D;AAC9D,kDAA8C;AAC9C,uCAA6C;AAC7C,4CAAqD;AAErD,MAAa,uBAAuB;IAApC;QAqCE,wBAAmB,GAAa,KAAK,CAAC;QAItC,0BAAqB,GAAa,KAAK,CAAC;QAIxC,mBAAc,GAAa,KAAK,CAAC;IAsHnC,CAAC;CAAA;AA/JC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;wDACG;AAEhB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;qDACA;AAEb;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;;gEACY;AAExB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;4DACQ;AAErB;IAAC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AAE,EAAE,EAAE,OAAO,EAAE,8BAA8B,EAAE,CAAC;IAC1D,IAAA,4BAAU,GAAE;IACZ,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;;sDACzB;AAEf;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,+BAAe,CAAC;IAC3B,IAAA,4BAAU,GAAE;IACZ,IAAA,gCAAc,GAAE;8BACF,+BAAe;6DAAC;AAE/B;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,uCAAmB,CAAC;IAC/B,IAAA,4BAAU,GAAE;IACZ,IAAA,gCAAc,GAAE;8BACE,uCAAmB;iEAAC;AAEvC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;4DACQ;AAErB;IAAC,IAAA,wBAAM,EAAC,iCAAqB,CAAC;IAC7B,IAAA,4BAAU,GAAE;;gEAC2B;AAExC;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,sBAAc,CAAC;IAC1B,IAAA,4BAAU,GAAE;IACZ,IAAA,gCAAc,GAAE;8BACH,sBAAc;4DAAC;AAlK/B,0DAmKC"}
1
+ {"version":3,"file":"createPaymentRequest.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/payment-request/dtos/createPaymentRequest.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAayB;AACzB,yDAAoD;AACpD,2CAA2C;AAC3C,2CAA2C;AAC3C,mFAAgF;AAChF,iDAAoD;AACpD,6CAA4C;AAC5C,oDAAgD;AAChD,+CAA+C;AAC/C,qEAAmE;AACnE,qEAAqE;AACrE,iDAAuD;AACvD,uDAAsD;AACtD,+DAA8D;AAC9D,kDAA8C;AAC9C,uCAA6C;AAC7C,4CAAqD;AACrD,uEAAoE;AAEpE,MAAa,uBAAuB;IAApC;QAqCE,wBAAmB,GAAa,KAAK,CAAC;QAItC,0BAAqB,GAAa,KAAK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,IAAA,gCAAc,GAAE;8BACH,sBAAc;4DAAC;AAxK/B,0DAyKC"}
@@ -11,6 +11,7 @@ import { EventDetailsDto } from '../../event-details';
11
11
  import { CountdownDetailsDto } from '../../countdown-details';
12
12
  import { Template } from '../../../constants';
13
13
  import { RedirectTimeoutValues } from '../constants';
14
+ import { RedirectQueryParamDto } from '../../redirect-query-params';
14
15
  export declare class CreatePaymentRequestWithApiDto implements Omit<CreatePaymentRequestDto, 'company'> {
15
16
  name: string;
16
17
  pricingCurrency: string;
@@ -36,5 +37,6 @@ export declare class CreatePaymentRequestWithApiDto implements Omit<CreatePaymen
36
37
  eventDetails?: EventDetailsDto;
37
38
  redirectUrl?: string;
38
39
  redirectTimeout?: RedirectTimeoutValues;
40
+ redirectQueryParams?: RedirectQueryParamDto[];
39
41
  countdownDetails?: CountdownDetailsDto;
40
42
  }
@@ -25,6 +25,7 @@ const event_details_1 = require("../../event-details");
25
25
  const countdown_details_1 = require("../../countdown-details");
26
26
  const constants_1 = require("../../../constants");
27
27
  const constants_2 = require("../constants");
28
+ const redirect_query_params_1 = require("../../redirect-query-params");
28
29
  class CreatePaymentRequestWithApiDto {
29
30
  constructor() {
30
31
  this.notifySenderByEmail = false;
@@ -171,6 +172,13 @@ __decorate([
171
172
  (0, class_validator_1.IsOptional)(),
172
173
  __metadata("design:type", Number)
173
174
  ], CreatePaymentRequestWithApiDto.prototype, "redirectTimeout", void 0);
175
+ __decorate([
176
+ (0, class_validator_1.IsArray)(),
177
+ (0, class_transformer_1.Type)(() => redirect_query_params_1.RedirectQueryParamDto),
178
+ (0, class_validator_1.IsOptional)(),
179
+ (0, class_validator_1.ValidateNested)({ each: true }),
180
+ __metadata("design:type", Array)
181
+ ], CreatePaymentRequestWithApiDto.prototype, "redirectQueryParams", void 0);
174
182
  __decorate([
175
183
  (0, class_transformer_1.Type)(() => countdown_details_1.CountdownDetailsDto),
176
184
  (0, class_validator_1.IsOptional)(),
@@ -1 +1 @@
1
- {"version":3,"file":"createPaymentRequestWithApi.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/payment-request/dtos/createPaymentRequestWithApi.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAayB;AACzB,yDAAoD;AAEpD,oDAAgD;AAChD,2CAA2C;AAC3C,2CAA2C;AAC3C,qEAAmE;AACnE,6CAA4C;AAC5C,mFAAgF;AAChF,+CAA+C;AAC/C,qEAAqE;AACrE,iDAAuD;AACvD,uDAAsD;AACtD,+DAA8D;AAC9D,kDAA8C;AAC9C,4CAAqD;AAErD,MAAa,8BAA8B;IAA3C;QAuBE,wBAAmB,GAAa,KAAK,CAAC;QAItC,0BAAqB,GAAa,KAAK,CAAC;QAIxC,mBAAc,GAAa,KAAK,CAAC;IA2FnC,CAAC;CAAA;AAvHC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;4DACA;AAEb;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;;uEACY;AAExB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;mEACQ;AAErB;IAAC,IAAA,2BAAS,EAAC,oBAAQ,CAAC,OAAO,CAAC;IAC3B,IAAA,wBAAM,EAAC,oBAAQ,CAAC;IAChB,IAAA,4BAAU,GAAE;;gEACO;AAEpB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;2EACyB;AAEtC;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;6EAC2B;AAExC;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;sEACoB;AAEjC;IAAC,IAAA,yBAAO,GAAE;IACT,IAAA,0BAAQ,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IACxB,IAAA,4BAAU,GAAE;;sEACa;AAE1B;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;gEACM;AAEnB;IAAC,I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,EAAE,CAAC,gCAAmB,CAAC;IAC/B,IAAA,4BAAU,GAAE;IACZ,IAAA,gCAAc,GAAE;8BACE,gCAAmB;wEAAC;AAEvC;IAAC,IAAA,4BAAU,EAAC,CAAC,MAAM,EAAE,EAAE;QACrB,OAAO,CAAC,MAAM,CAAC,OAAO,IAAI,CAAC,MAAM,CAAC,QAAQ,EAAE,cAAc,CAAC;IAC7D,CAAC,CAAC;IACD,IAAA,sBAAS,EAAC,EAAE,EAAE,EAAE,OAAO,EAAE,8BAA8B,EAAE,CAAC;IAC1D,IAAA,4BAAU,GAAE;IACZ,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;;6DACzB;AAEf;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,+BAAe,CAAC;IAC3B,IAAA,4BAAU,GAAE;IACZ,IAAA,gCAAc,GAAE;8BACF,+BAAe;oEAAC;AAE/B;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;mEACQ;AAErB;IAAC,IAAA,wBAAM,EAAC,iCAAqB,CAAC;IAC7B,IAAA,4BAAU,GAAE;;uEAC2B;AAExC;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,uCAAmB,CAAC;IAC/B,IAAA,4BAAU,GAAE;IACZ,IAAA,gCAAc,GAAE;8BACE,uCAAmB;wEAAC;AAzHzC,wEA0HC"}
1
+ {"version":3,"file":"createPaymentRequestWithApi.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/payment-request/dtos/createPaymentRequestWithApi.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAayB;AACzB,yDAAoD;AAEpD,oDAAgD;AAChD,2CAA2C;AAC3C,2CAA2C;AAC3C,qEAAmE;AACnE,6CAA4C;AAC5C,mFAAgF;AAChF,+CAA+C;AAC/C,qEAAqE;AACrE,iDAAuD;AACvD,uDAAsD;AACtD,+DAA8D;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AE,EAAE,EAAE,OAAO,EAAE,8BAA8B,EAAE,CAAC;IAC1D,IAAA,4BAAU,GAAE;IACZ,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;;6DACzB;AAEf;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,+BAAe,CAAC;IAC3B,IAAA,4BAAU,GAAE;IACZ,IAAA,gCAAc,GAAE;8BACF,+BAAe;oEAAC;AAE/B;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;mEACQ;AAErB;IAAC,IAAA,wBAAM,EAAC,iCAAqB,CAAC;IAC7B,IAAA,4BAAU,GAAE;;uEAC2B;AAExC;IAAC,IAAA,yBAAO,GAAE;IACT,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,6CAAqB,CAAC;IACjC,IAAA,4BAAU,GAAE;IACZ,IAAA,gCAAc,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;2EACe;AAE9C;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,uCAAmB,CAAC;IAC/B,IAAA,4BAAU,GAAE;IACZ,IAAA,gCAAc,GAAE;8BACE,uCAAmB;wEAAC;AA/HzC,wEAgIC"}
@@ -6,6 +6,7 @@ import { EventDetails } from '../../event-details';
6
6
  import { CountdownDetails } from '../../countdown-details';
7
7
  import { Platform, Template } from '../../../constants';
8
8
  import { CustomTheme } from '../../theme';
9
+ import { RedirectQueryParam } from '../../redirect-query-params';
9
10
  export declare class BasePaymentRequest extends Entity {
10
11
  price: bigint;
11
12
  normalizedPrice?: bigint;
@@ -35,5 +36,6 @@ export declare class BasePaymentRequest extends Entity {
35
36
  countdownDetails?: CountdownDetails;
36
37
  redirectUrl?: string;
37
38
  redirectTimeout?: number;
39
+ redirectQueryParams?: RedirectQueryParam[];
38
40
  customTheme?: CustomTheme;
39
41
  }
@@ -1 +1 @@
1
- {"version":3,"file":"BasePaymentRequest.js","sourceRoot":"","sources":["../../../../../../src/domain/model/payment-request/entities/BasePaymentRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA8C;AAC9C,yCAAsC;AAStC,MAAa,kBAAmB,SAAQ,eAAM;CA4D7C;AA3DC;IAAC,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;;iDAC1B;AAEd;IAAC,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;;2DACf;AAL3B,gDA4DC"}
1
+ {"version":3,"file":"BasePaymentRequest.js","sourceRoot":"","sources":["../../../../../../src/domain/model/payment-request/entities/BasePaymentRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA8C;AAC9C,yCAAsC;AAUtC,MAAa,kBAAmB,SAAQ,eAAM;CA8D7C;AA7DC;IAAC,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;;iDAC1B;AAEd;IAAC,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;;2DACf;AAL3B,gDA8DC"}
@@ -28,4 +28,5 @@ export declare class PaymentRequestFeatures extends Entity {
28
28
  enableCountdown: boolean;
29
29
  shouldRedirectOnSuccess: boolean;
30
30
  customThemeEnabled: boolean;
31
+ hasRedirectQueryParams?: boolean;
31
32
  }
@@ -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;CAwDjD;AAxDD,wDAwDC"}
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"}
@@ -0,0 +1,5 @@
1
+ import { RedirectQueryParams } from '../../../constants';
2
+ export declare class RedirectQueryParamDto {
3
+ queryParamType: RedirectQueryParams;
4
+ value?: string;
5
+ }
@@ -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.RedirectQueryParamDto = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ const constants_1 = require("../../../constants");
15
+ class RedirectQueryParamDto {
16
+ }
17
+ __decorate([
18
+ (0, class_validator_1.IsEnum)(constants_1.RedirectQueryParams),
19
+ (0, class_validator_1.IsNotEmpty)(),
20
+ __metadata("design:type", String)
21
+ ], RedirectQueryParamDto.prototype, "queryParamType", void 0);
22
+ __decorate([
23
+ (0, class_validator_1.IsString)(),
24
+ (0, class_validator_1.IsOptional)(),
25
+ __metadata("design:type", String)
26
+ ], RedirectQueryParamDto.prototype, "value", void 0);
27
+ exports.RedirectQueryParamDto = RedirectQueryParamDto;
28
+ //# sourceMappingURL=RedirectQueryParam.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RedirectQueryParam.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/redirect-query-params/dtos/RedirectQueryParam.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA2E;AAC3E,kDAAyD;AAEzD,MAAa,qBAAqB;CAQjC;AAPC;IAAC,IAAA,wBAAM,EAAC,+BAAmB,CAAC;IAC3B,IAAA,4BAAU,GAAE;;6DACuB;AAEpC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;oDACE;AAPjB,sDAQC"}
@@ -0,0 +1 @@
1
+ export * from './RedirectQueryParam.dto';
@@ -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("./RedirectQueryParam.dto"), exports);
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/redirect-query-params/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2DAAyC"}
@@ -0,0 +1,6 @@
1
+ import { Entity } from '../../entity';
2
+ import { RedirectQueryParams } from '../../../constants';
3
+ export declare class RedirectQueryParam extends Entity {
4
+ queryParamType: RedirectQueryParams;
5
+ value?: string;
6
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RedirectQueryParam = void 0;
4
+ const entity_1 = require("../../entity");
5
+ class RedirectQueryParam extends entity_1.Entity {
6
+ }
7
+ exports.RedirectQueryParam = RedirectQueryParam;
8
+ //# sourceMappingURL=RedirectQueryParam.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RedirectQueryParam.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/redirect-query-params/entities/RedirectQueryParam.entity.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAGtC,MAAa,kBAAmB,SAAQ,eAAM;CAI7C;AAJD,gDAIC"}
@@ -0,0 +1 @@
1
+ export * from './RedirectQueryParam.entity';
@@ -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("./RedirectQueryParam.entity"), exports);
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/redirect-query-params/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8DAA4C"}