@escapenavigator/types 2.1.9 → 2.1.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/integrations/connect-integration.dto.d.ts +6 -0
- package/dist/integrations/connect-integration.dto.js +5 -0
- package/dist/integrations/provider-code.enum.d.ts +1 -1
- package/dist/integrations/provider-code.enum.js +1 -1
- package/dist/openapi/orders/openapi-update-order.dto.d.ts +9 -0
- package/dist/openapi/orders/openapi-update-order.dto.js +24 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +2 -2
|
@@ -10,6 +10,12 @@ export declare class ConnectIntegrationDto {
|
|
|
10
10
|
* рассинхрон при добавлении следующего.
|
|
11
11
|
*/
|
|
12
12
|
credentials: Record<string, string>;
|
|
13
|
+
/**
|
|
14
|
+
* Несекретные признаки вендора. Для MyERP-совместимых систем сюда уходит
|
|
15
|
+
* `vendor` с карточки в кабинете (myerp / questadmin / chezakod), чтобы
|
|
16
|
+
* бронь ушла с нужными именами полей.
|
|
17
|
+
*/
|
|
18
|
+
settings?: Record<string, unknown>;
|
|
13
19
|
/**
|
|
14
20
|
* К какому нашему квесту относится доступ. Обязателен для систем с
|
|
15
21
|
* `connectionScope: 'resource'` (MyERP-совместимые): там ссылка открывает
|
|
@@ -30,6 +30,11 @@ __decorate([
|
|
|
30
30
|
(0, class_validator_1.IsObject)(),
|
|
31
31
|
__metadata("design:type", Object)
|
|
32
32
|
], ConnectIntegrationDto.prototype, "credentials", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, class_validator_1.IsOptional)(),
|
|
35
|
+
(0, class_validator_1.IsObject)(),
|
|
36
|
+
__metadata("design:type", Object)
|
|
37
|
+
], ConnectIntegrationDto.prototype, "settings", void 0);
|
|
33
38
|
__decorate([
|
|
34
39
|
(0, class_validator_1.IsOptional)(),
|
|
35
40
|
(0, class_validator_1.IsInt)(),
|
|
@@ -15,7 +15,7 @@ export declare enum IntegrationProviderCodeEnum {
|
|
|
15
15
|
CRM = "crm",
|
|
16
16
|
/** Partner Booking API — зеркало Morty-стандарта, реализует партнёр. */
|
|
17
17
|
PARTNER_API = "partner_api",
|
|
18
|
-
/** Легаси: МойЭРП / КвестАдмин / «Мир квестов» — per-quest URL'ы. */
|
|
18
|
+
/** Легаси: МойЭРП / КвестАдмин / Чеширский код / «Мир квестов» — per-quest URL'ы. */
|
|
19
19
|
MYERP = "myerp",
|
|
20
20
|
BOOKEO = "bookeo",
|
|
21
21
|
OFFTHECOUCH = "offthecouch",
|
|
@@ -19,7 +19,7 @@ var IntegrationProviderCodeEnum;
|
|
|
19
19
|
IntegrationProviderCodeEnum["CRM"] = "crm";
|
|
20
20
|
/** Partner Booking API — зеркало Morty-стандарта, реализует партнёр. */
|
|
21
21
|
IntegrationProviderCodeEnum["PARTNER_API"] = "partner_api";
|
|
22
|
-
/** Легаси: МойЭРП / КвестАдмин / «Мир квестов» — per-quest URL'ы. */
|
|
22
|
+
/** Легаси: МойЭРП / КвестАдмин / Чеширский код / «Мир квестов» — per-quest URL'ы. */
|
|
23
23
|
IntegrationProviderCodeEnum["MYERP"] = "myerp";
|
|
24
24
|
IntegrationProviderCodeEnum["BOOKEO"] = "bookeo";
|
|
25
25
|
IntegrationProviderCodeEnum["OFFTHECOUCH"] = "offthecouch";
|
|
@@ -32,4 +32,13 @@ export declare class OpenapiUpdateOrderDto extends ClientFormDto {
|
|
|
32
32
|
}>;
|
|
33
33
|
upsellingIds?: any;
|
|
34
34
|
customFields: CustomFiled[];
|
|
35
|
+
/**
|
|
36
|
+
* PT / Moloni: реквизиты компании на retry шага «Контакт».
|
|
37
|
+
* Виджет шлёт только для Portugal. Если не передано — колонки ордера
|
|
38
|
+
* не трогаем (AT/DE retry не затирает и не шлёт эти поля).
|
|
39
|
+
*/
|
|
40
|
+
billedAsCompany?: boolean;
|
|
41
|
+
billingOrganizationName?: string | null;
|
|
42
|
+
billingTaxId?: string | null;
|
|
43
|
+
billingAddress?: string | null;
|
|
35
44
|
}
|
|
@@ -88,3 +88,27 @@ __decorate([
|
|
|
88
88
|
(0, class_transformer_1.Type)(() => openapi_create_preorder_dto_1.CustomFiled),
|
|
89
89
|
__metadata("design:type", Array)
|
|
90
90
|
], OpenapiUpdateOrderDto.prototype, "customFields", void 0);
|
|
91
|
+
__decorate([
|
|
92
|
+
(0, class_validator_1.IsOptional)(),
|
|
93
|
+
(0, class_validator_1.IsBoolean)(),
|
|
94
|
+
(0, class_transformer_1.Expose)(),
|
|
95
|
+
__metadata("design:type", Boolean)
|
|
96
|
+
], OpenapiUpdateOrderDto.prototype, "billedAsCompany", void 0);
|
|
97
|
+
__decorate([
|
|
98
|
+
(0, class_validator_1.IsOptional)(),
|
|
99
|
+
(0, class_validator_1.IsString)(),
|
|
100
|
+
(0, class_transformer_1.Expose)(),
|
|
101
|
+
__metadata("design:type", String)
|
|
102
|
+
], OpenapiUpdateOrderDto.prototype, "billingOrganizationName", void 0);
|
|
103
|
+
__decorate([
|
|
104
|
+
(0, class_validator_1.IsOptional)(),
|
|
105
|
+
(0, class_validator_1.IsString)(),
|
|
106
|
+
(0, class_transformer_1.Expose)(),
|
|
107
|
+
__metadata("design:type", String)
|
|
108
|
+
], OpenapiUpdateOrderDto.prototype, "billingTaxId", void 0);
|
|
109
|
+
__decorate([
|
|
110
|
+
(0, class_validator_1.IsOptional)(),
|
|
111
|
+
(0, class_validator_1.IsString)(),
|
|
112
|
+
(0, class_transformer_1.Expose)(),
|
|
113
|
+
__metadata("design:type", String)
|
|
114
|
+
], OpenapiUpdateOrderDto.prototype, "billingAddress", void 0);
|