@aeolus-fleet/core 0.24.1 → 0.25.1
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/README.md +5 -5
- package/dist/adapters/prisma/generated/browser.d.ts +15 -5
- package/dist/adapters/prisma/generated/client.d.ts +15 -5
- package/dist/adapters/prisma/generated/commonInputTypes.d.ts +60 -0
- package/dist/adapters/prisma/generated/enums.d.ts +15 -1
- package/dist/adapters/prisma/generated/enums.js +13 -1
- package/dist/adapters/prisma/generated/enums.js.map +1 -1
- package/dist/adapters/prisma/generated/internal/class.d.ts +11 -0
- package/dist/adapters/prisma/generated/internal/class.js +4 -4
- package/dist/adapters/prisma/generated/internal/class.js.map +1 -1
- package/dist/adapters/prisma/generated/internal/prismaNamespace.d.ts +109 -1
- package/dist/adapters/prisma/generated/internal/prismaNamespace.js +16 -0
- package/dist/adapters/prisma/generated/internal/prismaNamespace.js.map +1 -1
- package/dist/adapters/prisma/generated/internal/prismaNamespaceBrowser.d.ts +17 -0
- package/dist/adapters/prisma/generated/internal/prismaNamespaceBrowser.js +16 -0
- package/dist/adapters/prisma/generated/internal/prismaNamespaceBrowser.js.map +1 -1
- package/dist/adapters/prisma/generated/models/CrewRequest.d.ts +3 -2
- package/dist/adapters/prisma/generated/models/Delivery.d.ts +304 -4
- package/dist/adapters/prisma/generated/models/Fleet.d.ts +267 -0
- package/dist/adapters/prisma/generated/models/Lease.d.ts +332 -1
- package/dist/adapters/prisma/generated/models/OverdueDelivery.d.ts +1687 -0
- package/dist/adapters/prisma/generated/models/OverdueDelivery.js +2 -0
- package/dist/adapters/prisma/generated/models/OverdueDelivery.js.map +1 -0
- package/dist/adapters/prisma/generated/models/Ship.d.ts +271 -0
- package/dist/adapters/prisma/generated/models.d.ts +1 -0
- package/dist/adapters/prisma/history.js +231 -46
- package/dist/adapters/prisma/history.js.map +1 -1
- package/dist/adapters/prisma/installation.js +30 -1
- package/dist/adapters/prisma/installation.js.map +1 -1
- package/dist/adapters/prisma/messaging.js +11 -7
- package/dist/adapters/prisma/messaging.js.map +1 -1
- package/dist/adapters/prisma/overdue.d.ts +4 -0
- package/dist/adapters/prisma/overdue.js +63 -0
- package/dist/adapters/prisma/overdue.js.map +1 -0
- package/dist/adapters/prisma/registry.js +32 -7
- package/dist/adapters/prisma/registry.js.map +1 -1
- package/dist/adapters/prisma/rows.d.ts +12 -1
- package/dist/adapters/prisma/rows.js +46 -1
- package/dist/adapters/prisma/rows.js.map +1 -1
- package/dist/adapters/prisma/unit-of-work.d.ts +2 -1
- package/dist/adapters/prisma/unit-of-work.js +2 -0
- package/dist/adapters/prisma/unit-of-work.js.map +1 -1
- package/dist/adapters/trpc/context.d.ts +16 -0
- package/dist/adapters/trpc/fleet.d.ts +233 -15
- package/dist/adapters/trpc/fleet.js +52 -8
- package/dist/adapters/trpc/fleet.js.map +1 -1
- package/dist/adapters/trpc/installation.d.ts +14 -0
- package/dist/adapters/trpc/installation.js +7 -1
- package/dist/adapters/trpc/installation.js.map +1 -1
- package/dist/adapters/trpc/router.d.ts +301 -9
- package/dist/adapters/trpc/ship-protocol.js +2 -2
- package/dist/adapters/trpc/ship-protocol.js.map +1 -1
- package/dist/adapters/trpc/ship.d.ts +87 -0
- package/dist/adapters/trpc/ship.js +96 -1
- package/dist/adapters/trpc/ship.js.map +1 -1
- package/dist/adapters/trpc/starting-prompt-text.d.ts +1 -1
- package/dist/adapters/trpc/starting-prompt-text.js +22 -25
- package/dist/adapters/trpc/starting-prompt-text.js.map +1 -1
- package/dist/adapters/trpc/trpc.js +5 -0
- package/dist/adapters/trpc/trpc.js.map +1 -1
- package/dist/app.d.ts +4 -2
- package/dist/app.js +21 -9
- package/dist/app.js.map +1 -1
- package/dist/domain/messaging/delivery.d.ts +88 -28
- package/dist/domain/messaging/delivery.js +213 -39
- package/dist/domain/messaging/delivery.js.map +1 -1
- package/dist/domain/messaging/dismiss-delivery.d.ts +1 -1
- package/dist/domain/messaging/dismiss-delivery.js +1 -1
- package/dist/domain/messaging/hand-over-delivery.d.ts +38 -0
- package/dist/domain/messaging/hand-over-delivery.js +46 -0
- package/dist/domain/messaging/hand-over-delivery.js.map +1 -0
- package/dist/domain/messaging/message.d.ts +12 -1
- package/dist/domain/messaging/message.js +2 -0
- package/dist/domain/messaging/message.js.map +1 -1
- package/dist/domain/messaging/overdue.d.ts +60 -0
- package/dist/domain/messaging/overdue.js +52 -0
- package/dist/domain/messaging/overdue.js.map +1 -0
- package/dist/domain/messaging/ports.d.ts +20 -0
- package/dist/domain/messaging/public.d.ts +1 -0
- package/dist/domain/messaging/public.js +2 -0
- package/dist/domain/messaging/public.js.map +1 -0
- package/dist/domain/messaging/push-receive-deliveries.d.ts +48 -0
- package/dist/domain/messaging/push-receive-deliveries.js +70 -0
- package/dist/domain/messaging/push-receive-deliveries.js.map +1 -0
- package/dist/domain/messaging/receive-deliveries.d.ts +39 -6
- package/dist/domain/messaging/receive-deliveries.js +80 -50
- package/dist/domain/messaging/receive-deliveries.js.map +1 -1
- package/dist/domain/messaging/report-handled.d.ts +22 -0
- package/dist/domain/messaging/report-handled.js +13 -0
- package/dist/domain/messaging/report-handled.js.map +1 -0
- package/dist/domain/messaging/report-not-handled.d.ts +22 -0
- package/dist/domain/messaging/report-not-handled.js +13 -0
- package/dist/domain/messaging/report-not-handled.js.map +1 -0
- package/dist/domain/messaging/report-turn-end.d.ts +29 -0
- package/dist/domain/messaging/report-turn-end.js +36 -0
- package/dist/domain/messaging/report-turn-end.js.map +1 -0
- package/dist/domain/messaging/resend-delivery.d.ts +1 -1
- package/dist/domain/messaging/resend-delivery.js +1 -1
- package/dist/domain/messaging/tell-overdue-deliveries.d.ts +25 -0
- package/dist/domain/messaging/tell-overdue-deliveries.js +30 -0
- package/dist/domain/messaging/tell-overdue-deliveries.js.map +1 -0
- package/dist/domain/registry/crew-request.d.ts +12 -6
- package/dist/domain/registry/crew-request.js +21 -3
- package/dist/domain/registry/crew-request.js.map +1 -1
- package/dist/domain/registry/installation-fleet.d.ts +3 -2
- package/dist/domain/registry/installation-fleet.js.map +1 -1
- package/dist/domain/registry/leases.d.ts +26 -0
- package/dist/domain/registry/leases.js +26 -1
- package/dist/domain/registry/leases.js.map +1 -1
- package/dist/domain/registry/ping-status.d.ts +2 -2
- package/dist/domain/registry/ping-status.js +7 -4
- package/dist/domain/registry/ping-status.js.map +1 -1
- package/dist/domain/registry/ports.d.ts +40 -0
- package/dist/domain/registry/public.d.ts +2 -2
- package/dist/domain/registry/public.js +1 -1
- package/dist/domain/registry/public.js.map +1 -1
- package/dist/domain/registry/report-turn.d.ts +28 -0
- package/dist/domain/registry/report-turn.js +28 -0
- package/dist/domain/registry/report-turn.js.map +1 -0
- package/dist/domain/registry/request-crew.d.ts +6 -2
- package/dist/domain/registry/request-crew.js +14 -3
- package/dist/domain/registry/request-crew.js.map +1 -1
- package/dist/domain/registry/turn.d.ts +25 -0
- package/dist/domain/registry/turn.js +30 -0
- package/dist/domain/registry/turn.js.map +1 -0
- package/dist/domain/shared/delivery-way.d.ts +83 -0
- package/dist/domain/shared/delivery-way.js +89 -0
- package/dist/domain/shared/delivery-way.js.map +1 -0
- package/dist/domain/shared/errors.d.ts +1 -1
- package/dist/domain/shared/errors.js.map +1 -1
- package/dist/domain/shared/history.d.ts +116 -19
- package/dist/domain/shared/history.js +1 -1
- package/dist/domain/shared/history.js.map +1 -1
- package/dist/domain/shared/read-message.d.ts +7 -3
- package/dist/domain/shared/read-message.js +7 -4
- package/dist/domain/shared/read-message.js.map +1 -1
- package/dist/domain/shared/read-needs-attention.d.ts +5 -5
- package/dist/domain/shared/read-needs-attention.js +4 -4
- package/dist/domain/shared/read-needs-attention.js.map +1 -1
- package/dist/domain/shared/read-no-ship-can-take.d.ts +13 -0
- package/dist/domain/shared/read-no-ship-can-take.js +12 -0
- package/dist/domain/shared/read-no-ship-can-take.js.map +1 -0
- package/dist/domain/shared/read-overdue.d.ts +13 -0
- package/dist/domain/shared/read-overdue.js +12 -0
- package/dist/domain/shared/read-overdue.js.map +1 -0
- package/dist/domain/shared/read-ship-messages.d.ts +4 -1
- package/dist/domain/shared/read-ship-messages.js +6 -1
- package/dist/domain/shared/read-ship-messages.js.map +1 -1
- package/dist/domain/shared/read-ship-way.d.ts +41 -0
- package/dist/domain/shared/read-ship-way.js +39 -0
- package/dist/domain/shared/read-ship-way.js.map +1 -0
- package/dist/repeating-pass.d.ts +15 -0
- package/dist/repeating-pass.js +31 -0
- package/dist/repeating-pass.js.map +1 -0
- package/dist/wiring.d.ts +19 -0
- package/dist/wiring.js +25 -0
- package/dist/wiring.js.map +1 -1
- package/package.json +2 -2
- package/src/adapters/prisma/migrations/20261012190000_delivery_handed/migration.sql +11 -0
- package/src/adapters/prisma/migrations/20261012210000_push_receive/migration.sql +7 -0
- package/src/adapters/prisma/migrations/20261013090000_handled/migration.sql +6 -0
- package/src/adapters/prisma/migrations/20261013100000_turn/migration.sql +6 -0
- package/src/adapters/prisma/migrations/20261013120000_overdue/migration.sql +28 -0
- package/src/adapters/prisma/migrations/20261013140000_delivery_state_index/migration.sql +4 -0
- package/src/adapters/prisma/schema.prisma +69 -6
|
@@ -37,6 +37,9 @@ export type LeaseMinAggregateOutputType = {
|
|
|
37
37
|
reportNote: string | null;
|
|
38
38
|
reportedAt: Date | null;
|
|
39
39
|
reportDetailsVersion: number | null;
|
|
40
|
+
pushedAt: Date | null;
|
|
41
|
+
turn: $Enums.TurnState | null;
|
|
42
|
+
turnAt: Date | null;
|
|
40
43
|
endedAt: Date | null;
|
|
41
44
|
};
|
|
42
45
|
export type LeaseMaxAggregateOutputType = {
|
|
@@ -53,6 +56,9 @@ export type LeaseMaxAggregateOutputType = {
|
|
|
53
56
|
reportNote: string | null;
|
|
54
57
|
reportedAt: Date | null;
|
|
55
58
|
reportDetailsVersion: number | null;
|
|
59
|
+
pushedAt: Date | null;
|
|
60
|
+
turn: $Enums.TurnState | null;
|
|
61
|
+
turnAt: Date | null;
|
|
56
62
|
endedAt: Date | null;
|
|
57
63
|
};
|
|
58
64
|
export type LeaseCountAggregateOutputType = {
|
|
@@ -70,6 +76,9 @@ export type LeaseCountAggregateOutputType = {
|
|
|
70
76
|
reportedAt: number;
|
|
71
77
|
reportDetails: number;
|
|
72
78
|
reportDetailsVersion: number;
|
|
79
|
+
pushedAt: number;
|
|
80
|
+
turn: number;
|
|
81
|
+
turnAt: number;
|
|
73
82
|
endedAt: number;
|
|
74
83
|
_all: number;
|
|
75
84
|
};
|
|
@@ -93,6 +102,9 @@ export type LeaseMinAggregateInputType = {
|
|
|
93
102
|
reportNote?: true;
|
|
94
103
|
reportedAt?: true;
|
|
95
104
|
reportDetailsVersion?: true;
|
|
105
|
+
pushedAt?: true;
|
|
106
|
+
turn?: true;
|
|
107
|
+
turnAt?: true;
|
|
96
108
|
endedAt?: true;
|
|
97
109
|
};
|
|
98
110
|
export type LeaseMaxAggregateInputType = {
|
|
@@ -109,6 +121,9 @@ export type LeaseMaxAggregateInputType = {
|
|
|
109
121
|
reportNote?: true;
|
|
110
122
|
reportedAt?: true;
|
|
111
123
|
reportDetailsVersion?: true;
|
|
124
|
+
pushedAt?: true;
|
|
125
|
+
turn?: true;
|
|
126
|
+
turnAt?: true;
|
|
112
127
|
endedAt?: true;
|
|
113
128
|
};
|
|
114
129
|
export type LeaseCountAggregateInputType = {
|
|
@@ -126,6 +141,9 @@ export type LeaseCountAggregateInputType = {
|
|
|
126
141
|
reportedAt?: true;
|
|
127
142
|
reportDetails?: true;
|
|
128
143
|
reportDetailsVersion?: true;
|
|
144
|
+
pushedAt?: true;
|
|
145
|
+
turn?: true;
|
|
146
|
+
turnAt?: true;
|
|
129
147
|
endedAt?: true;
|
|
130
148
|
_all?: true;
|
|
131
149
|
};
|
|
@@ -220,6 +238,9 @@ export type LeaseGroupByOutputType = {
|
|
|
220
238
|
reportedAt: Date | null;
|
|
221
239
|
reportDetails: runtime.JsonValue | null;
|
|
222
240
|
reportDetailsVersion: number;
|
|
241
|
+
pushedAt: Date | null;
|
|
242
|
+
turn: $Enums.TurnState | null;
|
|
243
|
+
turnAt: Date | null;
|
|
223
244
|
endedAt: Date | null;
|
|
224
245
|
_count: LeaseCountAggregateOutputType | null;
|
|
225
246
|
_avg: LeaseAvgAggregateOutputType | null;
|
|
@@ -248,11 +269,15 @@ export type LeaseWhereInput = {
|
|
|
248
269
|
reportedAt?: Prisma.DateTimeNullableFilter<"Lease"> | Date | string | null;
|
|
249
270
|
reportDetails?: Prisma.JsonNullableFilter<"Lease">;
|
|
250
271
|
reportDetailsVersion?: Prisma.IntFilter<"Lease"> | number;
|
|
272
|
+
pushedAt?: Prisma.DateTimeNullableFilter<"Lease"> | Date | string | null;
|
|
273
|
+
turn?: Prisma.EnumTurnStateNullableFilter<"Lease"> | $Enums.TurnState | null;
|
|
274
|
+
turnAt?: Prisma.DateTimeNullableFilter<"Lease"> | Date | string | null;
|
|
251
275
|
endedAt?: Prisma.DateTimeNullableFilter<"Lease"> | Date | string | null;
|
|
252
276
|
fleet?: Prisma.XOR<Prisma.FleetScalarRelationFilter, Prisma.FleetWhereInput>;
|
|
253
277
|
ship?: Prisma.XOR<Prisma.ShipScalarRelationFilter, Prisma.ShipWhereInput>;
|
|
254
278
|
consoleSessions?: Prisma.ConsoleSessionListRelationFilter;
|
|
255
279
|
claimedDeliveries?: Prisma.DeliveryListRelationFilter;
|
|
280
|
+
overdueDeliveries?: Prisma.OverdueDeliveryListRelationFilter;
|
|
256
281
|
};
|
|
257
282
|
export type LeaseOrderByWithRelationInput = {
|
|
258
283
|
id?: Prisma.SortOrder;
|
|
@@ -269,11 +294,15 @@ export type LeaseOrderByWithRelationInput = {
|
|
|
269
294
|
reportedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
270
295
|
reportDetails?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
271
296
|
reportDetailsVersion?: Prisma.SortOrder;
|
|
297
|
+
pushedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
298
|
+
turn?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
299
|
+
turnAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
272
300
|
endedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
273
301
|
fleet?: Prisma.FleetOrderByWithRelationInput;
|
|
274
302
|
ship?: Prisma.ShipOrderByWithRelationInput;
|
|
275
303
|
consoleSessions?: Prisma.ConsoleSessionOrderByRelationAggregateInput;
|
|
276
304
|
claimedDeliveries?: Prisma.DeliveryOrderByRelationAggregateInput;
|
|
305
|
+
overdueDeliveries?: Prisma.OverdueDeliveryOrderByRelationAggregateInput;
|
|
277
306
|
};
|
|
278
307
|
export type LeaseWhereUniqueInput = Prisma.AtLeast<{
|
|
279
308
|
id?: string;
|
|
@@ -294,11 +323,15 @@ export type LeaseWhereUniqueInput = Prisma.AtLeast<{
|
|
|
294
323
|
reportedAt?: Prisma.DateTimeNullableFilter<"Lease"> | Date | string | null;
|
|
295
324
|
reportDetails?: Prisma.JsonNullableFilter<"Lease">;
|
|
296
325
|
reportDetailsVersion?: Prisma.IntFilter<"Lease"> | number;
|
|
326
|
+
pushedAt?: Prisma.DateTimeNullableFilter<"Lease"> | Date | string | null;
|
|
327
|
+
turn?: Prisma.EnumTurnStateNullableFilter<"Lease"> | $Enums.TurnState | null;
|
|
328
|
+
turnAt?: Prisma.DateTimeNullableFilter<"Lease"> | Date | string | null;
|
|
297
329
|
endedAt?: Prisma.DateTimeNullableFilter<"Lease"> | Date | string | null;
|
|
298
330
|
fleet?: Prisma.XOR<Prisma.FleetScalarRelationFilter, Prisma.FleetWhereInput>;
|
|
299
331
|
ship?: Prisma.XOR<Prisma.ShipScalarRelationFilter, Prisma.ShipWhereInput>;
|
|
300
332
|
consoleSessions?: Prisma.ConsoleSessionListRelationFilter;
|
|
301
333
|
claimedDeliveries?: Prisma.DeliveryListRelationFilter;
|
|
334
|
+
overdueDeliveries?: Prisma.OverdueDeliveryListRelationFilter;
|
|
302
335
|
}, "id" | "crewTokenHash" | "fleetId_id" | "shipId">;
|
|
303
336
|
export type LeaseOrderByWithAggregationInput = {
|
|
304
337
|
id?: Prisma.SortOrder;
|
|
@@ -315,6 +348,9 @@ export type LeaseOrderByWithAggregationInput = {
|
|
|
315
348
|
reportedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
316
349
|
reportDetails?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
317
350
|
reportDetailsVersion?: Prisma.SortOrder;
|
|
351
|
+
pushedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
352
|
+
turn?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
353
|
+
turnAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
318
354
|
endedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
319
355
|
_count?: Prisma.LeaseCountOrderByAggregateInput;
|
|
320
356
|
_avg?: Prisma.LeaseAvgOrderByAggregateInput;
|
|
@@ -340,6 +376,9 @@ export type LeaseScalarWhereWithAggregatesInput = {
|
|
|
340
376
|
reportedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"Lease"> | Date | string | null;
|
|
341
377
|
reportDetails?: Prisma.JsonNullableWithAggregatesFilter<"Lease">;
|
|
342
378
|
reportDetailsVersion?: Prisma.IntWithAggregatesFilter<"Lease"> | number;
|
|
379
|
+
pushedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"Lease"> | Date | string | null;
|
|
380
|
+
turn?: Prisma.EnumTurnStateNullableWithAggregatesFilter<"Lease"> | $Enums.TurnState | null;
|
|
381
|
+
turnAt?: Prisma.DateTimeNullableWithAggregatesFilter<"Lease"> | Date | string | null;
|
|
343
382
|
endedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"Lease"> | Date | string | null;
|
|
344
383
|
};
|
|
345
384
|
export type LeaseCreateInput = {
|
|
@@ -355,11 +394,15 @@ export type LeaseCreateInput = {
|
|
|
355
394
|
reportedAt?: Date | string | null;
|
|
356
395
|
reportDetails?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
357
396
|
reportDetailsVersion?: number;
|
|
397
|
+
pushedAt?: Date | string | null;
|
|
398
|
+
turn?: $Enums.TurnState | null;
|
|
399
|
+
turnAt?: Date | string | null;
|
|
358
400
|
endedAt?: Date | string | null;
|
|
359
401
|
fleet: Prisma.FleetCreateNestedOneWithoutLeasesInput;
|
|
360
402
|
ship: Prisma.ShipCreateNestedOneWithoutLeasesInput;
|
|
361
403
|
consoleSessions?: Prisma.ConsoleSessionCreateNestedManyWithoutLeaseInput;
|
|
362
404
|
claimedDeliveries?: Prisma.DeliveryCreateNestedManyWithoutClaimedByLeaseInput;
|
|
405
|
+
overdueDeliveries?: Prisma.OverdueDeliveryCreateNestedManyWithoutLeaseInput;
|
|
363
406
|
};
|
|
364
407
|
export type LeaseUncheckedCreateInput = {
|
|
365
408
|
id: string;
|
|
@@ -376,9 +419,13 @@ export type LeaseUncheckedCreateInput = {
|
|
|
376
419
|
reportedAt?: Date | string | null;
|
|
377
420
|
reportDetails?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
378
421
|
reportDetailsVersion?: number;
|
|
422
|
+
pushedAt?: Date | string | null;
|
|
423
|
+
turn?: $Enums.TurnState | null;
|
|
424
|
+
turnAt?: Date | string | null;
|
|
379
425
|
endedAt?: Date | string | null;
|
|
380
426
|
consoleSessions?: Prisma.ConsoleSessionUncheckedCreateNestedManyWithoutLeaseInput;
|
|
381
427
|
claimedDeliveries?: Prisma.DeliveryUncheckedCreateNestedManyWithoutClaimedByLeaseInput;
|
|
428
|
+
overdueDeliveries?: Prisma.OverdueDeliveryUncheckedCreateNestedManyWithoutLeaseInput;
|
|
382
429
|
};
|
|
383
430
|
export type LeaseUpdateInput = {
|
|
384
431
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -393,11 +440,15 @@ export type LeaseUpdateInput = {
|
|
|
393
440
|
reportedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
394
441
|
reportDetails?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
395
442
|
reportDetailsVersion?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
443
|
+
pushedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
444
|
+
turn?: Prisma.NullableEnumTurnStateFieldUpdateOperationsInput | $Enums.TurnState | null;
|
|
445
|
+
turnAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
396
446
|
endedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
397
447
|
fleet?: Prisma.FleetUpdateOneRequiredWithoutLeasesNestedInput;
|
|
398
448
|
ship?: Prisma.ShipUpdateOneRequiredWithoutLeasesNestedInput;
|
|
399
449
|
consoleSessions?: Prisma.ConsoleSessionUpdateManyWithoutLeaseNestedInput;
|
|
400
450
|
claimedDeliveries?: Prisma.DeliveryUpdateManyWithoutClaimedByLeaseNestedInput;
|
|
451
|
+
overdueDeliveries?: Prisma.OverdueDeliveryUpdateManyWithoutLeaseNestedInput;
|
|
401
452
|
};
|
|
402
453
|
export type LeaseUncheckedUpdateInput = {
|
|
403
454
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -414,9 +465,13 @@ export type LeaseUncheckedUpdateInput = {
|
|
|
414
465
|
reportedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
415
466
|
reportDetails?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
416
467
|
reportDetailsVersion?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
468
|
+
pushedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
469
|
+
turn?: Prisma.NullableEnumTurnStateFieldUpdateOperationsInput | $Enums.TurnState | null;
|
|
470
|
+
turnAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
417
471
|
endedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
418
472
|
consoleSessions?: Prisma.ConsoleSessionUncheckedUpdateManyWithoutLeaseNestedInput;
|
|
419
473
|
claimedDeliveries?: Prisma.DeliveryUncheckedUpdateManyWithoutClaimedByLeaseNestedInput;
|
|
474
|
+
overdueDeliveries?: Prisma.OverdueDeliveryUncheckedUpdateManyWithoutLeaseNestedInput;
|
|
420
475
|
};
|
|
421
476
|
export type LeaseCreateManyInput = {
|
|
422
477
|
id: string;
|
|
@@ -433,6 +488,9 @@ export type LeaseCreateManyInput = {
|
|
|
433
488
|
reportedAt?: Date | string | null;
|
|
434
489
|
reportDetails?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
435
490
|
reportDetailsVersion?: number;
|
|
491
|
+
pushedAt?: Date | string | null;
|
|
492
|
+
turn?: $Enums.TurnState | null;
|
|
493
|
+
turnAt?: Date | string | null;
|
|
436
494
|
endedAt?: Date | string | null;
|
|
437
495
|
};
|
|
438
496
|
export type LeaseUpdateManyMutationInput = {
|
|
@@ -448,6 +506,9 @@ export type LeaseUpdateManyMutationInput = {
|
|
|
448
506
|
reportedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
449
507
|
reportDetails?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
450
508
|
reportDetailsVersion?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
509
|
+
pushedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
510
|
+
turn?: Prisma.NullableEnumTurnStateFieldUpdateOperationsInput | $Enums.TurnState | null;
|
|
511
|
+
turnAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
451
512
|
endedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
452
513
|
};
|
|
453
514
|
export type LeaseUncheckedUpdateManyInput = {
|
|
@@ -465,6 +526,9 @@ export type LeaseUncheckedUpdateManyInput = {
|
|
|
465
526
|
reportedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
466
527
|
reportDetails?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
467
528
|
reportDetailsVersion?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
529
|
+
pushedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
530
|
+
turn?: Prisma.NullableEnumTurnStateFieldUpdateOperationsInput | $Enums.TurnState | null;
|
|
531
|
+
turnAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
468
532
|
endedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
469
533
|
};
|
|
470
534
|
export type LeaseListRelationFilter = {
|
|
@@ -494,6 +558,9 @@ export type LeaseCountOrderByAggregateInput = {
|
|
|
494
558
|
reportedAt?: Prisma.SortOrder;
|
|
495
559
|
reportDetails?: Prisma.SortOrder;
|
|
496
560
|
reportDetailsVersion?: Prisma.SortOrder;
|
|
561
|
+
pushedAt?: Prisma.SortOrder;
|
|
562
|
+
turn?: Prisma.SortOrder;
|
|
563
|
+
turnAt?: Prisma.SortOrder;
|
|
497
564
|
endedAt?: Prisma.SortOrder;
|
|
498
565
|
};
|
|
499
566
|
export type LeaseAvgOrderByAggregateInput = {
|
|
@@ -513,6 +580,9 @@ export type LeaseMaxOrderByAggregateInput = {
|
|
|
513
580
|
reportNote?: Prisma.SortOrder;
|
|
514
581
|
reportedAt?: Prisma.SortOrder;
|
|
515
582
|
reportDetailsVersion?: Prisma.SortOrder;
|
|
583
|
+
pushedAt?: Prisma.SortOrder;
|
|
584
|
+
turn?: Prisma.SortOrder;
|
|
585
|
+
turnAt?: Prisma.SortOrder;
|
|
516
586
|
endedAt?: Prisma.SortOrder;
|
|
517
587
|
};
|
|
518
588
|
export type LeaseMinOrderByAggregateInput = {
|
|
@@ -529,6 +599,9 @@ export type LeaseMinOrderByAggregateInput = {
|
|
|
529
599
|
reportNote?: Prisma.SortOrder;
|
|
530
600
|
reportedAt?: Prisma.SortOrder;
|
|
531
601
|
reportDetailsVersion?: Prisma.SortOrder;
|
|
602
|
+
pushedAt?: Prisma.SortOrder;
|
|
603
|
+
turn?: Prisma.SortOrder;
|
|
604
|
+
turnAt?: Prisma.SortOrder;
|
|
532
605
|
endedAt?: Prisma.SortOrder;
|
|
533
606
|
};
|
|
534
607
|
export type LeaseSumOrderByAggregateInput = {
|
|
@@ -538,6 +611,10 @@ export type LeaseNullableScalarRelationFilter = {
|
|
|
538
611
|
is?: Prisma.LeaseWhereInput | null;
|
|
539
612
|
isNot?: Prisma.LeaseWhereInput | null;
|
|
540
613
|
};
|
|
614
|
+
export type LeaseScalarRelationFilter = {
|
|
615
|
+
is?: Prisma.LeaseWhereInput;
|
|
616
|
+
isNot?: Prisma.LeaseWhereInput;
|
|
617
|
+
};
|
|
541
618
|
export type LeaseCreateNestedManyWithoutFleetInput = {
|
|
542
619
|
create?: Prisma.XOR<Prisma.LeaseCreateWithoutFleetInput, Prisma.LeaseUncheckedCreateWithoutFleetInput> | Prisma.LeaseCreateWithoutFleetInput[] | Prisma.LeaseUncheckedCreateWithoutFleetInput[];
|
|
543
620
|
connectOrCreate?: Prisma.LeaseCreateOrConnectWithoutFleetInput | Prisma.LeaseCreateOrConnectWithoutFleetInput[];
|
|
@@ -627,6 +704,9 @@ export type IntFieldUpdateOperationsInput = {
|
|
|
627
704
|
multiply?: number;
|
|
628
705
|
divide?: number;
|
|
629
706
|
};
|
|
707
|
+
export type NullableEnumTurnStateFieldUpdateOperationsInput = {
|
|
708
|
+
set?: $Enums.TurnState | null;
|
|
709
|
+
};
|
|
630
710
|
export type LeaseCreateNestedOneWithoutClaimedDeliveriesInput = {
|
|
631
711
|
create?: Prisma.XOR<Prisma.LeaseCreateWithoutClaimedDeliveriesInput, Prisma.LeaseUncheckedCreateWithoutClaimedDeliveriesInput>;
|
|
632
712
|
connectOrCreate?: Prisma.LeaseCreateOrConnectWithoutClaimedDeliveriesInput;
|
|
@@ -641,6 +721,18 @@ export type LeaseUpdateOneWithoutClaimedDeliveriesNestedInput = {
|
|
|
641
721
|
connect?: Prisma.LeaseWhereUniqueInput;
|
|
642
722
|
update?: Prisma.XOR<Prisma.XOR<Prisma.LeaseUpdateToOneWithWhereWithoutClaimedDeliveriesInput, Prisma.LeaseUpdateWithoutClaimedDeliveriesInput>, Prisma.LeaseUncheckedUpdateWithoutClaimedDeliveriesInput>;
|
|
643
723
|
};
|
|
724
|
+
export type LeaseCreateNestedOneWithoutOverdueDeliveriesInput = {
|
|
725
|
+
create?: Prisma.XOR<Prisma.LeaseCreateWithoutOverdueDeliveriesInput, Prisma.LeaseUncheckedCreateWithoutOverdueDeliveriesInput>;
|
|
726
|
+
connectOrCreate?: Prisma.LeaseCreateOrConnectWithoutOverdueDeliveriesInput;
|
|
727
|
+
connect?: Prisma.LeaseWhereUniqueInput;
|
|
728
|
+
};
|
|
729
|
+
export type LeaseUpdateOneRequiredWithoutOverdueDeliveriesNestedInput = {
|
|
730
|
+
create?: Prisma.XOR<Prisma.LeaseCreateWithoutOverdueDeliveriesInput, Prisma.LeaseUncheckedCreateWithoutOverdueDeliveriesInput>;
|
|
731
|
+
connectOrCreate?: Prisma.LeaseCreateOrConnectWithoutOverdueDeliveriesInput;
|
|
732
|
+
upsert?: Prisma.LeaseUpsertWithoutOverdueDeliveriesInput;
|
|
733
|
+
connect?: Prisma.LeaseWhereUniqueInput;
|
|
734
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.LeaseUpdateToOneWithWhereWithoutOverdueDeliveriesInput, Prisma.LeaseUpdateWithoutOverdueDeliveriesInput>, Prisma.LeaseUncheckedUpdateWithoutOverdueDeliveriesInput>;
|
|
735
|
+
};
|
|
644
736
|
export type LeaseCreateNestedOneWithoutConsoleSessionsInput = {
|
|
645
737
|
create?: Prisma.XOR<Prisma.LeaseCreateWithoutConsoleSessionsInput, Prisma.LeaseUncheckedCreateWithoutConsoleSessionsInput>;
|
|
646
738
|
connectOrCreate?: Prisma.LeaseCreateOrConnectWithoutConsoleSessionsInput;
|
|
@@ -668,10 +760,14 @@ export type LeaseCreateWithoutFleetInput = {
|
|
|
668
760
|
reportedAt?: Date | string | null;
|
|
669
761
|
reportDetails?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
670
762
|
reportDetailsVersion?: number;
|
|
763
|
+
pushedAt?: Date | string | null;
|
|
764
|
+
turn?: $Enums.TurnState | null;
|
|
765
|
+
turnAt?: Date | string | null;
|
|
671
766
|
endedAt?: Date | string | null;
|
|
672
767
|
ship: Prisma.ShipCreateNestedOneWithoutLeasesInput;
|
|
673
768
|
consoleSessions?: Prisma.ConsoleSessionCreateNestedManyWithoutLeaseInput;
|
|
674
769
|
claimedDeliveries?: Prisma.DeliveryCreateNestedManyWithoutClaimedByLeaseInput;
|
|
770
|
+
overdueDeliveries?: Prisma.OverdueDeliveryCreateNestedManyWithoutLeaseInput;
|
|
675
771
|
};
|
|
676
772
|
export type LeaseUncheckedCreateWithoutFleetInput = {
|
|
677
773
|
id: string;
|
|
@@ -687,9 +783,13 @@ export type LeaseUncheckedCreateWithoutFleetInput = {
|
|
|
687
783
|
reportedAt?: Date | string | null;
|
|
688
784
|
reportDetails?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
689
785
|
reportDetailsVersion?: number;
|
|
786
|
+
pushedAt?: Date | string | null;
|
|
787
|
+
turn?: $Enums.TurnState | null;
|
|
788
|
+
turnAt?: Date | string | null;
|
|
690
789
|
endedAt?: Date | string | null;
|
|
691
790
|
consoleSessions?: Prisma.ConsoleSessionUncheckedCreateNestedManyWithoutLeaseInput;
|
|
692
791
|
claimedDeliveries?: Prisma.DeliveryUncheckedCreateNestedManyWithoutClaimedByLeaseInput;
|
|
792
|
+
overdueDeliveries?: Prisma.OverdueDeliveryUncheckedCreateNestedManyWithoutLeaseInput;
|
|
693
793
|
};
|
|
694
794
|
export type LeaseCreateOrConnectWithoutFleetInput = {
|
|
695
795
|
where: Prisma.LeaseWhereUniqueInput;
|
|
@@ -730,6 +830,9 @@ export type LeaseScalarWhereInput = {
|
|
|
730
830
|
reportedAt?: Prisma.DateTimeNullableFilter<"Lease"> | Date | string | null;
|
|
731
831
|
reportDetails?: Prisma.JsonNullableFilter<"Lease">;
|
|
732
832
|
reportDetailsVersion?: Prisma.IntFilter<"Lease"> | number;
|
|
833
|
+
pushedAt?: Prisma.DateTimeNullableFilter<"Lease"> | Date | string | null;
|
|
834
|
+
turn?: Prisma.EnumTurnStateNullableFilter<"Lease"> | $Enums.TurnState | null;
|
|
835
|
+
turnAt?: Prisma.DateTimeNullableFilter<"Lease"> | Date | string | null;
|
|
733
836
|
endedAt?: Prisma.DateTimeNullableFilter<"Lease"> | Date | string | null;
|
|
734
837
|
};
|
|
735
838
|
export type LeaseCreateWithoutShipInput = {
|
|
@@ -745,10 +848,14 @@ export type LeaseCreateWithoutShipInput = {
|
|
|
745
848
|
reportedAt?: Date | string | null;
|
|
746
849
|
reportDetails?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
747
850
|
reportDetailsVersion?: number;
|
|
851
|
+
pushedAt?: Date | string | null;
|
|
852
|
+
turn?: $Enums.TurnState | null;
|
|
853
|
+
turnAt?: Date | string | null;
|
|
748
854
|
endedAt?: Date | string | null;
|
|
749
855
|
fleet: Prisma.FleetCreateNestedOneWithoutLeasesInput;
|
|
750
856
|
consoleSessions?: Prisma.ConsoleSessionCreateNestedManyWithoutLeaseInput;
|
|
751
857
|
claimedDeliveries?: Prisma.DeliveryCreateNestedManyWithoutClaimedByLeaseInput;
|
|
858
|
+
overdueDeliveries?: Prisma.OverdueDeliveryCreateNestedManyWithoutLeaseInput;
|
|
752
859
|
};
|
|
753
860
|
export type LeaseUncheckedCreateWithoutShipInput = {
|
|
754
861
|
id: string;
|
|
@@ -763,9 +870,13 @@ export type LeaseUncheckedCreateWithoutShipInput = {
|
|
|
763
870
|
reportedAt?: Date | string | null;
|
|
764
871
|
reportDetails?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
765
872
|
reportDetailsVersion?: number;
|
|
873
|
+
pushedAt?: Date | string | null;
|
|
874
|
+
turn?: $Enums.TurnState | null;
|
|
875
|
+
turnAt?: Date | string | null;
|
|
766
876
|
endedAt?: Date | string | null;
|
|
767
877
|
consoleSessions?: Prisma.ConsoleSessionUncheckedCreateNestedManyWithoutLeaseInput;
|
|
768
878
|
claimedDeliveries?: Prisma.DeliveryUncheckedCreateNestedManyWithoutClaimedByLeaseInput;
|
|
879
|
+
overdueDeliveries?: Prisma.OverdueDeliveryUncheckedCreateNestedManyWithoutLeaseInput;
|
|
769
880
|
};
|
|
770
881
|
export type LeaseCreateOrConnectWithoutShipInput = {
|
|
771
882
|
where: Prisma.LeaseWhereUniqueInput;
|
|
@@ -801,10 +912,14 @@ export type LeaseCreateWithoutClaimedDeliveriesInput = {
|
|
|
801
912
|
reportedAt?: Date | string | null;
|
|
802
913
|
reportDetails?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
803
914
|
reportDetailsVersion?: number;
|
|
915
|
+
pushedAt?: Date | string | null;
|
|
916
|
+
turn?: $Enums.TurnState | null;
|
|
917
|
+
turnAt?: Date | string | null;
|
|
804
918
|
endedAt?: Date | string | null;
|
|
805
919
|
fleet: Prisma.FleetCreateNestedOneWithoutLeasesInput;
|
|
806
920
|
ship: Prisma.ShipCreateNestedOneWithoutLeasesInput;
|
|
807
921
|
consoleSessions?: Prisma.ConsoleSessionCreateNestedManyWithoutLeaseInput;
|
|
922
|
+
overdueDeliveries?: Prisma.OverdueDeliveryCreateNestedManyWithoutLeaseInput;
|
|
808
923
|
};
|
|
809
924
|
export type LeaseUncheckedCreateWithoutClaimedDeliveriesInput = {
|
|
810
925
|
id: string;
|
|
@@ -821,8 +936,12 @@ export type LeaseUncheckedCreateWithoutClaimedDeliveriesInput = {
|
|
|
821
936
|
reportedAt?: Date | string | null;
|
|
822
937
|
reportDetails?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
823
938
|
reportDetailsVersion?: number;
|
|
939
|
+
pushedAt?: Date | string | null;
|
|
940
|
+
turn?: $Enums.TurnState | null;
|
|
941
|
+
turnAt?: Date | string | null;
|
|
824
942
|
endedAt?: Date | string | null;
|
|
825
943
|
consoleSessions?: Prisma.ConsoleSessionUncheckedCreateNestedManyWithoutLeaseInput;
|
|
944
|
+
overdueDeliveries?: Prisma.OverdueDeliveryUncheckedCreateNestedManyWithoutLeaseInput;
|
|
826
945
|
};
|
|
827
946
|
export type LeaseCreateOrConnectWithoutClaimedDeliveriesInput = {
|
|
828
947
|
where: Prisma.LeaseWhereUniqueInput;
|
|
@@ -850,10 +969,14 @@ export type LeaseUpdateWithoutClaimedDeliveriesInput = {
|
|
|
850
969
|
reportedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
851
970
|
reportDetails?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
852
971
|
reportDetailsVersion?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
972
|
+
pushedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
973
|
+
turn?: Prisma.NullableEnumTurnStateFieldUpdateOperationsInput | $Enums.TurnState | null;
|
|
974
|
+
turnAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
853
975
|
endedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
854
976
|
fleet?: Prisma.FleetUpdateOneRequiredWithoutLeasesNestedInput;
|
|
855
977
|
ship?: Prisma.ShipUpdateOneRequiredWithoutLeasesNestedInput;
|
|
856
978
|
consoleSessions?: Prisma.ConsoleSessionUpdateManyWithoutLeaseNestedInput;
|
|
979
|
+
overdueDeliveries?: Prisma.OverdueDeliveryUpdateManyWithoutLeaseNestedInput;
|
|
857
980
|
};
|
|
858
981
|
export type LeaseUncheckedUpdateWithoutClaimedDeliveriesInput = {
|
|
859
982
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -870,8 +993,113 @@ export type LeaseUncheckedUpdateWithoutClaimedDeliveriesInput = {
|
|
|
870
993
|
reportedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
871
994
|
reportDetails?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
872
995
|
reportDetailsVersion?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
996
|
+
pushedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
997
|
+
turn?: Prisma.NullableEnumTurnStateFieldUpdateOperationsInput | $Enums.TurnState | null;
|
|
998
|
+
turnAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
999
|
+
endedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1000
|
+
consoleSessions?: Prisma.ConsoleSessionUncheckedUpdateManyWithoutLeaseNestedInput;
|
|
1001
|
+
overdueDeliveries?: Prisma.OverdueDeliveryUncheckedUpdateManyWithoutLeaseNestedInput;
|
|
1002
|
+
};
|
|
1003
|
+
export type LeaseCreateWithoutOverdueDeliveriesInput = {
|
|
1004
|
+
id: string;
|
|
1005
|
+
location: $Enums.LocationKind;
|
|
1006
|
+
locationDescription?: string | null;
|
|
1007
|
+
harness?: string | null;
|
|
1008
|
+
crewTokenHash?: string | null;
|
|
1009
|
+
startedAt: Date | string;
|
|
1010
|
+
lastSeenAt?: Date | string | null;
|
|
1011
|
+
reportState?: $Enums.ReportState | null;
|
|
1012
|
+
reportNote?: string | null;
|
|
1013
|
+
reportedAt?: Date | string | null;
|
|
1014
|
+
reportDetails?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1015
|
+
reportDetailsVersion?: number;
|
|
1016
|
+
pushedAt?: Date | string | null;
|
|
1017
|
+
turn?: $Enums.TurnState | null;
|
|
1018
|
+
turnAt?: Date | string | null;
|
|
1019
|
+
endedAt?: Date | string | null;
|
|
1020
|
+
fleet: Prisma.FleetCreateNestedOneWithoutLeasesInput;
|
|
1021
|
+
ship: Prisma.ShipCreateNestedOneWithoutLeasesInput;
|
|
1022
|
+
consoleSessions?: Prisma.ConsoleSessionCreateNestedManyWithoutLeaseInput;
|
|
1023
|
+
claimedDeliveries?: Prisma.DeliveryCreateNestedManyWithoutClaimedByLeaseInput;
|
|
1024
|
+
};
|
|
1025
|
+
export type LeaseUncheckedCreateWithoutOverdueDeliveriesInput = {
|
|
1026
|
+
id: string;
|
|
1027
|
+
fleetId: string;
|
|
1028
|
+
shipId: string;
|
|
1029
|
+
location: $Enums.LocationKind;
|
|
1030
|
+
locationDescription?: string | null;
|
|
1031
|
+
harness?: string | null;
|
|
1032
|
+
crewTokenHash?: string | null;
|
|
1033
|
+
startedAt: Date | string;
|
|
1034
|
+
lastSeenAt?: Date | string | null;
|
|
1035
|
+
reportState?: $Enums.ReportState | null;
|
|
1036
|
+
reportNote?: string | null;
|
|
1037
|
+
reportedAt?: Date | string | null;
|
|
1038
|
+
reportDetails?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1039
|
+
reportDetailsVersion?: number;
|
|
1040
|
+
pushedAt?: Date | string | null;
|
|
1041
|
+
turn?: $Enums.TurnState | null;
|
|
1042
|
+
turnAt?: Date | string | null;
|
|
1043
|
+
endedAt?: Date | string | null;
|
|
1044
|
+
consoleSessions?: Prisma.ConsoleSessionUncheckedCreateNestedManyWithoutLeaseInput;
|
|
1045
|
+
claimedDeliveries?: Prisma.DeliveryUncheckedCreateNestedManyWithoutClaimedByLeaseInput;
|
|
1046
|
+
};
|
|
1047
|
+
export type LeaseCreateOrConnectWithoutOverdueDeliveriesInput = {
|
|
1048
|
+
where: Prisma.LeaseWhereUniqueInput;
|
|
1049
|
+
create: Prisma.XOR<Prisma.LeaseCreateWithoutOverdueDeliveriesInput, Prisma.LeaseUncheckedCreateWithoutOverdueDeliveriesInput>;
|
|
1050
|
+
};
|
|
1051
|
+
export type LeaseUpsertWithoutOverdueDeliveriesInput = {
|
|
1052
|
+
update: Prisma.XOR<Prisma.LeaseUpdateWithoutOverdueDeliveriesInput, Prisma.LeaseUncheckedUpdateWithoutOverdueDeliveriesInput>;
|
|
1053
|
+
create: Prisma.XOR<Prisma.LeaseCreateWithoutOverdueDeliveriesInput, Prisma.LeaseUncheckedCreateWithoutOverdueDeliveriesInput>;
|
|
1054
|
+
where?: Prisma.LeaseWhereInput;
|
|
1055
|
+
};
|
|
1056
|
+
export type LeaseUpdateToOneWithWhereWithoutOverdueDeliveriesInput = {
|
|
1057
|
+
where?: Prisma.LeaseWhereInput;
|
|
1058
|
+
data: Prisma.XOR<Prisma.LeaseUpdateWithoutOverdueDeliveriesInput, Prisma.LeaseUncheckedUpdateWithoutOverdueDeliveriesInput>;
|
|
1059
|
+
};
|
|
1060
|
+
export type LeaseUpdateWithoutOverdueDeliveriesInput = {
|
|
1061
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1062
|
+
location?: Prisma.EnumLocationKindFieldUpdateOperationsInput | $Enums.LocationKind;
|
|
1063
|
+
locationDescription?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1064
|
+
harness?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1065
|
+
crewTokenHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1066
|
+
startedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1067
|
+
lastSeenAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1068
|
+
reportState?: Prisma.NullableEnumReportStateFieldUpdateOperationsInput | $Enums.ReportState | null;
|
|
1069
|
+
reportNote?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1070
|
+
reportedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1071
|
+
reportDetails?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1072
|
+
reportDetailsVersion?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1073
|
+
pushedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1074
|
+
turn?: Prisma.NullableEnumTurnStateFieldUpdateOperationsInput | $Enums.TurnState | null;
|
|
1075
|
+
turnAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1076
|
+
endedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1077
|
+
fleet?: Prisma.FleetUpdateOneRequiredWithoutLeasesNestedInput;
|
|
1078
|
+
ship?: Prisma.ShipUpdateOneRequiredWithoutLeasesNestedInput;
|
|
1079
|
+
consoleSessions?: Prisma.ConsoleSessionUpdateManyWithoutLeaseNestedInput;
|
|
1080
|
+
claimedDeliveries?: Prisma.DeliveryUpdateManyWithoutClaimedByLeaseNestedInput;
|
|
1081
|
+
};
|
|
1082
|
+
export type LeaseUncheckedUpdateWithoutOverdueDeliveriesInput = {
|
|
1083
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1084
|
+
fleetId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1085
|
+
shipId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1086
|
+
location?: Prisma.EnumLocationKindFieldUpdateOperationsInput | $Enums.LocationKind;
|
|
1087
|
+
locationDescription?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1088
|
+
harness?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1089
|
+
crewTokenHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1090
|
+
startedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1091
|
+
lastSeenAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1092
|
+
reportState?: Prisma.NullableEnumReportStateFieldUpdateOperationsInput | $Enums.ReportState | null;
|
|
1093
|
+
reportNote?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1094
|
+
reportedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1095
|
+
reportDetails?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1096
|
+
reportDetailsVersion?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1097
|
+
pushedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1098
|
+
turn?: Prisma.NullableEnumTurnStateFieldUpdateOperationsInput | $Enums.TurnState | null;
|
|
1099
|
+
turnAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
873
1100
|
endedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
874
1101
|
consoleSessions?: Prisma.ConsoleSessionUncheckedUpdateManyWithoutLeaseNestedInput;
|
|
1102
|
+
claimedDeliveries?: Prisma.DeliveryUncheckedUpdateManyWithoutClaimedByLeaseNestedInput;
|
|
875
1103
|
};
|
|
876
1104
|
export type LeaseCreateWithoutConsoleSessionsInput = {
|
|
877
1105
|
id: string;
|
|
@@ -886,10 +1114,14 @@ export type LeaseCreateWithoutConsoleSessionsInput = {
|
|
|
886
1114
|
reportedAt?: Date | string | null;
|
|
887
1115
|
reportDetails?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
888
1116
|
reportDetailsVersion?: number;
|
|
1117
|
+
pushedAt?: Date | string | null;
|
|
1118
|
+
turn?: $Enums.TurnState | null;
|
|
1119
|
+
turnAt?: Date | string | null;
|
|
889
1120
|
endedAt?: Date | string | null;
|
|
890
1121
|
fleet: Prisma.FleetCreateNestedOneWithoutLeasesInput;
|
|
891
1122
|
ship: Prisma.ShipCreateNestedOneWithoutLeasesInput;
|
|
892
1123
|
claimedDeliveries?: Prisma.DeliveryCreateNestedManyWithoutClaimedByLeaseInput;
|
|
1124
|
+
overdueDeliveries?: Prisma.OverdueDeliveryCreateNestedManyWithoutLeaseInput;
|
|
893
1125
|
};
|
|
894
1126
|
export type LeaseUncheckedCreateWithoutConsoleSessionsInput = {
|
|
895
1127
|
id: string;
|
|
@@ -906,8 +1138,12 @@ export type LeaseUncheckedCreateWithoutConsoleSessionsInput = {
|
|
|
906
1138
|
reportedAt?: Date | string | null;
|
|
907
1139
|
reportDetails?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
908
1140
|
reportDetailsVersion?: number;
|
|
1141
|
+
pushedAt?: Date | string | null;
|
|
1142
|
+
turn?: $Enums.TurnState | null;
|
|
1143
|
+
turnAt?: Date | string | null;
|
|
909
1144
|
endedAt?: Date | string | null;
|
|
910
1145
|
claimedDeliveries?: Prisma.DeliveryUncheckedCreateNestedManyWithoutClaimedByLeaseInput;
|
|
1146
|
+
overdueDeliveries?: Prisma.OverdueDeliveryUncheckedCreateNestedManyWithoutLeaseInput;
|
|
911
1147
|
};
|
|
912
1148
|
export type LeaseCreateOrConnectWithoutConsoleSessionsInput = {
|
|
913
1149
|
where: Prisma.LeaseWhereUniqueInput;
|
|
@@ -935,10 +1171,14 @@ export type LeaseUpdateWithoutConsoleSessionsInput = {
|
|
|
935
1171
|
reportedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
936
1172
|
reportDetails?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
937
1173
|
reportDetailsVersion?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1174
|
+
pushedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1175
|
+
turn?: Prisma.NullableEnumTurnStateFieldUpdateOperationsInput | $Enums.TurnState | null;
|
|
1176
|
+
turnAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
938
1177
|
endedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
939
1178
|
fleet?: Prisma.FleetUpdateOneRequiredWithoutLeasesNestedInput;
|
|
940
1179
|
ship?: Prisma.ShipUpdateOneRequiredWithoutLeasesNestedInput;
|
|
941
1180
|
claimedDeliveries?: Prisma.DeliveryUpdateManyWithoutClaimedByLeaseNestedInput;
|
|
1181
|
+
overdueDeliveries?: Prisma.OverdueDeliveryUpdateManyWithoutLeaseNestedInput;
|
|
942
1182
|
};
|
|
943
1183
|
export type LeaseUncheckedUpdateWithoutConsoleSessionsInput = {
|
|
944
1184
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -955,8 +1195,12 @@ export type LeaseUncheckedUpdateWithoutConsoleSessionsInput = {
|
|
|
955
1195
|
reportedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
956
1196
|
reportDetails?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
957
1197
|
reportDetailsVersion?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1198
|
+
pushedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1199
|
+
turn?: Prisma.NullableEnumTurnStateFieldUpdateOperationsInput | $Enums.TurnState | null;
|
|
1200
|
+
turnAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
958
1201
|
endedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
959
1202
|
claimedDeliveries?: Prisma.DeliveryUncheckedUpdateManyWithoutClaimedByLeaseNestedInput;
|
|
1203
|
+
overdueDeliveries?: Prisma.OverdueDeliveryUncheckedUpdateManyWithoutLeaseNestedInput;
|
|
960
1204
|
};
|
|
961
1205
|
export type LeaseCreateManyFleetInput = {
|
|
962
1206
|
id: string;
|
|
@@ -972,6 +1216,9 @@ export type LeaseCreateManyFleetInput = {
|
|
|
972
1216
|
reportedAt?: Date | string | null;
|
|
973
1217
|
reportDetails?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
974
1218
|
reportDetailsVersion?: number;
|
|
1219
|
+
pushedAt?: Date | string | null;
|
|
1220
|
+
turn?: $Enums.TurnState | null;
|
|
1221
|
+
turnAt?: Date | string | null;
|
|
975
1222
|
endedAt?: Date | string | null;
|
|
976
1223
|
};
|
|
977
1224
|
export type LeaseUpdateWithoutFleetInput = {
|
|
@@ -987,10 +1234,14 @@ export type LeaseUpdateWithoutFleetInput = {
|
|
|
987
1234
|
reportedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
988
1235
|
reportDetails?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
989
1236
|
reportDetailsVersion?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1237
|
+
pushedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1238
|
+
turn?: Prisma.NullableEnumTurnStateFieldUpdateOperationsInput | $Enums.TurnState | null;
|
|
1239
|
+
turnAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
990
1240
|
endedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
991
1241
|
ship?: Prisma.ShipUpdateOneRequiredWithoutLeasesNestedInput;
|
|
992
1242
|
consoleSessions?: Prisma.ConsoleSessionUpdateManyWithoutLeaseNestedInput;
|
|
993
1243
|
claimedDeliveries?: Prisma.DeliveryUpdateManyWithoutClaimedByLeaseNestedInput;
|
|
1244
|
+
overdueDeliveries?: Prisma.OverdueDeliveryUpdateManyWithoutLeaseNestedInput;
|
|
994
1245
|
};
|
|
995
1246
|
export type LeaseUncheckedUpdateWithoutFleetInput = {
|
|
996
1247
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -1006,9 +1257,13 @@ export type LeaseUncheckedUpdateWithoutFleetInput = {
|
|
|
1006
1257
|
reportedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1007
1258
|
reportDetails?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1008
1259
|
reportDetailsVersion?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1260
|
+
pushedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1261
|
+
turn?: Prisma.NullableEnumTurnStateFieldUpdateOperationsInput | $Enums.TurnState | null;
|
|
1262
|
+
turnAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1009
1263
|
endedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1010
1264
|
consoleSessions?: Prisma.ConsoleSessionUncheckedUpdateManyWithoutLeaseNestedInput;
|
|
1011
1265
|
claimedDeliveries?: Prisma.DeliveryUncheckedUpdateManyWithoutClaimedByLeaseNestedInput;
|
|
1266
|
+
overdueDeliveries?: Prisma.OverdueDeliveryUncheckedUpdateManyWithoutLeaseNestedInput;
|
|
1012
1267
|
};
|
|
1013
1268
|
export type LeaseUncheckedUpdateManyWithoutFleetInput = {
|
|
1014
1269
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -1024,6 +1279,9 @@ export type LeaseUncheckedUpdateManyWithoutFleetInput = {
|
|
|
1024
1279
|
reportedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1025
1280
|
reportDetails?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1026
1281
|
reportDetailsVersion?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1282
|
+
pushedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1283
|
+
turn?: Prisma.NullableEnumTurnStateFieldUpdateOperationsInput | $Enums.TurnState | null;
|
|
1284
|
+
turnAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1027
1285
|
endedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1028
1286
|
};
|
|
1029
1287
|
export type LeaseCreateManyShipInput = {
|
|
@@ -1039,6 +1297,9 @@ export type LeaseCreateManyShipInput = {
|
|
|
1039
1297
|
reportedAt?: Date | string | null;
|
|
1040
1298
|
reportDetails?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1041
1299
|
reportDetailsVersion?: number;
|
|
1300
|
+
pushedAt?: Date | string | null;
|
|
1301
|
+
turn?: $Enums.TurnState | null;
|
|
1302
|
+
turnAt?: Date | string | null;
|
|
1042
1303
|
endedAt?: Date | string | null;
|
|
1043
1304
|
};
|
|
1044
1305
|
export type LeaseUpdateWithoutShipInput = {
|
|
@@ -1054,10 +1315,14 @@ export type LeaseUpdateWithoutShipInput = {
|
|
|
1054
1315
|
reportedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1055
1316
|
reportDetails?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1056
1317
|
reportDetailsVersion?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1318
|
+
pushedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1319
|
+
turn?: Prisma.NullableEnumTurnStateFieldUpdateOperationsInput | $Enums.TurnState | null;
|
|
1320
|
+
turnAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1057
1321
|
endedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1058
1322
|
fleet?: Prisma.FleetUpdateOneRequiredWithoutLeasesNestedInput;
|
|
1059
1323
|
consoleSessions?: Prisma.ConsoleSessionUpdateManyWithoutLeaseNestedInput;
|
|
1060
1324
|
claimedDeliveries?: Prisma.DeliveryUpdateManyWithoutClaimedByLeaseNestedInput;
|
|
1325
|
+
overdueDeliveries?: Prisma.OverdueDeliveryUpdateManyWithoutLeaseNestedInput;
|
|
1061
1326
|
};
|
|
1062
1327
|
export type LeaseUncheckedUpdateWithoutShipInput = {
|
|
1063
1328
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -1072,9 +1337,13 @@ export type LeaseUncheckedUpdateWithoutShipInput = {
|
|
|
1072
1337
|
reportedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1073
1338
|
reportDetails?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1074
1339
|
reportDetailsVersion?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1340
|
+
pushedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1341
|
+
turn?: Prisma.NullableEnumTurnStateFieldUpdateOperationsInput | $Enums.TurnState | null;
|
|
1342
|
+
turnAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1075
1343
|
endedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1076
1344
|
consoleSessions?: Prisma.ConsoleSessionUncheckedUpdateManyWithoutLeaseNestedInput;
|
|
1077
1345
|
claimedDeliveries?: Prisma.DeliveryUncheckedUpdateManyWithoutClaimedByLeaseNestedInput;
|
|
1346
|
+
overdueDeliveries?: Prisma.OverdueDeliveryUncheckedUpdateManyWithoutLeaseNestedInput;
|
|
1078
1347
|
};
|
|
1079
1348
|
export type LeaseUncheckedUpdateManyWithoutShipInput = {
|
|
1080
1349
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -1089,6 +1358,9 @@ export type LeaseUncheckedUpdateManyWithoutShipInput = {
|
|
|
1089
1358
|
reportedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1090
1359
|
reportDetails?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
1091
1360
|
reportDetailsVersion?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
1361
|
+
pushedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1362
|
+
turn?: Prisma.NullableEnumTurnStateFieldUpdateOperationsInput | $Enums.TurnState | null;
|
|
1363
|
+
turnAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1092
1364
|
endedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1093
1365
|
};
|
|
1094
1366
|
/**
|
|
@@ -1097,10 +1369,12 @@ export type LeaseUncheckedUpdateManyWithoutShipInput = {
|
|
|
1097
1369
|
export type LeaseCountOutputType = {
|
|
1098
1370
|
consoleSessions: number;
|
|
1099
1371
|
claimedDeliveries: number;
|
|
1372
|
+
overdueDeliveries: number;
|
|
1100
1373
|
};
|
|
1101
1374
|
export type LeaseCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1102
1375
|
consoleSessions?: boolean | LeaseCountOutputTypeCountConsoleSessionsArgs;
|
|
1103
1376
|
claimedDeliveries?: boolean | LeaseCountOutputTypeCountClaimedDeliveriesArgs;
|
|
1377
|
+
overdueDeliveries?: boolean | LeaseCountOutputTypeCountOverdueDeliveriesArgs;
|
|
1104
1378
|
};
|
|
1105
1379
|
/**
|
|
1106
1380
|
* LeaseCountOutputType without action
|
|
@@ -1123,6 +1397,12 @@ export type LeaseCountOutputTypeCountConsoleSessionsArgs<ExtArgs extends runtime
|
|
|
1123
1397
|
export type LeaseCountOutputTypeCountClaimedDeliveriesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1124
1398
|
where?: Prisma.DeliveryWhereInput;
|
|
1125
1399
|
};
|
|
1400
|
+
/**
|
|
1401
|
+
* LeaseCountOutputType without action
|
|
1402
|
+
*/
|
|
1403
|
+
export type LeaseCountOutputTypeCountOverdueDeliveriesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1404
|
+
where?: Prisma.OverdueDeliveryWhereInput;
|
|
1405
|
+
};
|
|
1126
1406
|
export type LeaseSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
1127
1407
|
id?: boolean;
|
|
1128
1408
|
fleetId?: boolean;
|
|
@@ -1138,11 +1418,15 @@ export type LeaseSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs =
|
|
|
1138
1418
|
reportedAt?: boolean;
|
|
1139
1419
|
reportDetails?: boolean;
|
|
1140
1420
|
reportDetailsVersion?: boolean;
|
|
1421
|
+
pushedAt?: boolean;
|
|
1422
|
+
turn?: boolean;
|
|
1423
|
+
turnAt?: boolean;
|
|
1141
1424
|
endedAt?: boolean;
|
|
1142
1425
|
fleet?: boolean | Prisma.FleetDefaultArgs<ExtArgs>;
|
|
1143
1426
|
ship?: boolean | Prisma.ShipDefaultArgs<ExtArgs>;
|
|
1144
1427
|
consoleSessions?: boolean | Prisma.Lease$consoleSessionsArgs<ExtArgs>;
|
|
1145
1428
|
claimedDeliveries?: boolean | Prisma.Lease$claimedDeliveriesArgs<ExtArgs>;
|
|
1429
|
+
overdueDeliveries?: boolean | Prisma.Lease$overdueDeliveriesArgs<ExtArgs>;
|
|
1146
1430
|
_count?: boolean | Prisma.LeaseCountOutputTypeDefaultArgs<ExtArgs>;
|
|
1147
1431
|
}, ExtArgs["result"]["lease"]>;
|
|
1148
1432
|
export type LeaseSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
@@ -1160,6 +1444,9 @@ export type LeaseSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensi
|
|
|
1160
1444
|
reportedAt?: boolean;
|
|
1161
1445
|
reportDetails?: boolean;
|
|
1162
1446
|
reportDetailsVersion?: boolean;
|
|
1447
|
+
pushedAt?: boolean;
|
|
1448
|
+
turn?: boolean;
|
|
1449
|
+
turnAt?: boolean;
|
|
1163
1450
|
endedAt?: boolean;
|
|
1164
1451
|
fleet?: boolean | Prisma.FleetDefaultArgs<ExtArgs>;
|
|
1165
1452
|
ship?: boolean | Prisma.ShipDefaultArgs<ExtArgs>;
|
|
@@ -1179,6 +1466,9 @@ export type LeaseSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensi
|
|
|
1179
1466
|
reportedAt?: boolean;
|
|
1180
1467
|
reportDetails?: boolean;
|
|
1181
1468
|
reportDetailsVersion?: boolean;
|
|
1469
|
+
pushedAt?: boolean;
|
|
1470
|
+
turn?: boolean;
|
|
1471
|
+
turnAt?: boolean;
|
|
1182
1472
|
endedAt?: boolean;
|
|
1183
1473
|
fleet?: boolean | Prisma.FleetDefaultArgs<ExtArgs>;
|
|
1184
1474
|
ship?: boolean | Prisma.ShipDefaultArgs<ExtArgs>;
|
|
@@ -1198,14 +1488,18 @@ export type LeaseSelectScalar = {
|
|
|
1198
1488
|
reportedAt?: boolean;
|
|
1199
1489
|
reportDetails?: boolean;
|
|
1200
1490
|
reportDetailsVersion?: boolean;
|
|
1491
|
+
pushedAt?: boolean;
|
|
1492
|
+
turn?: boolean;
|
|
1493
|
+
turnAt?: boolean;
|
|
1201
1494
|
endedAt?: boolean;
|
|
1202
1495
|
};
|
|
1203
|
-
export type LeaseOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "fleetId" | "shipId" | "location" | "locationDescription" | "harness" | "crewTokenHash" | "startedAt" | "lastSeenAt" | "reportState" | "reportNote" | "reportedAt" | "reportDetails" | "reportDetailsVersion" | "endedAt", ExtArgs["result"]["lease"]>;
|
|
1496
|
+
export type LeaseOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "fleetId" | "shipId" | "location" | "locationDescription" | "harness" | "crewTokenHash" | "startedAt" | "lastSeenAt" | "reportState" | "reportNote" | "reportedAt" | "reportDetails" | "reportDetailsVersion" | "pushedAt" | "turn" | "turnAt" | "endedAt", ExtArgs["result"]["lease"]>;
|
|
1204
1497
|
export type LeaseInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1205
1498
|
fleet?: boolean | Prisma.FleetDefaultArgs<ExtArgs>;
|
|
1206
1499
|
ship?: boolean | Prisma.ShipDefaultArgs<ExtArgs>;
|
|
1207
1500
|
consoleSessions?: boolean | Prisma.Lease$consoleSessionsArgs<ExtArgs>;
|
|
1208
1501
|
claimedDeliveries?: boolean | Prisma.Lease$claimedDeliveriesArgs<ExtArgs>;
|
|
1502
|
+
overdueDeliveries?: boolean | Prisma.Lease$overdueDeliveriesArgs<ExtArgs>;
|
|
1209
1503
|
_count?: boolean | Prisma.LeaseCountOutputTypeDefaultArgs<ExtArgs>;
|
|
1210
1504
|
};
|
|
1211
1505
|
export type LeaseIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
@@ -1223,6 +1517,7 @@ export type $LeasePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs
|
|
|
1223
1517
|
ship: Prisma.$ShipPayload<ExtArgs>;
|
|
1224
1518
|
consoleSessions: Prisma.$ConsoleSessionPayload<ExtArgs>[];
|
|
1225
1519
|
claimedDeliveries: Prisma.$DeliveryPayload<ExtArgs>[];
|
|
1520
|
+
overdueDeliveries: Prisma.$OverdueDeliveryPayload<ExtArgs>[];
|
|
1226
1521
|
};
|
|
1227
1522
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
1228
1523
|
id: string;
|
|
@@ -1254,6 +1549,15 @@ export type $LeasePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs
|
|
|
1254
1549
|
* Moves by one each time the details change; 0 before any.
|
|
1255
1550
|
*/
|
|
1256
1551
|
reportDetailsVersion: number;
|
|
1552
|
+
/**
|
|
1553
|
+
* From the lease's first push receive: the computer side takes its deliveries, and the agent's plain receive answers nothing (decision 0040).
|
|
1554
|
+
*/
|
|
1555
|
+
pushedAt: Date | null;
|
|
1556
|
+
/**
|
|
1557
|
+
* The session's turn as its hooks last reported it, and when they saw it change; null until they report (decision 0040).
|
|
1558
|
+
*/
|
|
1559
|
+
turn: $Enums.TurnState | null;
|
|
1560
|
+
turnAt: Date | null;
|
|
1257
1561
|
endedAt: Date | null;
|
|
1258
1562
|
}, ExtArgs["result"]["lease"]>;
|
|
1259
1563
|
composites: {};
|
|
@@ -1588,6 +1892,7 @@ export interface Prisma__LeaseClient<T, Null = never, ExtArgs extends runtime.Ty
|
|
|
1588
1892
|
ship<T extends Prisma.ShipDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ShipDefaultArgs<ExtArgs>>): Prisma.Prisma__ShipClient<runtime.Types.Result.GetResult<Prisma.$ShipPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
1589
1893
|
consoleSessions<T extends Prisma.Lease$consoleSessionsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Lease$consoleSessionsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ConsoleSessionPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
1590
1894
|
claimedDeliveries<T extends Prisma.Lease$claimedDeliveriesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Lease$claimedDeliveriesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DeliveryPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
1895
|
+
overdueDeliveries<T extends Prisma.Lease$overdueDeliveriesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Lease$overdueDeliveriesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$OverdueDeliveryPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
1591
1896
|
/**
|
|
1592
1897
|
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
1593
1898
|
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
@@ -1627,6 +1932,9 @@ export interface LeaseFieldRefs {
|
|
|
1627
1932
|
readonly reportedAt: Prisma.FieldRef<"Lease", 'DateTime'>;
|
|
1628
1933
|
readonly reportDetails: Prisma.FieldRef<"Lease", 'Json'>;
|
|
1629
1934
|
readonly reportDetailsVersion: Prisma.FieldRef<"Lease", 'Int'>;
|
|
1935
|
+
readonly pushedAt: Prisma.FieldRef<"Lease", 'DateTime'>;
|
|
1936
|
+
readonly turn: Prisma.FieldRef<"Lease", 'TurnState'>;
|
|
1937
|
+
readonly turnAt: Prisma.FieldRef<"Lease", 'DateTime'>;
|
|
1630
1938
|
readonly endedAt: Prisma.FieldRef<"Lease", 'DateTime'>;
|
|
1631
1939
|
}
|
|
1632
1940
|
/**
|
|
@@ -2057,6 +2365,29 @@ export type Lease$claimedDeliveriesArgs<ExtArgs extends runtime.Types.Extensions
|
|
|
2057
2365
|
skip?: number;
|
|
2058
2366
|
distinct?: Prisma.DeliveryScalarFieldEnum | Prisma.DeliveryScalarFieldEnum[];
|
|
2059
2367
|
};
|
|
2368
|
+
/**
|
|
2369
|
+
* Lease.overdueDeliveries
|
|
2370
|
+
*/
|
|
2371
|
+
export type Lease$overdueDeliveriesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2372
|
+
/**
|
|
2373
|
+
* Select specific fields to fetch from the OverdueDelivery
|
|
2374
|
+
*/
|
|
2375
|
+
select?: Prisma.OverdueDeliverySelect<ExtArgs> | null;
|
|
2376
|
+
/**
|
|
2377
|
+
* Omit specific fields from the OverdueDelivery
|
|
2378
|
+
*/
|
|
2379
|
+
omit?: Prisma.OverdueDeliveryOmit<ExtArgs> | null;
|
|
2380
|
+
/**
|
|
2381
|
+
* Choose, which related nodes to fetch as well
|
|
2382
|
+
*/
|
|
2383
|
+
include?: Prisma.OverdueDeliveryInclude<ExtArgs> | null;
|
|
2384
|
+
where?: Prisma.OverdueDeliveryWhereInput;
|
|
2385
|
+
orderBy?: Prisma.OverdueDeliveryOrderByWithRelationInput | Prisma.OverdueDeliveryOrderByWithRelationInput[];
|
|
2386
|
+
cursor?: Prisma.OverdueDeliveryWhereUniqueInput;
|
|
2387
|
+
take?: number;
|
|
2388
|
+
skip?: number;
|
|
2389
|
+
distinct?: Prisma.OverdueDeliveryScalarFieldEnum | Prisma.OverdueDeliveryScalarFieldEnum[];
|
|
2390
|
+
};
|
|
2060
2391
|
/**
|
|
2061
2392
|
* Lease without action
|
|
2062
2393
|
*/
|