@escapenavigator/types 1.4.66 → 1.4.67
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/query-certificatesale.dto.d.ts +1 -0
- package/dist/certificate-sale/query-certificatesale.dto.js +4 -0
- package/dist/constants/country-by-namespace.js +2 -0
- package/dist/constants/currency-by-country.d.ts +3 -0
- package/dist/constants/currency-by-country.js +18 -0
- package/dist/constants/language-by-country.d.ts +3 -0
- package/dist/constants/language-by-country.js +18 -0
- package/dist/constants/namespace-by-country.js +2 -0
- package/dist/order/update-order-slot.dto.js +1 -1
- package/dist/order/update-players.dto.js +1 -1
- package/dist/profile/enum/profile-currency.js +0 -5
- package/dist/shared/enum/countries.enum.d.ts +3 -1
- package/dist/shared/enum/countries.enum.js +2 -0
- package/dist/shared/enum/languages.enum.d.ts +9 -1
- package/dist/shared/enum/languages.enum.js +8 -0
- package/dist/shared/enum/namespaces.enum.d.ts +3 -1
- package/dist/shared/enum/namespaces.enum.js +2 -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/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/package.json +2 -2
|
@@ -3,6 +3,7 @@ import { CertificatesaleDeliveryTypeEnum } from './enum/certificatesales-deliver
|
|
|
3
3
|
export declare class QueryCertificatesaleDto {
|
|
4
4
|
createdFrom?: string;
|
|
5
5
|
createdTo?: string;
|
|
6
|
+
clientId?: number;
|
|
6
7
|
source?: SourceEnum;
|
|
7
8
|
status?: 'not_payed' | 'sended' | 'not_sended' | 'expired' | 'used';
|
|
8
9
|
deliveryType?: CertificatesaleDeliveryTypeEnum;
|
|
@@ -23,6 +23,10 @@ __decorate([
|
|
|
23
23
|
(0, class_validator_1.IsOptional)(),
|
|
24
24
|
__metadata("design:type", String)
|
|
25
25
|
], QueryCertificatesaleDto.prototype, "createdTo", void 0);
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, class_validator_1.IsOptional)(),
|
|
28
|
+
__metadata("design:type", Number)
|
|
29
|
+
], QueryCertificatesaleDto.prototype, "clientId", void 0);
|
|
26
30
|
__decorate([
|
|
27
31
|
(0, class_validator_1.IsOptional)(),
|
|
28
32
|
(0, class_validator_1.IsEnum)(source_enum_1.SourceEnum),
|
|
@@ -4,6 +4,7 @@ exports.countryByNamespace = void 0;
|
|
|
4
4
|
const countries_enum_1 = require("../shared/enum/countries.enum");
|
|
5
5
|
const namespaces_enum_1 = require("../shared/enum/namespaces.enum");
|
|
6
6
|
exports.countryByNamespace = {
|
|
7
|
+
[namespaces_enum_1.NamespacesEnum.RUSSIA]: countries_enum_1.CountriesEnum.RUSSIA,
|
|
7
8
|
[namespaces_enum_1.NamespacesEnum.GERMANY]: countries_enum_1.CountriesEnum.GERMANY,
|
|
8
9
|
[namespaces_enum_1.NamespacesEnum.USA]: countries_enum_1.CountriesEnum.USA,
|
|
9
10
|
[namespaces_enum_1.NamespacesEnum.AUSTRIA]: countries_enum_1.CountriesEnum.AUSTRIA,
|
|
@@ -13,4 +14,5 @@ exports.countryByNamespace = {
|
|
|
13
14
|
[namespaces_enum_1.NamespacesEnum.PORTUGAL]: countries_enum_1.CountriesEnum.PORTUGAL,
|
|
14
15
|
[namespaces_enum_1.NamespacesEnum.ITALY]: countries_enum_1.CountriesEnum.ITALY,
|
|
15
16
|
[namespaces_enum_1.NamespacesEnum.SPAIN]: countries_enum_1.CountriesEnum.SPAIN,
|
|
17
|
+
[namespaces_enum_1.NamespacesEnum.ESTONIA]: countries_enum_1.CountriesEnum.ESTONIA,
|
|
16
18
|
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.currencyByCountry = void 0;
|
|
4
|
+
const profile_currency_1 = require("../profile/enum/profile-currency");
|
|
5
|
+
const countries_enum_1 = require("../shared/enum/countries.enum");
|
|
6
|
+
exports.currencyByCountry = {
|
|
7
|
+
[countries_enum_1.CountriesEnum.RUSSIA]: profile_currency_1.ProfileCurrencyEnum.RUR,
|
|
8
|
+
[countries_enum_1.CountriesEnum.USA]: profile_currency_1.ProfileCurrencyEnum.USD,
|
|
9
|
+
[countries_enum_1.CountriesEnum.GERMANY]: profile_currency_1.ProfileCurrencyEnum.EUR,
|
|
10
|
+
[countries_enum_1.CountriesEnum.AUSTRIA]: profile_currency_1.ProfileCurrencyEnum.EUR,
|
|
11
|
+
[countries_enum_1.CountriesEnum.POLAND]: profile_currency_1.ProfileCurrencyEnum.EUR,
|
|
12
|
+
[countries_enum_1.CountriesEnum.FRANCE]: profile_currency_1.ProfileCurrencyEnum.EUR,
|
|
13
|
+
[countries_enum_1.CountriesEnum.GREECE]: profile_currency_1.ProfileCurrencyEnum.EUR,
|
|
14
|
+
[countries_enum_1.CountriesEnum.PORTUGAL]: profile_currency_1.ProfileCurrencyEnum.EUR,
|
|
15
|
+
[countries_enum_1.CountriesEnum.ITALY]: profile_currency_1.ProfileCurrencyEnum.EUR,
|
|
16
|
+
[countries_enum_1.CountriesEnum.SPAIN]: profile_currency_1.ProfileCurrencyEnum.EUR,
|
|
17
|
+
[countries_enum_1.CountriesEnum.ESTONIA]: profile_currency_1.ProfileCurrencyEnum.EUR,
|
|
18
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.languageByCountry = void 0;
|
|
4
|
+
const countries_enum_1 = require("../shared/enum/countries.enum");
|
|
5
|
+
const languages_enum_1 = require("../shared/enum/languages.enum");
|
|
6
|
+
exports.languageByCountry = {
|
|
7
|
+
[countries_enum_1.CountriesEnum.RUSSIA]: languages_enum_1.Languages.RU,
|
|
8
|
+
[countries_enum_1.CountriesEnum.USA]: languages_enum_1.Languages.EN,
|
|
9
|
+
[countries_enum_1.CountriesEnum.GERMANY]: languages_enum_1.Languages.DE,
|
|
10
|
+
[countries_enum_1.CountriesEnum.AUSTRIA]: languages_enum_1.Languages.DE,
|
|
11
|
+
[countries_enum_1.CountriesEnum.POLAND]: languages_enum_1.Languages.PL,
|
|
12
|
+
[countries_enum_1.CountriesEnum.FRANCE]: languages_enum_1.Languages.FR,
|
|
13
|
+
[countries_enum_1.CountriesEnum.GREECE]: languages_enum_1.Languages.GR,
|
|
14
|
+
[countries_enum_1.CountriesEnum.PORTUGAL]: languages_enum_1.Languages.PT,
|
|
15
|
+
[countries_enum_1.CountriesEnum.ITALY]: languages_enum_1.Languages.IT,
|
|
16
|
+
[countries_enum_1.CountriesEnum.SPAIN]: languages_enum_1.Languages.ES,
|
|
17
|
+
[countries_enum_1.CountriesEnum.ESTONIA]: languages_enum_1.Languages.ET,
|
|
18
|
+
};
|
|
@@ -4,6 +4,7 @@ exports.namespaceByCountry = void 0;
|
|
|
4
4
|
const countries_enum_1 = require("../shared/enum/countries.enum");
|
|
5
5
|
const namespaces_enum_1 = require("../shared/enum/namespaces.enum");
|
|
6
6
|
exports.namespaceByCountry = {
|
|
7
|
+
[countries_enum_1.CountriesEnum.RUSSIA]: namespaces_enum_1.NamespacesEnum.RUSSIA,
|
|
7
8
|
[countries_enum_1.CountriesEnum.GERMANY]: namespaces_enum_1.NamespacesEnum.GERMANY,
|
|
8
9
|
[countries_enum_1.CountriesEnum.USA]: namespaces_enum_1.NamespacesEnum.USA,
|
|
9
10
|
[countries_enum_1.CountriesEnum.AUSTRIA]: namespaces_enum_1.NamespacesEnum.AUSTRIA,
|
|
@@ -13,4 +14,5 @@ exports.namespaceByCountry = {
|
|
|
13
14
|
[countries_enum_1.CountriesEnum.PORTUGAL]: namespaces_enum_1.NamespacesEnum.PORTUGAL,
|
|
14
15
|
[countries_enum_1.CountriesEnum.ITALY]: namespaces_enum_1.NamespacesEnum.ITALY,
|
|
15
16
|
[countries_enum_1.CountriesEnum.SPAIN]: namespaces_enum_1.NamespacesEnum.SPAIN,
|
|
17
|
+
[countries_enum_1.CountriesEnum.ESTONIA]: namespaces_enum_1.NamespacesEnum.ESTONIA,
|
|
16
18
|
};
|
|
@@ -21,7 +21,7 @@ __decorate([
|
|
|
21
21
|
__decorate([
|
|
22
22
|
(0, class_validator_1.IsBoolean)(),
|
|
23
23
|
(0, class_transformer_1.Expose)(),
|
|
24
|
-
(0, class_transformer_1.Transform)(({ value }) => (value === undefined ?
|
|
24
|
+
(0, class_transformer_1.Transform)(({ value }) => (value === undefined ? false : value)),
|
|
25
25
|
__metadata("design:type", Boolean)
|
|
26
26
|
], UpdateOrderSlotDto.prototype, "sendNotification", void 0);
|
|
27
27
|
exports.UpdateOrderSlotDto = UpdateOrderSlotDto;
|
|
@@ -22,7 +22,7 @@ __decorate([
|
|
|
22
22
|
__decorate([
|
|
23
23
|
(0, class_validator_1.IsBoolean)(),
|
|
24
24
|
(0, class_transformer_1.Expose)(),
|
|
25
|
-
(0, class_transformer_1.Transform)(({ value }) => (value === undefined ?
|
|
25
|
+
(0, class_transformer_1.Transform)(({ value }) => (value === undefined ? false : value)),
|
|
26
26
|
__metadata("design:type", Boolean)
|
|
27
27
|
], UpdatePlayersrDto.prototype, "sendNotification", void 0);
|
|
28
28
|
exports.UpdatePlayersrDto = UpdatePlayersrDto;
|
|
@@ -12,4 +12,6 @@ var CountriesEnum;
|
|
|
12
12
|
CountriesEnum["ITALY"] = "it";
|
|
13
13
|
CountriesEnum["PORTUGAL"] = "pt";
|
|
14
14
|
CountriesEnum["GREECE"] = "gr";
|
|
15
|
+
CountriesEnum["ESTONIA"] = "ee";
|
|
16
|
+
CountriesEnum["RUSSIA"] = "ru";
|
|
15
17
|
})(CountriesEnum = exports.CountriesEnum || (exports.CountriesEnum = {}));
|
|
@@ -5,4 +5,12 @@ var Languages;
|
|
|
5
5
|
(function (Languages) {
|
|
6
6
|
Languages["EN"] = "en";
|
|
7
7
|
Languages["DE"] = "de";
|
|
8
|
+
Languages["ET"] = "et";
|
|
9
|
+
Languages["RU"] = "ru";
|
|
10
|
+
Languages["ES"] = "es";
|
|
11
|
+
Languages["PT"] = "pt";
|
|
12
|
+
Languages["PL"] = "pl";
|
|
13
|
+
Languages["FR"] = "fr";
|
|
14
|
+
Languages["IT"] = "it";
|
|
15
|
+
Languages["GR"] = "el";
|
|
8
16
|
})(Languages = exports.Languages || (exports.Languages = {}));
|
|
@@ -12,4 +12,6 @@ var NamespacesEnum;
|
|
|
12
12
|
NamespacesEnum["ITALY"] = "it";
|
|
13
13
|
NamespacesEnum["PORTUGAL"] = "com.pt";
|
|
14
14
|
NamespacesEnum["GREECE"] = "gr";
|
|
15
|
+
NamespacesEnum["ESTONIA"] = "ee";
|
|
16
|
+
NamespacesEnum["RUSSIA"] = "ru";
|
|
15
17
|
})(NamespacesEnum = exports.NamespacesEnum || (exports.NamespacesEnum = {}));
|
|
@@ -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,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,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,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;
|