@escapenavigator/types 1.10.23 → 1.10.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.
|
@@ -5,6 +5,7 @@ import { PartnerProgramEnum } from './enum/partner-program.enum';
|
|
|
5
5
|
import { ProfileSalesStatus } from './enum/profile-sales-status.enum';
|
|
6
6
|
import { ProfileStatusEnum } from './enum/profile-step.enum';
|
|
7
7
|
import { ProfileTagEnum } from './enum/profile-tag.enum';
|
|
8
|
+
import { ProfileSubscriptionEnum } from './enum/profile-subscription.enum';
|
|
8
9
|
export declare class CreateProfileDto {
|
|
9
10
|
country: CountriesEnum;
|
|
10
11
|
salesStatus: ProfileSalesStatus;
|
|
@@ -29,4 +30,7 @@ export declare class CreateProfileDto {
|
|
|
29
30
|
registrationRequestId: number;
|
|
30
31
|
crm?: string;
|
|
31
32
|
comment?: string;
|
|
33
|
+
subscriptionStatus: ProfileSubscriptionEnum;
|
|
34
|
+
bookingCommission: number;
|
|
35
|
+
upsalesCommission: number;
|
|
32
36
|
}
|
|
@@ -19,6 +19,7 @@ const crm_verifiaction_enum_1 = require("./enum/crm-verifiaction.enum");
|
|
|
19
19
|
const partner_program_enum_1 = require("./enum/partner-program.enum");
|
|
20
20
|
const profile_sales_status_enum_1 = require("./enum/profile-sales-status.enum");
|
|
21
21
|
const profile_step_enum_1 = require("./enum/profile-step.enum");
|
|
22
|
+
const profile_subscription_enum_1 = require("./enum/profile-subscription.enum");
|
|
22
23
|
class CreateProfileDto {
|
|
23
24
|
}
|
|
24
25
|
__decorate([
|
|
@@ -145,4 +146,21 @@ __decorate([
|
|
|
145
146
|
(0, class_transformer_1.Expose)(),
|
|
146
147
|
__metadata("design:type", String)
|
|
147
148
|
], CreateProfileDto.prototype, "comment", void 0);
|
|
149
|
+
__decorate([
|
|
150
|
+
(0, class_validator_1.IsOptional)(),
|
|
151
|
+
(0, class_transformer_1.Expose)(),
|
|
152
|
+
__metadata("design:type", String)
|
|
153
|
+
], CreateProfileDto.prototype, "subscriptionStatus", void 0);
|
|
154
|
+
__decorate([
|
|
155
|
+
(0, class_validator_1.IsOptional)(),
|
|
156
|
+
(0, class_validator_1.IsPositive)(),
|
|
157
|
+
(0, class_transformer_1.Expose)(),
|
|
158
|
+
__metadata("design:type", Number)
|
|
159
|
+
], CreateProfileDto.prototype, "bookingCommission", void 0);
|
|
160
|
+
__decorate([
|
|
161
|
+
(0, class_validator_1.IsOptional)(),
|
|
162
|
+
(0, class_validator_1.IsPositive)(),
|
|
163
|
+
(0, class_transformer_1.Expose)(),
|
|
164
|
+
__metadata("design:type", Number)
|
|
165
|
+
], CreateProfileDto.prototype, "upsalesCommission", void 0);
|
|
148
166
|
exports.CreateProfileDto = CreateProfileDto;
|
|
@@ -104,6 +104,11 @@ __decorate([
|
|
|
104
104
|
(0, class_transformer_1.Type)(() => Cashbox),
|
|
105
105
|
__metadata("design:type", Cashbox)
|
|
106
106
|
], TransactionRO.prototype, "cashbox", void 0);
|
|
107
|
+
__decorate([
|
|
108
|
+
(0, class_transformer_1.Expose)(),
|
|
109
|
+
(0, class_transformer_1.Type)(() => Cashbox),
|
|
110
|
+
__metadata("design:type", Cashbox)
|
|
111
|
+
], TransactionRO.prototype, "toCashbox", void 0);
|
|
107
112
|
__decorate([
|
|
108
113
|
(0, class_transformer_1.Expose)(),
|
|
109
114
|
__metadata("design:type", Boolean)
|