@escapenavigator/types 1.6.22 → 1.6.24
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/certificate-sale/certificate-sale.ro.d.ts +7 -20
- package/dist/certificate-sale/certificate-sale.ro.js +126 -0
- package/dist/client/client.ro.d.ts +6 -6
- package/dist/client/client.ro.js +83 -0
- package/dist/emails/send-email.dto.d.ts +0 -1
- package/dist/emails/send-email.dto.js +0 -5
- package/dist/order/create-order.dto.d.ts +1 -0
- package/dist/order/order.ro.d.ts +65 -68
- package/dist/order/order.ro.js +301 -0
- package/dist/order/update-players.dto.d.ts +1 -2
- package/dist/order/update-players.dto.js +0 -6
- package/dist/order-upselling/create-order-upselling.dto.d.ts +1 -0
- package/dist/profile/action/create-profile-action.dto.js +2 -0
- package/dist/profile/admin-profile.ro.d.ts +2 -1
- package/dist/profile/admin-profile.ro.js +6 -4
- package/dist/profile/contacts/create-profile-contact.dto.d.ts +10 -0
- package/dist/profile/contacts/create-profile-contact.dto.js +57 -0
- package/dist/profile/contacts/profile-contact.ro.d.ts +11 -0
- package/dist/profile/contacts/profile-contact.ro.js +53 -0
- package/dist/profile/create-profile.dto.d.ts +0 -1
- package/dist/profile/create-profile.dto.js +0 -5
- package/dist/shared/ro-class.d.ts +4 -0
- package/dist/shared/ro-class.js +24 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +2 -2
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { CertificateRO } from '../certificate/certificate.ro';
|
|
2
2
|
import { ClientRO } from '../client/client.ro';
|
|
3
|
+
import { Discounts, Transactions } from '../order/order.ro';
|
|
3
4
|
import { ResponseObject } from '../shared/ro';
|
|
5
|
+
import { RO } from '../shared/ro-class';
|
|
4
6
|
import { SourceEnum } from '../shared/source.enum';
|
|
5
|
-
import { TransactionTypeEnum } from '../transaction/enum/transaction-type.enum';
|
|
6
7
|
import { CertificatesaleDeliveryTypeEnum } from './enum/certificatesales-delivery-type.enum';
|
|
7
|
-
export declare
|
|
8
|
+
export declare class CertificateSaleRO extends RO {
|
|
9
|
+
profileId: number;
|
|
8
10
|
sended: boolean;
|
|
9
11
|
expireDate: string;
|
|
10
12
|
certificate: CertificateRO;
|
|
@@ -31,21 +33,6 @@ export declare type CertificateSaleRO = ResponseObject & {
|
|
|
31
33
|
orderId: number;
|
|
32
34
|
};
|
|
33
35
|
client: ClientRO;
|
|
34
|
-
discounts:
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
amount: number;
|
|
38
|
-
createdAt: Date;
|
|
39
|
-
userId: number;
|
|
40
|
-
}>;
|
|
41
|
-
transactions: Array<{
|
|
42
|
-
id: number;
|
|
43
|
-
cashboxId: number;
|
|
44
|
-
amount: number;
|
|
45
|
-
comment: string;
|
|
46
|
-
userId: number;
|
|
47
|
-
createdAt: Date;
|
|
48
|
-
type: TransactionTypeEnum;
|
|
49
|
-
paymentId: string;
|
|
50
|
-
}>;
|
|
51
|
-
};
|
|
36
|
+
discounts: Discounts[];
|
|
37
|
+
transactions: Transactions[];
|
|
38
|
+
}
|
|
@@ -1,2 +1,128 @@
|
|
|
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.CertificateSaleRO = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const client_ro_1 = require("../client/client.ro");
|
|
15
|
+
const order_ro_1 = require("../order/order.ro");
|
|
16
|
+
const ro_class_1 = require("../shared/ro-class");
|
|
17
|
+
const source_enum_1 = require("../shared/source.enum");
|
|
18
|
+
const certificatesales_delivery_type_enum_1 = require("./enum/certificatesales-delivery-type.enum");
|
|
19
|
+
class CertificateSaleRO extends ro_class_1.RO {
|
|
20
|
+
}
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, class_transformer_1.Expose)(),
|
|
23
|
+
__metadata("design:type", Number)
|
|
24
|
+
], CertificateSaleRO.prototype, "profileId", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, class_transformer_1.Expose)(),
|
|
27
|
+
__metadata("design:type", Boolean)
|
|
28
|
+
], CertificateSaleRO.prototype, "sended", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, class_transformer_1.Expose)(),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], CertificateSaleRO.prototype, "expireDate", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, class_transformer_1.Expose)(),
|
|
35
|
+
__metadata("design:type", Object)
|
|
36
|
+
], CertificateSaleRO.prototype, "certificate", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, class_transformer_1.Expose)(),
|
|
39
|
+
__metadata("design:type", String)
|
|
40
|
+
], CertificateSaleRO.prototype, "code", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, class_transformer_1.Expose)(),
|
|
43
|
+
__metadata("design:type", String)
|
|
44
|
+
], CertificateSaleRO.prototype, "source", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, class_transformer_1.Expose)(),
|
|
47
|
+
__metadata("design:type", Number)
|
|
48
|
+
], CertificateSaleRO.prototype, "nominal", void 0);
|
|
49
|
+
__decorate([
|
|
50
|
+
(0, class_transformer_1.Expose)(),
|
|
51
|
+
__metadata("design:type", Number)
|
|
52
|
+
], CertificateSaleRO.prototype, "extraPrice", void 0);
|
|
53
|
+
__decorate([
|
|
54
|
+
(0, class_transformer_1.Expose)(),
|
|
55
|
+
__metadata("design:type", Number)
|
|
56
|
+
], CertificateSaleRO.prototype, "deliveryPrice", void 0);
|
|
57
|
+
__decorate([
|
|
58
|
+
(0, class_transformer_1.Expose)(),
|
|
59
|
+
__metadata("design:type", String)
|
|
60
|
+
], CertificateSaleRO.prototype, "deliveryType", void 0);
|
|
61
|
+
__decorate([
|
|
62
|
+
(0, class_transformer_1.Expose)(),
|
|
63
|
+
__metadata("design:type", String)
|
|
64
|
+
], CertificateSaleRO.prototype, "deliveryEmail", void 0);
|
|
65
|
+
__decorate([
|
|
66
|
+
(0, class_transformer_1.Expose)(),
|
|
67
|
+
__metadata("design:type", String)
|
|
68
|
+
], CertificateSaleRO.prototype, "deliveryMessage", void 0);
|
|
69
|
+
__decorate([
|
|
70
|
+
(0, class_transformer_1.Expose)(),
|
|
71
|
+
__metadata("design:type", String)
|
|
72
|
+
], CertificateSaleRO.prototype, "deliveryName", void 0);
|
|
73
|
+
__decorate([
|
|
74
|
+
(0, class_transformer_1.Expose)(),
|
|
75
|
+
__metadata("design:type", String)
|
|
76
|
+
], CertificateSaleRO.prototype, "deliverySurname", void 0);
|
|
77
|
+
__decorate([
|
|
78
|
+
(0, class_transformer_1.Expose)(),
|
|
79
|
+
__metadata("design:type", String)
|
|
80
|
+
], CertificateSaleRO.prototype, "deliveryPhone", void 0);
|
|
81
|
+
__decorate([
|
|
82
|
+
(0, class_transformer_1.Expose)(),
|
|
83
|
+
__metadata("design:type", String)
|
|
84
|
+
], CertificateSaleRO.prototype, "deliveryAddress", void 0);
|
|
85
|
+
__decorate([
|
|
86
|
+
(0, class_transformer_1.Expose)(),
|
|
87
|
+
__metadata("design:type", String)
|
|
88
|
+
], CertificateSaleRO.prototype, "deliveryCity", void 0);
|
|
89
|
+
__decorate([
|
|
90
|
+
(0, class_transformer_1.Expose)(),
|
|
91
|
+
__metadata("design:type", String)
|
|
92
|
+
], CertificateSaleRO.prototype, "deliveryPostcode", void 0);
|
|
93
|
+
__decorate([
|
|
94
|
+
(0, class_transformer_1.Expose)(),
|
|
95
|
+
__metadata("design:type", String)
|
|
96
|
+
], CertificateSaleRO.prototype, "sendingEmailFullUtcDate", void 0);
|
|
97
|
+
__decorate([
|
|
98
|
+
(0, class_transformer_1.Expose)(),
|
|
99
|
+
__metadata("design:type", String)
|
|
100
|
+
], CertificateSaleRO.prototype, "deliveryTrackingInfo", void 0);
|
|
101
|
+
__decorate([
|
|
102
|
+
(0, class_transformer_1.Expose)(),
|
|
103
|
+
__metadata("design:type", Number)
|
|
104
|
+
], CertificateSaleRO.prototype, "payed", void 0);
|
|
105
|
+
__decorate([
|
|
106
|
+
(0, class_transformer_1.Expose)(),
|
|
107
|
+
__metadata("design:type", Number)
|
|
108
|
+
], CertificateSaleRO.prototype, "total", void 0);
|
|
109
|
+
__decorate([
|
|
110
|
+
(0, class_transformer_1.Expose)(),
|
|
111
|
+
__metadata("design:type", Number)
|
|
112
|
+
], CertificateSaleRO.prototype, "toPay", void 0);
|
|
113
|
+
__decorate([
|
|
114
|
+
(0, class_transformer_1.Expose)(),
|
|
115
|
+
(0, class_transformer_1.Type)(() => client_ro_1.ClientRO),
|
|
116
|
+
__metadata("design:type", client_ro_1.ClientRO)
|
|
117
|
+
], CertificateSaleRO.prototype, "client", void 0);
|
|
118
|
+
__decorate([
|
|
119
|
+
(0, class_transformer_1.Expose)(),
|
|
120
|
+
(0, class_transformer_1.Type)(() => order_ro_1.Discounts),
|
|
121
|
+
__metadata("design:type", Array)
|
|
122
|
+
], CertificateSaleRO.prototype, "discounts", void 0);
|
|
123
|
+
__decorate([
|
|
124
|
+
(0, class_transformer_1.Expose)(),
|
|
125
|
+
(0, class_transformer_1.Type)(() => order_ro_1.Transactions),
|
|
126
|
+
__metadata("design:type", Array)
|
|
127
|
+
], CertificateSaleRO.prototype, "transactions", void 0);
|
|
128
|
+
exports.CertificateSaleRO = CertificateSaleRO;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare
|
|
1
|
+
import { RO } from '../shared/ro-class';
|
|
2
|
+
export declare class PrevData {
|
|
3
|
+
}
|
|
4
|
+
export declare class ClientRO extends RO {
|
|
3
5
|
name: string;
|
|
4
6
|
surname: string;
|
|
5
7
|
phone: string;
|
|
@@ -8,13 +10,11 @@ export declare type ClientRO = ResponseObject & {
|
|
|
8
10
|
address: string;
|
|
9
11
|
city: string;
|
|
10
12
|
postcode: string;
|
|
11
|
-
aboutClient?: string;
|
|
12
13
|
sendAds: boolean;
|
|
13
14
|
lastOrderCreatedDate: string;
|
|
14
15
|
lastOrderDate: string;
|
|
15
|
-
trustIndex: number;
|
|
16
16
|
ordersCount: number;
|
|
17
17
|
certificatesCount: number;
|
|
18
18
|
blockedDate?: string;
|
|
19
|
-
previousData:
|
|
20
|
-
}
|
|
19
|
+
previousData: PrevData[];
|
|
20
|
+
}
|
package/dist/client/client.ro.js
CHANGED
|
@@ -1,2 +1,85 @@
|
|
|
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.ClientRO = exports.PrevData = void 0;
|
|
13
|
+
/* eslint-disable max-classes-per-file */
|
|
14
|
+
const class_transformer_1 = require("class-transformer");
|
|
15
|
+
const ro_class_1 = require("../shared/ro-class");
|
|
16
|
+
let PrevData = class PrevData {
|
|
17
|
+
};
|
|
18
|
+
PrevData = __decorate([
|
|
19
|
+
(0, class_transformer_1.Expose)()
|
|
20
|
+
], PrevData);
|
|
21
|
+
exports.PrevData = PrevData;
|
|
22
|
+
class ClientRO extends ro_class_1.RO {
|
|
23
|
+
}
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, class_transformer_1.Expose)(),
|
|
26
|
+
__metadata("design:type", String)
|
|
27
|
+
], ClientRO.prototype, "name", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, class_transformer_1.Expose)(),
|
|
30
|
+
__metadata("design:type", String)
|
|
31
|
+
], ClientRO.prototype, "surname", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, class_transformer_1.Expose)(),
|
|
34
|
+
__metadata("design:type", String)
|
|
35
|
+
], ClientRO.prototype, "phone", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, class_transformer_1.Expose)(),
|
|
38
|
+
__metadata("design:type", String)
|
|
39
|
+
], ClientRO.prototype, "phone2", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, class_transformer_1.Expose)(),
|
|
42
|
+
__metadata("design:type", String)
|
|
43
|
+
], ClientRO.prototype, "email", void 0);
|
|
44
|
+
__decorate([
|
|
45
|
+
(0, class_transformer_1.Expose)(),
|
|
46
|
+
__metadata("design:type", String)
|
|
47
|
+
], ClientRO.prototype, "address", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
(0, class_transformer_1.Expose)(),
|
|
50
|
+
__metadata("design:type", String)
|
|
51
|
+
], ClientRO.prototype, "city", void 0);
|
|
52
|
+
__decorate([
|
|
53
|
+
(0, class_transformer_1.Expose)(),
|
|
54
|
+
__metadata("design:type", String)
|
|
55
|
+
], ClientRO.prototype, "postcode", void 0);
|
|
56
|
+
__decorate([
|
|
57
|
+
(0, class_transformer_1.Expose)(),
|
|
58
|
+
__metadata("design:type", Boolean)
|
|
59
|
+
], ClientRO.prototype, "sendAds", void 0);
|
|
60
|
+
__decorate([
|
|
61
|
+
(0, class_transformer_1.Expose)(),
|
|
62
|
+
__metadata("design:type", String)
|
|
63
|
+
], ClientRO.prototype, "lastOrderCreatedDate", void 0);
|
|
64
|
+
__decorate([
|
|
65
|
+
(0, class_transformer_1.Expose)(),
|
|
66
|
+
__metadata("design:type", String)
|
|
67
|
+
], ClientRO.prototype, "lastOrderDate", void 0);
|
|
68
|
+
__decorate([
|
|
69
|
+
(0, class_transformer_1.Expose)(),
|
|
70
|
+
__metadata("design:type", Number)
|
|
71
|
+
], ClientRO.prototype, "ordersCount", void 0);
|
|
72
|
+
__decorate([
|
|
73
|
+
(0, class_transformer_1.Expose)(),
|
|
74
|
+
__metadata("design:type", Number)
|
|
75
|
+
], ClientRO.prototype, "certificatesCount", void 0);
|
|
76
|
+
__decorate([
|
|
77
|
+
(0, class_transformer_1.Expose)(),
|
|
78
|
+
__metadata("design:type", String)
|
|
79
|
+
], ClientRO.prototype, "blockedDate", void 0);
|
|
80
|
+
__decorate([
|
|
81
|
+
(0, class_transformer_1.Expose)(),
|
|
82
|
+
(0, class_transformer_1.Type)(() => PrevData),
|
|
83
|
+
__metadata("design:type", Array)
|
|
84
|
+
], ClientRO.prototype, "previousData", void 0);
|
|
85
|
+
exports.ClientRO = ClientRO;
|
|
@@ -36,11 +36,6 @@ __decorate([
|
|
|
36
36
|
(0, class_transformer_1.Expose)(),
|
|
37
37
|
__metadata("design:type", String)
|
|
38
38
|
], SendEmailDto.prototype, "subject", void 0);
|
|
39
|
-
__decorate([
|
|
40
|
-
(0, class_validator_1.IsOptional)(),
|
|
41
|
-
(0, class_transformer_1.Expose)(),
|
|
42
|
-
__metadata("design:type", String)
|
|
43
|
-
], SendEmailDto.prototype, "prevIdentificator", void 0);
|
|
44
39
|
__decorate([
|
|
45
40
|
(0, class_validator_1.IsOptional)(),
|
|
46
41
|
(0, class_validator_1.IsPositive)(),
|
package/dist/order/order.ro.d.ts
CHANGED
|
@@ -2,30 +2,72 @@ import { ClientRO } from '../client/client.ro';
|
|
|
2
2
|
import { OrderPenaltyTypeEnum } from '../order-penalty/enum/order-penalty-type.enum';
|
|
3
3
|
import { QuestroomCancelationTypeEnum } from '../questroom/enum/questroom-cancelation-type.enum';
|
|
4
4
|
import { Languages } from '../shared/enum/languages.enum';
|
|
5
|
-
import {
|
|
5
|
+
import { RO } from '../shared/ro-class';
|
|
6
6
|
import { SourceEnum } from '../shared/source.enum';
|
|
7
7
|
import { PrepaymentTypeEnum } from '../slot/enum/prepayment-type.enum';
|
|
8
8
|
import { TransactionSourceEnum } from '../transaction/enum/transaction-source.enum';
|
|
9
9
|
import { TransactionTypeEnum } from '../transaction/enum/transaction-type.enum';
|
|
10
10
|
import { UserMessageResponseObject } from '../user-message/user-message.ro';
|
|
11
11
|
import { OrderCancelReasonEnum } from './enum/order-cancel-reson.enum';
|
|
12
|
-
|
|
12
|
+
declare class Rule {
|
|
13
|
+
prepayment: number;
|
|
14
|
+
minHoursForBooking: number;
|
|
15
|
+
prepaymentType: PrepaymentTypeEnum;
|
|
16
|
+
cancelationRule: QuestroomCancelationTypeEnum;
|
|
17
|
+
minHoursForFreeCanceling: number;
|
|
18
|
+
}
|
|
19
|
+
declare class Slot {
|
|
20
|
+
expiration: string;
|
|
21
|
+
rule: Rule;
|
|
22
|
+
}
|
|
23
|
+
declare class Certificates extends RO {
|
|
24
|
+
nominal: number;
|
|
25
|
+
code: string;
|
|
26
|
+
userId: number;
|
|
27
|
+
certificateId: number;
|
|
28
|
+
orderId: number;
|
|
29
|
+
}
|
|
30
|
+
export declare class Discounts extends RO {
|
|
31
|
+
reason: string;
|
|
32
|
+
amount: number;
|
|
33
|
+
userId: number;
|
|
34
|
+
}
|
|
35
|
+
declare class Promocodes extends RO {
|
|
36
|
+
amount: number;
|
|
37
|
+
code: string;
|
|
38
|
+
userId: number;
|
|
39
|
+
}
|
|
40
|
+
declare class Upsellings extends RO {
|
|
41
|
+
title: string;
|
|
42
|
+
comment?: string;
|
|
43
|
+
amount: number;
|
|
44
|
+
userId: number;
|
|
45
|
+
}
|
|
46
|
+
declare class Penalties extends RO {
|
|
47
|
+
reason: string;
|
|
48
|
+
type: OrderPenaltyTypeEnum;
|
|
49
|
+
amount: number;
|
|
50
|
+
userId: number;
|
|
51
|
+
}
|
|
52
|
+
export declare class Transactions extends RO {
|
|
53
|
+
type: TransactionTypeEnum;
|
|
54
|
+
provider: TransactionSourceEnum;
|
|
55
|
+
cashboxId: number;
|
|
56
|
+
paymentId: string;
|
|
57
|
+
comment: string;
|
|
58
|
+
amount: number;
|
|
59
|
+
userId: number;
|
|
60
|
+
}
|
|
61
|
+
export declare class OrderRO extends RO {
|
|
62
|
+
profileId: number;
|
|
63
|
+
updatedAt: Date;
|
|
13
64
|
language?: Languages;
|
|
14
65
|
price: {
|
|
15
66
|
[x: string]: number;
|
|
16
67
|
};
|
|
17
68
|
moderatorId?: number;
|
|
18
69
|
slotId?: number;
|
|
19
|
-
slot?:
|
|
20
|
-
expiration: string;
|
|
21
|
-
rule: {
|
|
22
|
-
prepayment: number;
|
|
23
|
-
minHoursForBooking: number;
|
|
24
|
-
prepaymentType: PrepaymentTypeEnum;
|
|
25
|
-
cancelationRule: QuestroomCancelationTypeEnum;
|
|
26
|
-
minHoursForFreeCanceling: number;
|
|
27
|
-
};
|
|
28
|
-
};
|
|
70
|
+
slot?: Slot;
|
|
29
71
|
payed: number;
|
|
30
72
|
code: string;
|
|
31
73
|
total: number;
|
|
@@ -34,64 +76,19 @@ export declare type OrderRO = ResponseObject & {
|
|
|
34
76
|
cancelationType: OrderCancelReasonEnum;
|
|
35
77
|
utcDate: string;
|
|
36
78
|
result: number;
|
|
79
|
+
resultRating: number;
|
|
80
|
+
comment: string;
|
|
37
81
|
photos: string[];
|
|
38
82
|
source: SourceEnum;
|
|
39
83
|
client: ClientRO;
|
|
40
84
|
messages: UserMessageResponseObject[];
|
|
41
85
|
questroomId: number;
|
|
42
|
-
certificates:
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
code: string;
|
|
52
|
-
userId: number;
|
|
53
|
-
certificateId: number;
|
|
54
|
-
orderId: number;
|
|
55
|
-
}>;
|
|
56
|
-
upsellings: Array<{
|
|
57
|
-
id: number;
|
|
58
|
-
title: string;
|
|
59
|
-
comment?: string;
|
|
60
|
-
amount: number;
|
|
61
|
-
createdAt: Date;
|
|
62
|
-
userId: number;
|
|
63
|
-
}>;
|
|
64
|
-
discounts: Array<{
|
|
65
|
-
id: number;
|
|
66
|
-
reason: string;
|
|
67
|
-
amount: number;
|
|
68
|
-
createdAt: Date;
|
|
69
|
-
userId: number;
|
|
70
|
-
}>;
|
|
71
|
-
promocodes: Array<{
|
|
72
|
-
id: number;
|
|
73
|
-
amount: number;
|
|
74
|
-
code: string;
|
|
75
|
-
createdAt: Date;
|
|
76
|
-
userId: number;
|
|
77
|
-
}>;
|
|
78
|
-
penalties: Array<{
|
|
79
|
-
id: number;
|
|
80
|
-
reason: string;
|
|
81
|
-
type: OrderPenaltyTypeEnum;
|
|
82
|
-
amount: number;
|
|
83
|
-
userId: number;
|
|
84
|
-
createdAt: Date;
|
|
85
|
-
}>;
|
|
86
|
-
transactions: Array<{
|
|
87
|
-
id: number;
|
|
88
|
-
type: TransactionTypeEnum;
|
|
89
|
-
provider: TransactionSourceEnum;
|
|
90
|
-
cashboxId: number;
|
|
91
|
-
paymentId: string;
|
|
92
|
-
comment: string;
|
|
93
|
-
amount: number;
|
|
94
|
-
userId: number;
|
|
95
|
-
createdAt: Date;
|
|
96
|
-
}>;
|
|
97
|
-
};
|
|
86
|
+
certificates: Certificates[];
|
|
87
|
+
uploadedCertificates: Certificates[];
|
|
88
|
+
upsellings: Upsellings[];
|
|
89
|
+
discounts: Discounts[];
|
|
90
|
+
promocodes: Promocodes[];
|
|
91
|
+
penalties: Penalties[];
|
|
92
|
+
transactions: Transactions[];
|
|
93
|
+
}
|
|
94
|
+
export {};
|