@escapenavigator/types 1.6.56 → 1.6.58
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/constants/upload-certificate-rows.d.ts +1 -0
- package/dist/constants/upload-certificate-rows.js +4 -0
- package/dist/constants/upload-order-rows.d.ts +1 -0
- package/dist/constants/upload-order-rows.js +16 -0
- package/dist/openapi/shared/openapi-create-payment.ro.d.ts +9 -0
- package/dist/openapi/{certificates/openapi-create-certificate-payment.ro.js → shared/openapi-create-payment.ro.js} +19 -6
- package/dist/openapi/upsellings/openapi-upselling.ro.d.ts +1 -0
- package/dist/openapi/upsellings/openapi-upselling.ro.js +4 -0
- package/dist/profile/update-current-ga.dto.d.ts +13 -0
- package/dist/profile/update-current-ga.dto.js +68 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/upselling/create-upselling.dto.d.ts +1 -0
- package/dist/upselling/create-upselling.dto.js +6 -0
- package/dist/upselling/upselling.ro.d.ts +1 -0
- package/package.json +2 -2
- package/dist/openapi/certificates/openapi-create-certificate-payment.ro.d.ts +0 -5
- package/dist/openapi/orders/openapi-create-order-payment.ro.d.ts +0 -5
- package/dist/openapi/orders/openapi-create-order-payment.ro.js +0 -28
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const uploadCertificateRows: readonly ["CODE", "SOURCE", "CLIENT", "NOMINAL", "VALIDITY", "CREATED", "USED"];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const uploadOrdersRows: readonly ["SOURCE", "CLIENT_NAME", "CLIENT_SURNAME", "CLIENT_PHONE", "CLIENT_EMAIL", "DATE_TIME", "PLAYERS", "QUESTROOM_ID", "TOTAL_AMOUNT", "PAYED", "LANGUAGE"];
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.uploadOrdersRows = void 0;
|
|
4
|
+
exports.uploadOrdersRows = [
|
|
5
|
+
'SOURCE',
|
|
6
|
+
'CLIENT_NAME',
|
|
7
|
+
'CLIENT_SURNAME',
|
|
8
|
+
'CLIENT_PHONE',
|
|
9
|
+
'CLIENT_EMAIL',
|
|
10
|
+
'DATE_TIME',
|
|
11
|
+
'PLAYERS',
|
|
12
|
+
'QUESTROOM_ID',
|
|
13
|
+
'TOTAL_AMOUNT',
|
|
14
|
+
'PAYED',
|
|
15
|
+
'LANGUAGE',
|
|
16
|
+
];
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ProfileCurrencyEnum } from '../../profile/enum/profile-currency';
|
|
2
|
+
export declare class OpenapiCreatePaymentRO {
|
|
3
|
+
clientSecret: string;
|
|
4
|
+
payee: string;
|
|
5
|
+
amount: number;
|
|
6
|
+
type: 'order' | 'certificate';
|
|
7
|
+
token: string;
|
|
8
|
+
currency: ProfileCurrencyEnum;
|
|
9
|
+
}
|
|
@@ -9,20 +9,33 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.
|
|
12
|
+
exports.OpenapiCreatePaymentRO = void 0;
|
|
13
13
|
const class_transformer_1 = require("class-transformer");
|
|
14
|
-
|
|
14
|
+
const profile_currency_1 = require("../../profile/enum/profile-currency");
|
|
15
|
+
class OpenapiCreatePaymentRO {
|
|
15
16
|
}
|
|
16
17
|
__decorate([
|
|
17
18
|
(0, class_transformer_1.Expose)(),
|
|
18
19
|
__metadata("design:type", String)
|
|
19
|
-
],
|
|
20
|
+
], OpenapiCreatePaymentRO.prototype, "clientSecret", void 0);
|
|
20
21
|
__decorate([
|
|
21
22
|
(0, class_transformer_1.Expose)(),
|
|
22
23
|
__metadata("design:type", String)
|
|
23
|
-
],
|
|
24
|
+
], OpenapiCreatePaymentRO.prototype, "payee", void 0);
|
|
24
25
|
__decorate([
|
|
25
26
|
(0, class_transformer_1.Expose)(),
|
|
26
27
|
__metadata("design:type", Number)
|
|
27
|
-
],
|
|
28
|
-
|
|
28
|
+
], OpenapiCreatePaymentRO.prototype, "amount", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, class_transformer_1.Expose)(),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], OpenapiCreatePaymentRO.prototype, "type", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, class_transformer_1.Expose)(),
|
|
35
|
+
__metadata("design:type", String)
|
|
36
|
+
], OpenapiCreatePaymentRO.prototype, "token", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, class_transformer_1.Expose)(),
|
|
39
|
+
__metadata("design:type", String)
|
|
40
|
+
], OpenapiCreatePaymentRO.prototype, "currency", void 0);
|
|
41
|
+
exports.OpenapiCreatePaymentRO = OpenapiCreatePaymentRO;
|
|
@@ -49,4 +49,8 @@ __decorate([
|
|
|
49
49
|
(0, class_transformer_1.Expose)(),
|
|
50
50
|
__metadata("design:type", Array)
|
|
51
51
|
], OpenapiUpsellingRO.prototype, "availableDays", void 0);
|
|
52
|
+
__decorate([
|
|
53
|
+
(0, class_transformer_1.Expose)(),
|
|
54
|
+
__metadata("design:type", Boolean)
|
|
55
|
+
], OpenapiUpsellingRO.prototype, "fullPayment", void 0);
|
|
52
56
|
exports.OpenapiUpsellingRO = OpenapiUpsellingRO;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { WidgetBookingFiledEnum } from '../widget/enum/widget-booking-filed.enum';
|
|
2
|
+
import { UpdateCurrentBaseDto } from './update-current-base.dto';
|
|
3
|
+
export declare class UpdateCurrentGaDto extends UpdateCurrentBaseDto {
|
|
4
|
+
agreementLink: string;
|
|
5
|
+
site: string;
|
|
6
|
+
bookingFields: WidgetBookingFiledEnum[];
|
|
7
|
+
logo: string;
|
|
8
|
+
gaEnabled: boolean;
|
|
9
|
+
ga4Id: string;
|
|
10
|
+
gaCoversationId: string;
|
|
11
|
+
gaCoversationLabel: string;
|
|
12
|
+
nowEscape: boolean;
|
|
13
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
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.UpdateCurrentGaDto = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const class_validator_1 = require("class-validator");
|
|
15
|
+
const is_not_blank_1 = require("../shared/is-not-blank");
|
|
16
|
+
const update_current_base_dto_1 = require("./update-current-base.dto");
|
|
17
|
+
class UpdateCurrentGaDto extends update_current_base_dto_1.UpdateCurrentBaseDto {
|
|
18
|
+
}
|
|
19
|
+
__decorate([
|
|
20
|
+
(0, class_validator_1.IsUrl)(),
|
|
21
|
+
(0, class_transformer_1.Expose)(),
|
|
22
|
+
__metadata("design:type", String)
|
|
23
|
+
], UpdateCurrentGaDto.prototype, "agreementLink", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, class_validator_1.IsUrl)(),
|
|
26
|
+
(0, class_transformer_1.Expose)(),
|
|
27
|
+
__metadata("design:type", String)
|
|
28
|
+
], UpdateCurrentGaDto.prototype, "site", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, class_validator_1.IsArray)(),
|
|
31
|
+
(0, class_transformer_1.Transform)(({ value }) => ((value === null || value === void 0 ? void 0 : value.length) ? value : [])),
|
|
32
|
+
(0, class_transformer_1.Expose)(),
|
|
33
|
+
__metadata("design:type", Array)
|
|
34
|
+
], UpdateCurrentGaDto.prototype, "bookingFields", void 0);
|
|
35
|
+
__decorate([
|
|
36
|
+
(0, class_validator_1.IsOptional)(),
|
|
37
|
+
(0, class_transformer_1.Expose)(),
|
|
38
|
+
__metadata("design:type", String)
|
|
39
|
+
], UpdateCurrentGaDto.prototype, "logo", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, class_validator_1.IsOptional)(),
|
|
42
|
+
(0, class_transformer_1.Expose)(),
|
|
43
|
+
__metadata("design:type", Boolean)
|
|
44
|
+
], UpdateCurrentGaDto.prototype, "gaEnabled", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, is_not_blank_1.IsNotBlank)(),
|
|
47
|
+
(0, class_validator_1.ValidateIf)(({ gaEnabled }) => gaEnabled),
|
|
48
|
+
(0, class_transformer_1.Expose)(),
|
|
49
|
+
__metadata("design:type", String)
|
|
50
|
+
], UpdateCurrentGaDto.prototype, "ga4Id", void 0);
|
|
51
|
+
__decorate([
|
|
52
|
+
(0, is_not_blank_1.IsNotBlank)(),
|
|
53
|
+
(0, class_validator_1.ValidateIf)(({ gaEnabled, gaCoversationLabel }) => gaEnabled && !!gaCoversationLabel),
|
|
54
|
+
(0, class_transformer_1.Expose)(),
|
|
55
|
+
__metadata("design:type", String)
|
|
56
|
+
], UpdateCurrentGaDto.prototype, "gaCoversationId", void 0);
|
|
57
|
+
__decorate([
|
|
58
|
+
(0, is_not_blank_1.IsNotBlank)(),
|
|
59
|
+
(0, class_validator_1.ValidateIf)(({ gaEnabled, gaCoversationId }) => gaEnabled && !!gaCoversationId),
|
|
60
|
+
(0, class_transformer_1.Expose)(),
|
|
61
|
+
__metadata("design:type", String)
|
|
62
|
+
], UpdateCurrentGaDto.prototype, "gaCoversationLabel", void 0);
|
|
63
|
+
__decorate([
|
|
64
|
+
(0, class_validator_1.IsOptional)(),
|
|
65
|
+
(0, class_transformer_1.Expose)(),
|
|
66
|
+
__metadata("design:type", Boolean)
|
|
67
|
+
], UpdateCurrentGaDto.prototype, "nowEscape", void 0);
|
|
68
|
+
exports.UpdateCurrentGaDto = UpdateCurrentGaDto;
|