@heliofi/common 0.1.640 → 0.1.642

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 (94) hide show
  1. package/dist/src/domain/model/allowlist/entities/InvalidAllowlistWallets.entity.d.ts +4 -0
  2. package/dist/src/domain/model/allowlist/entities/InvalidAllowlistWallets.entity.js +7 -0
  3. package/dist/src/domain/model/allowlist/entities/InvalidAllowlistWallets.entity.js.map +1 -0
  4. package/dist/src/domain/model/apiKey/dtos/createApiKey.dto.js.map +1 -1
  5. package/dist/src/domain/model/apiKey/dtos/index.d.ts +0 -2
  6. package/dist/src/domain/model/apiKey/dtos/index.js +0 -2
  7. package/dist/src/domain/model/apiKey/dtos/index.js.map +1 -1
  8. package/dist/src/domain/model/apiKey/entities/ApiKey.entity.d.ts +1 -5
  9. package/dist/src/domain/model/apiKey/entities/ApiKey.entity.js.map +1 -1
  10. package/dist/src/domain/model/auth/dtos/generateTwitterRefreshToken.dto.d.ts +8 -0
  11. package/dist/src/domain/model/auth/dtos/generateTwitterRefreshToken.dto.js +43 -0
  12. package/dist/src/domain/model/auth/dtos/generateTwitterRefreshToken.dto.js.map +1 -0
  13. package/dist/src/domain/model/blink/dtos/createBlink.dto.d.ts +1 -2
  14. package/dist/src/domain/model/blink/dtos/createBlink.dto.js +1 -7
  15. package/dist/src/domain/model/blink/dtos/createBlink.dto.js.map +1 -1
  16. package/dist/src/domain/model/blink/dtos/createBlinkFeatures.dto.d.ts +0 -1
  17. package/dist/src/domain/model/blink/dtos/createBlinkFeatures.dto.js +0 -5
  18. package/dist/src/domain/model/blink/dtos/createBlinkFeatures.dto.js.map +1 -1
  19. package/dist/src/domain/model/blink/dtos/index.d.ts +1 -0
  20. package/dist/src/domain/model/blink/dtos/index.js +1 -0
  21. package/dist/src/domain/model/blink/dtos/index.js.map +1 -1
  22. package/dist/src/domain/model/blink/dtos/updateBlink.dto.d.ts +17 -0
  23. package/dist/src/domain/model/blink/dtos/updateBlink.dto.js +83 -0
  24. package/dist/src/domain/model/blink/dtos/updateBlink.dto.js.map +1 -0
  25. package/dist/src/domain/model/blink/entities/Blink.entity.d.ts +0 -1
  26. package/dist/src/domain/model/blink/entities/Blink.entity.js.map +1 -1
  27. package/dist/src/domain/model/blink/entities/BlinkFeatures.entity.d.ts +0 -1
  28. package/dist/src/domain/model/blink/entities/BlinkFeatures.entity.js.map +1 -1
  29. package/dist/src/domain/model/blink/entities/CreateBlinkResponse.entity.d.ts +3 -0
  30. package/dist/src/domain/model/blink/entities/CreateBlinkResponse.entity.js +7 -0
  31. package/dist/src/domain/model/blink/entities/CreateBlinkResponse.entity.js.map +1 -0
  32. package/dist/src/domain/model/blink/entities/ShallowEnrichedBlink.entity.d.ts +1 -2
  33. package/dist/src/domain/model/blink/entities/ShallowEnrichedBlink.entity.js.map +1 -1
  34. package/dist/src/domain/model/discount-codes/entities/DiscountCodePublicAccess.entity.d.ts +8 -0
  35. package/dist/src/domain/model/discount-codes/entities/DiscountCodePublicAccess.entity.js +8 -0
  36. package/dist/src/domain/model/discount-codes/entities/DiscountCodePublicAccess.entity.js.map +1 -0
  37. package/dist/src/domain/model/fee/dtos/index.d.ts +0 -1
  38. package/dist/src/domain/model/fee/dtos/index.js +0 -1
  39. package/dist/src/domain/model/fee/dtos/index.js.map +1 -1
  40. package/dist/src/domain/model/raffle-details/dtos/createRaffleDetails.dto.d.ts +7 -0
  41. package/dist/src/domain/model/raffle-details/dtos/createRaffleDetails.dto.js +44 -0
  42. package/dist/src/domain/model/raffle-details/dtos/createRaffleDetails.dto.js.map +1 -0
  43. package/dist/src/domain/model/raffle-details/dtos/updateRaffleDetails.dto.d.ts +6 -0
  44. package/dist/src/domain/model/raffle-details/dtos/updateRaffleDetails.dto.js +37 -0
  45. package/dist/src/domain/model/raffle-details/dtos/updateRaffleDetails.dto.js.map +1 -0
  46. package/dist/src/domain/model/role/dtos/createRole.dto.d.ts +6 -0
  47. package/dist/src/domain/model/role/dtos/createRole.dto.js +33 -0
  48. package/dist/src/domain/model/role/dtos/createRole.dto.js.map +1 -0
  49. package/dist/src/domain/model/role/dtos/index.d.ts +2 -0
  50. package/dist/src/domain/model/role/dtos/index.js +19 -0
  51. package/dist/src/domain/model/role/dtos/index.js.map +1 -0
  52. package/dist/src/domain/model/role/dtos/updateRole.dto.d.ts +4 -0
  53. package/dist/src/domain/model/role/dtos/updateRole.dto.js +23 -0
  54. package/dist/src/domain/model/role/dtos/updateRole.dto.js.map +1 -0
  55. package/dist/src/domain/model/shopify-gdpr/dtos/Customer.dto.d.ts +5 -0
  56. package/dist/src/domain/model/{attachment/dtos/createMultipleAttachments.dto.js → shopify-gdpr/dtos/Customer.dto.js} +13 -16
  57. package/dist/src/domain/model/shopify-gdpr/dtos/Customer.dto.js.map +1 -0
  58. package/dist/src/domain/model/shopify-gdpr/dtos/CustomerDataRequest.dto.d.ts +9 -0
  59. package/dist/src/domain/model/shopify-gdpr/dtos/CustomerDataRequest.dto.js +45 -0
  60. package/dist/src/domain/model/shopify-gdpr/dtos/CustomerDataRequest.dto.js.map +1 -0
  61. package/dist/src/domain/model/shopify-gdpr/dtos/CustomerRedactRequest.dto.d.ts +7 -0
  62. package/dist/src/domain/model/shopify-gdpr/dtos/CustomerRedactRequest.dto.js +39 -0
  63. package/dist/src/domain/model/shopify-gdpr/dtos/CustomerRedactRequest.dto.js.map +1 -0
  64. package/dist/src/domain/model/shopify-gdpr/dtos/DataRequest.dto.d.ts +3 -0
  65. package/dist/src/domain/model/shopify-gdpr/dtos/DataRequest.dto.js +22 -0
  66. package/dist/src/domain/model/shopify-gdpr/dtos/DataRequest.dto.js.map +1 -0
  67. package/dist/src/domain/model/shopify-gdpr/dtos/ShopRedactRequest.dto.d.ts +4 -0
  68. package/dist/src/domain/model/{theme/dtos/BannerTheme.dto.js → shopify-gdpr/dtos/ShopRedactRequest.dto.js} +9 -11
  69. package/dist/src/domain/model/shopify-gdpr/dtos/ShopRedactRequest.dto.js.map +1 -0
  70. package/dist/src/domain/model/shopify-gdpr/dtos/index.d.ts +5 -0
  71. package/dist/src/domain/model/shopify-gdpr/dtos/index.js +22 -0
  72. package/dist/src/domain/model/shopify-gdpr/dtos/index.js.map +1 -0
  73. package/dist/src/domain/model/shopify-gdpr/index.d.ts +1 -0
  74. package/dist/src/domain/model/shopify-gdpr/index.js +18 -0
  75. package/dist/src/domain/model/shopify-gdpr/index.js.map +1 -0
  76. package/dist/src/domain/services/BaseExplorerService.d.ts +5 -0
  77. package/dist/src/domain/services/BaseExplorerService.js +16 -0
  78. package/dist/src/domain/services/BaseExplorerService.js.map +1 -0
  79. package/dist/tsconfig.tsbuildinfo +1 -1
  80. package/package.json +2 -2
  81. package/yarn-error.log +18384 -0
  82. package/dist/src/domain/model/attachment/dtos/createMultipleAttachments.dto.d.ts +0 -6
  83. package/dist/src/domain/model/attachment/dtos/createMultipleAttachments.dto.js.map +0 -1
  84. package/dist/src/domain/model/theme/Theme.enum.d.ts +0 -8
  85. package/dist/src/domain/model/theme/Theme.enum.js +0 -14
  86. package/dist/src/domain/model/theme/Theme.enum.js.map +0 -1
  87. package/dist/src/domain/model/theme/dtos/BannerTheme.dto.d.ts +0 -4
  88. package/dist/src/domain/model/theme/dtos/BannerTheme.dto.js.map +0 -1
  89. package/dist/src/domain/model/theme/entities/BannerTheme.entity.d.ts +0 -4
  90. package/dist/src/domain/model/theme/entities/BannerTheme.entity.js +0 -7
  91. package/dist/src/domain/model/theme/entities/BannerTheme.entity.js.map +0 -1
  92. package/dist/src/domain/model/webhook/blink-transaction-hook/entities/BlinkTransactionHook.entity.ts.d.ts +0 -11
  93. package/dist/src/domain/model/webhook/blink-transaction-hook/entities/BlinkTransactionHook.entity.ts.js +0 -8
  94. package/dist/src/domain/model/webhook/blink-transaction-hook/entities/BlinkTransactionHook.entity.ts.js.map +0 -1
@@ -0,0 +1,4 @@
1
+ export declare class InvalidAllowlistWallets {
2
+ wallet: string;
3
+ row: number;
4
+ }
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.InvalidAllowlistWallets = void 0;
4
+ class InvalidAllowlistWallets {
5
+ }
6
+ exports.InvalidAllowlistWallets = InvalidAllowlistWallets;
7
+ //# sourceMappingURL=InvalidAllowlistWallets.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InvalidAllowlistWallets.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/allowlist/entities/InvalidAllowlistWallets.entity.ts"],"names":[],"mappings":";;;AAAA,MAAa,uBAAuB;CAInC;AAJD,0DAIC"}
@@ -1 +1 @@
1
- {"version":3,"file":"createApiKey.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/apiKey/dtos/createApiKey.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA+D;AAE/D,MAAa,eAAe;CAQ3B;AAPC;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;kDACQ;AAEnB;IAAC,IAAA,wBAAM,GAAE;IACR,IAAA,4BAAU,GAAE;8BACA,IAAI;mDAAC;AAPpB,0CAQC"}
1
+ {"version":3,"file":"createApiKey.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/apiKey/dtos/createApiKey.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA+D;AAE/D,MAAa,eAAe;CAU3B;AAPC;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;kDACQ;AAEnB;IAAC,IAAA,wBAAM,GAAE;IACR,IAAA,4BAAU,GAAE;8BACA,IAAI;mDAAC;AATpB,0CAUC"}
@@ -1,3 +1 @@
1
- export * from './createApiKeyDtoInternal';
2
1
  export * from './createApiKey.dto';
3
- export * from './updateApiKey.dto';
@@ -14,7 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./createApiKeyDtoInternal"), exports);
18
17
  __exportStar(require("./createApiKey.dto"), exports);
19
- __exportStar(require("./updateApiKey.dto"), exports);
20
18
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/apiKey/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4DAA0C;AAC1C,qDAAmC;AACnC,qDAAmC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/apiKey/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAmC"}
@@ -1,11 +1,7 @@
1
1
  import { Entity } from '../../entity';
2
- import { ApiKeyAccess } from './ApiKeyAccess';
3
2
  export declare class ApiKey extends Entity {
4
3
  id: string;
5
4
  apiKey: string;
6
- expiration: Date;
7
- inactive?: boolean;
8
5
  secretHash?: string;
9
- publicKey?: string;
10
- access?: ApiKeyAccess;
6
+ inactive: boolean;
11
7
  }
@@ -1 +1 @@
1
- {"version":3,"file":"ApiKey.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/apiKey/entities/ApiKey.entity.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAGtC,MAAa,MAAO,SAAQ,eAAM;CAcjC;AAdD,wBAcC"}
1
+ {"version":3,"file":"ApiKey.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/apiKey/entities/ApiKey.entity.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAEtC,MAAa,MAAO,SAAQ,eAAM;CAQjC;AARD,wBAQC"}
@@ -0,0 +1,8 @@
1
+ import { PaymentRequestType } from '../../payment-request';
2
+ export declare class GenerateTwitterRefreshTokenDto {
3
+ prId: string;
4
+ prType: PaymentRequestType;
5
+ state: string;
6
+ code: string;
7
+ jwt: string;
8
+ }
@@ -0,0 +1,43 @@
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.GenerateTwitterRefreshTokenDto = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ const payment_request_1 = require("../../payment-request");
15
+ class GenerateTwitterRefreshTokenDto {
16
+ }
17
+ __decorate([
18
+ (0, class_validator_1.IsString)(),
19
+ (0, class_validator_1.IsNotEmpty)(),
20
+ __metadata("design:type", String)
21
+ ], GenerateTwitterRefreshTokenDto.prototype, "prId", void 0);
22
+ __decorate([
23
+ (0, class_validator_1.IsEnum)(payment_request_1.PaymentRequestType),
24
+ (0, class_validator_1.IsNotEmpty)(),
25
+ __metadata("design:type", String)
26
+ ], GenerateTwitterRefreshTokenDto.prototype, "prType", void 0);
27
+ __decorate([
28
+ (0, class_validator_1.IsString)(),
29
+ (0, class_validator_1.IsNotEmpty)(),
30
+ __metadata("design:type", String)
31
+ ], GenerateTwitterRefreshTokenDto.prototype, "state", void 0);
32
+ __decorate([
33
+ (0, class_validator_1.IsString)(),
34
+ (0, class_validator_1.IsNotEmpty)(),
35
+ __metadata("design:type", String)
36
+ ], GenerateTwitterRefreshTokenDto.prototype, "code", void 0);
37
+ __decorate([
38
+ (0, class_validator_1.IsString)(),
39
+ (0, class_validator_1.IsNotEmpty)(),
40
+ __metadata("design:type", String)
41
+ ], GenerateTwitterRefreshTokenDto.prototype, "jwt", void 0);
42
+ exports.GenerateTwitterRefreshTokenDto = GenerateTwitterRefreshTokenDto;
43
+ //# sourceMappingURL=generateTwitterRefreshToken.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"generateTwitterRefreshToken.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/auth/dtos/generateTwitterRefreshToken.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA+D;AAC/D,2DAA2D;AAE3D,MAAa,8BAA8B;CAoB1C;AAnBC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;4DACA;AAEb;IAAC,IAAA,wBAAM,EAAC,oCAAkB,CAAC;IAC1B,IAAA,4BAAU,GAAE;;8DACc;AAE3B;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;6DACC;AAEd;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;4DACA;AAEb;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;2DACD;AAnBd,wEAoBC"}
@@ -10,10 +10,9 @@ export declare class CreateBlinkDto {
10
10
  price: string;
11
11
  buttonText: string;
12
12
  disabledButtonText?: string;
13
- creatorPK: string;
13
+ creatorPK?: string;
14
14
  recipients: RecipientDto[];
15
15
  content?: ContentDto;
16
16
  limit?: number;
17
17
  product?: ProductDto | null;
18
- additionalProducts?: ProductDto[];
19
18
  }
@@ -56,7 +56,7 @@ __decorate([
56
56
  ], CreateBlinkDto.prototype, "disabledButtonText", void 0);
57
57
  __decorate([
58
58
  (0, class_validator_1.IsString)(),
59
- (0, class_validator_1.IsNotEmpty)(),
59
+ (0, class_validator_1.IsOptional)(),
60
60
  __metadata("design:type", String)
61
61
  ], CreateBlinkDto.prototype, "creatorPK", void 0);
62
62
  __decorate([
@@ -84,11 +84,5 @@ __decorate([
84
84
  (0, class_validator_1.ValidateNested)(),
85
85
  __metadata("design:type", Object)
86
86
  ], CreateBlinkDto.prototype, "product", void 0);
87
- __decorate([
88
- (0, class_validator_1.IsOptional)(),
89
- (0, class_transformer_1.Type)(() => product_1.ProductDto),
90
- (0, class_validator_1.ValidateNested)(),
91
- __metadata("design:type", Array)
92
- ], CreateBlinkDto.prototype, "additionalProducts", void 0);
93
87
  exports.CreateBlinkDto = CreateBlinkDto;
94
88
  //# sourceMappingURL=createBlink.dto.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"createBlink.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/blink/dtos/createBlink.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAQyB;AACzB,yDAAyC;AACzC,uEAAmE;AACnE,+CAA+C;AAC/C,2CAA2C;AAC3C,2CAA2C;AAE3C,MAAa,cAAc;CA2D1B;AA1DC;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,gDAAsB,CAAC;IAClC,IAAA,gCAAc,GAAE;8BACP,gDAAsB;gDAAC;AAEjC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;4CACA;AAEb;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;mDACO;AAEpB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;mDACO;AAEpB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;6CACC;AAEd;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;kDACM;AAEnB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;0DACe;AAE5B;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;iDACK;AAElB;IAAC,IAAA,yBAAO,GAAE;IACT,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,wBAAY,CAAC;IACxB,IAAA,4BAAU,GAAE;IACZ,IAAA,8BAAY,EAAC,CAAC,CAAC;IACf,IAAA,gCAAc,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;kDACJ;AAE3B;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,oBAAU,CAAC;IACtB,IAAA,4BAAU,GAAE;IACZ,IAAA,gCAAc,GAAE;8BACP,oBAAU;+CAAC;AAErB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;6CACE;AAEf;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,oBAAU,CAAC;IACtB,IAAA,gCAAc,GAAE;;+CACW;AAE5B;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,oBAAU,CAAC;IACtB,IAAA,gCAAc,GAAE;;0DACiB;AA1DpC,wCA2DC"}
1
+ {"version":3,"file":"createBlink.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/blink/dtos/createBlink.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAQyB;AACzB,yDAAyC;AACzC,uEAAmE;AACnE,+CAA+C;AAC/C,2CAA2C;AAC3C,2CAA2C;AAE3C,MAAa,cAAc;CAuD1B;AAtDC;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,gDAAsB,CAAC;IAClC,IAAA,gCAAc,GAAE;8BACP,gDAAsB;gDAAC;AAEjC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;4CACA;AAEb;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;mDACO;AAEpB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;mDACO;AAEpB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;6CACC;AAEd;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;kDACM;AAEnB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;0DACe;AAG5B;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;iDACM;AAEnB;IAAC,IAAA,yBAAO,GAAE;IACT,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,wBAAY,CAAC;IACxB,IAAA,4BAAU,GAAE;IACZ,IAAA,8BAAY,EAAC,CAAC,CAAC;IACf,IAAA,gCAAc,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;kDACJ;AAE3B;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,oBAAU,CAAC;IACtB,IAAA,4BAAU,GAAE;IACZ,IAAA,gCAAc,GAAE;8BACP,oBAAU;+CAAC;AAErB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;6CACE;AAEf;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,oBAAU,CAAC;IACtB,IAAA,gCAAc,GAAE;;+CACW;AAtD9B,wCAuDC"}
@@ -7,6 +7,5 @@ export declare class CreateBlinkFeaturesDto {
7
7
  requireDeliveryAddress?: boolean;
8
8
  requirePhoneNumber?: boolean;
9
9
  requireProductDetails?: boolean;
10
- requireAdditionalProducts?: boolean;
11
10
  requireMaxTransactions?: boolean;
12
11
  }
@@ -53,11 +53,6 @@ __decorate([
53
53
  (0, class_validator_1.IsOptional)(),
54
54
  __metadata("design:type", Boolean)
55
55
  ], CreateBlinkFeaturesDto.prototype, "requireProductDetails", void 0);
56
- __decorate([
57
- (0, class_validator_1.IsBoolean)(),
58
- (0, class_validator_1.IsOptional)(),
59
- __metadata("design:type", Boolean)
60
- ], CreateBlinkFeaturesDto.prototype, "requireAdditionalProducts", void 0);
61
56
  __decorate([
62
57
  (0, class_validator_1.IsBoolean)(),
63
58
  (0, class_validator_1.IsOptional)(),
@@ -1 +1 @@
1
- {"version":3,"file":"createBlinkFeatures.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/blink/dtos/createBlinkFeatures.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAwD;AAExD,MAAa,sBAAsB;CAwClC;AAvCC;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;4DACU;AAEvB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;sEACoB;AAEjC;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;+DACa;AAE1B;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;sEACoB;AAEjC;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;8DACY;AAEzB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;sEACoB;AAEjC;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;kEACgB;AAE7B;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;qEACmB;AAEhC;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;yEACuB;AAEpC;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;sEACoB;AAvCnC,wDAwCC"}
1
+ {"version":3,"file":"createBlinkFeatures.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/blink/dtos/createBlinkFeatures.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAwD;AAExD,MAAa,sBAAsB;CAoClC;AAnCC;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;4DACU;AAEvB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;sEACoB;AAEjC;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;+DACa;AAE1B;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;sEACoB;AAEjC;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;8DACY;AAEzB;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;sEACoB;AAEjC;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;kEACgB;AAE7B;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;qEACmB;AAEhC;IAAC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;sEACoB;AAnCnC,wDAoCC"}
@@ -1,2 +1,3 @@
1
1
  export * from './createBlink.dto';
2
2
  export * from './createBlinkFeatures.dto';
3
+ export * from './updateBlink.dto';
@@ -16,4 +16,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./createBlink.dto"), exports);
18
18
  __exportStar(require("./createBlinkFeatures.dto"), exports);
19
+ __exportStar(require("./updateBlink.dto"), exports);
19
20
  //# 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;AAClC,4DAA0C"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/blink/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC;AAClC,4DAA0C;AAC1C,oDAAkC"}
@@ -0,0 +1,17 @@
1
+ import { CreateBlinkFeaturesDto } from './createBlinkFeatures.dto';
2
+ import { RecipientDto } from '../../recipient';
3
+ import { ContentDto } from '../../content';
4
+ import { ProductDto } from '../../product';
5
+ export declare class UpdateBlinkDto {
6
+ features?: CreateBlinkFeaturesDto;
7
+ name?: string;
8
+ description?: string;
9
+ bannerImage?: string;
10
+ price?: string;
11
+ buttonText?: string;
12
+ disabledButtonText?: string;
13
+ recipients?: RecipientDto[];
14
+ content?: ContentDto;
15
+ limit?: number;
16
+ product?: ProductDto | null;
17
+ }
@@ -0,0 +1,83 @@
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.UpdateBlinkDto = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ const class_transformer_1 = require("class-transformer");
15
+ const createBlinkFeatures_dto_1 = require("./createBlinkFeatures.dto");
16
+ const recipient_1 = require("../../recipient");
17
+ const content_1 = require("../../content");
18
+ const product_1 = require("../../product");
19
+ class UpdateBlinkDto {
20
+ }
21
+ __decorate([
22
+ (0, class_validator_1.IsOptional)(),
23
+ (0, class_transformer_1.Type)(() => createBlinkFeatures_dto_1.CreateBlinkFeaturesDto),
24
+ (0, class_validator_1.ValidateNested)(),
25
+ __metadata("design:type", createBlinkFeatures_dto_1.CreateBlinkFeaturesDto)
26
+ ], UpdateBlinkDto.prototype, "features", void 0);
27
+ __decorate([
28
+ (0, class_validator_1.IsString)(),
29
+ (0, class_validator_1.IsOptional)(),
30
+ __metadata("design:type", String)
31
+ ], UpdateBlinkDto.prototype, "name", void 0);
32
+ __decorate([
33
+ (0, class_validator_1.IsString)(),
34
+ (0, class_validator_1.IsOptional)(),
35
+ __metadata("design:type", String)
36
+ ], UpdateBlinkDto.prototype, "description", void 0);
37
+ __decorate([
38
+ (0, class_validator_1.IsString)(),
39
+ (0, class_validator_1.IsOptional)(),
40
+ __metadata("design:type", String)
41
+ ], UpdateBlinkDto.prototype, "bannerImage", void 0);
42
+ __decorate([
43
+ (0, class_validator_1.IsString)(),
44
+ (0, class_validator_1.IsOptional)(),
45
+ __metadata("design:type", String)
46
+ ], UpdateBlinkDto.prototype, "price", void 0);
47
+ __decorate([
48
+ (0, class_validator_1.IsString)(),
49
+ (0, class_validator_1.IsOptional)(),
50
+ __metadata("design:type", String)
51
+ ], UpdateBlinkDto.prototype, "buttonText", void 0);
52
+ __decorate([
53
+ (0, class_validator_1.IsString)(),
54
+ (0, class_validator_1.IsOptional)(),
55
+ __metadata("design:type", String)
56
+ ], UpdateBlinkDto.prototype, "disabledButtonText", void 0);
57
+ __decorate([
58
+ (0, class_validator_1.IsArray)(),
59
+ (0, class_transformer_1.Type)(() => recipient_1.RecipientDto),
60
+ (0, class_validator_1.IsOptional)(),
61
+ (0, class_validator_1.ArrayMinSize)(1),
62
+ (0, class_validator_1.ValidateNested)({ each: true }),
63
+ __metadata("design:type", Array)
64
+ ], UpdateBlinkDto.prototype, "recipients", void 0);
65
+ __decorate([
66
+ (0, class_transformer_1.Type)(() => content_1.ContentDto),
67
+ (0, class_validator_1.IsOptional)(),
68
+ (0, class_validator_1.ValidateNested)(),
69
+ __metadata("design:type", content_1.ContentDto)
70
+ ], UpdateBlinkDto.prototype, "content", void 0);
71
+ __decorate([
72
+ (0, class_validator_1.IsNumber)(),
73
+ (0, class_validator_1.IsOptional)(),
74
+ __metadata("design:type", Number)
75
+ ], UpdateBlinkDto.prototype, "limit", void 0);
76
+ __decorate([
77
+ (0, class_validator_1.IsOptional)(),
78
+ (0, class_transformer_1.Type)(() => product_1.ProductDto),
79
+ (0, class_validator_1.ValidateNested)(),
80
+ __metadata("design:type", Object)
81
+ ], UpdateBlinkDto.prototype, "product", void 0);
82
+ exports.UpdateBlinkDto = UpdateBlinkDto;
83
+ //# sourceMappingURL=updateBlink.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"updateBlink.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/blink/dtos/updateBlink.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAOyB;AACzB,yDAAyC;AACzC,uEAAmE;AACnE,+CAA+C;AAC/C,2CAA2C;AAC3C,2CAA2C;AAE3C,MAAa,cAAc;CAkD1B;AAjDC;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,gDAAsB,CAAC;IAClC,IAAA,gCAAc,GAAE;8BACN,gDAAsB;gDAAC;AAElC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;4CACC;AAEd;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;mDACQ;AAErB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;mDACQ;AAErB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;6CACE;AAEf;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;kDACO;AAEpB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;0DACe;AAE5B;IAAC,IAAA,yBAAO,GAAE;IACT,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,wBAAY,CAAC;IACxB,IAAA,4BAAU,GAAE;IACZ,IAAA,8BAAY,EAAC,CAAC,CAAC;IACf,IAAA,gCAAc,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;kDACH;AAE5B;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,oBAAU,CAAC;IACtB,IAAA,4BAAU,GAAE;IACZ,IAAA,gCAAc,GAAE;8BACP,oBAAU;+CAAC;AAErB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;6CACE;AAEf;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,oBAAU,CAAC;IACtB,IAAA,gCAAc,GAAE;;+CACW;AAjD9B,wCAkDC"}
@@ -10,6 +10,5 @@ export declare class Blink extends BaseBlink {
10
10
  company: BaseCompany;
11
11
  currency: Currency;
12
12
  product: Product;
13
- additionalProducts: Product[];
14
13
  recipients: Recipient[];
15
14
  }
@@ -1 +1 @@
1
- {"version":3,"file":"Blink.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/blink/entities/Blink.entity.ts"],"names":[],"mappings":";;;AAKA,yDAA+C;AAE/C,MAAa,KAAM,SAAQ,4BAAS;CAcnC;AAdD,sBAcC"}
1
+ {"version":3,"file":"Blink.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/blink/entities/Blink.entity.ts"],"names":[],"mappings":";;;AAKA,yDAA+C;AAE/C,MAAa,KAAM,SAAQ,4BAAS;CAYnC;AAZD,sBAYC"}
@@ -8,6 +8,5 @@ export declare class BlinkFeatures extends Entity {
8
8
  requireDeliveryAddress: boolean;
9
9
  requirePhoneNumber: boolean;
10
10
  requireProductDetails: boolean;
11
- requireAdditionalProducts: boolean;
12
11
  requireMaxTransactions: boolean;
13
12
  }
@@ -1 +1 @@
1
- {"version":3,"file":"BlinkFeatures.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/blink/entities/BlinkFeatures.entity.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAEtC,MAAa,aAAc,SAAQ,eAAM;CAoBxC;AApBD,sCAoBC"}
1
+ {"version":3,"file":"BlinkFeatures.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/blink/entities/BlinkFeatures.entity.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAEtC,MAAa,aAAc,SAAQ,eAAM;CAkBxC;AAlBD,sCAkBC"}
@@ -0,0 +1,3 @@
1
+ export declare class CreateBlinkResponse {
2
+ blinkId: string;
3
+ }
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CreateBlinkResponse = void 0;
4
+ class CreateBlinkResponse {
5
+ }
6
+ exports.CreateBlinkResponse = CreateBlinkResponse;
7
+ //# sourceMappingURL=CreateBlinkResponse.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateBlinkResponse.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/blink/entities/CreateBlinkResponse.entity.ts"],"names":[],"mappings":";;;AAAA,MAAa,mBAAmB;CAE/B;AAFD,kDAEC"}
@@ -10,8 +10,7 @@ export declare class ShallowEnrichedBlink extends BaseBlink {
10
10
  company: BaseCompany;
11
11
  currency: Currency;
12
12
  product: Product;
13
- additionalProducts: Product[];
14
- recipients?: Recipient[];
13
+ recipients: Recipient[];
15
14
  bannerImageUrl: string;
16
15
  volume: number;
17
16
  }
@@ -1 +1 @@
1
- {"version":3,"file":"ShallowEnrichedBlink.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/blink/entities/ShallowEnrichedBlink.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA8C;AAC9C,yDAA+C;AAO/C,MAAa,oBAAqB,SAAQ,4BAAS;CAmBlD;AAlBC;IAAC,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;;mDAC1B;AAFhB,oDAmBC"}
1
+ {"version":3,"file":"ShallowEnrichedBlink.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/blink/entities/ShallowEnrichedBlink.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA8C;AAC9C,yDAA+C;AAO/C,MAAa,oBAAqB,SAAQ,4BAAS;CAiBlD;AAhBC;IAAC,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;;mDAC1B;AAFhB,oDAiBC"}
@@ -0,0 +1,8 @@
1
+ import { Entity } from '../../entity';
2
+ import { DCTokenType } from '../DCTokenType';
3
+ export declare class DiscountCodePublicAccess extends Entity {
4
+ id?: string;
5
+ token?: string;
6
+ percent: number;
7
+ tokenType: DCTokenType;
8
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DiscountCodePublicAccess = void 0;
4
+ const entity_1 = require("../../entity");
5
+ class DiscountCodePublicAccess extends entity_1.Entity {
6
+ }
7
+ exports.DiscountCodePublicAccess = DiscountCodePublicAccess;
8
+ //# sourceMappingURL=DiscountCodePublicAccess.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DiscountCodePublicAccess.entity.js","sourceRoot":"","sources":["../../../../../../src/domain/model/discount-codes/entities/DiscountCodePublicAccess.entity.ts"],"names":[],"mappings":";;;AAAA,yCAAsC;AAGtC,MAAa,wBAAyB,SAAQ,eAAM;CAQnD;AARD,4DAQC"}
@@ -1,2 +1 @@
1
- export * from './feeDto';
2
1
  export * from './feeDetailsDto';
@@ -14,6 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./feeDto"), exports);
18
17
  __exportStar(require("./feeDetailsDto"), exports);
19
18
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/fee/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAyB;AACzB,kDAAgC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/fee/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kDAAgC"}
@@ -0,0 +1,7 @@
1
+ export declare class CreateRaffleDetailsDto {
2
+ maxEntries?: number;
3
+ winners: number;
4
+ maxPurchaseQuantity: number;
5
+ endDatetime: Date;
6
+ timezoneLocation: string;
7
+ }
@@ -0,0 +1,44 @@
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.CreateRaffleDetailsDto = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ const class_transformer_1 = require("class-transformer");
15
+ class CreateRaffleDetailsDto {
16
+ }
17
+ __decorate([
18
+ (0, class_validator_1.IsNumber)(),
19
+ (0, class_validator_1.IsOptional)(),
20
+ __metadata("design:type", Number)
21
+ ], CreateRaffleDetailsDto.prototype, "maxEntries", void 0);
22
+ __decorate([
23
+ (0, class_validator_1.IsNumber)(),
24
+ (0, class_validator_1.IsNotEmpty)(),
25
+ __metadata("design:type", Number)
26
+ ], CreateRaffleDetailsDto.prototype, "winners", void 0);
27
+ __decorate([
28
+ (0, class_validator_1.IsNumber)(),
29
+ (0, class_validator_1.IsNotEmpty)(),
30
+ __metadata("design:type", Number)
31
+ ], CreateRaffleDetailsDto.prototype, "maxPurchaseQuantity", void 0);
32
+ __decorate([
33
+ (0, class_transformer_1.Type)(() => Date),
34
+ (0, class_validator_1.IsDate)(),
35
+ (0, class_validator_1.IsNotEmpty)(),
36
+ __metadata("design:type", Date)
37
+ ], CreateRaffleDetailsDto.prototype, "endDatetime", void 0);
38
+ __decorate([
39
+ (0, class_validator_1.IsString)(),
40
+ (0, class_validator_1.IsNotEmpty)(),
41
+ __metadata("design:type", String)
42
+ ], CreateRaffleDetailsDto.prototype, "timezoneLocation", void 0);
43
+ exports.CreateRaffleDetailsDto = CreateRaffleDetailsDto;
44
+ //# sourceMappingURL=createRaffleDetails.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createRaffleDetails.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/raffle-details/dtos/createRaffleDetails.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAMyB;AACzB,yDAAyC;AAEzC,MAAa,sBAAsB;CAqBlC;AApBC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;0DACO;AAEpB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;uDACG;AAEhB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;mEACe;AAE5B;IAAC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC;IAChB,IAAA,wBAAM,GAAE;IACR,IAAA,4BAAU,GAAE;8BACA,IAAI;2DAAC;AAElB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;gEACY;AApB3B,wDAqBC"}
@@ -0,0 +1,6 @@
1
+ export declare class UpdateRaffleDetailsDto {
2
+ maxEntries?: number;
3
+ maxPurchaseQuantity?: number;
4
+ endDatetime?: Date;
5
+ timezoneLocation?: 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.UpdateRaffleDetailsDto = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ class UpdateRaffleDetailsDto {
15
+ }
16
+ __decorate([
17
+ (0, class_validator_1.IsNumber)(),
18
+ (0, class_validator_1.IsOptional)(),
19
+ __metadata("design:type", Number)
20
+ ], UpdateRaffleDetailsDto.prototype, "maxEntries", void 0);
21
+ __decorate([
22
+ (0, class_validator_1.IsNumber)(),
23
+ (0, class_validator_1.IsOptional)(),
24
+ __metadata("design:type", Number)
25
+ ], UpdateRaffleDetailsDto.prototype, "maxPurchaseQuantity", void 0);
26
+ __decorate([
27
+ (0, class_validator_1.IsDate)(),
28
+ (0, class_validator_1.IsOptional)(),
29
+ __metadata("design:type", Date)
30
+ ], UpdateRaffleDetailsDto.prototype, "endDatetime", void 0);
31
+ __decorate([
32
+ (0, class_validator_1.IsString)(),
33
+ (0, class_validator_1.IsOptional)(),
34
+ __metadata("design:type", String)
35
+ ], UpdateRaffleDetailsDto.prototype, "timezoneLocation", void 0);
36
+ exports.UpdateRaffleDetailsDto = UpdateRaffleDetailsDto;
37
+ //# sourceMappingURL=updateRaffleDetails.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"updateRaffleDetails.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/raffle-details/dtos/updateRaffleDetails.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAyE;AAEzE,MAAa,sBAAsB;CAgBlC;AAfC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;0DACO;AAEpB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;mEACgB;AAE7B;IAAC,IAAA,wBAAM,GAAE;IACR,IAAA,4BAAU,GAAE;8BACC,IAAI;2DAAC;AAEnB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;gEACa;AAf5B,wDAgBC"}
@@ -0,0 +1,6 @@
1
+ import { RoleType } from '../entities';
2
+ export declare class CreateRoleDto {
3
+ company: string;
4
+ type: RoleType;
5
+ user: 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.CreateRoleDto = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ const entities_1 = require("../entities");
15
+ class CreateRoleDto {
16
+ }
17
+ __decorate([
18
+ (0, class_validator_1.IsString)(),
19
+ (0, class_validator_1.IsNotEmpty)(),
20
+ __metadata("design:type", String)
21
+ ], CreateRoleDto.prototype, "company", void 0);
22
+ __decorate([
23
+ (0, class_validator_1.IsEnum)(entities_1.RoleType),
24
+ (0, class_validator_1.IsNotEmpty)(),
25
+ __metadata("design:type", String)
26
+ ], CreateRoleDto.prototype, "type", void 0);
27
+ __decorate([
28
+ (0, class_validator_1.IsString)(),
29
+ (0, class_validator_1.IsNotEmpty)(),
30
+ __metadata("design:type", String)
31
+ ], CreateRoleDto.prototype, "user", void 0);
32
+ exports.CreateRoleDto = CreateRoleDto;
33
+ //# sourceMappingURL=createRole.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createRole.dto.js","sourceRoot":"","sources":["../../../../../../src/domain/model/role/dtos/createRole.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA+D;AAC/D,0CAAuC;AAEvC,MAAa,aAAa;CAYzB;AAXC;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;8CACG;AAEhB;IAAC,IAAA,wBAAM,EAAC,mBAAQ,CAAC;IAChB,IAAA,4BAAU,GAAE;;2CACE;AAEf;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;2CACA;AAXf,sCAYC"}
@@ -0,0 +1,2 @@
1
+ export * from './createRole.dto';
2
+ export * from './updateRole.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("./createRole.dto"), exports);
18
+ __exportStar(require("./updateRole.dto"), exports);
19
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/domain/model/role/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mDAAiC;AACjC,mDAAiC"}
@@ -0,0 +1,4 @@
1
+ import { RoleType } from '../entities';
2
+ export declare class UpdateRoleDto {
3
+ type: RoleType;
4
+ }