@escapenavigator/types 1.4.80 → 1.4.81
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.
- package/dist/bookeo/bookeo-info.ro.d.ts +11 -0
- package/dist/bookeo/bookeo-order.ro.d.ts +15 -0
- package/dist/bookeo/bookeo-weekly-slot.ro.d.ts +9 -0
- package/dist/bookeo/bookeo-weekly-slots.dto.d.ts +4 -0
- package/dist/bookeo/bookeo-weekly-slots.dto.js +27 -0
- package/dist/order/order.ro.d.ts +0 -1
- package/dist/profile/enum/profile-step.enum.d.ts +1 -1
- package/dist/profile/enum/profile-step.enum.js +1 -1
- package/dist/profile/initial-cusomization.dto.d.ts +11 -0
- package/dist/profile/initial-cusomization.dto.js +61 -0
- package/dist/profile/profile.ro.d.ts +1 -1
- package/dist/profile/update-current.dto.d.ts +1 -0
- package/dist/profile/update-current.dto.js +5 -0
- package/dist/questroom/bind-bookeo.dto.d.ts +4 -0
- package/dist/questroom/bind-bookeo.dto.js +27 -0
- package/dist/questroom/enum/questroom-integration-type.enum.d.ts +3 -0
- package/dist/questroom/enum/questroom-integration-type.enum.js +7 -0
- package/dist/questroom/questroom.ro.d.ts +3 -0
- package/dist/slot/slot.ro.d.ts +0 -4
- package/dist/slot/update-min-hours.dto.d.ts +0 -1
- package/dist/slot/update-min-hours.dto.js +0 -6
- package/dist/slot-template/slot-template-element.d.ts +0 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/widget/create-widget.dto.js +2 -1
- package/dist/widget-openapi/openapi-bookeo-order.ro.d.ts +10 -0
- package/dist/widget-openapi/{widget-openapi-certificate-card.ro.d.ts → openapi-certificate-card.ro.d.ts} +1 -1
- package/dist/widget-openapi/{widget-openapi-certificate.ro.d.ts → openapi-certificate.ro.d.ts} +1 -1
- package/dist/widget-openapi/openapi-clinet-form.dto.d.ts +11 -0
- package/dist/widget-openapi/openapi-clinet-form.dto.js +66 -0
- package/dist/widget-openapi/openapi-create-bookeo-order.dto.d.ts +9 -0
- package/dist/widget-openapi/openapi-create-bookeo-order.dto.js +49 -0
- package/dist/widget-openapi/{widget-openapi-create-certificate.dto.d.ts → openapi-create-certificate.dto.d.ts} +1 -1
- package/dist/widget-openapi/{widget-openapi-create-certificate.dto.js → openapi-create-certificate.dto.js} +25 -25
- package/dist/widget-openapi/{widget-openapi-create-client.dto.d.ts → openapi-create-client.dto.d.ts} +1 -1
- package/dist/widget-openapi/{widget-openapi-create-client.dto.js → openapi-create-client.dto.js} +7 -7
- package/dist/widget-openapi/{widget-openapi-create-order.dto.d.ts → openapi-create-order.dto.d.ts} +3 -7
- package/dist/widget-openapi/{widget-openapi-create-order.dto.js → openapi-create-order.dto.js} +16 -41
- package/dist/widget-openapi/{widget-openapi-create-review.dto.d.ts → openapi-create-review.dto.d.ts} +1 -1
- package/dist/widget-openapi/{widget-openapi-create-review.dto.js → openapi-create-review.dto.js} +12 -12
- package/dist/widget-openapi/openapi-day-schedule.dto.d.ts +4 -0
- package/dist/widget-openapi/{widget-openapi-day-schedule.dto.js → openapi-day-schedule.dto.js} +5 -5
- package/dist/widget-openapi/{widget-openapi-find-discount-by-code.dto.d.ts → openapi-find-discount-by-code.dto.d.ts} +1 -1
- package/dist/widget-openapi/{widget-openapi-find-discount-by-code.dto.js → openapi-find-discount-by-code.dto.js} +9 -9
- package/dist/widget-openapi/openapi-find-reviews.dto.d.ts +4 -0
- package/dist/widget-openapi/{widget-openapi-find-reviews.dto.js → openapi-find-reviews.dto.js} +5 -5
- package/dist/widget-openapi/{widget-openapi-finded-certificate.ro.d.ts → openapi-finded-certificate.ro.d.ts} +1 -1
- package/dist/widget-openapi/{widget-openapi-get-widgget-info.dto.d.ts → openapi-get-widgget-info.dto.d.ts} +1 -1
- package/dist/widget-openapi/{widget-openapi-get-widgget-info.dto.js → openapi-get-widgget-info.dto.js} +6 -6
- package/dist/widget-openapi/{widget-openapi-order.ro.d.ts → openapi-order.ro.d.ts} +3 -3
- package/dist/widget-openapi/{widget-openapi-questroom.ro.d.ts → openapi-questroom.ro.d.ts} +1 -1
- package/dist/widget-openapi/openapi-questroom.ro.js +2 -0
- package/dist/widget-openapi/openapi-review.ro.js +2 -0
- package/dist/widget-openapi/openapi-slot-add-hold.dto.d.ts +7 -0
- package/dist/widget-openapi/openapi-slot-add-hold.dto.js +40 -0
- package/dist/widget-openapi/openapi-slot-add-hold.ro.d.ts +6 -0
- package/dist/widget-openapi/openapi-slot-add-hold.ro.js +32 -0
- package/dist/widget-openapi/openapi-slot-get-bookeo-price.dto.d.ts +7 -0
- package/dist/widget-openapi/openapi-slot-get-bookeo-price.dto.js +43 -0
- package/dist/widget-openapi/openapi-slot-get-bookeo-price.ro.d.ts +10 -0
- package/dist/widget-openapi/openapi-slot-get-bookeo-price.ro.js +38 -0
- package/dist/widget-openapi/openapi-slot-remove-hold.dto.d.ts +6 -0
- package/dist/widget-openapi/openapi-slot-remove-hold.dto.js +34 -0
- package/dist/widget-openapi/openapi-slots.ro.d.ts +25 -0
- package/dist/widget-openapi/openapi-slots.ro.js +2 -0
- package/dist/widget-openapi/openapi-week-schedule.dto.d.ts +4 -0
- package/dist/widget-openapi/{widget-openapi-week-schedule.dto.js → openapi-week-schedule.dto.js} +5 -5
- package/dist/widget-openapi/{widget-openapi.ro.d.ts → openapi-widget.ro.d.ts} +6 -5
- package/dist/widget-openapi/openapi-widget.ro.js +2 -0
- package/dist/widget-orders/widget-order.ro.js +2 -1
- package/package.json +2 -2
- package/dist/widget-openapi/widget-openapi-day-schedule.dto.d.ts +0 -4
- package/dist/widget-openapi/widget-openapi-find-reviews.dto.d.ts +0 -4
- package/dist/widget-openapi/widget-openapi-slot.ro.d.ts +0 -22
- package/dist/widget-openapi/widget-openapi-week-schedule.dto.d.ts +0 -4
- /package/dist/{widget-openapi/widget-openapi-certificate-card.ro.js → bookeo/bookeo-info.ro.js} +0 -0
- /package/dist/{widget-openapi/widget-openapi-certificate.ro.js → bookeo/bookeo-order.ro.js} +0 -0
- /package/dist/{widget-openapi/widget-openapi-finded-certificate.ro.js → bookeo/bookeo-weekly-slot.ro.js} +0 -0
- /package/dist/widget-openapi/{widget-openapi-order.ro.js → openapi-bookeo-order.ro.js} +0 -0
- /package/dist/widget-openapi/{widget-openapi-questroom.ro.js → openapi-certificate-card.ro.js} +0 -0
- /package/dist/widget-openapi/{widget-openapi-review.ro.js → openapi-certificate.ro.js} +0 -0
- /package/dist/widget-openapi/{widget-openapi-slot.ro.js → openapi-finded-certificate.ro.js} +0 -0
- /package/dist/widget-openapi/{widget-openapi.ro.js → openapi-order.ro.js} +0 -0
- /package/dist/widget-openapi/{widget-openapi-review.ro.d.ts → openapi-review.ro.d.ts} +0 -0
|
@@ -0,0 +1,27 @@
|
|
|
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.BookeoWeeklySlotsDto = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const is_not_blank_1 = require("../shared/is-not-blank");
|
|
15
|
+
class BookeoWeeklySlotsDto {
|
|
16
|
+
}
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, is_not_blank_1.IsNotBlank)(),
|
|
19
|
+
(0, class_transformer_1.Expose)(),
|
|
20
|
+
__metadata("design:type", String)
|
|
21
|
+
], BookeoWeeklySlotsDto.prototype, "date", void 0);
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, is_not_blank_1.IsNotBlank)(),
|
|
24
|
+
(0, class_transformer_1.Expose)(),
|
|
25
|
+
__metadata("design:type", String)
|
|
26
|
+
], BookeoWeeklySlotsDto.prototype, "productId", void 0);
|
|
27
|
+
exports.BookeoWeeklySlotsDto = BookeoWeeklySlotsDto;
|
package/dist/order/order.ro.d.ts
CHANGED
|
@@ -8,6 +8,6 @@ var ProfileStepEnum;
|
|
|
8
8
|
ProfileStepEnum["NOT_VERIFIED"] = "not_verified";
|
|
9
9
|
ProfileStepEnum["VERIFIED"] = "VERIFIED";
|
|
10
10
|
ProfileStepEnum["NOT_INTEGRATED"] = "not_integrated";
|
|
11
|
-
ProfileStepEnum["
|
|
11
|
+
ProfileStepEnum["INTEGRATED_BOOKEO"] = "integrated_bookeo";
|
|
12
12
|
ProfileStepEnum["CRM"] = "CRM";
|
|
13
13
|
})(ProfileStepEnum = exports.ProfileStepEnum || (exports.ProfileStepEnum = {}));
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { QuestroomCancelationTypeEnum } from '../questroom/enum/questroom-cancelation-type.enum';
|
|
2
|
+
import { PrepaymentTypeEnum } from '../slot/enum/prepayment-type.enum';
|
|
3
|
+
import { WidgetBookingFiledEnum } from '../widget/enum/widget-booking-filed.enum';
|
|
4
|
+
export declare class InitialCustomizationDto {
|
|
5
|
+
prepayment: number;
|
|
6
|
+
prepaymentType: PrepaymentTypeEnum;
|
|
7
|
+
cancelationRule: QuestroomCancelationTypeEnum;
|
|
8
|
+
minHoursForFreeCanceling: number;
|
|
9
|
+
minHoursForBooking: number;
|
|
10
|
+
bookingFields: WidgetBookingFiledEnum[];
|
|
11
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
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.InitialCustomizationDto = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const class_validator_1 = require("class-validator");
|
|
15
|
+
const questroom_cancelation_type_enum_1 = require("../questroom/enum/questroom-cancelation-type.enum");
|
|
16
|
+
const prepayment_type_enum_1 = require("../slot/enum/prepayment-type.enum");
|
|
17
|
+
const widget_booking_filed_enum_1 = require("../widget/enum/widget-booking-filed.enum");
|
|
18
|
+
class InitialCustomizationDto {
|
|
19
|
+
}
|
|
20
|
+
__decorate([
|
|
21
|
+
(0, class_transformer_1.Transform)(({ value }) => (value === undefined ? 50 : value)),
|
|
22
|
+
(0, class_validator_1.ValidateIf)((o) => o.prepaymentType !== prepayment_type_enum_1.PrepaymentTypeEnum.NO),
|
|
23
|
+
(0, class_validator_1.IsPositive)(),
|
|
24
|
+
(0, class_transformer_1.Expose)(),
|
|
25
|
+
__metadata("design:type", Number)
|
|
26
|
+
], InitialCustomizationDto.prototype, "prepayment", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, class_validator_1.IsEnum)(prepayment_type_enum_1.PrepaymentTypeEnum),
|
|
29
|
+
(0, class_transformer_1.Transform)(({ value }) => value || prepayment_type_enum_1.PrepaymentTypeEnum.PERCENT),
|
|
30
|
+
(0, class_transformer_1.Expose)(),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], InitialCustomizationDto.prototype, "prepaymentType", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, class_validator_1.IsEnum)(questroom_cancelation_type_enum_1.QuestroomCancelationTypeEnum),
|
|
35
|
+
(0, class_transformer_1.Transform)(({ value }) => value || questroom_cancelation_type_enum_1.QuestroomCancelationTypeEnum.FULL_PRICE),
|
|
36
|
+
(0, class_transformer_1.Expose)(),
|
|
37
|
+
__metadata("design:type", String)
|
|
38
|
+
], InitialCustomizationDto.prototype, "cancelationRule", void 0);
|
|
39
|
+
__decorate([
|
|
40
|
+
(0, class_transformer_1.Transform)(({ value }) => (value === undefined ? 24 : value)),
|
|
41
|
+
(0, class_validator_1.IsNumber)(),
|
|
42
|
+
(0, class_transformer_1.Expose)(),
|
|
43
|
+
__metadata("design:type", Number)
|
|
44
|
+
], InitialCustomizationDto.prototype, "minHoursForFreeCanceling", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, class_transformer_1.Transform)(({ value }) => (value === undefined ? 48 : value)),
|
|
47
|
+
(0, class_validator_1.IsNumber)(),
|
|
48
|
+
(0, class_transformer_1.Expose)(),
|
|
49
|
+
__metadata("design:type", Number)
|
|
50
|
+
], InitialCustomizationDto.prototype, "minHoursForBooking", void 0);
|
|
51
|
+
__decorate([
|
|
52
|
+
(0, class_validator_1.IsArray)(),
|
|
53
|
+
(0, class_transformer_1.Transform)(({ value }) => ((value === null || value === void 0 ? void 0 : value.length) ? value : [
|
|
54
|
+
widget_booking_filed_enum_1.WidgetBookingFiledEnum.NAME,
|
|
55
|
+
widget_booking_filed_enum_1.WidgetBookingFiledEnum.SURNAME,
|
|
56
|
+
widget_booking_filed_enum_1.WidgetBookingFiledEnum.PHONE,
|
|
57
|
+
])),
|
|
58
|
+
(0, class_transformer_1.Expose)(),
|
|
59
|
+
__metadata("design:type", Array)
|
|
60
|
+
], InitialCustomizationDto.prototype, "bookingFields", void 0);
|
|
61
|
+
exports.InitialCustomizationDto = InitialCustomizationDto;
|
|
@@ -2,6 +2,7 @@ import { Languages } from '../shared/enum/languages.enum';
|
|
|
2
2
|
import { ProfileStepEnum } from './enum/profile-step.enum';
|
|
3
3
|
export declare class UpdateCurrentDto {
|
|
4
4
|
title: string;
|
|
5
|
+
agreementLink: string;
|
|
5
6
|
site: string;
|
|
6
7
|
phoneForCustomers: string;
|
|
7
8
|
mainEmail: string;
|
|
@@ -22,6 +22,11 @@ __decorate([
|
|
|
22
22
|
(0, class_transformer_1.Expose)(),
|
|
23
23
|
__metadata("design:type", String)
|
|
24
24
|
], UpdateCurrentDto.prototype, "title", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, class_validator_1.IsUrl)(),
|
|
27
|
+
(0, class_transformer_1.Expose)(),
|
|
28
|
+
__metadata("design:type", String)
|
|
29
|
+
], UpdateCurrentDto.prototype, "agreementLink", void 0);
|
|
25
30
|
__decorate([
|
|
26
31
|
(0, class_validator_1.IsUrl)(),
|
|
27
32
|
(0, class_transformer_1.Expose)(),
|
|
@@ -0,0 +1,27 @@
|
|
|
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.BindBookeoDto = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const class_validator_1 = require("class-validator");
|
|
15
|
+
class BindBookeoDto {
|
|
16
|
+
}
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_validator_1.IsPositive)(),
|
|
19
|
+
(0, class_transformer_1.Expose)(),
|
|
20
|
+
__metadata("design:type", Number)
|
|
21
|
+
], BindBookeoDto.prototype, "questroomId", void 0);
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, class_validator_1.IsOptional)(),
|
|
24
|
+
(0, class_transformer_1.Expose)(),
|
|
25
|
+
__metadata("design:type", Number)
|
|
26
|
+
], BindBookeoDto.prototype, "bookeoProductId", void 0);
|
|
27
|
+
exports.BindBookeoDto = BindBookeoDto;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.QuestroomIntegrationTypeEnum = void 0;
|
|
4
|
+
var QuestroomIntegrationTypeEnum;
|
|
5
|
+
(function (QuestroomIntegrationTypeEnum) {
|
|
6
|
+
QuestroomIntegrationTypeEnum["BOOKEO"] = "bookeo";
|
|
7
|
+
})(QuestroomIntegrationTypeEnum = exports.QuestroomIntegrationTypeEnum || (exports.QuestroomIntegrationTypeEnum = {}));
|
|
@@ -3,6 +3,7 @@ import { Languages } from '../shared/enum/languages.enum';
|
|
|
3
3
|
import { TagsEnum } from '../shared/enum/tags.enum';
|
|
4
4
|
import { ResponseObject } from '../shared/ro';
|
|
5
5
|
import { QuestroomActorsEnum } from './enum/questroom-actors.enum';
|
|
6
|
+
import { QuestroomIntegrationTypeEnum } from './enum/questroom-integration-type.enum';
|
|
6
7
|
import { QuestroomTypeEnum } from './enum/questroom-type.enum';
|
|
7
8
|
export declare type QuestroomRO = ResponseObject & {
|
|
8
9
|
title: string;
|
|
@@ -41,6 +42,8 @@ export declare type QuestroomRO = ResponseObject & {
|
|
|
41
42
|
reviewsCount: number;
|
|
42
43
|
top: boolean;
|
|
43
44
|
closed: boolean;
|
|
45
|
+
integrationRef: number;
|
|
46
|
+
integrationType: QuestroomIntegrationTypeEnum;
|
|
44
47
|
awailableForNavigator: boolean;
|
|
45
48
|
awailableForWidgets: boolean;
|
|
46
49
|
};
|
package/dist/slot/slot.ro.d.ts
CHANGED
|
@@ -41,10 +41,4 @@ __decorate([
|
|
|
41
41
|
(0, class_transformer_1.Expose)(),
|
|
42
42
|
__metadata("design:type", String)
|
|
43
43
|
], UpdateMinHoursDto.prototype, "endTime", void 0);
|
|
44
|
-
__decorate([
|
|
45
|
-
(0, class_validator_1.IsInt)(),
|
|
46
|
-
(0, class_transformer_1.Transform)(({ value }) => value || 24),
|
|
47
|
-
(0, class_transformer_1.Expose)(),
|
|
48
|
-
__metadata("design:type", Number)
|
|
49
|
-
], UpdateMinHoursDto.prototype, "customMinHours", void 0);
|
|
50
44
|
exports.UpdateMinHoursDto = UpdateMinHoursDto;
|