@voyantjs/ground 0.28.3 → 0.29.0
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/routes.d.ts
CHANGED
|
@@ -35,8 +35,8 @@ export declare const groundRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
35
35
|
input: {};
|
|
36
36
|
output: {
|
|
37
37
|
data: {
|
|
38
|
-
id: string;
|
|
39
38
|
name: string;
|
|
39
|
+
id: string;
|
|
40
40
|
createdAt: string;
|
|
41
41
|
updatedAt: string;
|
|
42
42
|
notes: string | null;
|
|
@@ -683,7 +683,7 @@ export declare const groundRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
683
683
|
scheduledDropoffAt: string | null;
|
|
684
684
|
actualPickupAt: string | null;
|
|
685
685
|
actualDropoffAt: string | null;
|
|
686
|
-
status: "
|
|
686
|
+
status: "completed" | "cancelled" | "draft" | "scheduled" | "assigned" | "en_route" | "arrived" | "picked_up" | "no_show";
|
|
687
687
|
passengerCount: number | null;
|
|
688
688
|
checkedBags: number | null;
|
|
689
689
|
carryOnBags: number | null;
|
|
@@ -708,7 +708,7 @@ export declare const groundRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
708
708
|
id: string;
|
|
709
709
|
createdAt: string;
|
|
710
710
|
updatedAt: string;
|
|
711
|
-
status: "
|
|
711
|
+
status: "completed" | "cancelled" | "draft" | "scheduled" | "assigned" | "en_route" | "arrived" | "picked_up" | "no_show";
|
|
712
712
|
notes: string | null;
|
|
713
713
|
bookingId: string;
|
|
714
714
|
operatorId: string | null;
|
|
@@ -763,7 +763,7 @@ export declare const groundRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
763
763
|
scheduledDropoffAt: string | null;
|
|
764
764
|
actualPickupAt: string | null;
|
|
765
765
|
actualDropoffAt: string | null;
|
|
766
|
-
status: "
|
|
766
|
+
status: "completed" | "cancelled" | "draft" | "scheduled" | "assigned" | "en_route" | "arrived" | "picked_up" | "no_show";
|
|
767
767
|
passengerCount: number | null;
|
|
768
768
|
checkedBags: number | null;
|
|
769
769
|
carryOnBags: number | null;
|
|
@@ -809,7 +809,7 @@ export declare const groundRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
809
809
|
scheduledDropoffAt: string | null;
|
|
810
810
|
actualPickupAt: string | null;
|
|
811
811
|
actualDropoffAt: string | null;
|
|
812
|
-
status: "
|
|
812
|
+
status: "completed" | "cancelled" | "draft" | "scheduled" | "assigned" | "en_route" | "arrived" | "picked_up" | "no_show";
|
|
813
813
|
passengerCount: number | null;
|
|
814
814
|
checkedBags: number | null;
|
|
815
815
|
carryOnBags: number | null;
|
|
@@ -856,7 +856,7 @@ export declare const groundRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
856
856
|
data: {
|
|
857
857
|
id: string;
|
|
858
858
|
dispatchId: string;
|
|
859
|
-
eventType: "
|
|
859
|
+
eventType: "cancelled" | "scheduled" | "assigned" | "driver_en_route" | "driver_arrived" | "pickup_completed" | "dropoff_completed" | "issue" | "note";
|
|
860
860
|
occurredAt: string;
|
|
861
861
|
facilityId: string | null;
|
|
862
862
|
addressId: string | null;
|
|
@@ -886,10 +886,10 @@ export declare const groundRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
886
886
|
id: string;
|
|
887
887
|
createdAt: string;
|
|
888
888
|
notes: string | null;
|
|
889
|
+
eventType: "cancelled" | "scheduled" | "assigned" | "driver_en_route" | "driver_arrived" | "pickup_completed" | "dropoff_completed" | "issue" | "note";
|
|
889
890
|
facilityId: string | null;
|
|
890
891
|
addressId: string | null;
|
|
891
892
|
dispatchId: string;
|
|
892
|
-
eventType: "scheduled" | "assigned" | "cancelled" | "driver_en_route" | "driver_arrived" | "pickup_completed" | "dropoff_completed" | "issue" | "note";
|
|
893
893
|
occurredAt: string;
|
|
894
894
|
} | undefined;
|
|
895
895
|
};
|
|
@@ -920,7 +920,7 @@ export declare const groundRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
920
920
|
data: {
|
|
921
921
|
id: string;
|
|
922
922
|
dispatchId: string;
|
|
923
|
-
eventType: "
|
|
923
|
+
eventType: "cancelled" | "scheduled" | "assigned" | "driver_en_route" | "driver_arrived" | "pickup_completed" | "dropoff_completed" | "issue" | "note";
|
|
924
924
|
occurredAt: string;
|
|
925
925
|
facilityId: string | null;
|
|
926
926
|
addressId: string | null;
|
|
@@ -958,7 +958,7 @@ export declare const groundRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
958
958
|
data: {
|
|
959
959
|
id: string;
|
|
960
960
|
dispatchId: string;
|
|
961
|
-
eventType: "
|
|
961
|
+
eventType: "cancelled" | "scheduled" | "assigned" | "driver_en_route" | "driver_arrived" | "pickup_completed" | "dropoff_completed" | "issue" | "note";
|
|
962
962
|
occurredAt: string;
|
|
963
963
|
facilityId: string | null;
|
|
964
964
|
addressId: string | null;
|
|
@@ -1476,7 +1476,7 @@ export declare const groundRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
1476
1476
|
facilityId: string | null;
|
|
1477
1477
|
startsAt: string;
|
|
1478
1478
|
endsAt: string;
|
|
1479
|
-
status: "
|
|
1479
|
+
status: "completed" | "cancelled" | "scheduled" | "available" | "on_duty";
|
|
1480
1480
|
notes: string | null;
|
|
1481
1481
|
metadata: {
|
|
1482
1482
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
@@ -1504,7 +1504,7 @@ export declare const groundRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
1504
1504
|
id: string;
|
|
1505
1505
|
createdAt: string;
|
|
1506
1506
|
updatedAt: string;
|
|
1507
|
-
status: "
|
|
1507
|
+
status: "completed" | "cancelled" | "scheduled" | "available" | "on_duty";
|
|
1508
1508
|
notes: string | null;
|
|
1509
1509
|
facilityId: string | null;
|
|
1510
1510
|
operatorId: string | null;
|
|
@@ -1544,7 +1544,7 @@ export declare const groundRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
1544
1544
|
facilityId: string | null;
|
|
1545
1545
|
startsAt: string;
|
|
1546
1546
|
endsAt: string;
|
|
1547
|
-
status: "
|
|
1547
|
+
status: "completed" | "cancelled" | "scheduled" | "available" | "on_duty";
|
|
1548
1548
|
notes: string | null;
|
|
1549
1549
|
metadata: {
|
|
1550
1550
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
@@ -1584,7 +1584,7 @@ export declare const groundRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
1584
1584
|
facilityId: string | null;
|
|
1585
1585
|
startsAt: string;
|
|
1586
1586
|
endsAt: string;
|
|
1587
|
-
status: "
|
|
1587
|
+
status: "completed" | "cancelled" | "scheduled" | "available" | "on_duty";
|
|
1588
1588
|
notes: string | null;
|
|
1589
1589
|
metadata: {
|
|
1590
1590
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
@@ -609,7 +609,7 @@ export declare const groundDispatches: import("drizzle-orm/pg-core").PgTableWith
|
|
|
609
609
|
tableName: "ground_dispatches";
|
|
610
610
|
dataType: "string";
|
|
611
611
|
columnType: "PgEnumColumn";
|
|
612
|
-
data: "
|
|
612
|
+
data: "completed" | "cancelled" | "draft" | "scheduled" | "assigned" | "en_route" | "arrived" | "picked_up" | "no_show";
|
|
613
613
|
driverParam: string;
|
|
614
614
|
notNull: true;
|
|
615
615
|
hasDefault: true;
|
|
@@ -41,7 +41,7 @@ export declare const groundExecutionEvents: import("drizzle-orm/pg-core").PgTabl
|
|
|
41
41
|
tableName: "ground_execution_events";
|
|
42
42
|
dataType: "string";
|
|
43
43
|
columnType: "PgEnumColumn";
|
|
44
|
-
data: "
|
|
44
|
+
data: "cancelled" | "scheduled" | "assigned" | "driver_en_route" | "driver_arrived" | "pickup_completed" | "dropoff_completed" | "issue" | "note";
|
|
45
45
|
driverParam: string;
|
|
46
46
|
notNull: true;
|
|
47
47
|
hasDefault: true;
|
|
@@ -840,7 +840,7 @@ export declare const groundDriverShifts: import("drizzle-orm/pg-core").PgTableWi
|
|
|
840
840
|
tableName: "ground_driver_shifts";
|
|
841
841
|
dataType: "string";
|
|
842
842
|
columnType: "PgEnumColumn";
|
|
843
|
-
data: "
|
|
843
|
+
data: "completed" | "cancelled" | "scheduled" | "available" | "on_duty";
|
|
844
844
|
driverParam: string;
|
|
845
845
|
notNull: true;
|
|
846
846
|
hasDefault: true;
|
|
@@ -122,7 +122,7 @@ export declare function listDispatches(db: PostgresJsDatabase, query: GroundDisp
|
|
|
122
122
|
scheduledDropoffAt: Date | null;
|
|
123
123
|
actualPickupAt: Date | null;
|
|
124
124
|
actualDropoffAt: Date | null;
|
|
125
|
-
status: "
|
|
125
|
+
status: "completed" | "cancelled" | "draft" | "scheduled" | "assigned" | "en_route" | "arrived" | "picked_up" | "no_show";
|
|
126
126
|
passengerCount: number | null;
|
|
127
127
|
checkedBags: number | null;
|
|
128
128
|
carryOnBags: number | null;
|
|
@@ -147,7 +147,7 @@ export declare function getDispatchById(db: PostgresJsDatabase, id: string): Pro
|
|
|
147
147
|
scheduledDropoffAt: Date | null;
|
|
148
148
|
actualPickupAt: Date | null;
|
|
149
149
|
actualDropoffAt: Date | null;
|
|
150
|
-
status: "
|
|
150
|
+
status: "completed" | "cancelled" | "draft" | "scheduled" | "assigned" | "en_route" | "arrived" | "picked_up" | "no_show";
|
|
151
151
|
passengerCount: number | null;
|
|
152
152
|
checkedBags: number | null;
|
|
153
153
|
carryOnBags: number | null;
|
|
@@ -159,7 +159,7 @@ export declare function createDispatch(db: PostgresJsDatabase, data: CreateGroun
|
|
|
159
159
|
id: string;
|
|
160
160
|
createdAt: Date;
|
|
161
161
|
updatedAt: Date;
|
|
162
|
-
status: "
|
|
162
|
+
status: "completed" | "cancelled" | "draft" | "scheduled" | "assigned" | "en_route" | "arrived" | "picked_up" | "no_show";
|
|
163
163
|
notes: string | null;
|
|
164
164
|
bookingId: string;
|
|
165
165
|
operatorId: string | null;
|
|
@@ -189,7 +189,7 @@ export declare function updateDispatch(db: PostgresJsDatabase, id: string, data:
|
|
|
189
189
|
scheduledDropoffAt: Date | null;
|
|
190
190
|
actualPickupAt: Date | null;
|
|
191
191
|
actualDropoffAt: Date | null;
|
|
192
|
-
status: "
|
|
192
|
+
status: "completed" | "cancelled" | "draft" | "scheduled" | "assigned" | "en_route" | "arrived" | "picked_up" | "no_show";
|
|
193
193
|
passengerCount: number | null;
|
|
194
194
|
checkedBags: number | null;
|
|
195
195
|
carryOnBags: number | null;
|
|
@@ -204,7 +204,7 @@ export declare function listExecutionEvents(db: PostgresJsDatabase, query: Groun
|
|
|
204
204
|
data: {
|
|
205
205
|
id: string;
|
|
206
206
|
dispatchId: string;
|
|
207
|
-
eventType: "
|
|
207
|
+
eventType: "cancelled" | "scheduled" | "assigned" | "driver_en_route" | "driver_arrived" | "pickup_completed" | "dropoff_completed" | "issue" | "note";
|
|
208
208
|
occurredAt: Date;
|
|
209
209
|
facilityId: string | null;
|
|
210
210
|
addressId: string | null;
|
|
@@ -219,7 +219,7 @@ export declare function listExecutionEvents(db: PostgresJsDatabase, query: Groun
|
|
|
219
219
|
export declare function getExecutionEventById(db: PostgresJsDatabase, id: string): Promise<{
|
|
220
220
|
id: string;
|
|
221
221
|
dispatchId: string;
|
|
222
|
-
eventType: "
|
|
222
|
+
eventType: "cancelled" | "scheduled" | "assigned" | "driver_en_route" | "driver_arrived" | "pickup_completed" | "dropoff_completed" | "issue" | "note";
|
|
223
223
|
occurredAt: Date;
|
|
224
224
|
facilityId: string | null;
|
|
225
225
|
addressId: string | null;
|
|
@@ -232,16 +232,16 @@ export declare function createExecutionEvent(db: PostgresJsDatabase, data: Creat
|
|
|
232
232
|
id: string;
|
|
233
233
|
createdAt: Date;
|
|
234
234
|
notes: string | null;
|
|
235
|
+
eventType: "cancelled" | "scheduled" | "assigned" | "driver_en_route" | "driver_arrived" | "pickup_completed" | "dropoff_completed" | "issue" | "note";
|
|
235
236
|
facilityId: string | null;
|
|
236
237
|
addressId: string | null;
|
|
237
238
|
dispatchId: string;
|
|
238
|
-
eventType: "scheduled" | "assigned" | "cancelled" | "driver_en_route" | "driver_arrived" | "pickup_completed" | "dropoff_completed" | "issue" | "note";
|
|
239
239
|
occurredAt: Date;
|
|
240
240
|
} | undefined>;
|
|
241
241
|
export declare function updateExecutionEvent(db: PostgresJsDatabase, id: string, data: UpdateGroundExecutionEventInput): Promise<{
|
|
242
242
|
id: string;
|
|
243
243
|
dispatchId: string;
|
|
244
|
-
eventType: "
|
|
244
|
+
eventType: "cancelled" | "scheduled" | "assigned" | "driver_en_route" | "driver_arrived" | "pickup_completed" | "dropoff_completed" | "issue" | "note";
|
|
245
245
|
occurredAt: Date;
|
|
246
246
|
facilityId: string | null;
|
|
247
247
|
addressId: string | null;
|
|
@@ -28,8 +28,8 @@ export declare function getOperatorById(db: PostgresJsDatabase, id: string): Pro
|
|
|
28
28
|
updatedAt: Date;
|
|
29
29
|
} | null>;
|
|
30
30
|
export declare function createOperator(db: PostgresJsDatabase, data: CreateGroundOperatorInput): Promise<{
|
|
31
|
-
id: string;
|
|
32
31
|
name: string;
|
|
32
|
+
id: string;
|
|
33
33
|
createdAt: Date;
|
|
34
34
|
updatedAt: Date;
|
|
35
35
|
notes: string | null;
|
|
@@ -196,7 +196,7 @@ export declare function listDriverShifts(db: PostgresJsDatabase, query: GroundDr
|
|
|
196
196
|
facilityId: string | null;
|
|
197
197
|
startsAt: Date;
|
|
198
198
|
endsAt: Date;
|
|
199
|
-
status: "
|
|
199
|
+
status: "completed" | "cancelled" | "scheduled" | "available" | "on_duty";
|
|
200
200
|
notes: string | null;
|
|
201
201
|
metadata: Record<string, unknown> | null;
|
|
202
202
|
createdAt: Date;
|
|
@@ -213,7 +213,7 @@ export declare function getDriverShiftById(db: PostgresJsDatabase, id: string):
|
|
|
213
213
|
facilityId: string | null;
|
|
214
214
|
startsAt: Date;
|
|
215
215
|
endsAt: Date;
|
|
216
|
-
status: "
|
|
216
|
+
status: "completed" | "cancelled" | "scheduled" | "available" | "on_duty";
|
|
217
217
|
notes: string | null;
|
|
218
218
|
metadata: Record<string, unknown> | null;
|
|
219
219
|
createdAt: Date;
|
|
@@ -224,7 +224,7 @@ export declare function createDriverShift(db: PostgresJsDatabase, data: CreateGr
|
|
|
224
224
|
id: string;
|
|
225
225
|
createdAt: Date;
|
|
226
226
|
updatedAt: Date;
|
|
227
|
-
status: "
|
|
227
|
+
status: "completed" | "cancelled" | "scheduled" | "available" | "on_duty";
|
|
228
228
|
notes: string | null;
|
|
229
229
|
facilityId: string | null;
|
|
230
230
|
operatorId: string | null;
|
|
@@ -239,7 +239,7 @@ export declare function updateDriverShift(db: PostgresJsDatabase, id: string, da
|
|
|
239
239
|
facilityId: string | null;
|
|
240
240
|
startsAt: Date;
|
|
241
241
|
endsAt: Date;
|
|
242
|
-
status: "
|
|
242
|
+
status: "completed" | "cancelled" | "scheduled" | "available" | "on_duty";
|
|
243
243
|
notes: string | null;
|
|
244
244
|
metadata: Record<string, unknown> | null;
|
|
245
245
|
createdAt: Date;
|
package/dist/validation.d.ts
CHANGED
|
@@ -26,20 +26,20 @@ export declare const groundServiceLevelSchema: z.ZodEnum<{
|
|
|
26
26
|
shuttle: "shuttle";
|
|
27
27
|
}>;
|
|
28
28
|
export declare const groundDispatchStatusSchema: z.ZodEnum<{
|
|
29
|
+
completed: "completed";
|
|
30
|
+
cancelled: "cancelled";
|
|
29
31
|
draft: "draft";
|
|
30
32
|
scheduled: "scheduled";
|
|
31
33
|
assigned: "assigned";
|
|
32
34
|
en_route: "en_route";
|
|
33
35
|
arrived: "arrived";
|
|
34
36
|
picked_up: "picked_up";
|
|
35
|
-
completed: "completed";
|
|
36
|
-
cancelled: "cancelled";
|
|
37
37
|
no_show: "no_show";
|
|
38
38
|
}>;
|
|
39
39
|
export declare const groundExecutionEventTypeSchema: z.ZodEnum<{
|
|
40
|
+
cancelled: "cancelled";
|
|
40
41
|
scheduled: "scheduled";
|
|
41
42
|
assigned: "assigned";
|
|
42
|
-
cancelled: "cancelled";
|
|
43
43
|
driver_en_route: "driver_en_route";
|
|
44
44
|
driver_arrived: "driver_arrived";
|
|
45
45
|
pickup_completed: "pickup_completed";
|
|
@@ -59,9 +59,9 @@ export declare const groundDispatchLegTypeSchema: z.ZodEnum<{
|
|
|
59
59
|
deadhead: "deadhead";
|
|
60
60
|
}>;
|
|
61
61
|
export declare const groundDriverShiftStatusSchema: z.ZodEnum<{
|
|
62
|
-
scheduled: "scheduled";
|
|
63
62
|
completed: "completed";
|
|
64
63
|
cancelled: "cancelled";
|
|
64
|
+
scheduled: "scheduled";
|
|
65
65
|
available: "available";
|
|
66
66
|
on_duty: "on_duty";
|
|
67
67
|
}>;
|
|
@@ -343,14 +343,14 @@ export declare const insertGroundDispatchSchema: z.ZodObject<{
|
|
|
343
343
|
actualPickupAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
344
344
|
actualDropoffAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
345
345
|
status: z.ZodDefault<z.ZodEnum<{
|
|
346
|
+
completed: "completed";
|
|
347
|
+
cancelled: "cancelled";
|
|
346
348
|
draft: "draft";
|
|
347
349
|
scheduled: "scheduled";
|
|
348
350
|
assigned: "assigned";
|
|
349
351
|
en_route: "en_route";
|
|
350
352
|
arrived: "arrived";
|
|
351
353
|
picked_up: "picked_up";
|
|
352
|
-
completed: "completed";
|
|
353
|
-
cancelled: "cancelled";
|
|
354
354
|
no_show: "no_show";
|
|
355
355
|
}>>;
|
|
356
356
|
passengerCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -371,14 +371,14 @@ export declare const updateGroundDispatchSchema: z.ZodObject<{
|
|
|
371
371
|
actualPickupAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
372
372
|
actualDropoffAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
373
373
|
status: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
374
|
+
completed: "completed";
|
|
375
|
+
cancelled: "cancelled";
|
|
374
376
|
draft: "draft";
|
|
375
377
|
scheduled: "scheduled";
|
|
376
378
|
assigned: "assigned";
|
|
377
379
|
en_route: "en_route";
|
|
378
380
|
arrived: "arrived";
|
|
379
381
|
picked_up: "picked_up";
|
|
380
|
-
completed: "completed";
|
|
381
|
-
cancelled: "cancelled";
|
|
382
382
|
no_show: "no_show";
|
|
383
383
|
}>>>;
|
|
384
384
|
passengerCount: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>;
|
|
@@ -396,14 +396,14 @@ export declare const groundDispatchListQuerySchema: z.ZodObject<{
|
|
|
396
396
|
vehicleId: z.ZodOptional<z.ZodString>;
|
|
397
397
|
driverId: z.ZodOptional<z.ZodString>;
|
|
398
398
|
status: z.ZodOptional<z.ZodEnum<{
|
|
399
|
+
completed: "completed";
|
|
400
|
+
cancelled: "cancelled";
|
|
399
401
|
draft: "draft";
|
|
400
402
|
scheduled: "scheduled";
|
|
401
403
|
assigned: "assigned";
|
|
402
404
|
en_route: "en_route";
|
|
403
405
|
arrived: "arrived";
|
|
404
406
|
picked_up: "picked_up";
|
|
405
|
-
completed: "completed";
|
|
406
|
-
cancelled: "cancelled";
|
|
407
407
|
no_show: "no_show";
|
|
408
408
|
}>>;
|
|
409
409
|
serviceDate: z.ZodOptional<z.ZodString>;
|
|
@@ -411,9 +411,9 @@ export declare const groundDispatchListQuerySchema: z.ZodObject<{
|
|
|
411
411
|
export declare const insertGroundExecutionEventSchema: z.ZodObject<{
|
|
412
412
|
dispatchId: z.ZodString;
|
|
413
413
|
eventType: z.ZodDefault<z.ZodEnum<{
|
|
414
|
+
cancelled: "cancelled";
|
|
414
415
|
scheduled: "scheduled";
|
|
415
416
|
assigned: "assigned";
|
|
416
|
-
cancelled: "cancelled";
|
|
417
417
|
driver_en_route: "driver_en_route";
|
|
418
418
|
driver_arrived: "driver_arrived";
|
|
419
419
|
pickup_completed: "pickup_completed";
|
|
@@ -430,9 +430,9 @@ export declare const insertGroundExecutionEventSchema: z.ZodObject<{
|
|
|
430
430
|
export declare const updateGroundExecutionEventSchema: z.ZodObject<{
|
|
431
431
|
dispatchId: z.ZodOptional<z.ZodString>;
|
|
432
432
|
eventType: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
433
|
+
cancelled: "cancelled";
|
|
433
434
|
scheduled: "scheduled";
|
|
434
435
|
assigned: "assigned";
|
|
435
|
-
cancelled: "cancelled";
|
|
436
436
|
driver_en_route: "driver_en_route";
|
|
437
437
|
driver_arrived: "driver_arrived";
|
|
438
438
|
pickup_completed: "pickup_completed";
|
|
@@ -451,9 +451,9 @@ export declare const groundExecutionEventListQuerySchema: z.ZodObject<{
|
|
|
451
451
|
offset: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
452
452
|
dispatchId: z.ZodOptional<z.ZodString>;
|
|
453
453
|
eventType: z.ZodOptional<z.ZodEnum<{
|
|
454
|
+
cancelled: "cancelled";
|
|
454
455
|
scheduled: "scheduled";
|
|
455
456
|
assigned: "assigned";
|
|
456
|
-
cancelled: "cancelled";
|
|
457
457
|
driver_en_route: "driver_en_route";
|
|
458
458
|
driver_arrived: "driver_arrived";
|
|
459
459
|
pickup_completed: "pickup_completed";
|
|
@@ -575,9 +575,9 @@ export declare const insertGroundDriverShiftSchema: z.ZodObject<{
|
|
|
575
575
|
startsAt: z.ZodString;
|
|
576
576
|
endsAt: z.ZodString;
|
|
577
577
|
status: z.ZodDefault<z.ZodEnum<{
|
|
578
|
-
scheduled: "scheduled";
|
|
579
578
|
completed: "completed";
|
|
580
579
|
cancelled: "cancelled";
|
|
580
|
+
scheduled: "scheduled";
|
|
581
581
|
available: "available";
|
|
582
582
|
on_duty: "on_duty";
|
|
583
583
|
}>>;
|
|
@@ -591,9 +591,9 @@ export declare const updateGroundDriverShiftSchema: z.ZodObject<{
|
|
|
591
591
|
startsAt: z.ZodOptional<z.ZodString>;
|
|
592
592
|
endsAt: z.ZodOptional<z.ZodString>;
|
|
593
593
|
status: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
594
|
-
scheduled: "scheduled";
|
|
595
594
|
completed: "completed";
|
|
596
595
|
cancelled: "cancelled";
|
|
596
|
+
scheduled: "scheduled";
|
|
597
597
|
available: "available";
|
|
598
598
|
on_duty: "on_duty";
|
|
599
599
|
}>>>;
|
|
@@ -607,9 +607,9 @@ export declare const groundDriverShiftListQuerySchema: z.ZodObject<{
|
|
|
607
607
|
operatorId: z.ZodOptional<z.ZodString>;
|
|
608
608
|
facilityId: z.ZodOptional<z.ZodString>;
|
|
609
609
|
status: z.ZodOptional<z.ZodEnum<{
|
|
610
|
-
scheduled: "scheduled";
|
|
611
610
|
completed: "completed";
|
|
612
611
|
cancelled: "cancelled";
|
|
612
|
+
scheduled: "scheduled";
|
|
613
613
|
available: "available";
|
|
614
614
|
on_duty: "on_duty";
|
|
615
615
|
}>>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@voyantjs/ground",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.29.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -29,16 +29,16 @@
|
|
|
29
29
|
"drizzle-orm": "^0.45.2",
|
|
30
30
|
"hono": "^4.12.10",
|
|
31
31
|
"zod": "^4.3.6",
|
|
32
|
-
"@voyantjs/core": "0.
|
|
33
|
-
"@voyantjs/db": "0.
|
|
34
|
-
"@voyantjs/facilities": "0.
|
|
35
|
-
"@voyantjs/hono": "0.
|
|
36
|
-
"@voyantjs/identity": "0.
|
|
32
|
+
"@voyantjs/core": "0.29.0",
|
|
33
|
+
"@voyantjs/db": "0.29.0",
|
|
34
|
+
"@voyantjs/facilities": "0.29.0",
|
|
35
|
+
"@voyantjs/hono": "0.29.0",
|
|
36
|
+
"@voyantjs/identity": "0.29.0"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"typescript": "^6.0.2",
|
|
40
|
-
"@voyantjs/bookings": "0.
|
|
41
|
-
"@voyantjs/resources": "0.
|
|
40
|
+
"@voyantjs/bookings": "0.29.0",
|
|
41
|
+
"@voyantjs/resources": "0.29.0",
|
|
42
42
|
"@voyantjs/voyant-typescript-config": "0.1.0"
|
|
43
43
|
},
|
|
44
44
|
"files": [
|