@escapenavigator/types 1.4.66 → 1.4.68
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/create-certificatesale.dto.d.ts +1 -0
- package/dist/certificate-sale/create-certificatesale.dto.js +6 -0
- package/dist/certificate-sale/query-certificatesale.dto.d.ts +1 -0
- package/dist/certificate-sale/query-certificatesale.dto.js +4 -0
- package/dist/constants/countries-options.d.ts +5 -0
- package/dist/constants/countries-options.js +10 -0
- package/dist/constants/country-by-namespace.js +6 -0
- package/dist/constants/country-name-by-country.d.ts +2 -0
- package/dist/constants/country-name-by-country.js +21 -0
- package/dist/constants/currency-by-country.d.ts +3 -0
- package/dist/constants/currency-by-country.js +22 -0
- package/dist/constants/language-by-country.d.ts +3 -0
- package/dist/constants/language-by-country.js +22 -0
- package/dist/constants/language-name-by-language.d.ts +2 -0
- package/dist/constants/language-name-by-language.js +18 -0
- package/dist/constants/language-options.d.ts +5 -0
- package/dist/constants/language-options.js +9 -0
- package/dist/constants/namespace-by-country.js +6 -0
- package/dist/constants/timezone-by-mono-tz-country.d.ts +16 -0
- package/dist/constants/timezone-by-mono-tz-country.js +20 -0
- package/dist/order/update-order-slot.dto.js +1 -1
- package/dist/order/update-players.dto.js +1 -1
- package/dist/profile/agregator-profile.ro.d.ts +1 -1
- package/dist/profile/enum/profile-currency.js +0 -5
- package/dist/profile/profile.ro.d.ts +1 -4
- package/dist/shared/enum/countries.enum.d.ts +7 -1
- package/dist/shared/enum/countries.enum.js +6 -0
- package/dist/shared/enum/languages.enum.d.ts +11 -1
- package/dist/shared/enum/languages.enum.js +10 -0
- package/dist/shared/enum/namespaces.enum.d.ts +8 -2
- package/dist/shared/enum/namespaces.enum.js +7 -1
- package/dist/shared/is-not-blank.js +1 -1
- package/dist/shared/timezone.enum.d.ts +64 -0
- package/dist/shared/timezone.enum.js +68 -0
- package/dist/slot/add-breaks.dto.d.ts +1 -1
- package/dist/slot/add-breaks.dto.js +5 -3
- package/dist/slot/remove-breaks.dto.d.ts +1 -1
- package/dist/slot/remove-breaks.dto.js +5 -3
- package/dist/slot-template/update-slot-template-first-step.dto.d.ts +6 -0
- package/dist/slot-template/update-slot-template-first-step.dto.js +39 -0
- package/dist/slot-template/update-tariff.dto.d.ts +6 -0
- package/dist/slot-template/update-tariff.dto.js +38 -0
- package/dist/translation/create-namespace.dto.d.ts +3 -0
- package/dist/translation/create-namespace.dto.js +22 -0
- package/dist/translation/create-translation-from-json.dto.d.ts +4 -0
- package/dist/translation/create-translation-from-json.dto.js +28 -0
- package/dist/translation/create-translation.dto.d.ts +5 -0
- package/dist/translation/create-translation.dto.js +33 -0
- package/dist/translation/edit-all-translation-loacales.dto.d.ts +3 -0
- package/dist/translation/edit-all-translation-loacales.dto.js +22 -0
- package/dist/translation/namespace.ro.d.ts +4 -0
- package/dist/translation/namespace.ro.js +2 -0
- package/dist/translation/translation.ro.d.ts +13 -0
- package/dist/translation/translation.ro.js +2 -0
- package/dist/translation/update-translation-locale.dto.d.ts +3 -0
- package/dist/translation/update-translation-locale.dto.js +22 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/user/enum/notification.enum.d.ts +2 -1
- package/dist/user/enum/notification.enum.js +2 -1
- package/dist/user/login-user.dto.js +5 -1
- package/dist/user/update-current-user-notifications.dto.d.ts +4 -0
- package/dist/user/update-current-user-notifications.dto.js +22 -0
- package/dist/user/update-current-user.dto.d.ts +0 -2
- package/dist/user/update-current-user.dto.js +0 -5
- package/dist/widget-openapi/widget-openapi-create-certificate.dto.d.ts +1 -0
- package/dist/widget-openapi/widget-openapi-create-certificate.dto.js +5 -0
- package/dist/widget-openapi/widget-openapi-questroom.ro.d.ts +7 -3
- package/dist/widget-orders/widget-orders-order.ro.d.ts +7 -4
- package/package.json +2 -2
|
@@ -4,8 +4,9 @@ exports.NotificationEnum = void 0;
|
|
|
4
4
|
var NotificationEnum;
|
|
5
5
|
(function (NotificationEnum) {
|
|
6
6
|
NotificationEnum["ORDERS"] = "orders";
|
|
7
|
+
NotificationEnum["ASSIGNMENTS"] = "assignments";
|
|
7
8
|
NotificationEnum["CERTIFICATE_SALES"] = "certificate_sales";
|
|
8
|
-
NotificationEnum["TECHNICAL"] = "technical";
|
|
9
9
|
NotificationEnum["IMPORTANT"] = "important";
|
|
10
|
+
NotificationEnum["TECHNICAL"] = "technical";
|
|
10
11
|
NotificationEnum["MARKETING"] = "marketing";
|
|
11
12
|
})(NotificationEnum = exports.NotificationEnum || (exports.NotificationEnum = {}));
|
|
@@ -10,19 +10,23 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.LoginUserDto = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
13
14
|
const class_validator_1 = require("class-validator");
|
|
14
15
|
class LoginUserDto {
|
|
15
16
|
}
|
|
16
17
|
__decorate([
|
|
17
|
-
(0, class_validator_1.
|
|
18
|
+
(0, class_validator_1.IsEmail)(),
|
|
19
|
+
(0, class_transformer_1.Expose)(),
|
|
18
20
|
__metadata("design:type", String)
|
|
19
21
|
], LoginUserDto.prototype, "email", void 0);
|
|
20
22
|
__decorate([
|
|
21
23
|
(0, class_validator_1.IsNotEmpty)(),
|
|
24
|
+
(0, class_transformer_1.Expose)(),
|
|
22
25
|
__metadata("design:type", String)
|
|
23
26
|
], LoginUserDto.prototype, "password", void 0);
|
|
24
27
|
__decorate([
|
|
25
28
|
(0, class_validator_1.IsOptional)(),
|
|
29
|
+
(0, class_transformer_1.Expose)(),
|
|
26
30
|
__metadata("design:type", Boolean)
|
|
27
31
|
], LoginUserDto.prototype, "remember", void 0);
|
|
28
32
|
exports.LoginUserDto = LoginUserDto;
|
|
@@ -0,0 +1,22 @@
|
|
|
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.UpdateCurrentUserNotificationsDto = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const class_validator_1 = require("class-validator");
|
|
15
|
+
class UpdateCurrentUserNotificationsDto {
|
|
16
|
+
}
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_validator_1.IsArray)(),
|
|
19
|
+
(0, class_transformer_1.Expose)(),
|
|
20
|
+
__metadata("design:type", Array)
|
|
21
|
+
], UpdateCurrentUserNotificationsDto.prototype, "notifications", void 0);
|
|
22
|
+
exports.UpdateCurrentUserNotificationsDto = UpdateCurrentUserNotificationsDto;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { Languages } from '../shared/enum/languages.enum';
|
|
2
|
-
import { NotificationEnum } from './enum/notification.enum';
|
|
3
2
|
export declare class UpdateCurrentUserDto {
|
|
4
3
|
photo: string;
|
|
5
4
|
name: string;
|
|
@@ -7,5 +6,4 @@ export declare class UpdateCurrentUserDto {
|
|
|
7
6
|
email: string;
|
|
8
7
|
phone: string;
|
|
9
8
|
language: Languages;
|
|
10
|
-
notifications: NotificationEnum[];
|
|
11
9
|
}
|
|
@@ -46,9 +46,4 @@ __decorate([
|
|
|
46
46
|
(0, class_transformer_1.Expose)(),
|
|
47
47
|
__metadata("design:type", String)
|
|
48
48
|
], UpdateCurrentUserDto.prototype, "language", void 0);
|
|
49
|
-
__decorate([
|
|
50
|
-
(0, class_validator_1.IsArray)(),
|
|
51
|
-
(0, class_transformer_1.Expose)(),
|
|
52
|
-
__metadata("design:type", Array)
|
|
53
|
-
], UpdateCurrentUserDto.prototype, "notifications", void 0);
|
|
54
49
|
exports.UpdateCurrentUserDto = UpdateCurrentUserDto;
|
|
@@ -137,4 +137,9 @@ __decorate([
|
|
|
137
137
|
(0, class_transformer_1.Expose)(),
|
|
138
138
|
__metadata("design:type", String)
|
|
139
139
|
], WidgetOpenapiCreateCertificateDto.prototype, "sendingTime", void 0);
|
|
140
|
+
__decorate([
|
|
141
|
+
(0, class_validator_1.IsOptional)(),
|
|
142
|
+
(0, class_transformer_1.Expose)(),
|
|
143
|
+
__metadata("design:type", String)
|
|
144
|
+
], WidgetOpenapiCreateCertificateDto.prototype, "sendingEmailUtcDate", void 0);
|
|
140
145
|
exports.WidgetOpenapiCreateCertificateDto = WidgetOpenapiCreateCertificateDto;
|
|
@@ -2,9 +2,6 @@ import { QuestroomTypeEnum } from '../questroom/enum/questroom-type.enum';
|
|
|
2
2
|
import { Languages } from '../shared/enum/languages.enum';
|
|
3
3
|
export declare type WidgetOpenApiQuestroomRO = {
|
|
4
4
|
id: number;
|
|
5
|
-
address: string;
|
|
6
|
-
howToFind: string;
|
|
7
|
-
prepareInfo: string;
|
|
8
5
|
fear: number;
|
|
9
6
|
difficult: number;
|
|
10
7
|
title: string;
|
|
@@ -18,4 +15,11 @@ export declare type WidgetOpenApiQuestroomRO = {
|
|
|
18
15
|
minHoursForBooking: number;
|
|
19
16
|
minHoursForFreeCanceling: number;
|
|
20
17
|
languages: Languages[];
|
|
18
|
+
location: {
|
|
19
|
+
address: string;
|
|
20
|
+
howToFind: string;
|
|
21
|
+
prepareInfo: string;
|
|
22
|
+
phone: string;
|
|
23
|
+
timeZone: string;
|
|
24
|
+
};
|
|
21
25
|
};
|
|
@@ -57,14 +57,17 @@ export declare type WidgetOrdersOrderRO = {
|
|
|
57
57
|
questroom: {
|
|
58
58
|
id: number;
|
|
59
59
|
title: string;
|
|
60
|
-
address: string;
|
|
61
|
-
howToFind: string;
|
|
62
|
-
prepareInfo: string;
|
|
63
|
-
phone: string;
|
|
64
60
|
time: number;
|
|
65
61
|
minAge: number;
|
|
66
62
|
minHoursForFreeCanceling: number;
|
|
67
63
|
languages: Languages[];
|
|
68
64
|
defaultLanguage: Languages;
|
|
65
|
+
location: {
|
|
66
|
+
address: string;
|
|
67
|
+
howToFind: string;
|
|
68
|
+
prepareInfo: string;
|
|
69
|
+
phone: string;
|
|
70
|
+
timeZone: string;
|
|
71
|
+
};
|
|
69
72
|
};
|
|
70
73
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@escapenavigator/types",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.68",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"class-transformer": "^0.5.1",
|
|
21
21
|
"class-validator": "^0.13.1"
|
|
22
22
|
},
|
|
23
|
-
"gitHead": "
|
|
23
|
+
"gitHead": "5ad305e49eaa034fd21d6c4529d3424fa48aa895",
|
|
24
24
|
"devDependencies": {
|
|
25
25
|
"@types/validator": "13.0.0",
|
|
26
26
|
"alphakit-presets-lint": "^1.0.0",
|