@heliofi/common 0.1.619 → 0.1.621

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 (65) hide show
  1. package/dist/src/domain/model/blink/dtos/index.d.ts +1 -0
  2. package/dist/src/domain/model/blink/dtos/index.js +1 -0
  3. package/dist/src/domain/model/blink/dtos/index.js.map +1 -1
  4. package/dist/src/domain/model/charge/dtos/createCharge.dto.d.ts +0 -2
  5. package/dist/src/domain/model/charge/dtos/createCharge.dto.js +0 -7
  6. package/dist/src/domain/model/charge/dtos/createCharge.dto.js.map +1 -1
  7. package/dist/src/domain/model/charge/dtos/index.d.ts +1 -0
  8. package/dist/src/domain/model/charge/dtos/index.js +1 -0
  9. package/dist/src/domain/model/charge/dtos/index.js.map +1 -1
  10. package/dist/src/domain/model/charge/dtos/partialUpdateCharge.dto.d.ts +5 -0
  11. package/dist/src/domain/model/charge/dtos/partialUpdateCharge.dto.js +32 -0
  12. package/dist/src/domain/model/charge/dtos/partialUpdateCharge.dto.js.map +1 -0
  13. package/dist/src/domain/model/charge/dtos/updateCharge.dto.d.ts +2 -4
  14. package/dist/src/domain/model/charge/dtos/updateCharge.dto.js +2 -16
  15. package/dist/src/domain/model/charge/dtos/updateCharge.dto.js.map +1 -1
  16. package/dist/src/domain/model/fee/entities/FeeFeature.enum.d.ts +1 -0
  17. package/dist/src/domain/model/fee/entities/FeeFeature.enum.js +1 -0
  18. package/dist/src/domain/model/fee/entities/FeeFeature.enum.js.map +1 -1
  19. package/dist/src/domain/model/fee/entities/index.d.ts +0 -1
  20. package/dist/src/domain/model/fee/entities/index.js +0 -1
  21. package/dist/src/domain/model/fee/entities/index.js.map +1 -1
  22. package/dist/src/domain/model/fee/index.d.ts +0 -1
  23. package/dist/src/domain/model/fee/index.js +0 -1
  24. package/dist/src/domain/model/fee/index.js.map +1 -1
  25. package/dist/src/domain/model/index.d.ts +0 -1
  26. package/dist/src/domain/model/index.js +0 -1
  27. package/dist/src/domain/model/index.js.map +1 -1
  28. package/dist/src/domain/model/paylink/dtos/createPaylink.dto.d.ts +2 -0
  29. package/dist/src/domain/model/paylink/dtos/createPaylink.dto.js +6 -0
  30. package/dist/src/domain/model/paylink/dtos/createPaylink.dto.js.map +1 -1
  31. package/dist/src/domain/model/paylink/dtos/createPaylinkWithApi.dto.d.ts +2 -0
  32. package/dist/src/domain/model/paylink/dtos/createPaylinkWithApi.dto.js +6 -0
  33. package/dist/src/domain/model/paylink/dtos/createPaylinkWithApi.dto.js.map +1 -1
  34. package/dist/src/domain/model/paylink/entities/CreatePaylinkSourse.enum.d.ts +4 -0
  35. package/dist/src/domain/model/paylink/entities/CreatePaylinkSourse.enum.js +9 -0
  36. package/dist/src/domain/model/paylink/entities/CreatePaylinkSourse.enum.js.map +1 -0
  37. package/dist/src/domain/model/paylink/entities/index.d.ts +6 -5
  38. package/dist/src/domain/model/paylink/entities/index.js +6 -5
  39. package/dist/src/domain/model/paylink/entities/index.js.map +1 -1
  40. package/dist/src/domain/model/userGroups/entities/UserGroupPermissions.d.ts +0 -1
  41. package/dist/src/domain/model/userGroups/entities/UserGroupPermissions.js +0 -1
  42. package/dist/src/domain/model/userGroups/entities/UserGroupPermissions.js.map +1 -1
  43. package/dist/src/domain/model/webhook/blink-transaction-hook/dtos/createBlinkTransactionHook.dto.d.ts +6 -0
  44. package/dist/src/domain/model/webhook/blink-transaction-hook/dtos/createBlinkTransactionHook.dto.js +33 -0
  45. package/dist/src/domain/model/webhook/blink-transaction-hook/dtos/createBlinkTransactionHook.dto.js.map +1 -0
  46. package/dist/src/domain/model/webhook/blink-transaction-hook/dtos/index.d.ts +1 -0
  47. package/dist/src/domain/model/webhook/blink-transaction-hook/dtos/index.js +18 -0
  48. package/dist/src/domain/model/webhook/blink-transaction-hook/dtos/index.js.map +1 -0
  49. package/dist/src/domain/model/webhook/blink-transaction-hook/entities/BlinkTransactionEvent.entity.d.ts +3 -0
  50. package/dist/src/domain/model/webhook/blink-transaction-hook/entities/BlinkTransactionEvent.entity.js +8 -0
  51. package/dist/src/domain/model/webhook/blink-transaction-hook/entities/BlinkTransactionEvent.entity.js.map +1 -0
  52. package/dist/src/domain/model/webhook/blink-transaction-hook/entities/BlinkTransactionHook.entity.d.ts +11 -0
  53. package/dist/src/domain/model/webhook/blink-transaction-hook/entities/BlinkTransactionHook.entity.js +8 -0
  54. package/dist/src/domain/model/webhook/blink-transaction-hook/entities/BlinkTransactionHook.entity.js.map +1 -0
  55. package/dist/src/domain/model/webhook/blink-transaction-hook/entities/index.d.ts +2 -0
  56. package/dist/src/domain/model/webhook/blink-transaction-hook/entities/index.js +19 -0
  57. package/dist/src/domain/model/webhook/blink-transaction-hook/entities/index.js.map +1 -0
  58. package/dist/src/domain/model/webhook/blink-transaction-hook/index.d.ts +2 -0
  59. package/dist/src/domain/model/webhook/blink-transaction-hook/index.js +19 -0
  60. package/dist/src/domain/model/webhook/blink-transaction-hook/index.js.map +1 -0
  61. package/dist/src/domain/model/webhook/index.d.ts +1 -0
  62. package/dist/src/domain/model/webhook/index.js +1 -0
  63. package/dist/src/domain/model/webhook/index.js.map +1 -1
  64. package/dist/tsconfig.tsbuildinfo +1 -1
  65. package/package.json +2 -2
@@ -1 +1,2 @@
1
1
  export * from './createBlink.dto';
2
+ export * from './createBlinkFeatures.dto';
@@ -15,4 +15,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./createBlink.dto"), exports);
18
+ __exportStar(require("./createBlinkFeatures.dto"), exports);
18
19
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/blink/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/blink/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC;AAClC,4DAA0C"}
@@ -1,5 +1,4 @@
1
1
  import { PrepareTransactionFromChargeDto } from './prepareRequestBodyFromCharge.dto';
2
- import { ShopifyPaymentDetailsDto } from './shopifyPaymentDetails.dto';
3
2
  export declare class CreateChargeDto {
4
3
  paymentRequestId: string;
5
4
  paylink: string;
@@ -9,5 +8,4 @@ export declare class CreateChargeDto {
9
8
  usdcAmount?: string;
10
9
  redirectUrl?: string;
11
10
  token?: string;
12
- shopifyPaymentDetails?: ShopifyPaymentDetailsDto;
13
11
  }
@@ -13,7 +13,6 @@ exports.CreateChargeDto = void 0;
13
13
  const class_validator_1 = require("class-validator");
14
14
  const class_transformer_1 = require("class-transformer");
15
15
  const prepareRequestBodyFromCharge_dto_1 = require("./prepareRequestBodyFromCharge.dto");
16
- const shopifyPaymentDetails_dto_1 = require("./shopifyPaymentDetails.dto");
17
16
  class CreateChargeDto {
18
17
  }
19
18
  __decorate([
@@ -57,11 +56,5 @@ __decorate([
57
56
  (0, class_validator_1.IsOptional)(),
58
57
  __metadata("design:type", String)
59
58
  ], CreateChargeDto.prototype, "token", void 0);
60
- __decorate([
61
- (0, class_transformer_1.Type)(() => shopifyPaymentDetails_dto_1.ShopifyPaymentDetailsDto),
62
- (0, class_validator_1.IsOptional)(),
63
- (0, class_validator_1.ValidateNested)(),
64
- __metadata("design:type", shopifyPaymentDetails_dto_1.ShopifyPaymentDetailsDto)
65
- ], CreateChargeDto.prototype, "shopifyPaymentDetails", void 0);
66
59
  exports.CreateChargeDto = CreateChargeDto;
67
60
  //# sourceMappingURL=createCharge.dto.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"createCharge.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/charge/dtos/createCharge.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAKyB;AACzB,yDAAyC;AACzC,yFAAqF;AACrF,2EAAuE;AAEvE,MAAa,eAAe;CAsC3B;AArCC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;yDACY;AAEzB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;gDACG;AAEhB;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,kEAA+B,CAAC;IAC3C,IAAA,4BAAU,GAAE;IACZ,IAAA,gCAAc,GAAE;8BACG,kEAA+B;2DAAC;AAEpD;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;sDACS;AAEtB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;uDACU;AAEvB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;mDACO;AAEpB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;oDACQ;AAErB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;8CACE;AAEf;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,oDAAwB,CAAC;IACpC,IAAA,4BAAU,GAAE;IACZ,IAAA,gCAAc,GAAE;8BACO,oDAAwB;8DAAC;AArCnD,0CAsCC"}
1
+ {"version":3,"file":"createCharge.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/charge/dtos/createCharge.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAKyB;AACzB,yDAAyC;AACzC,yFAAqF;AAErF,MAAa,eAAe;CAiC3B;AAhCC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;yDACY;AAEzB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;gDACG;AAEhB;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,kEAA+B,CAAC;IAC3C,IAAA,4BAAU,GAAE;IACZ,IAAA,gCAAc,GAAE;8BACG,kEAA+B;2DAAC;AAEpD;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;sDACS;AAEtB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;uDACU;AAEvB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;mDACO;AAEpB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;oDACQ;AAErB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;8CACE;AAhCjB,0CAiCC"}
@@ -2,6 +2,7 @@ export * from './createCharge.dto';
2
2
  export * from './prepareRequestBodyFromCharge.dto';
3
3
  export * from './prepareTransactionFromCharge.dto';
4
4
  export * from './prepareSwapTransactionCharge.dto';
5
+ export * from './partialUpdateCharge.dto';
5
6
  export * from './updateCharge.dto';
6
7
  export * from './createChargeByApiKey.dto';
7
8
  export * from './prepareRequestBodyFromApiKeyCharge.dto';
@@ -18,6 +18,7 @@ __exportStar(require("./createCharge.dto"), exports);
18
18
  __exportStar(require("./prepareRequestBodyFromCharge.dto"), exports);
19
19
  __exportStar(require("./prepareTransactionFromCharge.dto"), exports);
20
20
  __exportStar(require("./prepareSwapTransactionCharge.dto"), exports);
21
+ __exportStar(require("./partialUpdateCharge.dto"), exports);
21
22
  __exportStar(require("./updateCharge.dto"), exports);
22
23
  __exportStar(require("./createChargeByApiKey.dto"), exports);
23
24
  __exportStar(require("./prepareRequestBodyFromApiKeyCharge.dto"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/charge/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAmC;AACnC,qEAAmD;AACnD,qEAAmD;AACnD,qEAAmD;AACnD,qDAAmC;AACnC,6DAA2C;AAC3C,2EAAyD;AACzD,wEAAsD"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/charge/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAmC;AACnC,qEAAmD;AACnD,qEAAmD;AACnD,qEAAmD;AACnD,4DAA0C;AAC1C,qDAAmC;AACnC,6DAA2C;AAC3C,2EAAyD;AACzD,wEAAsD"}
@@ -0,0 +1,5 @@
1
+ export declare class PartialUpdateChargeDto {
2
+ currency: string;
3
+ paymentRequestId: string;
4
+ quantity?: number;
5
+ }
@@ -0,0 +1,32 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.PartialUpdateChargeDto = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ class PartialUpdateChargeDto {
15
+ }
16
+ __decorate([
17
+ (0, class_validator_1.IsString)(),
18
+ (0, class_validator_1.IsNotEmpty)(),
19
+ __metadata("design:type", String)
20
+ ], PartialUpdateChargeDto.prototype, "currency", void 0);
21
+ __decorate([
22
+ (0, class_validator_1.IsString)(),
23
+ (0, class_validator_1.IsNotEmpty)(),
24
+ __metadata("design:type", String)
25
+ ], PartialUpdateChargeDto.prototype, "paymentRequestId", void 0);
26
+ __decorate([
27
+ (0, class_validator_1.IsOptional)(),
28
+ (0, class_validator_1.IsNumber)(),
29
+ __metadata("design:type", Number)
30
+ ], PartialUpdateChargeDto.prototype, "quantity", void 0);
31
+ exports.PartialUpdateChargeDto = PartialUpdateChargeDto;
32
+ //# sourceMappingURL=partialUpdateCharge.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"partialUpdateCharge.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/charge/dtos/partialUpdateCharge.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA6E;AAE7E,MAAa,sBAAsB;CAYlC;AAXC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;wDACI;AAEjB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;gEACY;AAEzB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;wDACO;AAXpB,wDAYC"}
@@ -1,7 +1,5 @@
1
- export declare class UpdateChargeDto {
2
- currency: string;
1
+ import { PartialUpdateChargeDto } from './partialUpdateCharge.dto';
2
+ export declare class UpdateChargeDto extends PartialUpdateChargeDto {
3
3
  amount: string;
4
- paymentRequestId: string;
5
- quantity?: number;
6
4
  pricingCurrencyRateToken: string;
7
5
  }
@@ -11,28 +11,14 @@ var __metadata = (this && this.__metadata) || function (k, v) {
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.UpdateChargeDto = void 0;
13
13
  const class_validator_1 = require("class-validator");
14
- class UpdateChargeDto {
14
+ const partialUpdateCharge_dto_1 = require("./partialUpdateCharge.dto");
15
+ class UpdateChargeDto extends partialUpdateCharge_dto_1.PartialUpdateChargeDto {
15
16
  }
16
- __decorate([
17
- (0, class_validator_1.IsString)(),
18
- (0, class_validator_1.IsNotEmpty)(),
19
- __metadata("design:type", String)
20
- ], UpdateChargeDto.prototype, "currency", void 0);
21
17
  __decorate([
22
18
  (0, class_validator_1.IsString)(),
23
19
  (0, class_validator_1.IsNotEmpty)(),
24
20
  __metadata("design:type", String)
25
21
  ], UpdateChargeDto.prototype, "amount", void 0);
26
- __decorate([
27
- (0, class_validator_1.IsString)(),
28
- (0, class_validator_1.IsNotEmpty)(),
29
- __metadata("design:type", String)
30
- ], UpdateChargeDto.prototype, "paymentRequestId", void 0);
31
- __decorate([
32
- (0, class_validator_1.IsOptional)(),
33
- (0, class_validator_1.IsNumber)(),
34
- __metadata("design:type", Number)
35
- ], UpdateChargeDto.prototype, "quantity", void 0);
36
22
  __decorate([
37
23
  (0, class_validator_1.IsString)(),
38
24
  (0, class_validator_1.IsNotEmpty)(),
@@ -1 +1 @@
1
- {"version":3,"file":"updateCharge.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/charge/dtos/updateCharge.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA6E;AAE7E,MAAa,eAAe;CAoB3B;AAnBC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;iDACI;AAEjB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;+CACE;AAEf;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;yDACY;AAEzB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;iDACO;AAElB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;iEACoB;AAnBnC,0CAoBC"}
1
+ {"version":3,"file":"updateCharge.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/charge/dtos/updateCharge.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuD;AACvD,uEAAmE;AAEnE,MAAa,eAAgB,SAAQ,gDAAsB;CAQ1D;AAPC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;+CACE;AAEf;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;iEACoB;AAPnC,0CAQC"}
@@ -1,5 +1,6 @@
1
1
  export declare enum FeeFeature {
2
2
  STANDARD = "STANDARD",
3
+ CUSTOM_STANDARD = "CUSTOM_STANDARD",
3
4
  SWAP = "SWAP",
4
5
  SWAP_CONVERSION = "SWAP_CONVERSION",
5
6
  HELIO_PLAY = "HELIO_PLAY",
@@ -4,6 +4,7 @@ exports.FeeFeature = void 0;
4
4
  var FeeFeature;
5
5
  (function (FeeFeature) {
6
6
  FeeFeature["STANDARD"] = "STANDARD";
7
+ FeeFeature["CUSTOM_STANDARD"] = "CUSTOM_STANDARD";
7
8
  FeeFeature["SWAP"] = "SWAP";
8
9
  FeeFeature["SWAP_CONVERSION"] = "SWAP_CONVERSION";
9
10
  FeeFeature["HELIO_PLAY"] = "HELIO_PLAY";
@@ -1 +1 @@
1
- {"version":3,"file":"FeeFeature.enum.js","sourceRoot":"","sources":["../../../../../../src/domain/model/fee/entities/FeeFeature.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,UAWX;AAXD,WAAY,UAAU;IACpB,mCAAqB,CAAA;IACrB,2BAAa,CAAA;IAIb,iDAAmC,CAAA;IACnC,uCAAyB,CAAA;IACzB,+BAAiB,CAAA;IACjB,+BAAiB,CAAA;IACjB,iCAAmB,CAAA;AACrB,CAAC,EAXW,UAAU,GAAV,kBAAU,KAAV,kBAAU,QAWrB"}
1
+ {"version":3,"file":"FeeFeature.enum.js","sourceRoot":"","sources":["../../../../../../src/domain/model/fee/entities/FeeFeature.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,UAYX;AAZD,WAAY,UAAU;IACpB,mCAAqB,CAAA;IACrB,iDAAmC,CAAA;IACnC,2BAAa,CAAA;IAIb,iDAAmC,CAAA;IACnC,uCAAyB,CAAA;IACzB,+BAAiB,CAAA;IACjB,+BAAiB,CAAA;IACjB,iCAAmB,CAAA;AACrB,CAAC,EAZW,UAAU,GAAV,kBAAU,KAAV,kBAAU,QAYrB"}
@@ -1,3 +1,2 @@
1
1
  export * from './FeeFeature.enum';
2
- export * from './FeeOptions';
3
2
  export * from './FeeProperties';
@@ -15,6 +15,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./FeeFeature.enum"), exports);
18
- __exportStar(require("./FeeOptions"), exports);
19
18
  __exportStar(require("./FeeProperties"), exports);
20
19
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/fee/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC;AAClC,+CAA6B;AAC7B,kDAAgC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/fee/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC;AAClC,kDAAgC"}
@@ -1,2 +1 @@
1
1
  export * from './entities';
2
- export * from './dtos';
@@ -15,5 +15,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./entities"), exports);
18
- __exportStar(require("./dtos"), exports);
19
18
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/domain/model/fee/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA2B;AAC3B,yCAAuB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/domain/model/fee/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA2B"}
@@ -55,7 +55,6 @@ export * from './fee';
55
55
  export * from './prepare-invoice';
56
56
  export * from './transaction';
57
57
  export * from './blockchainEngine';
58
- export * from './location';
59
58
  export * from './prepare-payment-request';
60
59
  export * from './access-code-auth-properties';
61
60
  export * from './evm-transaction-monitoring';
@@ -71,7 +71,6 @@ __exportStar(require("./fee"), exports);
71
71
  __exportStar(require("./prepare-invoice"), exports);
72
72
  __exportStar(require("./transaction"), exports);
73
73
  __exportStar(require("./blockchainEngine"), exports);
74
- __exportStar(require("./location"), exports);
75
74
  __exportStar(require("./prepare-payment-request"), exports);
76
75
  __exportStar(require("./access-code-auth-properties"), exports);
77
76
  __exportStar(require("./evm-transaction-monitoring"), exports);
@@ -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,6CAA2B;AAC3B,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,kDAAgC;AAChC,0CAAwB;AACxB,oDAAkC;AAClC,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,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;AAC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AAwB;AACxB,oDAAkC;AAClC,2CAAyB"}
@@ -7,6 +7,7 @@ import { LimitSaleType } from '../../../constants';
7
7
  import { AffiliateDetailsDto } from '../../affiliates';
8
8
  import { SourceIntegration } from '../../transaction-meta';
9
9
  import { RaffleDetailsDto } from '../../raffle-details';
10
+ import { PayLinkCreationSource } from '../entities/CreatePaylinkSourse.enum';
10
11
  export declare type CreatePaylinkDtoDeserialized = Omit<CreatePaylinkDto, 'price'> & {
11
12
  price: bigint;
12
13
  };
@@ -25,4 +26,5 @@ export declare class CreatePaylinkDto extends CreatePaymentRequestDto {
25
26
  sourceIntegrationVersion?: string;
26
27
  redirectUrl?: string;
27
28
  airdropDetailsId?: string;
29
+ creationSource?: PayLinkCreationSource;
28
30
  }
@@ -21,6 +21,7 @@ const constants_1 = require("../../../constants");
21
21
  const affiliates_1 = require("../../affiliates");
22
22
  const transaction_meta_1 = require("../../transaction-meta");
23
23
  const raffle_details_1 = require("../../raffle-details");
24
+ const CreatePaylinkSourse_enum_1 = require("../entities/CreatePaylinkSourse.enum");
24
25
  class CreatePaylinkDto extends payment_request_1.CreatePaymentRequestDto {
25
26
  }
26
27
  __decorate([
@@ -99,5 +100,10 @@ __decorate([
99
100
  (0, class_validator_1.IsMongoId)(),
100
101
  __metadata("design:type", String)
101
102
  ], CreatePaylinkDto.prototype, "airdropDetailsId", void 0);
103
+ __decorate([
104
+ (0, class_validator_1.IsString)(),
105
+ (0, class_validator_1.IsOptional)(),
106
+ __metadata("design:type", String)
107
+ ], CreatePaylinkDto.prototype, "creationSource", void 0);
102
108
  exports.CreatePaylinkDto = CreatePaylinkDto;
103
109
  //# sourceMappingURL=createPaylink.dto.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"createPaylink.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/paylink/dtos/createPaylink.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDASyB;AACzB,yDAAyC;AACzC,uDAA4D;AAC5D,uDAAqD;AACrD,2DA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;;2DACyB;AAEtC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,EAAC,GAAG,CAAC;;kEACmB;AAElC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;qDACQ;AAErB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;;0DACc;AA7D5B,4CA8DC"}
1
+ {"version":3,"file":"createPaylink.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/paylink/dtos/createPaylink.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDASyB;AACzB,yDAAyC;AACzC,uDAA4D;AAC5D,uDAAqD;AACrD,2DAAgE;AAChE,iDAA0D;AAC1D,yDAAuD;AACvD,kDAAmD;AACnD,iDAAuD;AACvD,6DAA2D;AAC3D,yDAAwD;AACxD,mFAA6E;AAM7E,MAAa,gBAAiB,SAAQ,yCAAuB;CAkE5D;AAjEC;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,qCAAqB,CAAC;IACjC,IAAA,gCAAc,GAAE;8BACP,qCAAqB;kDAAC;AAEhC;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,8BAAc,CAAC;IAC1B,IAAA,4BAAU,GAAE;;sDACmB;AAEhC;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,gCAAe,CAAC;IAC3B,IAAA,4BAAU,GAAE;;uDACqB;AAElC;IAAC,IAAA,wBAAM,EAAC,yBAAa,CAAC;IACrB,IAAA,4BAAU,GAAE;;uDACiB;AAE9B;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;qDACU;AAErB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;qDACQ;AAErB;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,mCAAsB,CAAC;IAClC,IAAA,4BAAU,GAAE;IACZ,IAAA,gCAAc,GAAE;8BACK,mCAAsB;6DAAC;AAE7C;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;mDACM;AAEnB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,gCAAmB,CAAC;IAC/B,IAAA,gCAAc,GAAE;8BACE,gCAAmB;0DAAC;AAEvC;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,iCAAgB,CAAC;IAC5B,IAAA,4BAAU,GAAE;IACZ,IAAA,gCAAc,GAAE;8BACD,iCAAgB;uDAAC;AAEjC;IAAC,IAAA,wBAAM,EAAC,oCAAiB,CAAC;IACzB,IAAA,4BAAU,GAAE;;2DACyB;AAEtC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,EAAC,GAAG,CAAC;;kEACmB;AAElC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;qDACQ;AAErB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;;0DACc;AAE1B;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;wDAC0B;AAjEzC,4CAkEC"}
@@ -6,6 +6,7 @@ import { LimitSaleType } from '../../../constants';
6
6
  import { HelioPlayPropertiesDto } from '../../helio-play';
7
7
  import { AffiliateDetailsDto } from '../../affiliates';
8
8
  import { RaffleDetailsDto } from '../../raffle-details';
9
+ import { PayLinkCreationSource } from '../entities/CreatePaylinkSourse.enum';
9
10
  export declare class CreatePaylinkWithApiDto extends CreatePaymentRequestWithApiDto {
10
11
  features: CreateLinkFeaturesDto;
11
12
  splitWallets?: SplitWalletDto[];
@@ -18,4 +19,5 @@ export declare class CreatePaylinkWithApiDto extends CreatePaymentRequestWithApi
18
19
  raffleDetails?: RaffleDetailsDto;
19
20
  redirectUrl?: string;
20
21
  airdropDetailsId?: string;
22
+ creationSource?: PayLinkCreationSource;
21
23
  }
@@ -20,6 +20,7 @@ const constants_1 = require("../../../constants");
20
20
  const helio_play_1 = require("../../helio-play");
21
21
  const affiliates_1 = require("../../affiliates");
22
22
  const raffle_details_1 = require("../../raffle-details");
23
+ const CreatePaylinkSourse_enum_1 = require("../entities/CreatePaylinkSourse.enum");
23
24
  class CreatePaylinkWithApiDto extends payment_request_1.CreatePaymentRequestWithApiDto {
24
25
  }
25
26
  __decorate([
@@ -82,5 +83,10 @@ __decorate([
82
83
  (0, class_validator_1.IsMongoId)(),
83
84
  __metadata("design:type", String)
84
85
  ], CreatePaylinkWithApiDto.prototype, "airdropDetailsId", void 0);
86
+ __decorate([
87
+ (0, class_validator_1.IsString)(),
88
+ (0, class_validator_1.IsOptional)(),
89
+ __metadata("design:type", String)
90
+ ], CreatePaylinkWithApiDto.prototype, "creationSource", void 0);
85
91
  exports.CreatePaylinkWithApiDto = CreatePaylinkWithApiDto;
86
92
  //# sourceMappingURL=createPaylinkWithApi.dto.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"createPaylinkWithApi.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/paylink/dtos/createPaylinkWithApi.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAQyB;AACzB,yDAAyC;AACzC,2DAAuE;AACvE,uDAA4D;AAC5D,uDAAqD;AACrD,yDAAuD;AACvD,kDAAmD;AACnD,iDAA0D;AAC1D,iDAAuD;AACvD,yDAAwD;AAExD,MAAa,uBAAwB,SAAQ,gDAA8B;CAiD1E;AAhDC;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,qCAAqB,CAAC;IACjC,IAAA,gCAAc,GAAE;8BACP,qCAAqB;yDAAC;AAEhC;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,8BAAc,CAAC;IAC1B,IAAA,4BAAU,GAAE;;6DACmB;AAEhC;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,gCAAe,CAAC;IAC3B,IAAA,4BAAU,GAAE;;8DACqB;AAElC;IAAC,IAAA,wBAAM,EAAC,yBAAa,CAAC;IACrB,IAAA,4BAAU,GAAE;;8DACiB;AAE9B;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;4DACU;AAErB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;4DACQ;AAErB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,mCAAsB,CAAC;IAClC,IAAA,gCAAc,GAAE;8BACK,mCAAsB;oEAAC;AAE7C;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,gCAAmB,CAAC;IAC/B,IAAA,gCAAc,GAAE;8BACE,gCAAmB;iEAAC;AAEvC;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,iCAAgB,CAAC;IAC5B,IAAA,4BAAU,GAAE;IACZ,IAAA,gCAAc,GAAE;8BACD,iCAAgB;8DAAC;AAEjC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;4DACQ;AAErB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;;iEACc;AAhD5B,0DAiDC"}
1
+ {"version":3,"file":"createPaylinkWithApi.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/paylink/dtos/createPaylinkWithApi.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAQyB;AACzB,yDAAyC;AACzC,2DAAuE;AACvE,uDAA4D;AAC5D,uDAAqD;AACrD,yDAAuD;AACvD,kDAAmD;AACnD,iDAA0D;AAC1D,iDAAuD;AACvD,yDAAwD;AACxD,mFAA6E;AAE7E,MAAa,uBAAwB,SAAQ,gDAA8B;CAqD1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inkCreationSource {
2
+ PRIVATE = "PRIVATE_API",
3
+ PUBLIC = "PUBLIC_API"
4
+ }
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PayLinkCreationSource = void 0;
4
+ var PayLinkCreationSource;
5
+ (function (PayLinkCreationSource) {
6
+ PayLinkCreationSource["PRIVATE"] = "PRIVATE_API";
7
+ PayLinkCreationSource["PUBLIC"] = "PUBLIC_API";
8
+ })(PayLinkCreationSource = exports.PayLinkCreationSource || (exports.PayLinkCreationSource = {}));
9
+ //# sourceMappingURL=CreatePaylinkSourse.enum.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreatePaylinkSourse.enum.js","sourceRoot":"","sources":["../../../../../../src/domain/model/paylink/entities/CreatePaylinkSourse.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,qBAGX;AAHD,WAAY,qBAAqB;IAC/B,gDAAuB,CAAA;IACvB,8CAAqB,CAAA;AACvB,CAAC,EAHW,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAGhC"}
@@ -1,9 +1,10 @@
1
- export * from './Paylink';
2
1
  export * from './BasePaylink';
3
- export * from './ShallowEnrichedPaylink.entity';
4
- export * from './OnlyContentPaylink';
5
- export * from './PaylinkStats';
2
+ export * from './CreatePaylinkSourse.enum';
3
+ export * from './Integration.enum';
6
4
  export * from './OnlyContentAndSwapTransactionPaylink.entity';
7
5
  export * from './OnlyContentAndTransactionPaylink.entity';
8
- export * from './Integration.enum';
6
+ export * from './OnlyContentPaylink';
7
+ export * from './Paylink';
8
+ export * from './PaylinkStats';
9
+ export * from './ShallowEnrichedPaylink.entity';
9
10
  export * from './ShopifyMerchentPaylink.entity';
@@ -14,13 +14,14 @@ 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("./Paylink"), exports);
18
17
  __exportStar(require("./BasePaylink"), exports);
19
- __exportStar(require("./ShallowEnrichedPaylink.entity"), exports);
20
- __exportStar(require("./OnlyContentPaylink"), exports);
21
- __exportStar(require("./PaylinkStats"), exports);
18
+ __exportStar(require("./CreatePaylinkSourse.enum"), exports);
19
+ __exportStar(require("./Integration.enum"), exports);
22
20
  __exportStar(require("./OnlyContentAndSwapTransactionPaylink.entity"), exports);
23
21
  __exportStar(require("./OnlyContentAndTransactionPaylink.entity"), exports);
24
- __exportStar(require("./Integration.enum"), exports);
22
+ __exportStar(require("./OnlyContentPaylink"), exports);
23
+ __exportStar(require("./Paylink"), exports);
24
+ __exportStar(require("./PaylinkStats"), exports);
25
+ __exportStar(require("./ShallowEnrichedPaylink.entity"), exports);
25
26
  __exportStar(require("./ShopifyMerchentPaylink.entity"), exports);
26
27
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/paylink/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAA0B;AAC1B,gDAA8B;AAC9B,kEAAgD;AAChD,uDAAqC;AACrC,iDAA+B;AAC/B,gFAA8D;AAC9D,4EAA0D;AAC1D,qDAAmC;AACnC,kEAAgD"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/paylink/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA8B;AAC9B,6DAA2C;AAC3C,qDAAmC;AACnC,gFAA8D;AAC9D,4EAA0D;AAC1D,uDAAqC;AACrC,4CAA0B;AAC1B,iDAA+B;AAC/B,kEAAgD;AAChD,kEAAgD"}
@@ -64,7 +64,6 @@ export declare enum UserGroupPermission {
64
64
  BLINK_WRITE = "BLINK_WRITE",
65
65
  BLINK_READ = "BLINK_READ",
66
66
  BLINK_CREATE = "BLINK_CREATE",
67
- BLINK_CREATE_MAIN = "BLINK_CREATE_MAIN",
68
67
  BLINK_TX_ADMIN = "BLINK_TX_ADMIN",
69
68
  BLINK_TX_READ = "BLINK_TX_READ"
70
69
  }
@@ -68,7 +68,6 @@ var UserGroupPermission;
68
68
  UserGroupPermission["BLINK_WRITE"] = "BLINK_WRITE";
69
69
  UserGroupPermission["BLINK_READ"] = "BLINK_READ";
70
70
  UserGroupPermission["BLINK_CREATE"] = "BLINK_CREATE";
71
- UserGroupPermission["BLINK_CREATE_MAIN"] = "BLINK_CREATE_MAIN";
72
71
  UserGroupPermission["BLINK_TX_ADMIN"] = "BLINK_TX_ADMIN";
73
72
  UserGroupPermission["BLINK_TX_READ"] = "BLINK_TX_READ";
74
73
  })(UserGroupPermission = exports.UserGroupPermission || (exports.UserGroupPermission = {}));
@@ -1 +1 @@
1
- {"version":3,"file":"UserGroupPermissions.js","sourceRoot":"","sources":["../../../../../../src/domain/model/userGroups/entities/UserGroupPermissions.ts"],"names":[],"mappings":";;;AAAA,IAAY,mBAqEX;AArED,WAAY,mBAAmB;IAC7B,sCAAe,CAAA;IACf,sCAAe,CAAA;IACf,oCAAa,CAAA;IACb,sDAA+B,CAAA;IAC/B,sDAA+B,CAAA;IAC/B,oDAA6B,CAAA;IAC7B,wDAAiC,CAAA;IACjC,kEAA2C,CAAA;IAC3C,wDAAiC,CAAA;IACjC,kEAA2C,CAAA;IAC3C,oFAA6D,CAAA;IAC7D,oFAA6D,CAAA;IAC7D,8EAAuD,CAAA;IACvD,0DAAmC,CAAA;IACnC,kEAA2C,CAAA;IAC3C,8DAAuC,CAAA;IACvC,8DAAuC,CAAA;IACvC,0DAAmC,CAAA;IACnC,0DAAmC,CAAA;IACnC,wDAAiC,CAAA;IACjC,4DAAqC,CAAA;IACrC,sEAA+C,CAAA;IAC/C,4DAAqC,CAAA;IACrC,sEAA+C,CAAA;IAC/C,wFAAiE,CAAA;IACjE,wFAAiE,CAAA;IACjE,kFAA2D,CAAA;IAC3D,8DAAuC,CAAA;IACvC,sEAA+C,CAAA;IAC/C,kEAA2C,CAAA;IAC3C,sDAA+B,CAAA;IAC/B,sDAA+B,CAAA;IAC/B,oDAA6B,CAAA;IAC7B,oEAA6C,CAAA;IAC7C,wDAAiC,CAAA;IACjC,sDAA+B,CAAA;IAC/B,sDAA+B,CAAA;IAC/B,wDAAiC,CAAA;IACjC,wDAAiC,CAAA;IACjC,sEAA+C,CAAA;IAC/C,sEAA+C,CAAA;IAC/C,oEAA6C,CAAA;IAC7C,wEAAiD,CAAA;IACjD,wEAAiD,CAAA;IACjD,8DAAuC,CAAA;IACvC,4DAAqC,CAAA;IACrC,oEAA6C,CAAA;IAC7C,kEAA2C,CAAA;IAC3C,oEAA6C,CAAA;IAC7C,oEAA6C,CAAA;IAC7C,oEAA6C,CAAA;IAC7C,kEAA2C,CAAA;IAC3C,sEAA+C,CAAA;IAC/C,sEAA+C,CAAA;IAC/C,sEAA+C,CAAA;IAC/C,sEAA+C,CAAA;IAC/C,oEAA6C,CAAA;IAC7C,8EAAuD,CAAA;IACvD,kGAA2E,CAAA;IAC3E,wEAAiD,CAAA;IACjD,wEAAiD,CAAA;IACjD,kDAA2B,CAAA;IAC3B,kDAA2B,CAAA;IAC3B,gDAAyB,CAAA;IACzB,oDAA6B,CAAA;IAC7B,8DAAuC,CAAA;IACvC,wDAAiC,CAAA;IACjC,sDAA+B,CAAA;AACjC,CAAC,EArEW,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAqE9B"}
1
+ {"version":3,"file":"UserGroupPermissions.js","sourceRoot":"","sources":["../../../../../../src/domain/model/userGroups/entities/UserGroupPermissions.ts"],"names":[],"mappings":";;;AAAA,IAAY,mBAoEX;AApED,WAAY,mBAAmB;IAC7B,sCAAe,CAAA;IACf,sCAAe,CAAA;IACf,oCAAa,CAAA;IACb,sDAA+B,CAAA;IAC/B,sDAA+B,CAAA;IAC/B,oDAA6B,CAAA;IAC7B,wDAAiC,CAAA;IACjC,kEAA2C,CAAA;IAC3C,wDAAiC,CAAA;IACjC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,EApEW,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAoE9B"}
@@ -0,0 +1,6 @@
1
+ import { BlinkTransactionEvent } from '../entities';
2
+ export declare class CreateBlinkTransactionHookDto {
3
+ blinkId: string;
4
+ targetUrl: string;
5
+ events?: BlinkTransactionEvent[];
6
+ }
@@ -0,0 +1,33 @@
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.CreateBlinkTransactionHookDto = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ const entities_1 = require("../entities");
15
+ class CreateBlinkTransactionHookDto {
16
+ }
17
+ __decorate([
18
+ (0, class_validator_1.IsString)(),
19
+ (0, class_validator_1.IsNotEmpty)(),
20
+ __metadata("design:type", String)
21
+ ], CreateBlinkTransactionHookDto.prototype, "blinkId", void 0);
22
+ __decorate([
23
+ (0, class_validator_1.IsUrl)(),
24
+ (0, class_validator_1.IsNotEmpty)(),
25
+ __metadata("design:type", String)
26
+ ], CreateBlinkTransactionHookDto.prototype, "targetUrl", void 0);
27
+ __decorate([
28
+ (0, class_validator_1.IsOptional)(),
29
+ (0, class_validator_1.IsEnum)(entities_1.BlinkTransactionEvent, { each: true }),
30
+ __metadata("design:type", Array)
31
+ ], CreateBlinkTransactionHookDto.prototype, "events", void 0);
32
+ exports.CreateBlinkTransactionHookDto = CreateBlinkTransactionHookDto;
33
+ //# sourceMappingURL=createBlinkTransactionHook.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createBlinkTransactionHook.dto.js","sourceRoot":"","sources":["../../../../../../../src/domain/model/webhook/blink-transaction-hook/dtos/createBlinkTransactionHook.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAMyB;AACzB,0CAAoD;AAEpD,MAAa,6BAA6B;CAYzC;AAXC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;8DACG;AAEhB;IAAC,IAAA,uBAAK,GAAE;IACP,IAAA,4BAAU,GAAE;;gEACK;AAElB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,gCAAqB,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;6DACb;AAXnC,sEAYC"}
@@ -0,0 +1 @@
1
+ export * from './createBlinkTransactionHook.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("./createBlinkTransactionHook.dto"), exports);
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/domain/model/webhook/blink-transaction-hook/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mEAAiD"}
@@ -0,0 +1,3 @@
1
+ export declare enum BlinkTransactionEvent {
2
+ CREATED = "CREATED"
3
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BlinkTransactionEvent = void 0;
4
+ var BlinkTransactionEvent;
5
+ (function (BlinkTransactionEvent) {
6
+ BlinkTransactionEvent["CREATED"] = "CREATED";
7
+ })(BlinkTransactionEvent = exports.BlinkTransactionEvent || (exports.BlinkTransactionEvent = {}));
8
+ //# sourceMappingURL=BlinkTransactionEvent.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BlinkTransactionEvent.entity.js","sourceRoot":"","sources":["../../../../../../../src/domain/model/webhook/blink-transaction-hook/entities/BlinkTransactionEvent.entity.ts"],"names":[],"mappings":";;;AAAA,IAAY,qBAEX;AAFD,WAAY,qBAAqB;IAC/B,4CAAmB,CAAA;AACrB,CAAC,EAFW,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAEhC"}
@@ -0,0 +1,11 @@
1
+ import { Entity } from '../../../entity';
2
+ import { BlinkTransactionEvent } from './BlinkTransactionEvent.entity';
3
+ export declare class BlinkTransactionHookEntity extends Entity {
4
+ id: string;
5
+ blink: string;
6
+ company: string;
7
+ targetUrl: string;
8
+ events: BlinkTransactionEvent[];
9
+ sharedToken: string;
10
+ creator?: string;
11
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BlinkTransactionHookEntity = void 0;
4
+ const entity_1 = require("../../../entity");
5
+ class BlinkTransactionHookEntity extends entity_1.Entity {
6
+ }
7
+ exports.BlinkTransactionHookEntity = BlinkTransactionHookEntity;
8
+ //# sourceMappingURL=BlinkTransactionHook.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BlinkTransactionHook.entity.js","sourceRoot":"","sources":["../../../../../../../src/domain/model/webhook/blink-transaction-hook/entities/BlinkTransactionHook.entity.ts"],"names":[],"mappings":";;;AAAA,4CAAyC;AAGzC,MAAa,0BAA2B,SAAQ,eAAM;CAcrD;AAdD,gEAcC"}
@@ -0,0 +1,2 @@
1
+ export * from './BlinkTransactionEvent.entity';
2
+ export * from './BlinkTransactionHook.entity';
@@ -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("./BlinkTransactionEvent.entity"), exports);
18
+ __exportStar(require("./BlinkTransactionHook.entity"), exports);
19
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/domain/model/webhook/blink-transaction-hook/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iEAA+C;AAC/C,gEAA8C"}
@@ -0,0 +1,2 @@
1
+ export * from './entities';
2
+ export * from './dtos';