@escapenavigator/types 1.10.128 → 1.10.129
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-city.ro.d.ts +25 -0
- package/dist/agregator/agregator-city.ro.js +8 -0
- package/dist/agregator/agregator-questroom-card.ro.d.ts +14 -1
- package/dist/agregator/agregator-questroom-card.ro.js +4 -2
- package/dist/city/city.ro.d.ts +3 -0
- package/dist/city/update-city.dto.d.ts +13 -0
- package/dist/city/update-city.dto.js +19 -0
- package/dist/openapi/shared/openapi-questroom.ro.d.ts +2 -0
- package/dist/openapi/shared/openapi-questroom.ro.js +4 -0
- package/dist/profile/action/create-profile-action.dto.d.ts +4 -3
- package/dist/profile/action/create-profile-action.dto.js +16 -8
- package/dist/profile/create-profile.dto.d.ts +0 -9
- package/dist/profile/create-profile.dto.js +0 -63
- package/dist/profile/profile-crm/create-profile-crm.dto.d.ts +3 -0
- package/dist/profile/profile-crm/create-profile-crm.dto.js +22 -0
- package/dist/profile/update-profile-commission.dto.d.ts +11 -0
- package/dist/profile/update-profile-commission.dto.js +71 -0
- package/dist/questroom/create-questroom.dto.d.ts +1 -0
- package/dist/questroom/create-questroom.dto.js +6 -0
- package/dist/questroom/questroom-admin.ro.d.ts +17 -0
- package/dist/questroom/questroom-admin.ro.js +61 -0
- package/dist/questroom/questroom-light.ro.d.ts +1 -0
- package/dist/questroom/questroom-light.ro.js +4 -0
- package/dist/slot/slot.ro.d.ts +1 -0
- package/dist/slot-rule/create-rule.dto.d.ts +2 -0
- package/dist/slot-rule/create-rule.dto.js +30 -0
- package/dist/slot-rule/defailt-rule.d.ts +2 -0
- package/dist/slot-rule/defailt-rule.js +2 -0
- package/dist/slot-rule/rule.ro.d.ts +2 -0
- package/dist/slot-rule/rule.ro.js +8 -0
- package/dist/subway-station/subway-station.ro.d.ts +43 -0
- package/dist/subway-station/subway-station.ro.js +2 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/user/task/user-task.dto.d.ts +2 -2
- package/dist/user/task/user-task.ro.d.ts +1 -0
- package/dist/user/task/user-task.ro.js +4 -0
- package/package.json +2 -2
|
@@ -10,8 +10,10 @@ exports.defaultRule = {
|
|
|
10
10
|
cancelationRule: questroom_cancelation_type_enum_1.QuestroomCancelationTypeEnum.MIN_PRICE,
|
|
11
11
|
minHoursForFreeCanceling: 8,
|
|
12
12
|
minHoursForBooking: 48,
|
|
13
|
+
minMinutesForBooking: 48 * 60,
|
|
13
14
|
minHoursForFullFine: 0,
|
|
14
15
|
blockingHours: 2,
|
|
16
|
+
blockingMinutes: 2 * 60,
|
|
15
17
|
openSlotWhenUserInCalendar: true,
|
|
16
18
|
clientCanCancel: true,
|
|
17
19
|
prepayForTourists: false,
|
|
@@ -12,7 +12,9 @@ export declare class RuleRO {
|
|
|
12
12
|
cancelationAmount: number;
|
|
13
13
|
minHoursForFreeCanceling: number;
|
|
14
14
|
minHoursForBooking: number;
|
|
15
|
+
minMinutesForBooking: number;
|
|
15
16
|
blockingHours: number;
|
|
17
|
+
blockingMinutes: number;
|
|
16
18
|
openSlotWhenUserInCalendar: boolean;
|
|
17
19
|
clientCanCancel: boolean;
|
|
18
20
|
prepayForTourists: boolean;
|
|
@@ -60,10 +60,18 @@ __decorate([
|
|
|
60
60
|
(0, class_transformer_1.Expose)(),
|
|
61
61
|
__metadata("design:type", Number)
|
|
62
62
|
], RuleRO.prototype, "minHoursForBooking", void 0);
|
|
63
|
+
__decorate([
|
|
64
|
+
(0, class_transformer_1.Expose)(),
|
|
65
|
+
__metadata("design:type", Number)
|
|
66
|
+
], RuleRO.prototype, "minMinutesForBooking", void 0);
|
|
63
67
|
__decorate([
|
|
64
68
|
(0, class_transformer_1.Expose)(),
|
|
65
69
|
__metadata("design:type", Number)
|
|
66
70
|
], RuleRO.prototype, "blockingHours", void 0);
|
|
71
|
+
__decorate([
|
|
72
|
+
(0, class_transformer_1.Expose)(),
|
|
73
|
+
__metadata("design:type", Number)
|
|
74
|
+
], RuleRO.prototype, "blockingMinutes", void 0);
|
|
67
75
|
__decorate([
|
|
68
76
|
(0, class_transformer_1.Expose)(),
|
|
69
77
|
__metadata("design:type", Boolean)
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { CountriesEnum } from '../shared/enum/countries.enum';
|
|
2
|
+
export type SubwayLineRO = {
|
|
3
|
+
color: string | null;
|
|
4
|
+
ref: string | null;
|
|
5
|
+
};
|
|
6
|
+
export type SubwayStationRO = {
|
|
7
|
+
id: number;
|
|
8
|
+
title: string;
|
|
9
|
+
/**
|
|
10
|
+
* Все линии метро, к которым принадлежит станция. Пересадочные
|
|
11
|
+
* содержат >1 элемента. Первая в массиве — primary (для иконки
|
|
12
|
+
* на агрегаторе).
|
|
13
|
+
*/
|
|
14
|
+
lines: SubwayLineRO[];
|
|
15
|
+
coordinates: [number, number];
|
|
16
|
+
cityId: number;
|
|
17
|
+
cityTitle: string;
|
|
18
|
+
country: CountriesEnum;
|
|
19
|
+
externalId: string | null;
|
|
20
|
+
createdAt: string;
|
|
21
|
+
updatedAt: string;
|
|
22
|
+
};
|
|
23
|
+
export type SubwayStationCityRO = {
|
|
24
|
+
cityId: number;
|
|
25
|
+
cityTitle: string;
|
|
26
|
+
country: CountriesEnum;
|
|
27
|
+
count: number;
|
|
28
|
+
};
|
|
29
|
+
export type SyncSubwayStationsResponseRO = {
|
|
30
|
+
subwayImport: {
|
|
31
|
+
cities: number;
|
|
32
|
+
totalFetched: number;
|
|
33
|
+
totalInserted: number;
|
|
34
|
+
totalUpdated: number;
|
|
35
|
+
};
|
|
36
|
+
subway: {
|
|
37
|
+
cityIdsWithSubway: number;
|
|
38
|
+
candidates: number;
|
|
39
|
+
updated: number;
|
|
40
|
+
notFound: number;
|
|
41
|
+
errors: number;
|
|
42
|
+
};
|
|
43
|
+
};
|