@escapenavigator/types 1.6.52 → 1.6.53

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.
@@ -11,7 +11,7 @@ export declare class OpenapiSlotRO {
11
11
  date: string;
12
12
  numSeatsAvailable: number;
13
13
  tariff: OpenapiTariffRO;
14
- status: 'bussy' | 'call' | 'free' | 'hold' | 'selected' | 'done';
14
+ status: 'bussy' | 'call' | 'free' | 'hold' | 'selected' | 'done' | 'no-resources';
15
15
  rule: OpenapiBokingRuleRO;
16
16
  privateEvent: boolean;
17
17
  }
@@ -29,6 +29,7 @@ export declare class AdminProfileRO {
29
29
  legalTitle: string;
30
30
  phoneForCustomers: string;
31
31
  logo: string;
32
+ nowEscape: boolean;
32
33
  mainEmail: string;
33
34
  secondaryEmails: string[];
34
35
  site: string;
@@ -102,6 +102,10 @@ __decorate([
102
102
  (0, class_transformer_1.Expose)(),
103
103
  __metadata("design:type", String)
104
104
  ], AdminProfileRO.prototype, "logo", void 0);
105
+ __decorate([
106
+ (0, class_transformer_1.Expose)(),
107
+ __metadata("design:type", Boolean)
108
+ ], AdminProfileRO.prototype, "nowEscape", void 0);
105
109
  __decorate([
106
110
  (0, class_transformer_1.Expose)(),
107
111
  __metadata("design:type", String)
@@ -11,6 +11,7 @@ export declare class CreateProfileDto {
11
11
  site: string;
12
12
  phoneForCustomers: string;
13
13
  logo: string;
14
+ nowEscape: boolean;
14
15
  status: ProfileStatusEnum;
15
16
  mainEmail: string;
16
17
  secondaryEmails: string[];
@@ -56,6 +56,11 @@ __decorate([
56
56
  (0, class_transformer_1.Expose)(),
57
57
  __metadata("design:type", String)
58
58
  ], CreateProfileDto.prototype, "logo", void 0);
59
+ __decorate([
60
+ (0, class_transformer_1.Expose)(),
61
+ (0, class_validator_1.IsOptional)(),
62
+ __metadata("design:type", Boolean)
63
+ ], CreateProfileDto.prototype, "nowEscape", void 0);
59
64
  __decorate([
60
65
  (0, class_validator_1.IsOptional)(),
61
66
  (0, class_validator_1.IsEnum)(profile_step_enum_1.ProfileStatusEnum),
@@ -0,0 +1,5 @@
1
+ export declare class CreateQuestroomResourceDto {
2
+ title: string;
3
+ questroomsIds: number[];
4
+ amount: number;
5
+ }
@@ -0,0 +1,35 @@
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.CreateQuestroomResourceDto = void 0;
13
+ /* eslint-disable max-classes-per-file */
14
+ const class_transformer_1 = require("class-transformer");
15
+ const class_validator_1 = require("class-validator");
16
+ const is_not_blank_1 = require("../shared/is-not-blank");
17
+ class CreateQuestroomResourceDto {
18
+ }
19
+ __decorate([
20
+ (0, is_not_blank_1.IsNotBlank)(),
21
+ (0, class_transformer_1.Expose)(),
22
+ __metadata("design:type", String)
23
+ ], CreateQuestroomResourceDto.prototype, "title", void 0);
24
+ __decorate([
25
+ (0, class_validator_1.IsArray)(),
26
+ (0, class_transformer_1.Expose)(),
27
+ __metadata("design:type", Array)
28
+ ], CreateQuestroomResourceDto.prototype, "questroomsIds", void 0);
29
+ __decorate([
30
+ (0, class_validator_1.IsPositive)(),
31
+ (0, class_validator_1.IsInt)(),
32
+ (0, class_transformer_1.Expose)(),
33
+ __metadata("design:type", Number)
34
+ ], CreateQuestroomResourceDto.prototype, "amount", void 0);
35
+ exports.CreateQuestroomResourceDto = CreateQuestroomResourceDto;
@@ -0,0 +1,6 @@
1
+ export declare class QuestroomResourceRO {
2
+ id: number;
3
+ title: string;
4
+ questroomsIds: number[];
5
+ amount: number;
6
+ }
@@ -0,0 +1,32 @@
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.QuestroomResourceRO = void 0;
13
+ const class_transformer_1 = require("class-transformer");
14
+ class QuestroomResourceRO {
15
+ }
16
+ __decorate([
17
+ (0, class_transformer_1.Expose)(),
18
+ __metadata("design:type", Number)
19
+ ], QuestroomResourceRO.prototype, "id", void 0);
20
+ __decorate([
21
+ (0, class_transformer_1.Expose)(),
22
+ __metadata("design:type", String)
23
+ ], QuestroomResourceRO.prototype, "title", void 0);
24
+ __decorate([
25
+ (0, class_transformer_1.Expose)(),
26
+ __metadata("design:type", Array)
27
+ ], QuestroomResourceRO.prototype, "questroomsIds", void 0);
28
+ __decorate([
29
+ (0, class_transformer_1.Expose)(),
30
+ __metadata("design:type", Number)
31
+ ], QuestroomResourceRO.prototype, "amount", void 0);
32
+ exports.QuestroomResourceRO = QuestroomResourceRO;
@@ -10,7 +10,7 @@ export declare type SlotRO = {
10
10
  date: string;
11
11
  covered: boolean;
12
12
  start: string;
13
- status: 'free' | 'bussy' | 'call' | 'hold';
13
+ status: 'free' | 'bussy' | 'call' | 'hold' | 'no-resources';
14
14
  end: string;
15
15
  breakReason: string | null;
16
16
  rule: {
@@ -9,7 +9,7 @@ export declare type GeneralStatiscticsRO = {
9
9
  }>;
10
10
  newBookingsByQuestroomAndDate: Array<{
11
11
  name: string;
12
- } & Record<number, number>>;
12
+ } & Record<string, number>>;
13
13
  newBookingsStructure: Array<{
14
14
  name: string;
15
15
  widget: number;
@@ -24,7 +24,7 @@ export declare type GeneralStatiscticsRO = {
24
24
  };
25
25
  newCertificatesByDate: Array<{
26
26
  name: string;
27
- } & Record<number, number>>;
27
+ } & Record<string, number>>;
28
28
  playedBookings: {
29
29
  count: number;
30
30
  revenue: number;
@@ -5,7 +5,7 @@ export declare type RevenueStatiscticsRO = {
5
5
  }>;
6
6
  revenue: Array<{
7
7
  name: string;
8
- orders: number;
9
- certificates: number;
8
+ Orders: number;
9
+ Certificates: number;
10
10
  }>;
11
11
  };