@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.
Files changed (69) hide show
  1. package/dist/certificate-sale/create-certificatesale.dto.d.ts +1 -0
  2. package/dist/certificate-sale/create-certificatesale.dto.js +6 -0
  3. package/dist/certificate-sale/query-certificatesale.dto.d.ts +1 -0
  4. package/dist/certificate-sale/query-certificatesale.dto.js +4 -0
  5. package/dist/constants/countries-options.d.ts +5 -0
  6. package/dist/constants/countries-options.js +10 -0
  7. package/dist/constants/country-by-namespace.js +6 -0
  8. package/dist/constants/country-name-by-country.d.ts +2 -0
  9. package/dist/constants/country-name-by-country.js +21 -0
  10. package/dist/constants/currency-by-country.d.ts +3 -0
  11. package/dist/constants/currency-by-country.js +22 -0
  12. package/dist/constants/language-by-country.d.ts +3 -0
  13. package/dist/constants/language-by-country.js +22 -0
  14. package/dist/constants/language-name-by-language.d.ts +2 -0
  15. package/dist/constants/language-name-by-language.js +18 -0
  16. package/dist/constants/language-options.d.ts +5 -0
  17. package/dist/constants/language-options.js +9 -0
  18. package/dist/constants/namespace-by-country.js +6 -0
  19. package/dist/constants/timezone-by-mono-tz-country.d.ts +16 -0
  20. package/dist/constants/timezone-by-mono-tz-country.js +20 -0
  21. package/dist/order/update-order-slot.dto.js +1 -1
  22. package/dist/order/update-players.dto.js +1 -1
  23. package/dist/profile/agregator-profile.ro.d.ts +1 -1
  24. package/dist/profile/enum/profile-currency.js +0 -5
  25. package/dist/profile/profile.ro.d.ts +1 -4
  26. package/dist/shared/enum/countries.enum.d.ts +7 -1
  27. package/dist/shared/enum/countries.enum.js +6 -0
  28. package/dist/shared/enum/languages.enum.d.ts +11 -1
  29. package/dist/shared/enum/languages.enum.js +10 -0
  30. package/dist/shared/enum/namespaces.enum.d.ts +8 -2
  31. package/dist/shared/enum/namespaces.enum.js +7 -1
  32. package/dist/shared/is-not-blank.js +1 -1
  33. package/dist/shared/timezone.enum.d.ts +64 -0
  34. package/dist/shared/timezone.enum.js +68 -0
  35. package/dist/slot/add-breaks.dto.d.ts +1 -1
  36. package/dist/slot/add-breaks.dto.js +5 -3
  37. package/dist/slot/remove-breaks.dto.d.ts +1 -1
  38. package/dist/slot/remove-breaks.dto.js +5 -3
  39. package/dist/slot-template/update-slot-template-first-step.dto.d.ts +6 -0
  40. package/dist/slot-template/update-slot-template-first-step.dto.js +39 -0
  41. package/dist/slot-template/update-tariff.dto.d.ts +6 -0
  42. package/dist/slot-template/update-tariff.dto.js +38 -0
  43. package/dist/translation/create-namespace.dto.d.ts +3 -0
  44. package/dist/translation/create-namespace.dto.js +22 -0
  45. package/dist/translation/create-translation-from-json.dto.d.ts +4 -0
  46. package/dist/translation/create-translation-from-json.dto.js +28 -0
  47. package/dist/translation/create-translation.dto.d.ts +5 -0
  48. package/dist/translation/create-translation.dto.js +33 -0
  49. package/dist/translation/edit-all-translation-loacales.dto.d.ts +3 -0
  50. package/dist/translation/edit-all-translation-loacales.dto.js +22 -0
  51. package/dist/translation/namespace.ro.d.ts +4 -0
  52. package/dist/translation/namespace.ro.js +2 -0
  53. package/dist/translation/translation.ro.d.ts +13 -0
  54. package/dist/translation/translation.ro.js +2 -0
  55. package/dist/translation/update-translation-locale.dto.d.ts +3 -0
  56. package/dist/translation/update-translation-locale.dto.js +22 -0
  57. package/dist/tsconfig.build.tsbuildinfo +1 -1
  58. package/dist/user/enum/notification.enum.d.ts +2 -1
  59. package/dist/user/enum/notification.enum.js +2 -1
  60. package/dist/user/login-user.dto.js +5 -1
  61. package/dist/user/update-current-user-notifications.dto.d.ts +4 -0
  62. package/dist/user/update-current-user-notifications.dto.js +22 -0
  63. package/dist/user/update-current-user.dto.d.ts +0 -2
  64. package/dist/user/update-current-user.dto.js +0 -5
  65. package/dist/widget-openapi/widget-openapi-create-certificate.dto.d.ts +1 -0
  66. package/dist/widget-openapi/widget-openapi-create-certificate.dto.js +5 -0
  67. package/dist/widget-openapi/widget-openapi-questroom.ro.d.ts +7 -3
  68. package/dist/widget-orders/widget-orders-order.ro.d.ts +7 -4
  69. package/package.json +2 -2
@@ -0,0 +1,39 @@
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.UpdateSlotTemplateFirstStepDto = 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
+ class UpdateSlotTemplateFirstStepDto {
17
+ }
18
+ __decorate([
19
+ (0, class_validator_1.IsPositive)(),
20
+ (0, class_transformer_1.Expose)(),
21
+ __metadata("design:type", Number)
22
+ ], UpdateSlotTemplateFirstStepDto.prototype, "questroomId", void 0);
23
+ __decorate([
24
+ (0, is_not_blank_1.IsNotBlank)(),
25
+ (0, class_transformer_1.Expose)(),
26
+ __metadata("design:type", String)
27
+ ], UpdateSlotTemplateFirstStepDto.prototype, "type", void 0);
28
+ __decorate([
29
+ (0, is_not_blank_1.IsNotBlank)(),
30
+ (0, class_transformer_1.Expose)(),
31
+ __metadata("design:type", String)
32
+ ], UpdateSlotTemplateFirstStepDto.prototype, "start", void 0);
33
+ __decorate([
34
+ (0, class_validator_1.ValidateIf)(({ type }) => type === 'period'),
35
+ (0, is_not_blank_1.IsNotBlank)(),
36
+ (0, class_transformer_1.Expose)(),
37
+ __metadata("design:type", String)
38
+ ], UpdateSlotTemplateFirstStepDto.prototype, "end", void 0);
39
+ exports.UpdateSlotTemplateFirstStepDto = UpdateSlotTemplateFirstStepDto;
@@ -0,0 +1,6 @@
1
+ export declare class UpdateTariffDto {
2
+ startDate: string;
3
+ endDate: string;
4
+ tariffId: number;
5
+ questroomsIds: number[];
6
+ }
@@ -0,0 +1,38 @@
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.UpdateTariffDto = void 0;
13
+ const class_transformer_1 = require("class-transformer");
14
+ const class_validator_1 = require("class-validator");
15
+ class UpdateTariffDto {
16
+ }
17
+ __decorate([
18
+ (0, class_validator_1.IsString)(),
19
+ (0, class_transformer_1.Expose)(),
20
+ __metadata("design:type", String)
21
+ ], UpdateTariffDto.prototype, "startDate", void 0);
22
+ __decorate([
23
+ (0, class_validator_1.IsOptional)(),
24
+ (0, class_transformer_1.Expose)(),
25
+ __metadata("design:type", String)
26
+ ], UpdateTariffDto.prototype, "endDate", void 0);
27
+ __decorate([
28
+ (0, class_validator_1.IsNumber)(),
29
+ (0, class_transformer_1.Expose)(),
30
+ __metadata("design:type", Number)
31
+ ], UpdateTariffDto.prototype, "tariffId", void 0);
32
+ __decorate([
33
+ (0, class_validator_1.IsArray)(),
34
+ (0, class_transformer_1.Transform)(({ value }) => (value && value.length ? value : [])),
35
+ (0, class_transformer_1.Expose)(),
36
+ __metadata("design:type", Array)
37
+ ], UpdateTariffDto.prototype, "questroomsIds", void 0);
38
+ exports.UpdateTariffDto = UpdateTariffDto;
@@ -0,0 +1,3 @@
1
+ export declare class CreateNamespaceDto {
2
+ title: string;
3
+ }
@@ -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.CreateNamespaceDto = void 0;
13
+ const class_transformer_1 = require("class-transformer");
14
+ const is_not_blank_1 = require("../shared/is-not-blank");
15
+ class CreateNamespaceDto {
16
+ }
17
+ __decorate([
18
+ (0, is_not_blank_1.IsNotBlank)(),
19
+ (0, class_transformer_1.Expose)(),
20
+ __metadata("design:type", String)
21
+ ], CreateNamespaceDto.prototype, "title", void 0);
22
+ exports.CreateNamespaceDto = CreateNamespaceDto;
@@ -0,0 +1,4 @@
1
+ export declare class CreateTranslationFromJsonDto {
2
+ json: string;
3
+ namespaceId: number;
4
+ }
@@ -0,0 +1,28 @@
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.CreateTranslationFromJsonDto = 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
+ class CreateTranslationFromJsonDto {
17
+ }
18
+ __decorate([
19
+ (0, is_not_blank_1.IsNotBlank)(),
20
+ (0, class_transformer_1.Expose)(),
21
+ __metadata("design:type", String)
22
+ ], CreateTranslationFromJsonDto.prototype, "json", void 0);
23
+ __decorate([
24
+ (0, class_validator_1.IsPositive)(),
25
+ (0, class_transformer_1.Expose)(),
26
+ __metadata("design:type", Number)
27
+ ], CreateTranslationFromJsonDto.prototype, "namespaceId", void 0);
28
+ exports.CreateTranslationFromJsonDto = CreateTranslationFromJsonDto;
@@ -0,0 +1,5 @@
1
+ export declare class CreateTranslationDto {
2
+ row: string;
3
+ ru: string;
4
+ namespaceId: number;
5
+ }
@@ -0,0 +1,33 @@
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.CreateTranslationDto = 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
+ class CreateTranslationDto {
17
+ }
18
+ __decorate([
19
+ (0, is_not_blank_1.IsNotBlank)(),
20
+ (0, class_transformer_1.Expose)(),
21
+ __metadata("design:type", String)
22
+ ], CreateTranslationDto.prototype, "row", void 0);
23
+ __decorate([
24
+ (0, is_not_blank_1.IsNotBlank)(),
25
+ (0, class_transformer_1.Expose)(),
26
+ __metadata("design:type", String)
27
+ ], CreateTranslationDto.prototype, "ru", void 0);
28
+ __decorate([
29
+ (0, class_validator_1.IsPositive)(),
30
+ (0, class_transformer_1.Expose)(),
31
+ __metadata("design:type", Number)
32
+ ], CreateTranslationDto.prototype, "namespaceId", void 0);
33
+ exports.CreateTranslationDto = CreateTranslationDto;
@@ -0,0 +1,3 @@
1
+ export declare class EditAllTranslationLoacalesDto {
2
+ text: string;
3
+ }
@@ -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.EditAllTranslationLoacalesDto = void 0;
13
+ const class_transformer_1 = require("class-transformer");
14
+ const is_not_blank_1 = require("../shared/is-not-blank");
15
+ class EditAllTranslationLoacalesDto {
16
+ }
17
+ __decorate([
18
+ (0, is_not_blank_1.IsNotBlank)(),
19
+ (0, class_transformer_1.Expose)(),
20
+ __metadata("design:type", String)
21
+ ], EditAllTranslationLoacalesDto.prototype, "text", void 0);
22
+ exports.EditAllTranslationLoacalesDto = EditAllTranslationLoacalesDto;
@@ -0,0 +1,4 @@
1
+ export declare type NamespaceRO = {
2
+ id: number;
3
+ title: string;
4
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,13 @@
1
+ import { Languages } from '../shared/enum/languages.enum';
2
+ export declare type TranslationRO = {
3
+ id: number;
4
+ row: string;
5
+ namespace: {
6
+ title: string;
7
+ };
8
+ translations: Array<{
9
+ id: number;
10
+ text: string;
11
+ locale: Languages;
12
+ }>;
13
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,3 @@
1
+ export declare class UpdateTranslationLocaleDto {
2
+ text: string;
3
+ }
@@ -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.UpdateTranslationLocaleDto = void 0;
13
+ const class_transformer_1 = require("class-transformer");
14
+ const is_not_blank_1 = require("../shared/is-not-blank");
15
+ class UpdateTranslationLocaleDto {
16
+ }
17
+ __decorate([
18
+ (0, is_not_blank_1.IsNotBlank)(),
19
+ (0, class_transformer_1.Expose)(),
20
+ __metadata("design:type", String)
21
+ ], UpdateTranslationLocaleDto.prototype, "text", void 0);
22
+ exports.UpdateTranslationLocaleDto = UpdateTranslationLocaleDto;