@escapenavigator/types 1.4.25 → 1.4.26
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/agregator/agregator-questroom.ro.d.ts +0 -1
- package/dist/cashbox/cashbox.ro.d.ts +0 -2
- package/dist/cashbox/create-cashbox.dto.d.ts +0 -2
- package/dist/cashbox/create-cashbox.dto.js +0 -13
- package/dist/certificate/certificate.ro.d.ts +0 -1
- package/dist/certificate/create-certificate.dto.d.ts +0 -1
- package/dist/certificate/create-certificate.dto.js +0 -5
- package/dist/commission/commission.ro.d.ts +10 -0
- package/dist/commission/commission.ro.js +2 -0
- package/dist/commission/create-commission.dto.d.ts +5 -0
- package/dist/commission/create-commission.dto.js +32 -0
- package/dist/commission/create-profile-correction.dto.d.ts +5 -0
- package/dist/commission/create-profile-correction.dto.js +33 -0
- package/dist/commission/create-profile-payment.dto.d.ts +3 -0
- package/dist/commission/create-profile-payment.dto.js +22 -0
- package/dist/commission/emun/commission.enum.d.ts +6 -0
- package/dist/commission/emun/commission.enum.js +10 -0
- package/dist/emails/email.ro.d.ts +1 -5
- package/dist/emails/index.d.ts +21 -6
- package/dist/profile/create-profile.dto.d.ts +1 -0
- package/dist/profile/create-profile.dto.js +5 -0
- package/dist/profile/profile.ro.d.ts +1 -0
- package/dist/questroom/create-questroom.dto.d.ts +0 -1
- package/dist/questroom/create-questroom.dto.js +5 -14
- package/dist/registration-request/create-registration-request.dto.d.ts +0 -1
- package/dist/registration-request/create-registration-request.dto.js +5 -9
- package/dist/registration-request/enum/registration-request-status.d.ts +5 -0
- package/dist/registration-request/enum/registration-request-status.js +9 -0
- package/dist/registration-request/registration-request.ro.d.ts +3 -1
- package/dist/registration-request/update-registration-request.dto.d.ts +5 -4
- package/dist/registration-request/update-registration-request.dto.js +11 -8
- package/dist/shared/enum/countries.enum.d.ts +1 -1
- package/dist/shared/enum/countries.enum.js +1 -1
- package/dist/shared/query.ro.d.ts +4 -0
- package/dist/shared/query.ro.js +2 -0
- package/dist/slot/add-breaks.dto.d.ts +4 -3
- package/dist/slot/add-breaks.dto.js +9 -5
- package/dist/slot/calendar-query.dto.d.ts +1 -1
- package/dist/slot/remove-breaks.dto.d.ts +4 -2
- package/dist/slot/remove-breaks.dto.js +10 -2
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/widget-openapi/widget-openapi-create-review.dto.d.ts +1 -1
- package/dist/widget-openapi/widget-openapi-create-review.dto.js +1 -1
- package/package.json +7 -3
- package/dist/emails/template.d.ts +0 -37
- package/dist/emails/template.js +0 -310
|
@@ -26,19 +26,6 @@ __decorate([
|
|
|
26
26
|
(0, class_transformer_1.Expose)(),
|
|
27
27
|
__metadata("design:type", String)
|
|
28
28
|
], CreateCashboxDto.prototype, "type", void 0);
|
|
29
|
-
__decorate([
|
|
30
|
-
(0, class_validator_1.IsBoolean)(),
|
|
31
|
-
(0, class_transformer_1.Transform)(({ value }) => (value === undefined ? true : value)),
|
|
32
|
-
(0, class_transformer_1.Expose)(),
|
|
33
|
-
__metadata("design:type", Boolean)
|
|
34
|
-
], CreateCashboxDto.prototype, "allLocations", void 0);
|
|
35
|
-
__decorate([
|
|
36
|
-
(0, class_validator_1.ValidateIf)((o) => !o.allLocations),
|
|
37
|
-
(0, class_validator_1.ArrayNotEmpty)(),
|
|
38
|
-
(0, class_transformer_1.Transform)(({ value }) => ((value === null || value === void 0 ? void 0 : value.length) ? value : [])),
|
|
39
|
-
(0, class_transformer_1.Expose)(),
|
|
40
|
-
__metadata("design:type", Array)
|
|
41
|
-
], CreateCashboxDto.prototype, "locationIds", void 0);
|
|
42
29
|
__decorate([
|
|
43
30
|
(0, class_validator_1.ValidateIf)((o) => o.type !== cashbox_type_enum_1.CashboxTypeEnum.BANK && o.type !== cashbox_type_enum_1.CashboxTypeEnum.CASH),
|
|
44
31
|
(0, is_not_blank_string_1.IsNotBlankString)(),
|
|
@@ -87,11 +87,6 @@ __decorate([
|
|
|
87
87
|
(0, class_transformer_1.Expose)(),
|
|
88
88
|
__metadata("design:type", Array)
|
|
89
89
|
], CreateCertificateDto.prototype, "questroomsIds", void 0);
|
|
90
|
-
__decorate([
|
|
91
|
-
(0, class_validator_1.IsPositive)(),
|
|
92
|
-
(0, class_transformer_1.Expose)(),
|
|
93
|
-
__metadata("design:type", Number)
|
|
94
|
-
], CreateCertificateDto.prototype, "walletId", void 0);
|
|
95
90
|
__decorate([
|
|
96
91
|
(0, class_validator_1.IsBoolean)(),
|
|
97
92
|
(0, class_transformer_1.Transform)(checkBoolean),
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ResponseObject } from '../shared/ro';
|
|
2
|
+
import { CommissionTypeEnum } from './emun/commission.enum';
|
|
3
|
+
export declare type CommissionRO = ResponseObject & {
|
|
4
|
+
title: string;
|
|
5
|
+
amount: number;
|
|
6
|
+
type: CommissionTypeEnum;
|
|
7
|
+
orderId: number;
|
|
8
|
+
reason: string;
|
|
9
|
+
balance: number;
|
|
10
|
+
};
|
|
@@ -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.CreateCommissionDto = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const class_validator_1 = require("class-validator");
|
|
15
|
+
class CreateCommissionDto {
|
|
16
|
+
}
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_validator_1.IsNumber)(),
|
|
19
|
+
(0, class_transformer_1.Expose)(),
|
|
20
|
+
__metadata("design:type", Number)
|
|
21
|
+
], CreateCommissionDto.prototype, "profileId", void 0);
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, class_validator_1.IsNumber)(),
|
|
24
|
+
(0, class_transformer_1.Expose)(),
|
|
25
|
+
__metadata("design:type", Number)
|
|
26
|
+
], CreateCommissionDto.prototype, "amount", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, class_validator_1.IsNumber)(),
|
|
29
|
+
(0, class_transformer_1.Expose)(),
|
|
30
|
+
__metadata("design:type", Number)
|
|
31
|
+
], CreateCommissionDto.prototype, "orderId", void 0);
|
|
32
|
+
exports.CreateCommissionDto = CreateCommissionDto;
|
|
@@ -0,0 +1,33 @@
|
|
|
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.CreateProfileCorrectionDto = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const class_validator_1 = require("class-validator");
|
|
15
|
+
const is_not_blank_1 = require("../shared/is-not-blank");
|
|
16
|
+
class CreateProfileCorrectionDto {
|
|
17
|
+
}
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, class_validator_1.IsNumber)(),
|
|
20
|
+
(0, class_transformer_1.Expose)(),
|
|
21
|
+
__metadata("design:type", Number)
|
|
22
|
+
], CreateProfileCorrectionDto.prototype, "profileId", void 0);
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, class_validator_1.IsNumber)(),
|
|
25
|
+
(0, class_transformer_1.Expose)(),
|
|
26
|
+
__metadata("design:type", Number)
|
|
27
|
+
], CreateProfileCorrectionDto.prototype, "amount", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, is_not_blank_1.IsNotBlank)(),
|
|
30
|
+
(0, class_transformer_1.Expose)(),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], CreateProfileCorrectionDto.prototype, "reason", void 0);
|
|
33
|
+
exports.CreateProfileCorrectionDto = CreateProfileCorrectionDto;
|
|
@@ -0,0 +1,22 @@
|
|
|
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.CreateProfilePaymentDto = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const class_validator_1 = require("class-validator");
|
|
15
|
+
class CreateProfilePaymentDto {
|
|
16
|
+
}
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_validator_1.IsPositive)(),
|
|
19
|
+
(0, class_transformer_1.Expose)(),
|
|
20
|
+
__metadata("design:type", Number)
|
|
21
|
+
], CreateProfilePaymentDto.prototype, "amount", void 0);
|
|
22
|
+
exports.CreateProfilePaymentDto = CreateProfilePaymentDto;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CommissionTypeEnum = void 0;
|
|
4
|
+
var CommissionTypeEnum;
|
|
5
|
+
(function (CommissionTypeEnum) {
|
|
6
|
+
CommissionTypeEnum["AGREGATOR_COMMISSION"] = "agregator_commission";
|
|
7
|
+
CommissionTypeEnum["WIDGET_COMMISSION"] = "widget_commission";
|
|
8
|
+
CommissionTypeEnum["PAYMENT"] = "payment";
|
|
9
|
+
CommissionTypeEnum["CORRECTION"] = "correction";
|
|
10
|
+
})(CommissionTypeEnum = exports.CommissionTypeEnum || (exports.CommissionTypeEnum = {}));
|
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
import { ResponseObject } from '../shared/ro';
|
|
2
|
-
export declare type
|
|
3
|
-
template: string;
|
|
2
|
+
export declare type EmailRO = ResponseObject & {
|
|
4
3
|
profileId?: number;
|
|
5
4
|
to: string;
|
|
6
|
-
data: string;
|
|
7
|
-
accepted: string[];
|
|
8
|
-
rejected: string[];
|
|
9
5
|
delivered: boolean;
|
|
10
6
|
};
|
package/dist/emails/index.d.ts
CHANGED
|
@@ -1,9 +1,24 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
declare type Paragraph = {
|
|
2
|
+
type: 'paragraph';
|
|
3
|
+
text: string;
|
|
4
|
+
};
|
|
5
|
+
declare type Bitton = {
|
|
6
|
+
type: 'button';
|
|
7
|
+
text: string;
|
|
8
|
+
link: string;
|
|
9
|
+
};
|
|
10
|
+
declare type Divider = {
|
|
11
|
+
type: 'divider';
|
|
4
12
|
};
|
|
5
|
-
|
|
6
|
-
|
|
13
|
+
declare type Context = {
|
|
14
|
+
title: string;
|
|
15
|
+
subtitle?: string;
|
|
16
|
+
subscription?: boolean;
|
|
17
|
+
sections: Array<Divider | Bitton | Paragraph>;
|
|
18
|
+
};
|
|
19
|
+
export declare type SendEmailRequestParams = {
|
|
20
|
+
to: string;
|
|
7
21
|
subject: string;
|
|
8
|
-
|
|
22
|
+
data: Context;
|
|
23
|
+
};
|
|
9
24
|
export {};
|
|
@@ -21,6 +21,11 @@ __decorate([
|
|
|
21
21
|
(0, class_transformer_1.Expose)(),
|
|
22
22
|
__metadata("design:type", String)
|
|
23
23
|
], CreateProfileDto.prototype, "title", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, class_validator_1.IsNumber)(),
|
|
26
|
+
(0, class_transformer_1.Expose)(),
|
|
27
|
+
__metadata("design:type", Number)
|
|
28
|
+
], CreateProfileDto.prototype, "registrationRequestId", void 0);
|
|
24
29
|
__decorate([
|
|
25
30
|
(0, is_not_blank_string_1.IsNotBlankString)(),
|
|
26
31
|
(0, class_validator_1.IsEmail)(),
|
|
@@ -53,13 +53,13 @@ __decorate([
|
|
|
53
53
|
], CreateQuestroomDto.prototype, "minAge", void 0);
|
|
54
54
|
__decorate([
|
|
55
55
|
(0, class_validator_1.IsPositive)(),
|
|
56
|
-
(0, class_transformer_1.Transform)(({ value }) => value ||
|
|
56
|
+
(0, class_transformer_1.Transform)(({ value }) => value || 2),
|
|
57
57
|
(0, class_transformer_1.Expose)(),
|
|
58
58
|
__metadata("design:type", Number)
|
|
59
59
|
], CreateQuestroomDto.prototype, "playersMin", void 0);
|
|
60
60
|
__decorate([
|
|
61
61
|
(0, class_validator_1.IsPositive)(),
|
|
62
|
-
(0, class_transformer_1.Transform)(({ value }) => value ||
|
|
62
|
+
(0, class_transformer_1.Transform)(({ value }) => value || 5),
|
|
63
63
|
(0, class_transformer_1.Expose)(),
|
|
64
64
|
__metadata("design:type", Number)
|
|
65
65
|
], CreateQuestroomDto.prototype, "playersMax", void 0);
|
|
@@ -88,26 +88,17 @@ __decorate([
|
|
|
88
88
|
__metadata("design:type", String)
|
|
89
89
|
], CreateQuestroomDto.prototype, "defaultLanguage", void 0);
|
|
90
90
|
__decorate([
|
|
91
|
-
(0,
|
|
92
|
-
(0, class_validator_1.IsPositive)(),
|
|
93
|
-
(0, class_transformer_1.Expose)(),
|
|
94
|
-
__metadata("design:type", Number)
|
|
95
|
-
], CreateQuestroomDto.prototype, "walletId", void 0);
|
|
96
|
-
__decorate([
|
|
97
|
-
(0, class_validator_1.IsOptional)(),
|
|
98
|
-
(0, class_validator_1.IsNumber)(),
|
|
91
|
+
(0, is_not_blank_string_1.IsNotBlankString)(),
|
|
99
92
|
(0, class_transformer_1.Expose)(),
|
|
100
93
|
__metadata("design:type", Number)
|
|
101
94
|
], CreateQuestroomDto.prototype, "onlinePaymentsCashbox", void 0);
|
|
102
95
|
__decorate([
|
|
103
|
-
(0,
|
|
104
|
-
(0, class_validator_1.IsNumber)(),
|
|
96
|
+
(0, is_not_blank_string_1.IsNotBlankString)(),
|
|
105
97
|
(0, class_transformer_1.Expose)(),
|
|
106
98
|
__metadata("design:type", Number)
|
|
107
99
|
], CreateQuestroomDto.prototype, "cashPaymentsCashbox", void 0);
|
|
108
100
|
__decorate([
|
|
109
|
-
(0,
|
|
110
|
-
(0, class_validator_1.IsNumber)(),
|
|
101
|
+
(0, is_not_blank_string_1.IsNotBlankString)(),
|
|
111
102
|
(0, class_transformer_1.Expose)(),
|
|
112
103
|
__metadata("design:type", Number)
|
|
113
104
|
], CreateQuestroomDto.prototype, "cardPaymentsCashbox", void 0);
|
|
@@ -11,26 +11,22 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.CreateRegistrationRequestDto = void 0;
|
|
13
13
|
const class_transformer_1 = require("class-transformer");
|
|
14
|
-
const
|
|
14
|
+
const class_validator_1 = require("class-validator");
|
|
15
15
|
class CreateRegistrationRequestDto {
|
|
16
16
|
}
|
|
17
17
|
__decorate([
|
|
18
|
-
(0,
|
|
19
|
-
(0, class_transformer_1.Expose)(),
|
|
20
|
-
__metadata("design:type", String)
|
|
21
|
-
], CreateRegistrationRequestDto.prototype, "name", void 0);
|
|
22
|
-
__decorate([
|
|
23
|
-
(0, is_not_blank_1.IsNotBlank)(),
|
|
18
|
+
(0, class_validator_1.IsEmail)(),
|
|
24
19
|
(0, class_transformer_1.Expose)(),
|
|
25
20
|
__metadata("design:type", String)
|
|
26
21
|
], CreateRegistrationRequestDto.prototype, "email", void 0);
|
|
27
22
|
__decorate([
|
|
28
|
-
(0,
|
|
23
|
+
(0, class_validator_1.IsPhoneNumber)(),
|
|
29
24
|
(0, class_transformer_1.Expose)(),
|
|
30
25
|
__metadata("design:type", String)
|
|
31
26
|
], CreateRegistrationRequestDto.prototype, "phone", void 0);
|
|
32
27
|
__decorate([
|
|
33
|
-
(0,
|
|
28
|
+
(0, class_validator_1.IsOptional)(),
|
|
29
|
+
(0, class_validator_1.IsUrl)(),
|
|
34
30
|
(0, class_transformer_1.Expose)(),
|
|
35
31
|
__metadata("design:type", String)
|
|
36
32
|
], CreateRegistrationRequestDto.prototype, "site", void 0);
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RegistrationRequestStatusEnum = void 0;
|
|
4
|
+
var RegistrationRequestStatusEnum;
|
|
5
|
+
(function (RegistrationRequestStatusEnum) {
|
|
6
|
+
RegistrationRequestStatusEnum["DONE"] = "done";
|
|
7
|
+
RegistrationRequestStatusEnum["NEW"] = "new";
|
|
8
|
+
RegistrationRequestStatusEnum["REJECTED"] = "rejected";
|
|
9
|
+
})(RegistrationRequestStatusEnum = exports.RegistrationRequestStatusEnum || (exports.RegistrationRequestStatusEnum = {}));
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
+
import { RegistrationRequestStatusEnum } from './enum/registration-request-status';
|
|
1
2
|
export declare type RegistrationRequestResponseObject = {
|
|
2
|
-
name: string;
|
|
3
3
|
email: string;
|
|
4
4
|
phone: string;
|
|
5
5
|
site: string;
|
|
6
|
+
status: RegistrationRequestStatusEnum;
|
|
6
7
|
comment?: string;
|
|
7
8
|
id: number;
|
|
9
|
+
profileId: number;
|
|
8
10
|
createdAt: Date;
|
|
9
11
|
};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import { RegistrationRequestStatusEnum } from './enum/registration-request-status';
|
|
1
2
|
export declare class UpdateRegistrationRequestDto {
|
|
2
|
-
|
|
3
|
-
phone
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
email: string;
|
|
4
|
+
phone: string;
|
|
5
|
+
site: string;
|
|
6
|
+
status?: RegistrationRequestStatusEnum;
|
|
6
7
|
comment?: string;
|
|
7
8
|
}
|
|
@@ -12,30 +12,33 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.UpdateRegistrationRequestDto = void 0;
|
|
13
13
|
const class_transformer_1 = require("class-transformer");
|
|
14
14
|
const class_validator_1 = require("class-validator");
|
|
15
|
+
const is_not_blank_string_1 = require("../shared/is-not-blank-string");
|
|
16
|
+
const registration_request_status_1 = require("./enum/registration-request-status");
|
|
15
17
|
class UpdateRegistrationRequestDto {
|
|
16
18
|
}
|
|
17
19
|
__decorate([
|
|
18
|
-
(0, class_validator_1.
|
|
20
|
+
(0, class_validator_1.IsEmail)(),
|
|
19
21
|
(0, class_transformer_1.Expose)(),
|
|
20
22
|
__metadata("design:type", String)
|
|
21
|
-
], UpdateRegistrationRequestDto.prototype, "
|
|
23
|
+
], UpdateRegistrationRequestDto.prototype, "email", void 0);
|
|
22
24
|
__decorate([
|
|
23
|
-
(0, class_validator_1.
|
|
25
|
+
(0, class_validator_1.IsPhoneNumber)(),
|
|
24
26
|
(0, class_transformer_1.Expose)(),
|
|
25
27
|
__metadata("design:type", String)
|
|
26
28
|
], UpdateRegistrationRequestDto.prototype, "phone", void 0);
|
|
27
29
|
__decorate([
|
|
28
|
-
(0, class_validator_1.
|
|
30
|
+
(0, class_validator_1.IsUrl)(),
|
|
29
31
|
(0, class_transformer_1.Expose)(),
|
|
30
32
|
__metadata("design:type", String)
|
|
31
|
-
], UpdateRegistrationRequestDto.prototype, "
|
|
33
|
+
], UpdateRegistrationRequestDto.prototype, "site", void 0);
|
|
32
34
|
__decorate([
|
|
33
|
-
(0, class_validator_1.
|
|
35
|
+
(0, class_validator_1.IsEnum)(registration_request_status_1.RegistrationRequestStatusEnum),
|
|
34
36
|
(0, class_transformer_1.Expose)(),
|
|
35
37
|
__metadata("design:type", String)
|
|
36
|
-
], UpdateRegistrationRequestDto.prototype, "
|
|
38
|
+
], UpdateRegistrationRequestDto.prototype, "status", void 0);
|
|
37
39
|
__decorate([
|
|
38
|
-
(0, class_validator_1.
|
|
40
|
+
(0, class_validator_1.ValidateIf)((rec) => rec.status === registration_request_status_1.RegistrationRequestStatusEnum.REJECTED),
|
|
41
|
+
(0, is_not_blank_string_1.IsNotBlankString)(),
|
|
39
42
|
(0, class_transformer_1.Expose)(),
|
|
40
43
|
__metadata("design:type", String)
|
|
41
44
|
], UpdateRegistrationRequestDto.prototype, "comment", void 0);
|
|
@@ -25,13 +25,17 @@ __decorate([
|
|
|
25
25
|
__decorate([
|
|
26
26
|
(0, is_not_blank_1.IsNotBlank)(),
|
|
27
27
|
__metadata("design:type", String)
|
|
28
|
-
], AddBreaksDto.prototype, "
|
|
28
|
+
], AddBreaksDto.prototype, "startDate", void 0);
|
|
29
29
|
__decorate([
|
|
30
|
-
(0,
|
|
31
|
-
__metadata("design:type",
|
|
32
|
-
], AddBreaksDto.prototype, "
|
|
30
|
+
(0, is_not_blank_1.IsNotBlank)(),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], AddBreaksDto.prototype, "endDate", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, is_not_blank_1.IsNotBlank)(),
|
|
35
|
+
__metadata("design:type", String)
|
|
36
|
+
], AddBreaksDto.prototype, "startTime", void 0);
|
|
33
37
|
__decorate([
|
|
34
38
|
(0, is_not_blank_1.IsNotBlank)(),
|
|
35
39
|
__metadata("design:type", String)
|
|
36
|
-
], AddBreaksDto.prototype, "
|
|
40
|
+
], AddBreaksDto.prototype, "endTime", void 0);
|
|
37
41
|
exports.AddBreaksDto = AddBreaksDto;
|
|
@@ -21,9 +21,17 @@ __decorate([
|
|
|
21
21
|
__decorate([
|
|
22
22
|
(0, is_not_blank_1.IsNotBlank)(),
|
|
23
23
|
__metadata("design:type", String)
|
|
24
|
-
], RemoveBreaksDto.prototype, "
|
|
24
|
+
], RemoveBreaksDto.prototype, "startDate", void 0);
|
|
25
25
|
__decorate([
|
|
26
26
|
(0, is_not_blank_1.IsNotBlank)(),
|
|
27
27
|
__metadata("design:type", String)
|
|
28
|
-
], RemoveBreaksDto.prototype, "
|
|
28
|
+
], RemoveBreaksDto.prototype, "endDate", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, is_not_blank_1.IsNotBlank)(),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], RemoveBreaksDto.prototype, "startTime", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, is_not_blank_1.IsNotBlank)(),
|
|
35
|
+
__metadata("design:type", String)
|
|
36
|
+
], RemoveBreaksDto.prototype, "endTime", void 0);
|
|
29
37
|
exports.RemoveBreaksDto = RemoveBreaksDto;
|