@escapenavigator/types 1.2.1 → 1.2.2

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 (75) hide show
  1. package/dist/admin/login-admin.dto.js +7 -2
  2. package/dist/agb/update-agb.dto.js +5 -1
  3. package/dist/cashbox/create-cashbox.dto.d.ts +1 -1
  4. package/dist/cashbox/create-cashbox.dto.js +13 -5
  5. package/dist/certificate/create-certificate.dto.js +37 -17
  6. package/dist/certificate-sale/annul-certificate-sale.dto.js +5 -1
  7. package/dist/certificate-sale/check-certificate-sale.dto.js +5 -1
  8. package/dist/certificate-sale/create-certificatesale.dto.js +28 -12
  9. package/dist/certificate-sale/update-certificate-sale-expire-date.dto.js +5 -1
  10. package/dist/certificate-sale/update-certificate-sale-status.dto.js +5 -1
  11. package/dist/certificate-sale/update-certificatesale.dto.js +13 -5
  12. package/dist/city/create-city.dto.js +7 -2
  13. package/dist/city/update-city.dto.js +11 -4
  14. package/dist/client/create-client-from-widget.dto.js +5 -1
  15. package/dist/client/create-client.dto.js +21 -9
  16. package/dist/client/update-client.dto.js +21 -9
  17. package/dist/financeitem/create-financeitem.dto.js +9 -3
  18. package/dist/image/create-image.dto.js +9 -3
  19. package/dist/location/create-location.dto.js +27 -12
  20. package/dist/location/get-nearest-location.dto.js +7 -2
  21. package/dist/order/add-certificate-to-order.dto.js +5 -1
  22. package/dist/order/create-order-from-widget.dto.js +17 -7
  23. package/dist/order/create-order.dto.js +9 -3
  24. package/dist/order/remove-certificate-from-order.dto.js +5 -1
  25. package/dist/order/update-order-players.dto.js +5 -1
  26. package/dist/order/update-order-slot.dto.js +5 -1
  27. package/dist/order/update-order-status.dto.js +5 -1
  28. package/dist/order/update-order.dto.js +9 -3
  29. package/dist/order-certificate/create-order-certificate.dto.js +7 -2
  30. package/dist/order-discount/create-order-discount.dto.js +9 -3
  31. package/dist/order-penalty/create-order-penalty.dto.js +9 -3
  32. package/dist/order-upselling/create-order-upselling.dto.js +7 -2
  33. package/dist/partner/create-partner.dto.js +13 -5
  34. package/dist/profile/create-profile.dto.js +32 -14
  35. package/dist/profile/update-profile.dto.js +33 -14
  36. package/dist/questroom/create-questroom.dto.js +57 -27
  37. package/dist/registration-request/create-registration-request.dto.js +11 -4
  38. package/dist/registration-request/update-registration-request.dto.js +13 -5
  39. package/dist/role/create-role.dto.js +21 -9
  40. package/dist/shared/query.dto.js +15 -6
  41. package/dist/slot/add-breaks.dto.js +13 -5
  42. package/dist/slot/add-or-remove-break.dto.js +5 -1
  43. package/dist/slot/calendar-query.dto.js +9 -3
  44. package/dist/slot/create-slot.dto.js +13 -5
  45. package/dist/slot/daily-query.dto.js +7 -2
  46. package/dist/slot/remove-breaks.dto.js +9 -3
  47. package/dist/slot/remove-slots-by-date.dto.js +7 -2
  48. package/dist/slot/update-slot.dto.js +7 -2
  49. package/dist/slot/weekly-query.dto.js +7 -2
  50. package/dist/slot-template/create-slot-template-autocomplete.dto.js +13 -5
  51. package/dist/slot-template/create-slot-template.dto.js +7 -2
  52. package/dist/slot-template/update-slot-template.dto.js +9 -3
  53. package/dist/slot-template/update-weekends.dto.js +9 -3
  54. package/dist/support/create-support.dto.js +9 -3
  55. package/dist/tariff/create-tariff.dto.js +7 -2
  56. package/dist/transaction/create-certificate-sale-payment.dto.js +11 -4
  57. package/dist/transaction/create-certificate-sale-refund.dto.js +11 -4
  58. package/dist/transaction/create-order-payment.dto.js +11 -4
  59. package/dist/transaction/create-order-refund.dto.js +11 -4
  60. package/dist/transaction/create-transaction.dto.js +13 -5
  61. package/dist/tsconfig.build.tsbuildinfo +1 -1
  62. package/dist/upload/upload-image.dto.js +5 -1
  63. package/dist/upselling/create-upselling.dto.js +15 -6
  64. package/dist/user/check-user-token.dto.js +5 -1
  65. package/dist/user/create-user.dto.js +19 -8
  66. package/dist/user/login-user.dto.js +9 -3
  67. package/dist/user/recover-password.dto.js +5 -1
  68. package/dist/user/update-current-user-password.dto.js +9 -3
  69. package/dist/user/update-current-user.dto.js +18 -7
  70. package/dist/user/update-user-password.dto.js +7 -2
  71. package/dist/user/update-user.dto.js +13 -5
  72. package/dist/user-message/create-user-message.dto.js +11 -4
  73. package/dist/widget/create-widget.dto.js +13 -5
  74. package/dist/widget-api/widget-schedule-query.dto.js +7 -2
  75. package/package.json +3 -3
@@ -5,15 +5,20 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
5
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
6
  return c > 3 && r && Object.defineProperty(target, key, r), r;
7
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
+ };
8
11
  Object.defineProperty(exports, "__esModule", { value: true });
9
12
  exports.LoginAdminDto = void 0;
10
13
  const class_validator_1 = require("class-validator");
11
14
  class LoginAdminDto {
12
15
  }
13
16
  __decorate([
14
- (0, class_validator_1.IsNotEmpty)()
17
+ (0, class_validator_1.IsNotEmpty)(),
18
+ __metadata("design:type", String)
15
19
  ], LoginAdminDto.prototype, "email", void 0);
16
20
  __decorate([
17
- (0, class_validator_1.IsNotEmpty)()
21
+ (0, class_validator_1.IsNotEmpty)(),
22
+ __metadata("design:type", String)
18
23
  ], LoginAdminDto.prototype, "password", void 0);
19
24
  exports.LoginAdminDto = LoginAdminDto;
@@ -5,12 +5,16 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
5
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
6
  return c > 3 && r && Object.defineProperty(target, key, r), r;
7
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
+ };
8
11
  Object.defineProperty(exports, "__esModule", { value: true });
9
12
  exports.UpdateAgbDto = void 0;
10
13
  const is_not_blank_1 = require("../shared/is-not-blank");
11
14
  class UpdateAgbDto {
12
15
  }
13
16
  __decorate([
14
- (0, is_not_blank_1.IsNotBlank)()
17
+ (0, is_not_blank_1.IsNotBlank)(),
18
+ __metadata("design:type", String)
15
19
  ], UpdateAgbDto.prototype, "text", void 0);
16
20
  exports.UpdateAgbDto = UpdateAgbDto;
@@ -1,4 +1,4 @@
1
- import { CashboxTypeEnum } from './enum/cashbox-type.enum';
1
+ import { CashboxTypeEnum } from "./enum/cashbox-type.enum";
2
2
  export declare class CreateCashboxDto {
3
3
  title: string;
4
4
  type: CashboxTypeEnum;
@@ -5,6 +5,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
5
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
6
  return c > 3 && r && Object.defineProperty(target, key, r), r;
7
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
+ };
8
11
  Object.defineProperty(exports, "__esModule", { value: true });
9
12
  exports.CreateCashboxDto = void 0;
10
13
  const class_transformer_1 = require("class-transformer");
@@ -15,26 +18,31 @@ class CreateCashboxDto {
15
18
  }
16
19
  __decorate([
17
20
  (0, is_not_blank_string_1.IsNotBlankString)(),
18
- (0, class_transformer_1.Expose)()
21
+ (0, class_transformer_1.Expose)(),
22
+ __metadata("design:type", String)
19
23
  ], CreateCashboxDto.prototype, "title", void 0);
20
24
  __decorate([
21
25
  (0, class_validator_1.IsEnum)(cashbox_type_enum_1.CashboxTypeEnum),
22
- (0, class_transformer_1.Expose)()
26
+ (0, class_transformer_1.Expose)(),
27
+ __metadata("design:type", String)
23
28
  ], CreateCashboxDto.prototype, "type", void 0);
24
29
  __decorate([
25
30
  (0, class_validator_1.IsBoolean)(),
26
31
  (0, class_transformer_1.Transform)(({ value }) => (value === undefined ? true : value)),
27
- (0, class_transformer_1.Expose)()
32
+ (0, class_transformer_1.Expose)(),
33
+ __metadata("design:type", Boolean)
28
34
  ], CreateCashboxDto.prototype, "allLocations", void 0);
29
35
  __decorate([
30
36
  (0, class_validator_1.ValidateIf)((o) => !o.allLocations),
31
37
  (0, class_validator_1.ArrayNotEmpty)(),
32
38
  (0, class_transformer_1.Transform)(({ value }) => ((value === null || value === void 0 ? void 0 : value.length) ? value : [])),
33
- (0, class_transformer_1.Expose)()
39
+ (0, class_transformer_1.Expose)(),
40
+ __metadata("design:type", Array)
34
41
  ], CreateCashboxDto.prototype, "locationIds", void 0);
35
42
  __decorate([
36
43
  (0, class_validator_1.ValidateIf)((o) => o.type !== cashbox_type_enum_1.CashboxTypeEnum.BANK && o.type !== cashbox_type_enum_1.CashboxTypeEnum.CASH),
37
44
  (0, is_not_blank_string_1.IsNotBlankString)(),
38
- (0, class_transformer_1.Expose)()
45
+ (0, class_transformer_1.Expose)(),
46
+ __metadata("design:type", String)
39
47
  ], CreateCashboxDto.prototype, "identificator", void 0);
40
48
  exports.CreateCashboxDto = CreateCashboxDto;
@@ -5,6 +5,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
5
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
6
  return c > 3 && r && Object.defineProperty(target, key, r), r;
7
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
+ };
8
11
  Object.defineProperty(exports, "__esModule", { value: true });
9
12
  exports.CreateCertificateDto = void 0;
10
13
  const class_transformer_1 = require("class-transformer");
@@ -18,87 +21,104 @@ class CreateCertificateDto {
18
21
  }
19
22
  __decorate([
20
23
  (0, is_not_blank_string_1.IsNotBlankString)(),
21
- (0, class_transformer_1.Expose)()
24
+ (0, class_transformer_1.Expose)(),
25
+ __metadata("design:type", String)
22
26
  ], CreateCertificateDto.prototype, "title", void 0);
23
27
  __decorate([
24
28
  (0, class_validator_1.IsPositive)(),
25
- (0, class_transformer_1.Expose)()
29
+ (0, class_transformer_1.Expose)(),
30
+ __metadata("design:type", Number)
26
31
  ], CreateCertificateDto.prototype, "validity", void 0);
27
32
  __decorate([
28
33
  (0, class_validator_1.IsPositive)(),
29
- (0, class_transformer_1.Expose)()
34
+ (0, class_transformer_1.Expose)(),
35
+ __metadata("design:type", Number)
30
36
  ], CreateCertificateDto.prototype, "nominal", void 0);
31
37
  __decorate([
32
38
  (0, class_validator_1.IsEnum)(certificate_type_enum_1.CertificateTypeEnum),
33
39
  (0, class_transformer_1.Transform)(({ value }) => value || certificate_type_enum_1.CertificateTypeEnum.VIRTUAL),
34
- (0, class_transformer_1.Expose)()
40
+ (0, class_transformer_1.Expose)(),
41
+ __metadata("design:type", String)
35
42
  ], CreateCertificateDto.prototype, "type", void 0);
36
43
  __decorate([
37
44
  (0, class_validator_1.ValidateIf)((o) => o.type === certificate_type_enum_1.CertificateTypeEnum.VIRTUAL),
38
45
  (0, class_validator_1.IsUrl)(),
39
- (0, class_transformer_1.Expose)()
46
+ (0, class_transformer_1.Expose)(),
47
+ __metadata("design:type", String)
40
48
  ], CreateCertificateDto.prototype, "downloadLink", void 0);
41
49
  __decorate([
42
50
  (0, class_validator_1.IsOptional)(),
43
51
  (0, class_validator_1.ValidateIf)((o) => o.type === certificate_type_enum_1.CertificateTypeEnum.PHYSICAL),
44
52
  (0, class_validator_1.IsNumber)(),
45
- (0, class_transformer_1.Expose)()
53
+ (0, class_transformer_1.Expose)(),
54
+ __metadata("design:type", Number)
46
55
  ], CreateCertificateDto.prototype, "extraPrice", void 0);
47
56
  __decorate([
48
57
  (0, class_validator_1.ValidateIf)((o) => o.type === certificate_type_enum_1.CertificateTypeEnum.PHYSICAL),
49
58
  (0, class_validator_1.IsBoolean)(),
50
59
  (0, class_transformer_1.Transform)(({ value }) => checkBoolean({ value }, false)),
51
- (0, class_transformer_1.Expose)()
60
+ (0, class_transformer_1.Expose)(),
61
+ __metadata("design:type", Boolean)
52
62
  ], CreateCertificateDto.prototype, "pickupPossibility", void 0);
53
63
  __decorate([
54
64
  (0, class_validator_1.ValidateIf)((o) => o.type === certificate_type_enum_1.CertificateTypeEnum.PHYSICAL),
55
65
  (0, class_validator_1.IsBoolean)(),
56
66
  (0, class_transformer_1.Transform)(checkBoolean),
57
- (0, class_transformer_1.Expose)()
67
+ (0, class_transformer_1.Expose)(),
68
+ __metadata("design:type", Boolean)
58
69
  ], CreateCertificateDto.prototype, "deliveryPossibility", void 0);
59
70
  __decorate([
60
71
  (0, class_validator_1.IsOptional)(),
61
72
  (0, class_validator_1.ValidateIf)((o) => o.type === certificate_type_enum_1.CertificateTypeEnum.PHYSICAL),
62
73
  (0, class_validator_1.IsNumber)(),
63
- (0, class_transformer_1.Expose)()
74
+ (0, class_transformer_1.Expose)(),
75
+ __metadata("design:type", Number)
64
76
  ], CreateCertificateDto.prototype, "deliveryPrice", void 0);
65
77
  __decorate([
66
78
  (0, class_validator_1.IsBoolean)(),
67
79
  (0, class_transformer_1.Transform)(checkBoolean),
68
- (0, class_transformer_1.Expose)()
80
+ (0, class_transformer_1.Expose)(),
81
+ __metadata("design:type", Boolean)
69
82
  ], CreateCertificateDto.prototype, "allQuestrooms", void 0);
70
83
  __decorate([
71
84
  (0, class_validator_1.ValidateIf)((o) => !o.allQuestrooms),
72
85
  (0, class_validator_1.ArrayNotEmpty)(),
73
86
  (0, class_transformer_1.Transform)(({ value }) => ((value === null || value === void 0 ? void 0 : value.length) ? value : [])),
74
- (0, class_transformer_1.Expose)()
87
+ (0, class_transformer_1.Expose)(),
88
+ __metadata("design:type", Array)
75
89
  ], CreateCertificateDto.prototype, "questroomsIds", void 0);
76
90
  __decorate([
77
91
  (0, class_validator_1.IsPositive)(),
78
- (0, class_transformer_1.Expose)()
92
+ (0, class_transformer_1.Expose)(),
93
+ __metadata("design:type", Number)
79
94
  ], CreateCertificateDto.prototype, "walletId", void 0);
80
95
  __decorate([
81
96
  (0, class_validator_1.IsBoolean)(),
82
97
  (0, class_transformer_1.Transform)(checkBoolean),
83
- (0, class_transformer_1.Expose)()
98
+ (0, class_transformer_1.Expose)(),
99
+ __metadata("design:type", Boolean)
84
100
  ], CreateCertificateDto.prototype, "awailableForNavigator", void 0);
85
101
  __decorate([
86
102
  (0, class_validator_1.IsBoolean)(),
87
103
  (0, class_transformer_1.Transform)(checkBoolean),
88
- (0, class_transformer_1.Expose)()
104
+ (0, class_transformer_1.Expose)(),
105
+ __metadata("design:type", Boolean)
89
106
  ], CreateCertificateDto.prototype, "awailableForWidgets", void 0);
90
107
  __decorate([
91
108
  (0, is_not_blank_string_1.IsNotBlankString)(),
92
- (0, class_transformer_1.Expose)()
109
+ (0, class_transformer_1.Expose)(),
110
+ __metadata("design:type", String)
93
111
  ], CreateCertificateDto.prototype, "photo", void 0);
94
112
  __decorate([
95
113
  (0, class_validator_1.IsArray)(),
96
114
  (0, class_transformer_1.Transform)(({ value }) => ((value === null || value === void 0 ? void 0 : value.length) ? value : [])),
97
- (0, class_transformer_1.Expose)()
115
+ (0, class_transformer_1.Expose)(),
116
+ __metadata("design:type", Array)
98
117
  ], CreateCertificateDto.prototype, "photos", void 0);
99
118
  __decorate([
100
119
  (0, class_validator_1.IsOptional)(),
101
120
  (0, class_validator_1.IsString)(),
102
- (0, class_transformer_1.Expose)()
121
+ (0, class_transformer_1.Expose)(),
122
+ __metadata("design:type", String)
103
123
  ], CreateCertificateDto.prototype, "information", void 0);
104
124
  exports.CreateCertificateDto = CreateCertificateDto;
@@ -5,12 +5,16 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
5
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
6
  return c > 3 && r && Object.defineProperty(target, key, r), r;
7
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
+ };
8
11
  Object.defineProperty(exports, "__esModule", { value: true });
9
12
  exports.AnnulCertificateSaleDto = void 0;
10
13
  const is_not_blank_1 = require("../shared/is-not-blank");
11
14
  class AnnulCertificateSaleDto {
12
15
  }
13
16
  __decorate([
14
- (0, is_not_blank_1.IsNotBlank)()
17
+ (0, is_not_blank_1.IsNotBlank)(),
18
+ __metadata("design:type", String)
15
19
  ], AnnulCertificateSaleDto.prototype, "reason", void 0);
16
20
  exports.AnnulCertificateSaleDto = AnnulCertificateSaleDto;
@@ -5,12 +5,16 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
5
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
6
  return c > 3 && r && Object.defineProperty(target, key, r), r;
7
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
+ };
8
11
  Object.defineProperty(exports, "__esModule", { value: true });
9
12
  exports.CheckCertificateSaleDto = void 0;
10
13
  const is_not_blank_1 = require("../shared/is-not-blank");
11
14
  class CheckCertificateSaleDto {
12
15
  }
13
16
  __decorate([
14
- (0, is_not_blank_1.IsNotBlank)()
17
+ (0, is_not_blank_1.IsNotBlank)(),
18
+ __metadata("design:type", String)
15
19
  ], CheckCertificateSaleDto.prototype, "code", void 0);
16
20
  exports.CheckCertificateSaleDto = CheckCertificateSaleDto;
@@ -5,54 +5,70 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
5
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
6
  return c > 3 && r && Object.defineProperty(target, key, r), r;
7
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
+ };
8
11
  Object.defineProperty(exports, "__esModule", { value: true });
9
12
  exports.CreateCertificatesaleDto = void 0;
10
13
  const class_validator_1 = require("class-validator");
11
14
  const certificatesale_source_enum_1 = require("./enum/certificatesale-source.enum");
12
15
  const certificatesales_delivery_type_enum_1 = require("./enum/certificatesales-delivery-type.enum");
16
+ const certificatessales_status_enum_1 = require("./enum/certificatessales-status.enum");
13
17
  class CreateCertificatesaleDto {
14
18
  }
15
19
  __decorate([
16
- (0, class_validator_1.IsNumber)()
20
+ (0, class_validator_1.IsNumber)(),
21
+ __metadata("design:type", Number)
17
22
  ], CreateCertificatesaleDto.prototype, "certificateId", void 0);
18
23
  __decorate([
19
24
  (0, class_validator_1.IsInt)(),
20
- (0, class_validator_1.IsOptional)()
25
+ (0, class_validator_1.IsOptional)(),
26
+ __metadata("design:type", Number)
21
27
  ], CreateCertificatesaleDto.prototype, "expireDate", void 0);
22
28
  __decorate([
23
- (0, class_validator_1.IsIn)(['new', 'sended', 'used', 'annul', 'hold'])
29
+ (0, class_validator_1.IsIn)(['new', 'sended', 'used', 'annul', 'hold']),
30
+ __metadata("design:type", String)
24
31
  ], CreateCertificatesaleDto.prototype, "status", void 0);
25
32
  __decorate([
26
33
  (0, class_validator_1.IsString)(),
27
- (0, class_validator_1.IsOptional)()
34
+ (0, class_validator_1.IsOptional)(),
35
+ __metadata("design:type", String)
28
36
  ], CreateCertificatesaleDto.prototype, "clientComment", void 0);
29
37
  __decorate([
30
38
  (0, class_validator_1.IsJSON)(),
31
- (0, class_validator_1.IsOptional)()
39
+ (0, class_validator_1.IsOptional)(),
40
+ __metadata("design:type", Array)
32
41
  ], CreateCertificatesaleDto.prototype, "technicalPhotos", void 0);
33
42
  __decorate([
34
- (0, class_validator_1.IsEnum)(certificatesales_delivery_type_enum_1.CertificatesaleDeliveryTypeEnum)
43
+ (0, class_validator_1.IsEnum)(certificatesales_delivery_type_enum_1.CertificatesaleDeliveryTypeEnum),
44
+ __metadata("design:type", String)
35
45
  ], CreateCertificatesaleDto.prototype, "deliveryType", void 0);
36
46
  __decorate([
37
47
  (0, class_validator_1.IsString)(),
38
- (0, class_validator_1.IsOptional)()
48
+ (0, class_validator_1.IsOptional)(),
49
+ __metadata("design:type", String)
39
50
  ], CreateCertificatesaleDto.prototype, "deliveryAddress", void 0);
40
51
  __decorate([
41
52
  (0, class_validator_1.IsString)(),
42
- (0, class_validator_1.IsOptional)()
53
+ (0, class_validator_1.IsOptional)(),
54
+ __metadata("design:type", String)
43
55
  ], CreateCertificatesaleDto.prototype, "deliveryEmail", void 0);
44
56
  __decorate([
45
57
  (0, class_validator_1.IsString)(),
46
- (0, class_validator_1.IsOptional)()
58
+ (0, class_validator_1.IsOptional)(),
59
+ __metadata("design:type", String)
47
60
  ], CreateCertificatesaleDto.prototype, "deliveryComment", void 0);
48
61
  __decorate([
49
62
  (0, class_validator_1.IsString)(),
50
- (0, class_validator_1.IsOptional)()
63
+ (0, class_validator_1.IsOptional)(),
64
+ __metadata("design:type", String)
51
65
  ], CreateCertificatesaleDto.prototype, "trackingInfo", void 0);
52
66
  __decorate([
53
- (0, class_validator_1.IsNumber)()
67
+ (0, class_validator_1.IsNumber)(),
68
+ __metadata("design:type", Number)
54
69
  ], CreateCertificatesaleDto.prototype, "clientId", void 0);
55
70
  __decorate([
56
- (0, class_validator_1.IsEnum)(certificatesale_source_enum_1.CertificatesaleSourceEnum)
71
+ (0, class_validator_1.IsEnum)(certificatesale_source_enum_1.CertificatesaleSourceEnum),
72
+ __metadata("design:type", String)
57
73
  ], CreateCertificatesaleDto.prototype, "source", void 0);
58
74
  exports.CreateCertificatesaleDto = CreateCertificatesaleDto;
@@ -5,12 +5,16 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
5
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
6
  return c > 3 && r && Object.defineProperty(target, key, r), r;
7
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
+ };
8
11
  Object.defineProperty(exports, "__esModule", { value: true });
9
12
  exports.UpdateCertificateSaleExpireDateDto = void 0;
10
13
  const is_not_blank_1 = require("../shared/is-not-blank");
11
14
  class UpdateCertificateSaleExpireDateDto {
12
15
  }
13
16
  __decorate([
14
- (0, is_not_blank_1.IsNotBlank)()
17
+ (0, is_not_blank_1.IsNotBlank)(),
18
+ __metadata("design:type", String)
15
19
  ], UpdateCertificateSaleExpireDateDto.prototype, "date", void 0);
16
20
  exports.UpdateCertificateSaleExpireDateDto = UpdateCertificateSaleExpireDateDto;
@@ -5,12 +5,16 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
5
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
6
  return c > 3 && r && Object.defineProperty(target, key, r), r;
7
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
+ };
8
11
  Object.defineProperty(exports, "__esModule", { value: true });
9
12
  exports.UpdateCertificateSaleStatusDto = void 0;
10
13
  const is_not_blank_1 = require("../shared/is-not-blank");
11
14
  class UpdateCertificateSaleStatusDto {
12
15
  }
13
16
  __decorate([
14
- (0, is_not_blank_1.IsNotBlank)()
17
+ (0, is_not_blank_1.IsNotBlank)(),
18
+ __metadata("design:type", String)
15
19
  ], UpdateCertificateSaleStatusDto.prototype, "status", void 0);
16
20
  exports.UpdateCertificateSaleStatusDto = UpdateCertificateSaleStatusDto;
@@ -5,24 +5,32 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
5
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
6
  return c > 3 && r && Object.defineProperty(target, key, r), r;
7
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
+ };
8
11
  Object.defineProperty(exports, "__esModule", { value: true });
9
12
  exports.UpdateCertificatesaleDto = void 0;
10
13
  const class_validator_1 = require("class-validator");
11
14
  class UpdateCertificatesaleDto {
12
15
  }
13
16
  __decorate([
14
- (0, class_validator_1.IsOptional)()
17
+ (0, class_validator_1.IsOptional)(),
18
+ __metadata("design:type", Array)
15
19
  ], UpdateCertificatesaleDto.prototype, "technicalPhotos", void 0);
16
20
  __decorate([
17
- (0, class_validator_1.IsOptional)()
21
+ (0, class_validator_1.IsOptional)(),
22
+ __metadata("design:type", String)
18
23
  ], UpdateCertificatesaleDto.prototype, "deliveryType", void 0);
19
24
  __decorate([
20
- (0, class_validator_1.IsOptional)()
25
+ (0, class_validator_1.IsOptional)(),
26
+ __metadata("design:type", String)
21
27
  ], UpdateCertificatesaleDto.prototype, "deliveryEmail", void 0);
22
28
  __decorate([
23
- (0, class_validator_1.IsOptional)()
29
+ (0, class_validator_1.IsOptional)(),
30
+ __metadata("design:type", String)
24
31
  ], UpdateCertificatesaleDto.prototype, "deliveryComment", void 0);
25
32
  __decorate([
26
- (0, class_validator_1.IsOptional)()
33
+ (0, class_validator_1.IsOptional)(),
34
+ __metadata("design:type", String)
27
35
  ], UpdateCertificatesaleDto.prototype, "trackingInfo", void 0);
28
36
  exports.UpdateCertificatesaleDto = UpdateCertificatesaleDto;
@@ -5,6 +5,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
5
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
6
  return c > 3 && r && Object.defineProperty(target, key, r), r;
7
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
+ };
8
11
  Object.defineProperty(exports, "__esModule", { value: true });
9
12
  exports.CreateCityDto = void 0;
10
13
  const countries_enum_1 = require("../shared/enum/countries.enum");
@@ -15,10 +18,12 @@ class CreateCityDto {
15
18
  }
16
19
  __decorate([
17
20
  (0, is_not_blank_string_1.IsNotBlankString)(),
18
- (0, class_transformer_1.Expose)()
21
+ (0, class_transformer_1.Expose)(),
22
+ __metadata("design:type", String)
19
23
  ], CreateCityDto.prototype, "title", void 0);
20
24
  __decorate([
21
25
  (0, class_validator_1.IsEnum)(countries_enum_1.CountriesEnum),
22
- (0, class_transformer_1.Expose)()
26
+ (0, class_transformer_1.Expose)(),
27
+ __metadata("design:type", String)
23
28
  ], CreateCityDto.prototype, "country", void 0);
24
29
  exports.CreateCityDto = CreateCityDto;
@@ -5,6 +5,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
5
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
6
  return c > 3 && r && Object.defineProperty(target, key, r), r;
7
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
+ };
8
11
  Object.defineProperty(exports, "__esModule", { value: true });
9
12
  exports.UpdateCityDto = void 0;
10
13
  const countries_enum_1 = require("../shared/enum/countries.enum");
@@ -14,20 +17,24 @@ class UpdateCityDto {
14
17
  }
15
18
  __decorate([
16
19
  (0, class_validator_1.IsOptional)(),
17
- (0, class_transformer_1.Expose)()
20
+ (0, class_transformer_1.Expose)(),
21
+ __metadata("design:type", String)
18
22
  ], UpdateCityDto.prototype, "title", void 0);
19
23
  __decorate([
20
24
  (0, class_validator_1.IsOptional)(),
21
25
  (0, class_validator_1.IsEnum)(countries_enum_1.CountriesEnum),
22
- (0, class_transformer_1.Expose)()
26
+ (0, class_transformer_1.Expose)(),
27
+ __metadata("design:type", String)
23
28
  ], UpdateCityDto.prototype, "country", void 0);
24
29
  __decorate([
25
30
  (0, class_validator_1.IsOptional)(),
26
- (0, class_transformer_1.Expose)()
31
+ (0, class_transformer_1.Expose)(),
32
+ __metadata("design:type", String)
27
33
  ], UpdateCityDto.prototype, "photo", void 0);
28
34
  __decorate([
29
35
  (0, class_validator_1.IsOptional)(),
30
36
  (0, class_validator_1.IsLatLong)(),
31
- (0, class_transformer_1.Expose)()
37
+ (0, class_transformer_1.Expose)(),
38
+ __metadata("design:type", String)
32
39
  ], UpdateCityDto.prototype, "coordinates", void 0);
33
40
  exports.UpdateCityDto = UpdateCityDto;
@@ -5,6 +5,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
5
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
6
  return c > 3 && r && Object.defineProperty(target, key, r), r;
7
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
+ };
8
11
  Object.defineProperty(exports, "__esModule", { value: true });
9
12
  exports.CreateClientFromWidgetDto = void 0;
10
13
  const class_validator_1 = require("class-validator");
@@ -12,6 +15,7 @@ const create_client_dto_1 = require("./create-client.dto");
12
15
  class CreateClientFromWidgetDto extends create_client_dto_1.CreateClientDto {
13
16
  }
14
17
  __decorate([
15
- (0, class_validator_1.IsNumber)()
18
+ (0, class_validator_1.IsNumber)(),
19
+ __metadata("design:type", Number)
16
20
  ], CreateClientFromWidgetDto.prototype, "widgetId", void 0);
17
21
  exports.CreateClientFromWidgetDto = CreateClientFromWidgetDto;
@@ -5,6 +5,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
5
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
6
  return c > 3 && r && Object.defineProperty(target, key, r), r;
7
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
+ };
8
11
  Object.defineProperty(exports, "__esModule", { value: true });
9
12
  exports.CreateClientDto = void 0;
10
13
  const class_transformer_1 = require("class-transformer");
@@ -15,43 +18,52 @@ class CreateClientDto {
15
18
  __decorate([
16
19
  (0, class_validator_1.IsOptional)(),
17
20
  (0, class_validator_1.IsString)(),
18
- (0, class_transformer_1.Expose)()
21
+ (0, class_transformer_1.Expose)(),
22
+ __metadata("design:type", String)
19
23
  ], CreateClientDto.prototype, "photo", void 0);
20
24
  __decorate([
21
25
  (0, is_not_blank_string_1.IsNotBlankString)(),
22
- (0, class_transformer_1.Expose)()
26
+ (0, class_transformer_1.Expose)(),
27
+ __metadata("design:type", String)
23
28
  ], CreateClientDto.prototype, "name", void 0);
24
29
  __decorate([
25
30
  (0, is_not_blank_string_1.IsNotBlankString)(),
26
- (0, class_transformer_1.Expose)()
31
+ (0, class_transformer_1.Expose)(),
32
+ __metadata("design:type", String)
27
33
  ], CreateClientDto.prototype, "surname", void 0);
28
34
  __decorate([
29
35
  (0, is_not_blank_string_1.IsNotBlankString)(),
30
- (0, class_transformer_1.Expose)()
36
+ (0, class_transformer_1.Expose)(),
37
+ __metadata("design:type", String)
31
38
  ], CreateClientDto.prototype, "phone", void 0);
32
39
  __decorate([
33
40
  (0, is_not_blank_string_1.IsNotBlankString)(),
34
41
  (0, class_validator_1.IsEmail)(),
35
- (0, class_transformer_1.Expose)()
42
+ (0, class_transformer_1.Expose)(),
43
+ __metadata("design:type", String)
36
44
  ], CreateClientDto.prototype, "email", void 0);
37
45
  __decorate([
38
46
  (0, class_validator_1.IsOptional)(),
39
47
  (0, class_validator_1.IsString)(),
40
- (0, class_transformer_1.Expose)()
48
+ (0, class_transformer_1.Expose)(),
49
+ __metadata("design:type", String)
41
50
  ], CreateClientDto.prototype, "city", void 0);
42
51
  __decorate([
43
52
  (0, class_validator_1.IsOptional)(),
44
53
  (0, class_validator_1.IsString)(),
45
- (0, class_transformer_1.Expose)()
54
+ (0, class_transformer_1.Expose)(),
55
+ __metadata("design:type", String)
46
56
  ], CreateClientDto.prototype, "address", void 0);
47
57
  __decorate([
48
58
  (0, class_validator_1.IsOptional)(),
49
59
  (0, class_validator_1.IsString)(),
50
- (0, class_transformer_1.Expose)()
60
+ (0, class_transformer_1.Expose)(),
61
+ __metadata("design:type", String)
51
62
  ], CreateClientDto.prototype, "postcode", void 0);
52
63
  __decorate([
53
64
  (0, class_validator_1.IsBoolean)(),
54
65
  (0, class_transformer_1.Transform)(({ value }) => (value === undefined ? true : value)),
55
- (0, class_transformer_1.Expose)()
66
+ (0, class_transformer_1.Expose)(),
67
+ __metadata("design:type", Boolean)
56
68
  ], CreateClientDto.prototype, "sendAds", void 0);
57
69
  exports.CreateClientDto = CreateClientDto;