@escapenavigator/types 1.0.2 → 1.0.6
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/cashbox/cashbox.ro.d.ts +1 -1
- package/dist/cashbox/create-cashbox.dto.d.ts +1 -1
- package/dist/cashbox/update-cashbox.dto.d.ts +1 -1
- package/dist/certificate/certificate.ro.d.ts +2 -2
- package/dist/certificate/create-certificate.dto.d.ts +2 -2
- package/dist/certificate/create-certificate.dto.js +1 -2
- package/dist/certificate-sale/create-certificatesale.dto.d.ts +2 -2
- package/dist/certificate-sale/create-certificatesale.dto.js +2 -2
- package/dist/client/create-client-from-widget.dto.d.ts +1 -1
- package/dist/client/create-client-from-widget.dto.js +2 -2
- package/dist/financeitem/enum/financeitem-group.enum.d.ts +6 -0
- package/dist/financeitem/enum/financeitem-group.enum.js +10 -0
- package/dist/financeitem/financeitem.ro.d.ts +2 -0
- package/dist/order/add-certificate-to-order.dto.d.ts +1 -1
- package/dist/order/add-certificate-to-order.dto.js +2 -2
- package/dist/order/create-order-from-widget.dto.d.ts +7 -7
- package/dist/order/create-order-from-widget.dto.js +5 -5
- package/dist/order/create-order.dto.d.ts +2 -2
- package/dist/order/create-order.dto.js +2 -3
- package/dist/order/order.ro.d.ts +14 -14
- package/dist/order/orders-list.ro.d.ts +2 -2
- package/dist/order/remove-certificate-from-order.dto.d.ts +1 -1
- package/dist/order/remove-certificate-from-order.dto.js +2 -2
- package/dist/order/update-order-slot.dto.d.ts +1 -1
- package/dist/order/update-order-slot.dto.js +2 -2
- package/dist/order-certificate/create-order-certificate.dto.d.ts +2 -2
- package/dist/order-certificate/create-order-certificate.dto.js +2 -2
- package/dist/order-discount/create-order-discount.dto.d.ts +1 -1
- package/dist/order-discount/create-order-discount.dto.js +1 -1
- package/dist/order-penalty/create-order-penalty.dto.d.ts +1 -1
- package/dist/order-penalty/create-order-penalty.dto.js +1 -1
- package/dist/order-upselling/create-order-upselling.dto.d.ts +2 -2
- package/dist/order-upselling/create-order-upselling.dto.js +1 -2
- package/dist/profile/create-profile.dto.d.ts +2 -4
- package/dist/profile/create-profile.dto.js +0 -3
- package/dist/profile/enum/profile-status.enum.d.ts +0 -1
- package/dist/profile/enum/profile-status.enum.js +0 -1
- package/dist/profile/update-profile.dto.d.ts +2 -4
- package/dist/profile/update-profile.dto.js +0 -3
- package/dist/questroom/create-questroom.dto.d.ts +4 -4
- package/dist/questroom/create-questroom.dto.js +3 -3
- package/dist/questroom/questroom.ro.d.ts +3 -3
- package/dist/registration-request/registration-request.ro.d.ts +1 -6
- package/dist/registration-request/update-registration-request.dto.d.ts +0 -3
- package/dist/registration-request/update-registration-request.dto.js +0 -6
- package/dist/shared/ro.d.ts +2 -2
- package/dist/slot/add-breaks.dto.d.ts +1 -1
- package/dist/slot/add-breaks.dto.js +2 -1
- package/dist/slot/create-slot.dto.d.ts +2 -2
- package/dist/slot/create-slot.dto.js +3 -2
- package/dist/slot/get-day-schedule.dto.d.ts +1 -1
- package/dist/slot/get-day-schedule.dto.js +0 -1
- package/dist/slot/get-week-schedule.dto.d.ts +1 -1
- package/dist/slot/get-week-schedule.dto.js +2 -1
- package/dist/slot/remove-breaks.dto.d.ts +1 -1
- package/dist/slot/remove-breaks.dto.js +2 -1
- package/dist/slot/slot.ro.d.ts +3 -3
- package/dist/slot/update-slot.dto.d.ts +1 -1
- package/dist/slot/widget-slot.ro.d.ts +1 -1
- package/dist/slot-template/create-slot-template.dto.d.ts +2 -2
- package/dist/slot-template/create-slot-template.dto.js +2 -2
- package/dist/slot-template/slot-template-element.d.ts +1 -1
- package/dist/slot-template/slot-template.ro.d.ts +1 -2
- package/dist/slot-template/update-slot-template.dto.d.ts +1 -0
- package/dist/slot-template/update-slot-template.dto.js +3 -0
- package/dist/transaction/create-certificate-sale-payment.dto.d.ts +2 -2
- package/dist/transaction/create-certificate-sale-payment.dto.js +2 -3
- package/dist/transaction/create-certificate-sale-refund.dto.d.ts +2 -2
- package/dist/transaction/create-certificate-sale-refund.dto.js +3 -3
- package/dist/transaction/create-order-payment.dto.d.ts +2 -2
- package/dist/transaction/create-order-payment.dto.js +2 -3
- package/dist/transaction/create-order-refund.dto.d.ts +2 -2
- package/dist/transaction/create-order-refund.dto.js +3 -3
- package/dist/transaction/create-transaction.dto.d.ts +3 -3
- package/dist/transaction/create-transaction.dto.js +3 -3
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/upselling/create-upselling.dto.d.ts +1 -1
- package/dist/user/create-user.dto.d.ts +1 -1
- package/dist/user/update-user.dto.d.ts +2 -2
- package/dist/user/update-user.dto.js +1 -1
- package/dist/user/user.ro.d.ts +2 -2
- package/dist/user-message/create-user-message.dto.d.ts +2 -2
- package/dist/user-message/user-message.ro.d.ts +3 -3
- package/dist/widget/create-widget.dto.d.ts +3 -3
- package/dist/widget/create-widget.dto.js +1 -1
- package/dist/widget/widget.ro.d.ts +3 -3
- package/package.json +2 -2
- package/dist/certificate-sale-comment/create-certificate-sale-comment.dto.d.ts +0 -4
- package/dist/certificate-sale-comment/create-certificate-sale-comment.dto.js +0 -22
- package/dist/option/create-option.dto.d.ts +0 -8
- package/dist/option/create-option.dto.js +0 -40
- package/dist/option/option.ro.d.ts +0 -9
- package/dist/option/option.ro.js +0 -2
- package/dist/option/update-option.dto.d.ts +0 -5
- package/dist/option/update-option.dto.js +0 -28
- package/dist/registration-request/enum/registration-request-status.enum.d.ts +0 -6
- package/dist/registration-request/enum/registration-request-status.enum.js +0 -10
- package/dist/slot-template/update-schedule-period.dto.d.ts +0 -6
- package/dist/slot-template/update-schedule-period.dto.js +0 -26
|
@@ -14,7 +14,7 @@ export declare type CertificateResponseObject = ResponseObject & {
|
|
|
14
14
|
information?: string;
|
|
15
15
|
awailableForNavigator: boolean;
|
|
16
16
|
awailableForWidgets: boolean;
|
|
17
|
-
walletId?:
|
|
17
|
+
walletId?: number;
|
|
18
18
|
allQuestrooms: boolean;
|
|
19
|
-
questroomsIds?:
|
|
19
|
+
questroomsIds?: number[];
|
|
20
20
|
};
|
|
@@ -13,7 +13,7 @@ export declare class CreateCertificateDto {
|
|
|
13
13
|
information: string;
|
|
14
14
|
awailableForNavigator: boolean;
|
|
15
15
|
awailableForWidgets: boolean;
|
|
16
|
-
walletId:
|
|
16
|
+
walletId: number;
|
|
17
17
|
allQuestrooms: boolean;
|
|
18
|
-
questroomsIds:
|
|
18
|
+
questroomsIds: number[];
|
|
19
19
|
}
|
|
@@ -64,8 +64,7 @@ var CreateCertificateDto = /** @class */ (function () {
|
|
|
64
64
|
(0, class_validator_1.IsOptional)()
|
|
65
65
|
], CreateCertificateDto.prototype, "awailableForWidgets");
|
|
66
66
|
__decorate([
|
|
67
|
-
(0, class_validator_1.
|
|
68
|
-
(0, class_validator_1.IsOptional)()
|
|
67
|
+
(0, class_validator_1.IsNumber)()
|
|
69
68
|
], CreateCertificateDto.prototype, "walletId");
|
|
70
69
|
__decorate([
|
|
71
70
|
(0, class_validator_1.IsBoolean)(),
|
|
@@ -2,7 +2,7 @@ import { CertificatesaleSourceEnum } from './enum/certificatesale-source.enum';
|
|
|
2
2
|
import { CertificatesaleDeliveryTypeEnum } from './enum/certificatesales-delivery-type.enum';
|
|
3
3
|
import { CertificatesaleStatusEnum } from './enum/certificatessales-status.enum';
|
|
4
4
|
export declare class CreateCertificatesaleDto {
|
|
5
|
-
certificateId:
|
|
5
|
+
certificateId: number;
|
|
6
6
|
expireDate: number;
|
|
7
7
|
status: CertificatesaleStatusEnum;
|
|
8
8
|
annulComment: string;
|
|
@@ -17,7 +17,7 @@ export declare class CreateCertificatesaleDto {
|
|
|
17
17
|
deliveryComment: string;
|
|
18
18
|
trackingNumber: string;
|
|
19
19
|
trackingCompany: string;
|
|
20
|
-
clientId:
|
|
20
|
+
clientId: number;
|
|
21
21
|
name: string;
|
|
22
22
|
phone: string;
|
|
23
23
|
email: string;
|
|
@@ -13,7 +13,7 @@ var CreateCertificatesaleDto = /** @class */ (function () {
|
|
|
13
13
|
function CreateCertificatesaleDto() {
|
|
14
14
|
}
|
|
15
15
|
__decorate([
|
|
16
|
-
(0,
|
|
16
|
+
(0, class_validator_1.IsNumber)()
|
|
17
17
|
], CreateCertificatesaleDto.prototype, "certificateId");
|
|
18
18
|
__decorate([
|
|
19
19
|
(0, class_validator_1.IsInt)(),
|
|
@@ -70,7 +70,7 @@ var CreateCertificatesaleDto = /** @class */ (function () {
|
|
|
70
70
|
(0, class_validator_1.IsOptional)()
|
|
71
71
|
], CreateCertificatesaleDto.prototype, "trackingCompany");
|
|
72
72
|
__decorate([
|
|
73
|
-
(0,
|
|
73
|
+
(0, class_validator_1.IsNumber)()
|
|
74
74
|
], CreateCertificatesaleDto.prototype, "clientId");
|
|
75
75
|
__decorate([
|
|
76
76
|
(0, is_not_blank_1.IsNotBlank)()
|
|
@@ -22,7 +22,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
22
22
|
};
|
|
23
23
|
exports.__esModule = true;
|
|
24
24
|
exports.CreateClientFromWidgetDto = void 0;
|
|
25
|
-
var
|
|
25
|
+
var class_validator_1 = require("class-validator");
|
|
26
26
|
var create_client_dto_1 = require("./create-client.dto");
|
|
27
27
|
var CreateClientFromWidgetDto = /** @class */ (function (_super) {
|
|
28
28
|
__extends(CreateClientFromWidgetDto, _super);
|
|
@@ -30,7 +30,7 @@ var CreateClientFromWidgetDto = /** @class */ (function (_super) {
|
|
|
30
30
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
31
31
|
}
|
|
32
32
|
__decorate([
|
|
33
|
-
(0,
|
|
33
|
+
(0, class_validator_1.IsNumber)()
|
|
34
34
|
], CreateClientFromWidgetDto.prototype, "widgetId");
|
|
35
35
|
return CreateClientFromWidgetDto;
|
|
36
36
|
}(create_client_dto_1.CreateClientDto));
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
exports.__esModule = true;
|
|
3
|
+
exports.FinanceitemGroupEnum = void 0;
|
|
4
|
+
var FinanceitemGroupEnum;
|
|
5
|
+
(function (FinanceitemGroupEnum) {
|
|
6
|
+
FinanceitemGroupEnum["ORDER"] = "order";
|
|
7
|
+
FinanceitemGroupEnum["CERTIFICATE"] = "certificate";
|
|
8
|
+
FinanceitemGroupEnum["SALARY"] = "salary";
|
|
9
|
+
FinanceitemGroupEnum["DEFAULT"] = "default";
|
|
10
|
+
})(FinanceitemGroupEnum = exports.FinanceitemGroupEnum || (exports.FinanceitemGroupEnum = {}));
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { ResponseObject } from '../shared/ro';
|
|
2
|
+
import { FinanceitemGroupEnum } from './enum/financeitem-group.enum';
|
|
2
3
|
import { FinanceitemTypeEnum } from './enum/financeitem-type.enum';
|
|
3
4
|
export declare type FinanceitemResponseObject = ResponseObject & {
|
|
4
5
|
title: string;
|
|
5
6
|
comment?: string;
|
|
6
7
|
type: FinanceitemTypeEnum;
|
|
8
|
+
group: FinanceitemGroupEnum;
|
|
7
9
|
};
|
|
@@ -7,12 +7,12 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
7
7
|
};
|
|
8
8
|
exports.__esModule = true;
|
|
9
9
|
exports.AddCertificateToOrderDto = void 0;
|
|
10
|
-
var
|
|
10
|
+
var class_validator_1 = require("class-validator");
|
|
11
11
|
var AddCertificateToOrderDto = /** @class */ (function () {
|
|
12
12
|
function AddCertificateToOrderDto() {
|
|
13
13
|
}
|
|
14
14
|
__decorate([
|
|
15
|
-
(0,
|
|
15
|
+
(0, class_validator_1.IsNumber)()
|
|
16
16
|
], AddCertificateToOrderDto.prototype, "certificateId");
|
|
17
17
|
return AddCertificateToOrderDto;
|
|
18
18
|
}());
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
export declare class CreateOrderFromWidgetDto {
|
|
2
2
|
players: number;
|
|
3
|
-
slotId:
|
|
4
|
-
clientId:
|
|
5
|
-
certificateId?:
|
|
3
|
+
slotId: number;
|
|
4
|
+
clientId: number;
|
|
5
|
+
certificateId?: number;
|
|
6
6
|
clientComment?: string;
|
|
7
|
-
upsellings?: {
|
|
8
|
-
id:
|
|
7
|
+
upsellings?: Array<{
|
|
8
|
+
id: number;
|
|
9
9
|
sum?: string;
|
|
10
|
-
}
|
|
11
|
-
widgetId:
|
|
10
|
+
}>;
|
|
11
|
+
widgetId: number;
|
|
12
12
|
}
|
|
@@ -8,7 +8,6 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
8
8
|
exports.__esModule = true;
|
|
9
9
|
exports.CreateOrderFromWidgetDto = void 0;
|
|
10
10
|
var class_validator_1 = require("class-validator");
|
|
11
|
-
var is_not_blank_1 = require("../shared/is-not-blank");
|
|
12
11
|
var CreateOrderFromWidgetDto = /** @class */ (function () {
|
|
13
12
|
function CreateOrderFromWidgetDto() {
|
|
14
13
|
}
|
|
@@ -16,13 +15,14 @@ var CreateOrderFromWidgetDto = /** @class */ (function () {
|
|
|
16
15
|
(0, class_validator_1.IsNumber)()
|
|
17
16
|
], CreateOrderFromWidgetDto.prototype, "players");
|
|
18
17
|
__decorate([
|
|
19
|
-
(0,
|
|
18
|
+
(0, class_validator_1.IsNumber)()
|
|
20
19
|
], CreateOrderFromWidgetDto.prototype, "slotId");
|
|
21
20
|
__decorate([
|
|
22
|
-
(0,
|
|
21
|
+
(0, class_validator_1.IsNumber)()
|
|
23
22
|
], CreateOrderFromWidgetDto.prototype, "clientId");
|
|
24
23
|
__decorate([
|
|
25
|
-
(0, class_validator_1.IsOptional)()
|
|
24
|
+
(0, class_validator_1.IsOptional)(),
|
|
25
|
+
(0, class_validator_1.IsNumber)()
|
|
26
26
|
], CreateOrderFromWidgetDto.prototype, "certificateId");
|
|
27
27
|
__decorate([
|
|
28
28
|
(0, class_validator_1.IsOptional)()
|
|
@@ -32,7 +32,7 @@ var CreateOrderFromWidgetDto = /** @class */ (function () {
|
|
|
32
32
|
(0, class_validator_1.IsArray)()
|
|
33
33
|
], CreateOrderFromWidgetDto.prototype, "upsellings");
|
|
34
34
|
__decorate([
|
|
35
|
-
(0,
|
|
35
|
+
(0, class_validator_1.IsNumber)()
|
|
36
36
|
], CreateOrderFromWidgetDto.prototype, "widgetId");
|
|
37
37
|
return CreateOrderFromWidgetDto;
|
|
38
38
|
}());
|
|
@@ -8,18 +8,17 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
8
8
|
exports.__esModule = true;
|
|
9
9
|
exports.CreateOrderDto = void 0;
|
|
10
10
|
var class_validator_1 = require("class-validator");
|
|
11
|
-
var is_not_blank_1 = require("../shared/is-not-blank");
|
|
12
11
|
var CreateOrderDto = /** @class */ (function () {
|
|
13
12
|
function CreateOrderDto() {
|
|
14
13
|
}
|
|
15
14
|
__decorate([
|
|
16
|
-
(0,
|
|
15
|
+
(0, class_validator_1.IsNumber)()
|
|
17
16
|
], CreateOrderDto.prototype, "slotId");
|
|
18
17
|
__decorate([
|
|
19
18
|
(0, class_validator_1.IsNumber)()
|
|
20
19
|
], CreateOrderDto.prototype, "players");
|
|
21
20
|
__decorate([
|
|
22
|
-
(0,
|
|
21
|
+
(0, class_validator_1.IsNumber)()
|
|
23
22
|
], CreateOrderDto.prototype, "clientId");
|
|
24
23
|
return CreateOrderDto;
|
|
25
24
|
}());
|
package/dist/order/order.ro.d.ts
CHANGED
|
@@ -18,57 +18,57 @@ export declare type OrderResponseObject = ResponseObject & {
|
|
|
18
18
|
technicalPhotos: string[];
|
|
19
19
|
source: OrderSourceEnum;
|
|
20
20
|
client: {
|
|
21
|
-
id:
|
|
21
|
+
id: number;
|
|
22
22
|
name: string;
|
|
23
23
|
surname: string;
|
|
24
24
|
email: string;
|
|
25
25
|
phone: string;
|
|
26
26
|
};
|
|
27
27
|
questroom: {
|
|
28
|
-
id:
|
|
28
|
+
id: number;
|
|
29
29
|
photo: string;
|
|
30
30
|
title: string;
|
|
31
31
|
languages: Languages[];
|
|
32
32
|
};
|
|
33
33
|
certificates: Array<{
|
|
34
|
-
id:
|
|
34
|
+
id: number;
|
|
35
35
|
code: number;
|
|
36
36
|
sum: number;
|
|
37
37
|
userId: string;
|
|
38
38
|
createdAt: Date;
|
|
39
39
|
}>;
|
|
40
40
|
upsellings: Array<{
|
|
41
|
-
id:
|
|
41
|
+
id: number;
|
|
42
42
|
title: string;
|
|
43
43
|
sum: number;
|
|
44
44
|
createdAt: Date;
|
|
45
|
-
userId:
|
|
45
|
+
userId: number;
|
|
46
46
|
}>;
|
|
47
47
|
discounts: Array<{
|
|
48
|
-
id:
|
|
48
|
+
id: number;
|
|
49
49
|
reason: string;
|
|
50
50
|
sum: number;
|
|
51
51
|
createdAt: Date;
|
|
52
|
-
userId:
|
|
52
|
+
userId: number;
|
|
53
53
|
}>;
|
|
54
54
|
comments: Array<{
|
|
55
|
-
id:
|
|
56
|
-
userId:
|
|
55
|
+
id: number;
|
|
56
|
+
userId: number;
|
|
57
57
|
text: string;
|
|
58
58
|
createdAt: Date;
|
|
59
59
|
}>;
|
|
60
60
|
penalties: Array<{
|
|
61
|
-
id:
|
|
61
|
+
id: number;
|
|
62
62
|
reason: string;
|
|
63
63
|
sum: number;
|
|
64
|
-
userId:
|
|
64
|
+
userId: number;
|
|
65
65
|
createdAt: Date;
|
|
66
66
|
}>;
|
|
67
67
|
transactions: Array<{
|
|
68
|
-
id:
|
|
69
|
-
cashboxId:
|
|
68
|
+
id: number;
|
|
69
|
+
cashboxId: number;
|
|
70
70
|
sum: number;
|
|
71
|
-
userId:
|
|
71
|
+
userId: number;
|
|
72
72
|
createdAt: Date;
|
|
73
73
|
}>;
|
|
74
74
|
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare type OrdersListResponseObject = {
|
|
1
|
+
export declare type OrdersListResponseObject = Array<{
|
|
2
2
|
questroom: string;
|
|
3
|
-
}
|
|
3
|
+
}>;
|
|
@@ -7,12 +7,12 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
7
7
|
};
|
|
8
8
|
exports.__esModule = true;
|
|
9
9
|
exports.RemoveCertificateFromOrderDto = void 0;
|
|
10
|
-
var
|
|
10
|
+
var class_validator_1 = require("class-validator");
|
|
11
11
|
var RemoveCertificateFromOrderDto = /** @class */ (function () {
|
|
12
12
|
function RemoveCertificateFromOrderDto() {
|
|
13
13
|
}
|
|
14
14
|
__decorate([
|
|
15
|
-
(0,
|
|
15
|
+
(0, class_validator_1.IsNumber)()
|
|
16
16
|
], RemoveCertificateFromOrderDto.prototype, "certificateId");
|
|
17
17
|
return RemoveCertificateFromOrderDto;
|
|
18
18
|
}());
|
|
@@ -7,12 +7,12 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
7
7
|
};
|
|
8
8
|
exports.__esModule = true;
|
|
9
9
|
exports.UpdateOrderSlotDto = void 0;
|
|
10
|
-
var
|
|
10
|
+
var class_validator_1 = require("class-validator");
|
|
11
11
|
var UpdateOrderSlotDto = /** @class */ (function () {
|
|
12
12
|
function UpdateOrderSlotDto() {
|
|
13
13
|
}
|
|
14
14
|
__decorate([
|
|
15
|
-
(0,
|
|
15
|
+
(0, class_validator_1.IsNumber)()
|
|
16
16
|
], UpdateOrderSlotDto.prototype, "slotId");
|
|
17
17
|
return UpdateOrderSlotDto;
|
|
18
18
|
}());
|
|
@@ -12,10 +12,10 @@ var CreateOrderCertificateDto = /** @class */ (function () {
|
|
|
12
12
|
function CreateOrderCertificateDto() {
|
|
13
13
|
}
|
|
14
14
|
__decorate([
|
|
15
|
-
(0, class_validator_1.
|
|
15
|
+
(0, class_validator_1.IsNumber)()
|
|
16
16
|
], CreateOrderCertificateDto.prototype, "orderId");
|
|
17
17
|
__decorate([
|
|
18
|
-
(0, class_validator_1.
|
|
18
|
+
(0, class_validator_1.IsNumber)()
|
|
19
19
|
], CreateOrderCertificateDto.prototype, "certificateId");
|
|
20
20
|
return CreateOrderCertificateDto;
|
|
21
21
|
}());
|
|
@@ -18,7 +18,7 @@ var CreateOrderDiscountDto = /** @class */ (function () {
|
|
|
18
18
|
(0, class_validator_1.IsNumber)()
|
|
19
19
|
], CreateOrderDiscountDto.prototype, "sum");
|
|
20
20
|
__decorate([
|
|
21
|
-
(0, class_validator_1.
|
|
21
|
+
(0, class_validator_1.IsNumber)()
|
|
22
22
|
], CreateOrderDiscountDto.prototype, "orderId");
|
|
23
23
|
return CreateOrderDiscountDto;
|
|
24
24
|
}());
|
|
@@ -18,7 +18,7 @@ var CreateOrderPenaltyDto = /** @class */ (function () {
|
|
|
18
18
|
(0, class_validator_1.IsNumber)()
|
|
19
19
|
], CreateOrderPenaltyDto.prototype, "sum");
|
|
20
20
|
__decorate([
|
|
21
|
-
(0, class_validator_1.
|
|
21
|
+
(0, class_validator_1.IsNumber)()
|
|
22
22
|
], CreateOrderPenaltyDto.prototype, "orderId");
|
|
23
23
|
return CreateOrderPenaltyDto;
|
|
24
24
|
}());
|
|
@@ -8,7 +8,6 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
8
8
|
exports.__esModule = true;
|
|
9
9
|
exports.CreateOrderUpsellingDto = void 0;
|
|
10
10
|
var class_validator_1 = require("class-validator");
|
|
11
|
-
var is_not_blank_1 = require("../shared/is-not-blank");
|
|
12
11
|
var CreateOrderUpsellingDto = /** @class */ (function () {
|
|
13
12
|
function CreateOrderUpsellingDto() {
|
|
14
13
|
}
|
|
@@ -16,7 +15,7 @@ var CreateOrderUpsellingDto = /** @class */ (function () {
|
|
|
16
15
|
(0, class_validator_1.IsArray)()
|
|
17
16
|
], CreateOrderUpsellingDto.prototype, "upsellings");
|
|
18
17
|
__decorate([
|
|
19
|
-
(0,
|
|
18
|
+
(0, class_validator_1.IsNumber)()
|
|
20
19
|
], CreateOrderUpsellingDto.prototype, "orderId");
|
|
21
20
|
return CreateOrderUpsellingDto;
|
|
22
21
|
}());
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CountriesEnum } from '../shared/enum/countries.enum';
|
|
2
2
|
import { ProfileCurrencyEnum } from './enum/profile-currency';
|
|
3
|
-
import { ProfileStatusEnum } from './enum/profile-status.enum';
|
|
4
3
|
export declare class CreateProfileDto {
|
|
5
4
|
title: string;
|
|
6
5
|
legalTitle: string;
|
|
@@ -8,8 +7,7 @@ export declare class CreateProfileDto {
|
|
|
8
7
|
email: string;
|
|
9
8
|
site: string;
|
|
10
9
|
address: string;
|
|
11
|
-
country:
|
|
12
|
-
status: ProfileStatusEnum;
|
|
10
|
+
country: CountriesEnum;
|
|
13
11
|
currency: ProfileCurrencyEnum;
|
|
14
12
|
facebook?: string;
|
|
15
13
|
instagram?: string;
|
|
@@ -33,9 +33,6 @@ var CreateProfileDto = /** @class */ (function () {
|
|
|
33
33
|
__decorate([
|
|
34
34
|
(0, is_not_blank_1.IsNotBlank)()
|
|
35
35
|
], CreateProfileDto.prototype, "country");
|
|
36
|
-
__decorate([
|
|
37
|
-
(0, is_not_blank_1.IsNotBlank)()
|
|
38
|
-
], CreateProfileDto.prototype, "status");
|
|
39
36
|
__decorate([
|
|
40
37
|
(0, is_not_blank_1.IsNotBlank)()
|
|
41
38
|
], CreateProfileDto.prototype, "currency");
|
|
@@ -4,7 +4,6 @@ exports.ProfileStatusEnum = void 0;
|
|
|
4
4
|
var ProfileStatusEnum;
|
|
5
5
|
(function (ProfileStatusEnum) {
|
|
6
6
|
ProfileStatusEnum["NEW"] = "new";
|
|
7
|
-
ProfileStatusEnum["FIRST_CONTACT"] = "first_contact";
|
|
8
7
|
ProfileStatusEnum["SEND_INVITE"] = "send_invite";
|
|
9
8
|
ProfileStatusEnum["FIRST_OPEN"] = "first_open";
|
|
10
9
|
ProfileStatusEnum["COMPLITE_SETUP"] = "complite_setup";
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CountriesEnum } from '../shared/enum/countries.enum';
|
|
2
2
|
import { ProfileCurrencyEnum } from './enum/profile-currency';
|
|
3
|
-
import { ProfileStatusEnum } from './enum/profile-status.enum';
|
|
4
3
|
export declare class UpdateProfileDto {
|
|
5
4
|
title: string;
|
|
6
5
|
legalTitle: string;
|
|
@@ -8,8 +7,7 @@ export declare class UpdateProfileDto {
|
|
|
8
7
|
email: string;
|
|
9
8
|
site: string;
|
|
10
9
|
address: string;
|
|
11
|
-
country:
|
|
12
|
-
status: ProfileStatusEnum;
|
|
10
|
+
country: CountriesEnum;
|
|
13
11
|
currency: ProfileCurrencyEnum;
|
|
14
12
|
facebook?: string;
|
|
15
13
|
instagram?: string;
|
|
@@ -33,9 +33,6 @@ var UpdateProfileDto = /** @class */ (function () {
|
|
|
33
33
|
__decorate([
|
|
34
34
|
(0, is_not_blank_1.IsNotBlank)()
|
|
35
35
|
], UpdateProfileDto.prototype, "country");
|
|
36
|
-
__decorate([
|
|
37
|
-
(0, is_not_blank_1.IsNotBlank)()
|
|
38
|
-
], UpdateProfileDto.prototype, "status");
|
|
39
36
|
__decorate([
|
|
40
37
|
(0, is_not_blank_1.IsNotBlank)()
|
|
41
38
|
], UpdateProfileDto.prototype, "currency");
|
|
@@ -6,7 +6,7 @@ export declare class CreateQuestroomDto {
|
|
|
6
6
|
legend: string;
|
|
7
7
|
importantInformation: string;
|
|
8
8
|
defaultLanguage: string;
|
|
9
|
-
locationId:
|
|
9
|
+
locationId: number;
|
|
10
10
|
photos: string[];
|
|
11
11
|
time: number;
|
|
12
12
|
break: number;
|
|
@@ -15,15 +15,15 @@ export declare class CreateQuestroomDto {
|
|
|
15
15
|
difficult: number;
|
|
16
16
|
fear: number;
|
|
17
17
|
teaser: string;
|
|
18
|
-
actors:
|
|
18
|
+
actors: boolean;
|
|
19
19
|
neededModerators: number;
|
|
20
20
|
schedulePeriod: number;
|
|
21
21
|
languages: Languages;
|
|
22
22
|
awailableForNavigator: boolean;
|
|
23
23
|
awailableForWidgets: boolean;
|
|
24
24
|
minDaysForFreeCanceling: number;
|
|
25
|
-
questroomIds:
|
|
26
|
-
walletId:
|
|
25
|
+
questroomIds: number[];
|
|
26
|
+
walletId: number;
|
|
27
27
|
sortPosition: number;
|
|
28
28
|
company: string;
|
|
29
29
|
tags: string[];
|
|
@@ -31,7 +31,7 @@ var CreateQuestroomDto = /** @class */ (function () {
|
|
|
31
31
|
(0, is_not_blank_1.IsNotBlank)()
|
|
32
32
|
], CreateQuestroomDto.prototype, "defaultLanguage");
|
|
33
33
|
__decorate([
|
|
34
|
-
(0,
|
|
34
|
+
(0, class_validator_1.IsNumber)()
|
|
35
35
|
], CreateQuestroomDto.prototype, "locationId");
|
|
36
36
|
__decorate([
|
|
37
37
|
(0, class_validator_1.IsArray)(),
|
|
@@ -66,7 +66,7 @@ var CreateQuestroomDto = /** @class */ (function () {
|
|
|
66
66
|
(0, class_validator_1.IsOptional)()
|
|
67
67
|
], CreateQuestroomDto.prototype, "teaser");
|
|
68
68
|
__decorate([
|
|
69
|
-
(0, class_validator_1.
|
|
69
|
+
(0, class_validator_1.IsBoolean)(),
|
|
70
70
|
(0, class_validator_1.IsOptional)()
|
|
71
71
|
], CreateQuestroomDto.prototype, "actors");
|
|
72
72
|
__decorate([
|
|
@@ -98,7 +98,7 @@ var CreateQuestroomDto = /** @class */ (function () {
|
|
|
98
98
|
(0, class_validator_1.IsOptional)()
|
|
99
99
|
], CreateQuestroomDto.prototype, "questroomIds");
|
|
100
100
|
__decorate([
|
|
101
|
-
(0, class_validator_1.
|
|
101
|
+
(0, class_validator_1.IsNumber)(),
|
|
102
102
|
(0, class_validator_1.IsOptional)()
|
|
103
103
|
], CreateQuestroomDto.prototype, "walletId");
|
|
104
104
|
__decorate([
|
|
@@ -23,8 +23,8 @@ export declare type QuestroomResponseObject = ResponseObject & {
|
|
|
23
23
|
minDaysForFreeCanceling?: number;
|
|
24
24
|
awailableForNavigator: boolean;
|
|
25
25
|
awailableForWidgets: boolean;
|
|
26
|
-
questroomIds?:
|
|
27
|
-
walletId:
|
|
28
|
-
locationId:
|
|
26
|
+
questroomIds?: number[];
|
|
27
|
+
walletId: number;
|
|
28
|
+
locationId: number;
|
|
29
29
|
sortPosition: number;
|
|
30
30
|
};
|
|
@@ -1,12 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
import { RegistrationStatusEnum } from './enum/registration-request-status.enum';
|
|
3
|
-
export declare type RegistrationRequestResponseObject = ResponseObject & {
|
|
1
|
+
export declare type RegistrationRequestResponseObject = {
|
|
4
2
|
name: string;
|
|
5
3
|
email: string;
|
|
6
4
|
phone: string;
|
|
7
5
|
site: string;
|
|
8
|
-
status: RegistrationStatusEnum;
|
|
9
|
-
organizationId?: string;
|
|
10
|
-
inviteDate: Date;
|
|
11
6
|
comment?: string;
|
|
12
7
|
};
|