@escapenavigator/types 2.0.24 → 2.0.25
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/admin/admin.ro.d.ts +8 -0
- package/dist/admin/create-admin.dto.d.ts +8 -0
- package/dist/admin/create-admin.dto.js +48 -0
- package/dist/aggregator-companies/aggregator-quest-status.enum.d.ts +20 -0
- package/dist/aggregator-companies/aggregator-quest-status.enum.js +24 -0
- package/dist/constants/all-languages-by-namespace.js +9 -0
- package/dist/constants/country-by-namespace.js +9 -0
- package/dist/constants/country-name-by-country.js +9 -0
- package/dist/constants/currency-by-country.js +9 -0
- package/dist/constants/emergency-phones.js +19 -0
- package/dist/constants/language-by-country.js +9 -0
- package/dist/constants/language-flag-by-language.js +4 -0
- package/dist/constants/language-name-by-language.js +4 -0
- package/dist/constants/namespace-by-country.js +9 -0
- package/dist/constants/navigator-certificate-nominals-by-country.js +46 -0
- package/dist/openapi/widget/openapi-widget-info.ro.d.ts +1 -0
- package/dist/openapi/widget/openapi-widget-info.ro.js +4 -0
- package/dist/profile/company-ai-context.d.ts +1 -0
- package/dist/profile/enum/profile-currency.d.ts +8 -1
- package/dist/profile/enum/profile-currency.js +7 -0
- package/dist/profile/widget-customization/update-widget-customization.dto.d.ts +4 -0
- package/dist/profile/widget-customization/update-widget-customization.dto.js +20 -1
- package/dist/profile/widget-customization/widget-customization.ro.d.ts +2 -0
- package/dist/profile/widget-customization/widget-customization.ro.js +4 -0
- package/dist/questroom/questroom-ai-context.d.ts +1 -0
- package/dist/shared/enum/countries.enum.d.ts +10 -1
- package/dist/shared/enum/countries.enum.js +9 -0
- package/dist/shared/enum/languages.enum.d.ts +5 -1
- package/dist/shared/enum/languages.enum.js +4 -0
- package/dist/shared/enum/namespaces.enum.d.ts +10 -1
- package/dist/shared/enum/namespaces.enum.js +9 -0
- package/dist/shared/language-to-country.js +4 -0
- package/dist/shared/normalize-search-text.d.ts +9 -0
- package/dist/shared/normalize-search-text.js +30 -0
- package/dist/shared/query.dto.d.ts +5 -0
- package/dist/shared/query.dto.js +4 -0
- package/dist/survey/survey-response.ro.d.ts +7 -0
- package/dist/survey/survey-response.ro.js +8 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +2 -2
package/dist/shared/query.dto.js
CHANGED
|
@@ -10,7 +10,9 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.QueryDto = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
13
14
|
const class_validator_1 = require("class-validator");
|
|
15
|
+
const normalize_search_text_1 = require("./normalize-search-text");
|
|
14
16
|
class QueryDto {
|
|
15
17
|
}
|
|
16
18
|
exports.QueryDto = QueryDto;
|
|
@@ -24,6 +26,8 @@ __decorate([
|
|
|
24
26
|
], QueryDto.prototype, "limit", void 0);
|
|
25
27
|
__decorate([
|
|
26
28
|
(0, class_validator_1.IsOptional)(),
|
|
29
|
+
(0, class_transformer_1.Transform)(({ value }) => (0, normalize_search_text_1.normalizeSearchText)(value)),
|
|
30
|
+
(0, class_validator_1.IsString)(),
|
|
27
31
|
__metadata("design:type", String)
|
|
28
32
|
], QueryDto.prototype, "searchText", void 0);
|
|
29
33
|
__decorate([
|
|
@@ -13,6 +13,13 @@ export declare class SurveyResponseRO {
|
|
|
13
13
|
clientId: number;
|
|
14
14
|
/** Имя участника, за которым закреплён ответ (для списка в панели). */
|
|
15
15
|
clientName?: string;
|
|
16
|
+
/** Телефон участника — для обзвона из CRM. */
|
|
17
|
+
clientPhone?: string;
|
|
18
|
+
/**
|
|
19
|
+
* Персональная ссылка на post-game опрос участника.
|
|
20
|
+
* Отдаётся только при `operatorFillEnabled` (телефонный обзвон / ручная отправка ссылки).
|
|
21
|
+
*/
|
|
22
|
+
surveyUrl?: string;
|
|
16
23
|
questroomId: number;
|
|
17
24
|
locationId: number;
|
|
18
25
|
status: SurveyStatusEnum;
|
|
@@ -44,6 +44,14 @@ __decorate([
|
|
|
44
44
|
(0, class_transformer_1.Expose)(),
|
|
45
45
|
__metadata("design:type", String)
|
|
46
46
|
], SurveyResponseRO.prototype, "clientName", void 0);
|
|
47
|
+
__decorate([
|
|
48
|
+
(0, class_transformer_1.Expose)(),
|
|
49
|
+
__metadata("design:type", String)
|
|
50
|
+
], SurveyResponseRO.prototype, "clientPhone", void 0);
|
|
51
|
+
__decorate([
|
|
52
|
+
(0, class_transformer_1.Expose)(),
|
|
53
|
+
__metadata("design:type", String)
|
|
54
|
+
], SurveyResponseRO.prototype, "surveyUrl", void 0);
|
|
47
55
|
__decorate([
|
|
48
56
|
(0, class_transformer_1.Expose)(),
|
|
49
57
|
__metadata("design:type", Number)
|