@escapenavigator/types 1.10.134 → 1.10.135
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/agregator/agregator-questroom.ro.d.ts +2 -2
- package/dist/agregator/agregator-questroom.ro.js +2 -2
- package/dist/certificate-sale/create-certificatesale.dto.d.ts +33 -0
- package/dist/certificate-sale/create-certificatesale.dto.js +158 -0
- package/dist/dynamic-resource/calendar-dynamic-resources.dto.d.ts +5 -0
- package/dist/dynamic-resource/calendar-dynamic-resources.dto.js +32 -0
- package/dist/dynamic-resource/create-dynamic-resource.dto.d.ts +11 -0
- package/dist/dynamic-resource/create-dynamic-resource.dto.js +55 -0
- package/dist/dynamic-resource/dynamic-resource.ro.d.ts +8 -0
- package/dist/dynamic-resource/dynamic-resource.ro.js +37 -0
- package/dist/dynamic-resource/update-dynamic-resource.dto.d.ts +9 -0
- package/dist/dynamic-resource/update-dynamic-resource.dto.js +56 -0
- package/dist/order/waivers/child-relation.enum.d.ts +6 -0
- package/dist/order/waivers/child-relation.enum.js +10 -0
- package/dist/order/waivers/order-to-sign.ro.d.ts +6 -0
- package/dist/order/waivers/order-to-sign.ro.js +19 -0
- package/dist/order/waivers/sign-order.dto.d.ts +12 -2
- package/dist/order/waivers/sign-order.dto.js +37 -2
- package/dist/questroom/create-questroom-resource.dto.d.ts +7 -0
- package/dist/questroom/create-questroom-resource.dto.js +12 -0
- package/dist/questroom/questroom-resource.ro.d.ts +4 -0
- package/dist/questroom/questroom-resource.ro.js +8 -0
- package/dist/subway-station/subway-station.ro.d.ts +34 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/user/crud/user-light.ro.d.ts +1 -0
- package/dist/user/crud/user-light.ro.js +4 -0
- package/dist/user-message/create-user-message.dto.d.ts +1 -0
- package/dist/user-message/create-user-message.dto.js +5 -0
- package/dist/user-message/user-message.ro.d.ts +1 -0
- package/package.json +2 -2
|
@@ -34,3 +34,11 @@ __decorate([
|
|
|
34
34
|
(0, class_transformer_1.Expose)(),
|
|
35
35
|
__metadata("design:type", Array)
|
|
36
36
|
], QuestroomResourceRO.prototype, "availableDays", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, class_transformer_1.Expose)(),
|
|
39
|
+
__metadata("design:type", String)
|
|
40
|
+
], QuestroomResourceRO.prototype, "start", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, class_transformer_1.Expose)(),
|
|
43
|
+
__metadata("design:type", String)
|
|
44
|
+
], QuestroomResourceRO.prototype, "end", void 0);
|
|
@@ -32,6 +32,7 @@ export type SyncSubwayStationsResponseRO = {
|
|
|
32
32
|
totalFetched: number;
|
|
33
33
|
totalInserted: number;
|
|
34
34
|
totalUpdated: number;
|
|
35
|
+
totalDeleted: number;
|
|
35
36
|
};
|
|
36
37
|
subway: {
|
|
37
38
|
cityIdsWithSubway: number;
|
|
@@ -41,3 +42,36 @@ export type SyncSubwayStationsResponseRO = {
|
|
|
41
42
|
errors: number;
|
|
42
43
|
};
|
|
43
44
|
};
|
|
45
|
+
/**
|
|
46
|
+
* Город, доступный для перепарсинга метро в admin-модалке: только
|
|
47
|
+
* города с `hasSubway = true`. Источник опций для Select при выборе
|
|
48
|
+
* конкретного города (см. `GET /parsed-exporter/admin/subway-import-cities`).
|
|
49
|
+
*/
|
|
50
|
+
export type SubwayImportCityRO = {
|
|
51
|
+
id: number;
|
|
52
|
+
title: string;
|
|
53
|
+
country: CountriesEnum;
|
|
54
|
+
};
|
|
55
|
+
/**
|
|
56
|
+
* Ответ перепарсинга одного города (`POST /parsed-exporter/admin/sync-subway/:cityId`):
|
|
57
|
+
* статистика импорта станций из OSM (включая `deleted` — сколько
|
|
58
|
+
* устаревших станций удалено) и переподвязки локаций города.
|
|
59
|
+
*/
|
|
60
|
+
export type SyncSubwayCityResponseRO = {
|
|
61
|
+
cityId: number;
|
|
62
|
+
cityTitle: string;
|
|
63
|
+
/** `true` если город пропущен по `REACT_APP_REGION` (чужой регион). */
|
|
64
|
+
skippedByRegion: boolean;
|
|
65
|
+
import: {
|
|
66
|
+
fetched: number;
|
|
67
|
+
inserted: number;
|
|
68
|
+
updated: number;
|
|
69
|
+
deleted: number;
|
|
70
|
+
};
|
|
71
|
+
backfill: {
|
|
72
|
+
candidates: number;
|
|
73
|
+
updated: number;
|
|
74
|
+
notFound: number;
|
|
75
|
+
errors: number;
|
|
76
|
+
};
|
|
77
|
+
};
|