@escapenavigator/types 1.10.168 → 2.0.2
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/dashboard-calendar/dashboard-calendar-markers.dto.d.ts +10 -0
- package/dist/dashboard-calendar/dashboard-calendar-markers.dto.js +37 -0
- package/dist/dashboard-calendar/dashboard-calendar-markers.ro.d.ts +16 -0
- package/dist/dashboard-calendar/dashboard-calendar-markers.ro.js +2 -0
- package/dist/dashboard-calendar/dashboard-calendar.enum.d.ts +18 -0
- package/dist/dashboard-calendar/dashboard-calendar.enum.js +23 -0
- package/dist/questroom/questroom-ai-context.d.ts +1 -0
- package/dist/shared/success.ro.d.ts +2 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/widget-chat/widget-chat-conversation.ro.d.ts +1 -0
- package/dist/widget-chat/widget-chat-identify.dto.d.ts +1 -0
- package/dist/widget-chat/widget-chat-identify.dto.js +6 -0
- package/dist/widget-funnel/widget-funnel-dimension.d.ts +44 -0
- package/dist/widget-funnel/widget-funnel-dimension.js +113 -0
- package/dist/widget-funnel/widget-funnel-step.enum.d.ts +12 -0
- package/dist/widget-funnel/widget-funnel-step.enum.js +16 -1
- package/dist/widget-funnel/widget-funnel.ro.d.ts +86 -1
- package/package.json +2 -2
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { DashboardCalendarTypeEnum } from './dashboard-calendar.enum';
|
|
2
|
+
/**
|
|
3
|
+
* Запрос точек для календаря дашборда за диапазон дат.
|
|
4
|
+
* `from`/`to` — локальные даты в формате `YYYY-MM-DD` (включительно).
|
|
5
|
+
*/
|
|
6
|
+
export declare class DashboardCalendarMarkersDto {
|
|
7
|
+
type: DashboardCalendarTypeEnum;
|
|
8
|
+
from: string;
|
|
9
|
+
to: string;
|
|
10
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
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.DashboardCalendarMarkersDto = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const class_validator_1 = require("class-validator");
|
|
15
|
+
const dashboard_calendar_enum_1 = require("./dashboard-calendar.enum");
|
|
16
|
+
/**
|
|
17
|
+
* Запрос точек для календаря дашборда за диапазон дат.
|
|
18
|
+
* `from`/`to` — локальные даты в формате `YYYY-MM-DD` (включительно).
|
|
19
|
+
*/
|
|
20
|
+
class DashboardCalendarMarkersDto {
|
|
21
|
+
}
|
|
22
|
+
exports.DashboardCalendarMarkersDto = DashboardCalendarMarkersDto;
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, class_validator_1.IsEnum)(dashboard_calendar_enum_1.DashboardCalendarTypeEnum),
|
|
25
|
+
(0, class_transformer_1.Expose)(),
|
|
26
|
+
__metadata("design:type", String)
|
|
27
|
+
], DashboardCalendarMarkersDto.prototype, "type", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
30
|
+
(0, class_transformer_1.Expose)(),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], DashboardCalendarMarkersDto.prototype, "from", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
35
|
+
(0, class_transformer_1.Expose)(),
|
|
36
|
+
__metadata("design:type", String)
|
|
37
|
+
], DashboardCalendarMarkersDto.prototype, "to", void 0);
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { DashboardCalendarMarkerColorEnum } from './dashboard-calendar.enum';
|
|
2
|
+
/**
|
|
3
|
+
* Точка одного дня в двух скоупах сразу. Скоуп выбирается на клиенте
|
|
4
|
+
* (тогл «Все/Мои») без повторного запроса:
|
|
5
|
+
* - `all` — цвет точки в режиме «Все» (`null` — точки нет);
|
|
6
|
+
* - `mine` — цвет точки в режиме «Мои» (`null` — точки нет).
|
|
7
|
+
*/
|
|
8
|
+
export type DashboardCalendarMarkerRO = {
|
|
9
|
+
all: DashboardCalendarMarkerColorEnum | null;
|
|
10
|
+
mine: DashboardCalendarMarkerColorEnum | null;
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* Карта точек по дням: ключ — локальная дата `YYYY-MM-DD`. Дни без точек
|
|
14
|
+
* в обоих скоупах в ответ не попадают (полезная нагрузка минимальна).
|
|
15
|
+
*/
|
|
16
|
+
export type DashboardCalendarMarkersRO = Record<string, DashboardCalendarMarkerRO>;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Тип сущностей, по которым календарь дашборда (mobile) рисует точки на днях.
|
|
3
|
+
* `games` — игры (orders+slots), `shifts` — смены (user-new-sessions).
|
|
4
|
+
*/
|
|
5
|
+
export declare enum DashboardCalendarTypeEnum {
|
|
6
|
+
GAMES = "games",
|
|
7
|
+
SHIFTS = "shifts"
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Цвет точки на дне календаря.
|
|
11
|
+
* - `blue` — обычная точка (будущие игры / назначенные смены / мои);
|
|
12
|
+
* - `red` — требует внимания (прошлые неоплаченные игры / смены без
|
|
13
|
+
* назначенного сотрудника).
|
|
14
|
+
*/
|
|
15
|
+
export declare enum DashboardCalendarMarkerColorEnum {
|
|
16
|
+
BLUE = "blue",
|
|
17
|
+
RED = "red"
|
|
18
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DashboardCalendarMarkerColorEnum = exports.DashboardCalendarTypeEnum = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* Тип сущностей, по которым календарь дашборда (mobile) рисует точки на днях.
|
|
6
|
+
* `games` — игры (orders+slots), `shifts` — смены (user-new-sessions).
|
|
7
|
+
*/
|
|
8
|
+
var DashboardCalendarTypeEnum;
|
|
9
|
+
(function (DashboardCalendarTypeEnum) {
|
|
10
|
+
DashboardCalendarTypeEnum["GAMES"] = "games";
|
|
11
|
+
DashboardCalendarTypeEnum["SHIFTS"] = "shifts";
|
|
12
|
+
})(DashboardCalendarTypeEnum || (exports.DashboardCalendarTypeEnum = DashboardCalendarTypeEnum = {}));
|
|
13
|
+
/**
|
|
14
|
+
* Цвет точки на дне календаря.
|
|
15
|
+
* - `blue` — обычная точка (будущие игры / назначенные смены / мои);
|
|
16
|
+
* - `red` — требует внимания (прошлые неоплаченные игры / смены без
|
|
17
|
+
* назначенного сотрудника).
|
|
18
|
+
*/
|
|
19
|
+
var DashboardCalendarMarkerColorEnum;
|
|
20
|
+
(function (DashboardCalendarMarkerColorEnum) {
|
|
21
|
+
DashboardCalendarMarkerColorEnum["BLUE"] = "blue";
|
|
22
|
+
DashboardCalendarMarkerColorEnum["RED"] = "red";
|
|
23
|
+
})(DashboardCalendarMarkerColorEnum || (exports.DashboardCalendarMarkerColorEnum = DashboardCalendarMarkerColorEnum = {}));
|