@escapenavigator/types 1.10.87 → 1.10.89

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.
@@ -26,6 +26,8 @@ export declare class ClientRO extends RO {
26
26
  ordersCount: number;
27
27
  certificatesCount: number;
28
28
  blockedDate?: string;
29
+ blockedReason?: string;
30
+ hasComplaint?: boolean;
29
31
  previousData: PrevData[];
30
32
  parent: ParentRO;
31
33
  prevOrders?: any;
@@ -108,6 +108,14 @@ __decorate([
108
108
  (0, class_transformer_1.Expose)(),
109
109
  __metadata("design:type", String)
110
110
  ], ClientRO.prototype, "blockedDate", void 0);
111
+ __decorate([
112
+ (0, class_transformer_1.Expose)(),
113
+ __metadata("design:type", String)
114
+ ], ClientRO.prototype, "blockedReason", void 0);
115
+ __decorate([
116
+ (0, class_transformer_1.Expose)(),
117
+ __metadata("design:type", Boolean)
118
+ ], ClientRO.prototype, "hasComplaint", void 0);
111
119
  __decorate([
112
120
  (0, class_transformer_1.Expose)(),
113
121
  (0, class_transformer_1.Type)(() => PrevData),
@@ -0,0 +1,5 @@
1
+ export declare class CreateComplaintDto {
2
+ clientId: number;
3
+ reason: string;
4
+ blockClient?: boolean;
5
+ }
@@ -0,0 +1,34 @@
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.CreateComplaintDto = void 0;
13
+ const class_transformer_1 = require("class-transformer");
14
+ const class_validator_1 = require("class-validator");
15
+ class CreateComplaintDto {
16
+ }
17
+ __decorate([
18
+ (0, class_validator_1.IsPositive)(),
19
+ (0, class_validator_1.IsNumber)(),
20
+ (0, class_transformer_1.Expose)(),
21
+ __metadata("design:type", Number)
22
+ ], CreateComplaintDto.prototype, "clientId", void 0);
23
+ __decorate([
24
+ (0, class_validator_1.IsNotEmpty)(),
25
+ (0, class_transformer_1.Expose)(),
26
+ __metadata("design:type", String)
27
+ ], CreateComplaintDto.prototype, "reason", void 0);
28
+ __decorate([
29
+ (0, class_validator_1.IsOptional)(),
30
+ (0, class_validator_1.IsBoolean)(),
31
+ (0, class_transformer_1.Expose)(),
32
+ __metadata("design:type", Boolean)
33
+ ], CreateComplaintDto.prototype, "blockClient", void 0);
34
+ exports.CreateComplaintDto = CreateComplaintDto;
@@ -0,0 +1,3 @@
1
+ export declare class OpenapiConfirmWithoutPaymentManyDto {
2
+ tokens: string[];
3
+ }
@@ -0,0 +1,24 @@
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.OpenapiConfirmWithoutPaymentManyDto = void 0;
13
+ const class_transformer_1 = require("class-transformer");
14
+ const class_validator_1 = require("class-validator");
15
+ class OpenapiConfirmWithoutPaymentManyDto {
16
+ }
17
+ __decorate([
18
+ (0, class_validator_1.IsArray)(),
19
+ (0, class_validator_1.ArrayNotEmpty)(),
20
+ (0, class_validator_1.IsString)({ each: true }),
21
+ (0, class_transformer_1.Expose)(),
22
+ __metadata("design:type", Array)
23
+ ], OpenapiConfirmWithoutPaymentManyDto.prototype, "tokens", void 0);
24
+ exports.OpenapiConfirmWithoutPaymentManyDto = OpenapiConfirmWithoutPaymentManyDto;
@@ -50,6 +50,7 @@ export declare class OpenapiOrderRO extends QuestroomRow {
50
50
  players: number;
51
51
  children: number;
52
52
  utcDate: string;
53
+ mode: string;
53
54
  client: OpenapiClientRO;
54
55
  token: string;
55
56
  currency: ProfileCurrencyEnum;
@@ -166,6 +166,10 @@ __decorate([
166
166
  (0, class_transformer_1.Expose)(),
167
167
  __metadata("design:type", String)
168
168
  ], OpenapiOrderRO.prototype, "utcDate", void 0);
169
+ __decorate([
170
+ (0, class_transformer_1.Expose)(),
171
+ __metadata("design:type", String)
172
+ ], OpenapiOrderRO.prototype, "mode", void 0);
169
173
  __decorate([
170
174
  (0, class_transformer_1.Expose)(),
171
175
  (0, class_transformer_1.Type)(() => openapi_client_ro_1.OpenapiClientRO),
@@ -34,7 +34,6 @@ export declare const transformQuestroom: ({ value, language, }: {
34
34
  modes: Mode[];
35
35
  minAge: number;
36
36
  flexPlayersSelect: boolean;
37
- canBookFewSlots?: boolean;
38
37
  };
39
38
  declare class QuestroomLocale {
40
39
  title: string;
@@ -84,7 +83,6 @@ export declare class OpenapiQuestroomRO {
84
83
  location: Location;
85
84
  locales: QuestroomLocale[];
86
85
  flexPlayersSelect: boolean;
87
- canBookFewSlots?: boolean;
88
86
  }
89
87
  export declare class QuestroomRow {
90
88
  questroom: OpenapiQuestroomRO;
@@ -205,10 +205,6 @@ __decorate([
205
205
  (0, class_transformer_1.Expose)(),
206
206
  __metadata("design:type", Boolean)
207
207
  ], OpenapiQuestroomRO.prototype, "flexPlayersSelect", void 0);
208
- __decorate([
209
- (0, class_transformer_1.Expose)(),
210
- __metadata("design:type", Boolean)
211
- ], OpenapiQuestroomRO.prototype, "canBookFewSlots", void 0);
212
208
  exports.OpenapiQuestroomRO = OpenapiQuestroomRO;
213
209
  class QuestroomRow {
214
210
  }
@@ -40,6 +40,7 @@ declare class Profile {
40
40
  bookingFields: WidgetBookingFiledEnum[];
41
41
  agreementLink: string;
42
42
  availableLanguages: Languages[];
43
+ canBookFewSlots: boolean;
43
44
  language: Languages;
44
45
  currency?: ProfileCurrencyEnum;
45
46
  }
@@ -122,6 +122,10 @@ __decorate([
122
122
  (0, class_transformer_1.Expose)(),
123
123
  __metadata("design:type", Array)
124
124
  ], Profile.prototype, "availableLanguages", void 0);
125
+ __decorate([
126
+ (0, class_transformer_1.Expose)(),
127
+ __metadata("design:type", Boolean)
128
+ ], Profile.prototype, "canBookFewSlots", void 0);
125
129
  __decorate([
126
130
  (0, class_transformer_1.Expose)(),
127
131
  __metadata("design:type", String)
@@ -37,11 +37,13 @@ export declare class AdminProfileRO {
37
37
  title: string;
38
38
  timeZone: string;
39
39
  legalTitle: string;
40
- inn: string;
40
+ legalTaxId: string;
41
+ ogrn: string;
41
42
  phoneForCustomers: string;
42
43
  logo: string;
43
44
  tags: ProfileTagEnum[];
44
45
  nowEscape: boolean;
46
+ canBookFewSlots: boolean;
45
47
  mainEmail: string;
46
48
  secondaryEmails: string[];
47
49
  site: string;
@@ -127,7 +127,11 @@ __decorate([
127
127
  __decorate([
128
128
  (0, class_transformer_1.Expose)(),
129
129
  __metadata("design:type", String)
130
- ], AdminProfileRO.prototype, "inn", void 0);
130
+ ], AdminProfileRO.prototype, "legalTaxId", void 0);
131
+ __decorate([
132
+ (0, class_transformer_1.Expose)(),
133
+ __metadata("design:type", String)
134
+ ], AdminProfileRO.prototype, "ogrn", void 0);
131
135
  __decorate([
132
136
  (0, class_transformer_1.Expose)(),
133
137
  __metadata("design:type", String)
@@ -144,6 +148,10 @@ __decorate([
144
148
  (0, class_transformer_1.Expose)(),
145
149
  __metadata("design:type", Boolean)
146
150
  ], AdminProfileRO.prototype, "nowEscape", void 0);
151
+ __decorate([
152
+ (0, class_transformer_1.Expose)(),
153
+ __metadata("design:type", Boolean)
154
+ ], AdminProfileRO.prototype, "canBookFewSlots", void 0);
147
155
  __decorate([
148
156
  (0, class_transformer_1.Expose)(),
149
157
  __metadata("design:type", String)
@@ -4,7 +4,8 @@ import { ProfileCurrencyEnum } from './enum/profile-currency';
4
4
  export type AgregatorProfileRO = ResponseObject & {
5
5
  title: string;
6
6
  legalTitle: string;
7
- inn: string;
7
+ legalTaxId: string;
8
+ ogrn: string;
8
9
  logo?: string;
9
10
  language: Languages;
10
11
  currency: ProfileCurrencyEnum;
@@ -22,13 +22,15 @@ export declare class CreateProfileDto {
22
22
  phoneForCustomers: string;
23
23
  logo: string;
24
24
  nowEscape: boolean;
25
+ canBookFewSlots: boolean;
25
26
  status: ProfileStatusEnum;
26
27
  mainEmail: string;
27
28
  secondaryEmails: string[];
28
29
  tags: ProfileTagEnum[];
29
30
  legalTitle: string;
30
31
  loyalty: ProfileLoyaltyEnum;
31
- inn: string;
32
+ legalTaxId: string;
33
+ ogrn: string;
32
34
  instagram?: string;
33
35
  facebook?: string;
34
36
  availableLanguages: Languages[];
@@ -86,6 +86,11 @@ __decorate([
86
86
  (0, class_validator_1.IsOptional)(),
87
87
  __metadata("design:type", Boolean)
88
88
  ], CreateProfileDto.prototype, "nowEscape", void 0);
89
+ __decorate([
90
+ (0, class_validator_1.IsOptional)(),
91
+ (0, class_transformer_1.Expose)(),
92
+ __metadata("design:type", Boolean)
93
+ ], CreateProfileDto.prototype, "canBookFewSlots", void 0);
89
94
  __decorate([
90
95
  (0, class_validator_1.IsOptional)(),
91
96
  (0, class_validator_1.IsEnum)(profile_step_enum_1.ProfileStatusEnum),
@@ -123,7 +128,12 @@ __decorate([
123
128
  (0, class_validator_1.IsOptional)(),
124
129
  (0, class_transformer_1.Expose)(),
125
130
  __metadata("design:type", String)
126
- ], CreateProfileDto.prototype, "inn", void 0);
131
+ ], CreateProfileDto.prototype, "legalTaxId", void 0);
132
+ __decorate([
133
+ (0, class_validator_1.IsOptional)(),
134
+ (0, class_transformer_1.Expose)(),
135
+ __metadata("design:type", String)
136
+ ], CreateProfileDto.prototype, "ogrn", void 0);
127
137
  __decorate([
128
138
  (0, class_validator_1.IsOptional)(),
129
139
  (0, class_validator_1.IsString)(),
@@ -4,5 +4,7 @@ export declare enum NotificationTriggerEnum {
4
4
  CANCEL_ORDER = "cancel-order",
5
5
  ASSIGNMENTS = "assigments",
6
6
  CERTIFICATE_SALES = "certificate-sale",
7
- UNASSIGNMENTS = "unassigments"
7
+ UNASSIGNMENTS = "unassigments",
8
+ /** Оплата игры через orders (orders.escapenavigator) */
9
+ ORDER_PAID_VIA_ORDERS = "order-paid-via-orders"
8
10
  }
@@ -9,4 +9,6 @@ var NotificationTriggerEnum;
9
9
  NotificationTriggerEnum["ASSIGNMENTS"] = "assigments";
10
10
  NotificationTriggerEnum["CERTIFICATE_SALES"] = "certificate-sale";
11
11
  NotificationTriggerEnum["UNASSIGNMENTS"] = "unassigments";
12
+ /** Оплата игры через orders (orders.escapenavigator) */
13
+ NotificationTriggerEnum["ORDER_PAID_VIA_ORDERS"] = "order-paid-via-orders";
12
14
  })(NotificationTriggerEnum = exports.NotificationTriggerEnum || (exports.NotificationTriggerEnum = {}));