@escapenavigator/types 1.0.5 → 1.0.6

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 (85) hide show
  1. package/dist/cashbox/cashbox.ro.d.ts +1 -1
  2. package/dist/cashbox/create-cashbox.dto.d.ts +1 -1
  3. package/dist/cashbox/update-cashbox.dto.d.ts +1 -1
  4. package/dist/certificate/certificate.ro.d.ts +2 -2
  5. package/dist/certificate/create-certificate.dto.d.ts +2 -2
  6. package/dist/certificate/create-certificate.dto.js +1 -2
  7. package/dist/certificate-sale/create-certificatesale.dto.d.ts +2 -2
  8. package/dist/certificate-sale/create-certificatesale.dto.js +2 -2
  9. package/dist/client/create-client-from-widget.dto.d.ts +1 -1
  10. package/dist/client/create-client-from-widget.dto.js +2 -2
  11. package/dist/order/add-certificate-to-order.dto.d.ts +1 -1
  12. package/dist/order/add-certificate-to-order.dto.js +2 -2
  13. package/dist/order/create-order-from-widget.dto.d.ts +7 -7
  14. package/dist/order/create-order-from-widget.dto.js +5 -5
  15. package/dist/order/create-order.dto.d.ts +2 -2
  16. package/dist/order/create-order.dto.js +2 -3
  17. package/dist/order/order.ro.d.ts +14 -14
  18. package/dist/order/orders-list.ro.d.ts +2 -2
  19. package/dist/order/remove-certificate-from-order.dto.d.ts +1 -1
  20. package/dist/order/remove-certificate-from-order.dto.js +2 -2
  21. package/dist/order/update-order-slot.dto.d.ts +1 -1
  22. package/dist/order/update-order-slot.dto.js +2 -2
  23. package/dist/order-certificate/create-order-certificate.dto.d.ts +2 -2
  24. package/dist/order-certificate/create-order-certificate.dto.js +2 -2
  25. package/dist/order-discount/create-order-discount.dto.d.ts +1 -1
  26. package/dist/order-discount/create-order-discount.dto.js +1 -1
  27. package/dist/order-penalty/create-order-penalty.dto.d.ts +1 -1
  28. package/dist/order-penalty/create-order-penalty.dto.js +1 -1
  29. package/dist/order-upselling/create-order-upselling.dto.d.ts +2 -2
  30. package/dist/order-upselling/create-order-upselling.dto.js +1 -2
  31. package/dist/profile/create-profile.dto.d.ts +0 -2
  32. package/dist/profile/create-profile.dto.js +0 -3
  33. package/dist/profile/update-profile.dto.d.ts +0 -2
  34. package/dist/profile/update-profile.dto.js +0 -3
  35. package/dist/questroom/create-questroom.dto.d.ts +3 -3
  36. package/dist/questroom/create-questroom.dto.js +2 -2
  37. package/dist/questroom/questroom.ro.d.ts +3 -3
  38. package/dist/shared/ro.d.ts +2 -2
  39. package/dist/slot/add-breaks.dto.d.ts +1 -1
  40. package/dist/slot/add-breaks.dto.js +2 -1
  41. package/dist/slot/create-slot.dto.d.ts +2 -2
  42. package/dist/slot/create-slot.dto.js +3 -2
  43. package/dist/slot/get-day-schedule.dto.d.ts +1 -1
  44. package/dist/slot/get-day-schedule.dto.js +0 -1
  45. package/dist/slot/get-week-schedule.dto.d.ts +1 -1
  46. package/dist/slot/get-week-schedule.dto.js +2 -1
  47. package/dist/slot/remove-breaks.dto.d.ts +1 -1
  48. package/dist/slot/remove-breaks.dto.js +2 -1
  49. package/dist/slot/slot.ro.d.ts +3 -3
  50. package/dist/slot/update-slot.dto.d.ts +1 -1
  51. package/dist/slot/widget-slot.ro.d.ts +1 -1
  52. package/dist/slot-template/create-slot-template.dto.d.ts +2 -2
  53. package/dist/slot-template/create-slot-template.dto.js +2 -2
  54. package/dist/slot-template/slot-template-element.d.ts +1 -1
  55. package/dist/slot-template/slot-template.ro.d.ts +1 -1
  56. package/dist/transaction/create-certificate-sale-payment.dto.d.ts +2 -2
  57. package/dist/transaction/create-certificate-sale-payment.dto.js +2 -3
  58. package/dist/transaction/create-certificate-sale-refund.dto.d.ts +2 -2
  59. package/dist/transaction/create-certificate-sale-refund.dto.js +3 -3
  60. package/dist/transaction/create-order-payment.dto.d.ts +2 -2
  61. package/dist/transaction/create-order-payment.dto.js +2 -3
  62. package/dist/transaction/create-order-refund.dto.d.ts +2 -2
  63. package/dist/transaction/create-order-refund.dto.js +3 -3
  64. package/dist/transaction/create-transaction.dto.d.ts +3 -3
  65. package/dist/transaction/create-transaction.dto.js +3 -3
  66. package/dist/tsconfig.build.tsbuildinfo +1 -1
  67. package/dist/upselling/create-upselling.dto.d.ts +1 -1
  68. package/dist/user/create-user.dto.d.ts +1 -1
  69. package/dist/user/update-user.dto.d.ts +2 -2
  70. package/dist/user/update-user.dto.js +1 -1
  71. package/dist/user/user.ro.d.ts +2 -2
  72. package/dist/user-message/create-user-message.dto.d.ts +2 -2
  73. package/dist/user-message/user-message.ro.d.ts +3 -3
  74. package/dist/widget/create-widget.dto.d.ts +3 -3
  75. package/dist/widget/create-widget.dto.js +1 -1
  76. package/dist/widget/widget.ro.d.ts +3 -3
  77. package/package.json +2 -2
  78. package/dist/certificate-sale-comment/create-certificate-sale-comment.dto.d.ts +0 -4
  79. package/dist/certificate-sale-comment/create-certificate-sale-comment.dto.js +0 -22
  80. package/dist/option/create-option.dto.d.ts +0 -8
  81. package/dist/option/create-option.dto.js +0 -40
  82. package/dist/option/option.ro.d.ts +0 -9
  83. package/dist/option/option.ro.js +0 -2
  84. package/dist/option/update-option.dto.d.ts +0 -5
  85. package/dist/option/update-option.dto.js +0 -28
@@ -5,5 +5,5 @@ export declare type CashboxResponseObject = ResponseObject & {
5
5
  type: CashboxTypeEnum;
6
6
  identificator?: string;
7
7
  allLocations: boolean;
8
- locationIds?: string[];
8
+ locationIds?: number[];
9
9
  };
@@ -2,7 +2,7 @@ import { CashboxTypeEnum } from './enum/cashbox-type.enum';
2
2
  export declare class CreateCashboxDto {
3
3
  title: string;
4
4
  allLocations: boolean;
5
- locationIds: string[];
5
+ locationIds: number[];
6
6
  type: CashboxTypeEnum;
7
7
  identificator: string;
8
8
  }
@@ -1,4 +1,4 @@
1
1
  export declare class CreateCashboxDto {
2
2
  allLocations: boolean;
3
- locationIds: string[];
3
+ locationIds: number[];
4
4
  }
@@ -14,7 +14,7 @@ export declare type CertificateResponseObject = ResponseObject & {
14
14
  information?: string;
15
15
  awailableForNavigator: boolean;
16
16
  awailableForWidgets: boolean;
17
- walletId?: string;
17
+ walletId?: number;
18
18
  allQuestrooms: boolean;
19
- questroomsIds?: string[];
19
+ questroomsIds?: number[];
20
20
  };
@@ -13,7 +13,7 @@ export declare class CreateCertificateDto {
13
13
  information: string;
14
14
  awailableForNavigator: boolean;
15
15
  awailableForWidgets: boolean;
16
- walletId: string;
16
+ walletId: number;
17
17
  allQuestrooms: boolean;
18
- questroomsIds: string[];
18
+ questroomsIds: number[];
19
19
  }
@@ -64,8 +64,7 @@ var CreateCertificateDto = /** @class */ (function () {
64
64
  (0, class_validator_1.IsOptional)()
65
65
  ], CreateCertificateDto.prototype, "awailableForWidgets");
66
66
  __decorate([
67
- (0, class_validator_1.IsString)(),
68
- (0, class_validator_1.IsOptional)()
67
+ (0, class_validator_1.IsNumber)()
69
68
  ], CreateCertificateDto.prototype, "walletId");
70
69
  __decorate([
71
70
  (0, class_validator_1.IsBoolean)(),
@@ -2,7 +2,7 @@ import { CertificatesaleSourceEnum } from './enum/certificatesale-source.enum';
2
2
  import { CertificatesaleDeliveryTypeEnum } from './enum/certificatesales-delivery-type.enum';
3
3
  import { CertificatesaleStatusEnum } from './enum/certificatessales-status.enum';
4
4
  export declare class CreateCertificatesaleDto {
5
- certificateId: string;
5
+ certificateId: number;
6
6
  expireDate: number;
7
7
  status: CertificatesaleStatusEnum;
8
8
  annulComment: string;
@@ -17,7 +17,7 @@ export declare class CreateCertificatesaleDto {
17
17
  deliveryComment: string;
18
18
  trackingNumber: string;
19
19
  trackingCompany: string;
20
- clientId: string;
20
+ clientId: number;
21
21
  name: string;
22
22
  phone: string;
23
23
  email: string;
@@ -13,7 +13,7 @@ var CreateCertificatesaleDto = /** @class */ (function () {
13
13
  function CreateCertificatesaleDto() {
14
14
  }
15
15
  __decorate([
16
- (0, is_not_blank_1.IsNotBlank)()
16
+ (0, class_validator_1.IsNumber)()
17
17
  ], CreateCertificatesaleDto.prototype, "certificateId");
18
18
  __decorate([
19
19
  (0, class_validator_1.IsInt)(),
@@ -70,7 +70,7 @@ var CreateCertificatesaleDto = /** @class */ (function () {
70
70
  (0, class_validator_1.IsOptional)()
71
71
  ], CreateCertificatesaleDto.prototype, "trackingCompany");
72
72
  __decorate([
73
- (0, is_not_blank_1.IsNotBlank)()
73
+ (0, class_validator_1.IsNumber)()
74
74
  ], CreateCertificatesaleDto.prototype, "clientId");
75
75
  __decorate([
76
76
  (0, is_not_blank_1.IsNotBlank)()
@@ -1,4 +1,4 @@
1
1
  import { CreateClientDto } from './create-client.dto';
2
2
  export declare class CreateClientFromWidgetDto extends CreateClientDto {
3
- widgetId: string;
3
+ widgetId: number;
4
4
  }
@@ -22,7 +22,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
22
22
  };
23
23
  exports.__esModule = true;
24
24
  exports.CreateClientFromWidgetDto = void 0;
25
- var is_not_blank_1 = require("../shared/is-not-blank");
25
+ var class_validator_1 = require("class-validator");
26
26
  var create_client_dto_1 = require("./create-client.dto");
27
27
  var CreateClientFromWidgetDto = /** @class */ (function (_super) {
28
28
  __extends(CreateClientFromWidgetDto, _super);
@@ -30,7 +30,7 @@ var CreateClientFromWidgetDto = /** @class */ (function (_super) {
30
30
  return _super !== null && _super.apply(this, arguments) || this;
31
31
  }
32
32
  __decorate([
33
- (0, is_not_blank_1.IsNotBlank)()
33
+ (0, class_validator_1.IsNumber)()
34
34
  ], CreateClientFromWidgetDto.prototype, "widgetId");
35
35
  return CreateClientFromWidgetDto;
36
36
  }(create_client_dto_1.CreateClientDto));
@@ -1,3 +1,3 @@
1
1
  export declare class AddCertificateToOrderDto {
2
- certificateId: string;
2
+ certificateId: number;
3
3
  }
@@ -7,12 +7,12 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
7
7
  };
8
8
  exports.__esModule = true;
9
9
  exports.AddCertificateToOrderDto = void 0;
10
- var is_not_blank_1 = require("../shared/is-not-blank");
10
+ var class_validator_1 = require("class-validator");
11
11
  var AddCertificateToOrderDto = /** @class */ (function () {
12
12
  function AddCertificateToOrderDto() {
13
13
  }
14
14
  __decorate([
15
- (0, is_not_blank_1.IsNotBlank)()
15
+ (0, class_validator_1.IsNumber)()
16
16
  ], AddCertificateToOrderDto.prototype, "certificateId");
17
17
  return AddCertificateToOrderDto;
18
18
  }());
@@ -1,12 +1,12 @@
1
1
  export declare class CreateOrderFromWidgetDto {
2
2
  players: number;
3
- slotId: string;
4
- clientId: string;
5
- certificateId?: string;
3
+ slotId: number;
4
+ clientId: number;
5
+ certificateId?: number;
6
6
  clientComment?: string;
7
- upsellings?: {
8
- id: string;
7
+ upsellings?: Array<{
8
+ id: number;
9
9
  sum?: string;
10
- }[];
11
- widgetId: string;
10
+ }>;
11
+ widgetId: number;
12
12
  }
@@ -8,7 +8,6 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
8
8
  exports.__esModule = true;
9
9
  exports.CreateOrderFromWidgetDto = void 0;
10
10
  var class_validator_1 = require("class-validator");
11
- var is_not_blank_1 = require("../shared/is-not-blank");
12
11
  var CreateOrderFromWidgetDto = /** @class */ (function () {
13
12
  function CreateOrderFromWidgetDto() {
14
13
  }
@@ -16,13 +15,14 @@ var CreateOrderFromWidgetDto = /** @class */ (function () {
16
15
  (0, class_validator_1.IsNumber)()
17
16
  ], CreateOrderFromWidgetDto.prototype, "players");
18
17
  __decorate([
19
- (0, is_not_blank_1.IsNotBlank)()
18
+ (0, class_validator_1.IsNumber)()
20
19
  ], CreateOrderFromWidgetDto.prototype, "slotId");
21
20
  __decorate([
22
- (0, is_not_blank_1.IsNotBlank)()
21
+ (0, class_validator_1.IsNumber)()
23
22
  ], CreateOrderFromWidgetDto.prototype, "clientId");
24
23
  __decorate([
25
- (0, class_validator_1.IsOptional)()
24
+ (0, class_validator_1.IsOptional)(),
25
+ (0, class_validator_1.IsNumber)()
26
26
  ], CreateOrderFromWidgetDto.prototype, "certificateId");
27
27
  __decorate([
28
28
  (0, class_validator_1.IsOptional)()
@@ -32,7 +32,7 @@ var CreateOrderFromWidgetDto = /** @class */ (function () {
32
32
  (0, class_validator_1.IsArray)()
33
33
  ], CreateOrderFromWidgetDto.prototype, "upsellings");
34
34
  __decorate([
35
- (0, is_not_blank_1.IsNotBlank)()
35
+ (0, class_validator_1.IsNumber)()
36
36
  ], CreateOrderFromWidgetDto.prototype, "widgetId");
37
37
  return CreateOrderFromWidgetDto;
38
38
  }());
@@ -1,5 +1,5 @@
1
1
  export declare class CreateOrderDto {
2
- slotId: string;
2
+ slotId: number;
3
3
  players: number;
4
- clientId: string;
4
+ clientId: number;
5
5
  }
@@ -8,18 +8,17 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
8
8
  exports.__esModule = true;
9
9
  exports.CreateOrderDto = void 0;
10
10
  var class_validator_1 = require("class-validator");
11
- var is_not_blank_1 = require("../shared/is-not-blank");
12
11
  var CreateOrderDto = /** @class */ (function () {
13
12
  function CreateOrderDto() {
14
13
  }
15
14
  __decorate([
16
- (0, is_not_blank_1.IsNotBlank)()
15
+ (0, class_validator_1.IsNumber)()
17
16
  ], CreateOrderDto.prototype, "slotId");
18
17
  __decorate([
19
18
  (0, class_validator_1.IsNumber)()
20
19
  ], CreateOrderDto.prototype, "players");
21
20
  __decorate([
22
- (0, is_not_blank_1.IsNotBlank)()
21
+ (0, class_validator_1.IsNumber)()
23
22
  ], CreateOrderDto.prototype, "clientId");
24
23
  return CreateOrderDto;
25
24
  }());
@@ -18,57 +18,57 @@ export declare type OrderResponseObject = ResponseObject & {
18
18
  technicalPhotos: string[];
19
19
  source: OrderSourceEnum;
20
20
  client: {
21
- id: string;
21
+ id: number;
22
22
  name: string;
23
23
  surname: string;
24
24
  email: string;
25
25
  phone: string;
26
26
  };
27
27
  questroom: {
28
- id: string;
28
+ id: number;
29
29
  photo: string;
30
30
  title: string;
31
31
  languages: Languages[];
32
32
  };
33
33
  certificates: Array<{
34
- id: string;
34
+ id: number;
35
35
  code: number;
36
36
  sum: number;
37
37
  userId: string;
38
38
  createdAt: Date;
39
39
  }>;
40
40
  upsellings: Array<{
41
- id: string;
41
+ id: number;
42
42
  title: string;
43
43
  sum: number;
44
44
  createdAt: Date;
45
- userId: string;
45
+ userId: number;
46
46
  }>;
47
47
  discounts: Array<{
48
- id: string;
48
+ id: number;
49
49
  reason: string;
50
50
  sum: number;
51
51
  createdAt: Date;
52
- userId: string;
52
+ userId: number;
53
53
  }>;
54
54
  comments: Array<{
55
- id: string;
56
- userId: string;
55
+ id: number;
56
+ userId: number;
57
57
  text: string;
58
58
  createdAt: Date;
59
59
  }>;
60
60
  penalties: Array<{
61
- id: string;
61
+ id: number;
62
62
  reason: string;
63
63
  sum: number;
64
- userId: string;
64
+ userId: number;
65
65
  createdAt: Date;
66
66
  }>;
67
67
  transactions: Array<{
68
- id: string;
69
- cashboxId: string;
68
+ id: number;
69
+ cashboxId: number;
70
70
  sum: number;
71
- userId: string;
71
+ userId: number;
72
72
  createdAt: Date;
73
73
  }>;
74
74
  };
@@ -1,3 +1,3 @@
1
- export declare type OrdersListResponseObject = {
1
+ export declare type OrdersListResponseObject = Array<{
2
2
  questroom: string;
3
- }[];
3
+ }>;
@@ -1,3 +1,3 @@
1
1
  export declare class RemoveCertificateFromOrderDto {
2
- certificateId: string;
2
+ certificateId: number;
3
3
  }
@@ -7,12 +7,12 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
7
7
  };
8
8
  exports.__esModule = true;
9
9
  exports.RemoveCertificateFromOrderDto = void 0;
10
- var is_not_blank_1 = require("../shared/is-not-blank");
10
+ var class_validator_1 = require("class-validator");
11
11
  var RemoveCertificateFromOrderDto = /** @class */ (function () {
12
12
  function RemoveCertificateFromOrderDto() {
13
13
  }
14
14
  __decorate([
15
- (0, is_not_blank_1.IsNotBlank)()
15
+ (0, class_validator_1.IsNumber)()
16
16
  ], RemoveCertificateFromOrderDto.prototype, "certificateId");
17
17
  return RemoveCertificateFromOrderDto;
18
18
  }());
@@ -1,3 +1,3 @@
1
1
  export declare class UpdateOrderSlotDto {
2
- slotId: string;
2
+ slotId: number;
3
3
  }
@@ -7,12 +7,12 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
7
7
  };
8
8
  exports.__esModule = true;
9
9
  exports.UpdateOrderSlotDto = void 0;
10
- var is_not_blank_1 = require("../shared/is-not-blank");
10
+ var class_validator_1 = require("class-validator");
11
11
  var UpdateOrderSlotDto = /** @class */ (function () {
12
12
  function UpdateOrderSlotDto() {
13
13
  }
14
14
  __decorate([
15
- (0, is_not_blank_1.IsNotBlank)()
15
+ (0, class_validator_1.IsNumber)()
16
16
  ], UpdateOrderSlotDto.prototype, "slotId");
17
17
  return UpdateOrderSlotDto;
18
18
  }());
@@ -1,4 +1,4 @@
1
1
  export declare class CreateOrderCertificateDto {
2
- orderId: string;
3
- certificateId: string;
2
+ orderId: number;
3
+ certificateId: number;
4
4
  }
@@ -12,10 +12,10 @@ var CreateOrderCertificateDto = /** @class */ (function () {
12
12
  function CreateOrderCertificateDto() {
13
13
  }
14
14
  __decorate([
15
- (0, class_validator_1.IsNotEmpty)()
15
+ (0, class_validator_1.IsNumber)()
16
16
  ], CreateOrderCertificateDto.prototype, "orderId");
17
17
  __decorate([
18
- (0, class_validator_1.IsNotEmpty)()
18
+ (0, class_validator_1.IsNumber)()
19
19
  ], CreateOrderCertificateDto.prototype, "certificateId");
20
20
  return CreateOrderCertificateDto;
21
21
  }());
@@ -1,5 +1,5 @@
1
1
  export declare class CreateOrderDiscountDto {
2
2
  reason: string;
3
3
  sum: number;
4
- orderId: string;
4
+ orderId: number;
5
5
  }
@@ -18,7 +18,7 @@ var CreateOrderDiscountDto = /** @class */ (function () {
18
18
  (0, class_validator_1.IsNumber)()
19
19
  ], CreateOrderDiscountDto.prototype, "sum");
20
20
  __decorate([
21
- (0, class_validator_1.IsNotEmpty)()
21
+ (0, class_validator_1.IsNumber)()
22
22
  ], CreateOrderDiscountDto.prototype, "orderId");
23
23
  return CreateOrderDiscountDto;
24
24
  }());
@@ -1,5 +1,5 @@
1
1
  export declare class CreateOrderPenaltyDto {
2
2
  reason: string;
3
3
  sum: number;
4
- orderId: string;
4
+ orderId: number;
5
5
  }
@@ -18,7 +18,7 @@ var CreateOrderPenaltyDto = /** @class */ (function () {
18
18
  (0, class_validator_1.IsNumber)()
19
19
  ], CreateOrderPenaltyDto.prototype, "sum");
20
20
  __decorate([
21
- (0, class_validator_1.IsNotEmpty)()
21
+ (0, class_validator_1.IsNumber)()
22
22
  ], CreateOrderPenaltyDto.prototype, "orderId");
23
23
  return CreateOrderPenaltyDto;
24
24
  }());
@@ -1,7 +1,7 @@
1
1
  export declare class CreateOrderUpsellingDto {
2
2
  upsellings: Array<{
3
- id: string;
3
+ id: number;
4
4
  sum?: number;
5
5
  }>;
6
- orderId: string;
6
+ orderId: number;
7
7
  }
@@ -8,7 +8,6 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
8
8
  exports.__esModule = true;
9
9
  exports.CreateOrderUpsellingDto = void 0;
10
10
  var class_validator_1 = require("class-validator");
11
- var is_not_blank_1 = require("../shared/is-not-blank");
12
11
  var CreateOrderUpsellingDto = /** @class */ (function () {
13
12
  function CreateOrderUpsellingDto() {
14
13
  }
@@ -16,7 +15,7 @@ var CreateOrderUpsellingDto = /** @class */ (function () {
16
15
  (0, class_validator_1.IsArray)()
17
16
  ], CreateOrderUpsellingDto.prototype, "upsellings");
18
17
  __decorate([
19
- (0, is_not_blank_1.IsNotBlank)()
18
+ (0, class_validator_1.IsNumber)()
20
19
  ], CreateOrderUpsellingDto.prototype, "orderId");
21
20
  return CreateOrderUpsellingDto;
22
21
  }());
@@ -1,6 +1,5 @@
1
1
  import { CountriesEnum } from '../shared/enum/countries.enum';
2
2
  import { ProfileCurrencyEnum } from './enum/profile-currency';
3
- import { ProfileStatusEnum } from './enum/profile-status.enum';
4
3
  export declare class CreateProfileDto {
5
4
  title: string;
6
5
  legalTitle: string;
@@ -9,7 +8,6 @@ export declare class CreateProfileDto {
9
8
  site: string;
10
9
  address: string;
11
10
  country: CountriesEnum;
12
- status: ProfileStatusEnum;
13
11
  currency: ProfileCurrencyEnum;
14
12
  facebook?: string;
15
13
  instagram?: string;
@@ -33,9 +33,6 @@ var CreateProfileDto = /** @class */ (function () {
33
33
  __decorate([
34
34
  (0, is_not_blank_1.IsNotBlank)()
35
35
  ], CreateProfileDto.prototype, "country");
36
- __decorate([
37
- (0, is_not_blank_1.IsNotBlank)()
38
- ], CreateProfileDto.prototype, "status");
39
36
  __decorate([
40
37
  (0, is_not_blank_1.IsNotBlank)()
41
38
  ], CreateProfileDto.prototype, "currency");
@@ -1,6 +1,5 @@
1
1
  import { CountriesEnum } from '../shared/enum/countries.enum';
2
2
  import { ProfileCurrencyEnum } from './enum/profile-currency';
3
- import { ProfileStatusEnum } from './enum/profile-status.enum';
4
3
  export declare class UpdateProfileDto {
5
4
  title: string;
6
5
  legalTitle: string;
@@ -9,7 +8,6 @@ export declare class UpdateProfileDto {
9
8
  site: string;
10
9
  address: string;
11
10
  country: CountriesEnum;
12
- status: ProfileStatusEnum;
13
11
  currency: ProfileCurrencyEnum;
14
12
  facebook?: string;
15
13
  instagram?: string;
@@ -33,9 +33,6 @@ var UpdateProfileDto = /** @class */ (function () {
33
33
  __decorate([
34
34
  (0, is_not_blank_1.IsNotBlank)()
35
35
  ], UpdateProfileDto.prototype, "country");
36
- __decorate([
37
- (0, is_not_blank_1.IsNotBlank)()
38
- ], UpdateProfileDto.prototype, "status");
39
36
  __decorate([
40
37
  (0, is_not_blank_1.IsNotBlank)()
41
38
  ], UpdateProfileDto.prototype, "currency");
@@ -6,7 +6,7 @@ export declare class CreateQuestroomDto {
6
6
  legend: string;
7
7
  importantInformation: string;
8
8
  defaultLanguage: string;
9
- locationId: string;
9
+ locationId: number;
10
10
  photos: string[];
11
11
  time: number;
12
12
  break: number;
@@ -22,8 +22,8 @@ export declare class CreateQuestroomDto {
22
22
  awailableForNavigator: boolean;
23
23
  awailableForWidgets: boolean;
24
24
  minDaysForFreeCanceling: number;
25
- questroomIds: string[];
26
- walletId: string;
25
+ questroomIds: number[];
26
+ walletId: number;
27
27
  sortPosition: number;
28
28
  company: string;
29
29
  tags: string[];
@@ -31,7 +31,7 @@ var CreateQuestroomDto = /** @class */ (function () {
31
31
  (0, is_not_blank_1.IsNotBlank)()
32
32
  ], CreateQuestroomDto.prototype, "defaultLanguage");
33
33
  __decorate([
34
- (0, is_not_blank_1.IsNotBlank)()
34
+ (0, class_validator_1.IsNumber)()
35
35
  ], CreateQuestroomDto.prototype, "locationId");
36
36
  __decorate([
37
37
  (0, class_validator_1.IsArray)(),
@@ -98,7 +98,7 @@ var CreateQuestroomDto = /** @class */ (function () {
98
98
  (0, class_validator_1.IsOptional)()
99
99
  ], CreateQuestroomDto.prototype, "questroomIds");
100
100
  __decorate([
101
- (0, class_validator_1.IsString)(),
101
+ (0, class_validator_1.IsNumber)(),
102
102
  (0, class_validator_1.IsOptional)()
103
103
  ], CreateQuestroomDto.prototype, "walletId");
104
104
  __decorate([
@@ -23,8 +23,8 @@ export declare type QuestroomResponseObject = ResponseObject & {
23
23
  minDaysForFreeCanceling?: number;
24
24
  awailableForNavigator: boolean;
25
25
  awailableForWidgets: boolean;
26
- questroomIds?: string[];
27
- walletId: string;
28
- locationId: string;
26
+ questroomIds?: number[];
27
+ walletId: number;
28
+ locationId: number;
29
29
  sortPosition: number;
30
30
  };
@@ -1,6 +1,6 @@
1
1
  export declare type ResponseObject = {
2
- id: string;
3
- profileId?: string;
2
+ id: number;
3
+ profileId?: number;
4
4
  createdAt: Date;
5
5
  updatedAt?: Date;
6
6
  deletedAt?: Date;
@@ -1,5 +1,5 @@
1
1
  export declare class AddBreaksDto {
2
- questroomId: string;
2
+ questroomId: number;
3
3
  breakReason: string;
4
4
  date: string;
5
5
  }
@@ -7,12 +7,13 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
7
7
  };
8
8
  exports.__esModule = true;
9
9
  exports.AddBreaksDto = void 0;
10
+ var class_validator_1 = require("class-validator");
10
11
  var is_not_blank_1 = require("../shared/is-not-blank");
11
12
  var AddBreaksDto = /** @class */ (function () {
12
13
  function AddBreaksDto() {
13
14
  }
14
15
  __decorate([
15
- (0, is_not_blank_1.IsNotBlank)()
16
+ (0, class_validator_1.IsNumber)()
16
17
  ], AddBreaksDto.prototype, "questroomId");
17
18
  __decorate([
18
19
  (0, is_not_blank_1.IsNotBlank)()
@@ -2,6 +2,6 @@ export declare class CreateSlotDto {
2
2
  date: string;
3
3
  start: string;
4
4
  end: string;
5
- questroomId: string;
6
- tariffId: string;
5
+ questroomId: number;
6
+ tariffId: number;
7
7
  }
@@ -7,6 +7,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
7
7
  };
8
8
  exports.__esModule = true;
9
9
  exports.CreateSlotDto = void 0;
10
+ var class_validator_1 = require("class-validator");
10
11
  var is_not_blank_1 = require("../shared/is-not-blank");
11
12
  var CreateSlotDto = /** @class */ (function () {
12
13
  function CreateSlotDto() {
@@ -21,10 +22,10 @@ var CreateSlotDto = /** @class */ (function () {
21
22
  (0, is_not_blank_1.IsNotBlank)()
22
23
  ], CreateSlotDto.prototype, "end");
23
24
  __decorate([
24
- (0, is_not_blank_1.IsNotBlank)()
25
+ (0, class_validator_1.IsNumber)()
25
26
  ], CreateSlotDto.prototype, "questroomId");
26
27
  __decorate([
27
- (0, is_not_blank_1.IsNotBlank)()
28
+ (0, class_validator_1.IsNumber)()
28
29
  ], CreateSlotDto.prototype, "tariffId");
29
30
  return CreateSlotDto;
30
31
  }());
@@ -1,4 +1,4 @@
1
1
  export declare class GetDayScheduleDto {
2
- questroomIds: string[];
2
+ questroomIds: number[];
3
3
  date: string;
4
4
  }
@@ -13,7 +13,6 @@ var GetDayScheduleDto = /** @class */ (function () {
13
13
  function GetDayScheduleDto() {
14
14
  }
15
15
  __decorate([
16
- (0, is_not_blank_1.IsNotBlank)(),
17
16
  (0, class_validator_1.IsArray)()
18
17
  ], GetDayScheduleDto.prototype, "questroomIds");
19
18
  __decorate([
@@ -1,4 +1,4 @@
1
1
  export declare class GetWeekScheduleDto {
2
- questroomId: string;
2
+ questroomId: number;
3
3
  date: string;
4
4
  }