@escapenavigator/types 1.6.31 → 1.6.33
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/agb/agb-type.enum.d.ts +3 -2
- package/dist/agb/agb-type.enum.js +2 -1
- package/dist/emails/index.d.ts +5 -2
- package/dist/log/log-title.enum.d.ts +8 -10
- package/dist/log/log-title.enum.js +8 -10
- package/dist/openapi/certificates/openapi-create-certificate-sale.dto.d.ts +1 -0
- package/dist/openapi/certificates/openapi-create-certificate-sale.dto.js +5 -0
- package/dist/openapi/widget/openapi-widget-info.ro.d.ts +5 -0
- package/dist/openapi/widget/openapi-widget-info.ro.js +20 -0
- package/dist/order/enum/order-status.enum.d.ts +3 -2
- package/dist/order/enum/order-status.enum.js +2 -1
- package/dist/order/order.ro.d.ts +9 -0
- package/dist/order/order.ro.js +33 -1
- package/dist/order/query-order.dto.d.ts +1 -0
- package/dist/order/query-order.dto.js +5 -0
- package/dist/order/update-order.dto.d.ts +1 -0
- package/dist/order/update-order.dto.js +5 -0
- package/dist/order/update-participants.dto.d.ts +10 -0
- package/dist/order/update-participants.dto.js +49 -0
- package/dist/profile/admin-profile.ro.d.ts +1 -0
- package/dist/profile/admin-profile.ro.js +4 -0
- package/dist/profile/create-profile.dto.d.ts +2 -0
- package/dist/profile/create-profile.dto.js +6 -0
- package/dist/profile/cross-sale/cross-sale.dto.d.ts +6 -1
- package/dist/profile/cross-sale/cross-sale.dto.js +27 -4
- package/dist/profile/cross-sale/cross-sale.ro.d.ts +15 -8
- package/dist/profile/cross-sale/cross-sale.ro.js +57 -0
- package/dist/profile/cross-sale/crossale-discount-type.enum.d.ts +5 -0
- package/dist/profile/cross-sale/crossale-discount-type.enum.js +9 -0
- package/dist/profile/onboarding-steps.ro.d.ts +8 -0
- package/dist/profile/onboarding-steps.ro.js +37 -0
- package/dist/profile/profile.ro.d.ts +4 -0
- package/dist/profile/profile.ro.js +16 -0
- package/dist/profile/update-current.dto.d.ts +4 -0
- package/dist/profile/update-current.dto.js +20 -0
- package/dist/promocode/promocode.ro.d.ts +4 -3
- package/dist/promocode/promocode.ro.js +80 -0
- package/dist/role/role.ro.d.ts +3 -3
- package/dist/role/role.ro.js +79 -0
- package/dist/translation/edit-all-translation-loacales.dto.d.ts +0 -1
- package/dist/translation/edit-all-translation-loacales.dto.js +0 -5
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/user/crud/user.ro.d.ts +7 -3
- package/dist/user/crud/user.ro.js +88 -0
- package/dist/user/current/current-user.ro.d.ts +9 -8
- package/dist/user/current/current-user.ro.js +57 -0
- package/dist/user/current/update-current-user.dto.d.ts +2 -0
- package/dist/user/current/update-current-user.dto.js +5 -0
- package/dist/widget/create-widget.dto.d.ts +3 -0
- package/dist/widget/create-widget.dto.js +15 -0
- package/dist/widget/widget.ro.d.ts +3 -0
- package/package.json +2 -2
|
@@ -0,0 +1,37 @@
|
|
|
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.OnboardingStepsRO = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const crm_verifiaction_enum_1 = require("./enum/crm-verifiaction.enum");
|
|
15
|
+
class OnboardingStepsRO {
|
|
16
|
+
}
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_transformer_1.Expose)(),
|
|
19
|
+
__metadata("design:type", Boolean)
|
|
20
|
+
], OnboardingStepsRO.prototype, "schedule", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, class_transformer_1.Expose)(),
|
|
23
|
+
__metadata("design:type", Boolean)
|
|
24
|
+
], OnboardingStepsRO.prototype, "bookingSettings", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, class_transformer_1.Expose)(),
|
|
27
|
+
__metadata("design:type", Boolean)
|
|
28
|
+
], OnboardingStepsRO.prototype, "paymentMethods", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, class_transformer_1.Expose)(),
|
|
31
|
+
__metadata("design:type", Boolean)
|
|
32
|
+
], OnboardingStepsRO.prototype, "widgets", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, class_transformer_1.Expose)(),
|
|
35
|
+
__metadata("design:type", String)
|
|
36
|
+
], OnboardingStepsRO.prototype, "crmVerification", void 0);
|
|
37
|
+
exports.OnboardingStepsRO = OnboardingStepsRO;
|
|
@@ -8,6 +8,10 @@ import { ProfileStatusEnum } from './enum/profile-step.enum';
|
|
|
8
8
|
import { ProfileSubscriptionTypeEnum } from './enum/profile-subscription-type.enum';
|
|
9
9
|
import { ProfileSubscriptionEnum } from './enum/profile-subscription.enum';
|
|
10
10
|
export declare class ProfileRO {
|
|
11
|
+
gaEnabled: boolean;
|
|
12
|
+
ga4Id: string;
|
|
13
|
+
gaCoversationId: string;
|
|
14
|
+
gaCoversationLabel: string;
|
|
11
15
|
partnerProgram: PartnerProgramEnum;
|
|
12
16
|
crmVerification: CrmVerificationEnum;
|
|
13
17
|
subscriptionStatus: ProfileSubscriptionEnum;
|
|
@@ -22,6 +22,22 @@ const profile_subscription_type_enum_1 = require("./enum/profile-subscription-ty
|
|
|
22
22
|
const profile_subscription_enum_1 = require("./enum/profile-subscription.enum");
|
|
23
23
|
class ProfileRO {
|
|
24
24
|
}
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, class_transformer_1.Expose)(),
|
|
27
|
+
__metadata("design:type", Boolean)
|
|
28
|
+
], ProfileRO.prototype, "gaEnabled", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, class_transformer_1.Expose)(),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], ProfileRO.prototype, "ga4Id", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, class_transformer_1.Expose)(),
|
|
35
|
+
__metadata("design:type", String)
|
|
36
|
+
], ProfileRO.prototype, "gaCoversationId", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, class_transformer_1.Expose)(),
|
|
39
|
+
__metadata("design:type", String)
|
|
40
|
+
], ProfileRO.prototype, "gaCoversationLabel", void 0);
|
|
25
41
|
__decorate([
|
|
26
42
|
(0, class_transformer_1.Expose)(),
|
|
27
43
|
__metadata("design:type", String)
|
|
@@ -69,4 +69,24 @@ __decorate([
|
|
|
69
69
|
(0, class_transformer_1.Expose)(),
|
|
70
70
|
__metadata("design:type", String)
|
|
71
71
|
], UpdateCurrentDto.prototype, "language", void 0);
|
|
72
|
+
__decorate([
|
|
73
|
+
(0, class_validator_1.IsOptional)(),
|
|
74
|
+
(0, class_transformer_1.Expose)(),
|
|
75
|
+
__metadata("design:type", Boolean)
|
|
76
|
+
], UpdateCurrentDto.prototype, "gaEnabled", void 0);
|
|
77
|
+
__decorate([
|
|
78
|
+
(0, class_validator_1.IsOptional)(),
|
|
79
|
+
(0, class_transformer_1.Expose)(),
|
|
80
|
+
__metadata("design:type", String)
|
|
81
|
+
], UpdateCurrentDto.prototype, "ga4Id", void 0);
|
|
82
|
+
__decorate([
|
|
83
|
+
(0, class_validator_1.IsOptional)(),
|
|
84
|
+
(0, class_transformer_1.Expose)(),
|
|
85
|
+
__metadata("design:type", String)
|
|
86
|
+
], UpdateCurrentDto.prototype, "gaCoversationId", void 0);
|
|
87
|
+
__decorate([
|
|
88
|
+
(0, class_validator_1.IsOptional)(),
|
|
89
|
+
(0, class_transformer_1.Expose)(),
|
|
90
|
+
__metadata("design:type", String)
|
|
91
|
+
], UpdateCurrentDto.prototype, "gaCoversationLabel", void 0);
|
|
72
92
|
exports.UpdateCurrentDto = UpdateCurrentDto;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { RO } from '../shared/ro-class';
|
|
2
2
|
import { PromocodeTypeEnum } from './emun/promocode-type.enum';
|
|
3
|
-
export declare
|
|
3
|
+
export declare class PromocodeRO extends RO {
|
|
4
4
|
code: string;
|
|
5
5
|
description: string;
|
|
6
6
|
type: PromocodeTypeEnum;
|
|
7
7
|
multiple: boolean;
|
|
8
|
+
crossSale: boolean;
|
|
8
9
|
canUseWithOtherPromocodes: boolean;
|
|
9
10
|
canUseWithOtherCertificates: boolean;
|
|
10
11
|
inside: boolean;
|
|
@@ -16,4 +17,4 @@ export declare type PromocodeRO = ResponseObject & {
|
|
|
16
17
|
applyings: number;
|
|
17
18
|
allQuestrooms: boolean;
|
|
18
19
|
questroomsIds: number[];
|
|
19
|
-
}
|
|
20
|
+
}
|
|
@@ -1,2 +1,82 @@
|
|
|
1
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
|
+
};
|
|
2
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.PromocodeRO = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const ro_class_1 = require("../shared/ro-class");
|
|
15
|
+
const promocode_type_enum_1 = require("./emun/promocode-type.enum");
|
|
16
|
+
class PromocodeRO extends ro_class_1.RO {
|
|
17
|
+
}
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, class_transformer_1.Expose)(),
|
|
20
|
+
__metadata("design:type", String)
|
|
21
|
+
], PromocodeRO.prototype, "code", void 0);
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, class_transformer_1.Expose)(),
|
|
24
|
+
__metadata("design:type", String)
|
|
25
|
+
], PromocodeRO.prototype, "description", void 0);
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, class_transformer_1.Expose)(),
|
|
28
|
+
__metadata("design:type", String)
|
|
29
|
+
], PromocodeRO.prototype, "type", void 0);
|
|
30
|
+
__decorate([
|
|
31
|
+
(0, class_transformer_1.Expose)(),
|
|
32
|
+
__metadata("design:type", Boolean)
|
|
33
|
+
], PromocodeRO.prototype, "multiple", void 0);
|
|
34
|
+
__decorate([
|
|
35
|
+
(0, class_transformer_1.Expose)(),
|
|
36
|
+
__metadata("design:type", Boolean)
|
|
37
|
+
], PromocodeRO.prototype, "crossSale", void 0);
|
|
38
|
+
__decorate([
|
|
39
|
+
(0, class_transformer_1.Expose)(),
|
|
40
|
+
__metadata("design:type", Boolean)
|
|
41
|
+
], PromocodeRO.prototype, "canUseWithOtherPromocodes", void 0);
|
|
42
|
+
__decorate([
|
|
43
|
+
(0, class_transformer_1.Expose)(),
|
|
44
|
+
__metadata("design:type", Boolean)
|
|
45
|
+
], PromocodeRO.prototype, "canUseWithOtherCertificates", void 0);
|
|
46
|
+
__decorate([
|
|
47
|
+
(0, class_transformer_1.Expose)(),
|
|
48
|
+
__metadata("design:type", Boolean)
|
|
49
|
+
], PromocodeRO.prototype, "inside", void 0);
|
|
50
|
+
__decorate([
|
|
51
|
+
(0, class_transformer_1.Expose)(),
|
|
52
|
+
__metadata("design:type", String)
|
|
53
|
+
], PromocodeRO.prototype, "validFrom", void 0);
|
|
54
|
+
__decorate([
|
|
55
|
+
(0, class_transformer_1.Expose)(),
|
|
56
|
+
__metadata("design:type", String)
|
|
57
|
+
], PromocodeRO.prototype, "validTo", void 0);
|
|
58
|
+
__decorate([
|
|
59
|
+
(0, class_transformer_1.Expose)(),
|
|
60
|
+
__metadata("design:type", String)
|
|
61
|
+
], PromocodeRO.prototype, "forOrdersFrom", void 0);
|
|
62
|
+
__decorate([
|
|
63
|
+
(0, class_transformer_1.Expose)(),
|
|
64
|
+
__metadata("design:type", String)
|
|
65
|
+
], PromocodeRO.prototype, "forOrdersTo", void 0);
|
|
66
|
+
__decorate([
|
|
67
|
+
(0, class_transformer_1.Expose)(),
|
|
68
|
+
__metadata("design:type", Number)
|
|
69
|
+
], PromocodeRO.prototype, "discount", void 0);
|
|
70
|
+
__decorate([
|
|
71
|
+
(0, class_transformer_1.Expose)(),
|
|
72
|
+
__metadata("design:type", Number)
|
|
73
|
+
], PromocodeRO.prototype, "applyings", void 0);
|
|
74
|
+
__decorate([
|
|
75
|
+
(0, class_transformer_1.Expose)(),
|
|
76
|
+
__metadata("design:type", Boolean)
|
|
77
|
+
], PromocodeRO.prototype, "allQuestrooms", void 0);
|
|
78
|
+
__decorate([
|
|
79
|
+
(0, class_transformer_1.Expose)(),
|
|
80
|
+
__metadata("design:type", Array)
|
|
81
|
+
], PromocodeRO.prototype, "questroomsIds", void 0);
|
|
82
|
+
exports.PromocodeRO = PromocodeRO;
|
package/dist/role/role.ro.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare
|
|
1
|
+
import { RO } from '../shared/ro-class';
|
|
2
|
+
export declare class RoleRO extends RO {
|
|
3
3
|
title: string;
|
|
4
4
|
totalAccess: boolean;
|
|
5
5
|
canEditUsersAccessAndTime: boolean;
|
|
@@ -16,4 +16,4 @@ export declare type RoleRO = ResponseObject & {
|
|
|
16
16
|
canAddRefunds: boolean;
|
|
17
17
|
canEditModerators: boolean;
|
|
18
18
|
canEditSchedule: boolean;
|
|
19
|
-
}
|
|
19
|
+
}
|
package/dist/role/role.ro.js
CHANGED
|
@@ -1,2 +1,81 @@
|
|
|
1
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
|
+
};
|
|
2
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.RoleRO = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const ro_class_1 = require("../shared/ro-class");
|
|
15
|
+
class RoleRO extends ro_class_1.RO {
|
|
16
|
+
}
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_transformer_1.Expose)(),
|
|
19
|
+
__metadata("design:type", String)
|
|
20
|
+
], RoleRO.prototype, "title", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, class_transformer_1.Expose)(),
|
|
23
|
+
__metadata("design:type", Boolean)
|
|
24
|
+
], RoleRO.prototype, "totalAccess", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, class_transformer_1.Expose)(),
|
|
27
|
+
__metadata("design:type", Boolean)
|
|
28
|
+
], RoleRO.prototype, "canEditUsersAccessAndTime", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, class_transformer_1.Expose)(),
|
|
31
|
+
__metadata("design:type", Boolean)
|
|
32
|
+
], RoleRO.prototype, "accessToClientsSection", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, class_transformer_1.Expose)(),
|
|
35
|
+
__metadata("design:type", Boolean)
|
|
36
|
+
], RoleRO.prototype, "accessToMarketingSection", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, class_transformer_1.Expose)(),
|
|
39
|
+
__metadata("design:type", Boolean)
|
|
40
|
+
], RoleRO.prototype, "accessToFinanceSection", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, class_transformer_1.Expose)(),
|
|
43
|
+
__metadata("design:type", Boolean)
|
|
44
|
+
], RoleRO.prototype, "accessToStatisticSection", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, class_transformer_1.Expose)(),
|
|
47
|
+
__metadata("design:type", Boolean)
|
|
48
|
+
], RoleRO.prototype, "accessToSettingsSection", void 0);
|
|
49
|
+
__decorate([
|
|
50
|
+
(0, class_transformer_1.Expose)(),
|
|
51
|
+
__metadata("design:type", Boolean)
|
|
52
|
+
], RoleRO.prototype, "accessToOrdersSection", void 0);
|
|
53
|
+
__decorate([
|
|
54
|
+
(0, class_transformer_1.Expose)(),
|
|
55
|
+
__metadata("design:type", Boolean)
|
|
56
|
+
], RoleRO.prototype, "canAlwaysEditOrders", void 0);
|
|
57
|
+
__decorate([
|
|
58
|
+
(0, class_transformer_1.Expose)(),
|
|
59
|
+
__metadata("design:type", Boolean)
|
|
60
|
+
], RoleRO.prototype, "canEditWorkedHours", void 0);
|
|
61
|
+
__decorate([
|
|
62
|
+
(0, class_transformer_1.Expose)(),
|
|
63
|
+
__metadata("design:type", Boolean)
|
|
64
|
+
], RoleRO.prototype, "canEditOwnWorkedHours", void 0);
|
|
65
|
+
__decorate([
|
|
66
|
+
(0, class_transformer_1.Expose)(),
|
|
67
|
+
__metadata("design:type", Boolean)
|
|
68
|
+
], RoleRO.prototype, "canDeleteFines", void 0);
|
|
69
|
+
__decorate([
|
|
70
|
+
(0, class_transformer_1.Expose)(),
|
|
71
|
+
__metadata("design:type", Boolean)
|
|
72
|
+
], RoleRO.prototype, "canAddRefunds", void 0);
|
|
73
|
+
__decorate([
|
|
74
|
+
(0, class_transformer_1.Expose)(),
|
|
75
|
+
__metadata("design:type", Boolean)
|
|
76
|
+
], RoleRO.prototype, "canEditModerators", void 0);
|
|
77
|
+
__decorate([
|
|
78
|
+
(0, class_transformer_1.Expose)(),
|
|
79
|
+
__metadata("design:type", Boolean)
|
|
80
|
+
], RoleRO.prototype, "canEditSchedule", void 0);
|
|
81
|
+
exports.RoleRO = RoleRO;
|
|
@@ -14,11 +14,6 @@ const class_transformer_1 = require("class-transformer");
|
|
|
14
14
|
const class_validator_1 = require("class-validator");
|
|
15
15
|
class EditAllTranslationLoacalesDto {
|
|
16
16
|
}
|
|
17
|
-
__decorate([
|
|
18
|
-
(0, class_validator_1.IsOptional)(),
|
|
19
|
-
(0, class_transformer_1.Expose)(),
|
|
20
|
-
__metadata("design:type", String)
|
|
21
|
-
], EditAllTranslationLoacalesDto.prototype, "text", void 0);
|
|
22
17
|
__decorate([
|
|
23
18
|
(0, class_validator_1.IsOptional)(),
|
|
24
19
|
(0, class_transformer_1.Expose)(),
|