@aeolus-fleet/core 0.29.2 → 0.30.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/README.md +21 -0
- package/dist/adapters/http/server.js +5 -0
- package/dist/adapters/http/server.js.map +1 -1
- package/dist/adapters/prisma/generated/browser.d.ts +24 -0
- package/dist/adapters/prisma/generated/client.d.ts +24 -0
- package/dist/adapters/prisma/generated/commonInputTypes.d.ts +30 -0
- package/dist/adapters/prisma/generated/internal/class.d.ts +33 -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 +262 -1
- package/dist/adapters/prisma/generated/internal/prismaNamespace.js +33 -0
- package/dist/adapters/prisma/generated/internal/prismaNamespace.js.map +1 -1
- package/dist/adapters/prisma/generated/internal/prismaNamespaceBrowser.d.ts +36 -0
- package/dist/adapters/prisma/generated/internal/prismaNamespaceBrowser.js +33 -0
- package/dist/adapters/prisma/generated/internal/prismaNamespaceBrowser.js.map +1 -1
- package/dist/adapters/prisma/generated/models/Fleet.d.ts +993 -0
- package/dist/adapters/prisma/generated/models/HealthSnapshot.d.ts +1282 -0
- package/dist/adapters/prisma/generated/models/HealthSnapshot.js +2 -0
- package/dist/adapters/prisma/generated/models/HealthSnapshot.js.map +1 -0
- package/dist/adapters/prisma/generated/models/HealthSnapshotDelivery.d.ts +1470 -0
- package/dist/adapters/prisma/generated/models/HealthSnapshotDelivery.js +2 -0
- package/dist/adapters/prisma/generated/models/HealthSnapshotDelivery.js.map +1 -0
- package/dist/adapters/prisma/generated/models/MessageDay.d.ts +1193 -0
- package/dist/adapters/prisma/generated/models/MessageDay.js +2 -0
- package/dist/adapters/prisma/generated/models/MessageDay.js.map +1 -0
- package/dist/adapters/prisma/generated/models.d.ts +3 -0
- package/dist/adapters/prisma/health-snapshots.d.ts +30 -0
- package/dist/adapters/prisma/health-snapshots.js +250 -0
- package/dist/adapters/prisma/health-snapshots.js.map +1 -0
- package/dist/adapters/prisma/health.d.ts +58 -1
- package/dist/adapters/prisma/health.js +157 -65
- package/dist/adapters/prisma/health.js.map +1 -1
- package/dist/adapters/prisma/history.d.ts +19 -0
- package/dist/adapters/prisma/history.js +167 -69
- package/dist/adapters/prisma/history.js.map +1 -1
- package/dist/adapters/prisma/installation.d.ts +5 -1
- package/dist/adapters/prisma/installation.js +27 -11
- package/dist/adapters/prisma/installation.js.map +1 -1
- package/dist/adapters/prisma/messaging.d.ts +12 -1
- package/dist/adapters/prisma/messaging.js +33 -1
- package/dist/adapters/prisma/messaging.js.map +1 -1
- package/dist/adapters/prisma/network.js +4 -3
- package/dist/adapters/prisma/network.js.map +1 -1
- package/dist/adapters/prisma/registry.d.ts +26 -7
- package/dist/adapters/prisma/registry.js +291 -12
- package/dist/adapters/prisma/registry.js.map +1 -1
- package/dist/adapters/prisma/ship-counts.d.ts +34 -0
- package/dist/adapters/prisma/ship-counts.js +116 -0
- package/dist/adapters/prisma/ship-counts.js.map +1 -0
- package/dist/adapters/prisma/telemetry.d.ts +5 -0
- package/dist/adapters/prisma/telemetry.js +40 -0
- package/dist/adapters/prisma/telemetry.js.map +1 -0
- package/dist/adapters/prisma/unit-of-work.d.ts +13 -3
- package/dist/adapters/prisma/unit-of-work.js +13 -1
- package/dist/adapters/prisma/unit-of-work.js.map +1 -1
- package/dist/adapters/telemetry/calls.d.ts +14 -0
- package/dist/adapters/telemetry/calls.js +48 -0
- package/dist/adapters/telemetry/calls.js.map +1 -0
- package/dist/adapters/telemetry/requests.d.ts +8 -0
- package/dist/adapters/telemetry/requests.js +28 -0
- package/dist/adapters/telemetry/requests.js.map +1 -0
- package/dist/adapters/telemetry/sdk.d.ts +2 -0
- package/dist/adapters/telemetry/sdk.js +40 -0
- package/dist/adapters/telemetry/sdk.js.map +1 -0
- package/dist/adapters/telemetry/telemetry.d.ts +21 -0
- package/dist/adapters/telemetry/telemetry.js +16 -0
- package/dist/adapters/telemetry/telemetry.js.map +1 -0
- package/dist/adapters/trpc/context.d.ts +28 -0
- package/dist/adapters/trpc/fleet.d.ts +721 -243
- package/dist/adapters/trpc/fleet.js +171 -44
- package/dist/adapters/trpc/fleet.js.map +1 -1
- package/dist/adapters/trpc/health.d.ts +42 -1
- package/dist/adapters/trpc/health.js +18 -10
- package/dist/adapters/trpc/health.js.map +1 -1
- package/dist/adapters/trpc/installation.d.ts +2 -2
- package/dist/adapters/trpc/router.d.ts +694 -233
- package/dist/adapters/trpc/ship-contract.js +3 -0
- package/dist/adapters/trpc/ship-contract.js.map +1 -1
- package/dist/adapters/trpc/ship.d.ts +6 -4
- package/dist/adapters/trpc/ship.js +5 -2
- package/dist/adapters/trpc/ship.js.map +1 -1
- package/dist/adapters/trpc/trpc.d.ts +8 -0
- package/dist/adapters/trpc/trpc.js +35 -1
- package/dist/adapters/trpc/trpc.js.map +1 -1
- package/dist/app.d.ts +2 -1
- package/dist/app.js +11 -3
- package/dist/app.js.map +1 -1
- package/dist/domain/messaging/check-inbox.d.ts +12 -4
- package/dist/domain/messaging/check-inbox.js +16 -7
- package/dist/domain/messaging/check-inbox.js.map +1 -1
- package/dist/domain/messaging/daily-message-limit.d.ts +1 -1
- package/dist/domain/messaging/daily-message-limit.js +1 -1
- package/dist/domain/messaging/daily-message-limit.js.map +1 -1
- package/dist/domain/messaging/ports.d.ts +2 -2
- package/dist/domain/registry/check-network-rules-file.d.ts +38 -0
- package/dist/domain/registry/check-network-rules-file.js +50 -0
- package/dist/domain/registry/check-network-rules-file.js.map +1 -0
- package/dist/domain/registry/count-ships.d.ts +18 -0
- package/dist/domain/registry/count-ships.js +10 -0
- package/dist/domain/registry/count-ships.js.map +1 -0
- package/dist/domain/registry/export-network-rules.d.ts +27 -0
- package/dist/domain/registry/export-network-rules.js +55 -0
- package/dist/domain/registry/export-network-rules.js.map +1 -0
- package/dist/domain/registry/found-fleet.d.ts +5 -1
- package/dist/domain/registry/found-fleet.js +5 -1
- package/dist/domain/registry/found-fleet.js.map +1 -1
- package/dist/domain/registry/get-installation-fleet.d.ts +3 -1
- package/dist/domain/registry/get-installation-fleet.js +2 -2
- package/dist/domain/registry/get-installation-fleet.js.map +1 -1
- package/dist/domain/registry/import-network-rules.d.ts +40 -0
- package/dist/domain/registry/import-network-rules.js +98 -0
- package/dist/domain/registry/import-network-rules.js.map +1 -0
- package/dist/domain/registry/label.d.ts +2 -6
- package/dist/domain/registry/label.js +1 -9
- package/dist/domain/registry/label.js.map +1 -1
- package/dist/domain/registry/list-fleet.d.ts +21 -10
- package/dist/domain/registry/list-fleet.js +20 -11
- package/dist/domain/registry/list-fleet.js.map +1 -1
- package/dist/domain/registry/list-installation-fleets.d.ts +3 -1
- package/dist/domain/registry/list-installation-fleets.js +2 -2
- package/dist/domain/registry/list-installation-fleets.js.map +1 -1
- package/dist/domain/registry/list-labels.d.ts +16 -5
- package/dist/domain/registry/list-labels.js +12 -3
- package/dist/domain/registry/list-labels.js.map +1 -1
- package/dist/domain/registry/list-ship-types.d.ts +18 -0
- package/dist/domain/registry/list-ship-types.js +12 -0
- package/dist/domain/registry/list-ship-types.js.map +1 -0
- package/dist/domain/registry/network-rules-file.d.ts +91 -0
- package/dist/domain/registry/network-rules-file.js +292 -0
- package/dist/domain/registry/network-rules-file.js.map +1 -0
- package/dist/domain/registry/network-settings.d.ts +15 -0
- package/dist/domain/registry/network-settings.js +18 -13
- package/dist/domain/registry/network-settings.js.map +1 -1
- package/dist/domain/registry/ports.d.ts +45 -4
- package/dist/domain/registry/read-listed-ship.d.ts +21 -0
- package/dist/domain/registry/read-listed-ship.js +22 -0
- package/dist/domain/registry/read-listed-ship.js.map +1 -0
- package/dist/domain/registry/read-reach-refusals.d.ts +8 -3
- package/dist/domain/registry/read-reach-refusals.js +6 -7
- package/dist/domain/registry/read-reach-refusals.js.map +1 -1
- package/dist/domain/registry/ship-counts.d.ts +28 -0
- package/dist/domain/registry/ship-counts.js +35 -0
- package/dist/domain/registry/ship-counts.js.map +1 -0
- package/dist/domain/registry/ship-order.d.ts +29 -0
- package/dist/domain/registry/ship-order.js +54 -0
- package/dist/domain/registry/ship-order.js.map +1 -0
- package/dist/domain/shared/close-health-snapshots.d.ts +24 -0
- package/dist/domain/shared/close-health-snapshots.js +67 -0
- package/dist/domain/shared/close-health-snapshots.js.map +1 -0
- package/dist/domain/shared/count-open-inbox.d.ts +20 -0
- package/dist/domain/shared/count-open-inbox.js +26 -0
- package/dist/domain/shared/count-open-inbox.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/health-fold.d.ts +51 -0
- package/dist/domain/shared/health-fold.js +105 -0
- package/dist/domain/shared/health-fold.js.map +1 -0
- package/dist/domain/shared/health-read.d.ts +35 -0
- package/dist/domain/shared/health-read.js +113 -0
- package/dist/domain/shared/health-read.js.map +1 -0
- package/dist/domain/shared/health-snapshot.d.ts +222 -0
- package/dist/domain/shared/health-snapshot.js +204 -0
- package/dist/domain/shared/health-snapshot.js.map +1 -0
- package/dist/domain/shared/health.d.ts +3 -13
- package/dist/domain/shared/health.js +6 -15
- package/dist/domain/shared/health.js.map +1 -1
- package/dist/domain/shared/history.d.ts +35 -10
- package/dist/domain/shared/history.js.map +1 -1
- package/dist/domain/shared/page.d.ts +24 -0
- package/dist/domain/shared/page.js +10 -0
- package/dist/domain/shared/page.js.map +1 -0
- package/dist/domain/shared/read-acknowledged.d.ts +19 -0
- package/dist/domain/shared/read-acknowledged.js +19 -0
- package/dist/domain/shared/read-acknowledged.js.map +1 -0
- package/dist/domain/shared/read-fleet-limits.d.ts +2 -2
- package/dist/domain/shared/read-fleet-limits.js +1 -1
- package/dist/domain/shared/read-fleet-limits.js.map +1 -1
- package/dist/domain/shared/read-health.d.ts +4 -2
- package/dist/domain/shared/read-health.js +3 -5
- package/dist/domain/shared/read-health.js.map +1 -1
- package/dist/domain/shared/read-inbox-message.d.ts +21 -0
- package/dist/domain/shared/read-inbox-message.js +21 -0
- package/dist/domain/shared/read-inbox-message.js.map +1 -0
- package/dist/domain/shared/read-inbox-withdrawals.d.ts +22 -0
- package/dist/domain/shared/read-inbox-withdrawals.js +20 -0
- package/dist/domain/shared/read-inbox-withdrawals.js.map +1 -0
- package/dist/domain/shared/read-inbox.d.ts +18 -3
- package/dist/domain/shared/read-inbox.js +24 -10
- package/dist/domain/shared/read-inbox.js.map +1 -1
- package/dist/domain/shared/read-needs-attention.d.ts +16 -7
- package/dist/domain/shared/read-needs-attention.js +14 -8
- package/dist/domain/shared/read-needs-attention.js.map +1 -1
- package/dist/domain/shared/read-ship-messages.d.ts +7 -6
- package/dist/domain/shared/read-ship-messages.js +18 -16
- package/dist/domain/shared/read-ship-messages.js.map +1 -1
- package/dist/domain/shared/read-ship-timeline.d.ts +6 -5
- package/dist/domain/shared/read-ship-timeline.js +6 -7
- package/dist/domain/shared/read-ship-timeline.js.map +1 -1
- package/dist/domain/shared/read-stuck-count.d.ts +23 -0
- package/dist/domain/shared/read-stuck-count.js +20 -0
- package/dist/domain/shared/read-stuck-count.js.map +1 -0
- package/dist/domain/shared/read-stuck-history.d.ts +21 -0
- package/dist/domain/shared/read-stuck-history.js +18 -0
- package/dist/domain/shared/read-stuck-history.js.map +1 -0
- package/dist/domain/shared/read-stuck-summary.d.ts +44 -0
- package/dist/domain/shared/read-stuck-summary.js +44 -0
- package/dist/domain/shared/read-stuck-summary.js.map +1 -0
- package/dist/domain/shared/read-stuck.d.ts +41 -0
- package/dist/domain/shared/read-stuck.js +43 -0
- package/dist/domain/shared/read-stuck.js.map +1 -0
- package/dist/domain/shared/stuck.d.ts +4 -1
- package/dist/domain/shared/stuck.js +4 -2
- package/dist/domain/shared/stuck.js.map +1 -1
- package/dist/domain/shared/wait-buckets.d.ts +15 -0
- package/dist/domain/shared/wait-buckets.js +54 -0
- package/dist/domain/shared/wait-buckets.js.map +1 -0
- package/dist/start.d.ts +2 -1
- package/dist/start.js +8 -2
- package/dist/start.js.map +1 -1
- package/dist/wiring.d.ts +31 -1
- package/dist/wiring.js +40 -5
- package/dist/wiring.js.map +1 -1
- package/package.json +10 -2
- package/src/adapters/prisma/migrations/20261022130000_message_days/migration.sql +20 -0
- package/src/adapters/prisma/migrations/20261022130100_messages_fleet_time_index/migration.sql +3 -0
- package/src/adapters/prisma/migrations/20261022140000_health_snapshots/migration.sql +41 -0
- package/src/adapters/prisma/migrations/20261023090000_timeline_page_indexes/migration.sql +7 -0
- package/src/adapters/prisma/migrations/20261023090100_messages_page_indexes/migration.sql +7 -0
- package/src/adapters/prisma/migrations/20261023090200_inbox_page_index/migration.sql +3 -0
- package/src/adapters/prisma/migrations/20261023090300_reach_refusals_page_index/migration.sql +4 -0
- package/src/adapters/prisma/migrations/20261023090400_messages_question_id_index/migration.sql +5 -0
- package/src/adapters/prisma/migrations/20261023210000_health_snapshot_acknowledged_waits/migration.sql +15 -0
- package/src/adapters/prisma/migrations/20261024090000_ship_listing_indexes/migration.sql +13 -0
- package/src/adapters/prisma/migrations/20261024120000_ship_listing_every_status_indexes/migration.sql +5 -0
- package/src/adapters/prisma/migrations/20261024150000_ship_kind_listing_index/migration.sql +2 -0
- package/src/adapters/prisma/schema.prisma +88 -5
|
@@ -0,0 +1,1470 @@
|
|
|
1
|
+
import type * as runtime from "@prisma/client/runtime/client";
|
|
2
|
+
import type * as $Enums from "../enums.js";
|
|
3
|
+
import type * as Prisma from "../internal/prismaNamespace.js";
|
|
4
|
+
/**
|
|
5
|
+
* Model HealthSnapshotDelivery
|
|
6
|
+
* The fleet's open deliveries as of its latest snapshot, each at its latest
|
|
7
|
+
* step: replaced whole by each close. A copy for the fold, so no foreign key
|
|
8
|
+
* but the fleet's.
|
|
9
|
+
*/
|
|
10
|
+
export type HealthSnapshotDeliveryModel = runtime.Types.Result.DefaultSelection<Prisma.$HealthSnapshotDeliveryPayload>;
|
|
11
|
+
export type AggregateHealthSnapshotDelivery = {
|
|
12
|
+
_count: HealthSnapshotDeliveryCountAggregateOutputType | null;
|
|
13
|
+
_min: HealthSnapshotDeliveryMinAggregateOutputType | null;
|
|
14
|
+
_max: HealthSnapshotDeliveryMaxAggregateOutputType | null;
|
|
15
|
+
};
|
|
16
|
+
export type HealthSnapshotDeliveryMinAggregateOutputType = {
|
|
17
|
+
fleetId: string | null;
|
|
18
|
+
deliveryId: string | null;
|
|
19
|
+
messageId: string | null;
|
|
20
|
+
senderShipId: string | null;
|
|
21
|
+
recipientShipId: string | null;
|
|
22
|
+
recipientType: string | null;
|
|
23
|
+
claimedByShipId: string | null;
|
|
24
|
+
sentAt: Date | null;
|
|
25
|
+
state: $Enums.DeliveryState | null;
|
|
26
|
+
since: Date | null;
|
|
27
|
+
stepShipId: string | null;
|
|
28
|
+
leaseId: string | null;
|
|
29
|
+
};
|
|
30
|
+
export type HealthSnapshotDeliveryMaxAggregateOutputType = {
|
|
31
|
+
fleetId: string | null;
|
|
32
|
+
deliveryId: string | null;
|
|
33
|
+
messageId: string | null;
|
|
34
|
+
senderShipId: string | null;
|
|
35
|
+
recipientShipId: string | null;
|
|
36
|
+
recipientType: string | null;
|
|
37
|
+
claimedByShipId: string | null;
|
|
38
|
+
sentAt: Date | null;
|
|
39
|
+
state: $Enums.DeliveryState | null;
|
|
40
|
+
since: Date | null;
|
|
41
|
+
stepShipId: string | null;
|
|
42
|
+
leaseId: string | null;
|
|
43
|
+
};
|
|
44
|
+
export type HealthSnapshotDeliveryCountAggregateOutputType = {
|
|
45
|
+
fleetId: number;
|
|
46
|
+
deliveryId: number;
|
|
47
|
+
messageId: number;
|
|
48
|
+
senderShipId: number;
|
|
49
|
+
recipientShipId: number;
|
|
50
|
+
recipientType: number;
|
|
51
|
+
claimedByShipId: number;
|
|
52
|
+
reachableShipIds: number;
|
|
53
|
+
sentAt: number;
|
|
54
|
+
state: number;
|
|
55
|
+
since: number;
|
|
56
|
+
stepShipId: number;
|
|
57
|
+
leaseId: number;
|
|
58
|
+
_all: number;
|
|
59
|
+
};
|
|
60
|
+
export type HealthSnapshotDeliveryMinAggregateInputType = {
|
|
61
|
+
fleetId?: true;
|
|
62
|
+
deliveryId?: true;
|
|
63
|
+
messageId?: true;
|
|
64
|
+
senderShipId?: true;
|
|
65
|
+
recipientShipId?: true;
|
|
66
|
+
recipientType?: true;
|
|
67
|
+
claimedByShipId?: true;
|
|
68
|
+
sentAt?: true;
|
|
69
|
+
state?: true;
|
|
70
|
+
since?: true;
|
|
71
|
+
stepShipId?: true;
|
|
72
|
+
leaseId?: true;
|
|
73
|
+
};
|
|
74
|
+
export type HealthSnapshotDeliveryMaxAggregateInputType = {
|
|
75
|
+
fleetId?: true;
|
|
76
|
+
deliveryId?: true;
|
|
77
|
+
messageId?: true;
|
|
78
|
+
senderShipId?: true;
|
|
79
|
+
recipientShipId?: true;
|
|
80
|
+
recipientType?: true;
|
|
81
|
+
claimedByShipId?: true;
|
|
82
|
+
sentAt?: true;
|
|
83
|
+
state?: true;
|
|
84
|
+
since?: true;
|
|
85
|
+
stepShipId?: true;
|
|
86
|
+
leaseId?: true;
|
|
87
|
+
};
|
|
88
|
+
export type HealthSnapshotDeliveryCountAggregateInputType = {
|
|
89
|
+
fleetId?: true;
|
|
90
|
+
deliveryId?: true;
|
|
91
|
+
messageId?: true;
|
|
92
|
+
senderShipId?: true;
|
|
93
|
+
recipientShipId?: true;
|
|
94
|
+
recipientType?: true;
|
|
95
|
+
claimedByShipId?: true;
|
|
96
|
+
reachableShipIds?: true;
|
|
97
|
+
sentAt?: true;
|
|
98
|
+
state?: true;
|
|
99
|
+
since?: true;
|
|
100
|
+
stepShipId?: true;
|
|
101
|
+
leaseId?: true;
|
|
102
|
+
_all?: true;
|
|
103
|
+
};
|
|
104
|
+
export type HealthSnapshotDeliveryAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
105
|
+
/**
|
|
106
|
+
* Filter which HealthSnapshotDelivery to aggregate.
|
|
107
|
+
*/
|
|
108
|
+
where?: Prisma.HealthSnapshotDeliveryWhereInput;
|
|
109
|
+
/**
|
|
110
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
111
|
+
*
|
|
112
|
+
* Determine the order of HealthSnapshotDeliveries to fetch.
|
|
113
|
+
*/
|
|
114
|
+
orderBy?: Prisma.HealthSnapshotDeliveryOrderByWithRelationInput | Prisma.HealthSnapshotDeliveryOrderByWithRelationInput[];
|
|
115
|
+
/**
|
|
116
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
117
|
+
*
|
|
118
|
+
* Sets the start position
|
|
119
|
+
*/
|
|
120
|
+
cursor?: Prisma.HealthSnapshotDeliveryWhereUniqueInput;
|
|
121
|
+
/**
|
|
122
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
123
|
+
*
|
|
124
|
+
* Take `±n` HealthSnapshotDeliveries from the position of the cursor.
|
|
125
|
+
*/
|
|
126
|
+
take?: number;
|
|
127
|
+
/**
|
|
128
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
129
|
+
*
|
|
130
|
+
* Skip the first `n` HealthSnapshotDeliveries.
|
|
131
|
+
*/
|
|
132
|
+
skip?: number;
|
|
133
|
+
/**
|
|
134
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
135
|
+
*
|
|
136
|
+
* Count returned HealthSnapshotDeliveries
|
|
137
|
+
**/
|
|
138
|
+
_count?: true | HealthSnapshotDeliveryCountAggregateInputType;
|
|
139
|
+
/**
|
|
140
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
141
|
+
*
|
|
142
|
+
* Select which fields to find the minimum value
|
|
143
|
+
**/
|
|
144
|
+
_min?: HealthSnapshotDeliveryMinAggregateInputType;
|
|
145
|
+
/**
|
|
146
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
147
|
+
*
|
|
148
|
+
* Select which fields to find the maximum value
|
|
149
|
+
**/
|
|
150
|
+
_max?: HealthSnapshotDeliveryMaxAggregateInputType;
|
|
151
|
+
};
|
|
152
|
+
export type GetHealthSnapshotDeliveryAggregateType<T extends HealthSnapshotDeliveryAggregateArgs> = {
|
|
153
|
+
[P in keyof T & keyof AggregateHealthSnapshotDelivery]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateHealthSnapshotDelivery[P]> : Prisma.GetScalarType<T[P], AggregateHealthSnapshotDelivery[P]>;
|
|
154
|
+
};
|
|
155
|
+
export type HealthSnapshotDeliveryGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
156
|
+
where?: Prisma.HealthSnapshotDeliveryWhereInput;
|
|
157
|
+
orderBy?: Prisma.HealthSnapshotDeliveryOrderByWithAggregationInput | Prisma.HealthSnapshotDeliveryOrderByWithAggregationInput[];
|
|
158
|
+
by: Prisma.HealthSnapshotDeliveryScalarFieldEnum[] | Prisma.HealthSnapshotDeliveryScalarFieldEnum;
|
|
159
|
+
having?: Prisma.HealthSnapshotDeliveryScalarWhereWithAggregatesInput;
|
|
160
|
+
take?: number;
|
|
161
|
+
skip?: number;
|
|
162
|
+
_count?: HealthSnapshotDeliveryCountAggregateInputType | true;
|
|
163
|
+
_min?: HealthSnapshotDeliveryMinAggregateInputType;
|
|
164
|
+
_max?: HealthSnapshotDeliveryMaxAggregateInputType;
|
|
165
|
+
};
|
|
166
|
+
export type HealthSnapshotDeliveryGroupByOutputType = {
|
|
167
|
+
fleetId: string;
|
|
168
|
+
deliveryId: string;
|
|
169
|
+
messageId: string;
|
|
170
|
+
senderShipId: string;
|
|
171
|
+
recipientShipId: string | null;
|
|
172
|
+
recipientType: string | null;
|
|
173
|
+
claimedByShipId: string | null;
|
|
174
|
+
reachableShipIds: string[];
|
|
175
|
+
sentAt: Date;
|
|
176
|
+
state: $Enums.DeliveryState | null;
|
|
177
|
+
since: Date | null;
|
|
178
|
+
stepShipId: string | null;
|
|
179
|
+
leaseId: string | null;
|
|
180
|
+
_count: HealthSnapshotDeliveryCountAggregateOutputType | null;
|
|
181
|
+
_min: HealthSnapshotDeliveryMinAggregateOutputType | null;
|
|
182
|
+
_max: HealthSnapshotDeliveryMaxAggregateOutputType | null;
|
|
183
|
+
};
|
|
184
|
+
export type GetHealthSnapshotDeliveryGroupByPayload<T extends HealthSnapshotDeliveryGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<HealthSnapshotDeliveryGroupByOutputType, T['by']> & {
|
|
185
|
+
[P in ((keyof T) & (keyof HealthSnapshotDeliveryGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], HealthSnapshotDeliveryGroupByOutputType[P]> : Prisma.GetScalarType<T[P], HealthSnapshotDeliveryGroupByOutputType[P]>;
|
|
186
|
+
}>>;
|
|
187
|
+
export type HealthSnapshotDeliveryWhereInput = {
|
|
188
|
+
AND?: Prisma.HealthSnapshotDeliveryWhereInput | Prisma.HealthSnapshotDeliveryWhereInput[];
|
|
189
|
+
OR?: Prisma.HealthSnapshotDeliveryWhereInput[];
|
|
190
|
+
NOT?: Prisma.HealthSnapshotDeliveryWhereInput | Prisma.HealthSnapshotDeliveryWhereInput[];
|
|
191
|
+
fleetId?: Prisma.StringFilter<"HealthSnapshotDelivery"> | string;
|
|
192
|
+
deliveryId?: Prisma.StringFilter<"HealthSnapshotDelivery"> | string;
|
|
193
|
+
messageId?: Prisma.StringFilter<"HealthSnapshotDelivery"> | string;
|
|
194
|
+
senderShipId?: Prisma.StringFilter<"HealthSnapshotDelivery"> | string;
|
|
195
|
+
recipientShipId?: Prisma.StringNullableFilter<"HealthSnapshotDelivery"> | string | null;
|
|
196
|
+
recipientType?: Prisma.StringNullableFilter<"HealthSnapshotDelivery"> | string | null;
|
|
197
|
+
claimedByShipId?: Prisma.StringNullableFilter<"HealthSnapshotDelivery"> | string | null;
|
|
198
|
+
reachableShipIds?: Prisma.StringNullableListFilter<"HealthSnapshotDelivery">;
|
|
199
|
+
sentAt?: Prisma.DateTimeFilter<"HealthSnapshotDelivery"> | Date | string;
|
|
200
|
+
state?: Prisma.EnumDeliveryStateNullableFilter<"HealthSnapshotDelivery"> | $Enums.DeliveryState | null;
|
|
201
|
+
since?: Prisma.DateTimeNullableFilter<"HealthSnapshotDelivery"> | Date | string | null;
|
|
202
|
+
stepShipId?: Prisma.StringNullableFilter<"HealthSnapshotDelivery"> | string | null;
|
|
203
|
+
leaseId?: Prisma.StringNullableFilter<"HealthSnapshotDelivery"> | string | null;
|
|
204
|
+
fleet?: Prisma.XOR<Prisma.FleetScalarRelationFilter, Prisma.FleetWhereInput>;
|
|
205
|
+
};
|
|
206
|
+
export type HealthSnapshotDeliveryOrderByWithRelationInput = {
|
|
207
|
+
fleetId?: Prisma.SortOrder;
|
|
208
|
+
deliveryId?: Prisma.SortOrder;
|
|
209
|
+
messageId?: Prisma.SortOrder;
|
|
210
|
+
senderShipId?: Prisma.SortOrder;
|
|
211
|
+
recipientShipId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
212
|
+
recipientType?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
213
|
+
claimedByShipId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
214
|
+
reachableShipIds?: Prisma.SortOrder;
|
|
215
|
+
sentAt?: Prisma.SortOrder;
|
|
216
|
+
state?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
217
|
+
since?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
218
|
+
stepShipId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
219
|
+
leaseId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
220
|
+
fleet?: Prisma.FleetOrderByWithRelationInput;
|
|
221
|
+
};
|
|
222
|
+
export type HealthSnapshotDeliveryWhereUniqueInput = Prisma.AtLeast<{
|
|
223
|
+
fleetId_deliveryId?: Prisma.HealthSnapshotDeliveryFleetIdDeliveryIdCompoundUniqueInput;
|
|
224
|
+
AND?: Prisma.HealthSnapshotDeliveryWhereInput | Prisma.HealthSnapshotDeliveryWhereInput[];
|
|
225
|
+
OR?: Prisma.HealthSnapshotDeliveryWhereInput[];
|
|
226
|
+
NOT?: Prisma.HealthSnapshotDeliveryWhereInput | Prisma.HealthSnapshotDeliveryWhereInput[];
|
|
227
|
+
fleetId?: Prisma.StringFilter<"HealthSnapshotDelivery"> | string;
|
|
228
|
+
deliveryId?: Prisma.StringFilter<"HealthSnapshotDelivery"> | string;
|
|
229
|
+
messageId?: Prisma.StringFilter<"HealthSnapshotDelivery"> | string;
|
|
230
|
+
senderShipId?: Prisma.StringFilter<"HealthSnapshotDelivery"> | string;
|
|
231
|
+
recipientShipId?: Prisma.StringNullableFilter<"HealthSnapshotDelivery"> | string | null;
|
|
232
|
+
recipientType?: Prisma.StringNullableFilter<"HealthSnapshotDelivery"> | string | null;
|
|
233
|
+
claimedByShipId?: Prisma.StringNullableFilter<"HealthSnapshotDelivery"> | string | null;
|
|
234
|
+
reachableShipIds?: Prisma.StringNullableListFilter<"HealthSnapshotDelivery">;
|
|
235
|
+
sentAt?: Prisma.DateTimeFilter<"HealthSnapshotDelivery"> | Date | string;
|
|
236
|
+
state?: Prisma.EnumDeliveryStateNullableFilter<"HealthSnapshotDelivery"> | $Enums.DeliveryState | null;
|
|
237
|
+
since?: Prisma.DateTimeNullableFilter<"HealthSnapshotDelivery"> | Date | string | null;
|
|
238
|
+
stepShipId?: Prisma.StringNullableFilter<"HealthSnapshotDelivery"> | string | null;
|
|
239
|
+
leaseId?: Prisma.StringNullableFilter<"HealthSnapshotDelivery"> | string | null;
|
|
240
|
+
fleet?: Prisma.XOR<Prisma.FleetScalarRelationFilter, Prisma.FleetWhereInput>;
|
|
241
|
+
}, "fleetId_deliveryId">;
|
|
242
|
+
export type HealthSnapshotDeliveryOrderByWithAggregationInput = {
|
|
243
|
+
fleetId?: Prisma.SortOrder;
|
|
244
|
+
deliveryId?: Prisma.SortOrder;
|
|
245
|
+
messageId?: Prisma.SortOrder;
|
|
246
|
+
senderShipId?: Prisma.SortOrder;
|
|
247
|
+
recipientShipId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
248
|
+
recipientType?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
249
|
+
claimedByShipId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
250
|
+
reachableShipIds?: Prisma.SortOrder;
|
|
251
|
+
sentAt?: Prisma.SortOrder;
|
|
252
|
+
state?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
253
|
+
since?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
254
|
+
stepShipId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
255
|
+
leaseId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
256
|
+
_count?: Prisma.HealthSnapshotDeliveryCountOrderByAggregateInput;
|
|
257
|
+
_max?: Prisma.HealthSnapshotDeliveryMaxOrderByAggregateInput;
|
|
258
|
+
_min?: Prisma.HealthSnapshotDeliveryMinOrderByAggregateInput;
|
|
259
|
+
};
|
|
260
|
+
export type HealthSnapshotDeliveryScalarWhereWithAggregatesInput = {
|
|
261
|
+
AND?: Prisma.HealthSnapshotDeliveryScalarWhereWithAggregatesInput | Prisma.HealthSnapshotDeliveryScalarWhereWithAggregatesInput[];
|
|
262
|
+
OR?: Prisma.HealthSnapshotDeliveryScalarWhereWithAggregatesInput[];
|
|
263
|
+
NOT?: Prisma.HealthSnapshotDeliveryScalarWhereWithAggregatesInput | Prisma.HealthSnapshotDeliveryScalarWhereWithAggregatesInput[];
|
|
264
|
+
fleetId?: Prisma.StringWithAggregatesFilter<"HealthSnapshotDelivery"> | string;
|
|
265
|
+
deliveryId?: Prisma.StringWithAggregatesFilter<"HealthSnapshotDelivery"> | string;
|
|
266
|
+
messageId?: Prisma.StringWithAggregatesFilter<"HealthSnapshotDelivery"> | string;
|
|
267
|
+
senderShipId?: Prisma.StringWithAggregatesFilter<"HealthSnapshotDelivery"> | string;
|
|
268
|
+
recipientShipId?: Prisma.StringNullableWithAggregatesFilter<"HealthSnapshotDelivery"> | string | null;
|
|
269
|
+
recipientType?: Prisma.StringNullableWithAggregatesFilter<"HealthSnapshotDelivery"> | string | null;
|
|
270
|
+
claimedByShipId?: Prisma.StringNullableWithAggregatesFilter<"HealthSnapshotDelivery"> | string | null;
|
|
271
|
+
reachableShipIds?: Prisma.StringNullableListFilter<"HealthSnapshotDelivery">;
|
|
272
|
+
sentAt?: Prisma.DateTimeWithAggregatesFilter<"HealthSnapshotDelivery"> | Date | string;
|
|
273
|
+
state?: Prisma.EnumDeliveryStateNullableWithAggregatesFilter<"HealthSnapshotDelivery"> | $Enums.DeliveryState | null;
|
|
274
|
+
since?: Prisma.DateTimeNullableWithAggregatesFilter<"HealthSnapshotDelivery"> | Date | string | null;
|
|
275
|
+
stepShipId?: Prisma.StringNullableWithAggregatesFilter<"HealthSnapshotDelivery"> | string | null;
|
|
276
|
+
leaseId?: Prisma.StringNullableWithAggregatesFilter<"HealthSnapshotDelivery"> | string | null;
|
|
277
|
+
};
|
|
278
|
+
export type HealthSnapshotDeliveryCreateInput = {
|
|
279
|
+
deliveryId: string;
|
|
280
|
+
messageId: string;
|
|
281
|
+
senderShipId: string;
|
|
282
|
+
recipientShipId?: string | null;
|
|
283
|
+
recipientType?: string | null;
|
|
284
|
+
claimedByShipId?: string | null;
|
|
285
|
+
reachableShipIds?: Prisma.HealthSnapshotDeliveryCreatereachableShipIdsInput | string[];
|
|
286
|
+
sentAt: Date | string;
|
|
287
|
+
state?: $Enums.DeliveryState | null;
|
|
288
|
+
since?: Date | string | null;
|
|
289
|
+
stepShipId?: string | null;
|
|
290
|
+
leaseId?: string | null;
|
|
291
|
+
fleet: Prisma.FleetCreateNestedOneWithoutHealthSnapshotDeliveriesInput;
|
|
292
|
+
};
|
|
293
|
+
export type HealthSnapshotDeliveryUncheckedCreateInput = {
|
|
294
|
+
fleetId: string;
|
|
295
|
+
deliveryId: string;
|
|
296
|
+
messageId: string;
|
|
297
|
+
senderShipId: string;
|
|
298
|
+
recipientShipId?: string | null;
|
|
299
|
+
recipientType?: string | null;
|
|
300
|
+
claimedByShipId?: string | null;
|
|
301
|
+
reachableShipIds?: Prisma.HealthSnapshotDeliveryCreatereachableShipIdsInput | string[];
|
|
302
|
+
sentAt: Date | string;
|
|
303
|
+
state?: $Enums.DeliveryState | null;
|
|
304
|
+
since?: Date | string | null;
|
|
305
|
+
stepShipId?: string | null;
|
|
306
|
+
leaseId?: string | null;
|
|
307
|
+
};
|
|
308
|
+
export type HealthSnapshotDeliveryUpdateInput = {
|
|
309
|
+
deliveryId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
310
|
+
messageId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
311
|
+
senderShipId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
312
|
+
recipientShipId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
313
|
+
recipientType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
314
|
+
claimedByShipId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
315
|
+
reachableShipIds?: Prisma.HealthSnapshotDeliveryUpdatereachableShipIdsInput | string[];
|
|
316
|
+
sentAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
317
|
+
state?: Prisma.NullableEnumDeliveryStateFieldUpdateOperationsInput | $Enums.DeliveryState | null;
|
|
318
|
+
since?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
319
|
+
stepShipId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
320
|
+
leaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
321
|
+
fleet?: Prisma.FleetUpdateOneRequiredWithoutHealthSnapshotDeliveriesNestedInput;
|
|
322
|
+
};
|
|
323
|
+
export type HealthSnapshotDeliveryUncheckedUpdateInput = {
|
|
324
|
+
fleetId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
325
|
+
deliveryId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
326
|
+
messageId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
327
|
+
senderShipId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
328
|
+
recipientShipId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
329
|
+
recipientType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
330
|
+
claimedByShipId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
331
|
+
reachableShipIds?: Prisma.HealthSnapshotDeliveryUpdatereachableShipIdsInput | string[];
|
|
332
|
+
sentAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
333
|
+
state?: Prisma.NullableEnumDeliveryStateFieldUpdateOperationsInput | $Enums.DeliveryState | null;
|
|
334
|
+
since?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
335
|
+
stepShipId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
336
|
+
leaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
337
|
+
};
|
|
338
|
+
export type HealthSnapshotDeliveryCreateManyInput = {
|
|
339
|
+
fleetId: string;
|
|
340
|
+
deliveryId: string;
|
|
341
|
+
messageId: string;
|
|
342
|
+
senderShipId: string;
|
|
343
|
+
recipientShipId?: string | null;
|
|
344
|
+
recipientType?: string | null;
|
|
345
|
+
claimedByShipId?: string | null;
|
|
346
|
+
reachableShipIds?: Prisma.HealthSnapshotDeliveryCreatereachableShipIdsInput | string[];
|
|
347
|
+
sentAt: Date | string;
|
|
348
|
+
state?: $Enums.DeliveryState | null;
|
|
349
|
+
since?: Date | string | null;
|
|
350
|
+
stepShipId?: string | null;
|
|
351
|
+
leaseId?: string | null;
|
|
352
|
+
};
|
|
353
|
+
export type HealthSnapshotDeliveryUpdateManyMutationInput = {
|
|
354
|
+
deliveryId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
355
|
+
messageId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
356
|
+
senderShipId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
357
|
+
recipientShipId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
358
|
+
recipientType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
359
|
+
claimedByShipId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
360
|
+
reachableShipIds?: Prisma.HealthSnapshotDeliveryUpdatereachableShipIdsInput | string[];
|
|
361
|
+
sentAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
362
|
+
state?: Prisma.NullableEnumDeliveryStateFieldUpdateOperationsInput | $Enums.DeliveryState | null;
|
|
363
|
+
since?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
364
|
+
stepShipId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
365
|
+
leaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
366
|
+
};
|
|
367
|
+
export type HealthSnapshotDeliveryUncheckedUpdateManyInput = {
|
|
368
|
+
fleetId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
369
|
+
deliveryId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
370
|
+
messageId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
371
|
+
senderShipId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
372
|
+
recipientShipId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
373
|
+
recipientType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
374
|
+
claimedByShipId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
375
|
+
reachableShipIds?: Prisma.HealthSnapshotDeliveryUpdatereachableShipIdsInput | string[];
|
|
376
|
+
sentAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
377
|
+
state?: Prisma.NullableEnumDeliveryStateFieldUpdateOperationsInput | $Enums.DeliveryState | null;
|
|
378
|
+
since?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
379
|
+
stepShipId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
380
|
+
leaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
381
|
+
};
|
|
382
|
+
export type HealthSnapshotDeliveryListRelationFilter = {
|
|
383
|
+
every?: Prisma.HealthSnapshotDeliveryWhereInput;
|
|
384
|
+
some?: Prisma.HealthSnapshotDeliveryWhereInput;
|
|
385
|
+
none?: Prisma.HealthSnapshotDeliveryWhereInput;
|
|
386
|
+
};
|
|
387
|
+
export type HealthSnapshotDeliveryOrderByRelationAggregateInput = {
|
|
388
|
+
_count?: Prisma.SortOrder;
|
|
389
|
+
};
|
|
390
|
+
export type HealthSnapshotDeliveryFleetIdDeliveryIdCompoundUniqueInput = {
|
|
391
|
+
fleetId: string;
|
|
392
|
+
deliveryId: string;
|
|
393
|
+
};
|
|
394
|
+
export type HealthSnapshotDeliveryCountOrderByAggregateInput = {
|
|
395
|
+
fleetId?: Prisma.SortOrder;
|
|
396
|
+
deliveryId?: Prisma.SortOrder;
|
|
397
|
+
messageId?: Prisma.SortOrder;
|
|
398
|
+
senderShipId?: Prisma.SortOrder;
|
|
399
|
+
recipientShipId?: Prisma.SortOrder;
|
|
400
|
+
recipientType?: Prisma.SortOrder;
|
|
401
|
+
claimedByShipId?: Prisma.SortOrder;
|
|
402
|
+
reachableShipIds?: Prisma.SortOrder;
|
|
403
|
+
sentAt?: Prisma.SortOrder;
|
|
404
|
+
state?: Prisma.SortOrder;
|
|
405
|
+
since?: Prisma.SortOrder;
|
|
406
|
+
stepShipId?: Prisma.SortOrder;
|
|
407
|
+
leaseId?: Prisma.SortOrder;
|
|
408
|
+
};
|
|
409
|
+
export type HealthSnapshotDeliveryMaxOrderByAggregateInput = {
|
|
410
|
+
fleetId?: Prisma.SortOrder;
|
|
411
|
+
deliveryId?: Prisma.SortOrder;
|
|
412
|
+
messageId?: Prisma.SortOrder;
|
|
413
|
+
senderShipId?: Prisma.SortOrder;
|
|
414
|
+
recipientShipId?: Prisma.SortOrder;
|
|
415
|
+
recipientType?: Prisma.SortOrder;
|
|
416
|
+
claimedByShipId?: Prisma.SortOrder;
|
|
417
|
+
sentAt?: Prisma.SortOrder;
|
|
418
|
+
state?: Prisma.SortOrder;
|
|
419
|
+
since?: Prisma.SortOrder;
|
|
420
|
+
stepShipId?: Prisma.SortOrder;
|
|
421
|
+
leaseId?: Prisma.SortOrder;
|
|
422
|
+
};
|
|
423
|
+
export type HealthSnapshotDeliveryMinOrderByAggregateInput = {
|
|
424
|
+
fleetId?: Prisma.SortOrder;
|
|
425
|
+
deliveryId?: Prisma.SortOrder;
|
|
426
|
+
messageId?: Prisma.SortOrder;
|
|
427
|
+
senderShipId?: Prisma.SortOrder;
|
|
428
|
+
recipientShipId?: Prisma.SortOrder;
|
|
429
|
+
recipientType?: Prisma.SortOrder;
|
|
430
|
+
claimedByShipId?: Prisma.SortOrder;
|
|
431
|
+
sentAt?: Prisma.SortOrder;
|
|
432
|
+
state?: Prisma.SortOrder;
|
|
433
|
+
since?: Prisma.SortOrder;
|
|
434
|
+
stepShipId?: Prisma.SortOrder;
|
|
435
|
+
leaseId?: Prisma.SortOrder;
|
|
436
|
+
};
|
|
437
|
+
export type HealthSnapshotDeliveryCreateNestedManyWithoutFleetInput = {
|
|
438
|
+
create?: Prisma.XOR<Prisma.HealthSnapshotDeliveryCreateWithoutFleetInput, Prisma.HealthSnapshotDeliveryUncheckedCreateWithoutFleetInput> | Prisma.HealthSnapshotDeliveryCreateWithoutFleetInput[] | Prisma.HealthSnapshotDeliveryUncheckedCreateWithoutFleetInput[];
|
|
439
|
+
connectOrCreate?: Prisma.HealthSnapshotDeliveryCreateOrConnectWithoutFleetInput | Prisma.HealthSnapshotDeliveryCreateOrConnectWithoutFleetInput[];
|
|
440
|
+
createMany?: Prisma.HealthSnapshotDeliveryCreateManyFleetInputEnvelope;
|
|
441
|
+
connect?: Prisma.HealthSnapshotDeliveryWhereUniqueInput | Prisma.HealthSnapshotDeliveryWhereUniqueInput[];
|
|
442
|
+
};
|
|
443
|
+
export type HealthSnapshotDeliveryUncheckedCreateNestedManyWithoutFleetInput = {
|
|
444
|
+
create?: Prisma.XOR<Prisma.HealthSnapshotDeliveryCreateWithoutFleetInput, Prisma.HealthSnapshotDeliveryUncheckedCreateWithoutFleetInput> | Prisma.HealthSnapshotDeliveryCreateWithoutFleetInput[] | Prisma.HealthSnapshotDeliveryUncheckedCreateWithoutFleetInput[];
|
|
445
|
+
connectOrCreate?: Prisma.HealthSnapshotDeliveryCreateOrConnectWithoutFleetInput | Prisma.HealthSnapshotDeliveryCreateOrConnectWithoutFleetInput[];
|
|
446
|
+
createMany?: Prisma.HealthSnapshotDeliveryCreateManyFleetInputEnvelope;
|
|
447
|
+
connect?: Prisma.HealthSnapshotDeliveryWhereUniqueInput | Prisma.HealthSnapshotDeliveryWhereUniqueInput[];
|
|
448
|
+
};
|
|
449
|
+
export type HealthSnapshotDeliveryUpdateManyWithoutFleetNestedInput = {
|
|
450
|
+
create?: Prisma.XOR<Prisma.HealthSnapshotDeliveryCreateWithoutFleetInput, Prisma.HealthSnapshotDeliveryUncheckedCreateWithoutFleetInput> | Prisma.HealthSnapshotDeliveryCreateWithoutFleetInput[] | Prisma.HealthSnapshotDeliveryUncheckedCreateWithoutFleetInput[];
|
|
451
|
+
connectOrCreate?: Prisma.HealthSnapshotDeliveryCreateOrConnectWithoutFleetInput | Prisma.HealthSnapshotDeliveryCreateOrConnectWithoutFleetInput[];
|
|
452
|
+
upsert?: Prisma.HealthSnapshotDeliveryUpsertWithWhereUniqueWithoutFleetInput | Prisma.HealthSnapshotDeliveryUpsertWithWhereUniqueWithoutFleetInput[];
|
|
453
|
+
createMany?: Prisma.HealthSnapshotDeliveryCreateManyFleetInputEnvelope;
|
|
454
|
+
set?: Prisma.HealthSnapshotDeliveryWhereUniqueInput | Prisma.HealthSnapshotDeliveryWhereUniqueInput[];
|
|
455
|
+
disconnect?: Prisma.HealthSnapshotDeliveryWhereUniqueInput | Prisma.HealthSnapshotDeliveryWhereUniqueInput[];
|
|
456
|
+
delete?: Prisma.HealthSnapshotDeliveryWhereUniqueInput | Prisma.HealthSnapshotDeliveryWhereUniqueInput[];
|
|
457
|
+
connect?: Prisma.HealthSnapshotDeliveryWhereUniqueInput | Prisma.HealthSnapshotDeliveryWhereUniqueInput[];
|
|
458
|
+
update?: Prisma.HealthSnapshotDeliveryUpdateWithWhereUniqueWithoutFleetInput | Prisma.HealthSnapshotDeliveryUpdateWithWhereUniqueWithoutFleetInput[];
|
|
459
|
+
updateMany?: Prisma.HealthSnapshotDeliveryUpdateManyWithWhereWithoutFleetInput | Prisma.HealthSnapshotDeliveryUpdateManyWithWhereWithoutFleetInput[];
|
|
460
|
+
deleteMany?: Prisma.HealthSnapshotDeliveryScalarWhereInput | Prisma.HealthSnapshotDeliveryScalarWhereInput[];
|
|
461
|
+
};
|
|
462
|
+
export type HealthSnapshotDeliveryUncheckedUpdateManyWithoutFleetNestedInput = {
|
|
463
|
+
create?: Prisma.XOR<Prisma.HealthSnapshotDeliveryCreateWithoutFleetInput, Prisma.HealthSnapshotDeliveryUncheckedCreateWithoutFleetInput> | Prisma.HealthSnapshotDeliveryCreateWithoutFleetInput[] | Prisma.HealthSnapshotDeliveryUncheckedCreateWithoutFleetInput[];
|
|
464
|
+
connectOrCreate?: Prisma.HealthSnapshotDeliveryCreateOrConnectWithoutFleetInput | Prisma.HealthSnapshotDeliveryCreateOrConnectWithoutFleetInput[];
|
|
465
|
+
upsert?: Prisma.HealthSnapshotDeliveryUpsertWithWhereUniqueWithoutFleetInput | Prisma.HealthSnapshotDeliveryUpsertWithWhereUniqueWithoutFleetInput[];
|
|
466
|
+
createMany?: Prisma.HealthSnapshotDeliveryCreateManyFleetInputEnvelope;
|
|
467
|
+
set?: Prisma.HealthSnapshotDeliveryWhereUniqueInput | Prisma.HealthSnapshotDeliveryWhereUniqueInput[];
|
|
468
|
+
disconnect?: Prisma.HealthSnapshotDeliveryWhereUniqueInput | Prisma.HealthSnapshotDeliveryWhereUniqueInput[];
|
|
469
|
+
delete?: Prisma.HealthSnapshotDeliveryWhereUniqueInput | Prisma.HealthSnapshotDeliveryWhereUniqueInput[];
|
|
470
|
+
connect?: Prisma.HealthSnapshotDeliveryWhereUniqueInput | Prisma.HealthSnapshotDeliveryWhereUniqueInput[];
|
|
471
|
+
update?: Prisma.HealthSnapshotDeliveryUpdateWithWhereUniqueWithoutFleetInput | Prisma.HealthSnapshotDeliveryUpdateWithWhereUniqueWithoutFleetInput[];
|
|
472
|
+
updateMany?: Prisma.HealthSnapshotDeliveryUpdateManyWithWhereWithoutFleetInput | Prisma.HealthSnapshotDeliveryUpdateManyWithWhereWithoutFleetInput[];
|
|
473
|
+
deleteMany?: Prisma.HealthSnapshotDeliveryScalarWhereInput | Prisma.HealthSnapshotDeliveryScalarWhereInput[];
|
|
474
|
+
};
|
|
475
|
+
export type HealthSnapshotDeliveryCreatereachableShipIdsInput = {
|
|
476
|
+
set: string[];
|
|
477
|
+
};
|
|
478
|
+
export type HealthSnapshotDeliveryUpdatereachableShipIdsInput = {
|
|
479
|
+
set?: string[];
|
|
480
|
+
push?: string | string[];
|
|
481
|
+
};
|
|
482
|
+
export type NullableEnumDeliveryStateFieldUpdateOperationsInput = {
|
|
483
|
+
set?: $Enums.DeliveryState | null;
|
|
484
|
+
};
|
|
485
|
+
export type HealthSnapshotDeliveryCreateWithoutFleetInput = {
|
|
486
|
+
deliveryId: string;
|
|
487
|
+
messageId: string;
|
|
488
|
+
senderShipId: string;
|
|
489
|
+
recipientShipId?: string | null;
|
|
490
|
+
recipientType?: string | null;
|
|
491
|
+
claimedByShipId?: string | null;
|
|
492
|
+
reachableShipIds?: Prisma.HealthSnapshotDeliveryCreatereachableShipIdsInput | string[];
|
|
493
|
+
sentAt: Date | string;
|
|
494
|
+
state?: $Enums.DeliveryState | null;
|
|
495
|
+
since?: Date | string | null;
|
|
496
|
+
stepShipId?: string | null;
|
|
497
|
+
leaseId?: string | null;
|
|
498
|
+
};
|
|
499
|
+
export type HealthSnapshotDeliveryUncheckedCreateWithoutFleetInput = {
|
|
500
|
+
deliveryId: string;
|
|
501
|
+
messageId: string;
|
|
502
|
+
senderShipId: string;
|
|
503
|
+
recipientShipId?: string | null;
|
|
504
|
+
recipientType?: string | null;
|
|
505
|
+
claimedByShipId?: string | null;
|
|
506
|
+
reachableShipIds?: Prisma.HealthSnapshotDeliveryCreatereachableShipIdsInput | string[];
|
|
507
|
+
sentAt: Date | string;
|
|
508
|
+
state?: $Enums.DeliveryState | null;
|
|
509
|
+
since?: Date | string | null;
|
|
510
|
+
stepShipId?: string | null;
|
|
511
|
+
leaseId?: string | null;
|
|
512
|
+
};
|
|
513
|
+
export type HealthSnapshotDeliveryCreateOrConnectWithoutFleetInput = {
|
|
514
|
+
where: Prisma.HealthSnapshotDeliveryWhereUniqueInput;
|
|
515
|
+
create: Prisma.XOR<Prisma.HealthSnapshotDeliveryCreateWithoutFleetInput, Prisma.HealthSnapshotDeliveryUncheckedCreateWithoutFleetInput>;
|
|
516
|
+
};
|
|
517
|
+
export type HealthSnapshotDeliveryCreateManyFleetInputEnvelope = {
|
|
518
|
+
data: Prisma.HealthSnapshotDeliveryCreateManyFleetInput | Prisma.HealthSnapshotDeliveryCreateManyFleetInput[];
|
|
519
|
+
skipDuplicates?: boolean;
|
|
520
|
+
};
|
|
521
|
+
export type HealthSnapshotDeliveryUpsertWithWhereUniqueWithoutFleetInput = {
|
|
522
|
+
where: Prisma.HealthSnapshotDeliveryWhereUniqueInput;
|
|
523
|
+
update: Prisma.XOR<Prisma.HealthSnapshotDeliveryUpdateWithoutFleetInput, Prisma.HealthSnapshotDeliveryUncheckedUpdateWithoutFleetInput>;
|
|
524
|
+
create: Prisma.XOR<Prisma.HealthSnapshotDeliveryCreateWithoutFleetInput, Prisma.HealthSnapshotDeliveryUncheckedCreateWithoutFleetInput>;
|
|
525
|
+
};
|
|
526
|
+
export type HealthSnapshotDeliveryUpdateWithWhereUniqueWithoutFleetInput = {
|
|
527
|
+
where: Prisma.HealthSnapshotDeliveryWhereUniqueInput;
|
|
528
|
+
data: Prisma.XOR<Prisma.HealthSnapshotDeliveryUpdateWithoutFleetInput, Prisma.HealthSnapshotDeliveryUncheckedUpdateWithoutFleetInput>;
|
|
529
|
+
};
|
|
530
|
+
export type HealthSnapshotDeliveryUpdateManyWithWhereWithoutFleetInput = {
|
|
531
|
+
where: Prisma.HealthSnapshotDeliveryScalarWhereInput;
|
|
532
|
+
data: Prisma.XOR<Prisma.HealthSnapshotDeliveryUpdateManyMutationInput, Prisma.HealthSnapshotDeliveryUncheckedUpdateManyWithoutFleetInput>;
|
|
533
|
+
};
|
|
534
|
+
export type HealthSnapshotDeliveryScalarWhereInput = {
|
|
535
|
+
AND?: Prisma.HealthSnapshotDeliveryScalarWhereInput | Prisma.HealthSnapshotDeliveryScalarWhereInput[];
|
|
536
|
+
OR?: Prisma.HealthSnapshotDeliveryScalarWhereInput[];
|
|
537
|
+
NOT?: Prisma.HealthSnapshotDeliveryScalarWhereInput | Prisma.HealthSnapshotDeliveryScalarWhereInput[];
|
|
538
|
+
fleetId?: Prisma.StringFilter<"HealthSnapshotDelivery"> | string;
|
|
539
|
+
deliveryId?: Prisma.StringFilter<"HealthSnapshotDelivery"> | string;
|
|
540
|
+
messageId?: Prisma.StringFilter<"HealthSnapshotDelivery"> | string;
|
|
541
|
+
senderShipId?: Prisma.StringFilter<"HealthSnapshotDelivery"> | string;
|
|
542
|
+
recipientShipId?: Prisma.StringNullableFilter<"HealthSnapshotDelivery"> | string | null;
|
|
543
|
+
recipientType?: Prisma.StringNullableFilter<"HealthSnapshotDelivery"> | string | null;
|
|
544
|
+
claimedByShipId?: Prisma.StringNullableFilter<"HealthSnapshotDelivery"> | string | null;
|
|
545
|
+
reachableShipIds?: Prisma.StringNullableListFilter<"HealthSnapshotDelivery">;
|
|
546
|
+
sentAt?: Prisma.DateTimeFilter<"HealthSnapshotDelivery"> | Date | string;
|
|
547
|
+
state?: Prisma.EnumDeliveryStateNullableFilter<"HealthSnapshotDelivery"> | $Enums.DeliveryState | null;
|
|
548
|
+
since?: Prisma.DateTimeNullableFilter<"HealthSnapshotDelivery"> | Date | string | null;
|
|
549
|
+
stepShipId?: Prisma.StringNullableFilter<"HealthSnapshotDelivery"> | string | null;
|
|
550
|
+
leaseId?: Prisma.StringNullableFilter<"HealthSnapshotDelivery"> | string | null;
|
|
551
|
+
};
|
|
552
|
+
export type HealthSnapshotDeliveryCreateManyFleetInput = {
|
|
553
|
+
deliveryId: string;
|
|
554
|
+
messageId: string;
|
|
555
|
+
senderShipId: string;
|
|
556
|
+
recipientShipId?: string | null;
|
|
557
|
+
recipientType?: string | null;
|
|
558
|
+
claimedByShipId?: string | null;
|
|
559
|
+
reachableShipIds?: Prisma.HealthSnapshotDeliveryCreatereachableShipIdsInput | string[];
|
|
560
|
+
sentAt: Date | string;
|
|
561
|
+
state?: $Enums.DeliveryState | null;
|
|
562
|
+
since?: Date | string | null;
|
|
563
|
+
stepShipId?: string | null;
|
|
564
|
+
leaseId?: string | null;
|
|
565
|
+
};
|
|
566
|
+
export type HealthSnapshotDeliveryUpdateWithoutFleetInput = {
|
|
567
|
+
deliveryId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
568
|
+
messageId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
569
|
+
senderShipId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
570
|
+
recipientShipId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
571
|
+
recipientType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
572
|
+
claimedByShipId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
573
|
+
reachableShipIds?: Prisma.HealthSnapshotDeliveryUpdatereachableShipIdsInput | string[];
|
|
574
|
+
sentAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
575
|
+
state?: Prisma.NullableEnumDeliveryStateFieldUpdateOperationsInput | $Enums.DeliveryState | null;
|
|
576
|
+
since?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
577
|
+
stepShipId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
578
|
+
leaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
579
|
+
};
|
|
580
|
+
export type HealthSnapshotDeliveryUncheckedUpdateWithoutFleetInput = {
|
|
581
|
+
deliveryId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
582
|
+
messageId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
583
|
+
senderShipId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
584
|
+
recipientShipId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
585
|
+
recipientType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
586
|
+
claimedByShipId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
587
|
+
reachableShipIds?: Prisma.HealthSnapshotDeliveryUpdatereachableShipIdsInput | string[];
|
|
588
|
+
sentAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
589
|
+
state?: Prisma.NullableEnumDeliveryStateFieldUpdateOperationsInput | $Enums.DeliveryState | null;
|
|
590
|
+
since?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
591
|
+
stepShipId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
592
|
+
leaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
593
|
+
};
|
|
594
|
+
export type HealthSnapshotDeliveryUncheckedUpdateManyWithoutFleetInput = {
|
|
595
|
+
deliveryId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
596
|
+
messageId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
597
|
+
senderShipId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
598
|
+
recipientShipId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
599
|
+
recipientType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
600
|
+
claimedByShipId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
601
|
+
reachableShipIds?: Prisma.HealthSnapshotDeliveryUpdatereachableShipIdsInput | string[];
|
|
602
|
+
sentAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
603
|
+
state?: Prisma.NullableEnumDeliveryStateFieldUpdateOperationsInput | $Enums.DeliveryState | null;
|
|
604
|
+
since?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
605
|
+
stepShipId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
606
|
+
leaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
607
|
+
};
|
|
608
|
+
export type HealthSnapshotDeliverySelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
609
|
+
fleetId?: boolean;
|
|
610
|
+
deliveryId?: boolean;
|
|
611
|
+
messageId?: boolean;
|
|
612
|
+
senderShipId?: boolean;
|
|
613
|
+
recipientShipId?: boolean;
|
|
614
|
+
recipientType?: boolean;
|
|
615
|
+
claimedByShipId?: boolean;
|
|
616
|
+
reachableShipIds?: boolean;
|
|
617
|
+
sentAt?: boolean;
|
|
618
|
+
state?: boolean;
|
|
619
|
+
since?: boolean;
|
|
620
|
+
stepShipId?: boolean;
|
|
621
|
+
leaseId?: boolean;
|
|
622
|
+
fleet?: boolean | Prisma.FleetDefaultArgs<ExtArgs>;
|
|
623
|
+
}, ExtArgs["result"]["healthSnapshotDelivery"]>;
|
|
624
|
+
export type HealthSnapshotDeliverySelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
625
|
+
fleetId?: boolean;
|
|
626
|
+
deliveryId?: boolean;
|
|
627
|
+
messageId?: boolean;
|
|
628
|
+
senderShipId?: boolean;
|
|
629
|
+
recipientShipId?: boolean;
|
|
630
|
+
recipientType?: boolean;
|
|
631
|
+
claimedByShipId?: boolean;
|
|
632
|
+
reachableShipIds?: boolean;
|
|
633
|
+
sentAt?: boolean;
|
|
634
|
+
state?: boolean;
|
|
635
|
+
since?: boolean;
|
|
636
|
+
stepShipId?: boolean;
|
|
637
|
+
leaseId?: boolean;
|
|
638
|
+
fleet?: boolean | Prisma.FleetDefaultArgs<ExtArgs>;
|
|
639
|
+
}, ExtArgs["result"]["healthSnapshotDelivery"]>;
|
|
640
|
+
export type HealthSnapshotDeliverySelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
641
|
+
fleetId?: boolean;
|
|
642
|
+
deliveryId?: boolean;
|
|
643
|
+
messageId?: boolean;
|
|
644
|
+
senderShipId?: boolean;
|
|
645
|
+
recipientShipId?: boolean;
|
|
646
|
+
recipientType?: boolean;
|
|
647
|
+
claimedByShipId?: boolean;
|
|
648
|
+
reachableShipIds?: boolean;
|
|
649
|
+
sentAt?: boolean;
|
|
650
|
+
state?: boolean;
|
|
651
|
+
since?: boolean;
|
|
652
|
+
stepShipId?: boolean;
|
|
653
|
+
leaseId?: boolean;
|
|
654
|
+
fleet?: boolean | Prisma.FleetDefaultArgs<ExtArgs>;
|
|
655
|
+
}, ExtArgs["result"]["healthSnapshotDelivery"]>;
|
|
656
|
+
export type HealthSnapshotDeliverySelectScalar = {
|
|
657
|
+
fleetId?: boolean;
|
|
658
|
+
deliveryId?: boolean;
|
|
659
|
+
messageId?: boolean;
|
|
660
|
+
senderShipId?: boolean;
|
|
661
|
+
recipientShipId?: boolean;
|
|
662
|
+
recipientType?: boolean;
|
|
663
|
+
claimedByShipId?: boolean;
|
|
664
|
+
reachableShipIds?: boolean;
|
|
665
|
+
sentAt?: boolean;
|
|
666
|
+
state?: boolean;
|
|
667
|
+
since?: boolean;
|
|
668
|
+
stepShipId?: boolean;
|
|
669
|
+
leaseId?: boolean;
|
|
670
|
+
};
|
|
671
|
+
export type HealthSnapshotDeliveryOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"fleetId" | "deliveryId" | "messageId" | "senderShipId" | "recipientShipId" | "recipientType" | "claimedByShipId" | "reachableShipIds" | "sentAt" | "state" | "since" | "stepShipId" | "leaseId", ExtArgs["result"]["healthSnapshotDelivery"]>;
|
|
672
|
+
export type HealthSnapshotDeliveryInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
673
|
+
fleet?: boolean | Prisma.FleetDefaultArgs<ExtArgs>;
|
|
674
|
+
};
|
|
675
|
+
export type HealthSnapshotDeliveryIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
676
|
+
fleet?: boolean | Prisma.FleetDefaultArgs<ExtArgs>;
|
|
677
|
+
};
|
|
678
|
+
export type HealthSnapshotDeliveryIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
679
|
+
fleet?: boolean | Prisma.FleetDefaultArgs<ExtArgs>;
|
|
680
|
+
};
|
|
681
|
+
export type $HealthSnapshotDeliveryPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
682
|
+
name: "HealthSnapshotDelivery";
|
|
683
|
+
objects: {
|
|
684
|
+
fleet: Prisma.$FleetPayload<ExtArgs>;
|
|
685
|
+
};
|
|
686
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
687
|
+
fleetId: string;
|
|
688
|
+
deliveryId: string;
|
|
689
|
+
messageId: string;
|
|
690
|
+
senderShipId: string;
|
|
691
|
+
recipientShipId: string | null;
|
|
692
|
+
recipientType: string | null;
|
|
693
|
+
claimedByShipId: string | null;
|
|
694
|
+
reachableShipIds: string[];
|
|
695
|
+
sentAt: Date;
|
|
696
|
+
/**
|
|
697
|
+
* Its latest step: the state, since when, and the ship and lease that took it; none while pending since its send.
|
|
698
|
+
*/
|
|
699
|
+
state: $Enums.DeliveryState | null;
|
|
700
|
+
since: Date | null;
|
|
701
|
+
stepShipId: string | null;
|
|
702
|
+
leaseId: string | null;
|
|
703
|
+
}, ExtArgs["result"]["healthSnapshotDelivery"]>;
|
|
704
|
+
composites: {};
|
|
705
|
+
};
|
|
706
|
+
export type HealthSnapshotDeliveryGetPayload<S extends boolean | null | undefined | HealthSnapshotDeliveryDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$HealthSnapshotDeliveryPayload, S>;
|
|
707
|
+
export type HealthSnapshotDeliveryCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<HealthSnapshotDeliveryFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
708
|
+
select?: HealthSnapshotDeliveryCountAggregateInputType | true;
|
|
709
|
+
};
|
|
710
|
+
export interface HealthSnapshotDeliveryDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
711
|
+
[K: symbol]: {
|
|
712
|
+
types: Prisma.TypeMap<ExtArgs>['model']['HealthSnapshotDelivery'];
|
|
713
|
+
meta: {
|
|
714
|
+
name: 'HealthSnapshotDelivery';
|
|
715
|
+
};
|
|
716
|
+
};
|
|
717
|
+
/**
|
|
718
|
+
* Find zero or one HealthSnapshotDelivery that matches the filter.
|
|
719
|
+
* @param {HealthSnapshotDeliveryFindUniqueArgs} args - Arguments to find a HealthSnapshotDelivery
|
|
720
|
+
* @example
|
|
721
|
+
* // Get one HealthSnapshotDelivery
|
|
722
|
+
* const healthSnapshotDelivery = await prisma.healthSnapshotDelivery.findUnique({
|
|
723
|
+
* where: {
|
|
724
|
+
* // ... provide filter here
|
|
725
|
+
* }
|
|
726
|
+
* })
|
|
727
|
+
*/
|
|
728
|
+
findUnique<T extends HealthSnapshotDeliveryFindUniqueArgs>(args: Prisma.SelectSubset<T, HealthSnapshotDeliveryFindUniqueArgs<ExtArgs>>): Prisma.Prisma__HealthSnapshotDeliveryClient<runtime.Types.Result.GetResult<Prisma.$HealthSnapshotDeliveryPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
729
|
+
/**
|
|
730
|
+
* Find one HealthSnapshotDelivery that matches the filter or throw an error with `error.code='P2025'`
|
|
731
|
+
* if no matches were found.
|
|
732
|
+
* @param {HealthSnapshotDeliveryFindUniqueOrThrowArgs} args - Arguments to find a HealthSnapshotDelivery
|
|
733
|
+
* @example
|
|
734
|
+
* // Get one HealthSnapshotDelivery
|
|
735
|
+
* const healthSnapshotDelivery = await prisma.healthSnapshotDelivery.findUniqueOrThrow({
|
|
736
|
+
* where: {
|
|
737
|
+
* // ... provide filter here
|
|
738
|
+
* }
|
|
739
|
+
* })
|
|
740
|
+
*/
|
|
741
|
+
findUniqueOrThrow<T extends HealthSnapshotDeliveryFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, HealthSnapshotDeliveryFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__HealthSnapshotDeliveryClient<runtime.Types.Result.GetResult<Prisma.$HealthSnapshotDeliveryPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
742
|
+
/**
|
|
743
|
+
* Find the first HealthSnapshotDelivery that matches the filter.
|
|
744
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
745
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
746
|
+
* @param {HealthSnapshotDeliveryFindFirstArgs} args - Arguments to find a HealthSnapshotDelivery
|
|
747
|
+
* @example
|
|
748
|
+
* // Get one HealthSnapshotDelivery
|
|
749
|
+
* const healthSnapshotDelivery = await prisma.healthSnapshotDelivery.findFirst({
|
|
750
|
+
* where: {
|
|
751
|
+
* // ... provide filter here
|
|
752
|
+
* }
|
|
753
|
+
* })
|
|
754
|
+
*/
|
|
755
|
+
findFirst<T extends HealthSnapshotDeliveryFindFirstArgs>(args?: Prisma.SelectSubset<T, HealthSnapshotDeliveryFindFirstArgs<ExtArgs>>): Prisma.Prisma__HealthSnapshotDeliveryClient<runtime.Types.Result.GetResult<Prisma.$HealthSnapshotDeliveryPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
756
|
+
/**
|
|
757
|
+
* Find the first HealthSnapshotDelivery that matches the filter or
|
|
758
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
759
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
760
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
761
|
+
* @param {HealthSnapshotDeliveryFindFirstOrThrowArgs} args - Arguments to find a HealthSnapshotDelivery
|
|
762
|
+
* @example
|
|
763
|
+
* // Get one HealthSnapshotDelivery
|
|
764
|
+
* const healthSnapshotDelivery = await prisma.healthSnapshotDelivery.findFirstOrThrow({
|
|
765
|
+
* where: {
|
|
766
|
+
* // ... provide filter here
|
|
767
|
+
* }
|
|
768
|
+
* })
|
|
769
|
+
*/
|
|
770
|
+
findFirstOrThrow<T extends HealthSnapshotDeliveryFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, HealthSnapshotDeliveryFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__HealthSnapshotDeliveryClient<runtime.Types.Result.GetResult<Prisma.$HealthSnapshotDeliveryPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
771
|
+
/**
|
|
772
|
+
* Find zero or more HealthSnapshotDeliveries that matches the filter.
|
|
773
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
774
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
775
|
+
* @param {HealthSnapshotDeliveryFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
776
|
+
* @example
|
|
777
|
+
* // Get all HealthSnapshotDeliveries
|
|
778
|
+
* const healthSnapshotDeliveries = await prisma.healthSnapshotDelivery.findMany()
|
|
779
|
+
*
|
|
780
|
+
* // Get first 10 HealthSnapshotDeliveries
|
|
781
|
+
* const healthSnapshotDeliveries = await prisma.healthSnapshotDelivery.findMany({ take: 10 })
|
|
782
|
+
*
|
|
783
|
+
* // Only select the `fleetId`
|
|
784
|
+
* const healthSnapshotDeliveryWithFleetIdOnly = await prisma.healthSnapshotDelivery.findMany({ select: { fleetId: true } })
|
|
785
|
+
*
|
|
786
|
+
*/
|
|
787
|
+
findMany<T extends HealthSnapshotDeliveryFindManyArgs>(args?: Prisma.SelectSubset<T, HealthSnapshotDeliveryFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$HealthSnapshotDeliveryPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
|
|
788
|
+
/**
|
|
789
|
+
* Create a HealthSnapshotDelivery.
|
|
790
|
+
* @param {HealthSnapshotDeliveryCreateArgs} args - Arguments to create a HealthSnapshotDelivery.
|
|
791
|
+
* @example
|
|
792
|
+
* // Create one HealthSnapshotDelivery
|
|
793
|
+
* const HealthSnapshotDelivery = await prisma.healthSnapshotDelivery.create({
|
|
794
|
+
* data: {
|
|
795
|
+
* // ... data to create a HealthSnapshotDelivery
|
|
796
|
+
* }
|
|
797
|
+
* })
|
|
798
|
+
*
|
|
799
|
+
*/
|
|
800
|
+
create<T extends HealthSnapshotDeliveryCreateArgs>(args: Prisma.SelectSubset<T, HealthSnapshotDeliveryCreateArgs<ExtArgs>>): Prisma.Prisma__HealthSnapshotDeliveryClient<runtime.Types.Result.GetResult<Prisma.$HealthSnapshotDeliveryPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
801
|
+
/**
|
|
802
|
+
* Create many HealthSnapshotDeliveries.
|
|
803
|
+
* @param {HealthSnapshotDeliveryCreateManyArgs} args - Arguments to create many HealthSnapshotDeliveries.
|
|
804
|
+
* @example
|
|
805
|
+
* // Create many HealthSnapshotDeliveries
|
|
806
|
+
* const healthSnapshotDelivery = await prisma.healthSnapshotDelivery.createMany({
|
|
807
|
+
* data: [
|
|
808
|
+
* // ... provide data here
|
|
809
|
+
* ]
|
|
810
|
+
* })
|
|
811
|
+
*
|
|
812
|
+
*/
|
|
813
|
+
createMany<T extends HealthSnapshotDeliveryCreateManyArgs>(args?: Prisma.SelectSubset<T, HealthSnapshotDeliveryCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
814
|
+
/**
|
|
815
|
+
* Create many HealthSnapshotDeliveries and returns the data saved in the database.
|
|
816
|
+
* @param {HealthSnapshotDeliveryCreateManyAndReturnArgs} args - Arguments to create many HealthSnapshotDeliveries.
|
|
817
|
+
* @example
|
|
818
|
+
* // Create many HealthSnapshotDeliveries
|
|
819
|
+
* const healthSnapshotDelivery = await prisma.healthSnapshotDelivery.createManyAndReturn({
|
|
820
|
+
* data: [
|
|
821
|
+
* // ... provide data here
|
|
822
|
+
* ]
|
|
823
|
+
* })
|
|
824
|
+
*
|
|
825
|
+
* // Create many HealthSnapshotDeliveries and only return the `fleetId`
|
|
826
|
+
* const healthSnapshotDeliveryWithFleetIdOnly = await prisma.healthSnapshotDelivery.createManyAndReturn({
|
|
827
|
+
* select: { fleetId: true },
|
|
828
|
+
* data: [
|
|
829
|
+
* // ... provide data here
|
|
830
|
+
* ]
|
|
831
|
+
* })
|
|
832
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
833
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
834
|
+
*
|
|
835
|
+
*/
|
|
836
|
+
createManyAndReturn<T extends HealthSnapshotDeliveryCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, HealthSnapshotDeliveryCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$HealthSnapshotDeliveryPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
|
|
837
|
+
/**
|
|
838
|
+
* Delete a HealthSnapshotDelivery.
|
|
839
|
+
* @param {HealthSnapshotDeliveryDeleteArgs} args - Arguments to delete one HealthSnapshotDelivery.
|
|
840
|
+
* @example
|
|
841
|
+
* // Delete one HealthSnapshotDelivery
|
|
842
|
+
* const HealthSnapshotDelivery = await prisma.healthSnapshotDelivery.delete({
|
|
843
|
+
* where: {
|
|
844
|
+
* // ... filter to delete one HealthSnapshotDelivery
|
|
845
|
+
* }
|
|
846
|
+
* })
|
|
847
|
+
*
|
|
848
|
+
*/
|
|
849
|
+
delete<T extends HealthSnapshotDeliveryDeleteArgs>(args: Prisma.SelectSubset<T, HealthSnapshotDeliveryDeleteArgs<ExtArgs>>): Prisma.Prisma__HealthSnapshotDeliveryClient<runtime.Types.Result.GetResult<Prisma.$HealthSnapshotDeliveryPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
850
|
+
/**
|
|
851
|
+
* Update one HealthSnapshotDelivery.
|
|
852
|
+
* @param {HealthSnapshotDeliveryUpdateArgs} args - Arguments to update one HealthSnapshotDelivery.
|
|
853
|
+
* @example
|
|
854
|
+
* // Update one HealthSnapshotDelivery
|
|
855
|
+
* const healthSnapshotDelivery = await prisma.healthSnapshotDelivery.update({
|
|
856
|
+
* where: {
|
|
857
|
+
* // ... provide filter here
|
|
858
|
+
* },
|
|
859
|
+
* data: {
|
|
860
|
+
* // ... provide data here
|
|
861
|
+
* }
|
|
862
|
+
* })
|
|
863
|
+
*
|
|
864
|
+
*/
|
|
865
|
+
update<T extends HealthSnapshotDeliveryUpdateArgs>(args: Prisma.SelectSubset<T, HealthSnapshotDeliveryUpdateArgs<ExtArgs>>): Prisma.Prisma__HealthSnapshotDeliveryClient<runtime.Types.Result.GetResult<Prisma.$HealthSnapshotDeliveryPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
866
|
+
/**
|
|
867
|
+
* Delete zero or more HealthSnapshotDeliveries.
|
|
868
|
+
* @param {HealthSnapshotDeliveryDeleteManyArgs} args - Arguments to filter HealthSnapshotDeliveries to delete.
|
|
869
|
+
* @example
|
|
870
|
+
* // Delete a few HealthSnapshotDeliveries
|
|
871
|
+
* const { count } = await prisma.healthSnapshotDelivery.deleteMany({
|
|
872
|
+
* where: {
|
|
873
|
+
* // ... provide filter here
|
|
874
|
+
* }
|
|
875
|
+
* })
|
|
876
|
+
*
|
|
877
|
+
*/
|
|
878
|
+
deleteMany<T extends HealthSnapshotDeliveryDeleteManyArgs>(args?: Prisma.SelectSubset<T, HealthSnapshotDeliveryDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
879
|
+
/**
|
|
880
|
+
* Update zero or more HealthSnapshotDeliveries.
|
|
881
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
882
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
883
|
+
* @param {HealthSnapshotDeliveryUpdateManyArgs} args - Arguments to update one or more rows.
|
|
884
|
+
* @example
|
|
885
|
+
* // Update many HealthSnapshotDeliveries
|
|
886
|
+
* const healthSnapshotDelivery = await prisma.healthSnapshotDelivery.updateMany({
|
|
887
|
+
* where: {
|
|
888
|
+
* // ... provide filter here
|
|
889
|
+
* },
|
|
890
|
+
* data: {
|
|
891
|
+
* // ... provide data here
|
|
892
|
+
* }
|
|
893
|
+
* })
|
|
894
|
+
*
|
|
895
|
+
*/
|
|
896
|
+
updateMany<T extends HealthSnapshotDeliveryUpdateManyArgs>(args: Prisma.SelectSubset<T, HealthSnapshotDeliveryUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
897
|
+
/**
|
|
898
|
+
* Update zero or more HealthSnapshotDeliveries and returns the data updated in the database.
|
|
899
|
+
* @param {HealthSnapshotDeliveryUpdateManyAndReturnArgs} args - Arguments to update many HealthSnapshotDeliveries.
|
|
900
|
+
* @example
|
|
901
|
+
* // Update many HealthSnapshotDeliveries
|
|
902
|
+
* const healthSnapshotDelivery = await prisma.healthSnapshotDelivery.updateManyAndReturn({
|
|
903
|
+
* where: {
|
|
904
|
+
* // ... provide filter here
|
|
905
|
+
* },
|
|
906
|
+
* data: [
|
|
907
|
+
* // ... provide data here
|
|
908
|
+
* ]
|
|
909
|
+
* })
|
|
910
|
+
*
|
|
911
|
+
* // Update zero or more HealthSnapshotDeliveries and only return the `fleetId`
|
|
912
|
+
* const healthSnapshotDeliveryWithFleetIdOnly = await prisma.healthSnapshotDelivery.updateManyAndReturn({
|
|
913
|
+
* select: { fleetId: true },
|
|
914
|
+
* where: {
|
|
915
|
+
* // ... provide filter here
|
|
916
|
+
* },
|
|
917
|
+
* data: [
|
|
918
|
+
* // ... provide data here
|
|
919
|
+
* ]
|
|
920
|
+
* })
|
|
921
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
922
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
923
|
+
*
|
|
924
|
+
*/
|
|
925
|
+
updateManyAndReturn<T extends HealthSnapshotDeliveryUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, HealthSnapshotDeliveryUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$HealthSnapshotDeliveryPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
|
|
926
|
+
/**
|
|
927
|
+
* Create or update one HealthSnapshotDelivery.
|
|
928
|
+
* @param {HealthSnapshotDeliveryUpsertArgs} args - Arguments to update or create a HealthSnapshotDelivery.
|
|
929
|
+
* @example
|
|
930
|
+
* // Update or create a HealthSnapshotDelivery
|
|
931
|
+
* const healthSnapshotDelivery = await prisma.healthSnapshotDelivery.upsert({
|
|
932
|
+
* create: {
|
|
933
|
+
* // ... data to create a HealthSnapshotDelivery
|
|
934
|
+
* },
|
|
935
|
+
* update: {
|
|
936
|
+
* // ... in case it already exists, update
|
|
937
|
+
* },
|
|
938
|
+
* where: {
|
|
939
|
+
* // ... the filter for the HealthSnapshotDelivery we want to update
|
|
940
|
+
* }
|
|
941
|
+
* })
|
|
942
|
+
*/
|
|
943
|
+
upsert<T extends HealthSnapshotDeliveryUpsertArgs>(args: Prisma.SelectSubset<T, HealthSnapshotDeliveryUpsertArgs<ExtArgs>>): Prisma.Prisma__HealthSnapshotDeliveryClient<runtime.Types.Result.GetResult<Prisma.$HealthSnapshotDeliveryPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
944
|
+
/**
|
|
945
|
+
* Count the number of HealthSnapshotDeliveries.
|
|
946
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
947
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
948
|
+
* @param {HealthSnapshotDeliveryCountArgs} args - Arguments to filter HealthSnapshotDeliveries to count.
|
|
949
|
+
* @example
|
|
950
|
+
* // Count the number of HealthSnapshotDeliveries
|
|
951
|
+
* const count = await prisma.healthSnapshotDelivery.count({
|
|
952
|
+
* where: {
|
|
953
|
+
* // ... the filter for the HealthSnapshotDeliveries we want to count
|
|
954
|
+
* }
|
|
955
|
+
* })
|
|
956
|
+
**/
|
|
957
|
+
count<T extends HealthSnapshotDeliveryCountArgs>(args?: Prisma.Subset<T, HealthSnapshotDeliveryCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], HealthSnapshotDeliveryCountAggregateOutputType> : number>;
|
|
958
|
+
/**
|
|
959
|
+
* Allows you to perform aggregations operations on a HealthSnapshotDelivery.
|
|
960
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
961
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
962
|
+
* @param {HealthSnapshotDeliveryAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
963
|
+
* @example
|
|
964
|
+
* // Ordered by age ascending
|
|
965
|
+
* // Where email contains prisma.io
|
|
966
|
+
* // Limited to the 10 users
|
|
967
|
+
* const aggregations = await prisma.user.aggregate({
|
|
968
|
+
* _avg: {
|
|
969
|
+
* age: true,
|
|
970
|
+
* },
|
|
971
|
+
* where: {
|
|
972
|
+
* email: {
|
|
973
|
+
* contains: "prisma.io",
|
|
974
|
+
* },
|
|
975
|
+
* },
|
|
976
|
+
* orderBy: {
|
|
977
|
+
* age: "asc",
|
|
978
|
+
* },
|
|
979
|
+
* take: 10,
|
|
980
|
+
* })
|
|
981
|
+
**/
|
|
982
|
+
aggregate<T extends HealthSnapshotDeliveryAggregateArgs>(args: Prisma.Subset<T, HealthSnapshotDeliveryAggregateArgs>): Prisma.PrismaPromise<GetHealthSnapshotDeliveryAggregateType<T>>;
|
|
983
|
+
/**
|
|
984
|
+
* Group by HealthSnapshotDelivery.
|
|
985
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
986
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
987
|
+
* @param {HealthSnapshotDeliveryGroupByArgs} args - Group by arguments.
|
|
988
|
+
* @example
|
|
989
|
+
* // Group by city, order by createdAt, get count
|
|
990
|
+
* const result = await prisma.user.groupBy({
|
|
991
|
+
* by: ['city', 'createdAt'],
|
|
992
|
+
* orderBy: {
|
|
993
|
+
* createdAt: true
|
|
994
|
+
* },
|
|
995
|
+
* _count: {
|
|
996
|
+
* _all: true
|
|
997
|
+
* },
|
|
998
|
+
* })
|
|
999
|
+
*
|
|
1000
|
+
**/
|
|
1001
|
+
groupBy<T extends HealthSnapshotDeliveryGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
|
|
1002
|
+
orderBy: HealthSnapshotDeliveryGroupByArgs['orderBy'];
|
|
1003
|
+
} : {
|
|
1004
|
+
orderBy?: HealthSnapshotDeliveryGroupByArgs['orderBy'];
|
|
1005
|
+
}, OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>, ByFields extends Prisma.MaybeTupleToUnion<T['by']>, ByValid extends Prisma.Has<ByFields, OrderFields>, HavingFields extends Prisma.GetHavingFields<T['having']>, HavingValid extends Prisma.Has<ByFields, HavingFields>, ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False, InputErrors extends ByEmpty extends Prisma.True ? `Error: "by" must not be empty.` : HavingValid extends Prisma.False ? {
|
|
1006
|
+
[P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
|
|
1007
|
+
Error,
|
|
1008
|
+
'Field ',
|
|
1009
|
+
P,
|
|
1010
|
+
` in "having" needs to be provided in "by"`
|
|
1011
|
+
];
|
|
1012
|
+
}[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
1013
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
1014
|
+
}[OrderFields] : 'Error: If you provide "take", you also need to provide "orderBy"' : 'skip' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
1015
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
1016
|
+
}[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
|
|
1017
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
1018
|
+
}[OrderFields]>(args: Prisma.SubsetIntersection<T, HealthSnapshotDeliveryGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetHealthSnapshotDeliveryGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
|
|
1019
|
+
/**
|
|
1020
|
+
* Fields of the HealthSnapshotDelivery model
|
|
1021
|
+
*/
|
|
1022
|
+
readonly fields: HealthSnapshotDeliveryFieldRefs;
|
|
1023
|
+
}
|
|
1024
|
+
/**
|
|
1025
|
+
* The delegate class that acts as a "Promise-like" for HealthSnapshotDelivery.
|
|
1026
|
+
* Why is this prefixed with `Prisma__`?
|
|
1027
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
1028
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
1029
|
+
*/
|
|
1030
|
+
export interface Prisma__HealthSnapshotDeliveryClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
1031
|
+
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
1032
|
+
fleet<T extends Prisma.FleetDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.FleetDefaultArgs<ExtArgs>>): Prisma.Prisma__FleetClient<runtime.Types.Result.GetResult<Prisma.$FleetPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
1033
|
+
/**
|
|
1034
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
1035
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
1036
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1037
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
1038
|
+
*/
|
|
1039
|
+
then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>;
|
|
1040
|
+
/**
|
|
1041
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
1042
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1043
|
+
* @returns A Promise for the completion of the callback.
|
|
1044
|
+
*/
|
|
1045
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
|
|
1046
|
+
/**
|
|
1047
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
1048
|
+
* resolved value cannot be modified from the callback.
|
|
1049
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
1050
|
+
* @returns A Promise for the completion of the callback.
|
|
1051
|
+
*/
|
|
1052
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
|
|
1053
|
+
}
|
|
1054
|
+
/**
|
|
1055
|
+
* Fields of the HealthSnapshotDelivery model
|
|
1056
|
+
*/
|
|
1057
|
+
export interface HealthSnapshotDeliveryFieldRefs {
|
|
1058
|
+
readonly fleetId: Prisma.FieldRef<"HealthSnapshotDelivery", 'String'>;
|
|
1059
|
+
readonly deliveryId: Prisma.FieldRef<"HealthSnapshotDelivery", 'String'>;
|
|
1060
|
+
readonly messageId: Prisma.FieldRef<"HealthSnapshotDelivery", 'String'>;
|
|
1061
|
+
readonly senderShipId: Prisma.FieldRef<"HealthSnapshotDelivery", 'String'>;
|
|
1062
|
+
readonly recipientShipId: Prisma.FieldRef<"HealthSnapshotDelivery", 'String'>;
|
|
1063
|
+
readonly recipientType: Prisma.FieldRef<"HealthSnapshotDelivery", 'String'>;
|
|
1064
|
+
readonly claimedByShipId: Prisma.FieldRef<"HealthSnapshotDelivery", 'String'>;
|
|
1065
|
+
readonly reachableShipIds: Prisma.FieldRef<"HealthSnapshotDelivery", 'String[]'>;
|
|
1066
|
+
readonly sentAt: Prisma.FieldRef<"HealthSnapshotDelivery", 'DateTime'>;
|
|
1067
|
+
readonly state: Prisma.FieldRef<"HealthSnapshotDelivery", 'DeliveryState'>;
|
|
1068
|
+
readonly since: Prisma.FieldRef<"HealthSnapshotDelivery", 'DateTime'>;
|
|
1069
|
+
readonly stepShipId: Prisma.FieldRef<"HealthSnapshotDelivery", 'String'>;
|
|
1070
|
+
readonly leaseId: Prisma.FieldRef<"HealthSnapshotDelivery", 'String'>;
|
|
1071
|
+
}
|
|
1072
|
+
/**
|
|
1073
|
+
* HealthSnapshotDelivery findUnique
|
|
1074
|
+
*/
|
|
1075
|
+
export type HealthSnapshotDeliveryFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1076
|
+
/**
|
|
1077
|
+
* Select specific fields to fetch from the HealthSnapshotDelivery
|
|
1078
|
+
*/
|
|
1079
|
+
select?: Prisma.HealthSnapshotDeliverySelect<ExtArgs> | null;
|
|
1080
|
+
/**
|
|
1081
|
+
* Omit specific fields from the HealthSnapshotDelivery
|
|
1082
|
+
*/
|
|
1083
|
+
omit?: Prisma.HealthSnapshotDeliveryOmit<ExtArgs> | null;
|
|
1084
|
+
/**
|
|
1085
|
+
* Choose, which related nodes to fetch as well
|
|
1086
|
+
*/
|
|
1087
|
+
include?: Prisma.HealthSnapshotDeliveryInclude<ExtArgs> | null;
|
|
1088
|
+
/**
|
|
1089
|
+
* Filter, which HealthSnapshotDelivery to fetch.
|
|
1090
|
+
*/
|
|
1091
|
+
where: Prisma.HealthSnapshotDeliveryWhereUniqueInput;
|
|
1092
|
+
};
|
|
1093
|
+
/**
|
|
1094
|
+
* HealthSnapshotDelivery findUniqueOrThrow
|
|
1095
|
+
*/
|
|
1096
|
+
export type HealthSnapshotDeliveryFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1097
|
+
/**
|
|
1098
|
+
* Select specific fields to fetch from the HealthSnapshotDelivery
|
|
1099
|
+
*/
|
|
1100
|
+
select?: Prisma.HealthSnapshotDeliverySelect<ExtArgs> | null;
|
|
1101
|
+
/**
|
|
1102
|
+
* Omit specific fields from the HealthSnapshotDelivery
|
|
1103
|
+
*/
|
|
1104
|
+
omit?: Prisma.HealthSnapshotDeliveryOmit<ExtArgs> | null;
|
|
1105
|
+
/**
|
|
1106
|
+
* Choose, which related nodes to fetch as well
|
|
1107
|
+
*/
|
|
1108
|
+
include?: Prisma.HealthSnapshotDeliveryInclude<ExtArgs> | null;
|
|
1109
|
+
/**
|
|
1110
|
+
* Filter, which HealthSnapshotDelivery to fetch.
|
|
1111
|
+
*/
|
|
1112
|
+
where: Prisma.HealthSnapshotDeliveryWhereUniqueInput;
|
|
1113
|
+
};
|
|
1114
|
+
/**
|
|
1115
|
+
* HealthSnapshotDelivery findFirst
|
|
1116
|
+
*/
|
|
1117
|
+
export type HealthSnapshotDeliveryFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1118
|
+
/**
|
|
1119
|
+
* Select specific fields to fetch from the HealthSnapshotDelivery
|
|
1120
|
+
*/
|
|
1121
|
+
select?: Prisma.HealthSnapshotDeliverySelect<ExtArgs> | null;
|
|
1122
|
+
/**
|
|
1123
|
+
* Omit specific fields from the HealthSnapshotDelivery
|
|
1124
|
+
*/
|
|
1125
|
+
omit?: Prisma.HealthSnapshotDeliveryOmit<ExtArgs> | null;
|
|
1126
|
+
/**
|
|
1127
|
+
* Choose, which related nodes to fetch as well
|
|
1128
|
+
*/
|
|
1129
|
+
include?: Prisma.HealthSnapshotDeliveryInclude<ExtArgs> | null;
|
|
1130
|
+
/**
|
|
1131
|
+
* Filter, which HealthSnapshotDelivery to fetch.
|
|
1132
|
+
*/
|
|
1133
|
+
where?: Prisma.HealthSnapshotDeliveryWhereInput;
|
|
1134
|
+
/**
|
|
1135
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1136
|
+
*
|
|
1137
|
+
* Determine the order of HealthSnapshotDeliveries to fetch.
|
|
1138
|
+
*/
|
|
1139
|
+
orderBy?: Prisma.HealthSnapshotDeliveryOrderByWithRelationInput | Prisma.HealthSnapshotDeliveryOrderByWithRelationInput[];
|
|
1140
|
+
/**
|
|
1141
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1142
|
+
*
|
|
1143
|
+
* Sets the position for searching for HealthSnapshotDeliveries.
|
|
1144
|
+
*/
|
|
1145
|
+
cursor?: Prisma.HealthSnapshotDeliveryWhereUniqueInput;
|
|
1146
|
+
/**
|
|
1147
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1148
|
+
*
|
|
1149
|
+
* Take `±n` HealthSnapshotDeliveries from the position of the cursor.
|
|
1150
|
+
*/
|
|
1151
|
+
take?: number;
|
|
1152
|
+
/**
|
|
1153
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1154
|
+
*
|
|
1155
|
+
* Skip the first `n` HealthSnapshotDeliveries.
|
|
1156
|
+
*/
|
|
1157
|
+
skip?: number;
|
|
1158
|
+
/**
|
|
1159
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1160
|
+
*
|
|
1161
|
+
* Filter by unique combinations of HealthSnapshotDeliveries.
|
|
1162
|
+
*/
|
|
1163
|
+
distinct?: Prisma.HealthSnapshotDeliveryScalarFieldEnum | Prisma.HealthSnapshotDeliveryScalarFieldEnum[];
|
|
1164
|
+
};
|
|
1165
|
+
/**
|
|
1166
|
+
* HealthSnapshotDelivery findFirstOrThrow
|
|
1167
|
+
*/
|
|
1168
|
+
export type HealthSnapshotDeliveryFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1169
|
+
/**
|
|
1170
|
+
* Select specific fields to fetch from the HealthSnapshotDelivery
|
|
1171
|
+
*/
|
|
1172
|
+
select?: Prisma.HealthSnapshotDeliverySelect<ExtArgs> | null;
|
|
1173
|
+
/**
|
|
1174
|
+
* Omit specific fields from the HealthSnapshotDelivery
|
|
1175
|
+
*/
|
|
1176
|
+
omit?: Prisma.HealthSnapshotDeliveryOmit<ExtArgs> | null;
|
|
1177
|
+
/**
|
|
1178
|
+
* Choose, which related nodes to fetch as well
|
|
1179
|
+
*/
|
|
1180
|
+
include?: Prisma.HealthSnapshotDeliveryInclude<ExtArgs> | null;
|
|
1181
|
+
/**
|
|
1182
|
+
* Filter, which HealthSnapshotDelivery to fetch.
|
|
1183
|
+
*/
|
|
1184
|
+
where?: Prisma.HealthSnapshotDeliveryWhereInput;
|
|
1185
|
+
/**
|
|
1186
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1187
|
+
*
|
|
1188
|
+
* Determine the order of HealthSnapshotDeliveries to fetch.
|
|
1189
|
+
*/
|
|
1190
|
+
orderBy?: Prisma.HealthSnapshotDeliveryOrderByWithRelationInput | Prisma.HealthSnapshotDeliveryOrderByWithRelationInput[];
|
|
1191
|
+
/**
|
|
1192
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1193
|
+
*
|
|
1194
|
+
* Sets the position for searching for HealthSnapshotDeliveries.
|
|
1195
|
+
*/
|
|
1196
|
+
cursor?: Prisma.HealthSnapshotDeliveryWhereUniqueInput;
|
|
1197
|
+
/**
|
|
1198
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1199
|
+
*
|
|
1200
|
+
* Take `±n` HealthSnapshotDeliveries from the position of the cursor.
|
|
1201
|
+
*/
|
|
1202
|
+
take?: number;
|
|
1203
|
+
/**
|
|
1204
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1205
|
+
*
|
|
1206
|
+
* Skip the first `n` HealthSnapshotDeliveries.
|
|
1207
|
+
*/
|
|
1208
|
+
skip?: number;
|
|
1209
|
+
/**
|
|
1210
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1211
|
+
*
|
|
1212
|
+
* Filter by unique combinations of HealthSnapshotDeliveries.
|
|
1213
|
+
*/
|
|
1214
|
+
distinct?: Prisma.HealthSnapshotDeliveryScalarFieldEnum | Prisma.HealthSnapshotDeliveryScalarFieldEnum[];
|
|
1215
|
+
};
|
|
1216
|
+
/**
|
|
1217
|
+
* HealthSnapshotDelivery findMany
|
|
1218
|
+
*/
|
|
1219
|
+
export type HealthSnapshotDeliveryFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1220
|
+
/**
|
|
1221
|
+
* Select specific fields to fetch from the HealthSnapshotDelivery
|
|
1222
|
+
*/
|
|
1223
|
+
select?: Prisma.HealthSnapshotDeliverySelect<ExtArgs> | null;
|
|
1224
|
+
/**
|
|
1225
|
+
* Omit specific fields from the HealthSnapshotDelivery
|
|
1226
|
+
*/
|
|
1227
|
+
omit?: Prisma.HealthSnapshotDeliveryOmit<ExtArgs> | null;
|
|
1228
|
+
/**
|
|
1229
|
+
* Choose, which related nodes to fetch as well
|
|
1230
|
+
*/
|
|
1231
|
+
include?: Prisma.HealthSnapshotDeliveryInclude<ExtArgs> | null;
|
|
1232
|
+
/**
|
|
1233
|
+
* Filter, which HealthSnapshotDeliveries to fetch.
|
|
1234
|
+
*/
|
|
1235
|
+
where?: Prisma.HealthSnapshotDeliveryWhereInput;
|
|
1236
|
+
/**
|
|
1237
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1238
|
+
*
|
|
1239
|
+
* Determine the order of HealthSnapshotDeliveries to fetch.
|
|
1240
|
+
*/
|
|
1241
|
+
orderBy?: Prisma.HealthSnapshotDeliveryOrderByWithRelationInput | Prisma.HealthSnapshotDeliveryOrderByWithRelationInput[];
|
|
1242
|
+
/**
|
|
1243
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1244
|
+
*
|
|
1245
|
+
* Sets the position for listing HealthSnapshotDeliveries.
|
|
1246
|
+
*/
|
|
1247
|
+
cursor?: Prisma.HealthSnapshotDeliveryWhereUniqueInput;
|
|
1248
|
+
/**
|
|
1249
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1250
|
+
*
|
|
1251
|
+
* Take `±n` HealthSnapshotDeliveries from the position of the cursor.
|
|
1252
|
+
*/
|
|
1253
|
+
take?: number;
|
|
1254
|
+
/**
|
|
1255
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1256
|
+
*
|
|
1257
|
+
* Skip the first `n` HealthSnapshotDeliveries.
|
|
1258
|
+
*/
|
|
1259
|
+
skip?: number;
|
|
1260
|
+
/**
|
|
1261
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1262
|
+
*
|
|
1263
|
+
* Filter by unique combinations of HealthSnapshotDeliveries.
|
|
1264
|
+
*/
|
|
1265
|
+
distinct?: Prisma.HealthSnapshotDeliveryScalarFieldEnum | Prisma.HealthSnapshotDeliveryScalarFieldEnum[];
|
|
1266
|
+
};
|
|
1267
|
+
/**
|
|
1268
|
+
* HealthSnapshotDelivery create
|
|
1269
|
+
*/
|
|
1270
|
+
export type HealthSnapshotDeliveryCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1271
|
+
/**
|
|
1272
|
+
* Select specific fields to fetch from the HealthSnapshotDelivery
|
|
1273
|
+
*/
|
|
1274
|
+
select?: Prisma.HealthSnapshotDeliverySelect<ExtArgs> | null;
|
|
1275
|
+
/**
|
|
1276
|
+
* Omit specific fields from the HealthSnapshotDelivery
|
|
1277
|
+
*/
|
|
1278
|
+
omit?: Prisma.HealthSnapshotDeliveryOmit<ExtArgs> | null;
|
|
1279
|
+
/**
|
|
1280
|
+
* Choose, which related nodes to fetch as well
|
|
1281
|
+
*/
|
|
1282
|
+
include?: Prisma.HealthSnapshotDeliveryInclude<ExtArgs> | null;
|
|
1283
|
+
/**
|
|
1284
|
+
* The data needed to create a HealthSnapshotDelivery.
|
|
1285
|
+
*/
|
|
1286
|
+
data: Prisma.XOR<Prisma.HealthSnapshotDeliveryCreateInput, Prisma.HealthSnapshotDeliveryUncheckedCreateInput>;
|
|
1287
|
+
};
|
|
1288
|
+
/**
|
|
1289
|
+
* HealthSnapshotDelivery createMany
|
|
1290
|
+
*/
|
|
1291
|
+
export type HealthSnapshotDeliveryCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1292
|
+
/**
|
|
1293
|
+
* The data used to create many HealthSnapshotDeliveries.
|
|
1294
|
+
*/
|
|
1295
|
+
data: Prisma.HealthSnapshotDeliveryCreateManyInput | Prisma.HealthSnapshotDeliveryCreateManyInput[];
|
|
1296
|
+
skipDuplicates?: boolean;
|
|
1297
|
+
};
|
|
1298
|
+
/**
|
|
1299
|
+
* HealthSnapshotDelivery createManyAndReturn
|
|
1300
|
+
*/
|
|
1301
|
+
export type HealthSnapshotDeliveryCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1302
|
+
/**
|
|
1303
|
+
* Select specific fields to fetch from the HealthSnapshotDelivery
|
|
1304
|
+
*/
|
|
1305
|
+
select?: Prisma.HealthSnapshotDeliverySelectCreateManyAndReturn<ExtArgs> | null;
|
|
1306
|
+
/**
|
|
1307
|
+
* Omit specific fields from the HealthSnapshotDelivery
|
|
1308
|
+
*/
|
|
1309
|
+
omit?: Prisma.HealthSnapshotDeliveryOmit<ExtArgs> | null;
|
|
1310
|
+
/**
|
|
1311
|
+
* The data used to create many HealthSnapshotDeliveries.
|
|
1312
|
+
*/
|
|
1313
|
+
data: Prisma.HealthSnapshotDeliveryCreateManyInput | Prisma.HealthSnapshotDeliveryCreateManyInput[];
|
|
1314
|
+
skipDuplicates?: boolean;
|
|
1315
|
+
/**
|
|
1316
|
+
* Choose, which related nodes to fetch as well
|
|
1317
|
+
*/
|
|
1318
|
+
include?: Prisma.HealthSnapshotDeliveryIncludeCreateManyAndReturn<ExtArgs> | null;
|
|
1319
|
+
};
|
|
1320
|
+
/**
|
|
1321
|
+
* HealthSnapshotDelivery update
|
|
1322
|
+
*/
|
|
1323
|
+
export type HealthSnapshotDeliveryUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1324
|
+
/**
|
|
1325
|
+
* Select specific fields to fetch from the HealthSnapshotDelivery
|
|
1326
|
+
*/
|
|
1327
|
+
select?: Prisma.HealthSnapshotDeliverySelect<ExtArgs> | null;
|
|
1328
|
+
/**
|
|
1329
|
+
* Omit specific fields from the HealthSnapshotDelivery
|
|
1330
|
+
*/
|
|
1331
|
+
omit?: Prisma.HealthSnapshotDeliveryOmit<ExtArgs> | null;
|
|
1332
|
+
/**
|
|
1333
|
+
* Choose, which related nodes to fetch as well
|
|
1334
|
+
*/
|
|
1335
|
+
include?: Prisma.HealthSnapshotDeliveryInclude<ExtArgs> | null;
|
|
1336
|
+
/**
|
|
1337
|
+
* The data needed to update a HealthSnapshotDelivery.
|
|
1338
|
+
*/
|
|
1339
|
+
data: Prisma.XOR<Prisma.HealthSnapshotDeliveryUpdateInput, Prisma.HealthSnapshotDeliveryUncheckedUpdateInput>;
|
|
1340
|
+
/**
|
|
1341
|
+
* Choose, which HealthSnapshotDelivery to update.
|
|
1342
|
+
*/
|
|
1343
|
+
where: Prisma.HealthSnapshotDeliveryWhereUniqueInput;
|
|
1344
|
+
};
|
|
1345
|
+
/**
|
|
1346
|
+
* HealthSnapshotDelivery updateMany
|
|
1347
|
+
*/
|
|
1348
|
+
export type HealthSnapshotDeliveryUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1349
|
+
/**
|
|
1350
|
+
* The data used to update HealthSnapshotDeliveries.
|
|
1351
|
+
*/
|
|
1352
|
+
data: Prisma.XOR<Prisma.HealthSnapshotDeliveryUpdateManyMutationInput, Prisma.HealthSnapshotDeliveryUncheckedUpdateManyInput>;
|
|
1353
|
+
/**
|
|
1354
|
+
* Filter which HealthSnapshotDeliveries to update
|
|
1355
|
+
*/
|
|
1356
|
+
where?: Prisma.HealthSnapshotDeliveryWhereInput;
|
|
1357
|
+
/**
|
|
1358
|
+
* Limit how many HealthSnapshotDeliveries to update.
|
|
1359
|
+
*/
|
|
1360
|
+
limit?: number;
|
|
1361
|
+
};
|
|
1362
|
+
/**
|
|
1363
|
+
* HealthSnapshotDelivery updateManyAndReturn
|
|
1364
|
+
*/
|
|
1365
|
+
export type HealthSnapshotDeliveryUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1366
|
+
/**
|
|
1367
|
+
* Select specific fields to fetch from the HealthSnapshotDelivery
|
|
1368
|
+
*/
|
|
1369
|
+
select?: Prisma.HealthSnapshotDeliverySelectUpdateManyAndReturn<ExtArgs> | null;
|
|
1370
|
+
/**
|
|
1371
|
+
* Omit specific fields from the HealthSnapshotDelivery
|
|
1372
|
+
*/
|
|
1373
|
+
omit?: Prisma.HealthSnapshotDeliveryOmit<ExtArgs> | null;
|
|
1374
|
+
/**
|
|
1375
|
+
* The data used to update HealthSnapshotDeliveries.
|
|
1376
|
+
*/
|
|
1377
|
+
data: Prisma.XOR<Prisma.HealthSnapshotDeliveryUpdateManyMutationInput, Prisma.HealthSnapshotDeliveryUncheckedUpdateManyInput>;
|
|
1378
|
+
/**
|
|
1379
|
+
* Filter which HealthSnapshotDeliveries to update
|
|
1380
|
+
*/
|
|
1381
|
+
where?: Prisma.HealthSnapshotDeliveryWhereInput;
|
|
1382
|
+
/**
|
|
1383
|
+
* Limit how many HealthSnapshotDeliveries to update.
|
|
1384
|
+
*/
|
|
1385
|
+
limit?: number;
|
|
1386
|
+
/**
|
|
1387
|
+
* Choose, which related nodes to fetch as well
|
|
1388
|
+
*/
|
|
1389
|
+
include?: Prisma.HealthSnapshotDeliveryIncludeUpdateManyAndReturn<ExtArgs> | null;
|
|
1390
|
+
};
|
|
1391
|
+
/**
|
|
1392
|
+
* HealthSnapshotDelivery upsert
|
|
1393
|
+
*/
|
|
1394
|
+
export type HealthSnapshotDeliveryUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1395
|
+
/**
|
|
1396
|
+
* Select specific fields to fetch from the HealthSnapshotDelivery
|
|
1397
|
+
*/
|
|
1398
|
+
select?: Prisma.HealthSnapshotDeliverySelect<ExtArgs> | null;
|
|
1399
|
+
/**
|
|
1400
|
+
* Omit specific fields from the HealthSnapshotDelivery
|
|
1401
|
+
*/
|
|
1402
|
+
omit?: Prisma.HealthSnapshotDeliveryOmit<ExtArgs> | null;
|
|
1403
|
+
/**
|
|
1404
|
+
* Choose, which related nodes to fetch as well
|
|
1405
|
+
*/
|
|
1406
|
+
include?: Prisma.HealthSnapshotDeliveryInclude<ExtArgs> | null;
|
|
1407
|
+
/**
|
|
1408
|
+
* The filter to search for the HealthSnapshotDelivery to update in case it exists.
|
|
1409
|
+
*/
|
|
1410
|
+
where: Prisma.HealthSnapshotDeliveryWhereUniqueInput;
|
|
1411
|
+
/**
|
|
1412
|
+
* In case the HealthSnapshotDelivery found by the `where` argument doesn't exist, create a new HealthSnapshotDelivery with this data.
|
|
1413
|
+
*/
|
|
1414
|
+
create: Prisma.XOR<Prisma.HealthSnapshotDeliveryCreateInput, Prisma.HealthSnapshotDeliveryUncheckedCreateInput>;
|
|
1415
|
+
/**
|
|
1416
|
+
* In case the HealthSnapshotDelivery was found with the provided `where` argument, update it with this data.
|
|
1417
|
+
*/
|
|
1418
|
+
update: Prisma.XOR<Prisma.HealthSnapshotDeliveryUpdateInput, Prisma.HealthSnapshotDeliveryUncheckedUpdateInput>;
|
|
1419
|
+
};
|
|
1420
|
+
/**
|
|
1421
|
+
* HealthSnapshotDelivery delete
|
|
1422
|
+
*/
|
|
1423
|
+
export type HealthSnapshotDeliveryDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1424
|
+
/**
|
|
1425
|
+
* Select specific fields to fetch from the HealthSnapshotDelivery
|
|
1426
|
+
*/
|
|
1427
|
+
select?: Prisma.HealthSnapshotDeliverySelect<ExtArgs> | null;
|
|
1428
|
+
/**
|
|
1429
|
+
* Omit specific fields from the HealthSnapshotDelivery
|
|
1430
|
+
*/
|
|
1431
|
+
omit?: Prisma.HealthSnapshotDeliveryOmit<ExtArgs> | null;
|
|
1432
|
+
/**
|
|
1433
|
+
* Choose, which related nodes to fetch as well
|
|
1434
|
+
*/
|
|
1435
|
+
include?: Prisma.HealthSnapshotDeliveryInclude<ExtArgs> | null;
|
|
1436
|
+
/**
|
|
1437
|
+
* Filter which HealthSnapshotDelivery to delete.
|
|
1438
|
+
*/
|
|
1439
|
+
where: Prisma.HealthSnapshotDeliveryWhereUniqueInput;
|
|
1440
|
+
};
|
|
1441
|
+
/**
|
|
1442
|
+
* HealthSnapshotDelivery deleteMany
|
|
1443
|
+
*/
|
|
1444
|
+
export type HealthSnapshotDeliveryDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1445
|
+
/**
|
|
1446
|
+
* Filter which HealthSnapshotDeliveries to delete
|
|
1447
|
+
*/
|
|
1448
|
+
where?: Prisma.HealthSnapshotDeliveryWhereInput;
|
|
1449
|
+
/**
|
|
1450
|
+
* Limit how many HealthSnapshotDeliveries to delete.
|
|
1451
|
+
*/
|
|
1452
|
+
limit?: number;
|
|
1453
|
+
};
|
|
1454
|
+
/**
|
|
1455
|
+
* HealthSnapshotDelivery without action
|
|
1456
|
+
*/
|
|
1457
|
+
export type HealthSnapshotDeliveryDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1458
|
+
/**
|
|
1459
|
+
* Select specific fields to fetch from the HealthSnapshotDelivery
|
|
1460
|
+
*/
|
|
1461
|
+
select?: Prisma.HealthSnapshotDeliverySelect<ExtArgs> | null;
|
|
1462
|
+
/**
|
|
1463
|
+
* Omit specific fields from the HealthSnapshotDelivery
|
|
1464
|
+
*/
|
|
1465
|
+
omit?: Prisma.HealthSnapshotDeliveryOmit<ExtArgs> | null;
|
|
1466
|
+
/**
|
|
1467
|
+
* Choose, which related nodes to fetch as well
|
|
1468
|
+
*/
|
|
1469
|
+
include?: Prisma.HealthSnapshotDeliveryInclude<ExtArgs> | null;
|
|
1470
|
+
};
|