@escapenavigator/types 2.2.9 → 2.2.10
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/admin/aggregator-order/aggregator-order.ro.d.ts +2 -0
- package/dist/admin/aggregator-order/aggregator-order.ro.js +8 -0
- package/dist/admin/aggregator-order/create-aggregator-order.dto.d.ts +4 -0
- package/dist/admin/aggregator-order/create-aggregator-order.dto.js +25 -0
- package/dist/certificate-sale/certificate-sale.ro.d.ts +2 -0
- package/dist/certificate-sale/certificate-sale.ro.js +5 -0
- package/dist/certificate-uploaded/certificate-uploaded.ro.d.ts +2 -0
- package/dist/certificate-v2/certificate-settings.ro.d.ts +2 -0
- package/dist/certificate-v2/certificate-settings.ro.js +5 -0
- package/dist/certificate-v2/enum/certificate-tax-mode.enum.d.ts +4 -0
- package/dist/certificate-v2/enum/certificate-tax-mode.enum.js +8 -0
- package/dist/certificate-v2/update-certificate-settings.dto.d.ts +2 -0
- package/dist/certificate-v2/update-certificate-settings.dto.js +7 -0
- package/dist/fortune-wheel/fortune-wheel.d.ts +39 -0
- package/dist/fortune-wheel/fortune-wheel.js +24 -0
- package/dist/kids-party-request/create-helper-request.dto.d.ts +26 -0
- package/dist/kids-party-request/create-helper-request.dto.js +138 -0
- package/dist/kids-party-request/kids-party-request.enums.d.ts +7 -1
- package/dist/kids-party-request/kids-party-request.enums.js +8 -1
- package/dist/kids-party-request/kids-party-request.ro.d.ts +9 -4
- package/dist/kids-party-request/query-kids-party-requests.dto.d.ts +2 -1
- package/dist/kids-party-request/query-kids-party-requests.dto.js +5 -0
- package/dist/lead/create-lead.dto.d.ts +1 -0
- package/dist/lead/create-lead.dto.js +7 -0
- package/dist/loyalty/client-loyalty-card.ro.d.ts +29 -0
- package/dist/loyalty/client-loyalty-card.ro.js +2 -0
- package/dist/openapi/orders/booking-calendar.d.ts +19 -0
- package/dist/openapi/orders/booking-calendar.js +29 -0
- package/dist/openapi/orders/openapi-create-preorder.dto.d.ts +2 -0
- package/dist/openapi/orders/openapi-create-preorder.dto.js +11 -0
- package/dist/openapi/orders/openapi-navigator-bonus.dto.d.ts +6 -0
- package/dist/openapi/orders/openapi-navigator-bonus.dto.js +40 -0
- package/dist/openapi/orders/openapi-order.ro.d.ts +5 -0
- package/dist/openapi/orders/openapi-order.ro.js +20 -0
- package/dist/openapi/orders/openapi-update-order-players.dto.d.ts +2 -0
- package/dist/openapi/orders/openapi-update-order-players.dto.js +11 -0
- package/dist/openapi/orders/openapi-update-order.dto.d.ts +2 -0
- package/dist/openapi/orders/openapi-update-order.dto.js +11 -0
- package/dist/openapi/profiles/openapi-create-certificate.dto.d.ts +2 -0
- package/dist/openapi/profiles/openapi-create-certificate.dto.js +7 -0
- package/dist/openapi/profiles/openapi-profile-booking-details.ro.d.ts +28 -0
- package/dist/openapi/profiles/openapi-profile-booking-details.ro.js +160 -1
- package/dist/openapi/shared/openapi-questroom.ro.d.ts +3 -0
- package/dist/openapi/shared/openapi-questroom.ro.js +8 -0
- package/dist/openapi/slots/openapi-slot-variation.ro.d.ts +2 -0
- package/dist/openapi/slots/openapi-slot-variation.ro.js +10 -0
- package/dist/order/create-order.dto.d.ts +4 -0
- package/dist/order/create-order.dto.js +18 -0
- package/dist/order/dashboard/dashboard-order-base.ro.d.ts +2 -0
- package/dist/order/dashboard/dashboard-order-base.ro.js +4 -0
- package/dist/order/order-light.ro.d.ts +2 -0
- package/dist/order/order-light.ro.js +4 -0
- package/dist/order/order-team.dto.d.ts +8 -0
- package/dist/order/order-team.dto.js +44 -0
- package/dist/order/order.ro.d.ts +7 -1
- package/dist/order/order.ro.js +20 -1
- package/dist/order/update-order-slot.dto.d.ts +2 -0
- package/dist/order/update-order-slot.dto.js +11 -0
- package/dist/order/update-players.dto.d.ts +2 -0
- package/dist/order/update-players.dto.js +11 -0
- package/dist/order-discount/enum/order-discount-source.enum.d.ts +1 -0
- package/dist/order-discount/enum/order-discount-source.enum.js +1 -0
- package/dist/order-group/order-group.ro.d.ts +4 -1
- package/dist/order-group/order-group.ro.js +9 -0
- package/dist/order-group/order-offer-copy.d.ts +77 -0
- package/dist/order-group/order-offer-copy.js +79 -0
- package/dist/order-group/order-offer.d.ts +95 -0
- package/dist/order-group/order-offer.js +188 -0
- package/dist/order-product/order-product.ro.d.ts +5 -0
- package/dist/order-product/order-product.ro.js +20 -0
- package/dist/packages/package-position-kind.enum.d.ts +2 -1
- package/dist/packages/package-position-kind.enum.js +1 -0
- package/dist/packages/package-position.dto.d.ts +1 -0
- package/dist/packages/package-position.dto.js +7 -0
- package/dist/packages/package.ro.d.ts +2 -0
- package/dist/packages/package.ro.js +8 -0
- package/dist/player/player.ro.d.ts +1 -0
- package/dist/player/player.ro.js +4 -0
- package/dist/player/recommender/recommender.dto.d.ts +20 -0
- package/dist/player/recommender/recommender.dto.js +100 -0
- package/dist/player/recommender/recommender.ro.d.ts +56 -0
- package/dist/player/recommender/recommender.ro.js +2 -0
- package/dist/product/create-product.dto.d.ts +1 -0
- package/dist/product/create-product.dto.js +8 -0
- package/dist/product/product.ro.d.ts +1 -0
- package/dist/product/product.ro.js +4 -0
- package/dist/product/update-product.dto.d.ts +1 -0
- package/dist/product/update-product.dto.js +8 -0
- package/dist/profile/admin-partner-filters.d.ts +31 -0
- package/dist/profile/admin-partner-filters.js +12 -0
- package/dist/profile/notification-chanel/notification-chanel-type.enum.d.ts +2 -0
- package/dist/profile/notification-chanel/notification-chanel-type.enum.js +2 -0
- package/dist/profile/notification-chanel/staff-messenger.dto.d.ts +37 -0
- package/dist/profile/notification-chanel/staff-messenger.dto.js +44 -0
- package/dist/profile/query-admin-profile.dto.d.ts +5 -0
- package/dist/profile/query-admin-profile.dto.js +17 -0
- package/dist/profile/telephony/call-journal.d.ts +67 -0
- package/dist/profile/telephony/call-journal.js +126 -0
- package/dist/profile/telephony/novofon.d.ts +10 -0
- package/dist/profile/telephony/novofon.js +29 -1
- package/dist/promocode/emun/promocode-kind.enum.d.ts +1 -0
- package/dist/promocode/emun/promocode-kind.enum.js +1 -0
- package/dist/salary/create-salary-scheme.dto.d.ts +2 -0
- package/dist/salary/create-salary-scheme.dto.js +8 -0
- package/dist/salary/index.d.ts +1 -0
- package/dist/salary/index.js +1 -0
- package/dist/salary/moderation-pay.dto.d.ts +35 -0
- package/dist/salary/moderation-pay.dto.js +117 -0
- package/dist/salary/query-salary-period.dto.d.ts +1 -0
- package/dist/salary/query-salary-period.dto.js +7 -0
- package/dist/salary/salary-accrual.ro.d.ts +2 -0
- package/dist/salary/salary-preview.ro.d.ts +2 -0
- package/dist/salary/salary-scheme.ro.d.ts +2 -0
- package/dist/slot/slot.ro.d.ts +3 -0
- package/dist/slot/update-slot-conditions.dto.d.ts +27 -0
- package/dist/slot/update-slot-conditions.dto.js +124 -0
- package/dist/tariff/create-tariff.dto.d.ts +2 -0
- package/dist/tariff/create-tariff.dto.js +7 -0
- package/dist/tariff/enum/tariff-selection-mode.enum.d.ts +4 -0
- package/dist/tariff/enum/tariff-selection-mode.enum.js +8 -0
- package/dist/tariff/tariff-light.ro.d.ts +2 -0
- package/dist/tariff/tariff-light.ro.js +5 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/user/task/user-task.ro.d.ts +2 -0
- package/dist/user/task/user-task.ro.js +8 -0
- package/dist/widget-chat/chat-channel.dto.d.ts +51 -0
- package/dist/widget-chat/chat-channel.dto.js +151 -0
- package/dist/widget-chat/widget-chat-conversation.ro.d.ts +5 -0
- package/dist/widget-chat/widget-chat-conversations-query.dto.d.ts +11 -0
- package/dist/widget-chat/widget-chat-conversations-query.dto.js +64 -0
- package/dist/widget-chat/widget-chat-message.ro.d.ts +5 -0
- package/dist/widget-chat/widget-chat-messages-query.dto.d.ts +3 -0
- package/dist/widget-chat/widget-chat-messages-query.dto.js +25 -0
- package/package.json +2 -2
|
@@ -40,6 +40,14 @@ __decorate([
|
|
|
40
40
|
class AggregatorOrderRO extends ro_class_1.RO {
|
|
41
41
|
}
|
|
42
42
|
exports.AggregatorOrderRO = AggregatorOrderRO;
|
|
43
|
+
__decorate([
|
|
44
|
+
(0, class_transformer_1.Expose)(),
|
|
45
|
+
__metadata("design:type", Number)
|
|
46
|
+
], AggregatorOrderRO.prototype, "recommenderPlayerId", void 0);
|
|
47
|
+
__decorate([
|
|
48
|
+
(0, class_transformer_1.Expose)(),
|
|
49
|
+
__metadata("design:type", Number)
|
|
50
|
+
], AggregatorOrderRO.prototype, "navigatorBonusAmount", void 0);
|
|
43
51
|
__decorate([
|
|
44
52
|
(0, class_transformer_1.Expose)(),
|
|
45
53
|
__metadata("design:type", Number)
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import { Utm } from '../../order/order.ro';
|
|
2
2
|
export declare class CreateAggregatorOrderDto {
|
|
3
|
+
asRecommender?: boolean;
|
|
4
|
+
navigatorBonusRequested?: number;
|
|
5
|
+
useNavigatorBonuses?: boolean;
|
|
6
|
+
navigatorBonusToken?: string;
|
|
3
7
|
phone: string;
|
|
4
8
|
/** Согласие на маркетинговую рассылку из блока согласий виджета. */
|
|
5
9
|
sendAds?: boolean;
|
|
@@ -16,6 +16,31 @@ const order_ro_1 = require("../../order/order.ro");
|
|
|
16
16
|
class CreateAggregatorOrderDto {
|
|
17
17
|
}
|
|
18
18
|
exports.CreateAggregatorOrderDto = CreateAggregatorOrderDto;
|
|
19
|
+
__decorate([
|
|
20
|
+
(0, class_transformer_1.Expose)(),
|
|
21
|
+
(0, class_validator_1.IsOptional)(),
|
|
22
|
+
(0, class_validator_1.IsBoolean)(),
|
|
23
|
+
__metadata("design:type", Boolean)
|
|
24
|
+
], CreateAggregatorOrderDto.prototype, "asRecommender", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, class_validator_1.IsOptional)(),
|
|
27
|
+
(0, class_validator_1.IsInt)(),
|
|
28
|
+
(0, class_validator_1.Min)(0),
|
|
29
|
+
(0, class_transformer_1.Expose)(),
|
|
30
|
+
__metadata("design:type", Number)
|
|
31
|
+
], CreateAggregatorOrderDto.prototype, "navigatorBonusRequested", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, class_validator_1.IsOptional)(),
|
|
34
|
+
(0, class_validator_1.IsBoolean)(),
|
|
35
|
+
(0, class_transformer_1.Expose)(),
|
|
36
|
+
__metadata("design:type", Boolean)
|
|
37
|
+
], CreateAggregatorOrderDto.prototype, "useNavigatorBonuses", void 0);
|
|
38
|
+
__decorate([
|
|
39
|
+
(0, class_validator_1.IsOptional)(),
|
|
40
|
+
(0, class_validator_1.IsString)(),
|
|
41
|
+
(0, class_transformer_1.Expose)(),
|
|
42
|
+
__metadata("design:type", String)
|
|
43
|
+
], CreateAggregatorOrderDto.prototype, "navigatorBonusToken", void 0);
|
|
19
44
|
__decorate([
|
|
20
45
|
(0, class_validator_1.IsNotEmpty)(),
|
|
21
46
|
(0, class_transformer_1.Expose)(),
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { CertificateTaxModeEnum } from '../certificate-v2/enum/certificate-tax-mode.enum';
|
|
1
2
|
import { ClientRO } from '../client/client.ro';
|
|
2
3
|
import { Discounts, Transactions, Utm } from '../order/order.ro';
|
|
3
4
|
import { RO } from '../shared/ro-class';
|
|
@@ -33,6 +34,7 @@ declare class Certificate {
|
|
|
33
34
|
pdfLink: string;
|
|
34
35
|
}
|
|
35
36
|
export declare class CertificateSaleRO extends RO {
|
|
37
|
+
taxMode?: CertificateTaxModeEnum | null;
|
|
36
38
|
profileId: number;
|
|
37
39
|
updatedAt: Date;
|
|
38
40
|
externalCode: string;
|
|
@@ -12,6 +12,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.CertificateSaleRO = void 0;
|
|
13
13
|
/* eslint-disable max-classes-per-file */
|
|
14
14
|
const class_transformer_1 = require("class-transformer");
|
|
15
|
+
const certificate_tax_mode_enum_1 = require("../certificate-v2/enum/certificate-tax-mode.enum");
|
|
15
16
|
const client_ro_1 = require("../client/client.ro");
|
|
16
17
|
const order_ro_1 = require("../order/order.ro");
|
|
17
18
|
const ro_class_1 = require("../shared/ro-class");
|
|
@@ -90,6 +91,10 @@ __decorate([
|
|
|
90
91
|
class CertificateSaleRO extends ro_class_1.RO {
|
|
91
92
|
}
|
|
92
93
|
exports.CertificateSaleRO = CertificateSaleRO;
|
|
94
|
+
__decorate([
|
|
95
|
+
(0, class_transformer_1.Expose)(),
|
|
96
|
+
__metadata("design:type", String)
|
|
97
|
+
], CertificateSaleRO.prototype, "taxMode", void 0);
|
|
93
98
|
__decorate([
|
|
94
99
|
(0, class_transformer_1.Expose)(),
|
|
95
100
|
__metadata("design:type", Number)
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
import { CertificateTaxModeEnum } from '../certificate-v2/enum/certificate-tax-mode.enum';
|
|
1
2
|
import { ResponseObject } from '../shared/ro';
|
|
2
3
|
export type CertificateUploadedRO = ResponseObject & {
|
|
4
|
+
taxMode?: CertificateTaxModeEnum | null;
|
|
3
5
|
source: string;
|
|
4
6
|
code: string;
|
|
5
7
|
client: string | null;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
+
import { CertificateTaxModeEnum } from '../certificate-v2/enum/certificate-tax-mode.enum';
|
|
1
2
|
import { RO } from '../shared/ro-class';
|
|
2
3
|
import { CertificateShopFlowOrderEnum } from './enum/certificate-shop-flow-order.enum';
|
|
3
4
|
export declare class CertificateSettingsRO extends RO {
|
|
5
|
+
taxMode?: CertificateTaxModeEnum | null;
|
|
4
6
|
profileId: number;
|
|
5
7
|
validity: number;
|
|
6
8
|
clientCancellationDays: number;
|
|
@@ -11,11 +11,16 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.CertificateSettingsRO = void 0;
|
|
13
13
|
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const certificate_tax_mode_enum_1 = require("../certificate-v2/enum/certificate-tax-mode.enum");
|
|
14
15
|
const ro_class_1 = require("../shared/ro-class");
|
|
15
16
|
const certificate_shop_flow_order_enum_1 = require("./enum/certificate-shop-flow-order.enum");
|
|
16
17
|
class CertificateSettingsRO extends ro_class_1.RO {
|
|
17
18
|
}
|
|
18
19
|
exports.CertificateSettingsRO = CertificateSettingsRO;
|
|
20
|
+
__decorate([
|
|
21
|
+
(0, class_transformer_1.Expose)(),
|
|
22
|
+
__metadata("design:type", String)
|
|
23
|
+
], CertificateSettingsRO.prototype, "taxMode", void 0);
|
|
19
24
|
__decorate([
|
|
20
25
|
(0, class_transformer_1.Expose)(),
|
|
21
26
|
__metadata("design:type", Number)
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CertificateTaxModeEnum = void 0;
|
|
4
|
+
var CertificateTaxModeEnum;
|
|
5
|
+
(function (CertificateTaxModeEnum) {
|
|
6
|
+
CertificateTaxModeEnum["SALE"] = "sale";
|
|
7
|
+
CertificateTaxModeEnum["REDEMPTION"] = "redemption";
|
|
8
|
+
})(CertificateTaxModeEnum || (exports.CertificateTaxModeEnum = CertificateTaxModeEnum = {}));
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { CertificateShopFlowOrderEnum } from './enum/certificate-shop-flow-order.enum';
|
|
2
|
+
import { CertificateTaxModeEnum } from './enum/certificate-tax-mode.enum';
|
|
2
3
|
export declare class UpdateCertificateSettingsDto {
|
|
4
|
+
taxMode?: CertificateTaxModeEnum | null;
|
|
3
5
|
validity?: number;
|
|
4
6
|
clientCancellationDays?: number;
|
|
5
7
|
allowFreeNominal?: boolean;
|
|
@@ -13,6 +13,7 @@ exports.UpdateCertificateSettingsDto = void 0;
|
|
|
13
13
|
const class_transformer_1 = require("class-transformer");
|
|
14
14
|
const class_validator_1 = require("class-validator");
|
|
15
15
|
const certificate_shop_flow_order_enum_1 = require("./enum/certificate-shop-flow-order.enum");
|
|
16
|
+
const certificate_tax_mode_enum_1 = require("./enum/certificate-tax-mode.enum");
|
|
16
17
|
/**
|
|
17
18
|
* Нет ключа в патче — не подставляем дефолт. Иначе ValidationPipe
|
|
18
19
|
* дописывает `false`/`true` на все `@Expose`-поля, и сохранение одной
|
|
@@ -32,6 +33,12 @@ function optionalNumber({ value }) {
|
|
|
32
33
|
class UpdateCertificateSettingsDto {
|
|
33
34
|
}
|
|
34
35
|
exports.UpdateCertificateSettingsDto = UpdateCertificateSettingsDto;
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, class_validator_1.IsOptional)(),
|
|
38
|
+
(0, class_validator_1.IsEnum)(certificate_tax_mode_enum_1.CertificateTaxModeEnum),
|
|
39
|
+
(0, class_transformer_1.Expose)(),
|
|
40
|
+
__metadata("design:type", String)
|
|
41
|
+
], UpdateCertificateSettingsDto.prototype, "taxMode", void 0);
|
|
35
42
|
__decorate([
|
|
36
43
|
(0, class_validator_1.IsOptional)(),
|
|
37
44
|
(0, class_validator_1.IsPositive)(),
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
export declare const FORTUNE_WHEEL_THEMES: readonly ["arcana", "vault", "slots", "orbit", "haunt", "monsters", "alchemy", "ocean", "cipher"];
|
|
2
|
+
export type FortuneWheelTheme = (typeof FORTUNE_WHEEL_THEMES)[number];
|
|
3
|
+
export type FortuneWheelPrize = {
|
|
4
|
+
id: string;
|
|
5
|
+
name: string;
|
|
6
|
+
description: string;
|
|
7
|
+
kind: 'percent' | 'fixed' | 'gift';
|
|
8
|
+
/** Fixed discounts are stored in minor currency units. */
|
|
9
|
+
value: number;
|
|
10
|
+
weight: number;
|
|
11
|
+
};
|
|
12
|
+
export type FortuneWheelSettings = {
|
|
13
|
+
enabled: boolean;
|
|
14
|
+
theme: FortuneWheelTheme;
|
|
15
|
+
brand: string;
|
|
16
|
+
accent: string;
|
|
17
|
+
background: 'dark' | 'graphite';
|
|
18
|
+
radius: number;
|
|
19
|
+
validityDays: number;
|
|
20
|
+
prizes: FortuneWheelPrize[];
|
|
21
|
+
};
|
|
22
|
+
export declare const defaultFortuneWheelSettings: FortuneWheelSettings;
|
|
23
|
+
export type FortuneWheelReward = {
|
|
24
|
+
prizeId: string;
|
|
25
|
+
name: string;
|
|
26
|
+
description: string;
|
|
27
|
+
code: string;
|
|
28
|
+
validTo: string;
|
|
29
|
+
};
|
|
30
|
+
export type FortuneWheelPage = {
|
|
31
|
+
settings: FortuneWheelSettings;
|
|
32
|
+
currency: string;
|
|
33
|
+
language: string;
|
|
34
|
+
reward: FortuneWheelReward | null;
|
|
35
|
+
};
|
|
36
|
+
/** Snapshot retained with the issued promocode; editing settings cannot rewrite a win. */
|
|
37
|
+
export type FortuneWheelSnapshot = FortuneWheelPage & {
|
|
38
|
+
reward: FortuneWheelReward;
|
|
39
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.defaultFortuneWheelSettings = exports.FORTUNE_WHEEL_THEMES = void 0;
|
|
4
|
+
exports.FORTUNE_WHEEL_THEMES = [
|
|
5
|
+
'arcana',
|
|
6
|
+
'vault',
|
|
7
|
+
'slots',
|
|
8
|
+
'orbit',
|
|
9
|
+
'haunt',
|
|
10
|
+
'monsters',
|
|
11
|
+
'alchemy',
|
|
12
|
+
'ocean',
|
|
13
|
+
'cipher',
|
|
14
|
+
];
|
|
15
|
+
exports.defaultFortuneWheelSettings = {
|
|
16
|
+
enabled: false,
|
|
17
|
+
theme: 'arcana',
|
|
18
|
+
brand: '',
|
|
19
|
+
accent: '#7659ee',
|
|
20
|
+
background: 'dark',
|
|
21
|
+
radius: 20,
|
|
22
|
+
validityDays: 30,
|
|
23
|
+
prizes: [],
|
|
24
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { CountriesEnum } from '../shared/enum/countries.enum';
|
|
2
|
+
import { AggregatorRequestTypeEnum } from './kids-party-request.enums';
|
|
3
|
+
export declare class CreateHelperRequestDto {
|
|
4
|
+
type: AggregatorRequestTypeEnum;
|
|
5
|
+
citySlug: string;
|
|
6
|
+
country: CountriesEnum;
|
|
7
|
+
clientName: string;
|
|
8
|
+
clientPhone: string;
|
|
9
|
+
consent: boolean;
|
|
10
|
+
callbackTime: string;
|
|
11
|
+
occasion?: string;
|
|
12
|
+
audience?: string;
|
|
13
|
+
fear?: string;
|
|
14
|
+
minAge?: number;
|
|
15
|
+
playersCount?: number;
|
|
16
|
+
whenDate?: string;
|
|
17
|
+
gameTime?: string;
|
|
18
|
+
budgetMax?: number;
|
|
19
|
+
budgetCurrency?: string;
|
|
20
|
+
lounge?: boolean;
|
|
21
|
+
comment?: string;
|
|
22
|
+
locale?: string;
|
|
23
|
+
url?: string;
|
|
24
|
+
trap?: string;
|
|
25
|
+
}
|
|
26
|
+
export type HelperRequestAnswers = Pick<CreateHelperRequestDto, 'callbackTime' | 'occasion' | 'audience' | 'fear' | 'minAge' | 'playersCount' | 'gameTime' | 'budgetCurrency' | 'lounge'>;
|
|
@@ -0,0 +1,138 @@
|
|
|
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.CreateHelperRequestDto = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const class_validator_1 = require("class-validator");
|
|
15
|
+
const countries_enum_1 = require("../shared/enum/countries.enum");
|
|
16
|
+
const is_not_blank_1 = require("../shared/is-not-blank");
|
|
17
|
+
const kids_party_request_enums_1 = require("./kids-party-request.enums");
|
|
18
|
+
class CreateHelperRequestDto {
|
|
19
|
+
}
|
|
20
|
+
exports.CreateHelperRequestDto = CreateHelperRequestDto;
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, class_validator_1.IsIn)([kids_party_request_enums_1.AggregatorRequestTypeEnum.CALLBACK, kids_party_request_enums_1.AggregatorRequestTypeEnum.QUEST_SELECTION]),
|
|
23
|
+
__metadata("design:type", String)
|
|
24
|
+
], CreateHelperRequestDto.prototype, "type", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, class_validator_1.IsString)(),
|
|
27
|
+
(0, is_not_blank_1.IsNotBlank)(),
|
|
28
|
+
(0, class_validator_1.MaxLength)(200),
|
|
29
|
+
__metadata("design:type", String)
|
|
30
|
+
], CreateHelperRequestDto.prototype, "citySlug", void 0);
|
|
31
|
+
__decorate([
|
|
32
|
+
(0, class_validator_1.IsEnum)(countries_enum_1.CountriesEnum),
|
|
33
|
+
__metadata("design:type", String)
|
|
34
|
+
], CreateHelperRequestDto.prototype, "country", void 0);
|
|
35
|
+
__decorate([
|
|
36
|
+
(0, class_validator_1.IsString)(),
|
|
37
|
+
(0, is_not_blank_1.IsNotBlank)(),
|
|
38
|
+
(0, class_validator_1.MaxLength)(120),
|
|
39
|
+
__metadata("design:type", String)
|
|
40
|
+
], CreateHelperRequestDto.prototype, "clientName", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, class_validator_1.IsString)(),
|
|
43
|
+
(0, class_validator_1.Matches)(/^\+?[\d\s()-]{8,32}$/),
|
|
44
|
+
(0, class_validator_1.MaxLength)(32),
|
|
45
|
+
__metadata("design:type", String)
|
|
46
|
+
], CreateHelperRequestDto.prototype, "clientPhone", void 0);
|
|
47
|
+
__decorate([
|
|
48
|
+
(0, class_validator_1.Equals)(true),
|
|
49
|
+
__metadata("design:type", Boolean)
|
|
50
|
+
], CreateHelperRequestDto.prototype, "consent", void 0);
|
|
51
|
+
__decorate([
|
|
52
|
+
(0, class_validator_1.IsIn)(['any', 'day', 'evening']),
|
|
53
|
+
__metadata("design:type", String)
|
|
54
|
+
], CreateHelperRequestDto.prototype, "callbackTime", void 0);
|
|
55
|
+
__decorate([
|
|
56
|
+
(0, class_validator_1.ValidateIf)((o) => o.type === kids_party_request_enums_1.AggregatorRequestTypeEnum.QUEST_SELECTION),
|
|
57
|
+
(0, class_validator_1.IsIn)(['birthday', 'friends', 'kids_party', 'family', 'date', 'corporate', 'other']),
|
|
58
|
+
__metadata("design:type", String)
|
|
59
|
+
], CreateHelperRequestDto.prototype, "occasion", void 0);
|
|
60
|
+
__decorate([
|
|
61
|
+
(0, class_validator_1.ValidateIf)((o) => o.type === kids_party_request_enums_1.AggregatorRequestTypeEnum.QUEST_SELECTION),
|
|
62
|
+
(0, class_validator_1.IsIn)(['adults', 'teens', 'children', 'mixed']),
|
|
63
|
+
__metadata("design:type", String)
|
|
64
|
+
], CreateHelperRequestDto.prototype, "audience", void 0);
|
|
65
|
+
__decorate([
|
|
66
|
+
(0, class_validator_1.ValidateIf)((o) => o.type === kids_party_request_enums_1.AggregatorRequestTypeEnum.QUEST_SELECTION),
|
|
67
|
+
(0, class_validator_1.IsIn)(['none', 'mild', 'scary', 'unsure']),
|
|
68
|
+
__metadata("design:type", String)
|
|
69
|
+
], CreateHelperRequestDto.prototype, "fear", void 0);
|
|
70
|
+
__decorate([
|
|
71
|
+
(0, class_validator_1.IsOptional)(),
|
|
72
|
+
(0, class_transformer_1.Type)(() => Number),
|
|
73
|
+
(0, class_validator_1.IsInt)(),
|
|
74
|
+
(0, class_validator_1.Min)(1),
|
|
75
|
+
(0, class_validator_1.Max)(120),
|
|
76
|
+
__metadata("design:type", Number)
|
|
77
|
+
], CreateHelperRequestDto.prototype, "minAge", void 0);
|
|
78
|
+
__decorate([
|
|
79
|
+
(0, class_validator_1.IsOptional)(),
|
|
80
|
+
(0, class_transformer_1.Type)(() => Number),
|
|
81
|
+
(0, class_validator_1.IsInt)(),
|
|
82
|
+
(0, class_validator_1.Min)(1),
|
|
83
|
+
(0, class_validator_1.Max)(500),
|
|
84
|
+
__metadata("design:type", Number)
|
|
85
|
+
], CreateHelperRequestDto.prototype, "playersCount", void 0);
|
|
86
|
+
__decorate([
|
|
87
|
+
(0, class_validator_1.IsOptional)(),
|
|
88
|
+
(0, class_validator_1.Matches)(/^\d{4}-\d{2}-\d{2}$/),
|
|
89
|
+
__metadata("design:type", String)
|
|
90
|
+
], CreateHelperRequestDto.prototype, "whenDate", void 0);
|
|
91
|
+
__decorate([
|
|
92
|
+
(0, class_validator_1.IsOptional)(),
|
|
93
|
+
(0, class_validator_1.IsIn)(['any', 'day', 'evening']),
|
|
94
|
+
__metadata("design:type", String)
|
|
95
|
+
], CreateHelperRequestDto.prototype, "gameTime", void 0);
|
|
96
|
+
__decorate([
|
|
97
|
+
(0, class_validator_1.IsOptional)(),
|
|
98
|
+
(0, class_transformer_1.Type)(() => Number),
|
|
99
|
+
(0, class_validator_1.IsInt)(),
|
|
100
|
+
(0, class_validator_1.Min)(1),
|
|
101
|
+
(0, class_validator_1.Max)(10000000),
|
|
102
|
+
__metadata("design:type", Number)
|
|
103
|
+
], CreateHelperRequestDto.prototype, "budgetMax", void 0);
|
|
104
|
+
__decorate([
|
|
105
|
+
(0, class_validator_1.IsOptional)(),
|
|
106
|
+
(0, class_validator_1.IsString)(),
|
|
107
|
+
(0, class_validator_1.MaxLength)(12),
|
|
108
|
+
__metadata("design:type", String)
|
|
109
|
+
], CreateHelperRequestDto.prototype, "budgetCurrency", void 0);
|
|
110
|
+
__decorate([
|
|
111
|
+
(0, class_validator_1.IsOptional)(),
|
|
112
|
+
(0, class_validator_1.IsBoolean)(),
|
|
113
|
+
__metadata("design:type", Boolean)
|
|
114
|
+
], CreateHelperRequestDto.prototype, "lounge", void 0);
|
|
115
|
+
__decorate([
|
|
116
|
+
(0, class_validator_1.IsOptional)(),
|
|
117
|
+
(0, class_validator_1.IsString)(),
|
|
118
|
+
(0, class_validator_1.MaxLength)(2000),
|
|
119
|
+
__metadata("design:type", String)
|
|
120
|
+
], CreateHelperRequestDto.prototype, "comment", void 0);
|
|
121
|
+
__decorate([
|
|
122
|
+
(0, class_validator_1.IsOptional)(),
|
|
123
|
+
(0, class_validator_1.IsString)(),
|
|
124
|
+
(0, class_validator_1.MaxLength)(12),
|
|
125
|
+
__metadata("design:type", String)
|
|
126
|
+
], CreateHelperRequestDto.prototype, "locale", void 0);
|
|
127
|
+
__decorate([
|
|
128
|
+
(0, class_validator_1.IsOptional)(),
|
|
129
|
+
(0, class_validator_1.IsString)(),
|
|
130
|
+
(0, class_validator_1.MaxLength)(500),
|
|
131
|
+
__metadata("design:type", String)
|
|
132
|
+
], CreateHelperRequestDto.prototype, "url", void 0);
|
|
133
|
+
__decorate([
|
|
134
|
+
(0, class_validator_1.IsOptional)(),
|
|
135
|
+
(0, class_validator_1.IsString)(),
|
|
136
|
+
(0, class_validator_1.MaxLength)(200),
|
|
137
|
+
__metadata("design:type", String)
|
|
138
|
+
], CreateHelperRequestDto.prototype, "trap", void 0);
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
export declare enum AggregatorRequestTypeEnum {
|
|
2
|
+
KIDS_PARTY = "kids_party",
|
|
3
|
+
CALLBACK = "callback",
|
|
4
|
+
QUEST_SELECTION = "quest_selection"
|
|
5
|
+
}
|
|
1
6
|
export declare enum KidsPartyFormatEnum {
|
|
2
7
|
TURNKEY = "turnkey",
|
|
3
8
|
QUEST_AND_ROOM = "quest_and_room",
|
|
@@ -22,7 +27,8 @@ export declare enum KidsPartyStatusEnum {
|
|
|
22
27
|
IN_PROGRESS = "in_progress",
|
|
23
28
|
HANDED_TO_QUEST = "handed_to_quest",
|
|
24
29
|
CANCELLED_BY_QUEST = "cancelled_by_quest",
|
|
25
|
-
COMPLETED = "completed"
|
|
30
|
+
COMPLETED = "completed",
|
|
31
|
+
CLOSED = "closed"
|
|
26
32
|
}
|
|
27
33
|
/** Согласование отмены. Пусто, пока квест не отменил заявку и после «Состоялась». */
|
|
28
34
|
export declare enum KidsPartyCancellationAgreementEnum {
|
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.KidsPartyCancellationAgreementEnum = exports.KidsPartyStatusEnum = exports.KidsPartyBudgetEnum = exports.KidsPartyWhenEnum = exports.KidsPartyFormatEnum = void 0;
|
|
3
|
+
exports.KidsPartyCancellationAgreementEnum = exports.KidsPartyStatusEnum = exports.KidsPartyBudgetEnum = exports.KidsPartyWhenEnum = exports.KidsPartyFormatEnum = exports.AggregatorRequestTypeEnum = void 0;
|
|
4
|
+
var AggregatorRequestTypeEnum;
|
|
5
|
+
(function (AggregatorRequestTypeEnum) {
|
|
6
|
+
AggregatorRequestTypeEnum["KIDS_PARTY"] = "kids_party";
|
|
7
|
+
AggregatorRequestTypeEnum["CALLBACK"] = "callback";
|
|
8
|
+
AggregatorRequestTypeEnum["QUEST_SELECTION"] = "quest_selection";
|
|
9
|
+
})(AggregatorRequestTypeEnum || (exports.AggregatorRequestTypeEnum = AggregatorRequestTypeEnum = {}));
|
|
4
10
|
var KidsPartyFormatEnum;
|
|
5
11
|
(function (KidsPartyFormatEnum) {
|
|
6
12
|
KidsPartyFormatEnum["TURNKEY"] = "turnkey";
|
|
@@ -30,6 +36,7 @@ var KidsPartyStatusEnum;
|
|
|
30
36
|
KidsPartyStatusEnum["HANDED_TO_QUEST"] = "handed_to_quest";
|
|
31
37
|
KidsPartyStatusEnum["CANCELLED_BY_QUEST"] = "cancelled_by_quest";
|
|
32
38
|
KidsPartyStatusEnum["COMPLETED"] = "completed";
|
|
39
|
+
KidsPartyStatusEnum["CLOSED"] = "closed";
|
|
33
40
|
})(KidsPartyStatusEnum || (exports.KidsPartyStatusEnum = KidsPartyStatusEnum = {}));
|
|
34
41
|
/** Согласование отмены. Пусто, пока квест не отменил заявку и после «Состоялась». */
|
|
35
42
|
var KidsPartyCancellationAgreementEnum;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { HelperRequestAnswers } from './create-helper-request.dto';
|
|
2
|
+
import { AggregatorRequestTypeEnum, KidsPartyBudgetEnum, KidsPartyCancellationAgreementEnum, KidsPartyFormatEnum, KidsPartyStatusEnum, KidsPartyWhenEnum } from './kids-party-request.enums';
|
|
2
3
|
export type KidsPartyHistoryEntry = {
|
|
3
4
|
at: string;
|
|
4
5
|
actor: 'client' | 'admin' | 'quest';
|
|
6
|
+
consent?: boolean;
|
|
5
7
|
action: string;
|
|
6
8
|
detail: string | null;
|
|
7
9
|
};
|
|
@@ -10,13 +12,15 @@ export type KidsPartyQuestroomOptionRO = {
|
|
|
10
12
|
title: string;
|
|
11
13
|
};
|
|
12
14
|
export type KidsPartyRequestRO = {
|
|
15
|
+
type: AggregatorRequestTypeEnum;
|
|
16
|
+
answers: HelperRequestAnswers | null;
|
|
13
17
|
id: number;
|
|
14
18
|
createdAt: string;
|
|
15
19
|
cityId: number;
|
|
16
20
|
cityTitle: string;
|
|
17
|
-
format: KidsPartyFormatEnum;
|
|
18
|
-
birthdayAge: number;
|
|
19
|
-
childrenCount: number;
|
|
21
|
+
format: KidsPartyFormatEnum | null;
|
|
22
|
+
birthdayAge: number | null;
|
|
23
|
+
childrenCount: number | null;
|
|
20
24
|
whenPreset: KidsPartyWhenEnum;
|
|
21
25
|
whenDate: string | null;
|
|
22
26
|
budgetPreset: KidsPartyBudgetEnum;
|
|
@@ -45,6 +49,7 @@ export type KidsPartyRequestSummaryRO = {
|
|
|
45
49
|
handed: number;
|
|
46
50
|
cancellationPending: number;
|
|
47
51
|
completed: number;
|
|
52
|
+
closed: number;
|
|
48
53
|
};
|
|
49
54
|
export type KidsPartyRequestListRO = {
|
|
50
55
|
items: KidsPartyRequestRO[];
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { KidsPartyStatusEnum } from './kids-party-request.enums';
|
|
1
|
+
import { AggregatorRequestTypeEnum, KidsPartyStatusEnum } from './kids-party-request.enums';
|
|
2
2
|
export declare class QueryKidsPartyRequestsDto {
|
|
3
|
+
type?: AggregatorRequestTypeEnum;
|
|
3
4
|
page?: number;
|
|
4
5
|
limit?: number;
|
|
5
6
|
status?: KidsPartyStatusEnum;
|
|
@@ -25,6 +25,11 @@ class QueryKidsPartyRequestsDto {
|
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
27
|
exports.QueryKidsPartyRequestsDto = QueryKidsPartyRequestsDto;
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, class_validator_1.IsOptional)(),
|
|
30
|
+
(0, class_validator_1.IsEnum)(kids_party_request_enums_1.AggregatorRequestTypeEnum),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], QueryKidsPartyRequestsDto.prototype, "type", void 0);
|
|
28
33
|
__decorate([
|
|
29
34
|
(0, class_validator_1.IsOptional)(),
|
|
30
35
|
(0, class_transformer_1.Type)(() => Number),
|
|
@@ -20,6 +20,13 @@ const class_validator_1 = require("class-validator");
|
|
|
20
20
|
class CreateLeadDto {
|
|
21
21
|
}
|
|
22
22
|
exports.CreateLeadDto = CreateLeadDto;
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, class_validator_1.IsOptional)(),
|
|
25
|
+
(0, class_validator_1.IsInt)(),
|
|
26
|
+
(0, class_validator_1.Min)(1),
|
|
27
|
+
(0, class_transformer_1.Expose)(),
|
|
28
|
+
__metadata("design:type", Number)
|
|
29
|
+
], CreateLeadDto.prototype, "callbackTaskId", void 0);
|
|
23
30
|
__decorate([
|
|
24
31
|
(0, class_validator_1.IsOptional)(),
|
|
25
32
|
(0, class_validator_1.IsString)(),
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { LoyaltyMetricEnum } from './enum/loyalty-metric.enum';
|
|
2
|
+
import { LoyaltyProgramTypeEnum } from './enum/loyalty-program-type.enum';
|
|
3
|
+
/** Provider-neutral data. This is not a pass, access token or redemption authorization. */
|
|
4
|
+
export interface ClientLoyaltyCardRO {
|
|
5
|
+
owner: {
|
|
6
|
+
type: 'client';
|
|
7
|
+
profileId: number;
|
|
8
|
+
clientId: number;
|
|
9
|
+
};
|
|
10
|
+
state: 'active' | 'disabled' | 'excluded';
|
|
11
|
+
programType: LoyaltyProgramTypeEnum;
|
|
12
|
+
tier: {
|
|
13
|
+
title: string;
|
|
14
|
+
color: string;
|
|
15
|
+
perks: string;
|
|
16
|
+
} | null;
|
|
17
|
+
discountPercent: number | null;
|
|
18
|
+
/** Minor units, identical to the CRM bonus ledger. Never combine companies. */
|
|
19
|
+
bonusBalance: number | null;
|
|
20
|
+
cashbackPercent: number | null;
|
|
21
|
+
maxBonusPayPercent: number | null;
|
|
22
|
+
progress: {
|
|
23
|
+
metric: LoyaltyMetricEnum;
|
|
24
|
+
current: number;
|
|
25
|
+
target: number;
|
|
26
|
+
remaining: number;
|
|
27
|
+
nextTierTitle: string;
|
|
28
|
+
} | null;
|
|
29
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { QuestroomConfirmTypeEnum } from '../../questroom/enum/questroom-confirm-type.enum';
|
|
2
|
+
/** Shared by public order serialization, email rendering and calendar downloads. */
|
|
3
|
+
export type CalendarBooking = {
|
|
4
|
+
code?: string;
|
|
5
|
+
slotId?: number | null;
|
|
6
|
+
noShow?: boolean;
|
|
7
|
+
confirmed?: boolean;
|
|
8
|
+
utcDate?: string;
|
|
9
|
+
modeDuration?: number | null;
|
|
10
|
+
questroom?: {
|
|
11
|
+
confirmType?: QuestroomConfirmTypeEnum;
|
|
12
|
+
templateType?: string;
|
|
13
|
+
time?: number;
|
|
14
|
+
location?: {
|
|
15
|
+
timeZone?: string;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
export declare function canAddBookingToCalendar(order: CalendarBooking): boolean;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.canAddBookingToCalendar = canAddBookingToCalendar;
|
|
4
|
+
const questroom_confirm_type_enum_1 = require("../../questroom/enum/questroom-confirm-type.enum");
|
|
5
|
+
function canAddBookingToCalendar(order) {
|
|
6
|
+
var _a, _b, _c, _d, _e, _f;
|
|
7
|
+
const duration = (_a = order.modeDuration) !== null && _a !== void 0 ? _a : (_b = order.questroom) === null || _b === void 0 ? void 0 : _b.time;
|
|
8
|
+
if (!order.slotId ||
|
|
9
|
+
!order.code ||
|
|
10
|
+
order.code === '******' ||
|
|
11
|
+
order.noShow ||
|
|
12
|
+
((_c = order.questroom) === null || _c === void 0 ? void 0 : _c.templateType) === 'anytime' ||
|
|
13
|
+
(((_d = order.questroom) === null || _d === void 0 ? void 0 : _d.confirmType) === questroom_confirm_type_enum_1.QuestroomConfirmTypeEnum.REQUEST && !order.confirmed) ||
|
|
14
|
+
!order.utcDate ||
|
|
15
|
+
!/(Z|[+-]\d{2}:\d{2})$/.test(order.utcDate) ||
|
|
16
|
+
!Number.isFinite(Date.parse(order.utcDate)) ||
|
|
17
|
+
!duration ||
|
|
18
|
+
duration <= 0 ||
|
|
19
|
+
!Number.isFinite(duration) ||
|
|
20
|
+
!((_f = (_e = order.questroom) === null || _e === void 0 ? void 0 : _e.location) === null || _f === void 0 ? void 0 : _f.timeZone))
|
|
21
|
+
return false;
|
|
22
|
+
try {
|
|
23
|
+
new Intl.DateTimeFormat('en', { timeZone: order.questroom.location.timeZone });
|
|
24
|
+
return true;
|
|
25
|
+
}
|
|
26
|
+
catch (_g) {
|
|
27
|
+
return false;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ClientFormDto } from '../../client/client-form.dto';
|
|
2
2
|
import { CustomFieldTypeEnum } from '../../custom-field/enum/custom-field-type.enum';
|
|
3
3
|
import { Utm } from '../../order/order.ro';
|
|
4
|
+
import { OrderTeamDto } from '../../order/order-team.dto';
|
|
4
5
|
import { Languages } from '../../shared/enum/languages.enum';
|
|
5
6
|
import { OrderComposition } from '../../tariff/tariff-category';
|
|
6
7
|
export declare class CustomFiled {
|
|
@@ -12,6 +13,7 @@ export declare class CustomFiled {
|
|
|
12
13
|
options?: string[];
|
|
13
14
|
}
|
|
14
15
|
export declare class OpenapiCreatePreorderDto extends ClientFormDto {
|
|
16
|
+
teams?: OrderTeamDto[];
|
|
15
17
|
fbc?: string;
|
|
16
18
|
fbp?: string;
|
|
17
19
|
utm?: Utm;
|