@heliofi/common 0.2.80-alpha.1 → 0.2.82

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 (29) hide show
  1. package/dist/src/domain/constants/{RedirectQueryParams.js → redirectQueryParams.js} +1 -1
  2. package/dist/src/domain/constants/redirectQueryParams.js.map +1 -0
  3. package/dist/src/domain/model/charge/dtos/createChargeWithUsdcAmount.dto.d.ts +4 -0
  4. package/dist/src/domain/model/charge/dtos/createChargeWithUsdcAmount.dto.js +23 -0
  5. package/dist/src/domain/model/charge/dtos/createChargeWithUsdcAmount.dto.js.map +1 -0
  6. package/dist/src/domain/model/subscription-details/dtos/subscriptionDetails.dto.d.ts +1 -0
  7. package/dist/src/domain/model/subscription-details/dtos/subscriptionDetails.dto.js +5 -0
  8. package/dist/src/domain/model/subscription-details/dtos/subscriptionDetails.dto.js.map +1 -1
  9. package/dist/src/domain/model/subscription-details/entities/SubscriptionDetails.entity.d.ts +1 -0
  10. package/dist/src/domain/model/subscription-details/entities/SubscriptionDetails.entity.js.map +1 -1
  11. package/dist/src/domain/model/webhook/paylink/paylink-hook/entities/PaylinkHookEvent.entity.d.ts +2 -1
  12. package/dist/src/domain/model/webhook/paylink/paylink-hook/entities/PaylinkHookEvent.entity.js +2 -0
  13. package/dist/src/domain/model/webhook/paylink/paylink-hook/entities/PaylinkHookEvent.entity.js.map +1 -1
  14. package/dist/src/domain/model/webhook/paylink/paylink-hook-event/dtos/createPaylinkHookEvent.dto.d.ts +10 -0
  15. package/dist/src/domain/model/webhook/paylink/paylink-hook-event/dtos/createPaylinkHookEvent.dto.js +45 -0
  16. package/dist/src/domain/model/webhook/paylink/paylink-hook-event/dtos/createPaylinkHookEvent.dto.js.map +1 -0
  17. package/dist/src/domain/model/webhook/paylink/paylink-hook-event/dtos/index.d.ts +2 -0
  18. package/dist/src/domain/model/webhook/paylink/paylink-hook-event/dtos/index.js +19 -0
  19. package/dist/src/domain/model/webhook/paylink/paylink-hook-event/dtos/index.js.map +1 -0
  20. package/dist/src/domain/model/webhook/paylink/paylink-hook-event/dtos/updatePaylinkHookEvent.dto.d.ts +6 -0
  21. package/dist/src/domain/model/webhook/paylink/paylink-hook-event/dtos/updatePaylinkHookEvent.dto.js +33 -0
  22. package/dist/src/domain/model/webhook/paylink/paylink-hook-event/dtos/updatePaylinkHookEvent.dto.js.map +1 -0
  23. package/dist/tsconfig.tsbuildinfo +1 -1
  24. package/package.json +2 -2
  25. package/dist/src/domain/constants/RedirectQueryParams.js.map +0 -1
  26. package/dist/src/domain/model/webhook/paylink/paylink-hook/entities/HookSecret.entity.d.ts +0 -4
  27. package/dist/src/domain/model/webhook/paylink/paylink-hook/entities/HookSecret.entity.js +0 -8
  28. package/dist/src/domain/model/webhook/paylink/paylink-hook/entities/HookSecret.entity.js.map +0 -1
  29. /package/dist/src/domain/constants/{RedirectQueryParams.d.ts → redirectQueryParams.d.ts} +0 -0
@@ -5,4 +5,4 @@ var RedirectQueryParams;
5
5
  (function (RedirectQueryParams) {
6
6
  RedirectQueryParams["WALLET_ADDRESS"] = "WALLET_ADDRESS";
7
7
  })(RedirectQueryParams = exports.RedirectQueryParams || (exports.RedirectQueryParams = {}));
8
- //# sourceMappingURL=RedirectQueryParams.js.map
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"}
@@ -0,0 +1,4 @@
1
+ import { CreateChargeDto } from "./createCharge.dto";
2
+ export declare class CreateChargeWithUsdcAmountlDto extends CreateChargeDto {
3
+ usdcAmount?: string;
4
+ }
@@ -0,0 +1,23 @@
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.CreateChargeWithUsdcAmountlDto = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ const createCharge_dto_1 = require("./createCharge.dto");
15
+ class CreateChargeWithUsdcAmountlDto extends createCharge_dto_1.CreateChargeDto {
16
+ }
17
+ __decorate([
18
+ (0, class_validator_1.IsString)(),
19
+ (0, class_validator_1.IsOptional)(),
20
+ __metadata("design:type", String)
21
+ ], CreateChargeWithUsdcAmountlDto.prototype, "usdcAmount", void 0);
22
+ exports.CreateChargeWithUsdcAmountlDto = CreateChargeWithUsdcAmountlDto;
23
+ //# sourceMappingURL=createChargeWithUsdcAmount.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createChargeWithUsdcAmount.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/charge/dtos/createChargeWithUsdcAmount.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuD;AACvD,yDAAqD;AAErD,MAAa,8BAA+B,SAAQ,kCAAe;CAIlE;AAHC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;kEACO;AAHtB,wEAIC"}
@@ -4,4 +4,5 @@ export declare class SubscriptionDetailsDto {
4
4
  gracePeriod: number;
5
5
  annualDiscountBps: number;
6
6
  interval: IntervalType;
7
+ isAnonymous?: boolean;
7
8
  }
@@ -34,5 +34,10 @@ __decorate([
34
34
  (0, class_validator_1.IsNotEmpty)(),
35
35
  __metadata("design:type", String)
36
36
  ], SubscriptionDetailsDto.prototype, "interval", void 0);
37
+ __decorate([
38
+ (0, class_validator_1.IsBoolean)(),
39
+ (0, class_validator_1.IsOptional)(),
40
+ __metadata("design:type", Boolean)
41
+ ], SubscriptionDetailsDto.prototype, "isAnonymous", void 0);
37
42
  exports.SubscriptionDetailsDto = SubscriptionDetailsDto;
38
43
  //# sourceMappingURL=subscriptionDetails.dto.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"subscriptionDetails.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/subscription-details/dtos/subscriptionDetails.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA+D;AAC/D,kDAAkD;AAElD,MAAa,sBAAsB;CAgBlC;AAfC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;gEACY;AAEzB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;2DACO;AAEpB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;iEACa;AAE1B;IAAC,IAAA,wBAAM,EAAC,wBAAY,CAAC;IACpB,IAAA,4BAAU,GAAE;;wDACU;AAfzB,wDAgBC"}
1
+ {"version":3,"file":"subscriptionDetails.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/subscription-details/dtos/subscriptionDetails.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAMyB;AACzB,kDAAkD;AAElD,MAAa,sBAAsB;CAoBlC;AAnBC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;gEACY;AAEzB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;2DACO;AAEpB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;iEACa;AAE1B;IAAC,IAAA,wBAAM,EAAC,wBAAY,CAAC;IACpB,IAAA,4BAAU,GAAE;;wDACU;AAEvB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;2DACS;AAnBxB,wDAoBC"}
@@ -4,4 +4,5 @@ export declare class SubscriptionDetails {
4
4
  gracePeriod: number;
5
5
  annualDiscountBps: number;
6
6
  interval: IntervalType;
7
+ isAnonymous?: boolean;
7
8
  }
@@ -1 +1 @@
1
- {"version":3,"file":"SubscriptionDetails.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/subscription-details/entities/SubscriptionDetails.entity.ts"],"names":[],"mappings":";;;AAEA,MAAa,mBAAmB;CAQ/B;AARD,kDAQC"}
1
+ {"version":3,"file":"SubscriptionDetails.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/subscription-details/entities/SubscriptionDetails.entity.ts"],"names":[],"mappings":";;;AAEA,MAAa,mBAAmB;CAU/B;AAVD,kDAUC"}
@@ -5,7 +5,8 @@ export declare enum PaylinkHookEvent {
5
5
  SUBSCRIPTION_ALL = "SUBSCRIPTION_ALL",
6
6
  SUBSCRIPTION_STARTED = "SUBSCRIPTION_STARTED",
7
7
  SUBSCRIPTION_RENEWED = "SUBSCRIPTION_RENEWED",
8
- SUBSCRIPTION_ENDED = "SUBSCRIPTION_ENDED"
8
+ SUBSCRIPTION_ENDED = "SUBSCRIPTION_ENDED",
9
+ SUBSCRIPTION_PENDING_PAYMENT = "SUBSCRIPTION_PENDING_PAYMENT"
9
10
  }
10
11
  export declare const subscriptionGlobalEvents: PaylinkHookEvent[];
11
12
  export declare const subscriptionSpecificEvents: PaylinkHookEvent[];
@@ -10,6 +10,7 @@ var PaylinkHookEvent;
10
10
  PaylinkHookEvent["SUBSCRIPTION_STARTED"] = "SUBSCRIPTION_STARTED";
11
11
  PaylinkHookEvent["SUBSCRIPTION_RENEWED"] = "SUBSCRIPTION_RENEWED";
12
12
  PaylinkHookEvent["SUBSCRIPTION_ENDED"] = "SUBSCRIPTION_ENDED";
13
+ PaylinkHookEvent["SUBSCRIPTION_PENDING_PAYMENT"] = "SUBSCRIPTION_PENDING_PAYMENT";
13
14
  })(PaylinkHookEvent = exports.PaylinkHookEvent || (exports.PaylinkHookEvent = {}));
14
15
  exports.subscriptionGlobalEvents = [
15
16
  PaylinkHookEvent.ALL,
@@ -19,6 +20,7 @@ exports.subscriptionSpecificEvents = [
19
20
  PaylinkHookEvent.SUBSCRIPTION_STARTED,
20
21
  PaylinkHookEvent.SUBSCRIPTION_RENEWED,
21
22
  PaylinkHookEvent.SUBSCRIPTION_ENDED,
23
+ PaylinkHookEvent.SUBSCRIPTION_PENDING_PAYMENT,
22
24
  ];
23
25
  exports.subscriptionEvents = [
24
26
  ...exports.subscriptionGlobalEvents,
@@ -1 +1 @@
1
- {"version":3,"file":"PaylinkHookEvent.entity.js","sourceRoot":"","sources":["../../../../../../../../src/domain/model/webhook/paylink/paylink-hook/entities/PaylinkHookEvent.entity.ts"],"names":[],"mappings":";;;AACA,IAAY,gBAQX;AARD,WAAY,gBAAgB;IAC1B,+BAAW,CAAA;IACX,+CAA2B,CAAA;IAC3B,+DAA2C,CAAA;IAC3C,yDAAqC,CAAA;IACrC,iEAA6C,CAAA;IAC7C,iEAA6C,CAAA;IAC7C,6DAAyC,CAAA;AAC3C,CAAC,EARW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAQ3B;AAEY,QAAA,wBAAwB,GAAG;IACtC,gBAAgB,CAAC,GAAG;IACpB,gBAAgB,CAAC,gBAAgB;CAClC,CAAC;AACW,QAAA,0BAA0B,GAAG;IACxC,gBAAgB,CAAC,oBAAoB;IACrC,gBAAgB,CAAC,oBAAoB;IACrC,gBAAgB,CAAC,kBAAkB;CACpC,CAAC;AACW,QAAA,kBAAkB,GAAG;IAChC,GAAG,gCAAwB;IAC3B,GAAG,kCAA0B;CAC9B,CAAC;AAEW,QAAA,uBAAuB,GAAG;IACrC,gBAAgB,CAAC,GAAG;IACpB,gBAAgB,CAAC,WAAW;CAC7B,CAAC;AACW,QAAA,yBAAyB,GAAG,CAAC,gBAAgB,CAAC,mBAAmB,CAAC,CAAC;AACnE,QAAA,iBAAiB,GAAG;IAC/B,GAAG,+BAAuB;IAC1B,GAAG,iCAAyB;CAC7B,CAAC"}
1
+ {"version":3,"file":"PaylinkHookEvent.entity.js","sourceRoot":"","sources":["../../../../../../../../src/domain/model/webhook/paylink/paylink-hook/entities/PaylinkHookEvent.entity.ts"],"names":[],"mappings":";;;AACA,IAAY,gBASX;AATD,WAAY,gBAAgB;IAC1B,+BAAW,CAAA;IACX,+CAA2B,CAAA;IAC3B,+DAA2C,CAAA;IAC3C,yDAAqC,CAAA;IACrC,iEAA6C,CAAA;IAC7C,iEAA6C,CAAA;IAC7C,6DAAyC,CAAA;IACzC,iFAA6D,CAAA;AAC/D,CAAC,EATW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAS3B;AAEY,QAAA,wBAAwB,GAAG;IACtC,gBAAgB,CAAC,GAAG;IACpB,gBAAgB,CAAC,gBAAgB;CAClC,CAAC;AACW,QAAA,0BAA0B,GAAG;IACxC,gBAAgB,CAAC,oBAAoB;IACrC,gBAAgB,CAAC,oBAAoB;IACrC,gBAAgB,CAAC,kBAAkB;IACnC,gBAAgB,CAAC,4BAA4B;CAC9C,CAAC;AACW,QAAA,kBAAkB,GAAG;IAChC,GAAG,gCAAwB;IAC3B,GAAG,kCAA0B;CAC9B,CAAC;AAEW,QAAA,uBAAuB,GAAG;IACrC,gBAAgB,CAAC,GAAG;IACpB,gBAAgB,CAAC,WAAW;CAC7B,CAAC;AACW,QAAA,yBAAyB,GAAG,CAAC,gBAAgB,CAAC,mBAAmB,CAAC,CAAC;AACnE,QAAA,iBAAiB,GAAG;IAC/B,GAAG,+BAAuB;IAC1B,GAAG,iCAAyB;CAC7B,CAAC"}
@@ -0,0 +1,10 @@
1
+ import { PaylinkHookEvent } from '../../paylink-hook/entities';
2
+ import { PaylinkHookEventStatus } from '../entities';
3
+ export declare class CreatePaylinkHookEventDto {
4
+ companyId: string;
5
+ paylinkHookId: string;
6
+ paylinkId: string;
7
+ event: PaylinkHookEvent;
8
+ status?: PaylinkHookEventStatus;
9
+ payload?: string;
10
+ }
@@ -0,0 +1,45 @@
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.CreatePaylinkHookEventDto = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ const entities_1 = require("../../paylink-hook/entities");
15
+ const entities_2 = require("../entities");
16
+ class CreatePaylinkHookEventDto {
17
+ }
18
+ __decorate([
19
+ (0, class_validator_1.IsMongoId)(),
20
+ __metadata("design:type", String)
21
+ ], CreatePaylinkHookEventDto.prototype, "companyId", void 0);
22
+ __decorate([
23
+ (0, class_validator_1.IsMongoId)(),
24
+ __metadata("design:type", String)
25
+ ], CreatePaylinkHookEventDto.prototype, "paylinkHookId", void 0);
26
+ __decorate([
27
+ (0, class_validator_1.IsMongoId)(),
28
+ __metadata("design:type", String)
29
+ ], CreatePaylinkHookEventDto.prototype, "paylinkId", void 0);
30
+ __decorate([
31
+ (0, class_validator_1.IsEnum)(entities_1.PaylinkHookEvent),
32
+ __metadata("design:type", String)
33
+ ], CreatePaylinkHookEventDto.prototype, "event", void 0);
34
+ __decorate([
35
+ (0, class_validator_1.IsEnum)(entities_2.PaylinkHookEventStatus),
36
+ (0, class_validator_1.IsOptional)(),
37
+ __metadata("design:type", String)
38
+ ], CreatePaylinkHookEventDto.prototype, "status", void 0);
39
+ __decorate([
40
+ (0, class_validator_1.IsString)(),
41
+ (0, class_validator_1.IsOptional)(),
42
+ __metadata("design:type", String)
43
+ ], CreatePaylinkHookEventDto.prototype, "payload", void 0);
44
+ exports.CreatePaylinkHookEventDto = CreatePaylinkHookEventDto;
45
+ //# sourceMappingURL=createPaylinkHookEvent.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createPaylinkHookEvent.dto.js","sourceRoot":"","sources":["../../../../../../../../src/domain/model/webhook/paylink/paylink-hook-event/dtos/createPaylinkHookEvent.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA0E;AAC1E,0DAA+D;AAC/D,0CAAqD;AAErD,MAAa,yBAAyB;CAoBrC;AAnBC;IAAC,IAAA,2BAAS,GAAE;;4DACM;AAElB;IAAC,IAAA,2BAAS,GAAE;;gEACU;AAEtB;IAAC,IAAA,2BAAS,GAAE;;4DACM;AAElB;IAAC,IAAA,wBAAM,EAAC,2BAAgB,CAAC;;wDACD;AAExB;IAAC,IAAA,wBAAM,EAAC,iCAAsB,CAAC;IAC9B,IAAA,4BAAU,GAAE;;yDACmB;AAEhC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;0DACI;AAnBnB,8DAoBC"}
@@ -0,0 +1,2 @@
1
+ export * from './createPaylinkHookEvent.dto';
2
+ export * from './updatePaylinkHookEvent.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("./createPaylinkHookEvent.dto"), exports);
18
+ __exportStar(require("./updatePaylinkHookEvent.dto"), exports);
19
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../src/domain/model/webhook/paylink/paylink-hook-event/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+DAA6C;AAC7C,+DAA6C"}
@@ -0,0 +1,6 @@
1
+ import { PaylinkHookEventStatus } from '../entities';
2
+ export declare class UpdatePaylinkHookEventDto {
3
+ status: PaylinkHookEventStatus;
4
+ attempsLeft?: number;
5
+ error?: string;
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.UpdatePaylinkHookEventDto = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ const entities_1 = require("../entities");
15
+ class UpdatePaylinkHookEventDto {
16
+ }
17
+ __decorate([
18
+ (0, class_validator_1.IsEnum)(entities_1.PaylinkHookEventStatus),
19
+ (0, class_validator_1.IsOptional)(),
20
+ __metadata("design:type", String)
21
+ ], UpdatePaylinkHookEventDto.prototype, "status", void 0);
22
+ __decorate([
23
+ (0, class_validator_1.IsNumber)(),
24
+ (0, class_validator_1.IsOptional)(),
25
+ __metadata("design:type", Number)
26
+ ], UpdatePaylinkHookEventDto.prototype, "attempsLeft", void 0);
27
+ __decorate([
28
+ (0, class_validator_1.IsString)(),
29
+ (0, class_validator_1.IsOptional)(),
30
+ __metadata("design:type", String)
31
+ ], UpdatePaylinkHookEventDto.prototype, "error", void 0);
32
+ exports.UpdatePaylinkHookEventDto = UpdatePaylinkHookEventDto;
33
+ //# sourceMappingURL=updatePaylinkHookEvent.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"updatePaylinkHookEvent.dto.js","sourceRoot":"","sources":["../../../../../../../../src/domain/model/webhook/paylink/paylink-hook-event/dtos/updatePaylinkHookEvent.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAyE;AACzE,0CAAqD;AAErD,MAAa,yBAAyB;CAYrC;AAXC;IAAC,IAAA,wBAAM,EAAC,iCAAsB,CAAC;IAC9B,IAAA,4BAAU,GAAE;;yDACkB;AAE/B;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;8DACQ;AAErB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;wDACE;AAXjB,8DAYC"}