@tmlmobilidade/types 20260615.1034.33 → 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/dates/event.d.ts +18 -18
- package/dist/file-exports/file-exports.d.ts +3 -3
- package/dist/file-exports/ride-export.d.ts +6 -6
- package/dist/file-exports/sams-analysis-export.d.ts +10 -10
- package/dist/file-exports/stop-export.d.ts +8 -8
- package/dist/gtfs-new/stop-times.d.ts +2 -2
- package/dist/gtfs-new/trips.d.ts +3 -3
- package/dist/gtfs-rt/alert.d.ts +10 -10
- package/dist/gtfs-rt/entity-selector.d.ts +6 -6
- package/dist/gtfs-rt/feed-entity.d.ts +20 -20
- package/dist/gtfs-rt/feed-message.d.ts +26 -26
- package/dist/gtfs-rt/trip-descriptor.d.ts +2 -2
- package/dist/gtfs-rt/vehicle-position.d.ts +4 -4
- package/dist/gtfs-tml/fares.d.ts +4 -4
- package/dist/gtfs-tml/stop-times.d.ts +2 -2
- package/dist/gtfs-tml/trips.d.ts +3 -3
- package/dist/hub/api/network/pattern.d.ts +2 -2
- package/dist/hub/api/network/route.d.ts +2 -2
- package/dist/hub/api/network/stop.d.ts +2 -2
- package/dist/hub/api/realtime/vehicle-position.d.ts +7 -7
- package/dist/index.d.ts +0 -1
- package/dist/index.js +0 -1
- package/dist/metrics/demand/demand_by_category.d.ts +36 -36
- package/dist/metrics/index.d.ts +36 -36
- package/dist/notification.d.ts +10 -10
- package/dist/offer/fare.d.ts +16 -16
- package/dist/offer/parameters.d.ts +8 -8
- package/dist/offer/pattern.d.ts +108 -108
- package/dist/offer/route.d.ts +6 -6
- package/dist/offer/rules.d.ts +42 -42
- package/dist/operation/hashed-lines/hashed-line.d.ts +2 -2
- package/dist/operation/hashed-patterns/hashed-pattern.d.ts +2 -2
- package/dist/operation/hashed-trips/hashed-trip.d.ts +2 -2
- package/dist/operation/lines/operational-line.d.ts +4 -4
- package/dist/operation/rides/ride-normalized.d.ts +6 -6
- package/dist/operation/rides/ride.d.ts +24 -24
- package/dist/operation/stops/operational-stop.d.ts +5 -5
- package/dist/sams/sam-analysis.d.ts +10 -10
- package/dist/sams/sam-analysis.js +1 -1
- package/dist/sams/sam.d.ts +60 -60
- package/dist/stops/flag.d.ts +1 -1
- package/dist/stops/stop.d.ts +12 -12
- package/dist/vehicle-events/raw/ccfl/v1.d.ts +2 -2
- package/dist/vehicle-events/raw/cmet/v1-core.d.ts +2 -2
- package/dist/vehicle-events/raw/cmet/v1-log.d.ts +2 -2
- package/dist/vehicle-events/raw/cp/v1.d.ts +2 -2
- package/dist/vehicle-events/raw/crtm-aisa/v1.d.ts +16 -16
- package/dist/vehicle-events/raw/fertagus/v1.d.ts +16 -16
- package/dist/vehicle-events/raw/mobi/v1.d.ts +16 -16
- package/dist/vehicle-events/raw/raw-vehicle-event-base.d.ts +2 -2
- package/dist/vehicle-events/raw/raw-vehicle-event.d.ts +50 -50
- package/dist/vehicle-events/raw/tcb/v1.d.ts +16 -16
- package/dist/vehicle-events/raw/ttsl/v1.d.ts +2 -2
- package/dist/vehicle-events/simplified/simplified-vehicle-event.d.ts +7 -7
- package/package.json +2 -1
- package/dist/apex/index.d.ts +0 -2
- package/dist/apex/index.js +0 -2
- package/dist/apex/raw/banking-taps/banking-tap-v40.d.ts +0 -669
- package/dist/apex/raw/banking-taps/banking-tap-v40.js +0 -65
- package/dist/apex/raw/banking-taps/index.d.ts +0 -1
- package/dist/apex/raw/banking-taps/index.js +0 -1
- package/dist/apex/raw/index.d.ts +0 -7
- package/dist/apex/raw/index.js +0 -7
- package/dist/apex/raw/inspections/index.d.ts +0 -2
- package/dist/apex/raw/inspections/index.js +0 -2
- package/dist/apex/raw/inspections/inspection-decision-v20.d.ts +0 -481
- package/dist/apex/raw/inspections/inspection-decision-v20.js +0 -49
- package/dist/apex/raw/inspections/inspection-v20.d.ts +0 -961
- package/dist/apex/raw/inspections/inspection-v20.js +0 -89
- package/dist/apex/raw/locations/index.d.ts +0 -1
- package/dist/apex/raw/locations/index.js +0 -1
- package/dist/apex/raw/locations/location-v30.d.ts +0 -645
- package/dist/apex/raw/locations/location-v30.js +0 -63
- package/dist/apex/raw/raw-apex-transaction-base.d.ts +0 -30
- package/dist/apex/raw/raw-apex-transaction-base.js +0 -13
- package/dist/apex/raw/raw-apex-transaction.d.ts +0 -3662
- package/dist/apex/raw/raw-apex-transaction.js +0 -21
- package/dist/apex/raw/sales/index.d.ts +0 -2
- package/dist/apex/raw/sales/index.js +0 -2
- package/dist/apex/raw/sales/refund-v30.d.ts +0 -769
- package/dist/apex/raw/sales/refund-v30.js +0 -74
- package/dist/apex/raw/sales/sale-v30.d.ts +0 -757
- package/dist/apex/raw/sales/sale-v30.js +0 -73
- package/dist/apex/raw/validations/index.d.ts +0 -2
- package/dist/apex/raw/validations/index.js +0 -2
- package/dist/apex/raw/validations/validation-v20.d.ts +0 -901
- package/dist/apex/raw/validations/validation-v20.js +0 -85
- package/dist/apex/raw/validations/validation-v30.d.ts +0 -901
- package/dist/apex/raw/validations/validation-v30.js +0 -85
- package/dist/apex/simplified/any-simplified-apex.d.ts +0 -8
- package/dist/apex/simplified/any-simplified-apex.js +0 -2
- package/dist/apex/simplified/apex-validation-status.d.ts +0 -145
- package/dist/apex/simplified/apex-validation-status.js +0 -76
- package/dist/apex/simplified/index.d.ts +0 -10
- package/dist/apex/simplified/index.js +0 -10
- package/dist/apex/simplified/simplified-apex-banking-taps.d.ts +0 -81
- package/dist/apex/simplified/simplified-apex-banking-taps.js +0 -27
- package/dist/apex/simplified/simplified-apex-inspection-decision.d.ts +0 -55
- package/dist/apex/simplified/simplified-apex-inspection-decision.js +0 -18
- package/dist/apex/simplified/simplified-apex-inspection.d.ts +0 -82
- package/dist/apex/simplified/simplified-apex-inspection.js +0 -27
- package/dist/apex/simplified/simplified-apex-location.d.ts +0 -112
- package/dist/apex/simplified/simplified-apex-location.js +0 -20
- package/dist/apex/simplified/simplified-apex-on-board-refund.d.ts +0 -172
- package/dist/apex/simplified/simplified-apex-on-board-refund.js +0 -30
- package/dist/apex/simplified/simplified-apex-on-board-sale.d.ts +0 -178
- package/dist/apex/simplified/simplified-apex-on-board-sale.js +0 -31
- package/dist/apex/simplified/simplified-apex-type.d.ts +0 -9
- package/dist/apex/simplified/simplified-apex-type.js +0 -5
- package/dist/apex/simplified/simplified-apex-validation.d.ts +0 -200
- package/dist/apex/simplified/simplified-apex-validation.js +0 -41
|
@@ -28,10 +28,10 @@ export declare const DemandByCategoryByAgencyByDaySchema: z.ZodObject<{
|
|
|
28
28
|
category: z.ZodEnum<["prepaid", "subscription", "on_board_sale"]>;
|
|
29
29
|
}, "strip", z.ZodTypeAny, {
|
|
30
30
|
agency_id: string;
|
|
31
|
-
category: "
|
|
31
|
+
category: "on_board_sale" | "prepaid" | "subscription";
|
|
32
32
|
}, {
|
|
33
33
|
agency_id: string;
|
|
34
|
-
category: "
|
|
34
|
+
category: "on_board_sale" | "prepaid" | "subscription";
|
|
35
35
|
}>;
|
|
36
36
|
}, "strip", z.ZodTypeAny, {
|
|
37
37
|
data: Record<string, {
|
|
@@ -43,7 +43,7 @@ export declare const DemandByCategoryByAgencyByDaySchema: z.ZodObject<{
|
|
|
43
43
|
}>;
|
|
44
44
|
properties: {
|
|
45
45
|
agency_id: string;
|
|
46
|
-
category: "
|
|
46
|
+
category: "on_board_sale" | "prepaid" | "subscription";
|
|
47
47
|
};
|
|
48
48
|
generated_at: Date;
|
|
49
49
|
metric: "demand_by_category_by_agency_by_day";
|
|
@@ -58,7 +58,7 @@ export declare const DemandByCategoryByAgencyByDaySchema: z.ZodObject<{
|
|
|
58
58
|
}>;
|
|
59
59
|
properties: {
|
|
60
60
|
agency_id: string;
|
|
61
|
-
category: "
|
|
61
|
+
category: "on_board_sale" | "prepaid" | "subscription";
|
|
62
62
|
};
|
|
63
63
|
generated_at: Date;
|
|
64
64
|
metric: "demand_by_category_by_agency_by_day";
|
|
@@ -81,10 +81,10 @@ export declare const DemandByCategoryByAgencyByMonthSchema: z.ZodObject<{
|
|
|
81
81
|
category: z.ZodEnum<["prepaid", "subscription", "on_board_sale"]>;
|
|
82
82
|
}, "strip", z.ZodTypeAny, {
|
|
83
83
|
agency_id: string;
|
|
84
|
-
category: "
|
|
84
|
+
category: "on_board_sale" | "prepaid" | "subscription";
|
|
85
85
|
}, {
|
|
86
86
|
agency_id: string;
|
|
87
|
-
category: "
|
|
87
|
+
category: "on_board_sale" | "prepaid" | "subscription";
|
|
88
88
|
}>;
|
|
89
89
|
}, "strip", z.ZodTypeAny, {
|
|
90
90
|
data: Record<string, {
|
|
@@ -92,7 +92,7 @@ export declare const DemandByCategoryByAgencyByMonthSchema: z.ZodObject<{
|
|
|
92
92
|
}>;
|
|
93
93
|
properties: {
|
|
94
94
|
agency_id: string;
|
|
95
|
-
category: "
|
|
95
|
+
category: "on_board_sale" | "prepaid" | "subscription";
|
|
96
96
|
};
|
|
97
97
|
generated_at: Date;
|
|
98
98
|
metric: "demand_by_category_by_agency_by_month";
|
|
@@ -103,7 +103,7 @@ export declare const DemandByCategoryByAgencyByMonthSchema: z.ZodObject<{
|
|
|
103
103
|
}>;
|
|
104
104
|
properties: {
|
|
105
105
|
agency_id: string;
|
|
106
|
-
category: "
|
|
106
|
+
category: "on_board_sale" | "prepaid" | "subscription";
|
|
107
107
|
};
|
|
108
108
|
generated_at: Date;
|
|
109
109
|
metric: "demand_by_category_by_agency_by_month";
|
|
@@ -126,10 +126,10 @@ export declare const DemandByCategoryByAgencyByYearSchema: z.ZodObject<{
|
|
|
126
126
|
category: z.ZodEnum<["prepaid", "subscription", "on_board_sale"]>;
|
|
127
127
|
}, "strip", z.ZodTypeAny, {
|
|
128
128
|
agency_id: string;
|
|
129
|
-
category: "
|
|
129
|
+
category: "on_board_sale" | "prepaid" | "subscription";
|
|
130
130
|
}, {
|
|
131
131
|
agency_id: string;
|
|
132
|
-
category: "
|
|
132
|
+
category: "on_board_sale" | "prepaid" | "subscription";
|
|
133
133
|
}>;
|
|
134
134
|
}, "strip", z.ZodTypeAny, {
|
|
135
135
|
data: Record<string, {
|
|
@@ -137,7 +137,7 @@ export declare const DemandByCategoryByAgencyByYearSchema: z.ZodObject<{
|
|
|
137
137
|
}>;
|
|
138
138
|
properties: {
|
|
139
139
|
agency_id: string;
|
|
140
|
-
category: "
|
|
140
|
+
category: "on_board_sale" | "prepaid" | "subscription";
|
|
141
141
|
};
|
|
142
142
|
generated_at: Date;
|
|
143
143
|
metric: "demand_by_category_by_agency_by_year";
|
|
@@ -148,7 +148,7 @@ export declare const DemandByCategoryByAgencyByYearSchema: z.ZodObject<{
|
|
|
148
148
|
}>;
|
|
149
149
|
properties: {
|
|
150
150
|
agency_id: string;
|
|
151
|
-
category: "
|
|
151
|
+
category: "on_board_sale" | "prepaid" | "subscription";
|
|
152
152
|
};
|
|
153
153
|
generated_at: Date;
|
|
154
154
|
metric: "demand_by_category_by_agency_by_year";
|
|
@@ -183,10 +183,10 @@ export declare const DemandByCategoryByLineByDaySchema: z.ZodObject<{
|
|
|
183
183
|
line_id: z.ZodString;
|
|
184
184
|
}, "strip", z.ZodTypeAny, {
|
|
185
185
|
line_id: string;
|
|
186
|
-
category: "
|
|
186
|
+
category: "on_board_sale" | "prepaid" | "subscription";
|
|
187
187
|
}, {
|
|
188
188
|
line_id: string;
|
|
189
|
-
category: "
|
|
189
|
+
category: "on_board_sale" | "prepaid" | "subscription";
|
|
190
190
|
}>;
|
|
191
191
|
}, "strip", z.ZodTypeAny, {
|
|
192
192
|
data: Record<string, {
|
|
@@ -198,7 +198,7 @@ export declare const DemandByCategoryByLineByDaySchema: z.ZodObject<{
|
|
|
198
198
|
}>;
|
|
199
199
|
properties: {
|
|
200
200
|
line_id: string;
|
|
201
|
-
category: "
|
|
201
|
+
category: "on_board_sale" | "prepaid" | "subscription";
|
|
202
202
|
};
|
|
203
203
|
generated_at: Date;
|
|
204
204
|
metric: "demand_by_category_by_line_by_day";
|
|
@@ -213,7 +213,7 @@ export declare const DemandByCategoryByLineByDaySchema: z.ZodObject<{
|
|
|
213
213
|
}>;
|
|
214
214
|
properties: {
|
|
215
215
|
line_id: string;
|
|
216
|
-
category: "
|
|
216
|
+
category: "on_board_sale" | "prepaid" | "subscription";
|
|
217
217
|
};
|
|
218
218
|
generated_at: Date;
|
|
219
219
|
metric: "demand_by_category_by_line_by_day";
|
|
@@ -236,10 +236,10 @@ export declare const DemandByCategoryByLineByMonthSchema: z.ZodObject<{
|
|
|
236
236
|
line_id: z.ZodString;
|
|
237
237
|
}, "strip", z.ZodTypeAny, {
|
|
238
238
|
line_id: string;
|
|
239
|
-
category: "
|
|
239
|
+
category: "on_board_sale" | "prepaid" | "subscription";
|
|
240
240
|
}, {
|
|
241
241
|
line_id: string;
|
|
242
|
-
category: "
|
|
242
|
+
category: "on_board_sale" | "prepaid" | "subscription";
|
|
243
243
|
}>;
|
|
244
244
|
}, "strip", z.ZodTypeAny, {
|
|
245
245
|
data: Record<string, {
|
|
@@ -247,7 +247,7 @@ export declare const DemandByCategoryByLineByMonthSchema: z.ZodObject<{
|
|
|
247
247
|
}>;
|
|
248
248
|
properties: {
|
|
249
249
|
line_id: string;
|
|
250
|
-
category: "
|
|
250
|
+
category: "on_board_sale" | "prepaid" | "subscription";
|
|
251
251
|
};
|
|
252
252
|
generated_at: Date;
|
|
253
253
|
metric: "demand_by_category_by_line_by_month";
|
|
@@ -258,7 +258,7 @@ export declare const DemandByCategoryByLineByMonthSchema: z.ZodObject<{
|
|
|
258
258
|
}>;
|
|
259
259
|
properties: {
|
|
260
260
|
line_id: string;
|
|
261
|
-
category: "
|
|
261
|
+
category: "on_board_sale" | "prepaid" | "subscription";
|
|
262
262
|
};
|
|
263
263
|
generated_at: Date;
|
|
264
264
|
metric: "demand_by_category_by_line_by_month";
|
|
@@ -281,10 +281,10 @@ export declare const DemandByCategoryByLineByYearSchema: z.ZodObject<{
|
|
|
281
281
|
line_id: z.ZodString;
|
|
282
282
|
}, "strip", z.ZodTypeAny, {
|
|
283
283
|
line_id: string;
|
|
284
|
-
category: "
|
|
284
|
+
category: "on_board_sale" | "prepaid" | "subscription";
|
|
285
285
|
}, {
|
|
286
286
|
line_id: string;
|
|
287
|
-
category: "
|
|
287
|
+
category: "on_board_sale" | "prepaid" | "subscription";
|
|
288
288
|
}>;
|
|
289
289
|
}, "strip", z.ZodTypeAny, {
|
|
290
290
|
data: Record<string, {
|
|
@@ -292,7 +292,7 @@ export declare const DemandByCategoryByLineByYearSchema: z.ZodObject<{
|
|
|
292
292
|
}>;
|
|
293
293
|
properties: {
|
|
294
294
|
line_id: string;
|
|
295
|
-
category: "
|
|
295
|
+
category: "on_board_sale" | "prepaid" | "subscription";
|
|
296
296
|
};
|
|
297
297
|
generated_at: Date;
|
|
298
298
|
metric: "demand_by_category_by_line_by_year";
|
|
@@ -303,7 +303,7 @@ export declare const DemandByCategoryByLineByYearSchema: z.ZodObject<{
|
|
|
303
303
|
}>;
|
|
304
304
|
properties: {
|
|
305
305
|
line_id: string;
|
|
306
|
-
category: "
|
|
306
|
+
category: "on_board_sale" | "prepaid" | "subscription";
|
|
307
307
|
};
|
|
308
308
|
generated_at: Date;
|
|
309
309
|
metric: "demand_by_category_by_line_by_year";
|
|
@@ -338,10 +338,10 @@ export declare const DemandByCategoryByPatternByDaySchema: z.ZodObject<{
|
|
|
338
338
|
pattern_id: z.ZodString;
|
|
339
339
|
}, "strip", z.ZodTypeAny, {
|
|
340
340
|
pattern_id: string;
|
|
341
|
-
category: "
|
|
341
|
+
category: "on_board_sale" | "prepaid" | "subscription";
|
|
342
342
|
}, {
|
|
343
343
|
pattern_id: string;
|
|
344
|
-
category: "
|
|
344
|
+
category: "on_board_sale" | "prepaid" | "subscription";
|
|
345
345
|
}>;
|
|
346
346
|
}, "strip", z.ZodTypeAny, {
|
|
347
347
|
data: Record<string, {
|
|
@@ -353,7 +353,7 @@ export declare const DemandByCategoryByPatternByDaySchema: z.ZodObject<{
|
|
|
353
353
|
}>;
|
|
354
354
|
properties: {
|
|
355
355
|
pattern_id: string;
|
|
356
|
-
category: "
|
|
356
|
+
category: "on_board_sale" | "prepaid" | "subscription";
|
|
357
357
|
};
|
|
358
358
|
generated_at: Date;
|
|
359
359
|
metric: "demand_by_category_by_pattern_by_day";
|
|
@@ -368,7 +368,7 @@ export declare const DemandByCategoryByPatternByDaySchema: z.ZodObject<{
|
|
|
368
368
|
}>;
|
|
369
369
|
properties: {
|
|
370
370
|
pattern_id: string;
|
|
371
|
-
category: "
|
|
371
|
+
category: "on_board_sale" | "prepaid" | "subscription";
|
|
372
372
|
};
|
|
373
373
|
generated_at: Date;
|
|
374
374
|
metric: "demand_by_category_by_pattern_by_day";
|
|
@@ -391,10 +391,10 @@ export declare const DemandByCategoryByPatternByMonthSchema: z.ZodObject<{
|
|
|
391
391
|
pattern_id: z.ZodString;
|
|
392
392
|
}, "strip", z.ZodTypeAny, {
|
|
393
393
|
pattern_id: string;
|
|
394
|
-
category: "
|
|
394
|
+
category: "on_board_sale" | "prepaid" | "subscription";
|
|
395
395
|
}, {
|
|
396
396
|
pattern_id: string;
|
|
397
|
-
category: "
|
|
397
|
+
category: "on_board_sale" | "prepaid" | "subscription";
|
|
398
398
|
}>;
|
|
399
399
|
}, "strip", z.ZodTypeAny, {
|
|
400
400
|
data: Record<string, {
|
|
@@ -402,7 +402,7 @@ export declare const DemandByCategoryByPatternByMonthSchema: z.ZodObject<{
|
|
|
402
402
|
}>;
|
|
403
403
|
properties: {
|
|
404
404
|
pattern_id: string;
|
|
405
|
-
category: "
|
|
405
|
+
category: "on_board_sale" | "prepaid" | "subscription";
|
|
406
406
|
};
|
|
407
407
|
generated_at: Date;
|
|
408
408
|
metric: "demand_by_category_by_pattern_by_month";
|
|
@@ -413,7 +413,7 @@ export declare const DemandByCategoryByPatternByMonthSchema: z.ZodObject<{
|
|
|
413
413
|
}>;
|
|
414
414
|
properties: {
|
|
415
415
|
pattern_id: string;
|
|
416
|
-
category: "
|
|
416
|
+
category: "on_board_sale" | "prepaid" | "subscription";
|
|
417
417
|
};
|
|
418
418
|
generated_at: Date;
|
|
419
419
|
metric: "demand_by_category_by_pattern_by_month";
|
|
@@ -436,10 +436,10 @@ export declare const DemandByCategoryByPatternByYearSchema: z.ZodObject<{
|
|
|
436
436
|
pattern_id: z.ZodString;
|
|
437
437
|
}, "strip", z.ZodTypeAny, {
|
|
438
438
|
pattern_id: string;
|
|
439
|
-
category: "
|
|
439
|
+
category: "on_board_sale" | "prepaid" | "subscription";
|
|
440
440
|
}, {
|
|
441
441
|
pattern_id: string;
|
|
442
|
-
category: "
|
|
442
|
+
category: "on_board_sale" | "prepaid" | "subscription";
|
|
443
443
|
}>;
|
|
444
444
|
}, "strip", z.ZodTypeAny, {
|
|
445
445
|
data: Record<string, {
|
|
@@ -447,7 +447,7 @@ export declare const DemandByCategoryByPatternByYearSchema: z.ZodObject<{
|
|
|
447
447
|
}>;
|
|
448
448
|
properties: {
|
|
449
449
|
pattern_id: string;
|
|
450
|
-
category: "
|
|
450
|
+
category: "on_board_sale" | "prepaid" | "subscription";
|
|
451
451
|
};
|
|
452
452
|
generated_at: Date;
|
|
453
453
|
metric: "demand_by_category_by_pattern_by_year";
|
|
@@ -458,7 +458,7 @@ export declare const DemandByCategoryByPatternByYearSchema: z.ZodObject<{
|
|
|
458
458
|
}>;
|
|
459
459
|
properties: {
|
|
460
460
|
pattern_id: string;
|
|
461
|
-
category: "
|
|
461
|
+
category: "on_board_sale" | "prepaid" | "subscription";
|
|
462
462
|
};
|
|
463
463
|
generated_at: Date;
|
|
464
464
|
metric: "demand_by_category_by_pattern_by_year";
|
package/dist/metrics/index.d.ts
CHANGED
|
@@ -1145,10 +1145,10 @@ export declare const MetricSchema: z.ZodDiscriminatedUnion<"metric", [z.ZodObjec
|
|
|
1145
1145
|
category: z.ZodEnum<["prepaid", "subscription", "on_board_sale"]>;
|
|
1146
1146
|
}, "strip", z.ZodTypeAny, {
|
|
1147
1147
|
agency_id: string;
|
|
1148
|
-
category: "
|
|
1148
|
+
category: "on_board_sale" | "prepaid" | "subscription";
|
|
1149
1149
|
}, {
|
|
1150
1150
|
agency_id: string;
|
|
1151
|
-
category: "
|
|
1151
|
+
category: "on_board_sale" | "prepaid" | "subscription";
|
|
1152
1152
|
}>;
|
|
1153
1153
|
}, "strip", z.ZodTypeAny, {
|
|
1154
1154
|
data: Record<string, {
|
|
@@ -1160,7 +1160,7 @@ export declare const MetricSchema: z.ZodDiscriminatedUnion<"metric", [z.ZodObjec
|
|
|
1160
1160
|
}>;
|
|
1161
1161
|
properties: {
|
|
1162
1162
|
agency_id: string;
|
|
1163
|
-
category: "
|
|
1163
|
+
category: "on_board_sale" | "prepaid" | "subscription";
|
|
1164
1164
|
};
|
|
1165
1165
|
generated_at: Date;
|
|
1166
1166
|
metric: "demand_by_category_by_agency_by_day";
|
|
@@ -1175,7 +1175,7 @@ export declare const MetricSchema: z.ZodDiscriminatedUnion<"metric", [z.ZodObjec
|
|
|
1175
1175
|
}>;
|
|
1176
1176
|
properties: {
|
|
1177
1177
|
agency_id: string;
|
|
1178
|
-
category: "
|
|
1178
|
+
category: "on_board_sale" | "prepaid" | "subscription";
|
|
1179
1179
|
};
|
|
1180
1180
|
generated_at: Date;
|
|
1181
1181
|
metric: "demand_by_category_by_agency_by_day";
|
|
@@ -1197,10 +1197,10 @@ export declare const MetricSchema: z.ZodDiscriminatedUnion<"metric", [z.ZodObjec
|
|
|
1197
1197
|
category: z.ZodEnum<["prepaid", "subscription", "on_board_sale"]>;
|
|
1198
1198
|
}, "strip", z.ZodTypeAny, {
|
|
1199
1199
|
agency_id: string;
|
|
1200
|
-
category: "
|
|
1200
|
+
category: "on_board_sale" | "prepaid" | "subscription";
|
|
1201
1201
|
}, {
|
|
1202
1202
|
agency_id: string;
|
|
1203
|
-
category: "
|
|
1203
|
+
category: "on_board_sale" | "prepaid" | "subscription";
|
|
1204
1204
|
}>;
|
|
1205
1205
|
}, "strip", z.ZodTypeAny, {
|
|
1206
1206
|
data: Record<string, {
|
|
@@ -1208,7 +1208,7 @@ export declare const MetricSchema: z.ZodDiscriminatedUnion<"metric", [z.ZodObjec
|
|
|
1208
1208
|
}>;
|
|
1209
1209
|
properties: {
|
|
1210
1210
|
agency_id: string;
|
|
1211
|
-
category: "
|
|
1211
|
+
category: "on_board_sale" | "prepaid" | "subscription";
|
|
1212
1212
|
};
|
|
1213
1213
|
generated_at: Date;
|
|
1214
1214
|
metric: "demand_by_category_by_agency_by_month";
|
|
@@ -1219,7 +1219,7 @@ export declare const MetricSchema: z.ZodDiscriminatedUnion<"metric", [z.ZodObjec
|
|
|
1219
1219
|
}>;
|
|
1220
1220
|
properties: {
|
|
1221
1221
|
agency_id: string;
|
|
1222
|
-
category: "
|
|
1222
|
+
category: "on_board_sale" | "prepaid" | "subscription";
|
|
1223
1223
|
};
|
|
1224
1224
|
generated_at: Date;
|
|
1225
1225
|
metric: "demand_by_category_by_agency_by_month";
|
|
@@ -1241,10 +1241,10 @@ export declare const MetricSchema: z.ZodDiscriminatedUnion<"metric", [z.ZodObjec
|
|
|
1241
1241
|
category: z.ZodEnum<["prepaid", "subscription", "on_board_sale"]>;
|
|
1242
1242
|
}, "strip", z.ZodTypeAny, {
|
|
1243
1243
|
agency_id: string;
|
|
1244
|
-
category: "
|
|
1244
|
+
category: "on_board_sale" | "prepaid" | "subscription";
|
|
1245
1245
|
}, {
|
|
1246
1246
|
agency_id: string;
|
|
1247
|
-
category: "
|
|
1247
|
+
category: "on_board_sale" | "prepaid" | "subscription";
|
|
1248
1248
|
}>;
|
|
1249
1249
|
}, "strip", z.ZodTypeAny, {
|
|
1250
1250
|
data: Record<string, {
|
|
@@ -1252,7 +1252,7 @@ export declare const MetricSchema: z.ZodDiscriminatedUnion<"metric", [z.ZodObjec
|
|
|
1252
1252
|
}>;
|
|
1253
1253
|
properties: {
|
|
1254
1254
|
agency_id: string;
|
|
1255
|
-
category: "
|
|
1255
|
+
category: "on_board_sale" | "prepaid" | "subscription";
|
|
1256
1256
|
};
|
|
1257
1257
|
generated_at: Date;
|
|
1258
1258
|
metric: "demand_by_category_by_agency_by_year";
|
|
@@ -1263,7 +1263,7 @@ export declare const MetricSchema: z.ZodDiscriminatedUnion<"metric", [z.ZodObjec
|
|
|
1263
1263
|
}>;
|
|
1264
1264
|
properties: {
|
|
1265
1265
|
agency_id: string;
|
|
1266
|
-
category: "
|
|
1266
|
+
category: "on_board_sale" | "prepaid" | "subscription";
|
|
1267
1267
|
};
|
|
1268
1268
|
generated_at: Date;
|
|
1269
1269
|
metric: "demand_by_category_by_agency_by_year";
|
|
@@ -1297,10 +1297,10 @@ export declare const MetricSchema: z.ZodDiscriminatedUnion<"metric", [z.ZodObjec
|
|
|
1297
1297
|
line_id: z.ZodString;
|
|
1298
1298
|
}, "strip", z.ZodTypeAny, {
|
|
1299
1299
|
line_id: string;
|
|
1300
|
-
category: "
|
|
1300
|
+
category: "on_board_sale" | "prepaid" | "subscription";
|
|
1301
1301
|
}, {
|
|
1302
1302
|
line_id: string;
|
|
1303
|
-
category: "
|
|
1303
|
+
category: "on_board_sale" | "prepaid" | "subscription";
|
|
1304
1304
|
}>;
|
|
1305
1305
|
}, "strip", z.ZodTypeAny, {
|
|
1306
1306
|
data: Record<string, {
|
|
@@ -1312,7 +1312,7 @@ export declare const MetricSchema: z.ZodDiscriminatedUnion<"metric", [z.ZodObjec
|
|
|
1312
1312
|
}>;
|
|
1313
1313
|
properties: {
|
|
1314
1314
|
line_id: string;
|
|
1315
|
-
category: "
|
|
1315
|
+
category: "on_board_sale" | "prepaid" | "subscription";
|
|
1316
1316
|
};
|
|
1317
1317
|
generated_at: Date;
|
|
1318
1318
|
metric: "demand_by_category_by_line_by_day";
|
|
@@ -1327,7 +1327,7 @@ export declare const MetricSchema: z.ZodDiscriminatedUnion<"metric", [z.ZodObjec
|
|
|
1327
1327
|
}>;
|
|
1328
1328
|
properties: {
|
|
1329
1329
|
line_id: string;
|
|
1330
|
-
category: "
|
|
1330
|
+
category: "on_board_sale" | "prepaid" | "subscription";
|
|
1331
1331
|
};
|
|
1332
1332
|
generated_at: Date;
|
|
1333
1333
|
metric: "demand_by_category_by_line_by_day";
|
|
@@ -1349,10 +1349,10 @@ export declare const MetricSchema: z.ZodDiscriminatedUnion<"metric", [z.ZodObjec
|
|
|
1349
1349
|
line_id: z.ZodString;
|
|
1350
1350
|
}, "strip", z.ZodTypeAny, {
|
|
1351
1351
|
line_id: string;
|
|
1352
|
-
category: "
|
|
1352
|
+
category: "on_board_sale" | "prepaid" | "subscription";
|
|
1353
1353
|
}, {
|
|
1354
1354
|
line_id: string;
|
|
1355
|
-
category: "
|
|
1355
|
+
category: "on_board_sale" | "prepaid" | "subscription";
|
|
1356
1356
|
}>;
|
|
1357
1357
|
}, "strip", z.ZodTypeAny, {
|
|
1358
1358
|
data: Record<string, {
|
|
@@ -1360,7 +1360,7 @@ export declare const MetricSchema: z.ZodDiscriminatedUnion<"metric", [z.ZodObjec
|
|
|
1360
1360
|
}>;
|
|
1361
1361
|
properties: {
|
|
1362
1362
|
line_id: string;
|
|
1363
|
-
category: "
|
|
1363
|
+
category: "on_board_sale" | "prepaid" | "subscription";
|
|
1364
1364
|
};
|
|
1365
1365
|
generated_at: Date;
|
|
1366
1366
|
metric: "demand_by_category_by_line_by_month";
|
|
@@ -1371,7 +1371,7 @@ export declare const MetricSchema: z.ZodDiscriminatedUnion<"metric", [z.ZodObjec
|
|
|
1371
1371
|
}>;
|
|
1372
1372
|
properties: {
|
|
1373
1373
|
line_id: string;
|
|
1374
|
-
category: "
|
|
1374
|
+
category: "on_board_sale" | "prepaid" | "subscription";
|
|
1375
1375
|
};
|
|
1376
1376
|
generated_at: Date;
|
|
1377
1377
|
metric: "demand_by_category_by_line_by_month";
|
|
@@ -1393,10 +1393,10 @@ export declare const MetricSchema: z.ZodDiscriminatedUnion<"metric", [z.ZodObjec
|
|
|
1393
1393
|
line_id: z.ZodString;
|
|
1394
1394
|
}, "strip", z.ZodTypeAny, {
|
|
1395
1395
|
line_id: string;
|
|
1396
|
-
category: "
|
|
1396
|
+
category: "on_board_sale" | "prepaid" | "subscription";
|
|
1397
1397
|
}, {
|
|
1398
1398
|
line_id: string;
|
|
1399
|
-
category: "
|
|
1399
|
+
category: "on_board_sale" | "prepaid" | "subscription";
|
|
1400
1400
|
}>;
|
|
1401
1401
|
}, "strip", z.ZodTypeAny, {
|
|
1402
1402
|
data: Record<string, {
|
|
@@ -1404,7 +1404,7 @@ export declare const MetricSchema: z.ZodDiscriminatedUnion<"metric", [z.ZodObjec
|
|
|
1404
1404
|
}>;
|
|
1405
1405
|
properties: {
|
|
1406
1406
|
line_id: string;
|
|
1407
|
-
category: "
|
|
1407
|
+
category: "on_board_sale" | "prepaid" | "subscription";
|
|
1408
1408
|
};
|
|
1409
1409
|
generated_at: Date;
|
|
1410
1410
|
metric: "demand_by_category_by_line_by_year";
|
|
@@ -1415,7 +1415,7 @@ export declare const MetricSchema: z.ZodDiscriminatedUnion<"metric", [z.ZodObjec
|
|
|
1415
1415
|
}>;
|
|
1416
1416
|
properties: {
|
|
1417
1417
|
line_id: string;
|
|
1418
|
-
category: "
|
|
1418
|
+
category: "on_board_sale" | "prepaid" | "subscription";
|
|
1419
1419
|
};
|
|
1420
1420
|
generated_at: Date;
|
|
1421
1421
|
metric: "demand_by_category_by_line_by_year";
|
|
@@ -1449,10 +1449,10 @@ export declare const MetricSchema: z.ZodDiscriminatedUnion<"metric", [z.ZodObjec
|
|
|
1449
1449
|
pattern_id: z.ZodString;
|
|
1450
1450
|
}, "strip", z.ZodTypeAny, {
|
|
1451
1451
|
pattern_id: string;
|
|
1452
|
-
category: "
|
|
1452
|
+
category: "on_board_sale" | "prepaid" | "subscription";
|
|
1453
1453
|
}, {
|
|
1454
1454
|
pattern_id: string;
|
|
1455
|
-
category: "
|
|
1455
|
+
category: "on_board_sale" | "prepaid" | "subscription";
|
|
1456
1456
|
}>;
|
|
1457
1457
|
}, "strip", z.ZodTypeAny, {
|
|
1458
1458
|
data: Record<string, {
|
|
@@ -1464,7 +1464,7 @@ export declare const MetricSchema: z.ZodDiscriminatedUnion<"metric", [z.ZodObjec
|
|
|
1464
1464
|
}>;
|
|
1465
1465
|
properties: {
|
|
1466
1466
|
pattern_id: string;
|
|
1467
|
-
category: "
|
|
1467
|
+
category: "on_board_sale" | "prepaid" | "subscription";
|
|
1468
1468
|
};
|
|
1469
1469
|
generated_at: Date;
|
|
1470
1470
|
metric: "demand_by_category_by_pattern_by_day";
|
|
@@ -1479,7 +1479,7 @@ export declare const MetricSchema: z.ZodDiscriminatedUnion<"metric", [z.ZodObjec
|
|
|
1479
1479
|
}>;
|
|
1480
1480
|
properties: {
|
|
1481
1481
|
pattern_id: string;
|
|
1482
|
-
category: "
|
|
1482
|
+
category: "on_board_sale" | "prepaid" | "subscription";
|
|
1483
1483
|
};
|
|
1484
1484
|
generated_at: Date;
|
|
1485
1485
|
metric: "demand_by_category_by_pattern_by_day";
|
|
@@ -1501,10 +1501,10 @@ export declare const MetricSchema: z.ZodDiscriminatedUnion<"metric", [z.ZodObjec
|
|
|
1501
1501
|
pattern_id: z.ZodString;
|
|
1502
1502
|
}, "strip", z.ZodTypeAny, {
|
|
1503
1503
|
pattern_id: string;
|
|
1504
|
-
category: "
|
|
1504
|
+
category: "on_board_sale" | "prepaid" | "subscription";
|
|
1505
1505
|
}, {
|
|
1506
1506
|
pattern_id: string;
|
|
1507
|
-
category: "
|
|
1507
|
+
category: "on_board_sale" | "prepaid" | "subscription";
|
|
1508
1508
|
}>;
|
|
1509
1509
|
}, "strip", z.ZodTypeAny, {
|
|
1510
1510
|
data: Record<string, {
|
|
@@ -1512,7 +1512,7 @@ export declare const MetricSchema: z.ZodDiscriminatedUnion<"metric", [z.ZodObjec
|
|
|
1512
1512
|
}>;
|
|
1513
1513
|
properties: {
|
|
1514
1514
|
pattern_id: string;
|
|
1515
|
-
category: "
|
|
1515
|
+
category: "on_board_sale" | "prepaid" | "subscription";
|
|
1516
1516
|
};
|
|
1517
1517
|
generated_at: Date;
|
|
1518
1518
|
metric: "demand_by_category_by_pattern_by_month";
|
|
@@ -1523,7 +1523,7 @@ export declare const MetricSchema: z.ZodDiscriminatedUnion<"metric", [z.ZodObjec
|
|
|
1523
1523
|
}>;
|
|
1524
1524
|
properties: {
|
|
1525
1525
|
pattern_id: string;
|
|
1526
|
-
category: "
|
|
1526
|
+
category: "on_board_sale" | "prepaid" | "subscription";
|
|
1527
1527
|
};
|
|
1528
1528
|
generated_at: Date;
|
|
1529
1529
|
metric: "demand_by_category_by_pattern_by_month";
|
|
@@ -1545,10 +1545,10 @@ export declare const MetricSchema: z.ZodDiscriminatedUnion<"metric", [z.ZodObjec
|
|
|
1545
1545
|
pattern_id: z.ZodString;
|
|
1546
1546
|
}, "strip", z.ZodTypeAny, {
|
|
1547
1547
|
pattern_id: string;
|
|
1548
|
-
category: "
|
|
1548
|
+
category: "on_board_sale" | "prepaid" | "subscription";
|
|
1549
1549
|
}, {
|
|
1550
1550
|
pattern_id: string;
|
|
1551
|
-
category: "
|
|
1551
|
+
category: "on_board_sale" | "prepaid" | "subscription";
|
|
1552
1552
|
}>;
|
|
1553
1553
|
}, "strip", z.ZodTypeAny, {
|
|
1554
1554
|
data: Record<string, {
|
|
@@ -1556,7 +1556,7 @@ export declare const MetricSchema: z.ZodDiscriminatedUnion<"metric", [z.ZodObjec
|
|
|
1556
1556
|
}>;
|
|
1557
1557
|
properties: {
|
|
1558
1558
|
pattern_id: string;
|
|
1559
|
-
category: "
|
|
1559
|
+
category: "on_board_sale" | "prepaid" | "subscription";
|
|
1560
1560
|
};
|
|
1561
1561
|
generated_at: Date;
|
|
1562
1562
|
metric: "demand_by_category_by_pattern_by_year";
|
|
@@ -1567,7 +1567,7 @@ export declare const MetricSchema: z.ZodDiscriminatedUnion<"metric", [z.ZodObjec
|
|
|
1567
1567
|
}>;
|
|
1568
1568
|
properties: {
|
|
1569
1569
|
pattern_id: string;
|
|
1570
|
-
category: "
|
|
1570
|
+
category: "on_board_sale" | "prepaid" | "subscription";
|
|
1571
1571
|
};
|
|
1572
1572
|
generated_at: Date;
|
|
1573
1573
|
metric: "demand_by_category_by_pattern_by_year";
|
package/dist/notification.d.ts
CHANGED
|
@@ -39,13 +39,13 @@ export declare const NotificationSchema: z.ZodObject<Omit<{
|
|
|
39
39
|
__brand: "UnixTimestamp";
|
|
40
40
|
};
|
|
41
41
|
scope: string;
|
|
42
|
+
is_read: boolean;
|
|
42
43
|
payload: {
|
|
43
44
|
title: string;
|
|
44
45
|
body: string;
|
|
45
46
|
icon?: string | undefined;
|
|
46
47
|
href?: string | undefined;
|
|
47
48
|
};
|
|
48
|
-
is_read: boolean;
|
|
49
49
|
priority: "high" | "normal" | "low";
|
|
50
50
|
topic: string;
|
|
51
51
|
updated_by?: string | undefined;
|
|
@@ -55,13 +55,13 @@ export declare const NotificationSchema: z.ZodObject<Omit<{
|
|
|
55
55
|
created_at: number;
|
|
56
56
|
updated_at: number;
|
|
57
57
|
scope: string;
|
|
58
|
+
is_read: boolean;
|
|
58
59
|
payload: {
|
|
59
60
|
title: string;
|
|
60
61
|
body: string;
|
|
61
62
|
icon?: string | undefined;
|
|
62
63
|
href?: string | undefined;
|
|
63
64
|
};
|
|
64
|
-
is_read: boolean;
|
|
65
65
|
topic: string;
|
|
66
66
|
created_by?: string | null | undefined;
|
|
67
67
|
updated_by?: string | undefined;
|
|
@@ -100,26 +100,26 @@ export declare const CreateNotificationSchema: z.ZodObject<Omit<Omit<{
|
|
|
100
100
|
}, "_id" | "created_at" | "updated_at">, "strip", z.ZodTypeAny, {
|
|
101
101
|
created_by: string | null;
|
|
102
102
|
scope: string;
|
|
103
|
+
is_read: boolean;
|
|
103
104
|
payload: {
|
|
104
105
|
title: string;
|
|
105
106
|
body: string;
|
|
106
107
|
icon?: string | undefined;
|
|
107
108
|
href?: string | undefined;
|
|
108
109
|
};
|
|
109
|
-
is_read: boolean;
|
|
110
110
|
priority: "high" | "normal" | "low";
|
|
111
111
|
topic: string;
|
|
112
112
|
updated_by?: string | undefined;
|
|
113
113
|
user_id?: string | undefined;
|
|
114
114
|
}, {
|
|
115
115
|
scope: string;
|
|
116
|
+
is_read: boolean;
|
|
116
117
|
payload: {
|
|
117
118
|
title: string;
|
|
118
119
|
body: string;
|
|
119
120
|
icon?: string | undefined;
|
|
120
121
|
href?: string | undefined;
|
|
121
122
|
};
|
|
122
|
-
is_read: boolean;
|
|
123
123
|
topic: string;
|
|
124
124
|
created_by?: string | null | undefined;
|
|
125
125
|
updated_by?: string | undefined;
|
|
@@ -129,6 +129,8 @@ export declare const CreateNotificationSchema: z.ZodObject<Omit<Omit<{
|
|
|
129
129
|
export declare const UpdateNotificationSchema: z.ZodObject<{
|
|
130
130
|
updated_by: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
131
131
|
scope: z.ZodOptional<z.ZodString>;
|
|
132
|
+
user_id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
133
|
+
is_read: z.ZodOptional<z.ZodBoolean>;
|
|
132
134
|
payload: z.ZodOptional<z.ZodObject<{
|
|
133
135
|
body: z.ZodString;
|
|
134
136
|
href: z.ZodOptional<z.ZodString>;
|
|
@@ -145,34 +147,32 @@ export declare const UpdateNotificationSchema: z.ZodObject<{
|
|
|
145
147
|
icon?: string | undefined;
|
|
146
148
|
href?: string | undefined;
|
|
147
149
|
}>>;
|
|
148
|
-
user_id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
149
|
-
is_read: z.ZodOptional<z.ZodBoolean>;
|
|
150
150
|
priority: z.ZodOptional<z.ZodDefault<z.ZodEnum<["high", "normal", "low"]>>>;
|
|
151
151
|
topic: z.ZodOptional<z.ZodString>;
|
|
152
152
|
}, "strip", z.ZodTypeAny, {
|
|
153
153
|
updated_by?: string | undefined;
|
|
154
154
|
scope?: string | undefined;
|
|
155
|
+
user_id?: string | undefined;
|
|
156
|
+
is_read?: boolean | undefined;
|
|
155
157
|
payload?: {
|
|
156
158
|
title: string;
|
|
157
159
|
body: string;
|
|
158
160
|
icon?: string | undefined;
|
|
159
161
|
href?: string | undefined;
|
|
160
162
|
} | undefined;
|
|
161
|
-
user_id?: string | undefined;
|
|
162
|
-
is_read?: boolean | undefined;
|
|
163
163
|
priority?: "high" | "normal" | "low" | undefined;
|
|
164
164
|
topic?: string | undefined;
|
|
165
165
|
}, {
|
|
166
166
|
updated_by?: string | undefined;
|
|
167
167
|
scope?: string | undefined;
|
|
168
|
+
user_id?: string | undefined;
|
|
169
|
+
is_read?: boolean | undefined;
|
|
168
170
|
payload?: {
|
|
169
171
|
title: string;
|
|
170
172
|
body: string;
|
|
171
173
|
icon?: string | undefined;
|
|
172
174
|
href?: string | undefined;
|
|
173
175
|
} | undefined;
|
|
174
|
-
user_id?: string | undefined;
|
|
175
|
-
is_read?: boolean | undefined;
|
|
176
176
|
priority?: "high" | "normal" | "low" | undefined;
|
|
177
177
|
topic?: string | undefined;
|
|
178
178
|
}>;
|