@tmlmobilidade/interfaces 20260615.1002.3 → 20260615.1437.21
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/interfaces/dates/events.d.ts +2 -2
- package/dist/interfaces/offer/fares.d.ts +2 -2
- package/dist/interfaces/offer/patterns.d.ts +7 -7
- package/dist/interfaces/offer/routes.d.ts +1 -1
- package/dist/interfaces/rides/rides.d.ts +18 -18
- package/dist/interfaces/simplified-apex/simplified-apex-inspection-decisions.d.ts +1 -1
- package/dist/interfaces/simplified-apex/simplified-apex-inspections.d.ts +1 -1
- package/dist/interfaces/simplified-apex/simplified-apex-locations.d.ts +1 -1
- package/dist/interfaces/simplified-apex/simplified-apex-on-board-refunds.d.ts +1 -1
- package/dist/interfaces/simplified-apex/simplified-apex-on-board-sales.d.ts +1 -1
- package/dist/interfaces/simplified-apex/simplified-apex-validations.d.ts +1 -1
- package/dist/interfaces/stops/stops.d.ts +4 -4
- package/package.json +1 -1
|
@@ -52,7 +52,7 @@ declare class EventsClass extends MongoCollectionClass<Event, CreateEventDto, Up
|
|
|
52
52
|
};
|
|
53
53
|
dates: import("@tmlmobilidade/types").OperationalDate[];
|
|
54
54
|
kind: "event_replacement";
|
|
55
|
-
weekdays: (1 | 2 | 4 | 3 |
|
|
55
|
+
weekdays: (1 | 2 | 4 | 3 | 5 | 7 | 6)[];
|
|
56
56
|
year_period_ids: string[];
|
|
57
57
|
lines_mode: "exclude" | "include" | "all";
|
|
58
58
|
_id?: string | undefined;
|
|
@@ -65,8 +65,8 @@ declare class EventsClass extends MongoCollectionClass<Event, CreateEventDto, Up
|
|
|
65
65
|
associated_patterns: {
|
|
66
66
|
_id: string;
|
|
67
67
|
code: string;
|
|
68
|
-
line_id: string;
|
|
69
68
|
headsign: string;
|
|
69
|
+
line_id: string;
|
|
70
70
|
route_id: string;
|
|
71
71
|
}[];
|
|
72
72
|
updated_by?: string | undefined;
|
|
@@ -26,10 +26,10 @@ declare class FaresClass extends MongoCollectionClass<Fare, CreateFareDto, Updat
|
|
|
26
26
|
};
|
|
27
27
|
code: string;
|
|
28
28
|
name: string;
|
|
29
|
-
price: number;
|
|
30
|
-
payment_method: "0" | "1";
|
|
31
29
|
agency_ids: string[];
|
|
32
30
|
currency_type: "EUR";
|
|
31
|
+
payment_method: "0" | "1";
|
|
32
|
+
price: number;
|
|
33
33
|
transfers: "0" | "1" | "2" | "unlimited";
|
|
34
34
|
updated_by?: string | undefined;
|
|
35
35
|
}>[]>;
|
|
@@ -25,7 +25,6 @@ declare class PatternsClass extends MongoCollectionClass<Pattern, CreatePatternD
|
|
|
25
25
|
__brand: "UnixTimestamp";
|
|
26
26
|
};
|
|
27
27
|
code: string;
|
|
28
|
-
line_id: string;
|
|
29
28
|
rules: ({
|
|
30
29
|
_id: string;
|
|
31
30
|
kind: "manual";
|
|
@@ -34,8 +33,8 @@ declare class PatternsClass extends MongoCollectionClass<Pattern, CreatePatternD
|
|
|
34
33
|
year_period_ids: string[];
|
|
35
34
|
name?: string | undefined;
|
|
36
35
|
event_id?: string | undefined;
|
|
37
|
-
months?: (1 | 2 | 12 | 11 | 10 | 4 | 3 |
|
|
38
|
-
weekdays?: (1 | 2 | 4 | 3 |
|
|
36
|
+
months?: (1 | 2 | 12 | 11 | 10 | 4 | 3 | 8 | 5 | 7 | 6 | 9)[] | undefined;
|
|
37
|
+
weekdays?: (1 | 2 | 4 | 3 | 5 | 7 | 6)[] | undefined;
|
|
39
38
|
} | {
|
|
40
39
|
event: {
|
|
41
40
|
title: string;
|
|
@@ -59,7 +58,7 @@ declare class PatternsClass extends MongoCollectionClass<Pattern, CreatePatternD
|
|
|
59
58
|
};
|
|
60
59
|
dates: import("@tmlmobilidade/types").OperationalDate[];
|
|
61
60
|
kind: "event_replacement";
|
|
62
|
-
weekdays: (1 | 2 | 4 | 3 |
|
|
61
|
+
weekdays: (1 | 2 | 4 | 3 | 5 | 7 | 6)[];
|
|
63
62
|
year_period_ids: string[];
|
|
64
63
|
lines_mode: "exclude" | "include" | "all";
|
|
65
64
|
_id?: string | undefined;
|
|
@@ -70,6 +69,7 @@ declare class PatternsClass extends MongoCollectionClass<Pattern, CreatePatternD
|
|
|
70
69
|
same_weekday?: boolean | undefined;
|
|
71
70
|
})[];
|
|
72
71
|
headsign: string;
|
|
72
|
+
line_id: string;
|
|
73
73
|
route_id: string;
|
|
74
74
|
comments: ({
|
|
75
75
|
message: string;
|
|
@@ -144,8 +144,8 @@ declare class PatternsClass extends MongoCollectionClass<Pattern, CreatePatternD
|
|
|
144
144
|
associated_patterns: {
|
|
145
145
|
_id: string;
|
|
146
146
|
code: string;
|
|
147
|
-
line_id: string;
|
|
148
147
|
headsign: string;
|
|
148
|
+
line_id: string;
|
|
149
149
|
route_id: string;
|
|
150
150
|
}[];
|
|
151
151
|
comments: ({
|
|
@@ -196,9 +196,9 @@ declare class PatternsClass extends MongoCollectionClass<Pattern, CreatePatternD
|
|
|
196
196
|
})[];
|
|
197
197
|
flags: {
|
|
198
198
|
short_name: string;
|
|
199
|
-
stop_id: string;
|
|
200
199
|
agency_ids: string[];
|
|
201
200
|
is_harmonized: boolean;
|
|
201
|
+
stop_id: string;
|
|
202
202
|
}[];
|
|
203
203
|
jurisdiction: "unknown" | "ip" | "municipality" | "other";
|
|
204
204
|
legacy_id: string | null;
|
|
@@ -272,7 +272,7 @@ declare class PatternsClass extends MongoCollectionClass<Pattern, CreatePatternD
|
|
|
272
272
|
dwell_time: number;
|
|
273
273
|
}[];
|
|
274
274
|
kind: "override";
|
|
275
|
-
weekdays: (1 | 2 | 4 | 3 |
|
|
275
|
+
weekdays: (1 | 2 | 4 | 3 | 5 | 7 | 6)[];
|
|
276
276
|
year_period_ids: string[];
|
|
277
277
|
_id?: string | undefined;
|
|
278
278
|
name?: string | undefined;
|
|
@@ -24,14 +24,14 @@ declare class RidesClass extends MongoCollectionClass<Ride, CreateRideDto, Updat
|
|
|
24
24
|
__brand: "UnixTimestamp";
|
|
25
25
|
};
|
|
26
26
|
agency_id: string;
|
|
27
|
-
line_id: number;
|
|
28
|
-
pattern_id: string;
|
|
29
|
-
trip_id: string;
|
|
30
27
|
seen_last_at: import("@tmlmobilidade/types").UnixTimestamp | null;
|
|
31
28
|
headsign: string;
|
|
29
|
+
line_id: number;
|
|
32
30
|
route_id: string;
|
|
33
31
|
driver_ids: string[];
|
|
32
|
+
pattern_id: string;
|
|
34
33
|
plan_id: string;
|
|
34
|
+
trip_id: string;
|
|
35
35
|
vehicle_ids: number[];
|
|
36
36
|
operational_date: string & {
|
|
37
37
|
__brand: "OperationalDate";
|
|
@@ -174,14 +174,14 @@ declare class RidesClass extends MongoCollectionClass<Ride, CreateRideDto, Updat
|
|
|
174
174
|
__brand: "UnixTimestamp";
|
|
175
175
|
};
|
|
176
176
|
agency_id: string;
|
|
177
|
-
line_id: number;
|
|
178
|
-
pattern_id: string;
|
|
179
|
-
trip_id: string;
|
|
180
177
|
seen_last_at: import("@tmlmobilidade/types").UnixTimestamp | null;
|
|
181
178
|
headsign: string;
|
|
179
|
+
line_id: number;
|
|
182
180
|
route_id: string;
|
|
183
181
|
driver_ids: string[];
|
|
182
|
+
pattern_id: string;
|
|
184
183
|
plan_id: string;
|
|
184
|
+
trip_id: string;
|
|
185
185
|
vehicle_ids: number[];
|
|
186
186
|
operational_date: string & {
|
|
187
187
|
__brand: "OperationalDate";
|
|
@@ -324,14 +324,14 @@ declare class RidesClass extends MongoCollectionClass<Ride, CreateRideDto, Updat
|
|
|
324
324
|
__brand: "UnixTimestamp";
|
|
325
325
|
};
|
|
326
326
|
agency_id: string;
|
|
327
|
-
line_id: number;
|
|
328
|
-
pattern_id: string;
|
|
329
|
-
trip_id: string;
|
|
330
327
|
seen_last_at: import("@tmlmobilidade/types").UnixTimestamp | null;
|
|
331
328
|
headsign: string;
|
|
329
|
+
line_id: number;
|
|
332
330
|
route_id: string;
|
|
333
331
|
driver_ids: string[];
|
|
332
|
+
pattern_id: string;
|
|
334
333
|
plan_id: string;
|
|
334
|
+
trip_id: string;
|
|
335
335
|
vehicle_ids: number[];
|
|
336
336
|
operational_date: string & {
|
|
337
337
|
__brand: "OperationalDate";
|
|
@@ -474,14 +474,14 @@ declare class RidesClass extends MongoCollectionClass<Ride, CreateRideDto, Updat
|
|
|
474
474
|
__brand: "UnixTimestamp";
|
|
475
475
|
};
|
|
476
476
|
agency_id: string;
|
|
477
|
-
line_id: number;
|
|
478
|
-
pattern_id: string;
|
|
479
|
-
trip_id: string;
|
|
480
477
|
seen_last_at: import("@tmlmobilidade/types").UnixTimestamp | null;
|
|
481
478
|
headsign: string;
|
|
479
|
+
line_id: number;
|
|
482
480
|
route_id: string;
|
|
483
481
|
driver_ids: string[];
|
|
482
|
+
pattern_id: string;
|
|
484
483
|
plan_id: string;
|
|
484
|
+
trip_id: string;
|
|
485
485
|
vehicle_ids: number[];
|
|
486
486
|
operational_date: string & {
|
|
487
487
|
__brand: "OperationalDate";
|
|
@@ -624,14 +624,14 @@ declare class RidesClass extends MongoCollectionClass<Ride, CreateRideDto, Updat
|
|
|
624
624
|
__brand: "UnixTimestamp";
|
|
625
625
|
};
|
|
626
626
|
agency_id: string;
|
|
627
|
-
line_id: number;
|
|
628
|
-
pattern_id: string;
|
|
629
|
-
trip_id: string;
|
|
630
627
|
seen_last_at: import("@tmlmobilidade/types").UnixTimestamp | null;
|
|
631
628
|
headsign: string;
|
|
629
|
+
line_id: number;
|
|
632
630
|
route_id: string;
|
|
633
631
|
driver_ids: string[];
|
|
632
|
+
pattern_id: string;
|
|
634
633
|
plan_id: string;
|
|
634
|
+
trip_id: string;
|
|
635
635
|
vehicle_ids: number[];
|
|
636
636
|
operational_date: string & {
|
|
637
637
|
__brand: "OperationalDate";
|
|
@@ -774,14 +774,14 @@ declare class RidesClass extends MongoCollectionClass<Ride, CreateRideDto, Updat
|
|
|
774
774
|
__brand: "UnixTimestamp";
|
|
775
775
|
};
|
|
776
776
|
agency_id: string;
|
|
777
|
-
line_id: number;
|
|
778
|
-
pattern_id: string;
|
|
779
|
-
trip_id: string;
|
|
780
777
|
seen_last_at: import("@tmlmobilidade/types").UnixTimestamp | null;
|
|
781
778
|
headsign: string;
|
|
779
|
+
line_id: number;
|
|
782
780
|
route_id: string;
|
|
783
781
|
driver_ids: string[];
|
|
782
|
+
pattern_id: string;
|
|
784
783
|
plan_id: string;
|
|
784
|
+
trip_id: string;
|
|
785
785
|
vehicle_ids: number[];
|
|
786
786
|
operational_date: string & {
|
|
787
787
|
__brand: "OperationalDate";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MongoCollectionClass } from '../../common/mongo-collection.js';
|
|
2
|
-
import { type SimplifiedApexInspectionDecision } from '@tmlmobilidade/types';
|
|
2
|
+
import { type SimplifiedApexInspectionDecision } from '@tmlmobilidade/go-types-apex';
|
|
3
3
|
import { IndexDescription } from 'mongodb';
|
|
4
4
|
declare class SimplifiedApexInspectionDecisionsClass extends MongoCollectionClass<SimplifiedApexInspectionDecision, SimplifiedApexInspectionDecision, SimplifiedApexInspectionDecision> {
|
|
5
5
|
private static _instance;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MongoCollectionClass } from '../../common/mongo-collection.js';
|
|
2
|
-
import { type SimplifiedApexInspection } from '@tmlmobilidade/types';
|
|
2
|
+
import { type SimplifiedApexInspection } from '@tmlmobilidade/go-types-apex';
|
|
3
3
|
import { IndexDescription } from 'mongodb';
|
|
4
4
|
declare class SimplifiedApexInspectionsClass extends MongoCollectionClass<SimplifiedApexInspection, SimplifiedApexInspection, SimplifiedApexInspection> {
|
|
5
5
|
private static _instance;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MongoCollectionClass } from '../../common/mongo-collection.js';
|
|
2
|
-
import { type SimplifiedApexLocation, type UpdateSimplifiedApexLocationDto } from '@tmlmobilidade/types';
|
|
2
|
+
import { type SimplifiedApexLocation, type UpdateSimplifiedApexLocationDto } from '@tmlmobilidade/go-types-apex';
|
|
3
3
|
import { IndexDescription } from 'mongodb';
|
|
4
4
|
declare class SimplifiedApexLocationsClass extends MongoCollectionClass<SimplifiedApexLocation, SimplifiedApexLocation, UpdateSimplifiedApexLocationDto> {
|
|
5
5
|
private static _instance;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MongoCollectionClass } from '../../common/mongo-collection.js';
|
|
2
|
-
import { type SimplifiedApexOnBoardRefund, type UpdateSimplifiedApexOnBoardRefundDto } from '@tmlmobilidade/types';
|
|
2
|
+
import { type SimplifiedApexOnBoardRefund, type UpdateSimplifiedApexOnBoardRefundDto } from '@tmlmobilidade/go-types-apex';
|
|
3
3
|
import { IndexDescription } from 'mongodb';
|
|
4
4
|
declare class SimplifiedApexOnBoardRefundsClass extends MongoCollectionClass<SimplifiedApexOnBoardRefund, SimplifiedApexOnBoardRefund, UpdateSimplifiedApexOnBoardRefundDto> {
|
|
5
5
|
private static _instance;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MongoCollectionClass } from '../../common/mongo-collection.js';
|
|
2
|
-
import { type SimplifiedApexOnBoardSale, type UpdateSimplifiedApexOnBoardSaleDto } from '@tmlmobilidade/types';
|
|
2
|
+
import { type SimplifiedApexOnBoardSale, type UpdateSimplifiedApexOnBoardSaleDto } from '@tmlmobilidade/go-types-apex';
|
|
3
3
|
import { IndexDescription } from 'mongodb';
|
|
4
4
|
declare class SimplifiedApexOnBoardSalesClass extends MongoCollectionClass<SimplifiedApexOnBoardSale, SimplifiedApexOnBoardSale, UpdateSimplifiedApexOnBoardSaleDto> {
|
|
5
5
|
private static _instance;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MongoCollectionClass } from '../../common/mongo-collection.js';
|
|
2
|
-
import { type SimplifiedApexValidation, type UpdateSimplifiedApexValidationDto } from '@tmlmobilidade/types';
|
|
2
|
+
import { type SimplifiedApexValidation, type UpdateSimplifiedApexValidationDto } from '@tmlmobilidade/go-types-apex';
|
|
3
3
|
import { IndexDescription } from 'mongodb';
|
|
4
4
|
declare class SimplifiedApexValidationsClass extends MongoCollectionClass<SimplifiedApexValidation, SimplifiedApexValidation, UpdateSimplifiedApexValidationDto> {
|
|
5
5
|
private static _instance;
|
|
@@ -52,8 +52,8 @@ declare class StopsClass extends MongoCollectionClass<Stop, CreateStopDto, Updat
|
|
|
52
52
|
associated_patterns: {
|
|
53
53
|
_id: string;
|
|
54
54
|
code: string;
|
|
55
|
-
line_id: string;
|
|
56
55
|
headsign: string;
|
|
56
|
+
line_id: string;
|
|
57
57
|
route_id: string;
|
|
58
58
|
}[];
|
|
59
59
|
comments: ({
|
|
@@ -104,9 +104,9 @@ declare class StopsClass extends MongoCollectionClass<Stop, CreateStopDto, Updat
|
|
|
104
104
|
})[];
|
|
105
105
|
flags: {
|
|
106
106
|
short_name: string;
|
|
107
|
-
stop_id: string;
|
|
108
107
|
agency_ids: string[];
|
|
109
108
|
is_harmonized: boolean;
|
|
109
|
+
stop_id: string;
|
|
110
110
|
}[];
|
|
111
111
|
jurisdiction: "unknown" | "ip" | "municipality" | "other";
|
|
112
112
|
legacy_id: string | null;
|
|
@@ -171,8 +171,8 @@ declare class StopsClass extends MongoCollectionClass<Stop, CreateStopDto, Updat
|
|
|
171
171
|
associated_patterns: {
|
|
172
172
|
_id: string;
|
|
173
173
|
code: string;
|
|
174
|
-
line_id: string;
|
|
175
174
|
headsign: string;
|
|
175
|
+
line_id: string;
|
|
176
176
|
route_id: string;
|
|
177
177
|
}[];
|
|
178
178
|
comments: ({
|
|
@@ -223,9 +223,9 @@ declare class StopsClass extends MongoCollectionClass<Stop, CreateStopDto, Updat
|
|
|
223
223
|
})[];
|
|
224
224
|
flags: {
|
|
225
225
|
short_name: string;
|
|
226
|
-
stop_id: string;
|
|
227
226
|
agency_ids: string[];
|
|
228
227
|
is_harmonized: boolean;
|
|
228
|
+
stop_id: string;
|
|
229
229
|
}[];
|
|
230
230
|
jurisdiction: "unknown" | "ip" | "municipality" | "other";
|
|
231
231
|
legacy_id: string | null;
|