@escapenavigator/types 1.10.12 → 1.10.14
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/client/client.ro.d.ts +9 -0
- package/dist/client/client.ro.js +27 -0
- package/dist/client/create-client.dto.d.ts +1 -0
- package/dist/client/create-client.dto.js +5 -0
- package/dist/client/query-client.dto.d.ts +1 -0
- package/dist/client/query-client.dto.js +5 -0
- package/dist/openapi/orders/openapi-order.ro.d.ts +1 -0
- package/dist/openapi/orders/openapi-order.ro.js +4 -0
- package/dist/openapi/shared/openapi-questroom.ro.d.ts +3 -2
- package/dist/openapi/shared/openapi-questroom.ro.js +3 -2
- package/dist/order/order.ro.d.ts +6 -0
- package/dist/order/order.ro.js +19 -0
- package/dist/order-promocode/create-order-refund-promocode.dto.d.ts +5 -0
- package/dist/order-promocode/create-order-refund-promocode.dto.js +32 -0
- package/dist/order-upselling/create-order-upselling.dto.d.ts +9 -7
- package/dist/order-upselling/create-order-upselling.dto.js +24 -0
- package/dist/profile/action/create-profile-action.dto.d.ts +9 -3
- package/dist/profile/action/create-profile-action.dto.js +41 -8
- package/dist/profile/action/update-profile-action.dto.d.ts +10 -0
- package/dist/profile/action/update-profile-action.dto.js +59 -0
- package/dist/profile/admin-dashboard-profile.ro.d.ts +25 -0
- package/dist/profile/admin-dashboard-profile.ro.js +86 -0
- package/dist/profile/admin-profile.ro.d.ts +2 -2
- package/dist/profile/admin-profile.ro.js +5 -6
- package/dist/profile/contacts/all-profile-contacst.ro.d.ts +6 -0
- package/dist/profile/contacts/all-profile-contacst.ro.js +29 -0
- package/dist/profile/create-profile.dto.d.ts +2 -0
- package/dist/profile/create-profile.dto.js +6 -0
- package/dist/profile/enum/profile-sales-status.enum.d.ts +13 -0
- package/dist/profile/enum/profile-sales-status.enum.js +17 -0
- package/dist/profile/query-admin-profile.dto.d.ts +3 -0
- package/dist/profile/query-admin-profile.dto.js +8 -0
- package/dist/promocode/promocode.ro.d.ts +1 -0
- package/dist/promocode/promocode.ro.js +4 -0
- package/dist/questroom/create-questroom.dto.d.ts +2 -1
- package/dist/questroom/create-questroom.dto.js +3 -2
- package/dist/questroom/enum/questroom-confirm-type.enum.d.ts +5 -0
- package/dist/questroom/enum/questroom-confirm-type.enum.js +9 -0
- package/dist/questroom/questroom.ro.d.ts +2 -1
- package/dist/questroom/questroom.ro.js +3 -2
- package/dist/role/create-role.dto.d.ts +1 -0
- package/dist/role/create-role.dto.js +6 -0
- package/dist/role/role.ro.d.ts +1 -0
- package/dist/role/role.ro.js +4 -0
- package/dist/shared/is-not-zero.d.ts +2 -0
- package/dist/shared/is-not-zero.js +23 -0
- package/dist/slot-rule/create-rule.dto.d.ts +1 -0
- package/dist/slot-rule/create-rule.dto.js +6 -0
- package/dist/slot-rule/defailt-rule.d.ts +1 -0
- package/dist/slot-rule/defailt-rule.js +1 -0
- package/dist/slot-rule/rule.ro.d.ts +1 -0
- package/dist/slot-rule/rule.ro.js +4 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/user/fine/create-user-fine.dto.d.ts +5 -0
- package/dist/user/fine/create-user-fine.dto.js +33 -0
- package/dist/user/fine/user-fine.ro.d.ts +13 -0
- package/dist/user/fine/user-fine.ro.js +49 -0
- package/dist/user/reports/user-monthly-report.ro.d.ts +1 -0
- package/dist/user/salary-schema/create-salary-schema.dto.d.ts +12 -0
- package/dist/user/salary-schema/create-salary-schema.dto.js +58 -0
- package/dist/user/salary-schema/salary-schema.ro.d.ts +12 -0
- package/dist/user/salary-schema/salary-schema.ro.js +50 -0
- package/package.json +2 -2
|
@@ -0,0 +1,29 @@
|
|
|
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.AllProfileContctsRO = void 0;
|
|
13
|
+
/* eslint-disable max-classes-per-file */
|
|
14
|
+
const class_transformer_1 = require("class-transformer");
|
|
15
|
+
const user_ro_1 = require("../../user/crud/user.ro");
|
|
16
|
+
const profile_contact_ro_1 = require("./profile-contact.ro");
|
|
17
|
+
class AllProfileContctsRO {
|
|
18
|
+
}
|
|
19
|
+
__decorate([
|
|
20
|
+
(0, class_transformer_1.Expose)(),
|
|
21
|
+
(0, class_transformer_1.Type)(() => profile_contact_ro_1.ProfileContctRO),
|
|
22
|
+
__metadata("design:type", Array)
|
|
23
|
+
], AllProfileContctsRO.prototype, "insideContacts", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, class_transformer_1.Expose)(),
|
|
26
|
+
(0, class_transformer_1.Type)(() => user_ro_1.UserRO),
|
|
27
|
+
__metadata("design:type", Array)
|
|
28
|
+
], AllProfileContctsRO.prototype, "directors", void 0);
|
|
29
|
+
exports.AllProfileContctsRO = AllProfileContctsRO;
|
|
@@ -2,10 +2,12 @@ import { CountriesEnum } from '../shared/enum/countries.enum';
|
|
|
2
2
|
import { Languages } from '../shared/enum/languages.enum';
|
|
3
3
|
import { CrmVerificationEnum } from './enum/crm-verifiaction.enum';
|
|
4
4
|
import { PartnerProgramEnum } from './enum/partner-program.enum';
|
|
5
|
+
import { ProfileSalesStatus } from './enum/profile-sales-status.enum';
|
|
5
6
|
import { ProfileStatusEnum } from './enum/profile-step.enum';
|
|
6
7
|
import { ProfileTagEnum } from './enum/profile-tag.enum';
|
|
7
8
|
export declare class CreateProfileDto {
|
|
8
9
|
country: CountriesEnum;
|
|
10
|
+
salesStatus: ProfileSalesStatus;
|
|
9
11
|
crmVerification: CrmVerificationEnum;
|
|
10
12
|
partnerProgram: PartnerProgramEnum;
|
|
11
13
|
title: string;
|
|
@@ -17,6 +17,7 @@ const languages_enum_1 = require("../shared/enum/languages.enum");
|
|
|
17
17
|
const is_not_blank_1 = require("../shared/is-not-blank");
|
|
18
18
|
const crm_verifiaction_enum_1 = require("./enum/crm-verifiaction.enum");
|
|
19
19
|
const partner_program_enum_1 = require("./enum/partner-program.enum");
|
|
20
|
+
const profile_sales_status_enum_1 = require("./enum/profile-sales-status.enum");
|
|
20
21
|
const profile_step_enum_1 = require("./enum/profile-step.enum");
|
|
21
22
|
class CreateProfileDto {
|
|
22
23
|
}
|
|
@@ -25,6 +26,11 @@ __decorate([
|
|
|
25
26
|
(0, class_transformer_1.Expose)(),
|
|
26
27
|
__metadata("design:type", String)
|
|
27
28
|
], CreateProfileDto.prototype, "country", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, is_not_blank_1.IsNotBlank)(),
|
|
31
|
+
(0, class_transformer_1.Expose)(),
|
|
32
|
+
__metadata("design:type", String)
|
|
33
|
+
], CreateProfileDto.prototype, "salesStatus", void 0);
|
|
28
34
|
__decorate([
|
|
29
35
|
(0, class_validator_1.IsOptional)(),
|
|
30
36
|
(0, class_transformer_1.Expose)(),
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export declare enum ProfileSalesStatus {
|
|
2
|
+
NEW = "new",
|
|
3
|
+
NO_ANSWER = "no_answer",
|
|
4
|
+
FOLLOW_UP = "follow_up",
|
|
5
|
+
DEMO = "demo",
|
|
6
|
+
THINKING = "thinking",
|
|
7
|
+
ONBOARDING = "onboarding",
|
|
8
|
+
ACTIVE = "active",
|
|
9
|
+
REJECTED = "rejected",
|
|
10
|
+
CANCELED_SOON = "canceled_soon",
|
|
11
|
+
UNPAID = "unpaid",
|
|
12
|
+
FREE_LOST = "free_lost"
|
|
13
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ProfileSalesStatus = void 0;
|
|
4
|
+
var ProfileSalesStatus;
|
|
5
|
+
(function (ProfileSalesStatus) {
|
|
6
|
+
ProfileSalesStatus["NEW"] = "new";
|
|
7
|
+
ProfileSalesStatus["NO_ANSWER"] = "no_answer";
|
|
8
|
+
ProfileSalesStatus["FOLLOW_UP"] = "follow_up";
|
|
9
|
+
ProfileSalesStatus["DEMO"] = "demo";
|
|
10
|
+
ProfileSalesStatus["THINKING"] = "thinking";
|
|
11
|
+
ProfileSalesStatus["ONBOARDING"] = "onboarding";
|
|
12
|
+
ProfileSalesStatus["ACTIVE"] = "active";
|
|
13
|
+
ProfileSalesStatus["REJECTED"] = "rejected";
|
|
14
|
+
ProfileSalesStatus["CANCELED_SOON"] = "canceled_soon";
|
|
15
|
+
ProfileSalesStatus["UNPAID"] = "unpaid";
|
|
16
|
+
ProfileSalesStatus["FREE_LOST"] = "free_lost";
|
|
17
|
+
})(ProfileSalesStatus = exports.ProfileSalesStatus || (exports.ProfileSalesStatus = {}));
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import { CountriesEnum } from '../shared/enum/countries.enum';
|
|
2
2
|
import { PartnerProgramEnum } from './enum/partner-program.enum';
|
|
3
3
|
import { ProfileIntegrationTypeEnum } from './enum/profile-integration-type.enum';
|
|
4
|
+
import { ProfileSalesStatus } from './enum/profile-sales-status.enum';
|
|
4
5
|
import { ProfileStatusEnum } from './enum/profile-step.enum';
|
|
5
6
|
import { ProfileSubscriptionTypeEnum } from './enum/profile-subscription-type.enum';
|
|
6
7
|
import { ProfileSubscriptionEnum } from './enum/profile-subscription.enum';
|
|
7
8
|
import { ProfileTagEnum } from './enum/profile-tag.enum';
|
|
8
9
|
export declare class QueryAdminProfileDto {
|
|
10
|
+
withActions?: string;
|
|
9
11
|
tags?: ProfileTagEnum[];
|
|
10
12
|
notTags?: ProfileTagEnum[];
|
|
11
13
|
partnerProgram?: PartnerProgramEnum;
|
|
@@ -13,6 +15,7 @@ export declare class QueryAdminProfileDto {
|
|
|
13
15
|
subscriptionType?: ProfileSubscriptionTypeEnum;
|
|
14
16
|
subscriptionCancelationDate?: boolean;
|
|
15
17
|
status?: ProfileStatusEnum[];
|
|
18
|
+
salesStatus?: ProfileSalesStatus[];
|
|
16
19
|
country?: CountriesEnum;
|
|
17
20
|
city?: string;
|
|
18
21
|
crm?: string;
|
|
@@ -18,6 +18,10 @@ const profile_integration_type_enum_1 = require("./enum/profile-integration-type
|
|
|
18
18
|
const profile_subscription_type_enum_1 = require("./enum/profile-subscription-type.enum");
|
|
19
19
|
class QueryAdminProfileDto {
|
|
20
20
|
}
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, class_transformer_1.Expose)(),
|
|
23
|
+
__metadata("design:type", String)
|
|
24
|
+
], QueryAdminProfileDto.prototype, "withActions", void 0);
|
|
21
25
|
__decorate([
|
|
22
26
|
(0, class_transformer_1.Expose)(),
|
|
23
27
|
__metadata("design:type", Array)
|
|
@@ -46,6 +50,10 @@ __decorate([
|
|
|
46
50
|
(0, class_transformer_1.Expose)(),
|
|
47
51
|
__metadata("design:type", Array)
|
|
48
52
|
], QueryAdminProfileDto.prototype, "status", void 0);
|
|
53
|
+
__decorate([
|
|
54
|
+
(0, class_transformer_1.Expose)(),
|
|
55
|
+
__metadata("design:type", Array)
|
|
56
|
+
], QueryAdminProfileDto.prototype, "salesStatus", void 0);
|
|
49
57
|
__decorate([
|
|
50
58
|
(0, class_transformer_1.Expose)(),
|
|
51
59
|
__metadata("design:type", String)
|
|
@@ -111,4 +111,8 @@ __decorate([
|
|
|
111
111
|
(0, class_transformer_1.Expose)(),
|
|
112
112
|
__metadata("design:type", Number)
|
|
113
113
|
], PromocodeRO.prototype, "maxPlayers", void 0);
|
|
114
|
+
__decorate([
|
|
115
|
+
(0, class_transformer_1.Expose)(),
|
|
116
|
+
__metadata("design:type", Number)
|
|
117
|
+
], PromocodeRO.prototype, "orderId", void 0);
|
|
114
118
|
exports.PromocodeRO = PromocodeRO;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Languages } from '../shared/enum/languages.enum';
|
|
2
2
|
import { TagsEnum } from '../shared/enum/tags.enum';
|
|
3
3
|
import { QuestroomActorsEnum } from './enum/questroom-actors.enum';
|
|
4
|
+
import { QuestroomConfirmTypeEnum } from './enum/questroom-confirm-type.enum';
|
|
4
5
|
import { QuestroomTypeEnum } from './enum/questroom-type.enum';
|
|
5
6
|
declare class Locale {
|
|
6
7
|
language: Languages;
|
|
@@ -26,7 +27,7 @@ export declare class CreateQuestroomDto {
|
|
|
26
27
|
minAge: number;
|
|
27
28
|
onlinePaymentsCashbox: number;
|
|
28
29
|
daysForBooking: number;
|
|
29
|
-
|
|
30
|
+
confirmType: QuestroomConfirmTypeEnum;
|
|
30
31
|
bsCashbox: number;
|
|
31
32
|
paypalCashbox: number;
|
|
32
33
|
awailableForWidgets: boolean;
|
|
@@ -17,6 +17,7 @@ const languages_enum_1 = require("../shared/enum/languages.enum");
|
|
|
17
17
|
const tags_enum_1 = require("../shared/enum/tags.enum");
|
|
18
18
|
const is_not_blank_1 = require("../shared/is-not-blank");
|
|
19
19
|
const questroom_actors_enum_1 = require("./enum/questroom-actors.enum");
|
|
20
|
+
const questroom_confirm_type_enum_1 = require("./enum/questroom-confirm-type.enum");
|
|
20
21
|
const questroom_type_enum_1 = require("./enum/questroom-type.enum");
|
|
21
22
|
class Locale {
|
|
22
23
|
}
|
|
@@ -139,8 +140,8 @@ __decorate([
|
|
|
139
140
|
__decorate([
|
|
140
141
|
(0, class_validator_1.IsOptional)(),
|
|
141
142
|
(0, class_transformer_1.Expose)(),
|
|
142
|
-
__metadata("design:type",
|
|
143
|
-
], CreateQuestroomDto.prototype, "
|
|
143
|
+
__metadata("design:type", String)
|
|
144
|
+
], CreateQuestroomDto.prototype, "confirmType", void 0);
|
|
144
145
|
__decorate([
|
|
145
146
|
(0, class_validator_1.IsOptional)(),
|
|
146
147
|
(0, class_transformer_1.Expose)(),
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.QuestroomConfirmTypeEnum = void 0;
|
|
4
|
+
var QuestroomConfirmTypeEnum;
|
|
5
|
+
(function (QuestroomConfirmTypeEnum) {
|
|
6
|
+
QuestroomConfirmTypeEnum["DEFAULT"] = "questroom_confirm_type_default";
|
|
7
|
+
QuestroomConfirmTypeEnum["CALL"] = "questroom_confirm_type_confirm_required";
|
|
8
|
+
QuestroomConfirmTypeEnum["REQUEST"] = "questroom_confirm_type_request_first";
|
|
9
|
+
})(QuestroomConfirmTypeEnum = exports.QuestroomConfirmTypeEnum || (exports.QuestroomConfirmTypeEnum = {}));
|
|
@@ -2,6 +2,7 @@ import { Languages } from '../shared/enum/languages.enum';
|
|
|
2
2
|
import { TagsEnum } from '../shared/enum/tags.enum';
|
|
3
3
|
import { RO } from '../shared/ro-class';
|
|
4
4
|
import { QuestroomActorsEnum } from './enum/questroom-actors.enum';
|
|
5
|
+
import { QuestroomConfirmTypeEnum } from './enum/questroom-confirm-type.enum';
|
|
5
6
|
import { QuestroomIntegrationTypeEnum } from './enum/questroom-integration-type.enum';
|
|
6
7
|
import { QuestroomTypeEnum } from './enum/questroom-type.enum';
|
|
7
8
|
export declare class QuestroomLocale {
|
|
@@ -56,7 +57,7 @@ export declare class QuestroomRO extends RO {
|
|
|
56
57
|
awailableForWidgets: boolean;
|
|
57
58
|
paypalCashbox: number;
|
|
58
59
|
onlinePaymentsCashbox: number;
|
|
59
|
-
|
|
60
|
+
confirmType: QuestroomConfirmTypeEnum;
|
|
60
61
|
daysForBooking: number;
|
|
61
62
|
bsCashbox: number;
|
|
62
63
|
onlinePaymentsAvailable: boolean;
|
|
@@ -15,6 +15,7 @@ const class_transformer_1 = require("class-transformer");
|
|
|
15
15
|
const languages_enum_1 = require("../shared/enum/languages.enum");
|
|
16
16
|
const ro_class_1 = require("../shared/ro-class");
|
|
17
17
|
const questroom_actors_enum_1 = require("./enum/questroom-actors.enum");
|
|
18
|
+
const questroom_confirm_type_enum_1 = require("./enum/questroom-confirm-type.enum");
|
|
18
19
|
const questroom_integration_type_enum_1 = require("./enum/questroom-integration-type.enum");
|
|
19
20
|
const questroom_type_enum_1 = require("./enum/questroom-type.enum");
|
|
20
21
|
class QuestroomLocale {
|
|
@@ -218,8 +219,8 @@ __decorate([
|
|
|
218
219
|
], QuestroomRO.prototype, "onlinePaymentsCashbox", void 0);
|
|
219
220
|
__decorate([
|
|
220
221
|
(0, class_transformer_1.Expose)(),
|
|
221
|
-
__metadata("design:type",
|
|
222
|
-
], QuestroomRO.prototype, "
|
|
222
|
+
__metadata("design:type", String)
|
|
223
|
+
], QuestroomRO.prototype, "confirmType", void 0);
|
|
223
224
|
__decorate([
|
|
224
225
|
(0, class_transformer_1.Expose)(),
|
|
225
226
|
__metadata("design:type", Number)
|
|
@@ -32,6 +32,12 @@ __decorate([
|
|
|
32
32
|
(0, class_transformer_1.Expose)(),
|
|
33
33
|
__metadata("design:type", Boolean)
|
|
34
34
|
], CreateRoleDto.prototype, "canEditUsersAccessAndTime", void 0);
|
|
35
|
+
__decorate([
|
|
36
|
+
(0, class_validator_1.IsBoolean)(),
|
|
37
|
+
(0, class_transformer_1.Transform)(({ value }) => (value !== undefined ? value : false)),
|
|
38
|
+
(0, class_transformer_1.Expose)(),
|
|
39
|
+
__metadata("design:type", Boolean)
|
|
40
|
+
], CreateRoleDto.prototype, "canEditFines", void 0);
|
|
35
41
|
__decorate([
|
|
36
42
|
(0, class_transformer_1.Expose)(),
|
|
37
43
|
(0, class_validator_1.IsBoolean)(),
|
package/dist/role/role.ro.d.ts
CHANGED
package/dist/role/role.ro.js
CHANGED
|
@@ -26,6 +26,10 @@ __decorate([
|
|
|
26
26
|
(0, class_transformer_1.Expose)(),
|
|
27
27
|
__metadata("design:type", Boolean)
|
|
28
28
|
], RoleRO.prototype, "canEditUsersAccessAndTime", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, class_transformer_1.Expose)(),
|
|
31
|
+
__metadata("design:type", Boolean)
|
|
32
|
+
], RoleRO.prototype, "canEditFines", void 0);
|
|
29
33
|
__decorate([
|
|
30
34
|
(0, class_transformer_1.Expose)(),
|
|
31
35
|
__metadata("design:type", Boolean)
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.IsNotZero = void 0;
|
|
4
|
+
const class_validator_1 = require("class-validator");
|
|
5
|
+
function IsNotZero(validationOptions) {
|
|
6
|
+
return function (object, propertyName) {
|
|
7
|
+
(0, class_validator_1.registerDecorator)({
|
|
8
|
+
name: 'isEmailUnique',
|
|
9
|
+
target: object.constructor,
|
|
10
|
+
propertyName,
|
|
11
|
+
options: validationOptions,
|
|
12
|
+
validator: {
|
|
13
|
+
validate(value) {
|
|
14
|
+
return typeof value === 'number' && Number.isFinite(value) && value !== 0;
|
|
15
|
+
},
|
|
16
|
+
defaultMessage() {
|
|
17
|
+
return 'This email already signed waiver!';
|
|
18
|
+
},
|
|
19
|
+
},
|
|
20
|
+
});
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
exports.IsNotZero = IsNotZero;
|
|
@@ -91,6 +91,12 @@ __decorate([
|
|
|
91
91
|
(0, class_transformer_1.Expose)(),
|
|
92
92
|
__metadata("design:type", Boolean)
|
|
93
93
|
], CreateRuleDto.prototype, "openSlotWhenUserInCalendar", void 0);
|
|
94
|
+
__decorate([
|
|
95
|
+
(0, class_transformer_1.Transform)(({ value }) => value !== null && value !== void 0 ? value : true),
|
|
96
|
+
(0, class_validator_1.IsBoolean)(),
|
|
97
|
+
(0, class_transformer_1.Expose)(),
|
|
98
|
+
__metadata("design:type", Boolean)
|
|
99
|
+
], CreateRuleDto.prototype, "clientCanCancel", void 0);
|
|
94
100
|
__decorate([
|
|
95
101
|
(0, class_validator_1.ValidateIf)((o) => !o.ruleId),
|
|
96
102
|
(0, class_transformer_1.Transform)(({ value }) => value !== null && value !== void 0 ? value : false),
|
|
@@ -67,6 +67,10 @@ __decorate([
|
|
|
67
67
|
(0, class_transformer_1.Expose)(),
|
|
68
68
|
__metadata("design:type", Boolean)
|
|
69
69
|
], RuleRO.prototype, "openSlotWhenUserInCalendar", void 0);
|
|
70
|
+
__decorate([
|
|
71
|
+
(0, class_transformer_1.Expose)(),
|
|
72
|
+
__metadata("design:type", Boolean)
|
|
73
|
+
], RuleRO.prototype, "clientCanCancel", void 0);
|
|
70
74
|
__decorate([
|
|
71
75
|
(0, class_transformer_1.Expose)(),
|
|
72
76
|
__metadata("design:type", Boolean)
|