@aeolus-fleet/core 0.41.0 → 0.43.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/adapters/http/plugin-calls.d.ts +14 -0
- package/dist/adapters/http/plugin-calls.js +46 -0
- package/dist/adapters/http/plugin-calls.js.map +1 -0
- package/dist/adapters/http/plugin-targets.d.ts +8 -0
- package/dist/adapters/http/plugin-targets.js +27 -0
- package/dist/adapters/http/plugin-targets.js.map +1 -0
- package/dist/adapters/prisma/event-log.d.ts +2 -1
- package/dist/adapters/prisma/event-log.js +7 -2
- package/dist/adapters/prisma/event-log.js.map +1 -1
- package/dist/adapters/prisma/fleet-journeys.d.ts +49 -0
- package/dist/adapters/prisma/fleet-journeys.js +112 -0
- package/dist/adapters/prisma/fleet-journeys.js.map +1 -0
- package/dist/adapters/prisma/generated/browser.d.ts +17 -1
- package/dist/adapters/prisma/generated/client.d.ts +19 -3
- package/dist/adapters/prisma/generated/client.js +2 -2
- package/dist/adapters/prisma/generated/commonInputTypes.d.ts +236 -214
- package/dist/adapters/prisma/generated/internal/class.d.ts +40 -7
- 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 +266 -16
- package/dist/adapters/prisma/generated/internal/prismaNamespace.js +26 -4
- package/dist/adapters/prisma/generated/internal/prismaNamespace.js.map +1 -1
- package/dist/adapters/prisma/generated/internal/prismaNamespaceBrowser.d.ts +30 -5
- package/dist/adapters/prisma/generated/internal/prismaNamespaceBrowser.js +26 -4
- package/dist/adapters/prisma/generated/internal/prismaNamespaceBrowser.js.map +1 -1
- package/dist/adapters/prisma/generated/models/Delivery.d.ts +146 -9
- package/dist/adapters/prisma/generated/models/Fleet.d.ts +513 -29
- package/dist/adapters/prisma/generated/models/FleetJourney.d.ts +1212 -0
- package/dist/adapters/prisma/generated/models/FleetJourney.js +2 -0
- package/dist/adapters/prisma/generated/models/FleetJourney.js.map +1 -0
- package/dist/adapters/prisma/generated/models/InstallationJourneyChange.d.ts +982 -0
- package/dist/adapters/prisma/generated/models/InstallationJourneyChange.js +2 -0
- package/dist/adapters/prisma/generated/models/InstallationJourneyChange.js.map +1 -0
- package/dist/adapters/prisma/generated/models/InstallationJourneyClock.d.ts +964 -0
- package/dist/adapters/prisma/generated/models/InstallationJourneyClock.js +2 -0
- package/dist/adapters/prisma/generated/models/InstallationJourneyClock.js.map +1 -0
- package/dist/adapters/prisma/generated/models.d.ts +3 -0
- package/dist/adapters/prisma/installation.js +8 -1
- package/dist/adapters/prisma/installation.js.map +1 -1
- package/dist/adapters/prisma/journey-source-facts.d.ts +7 -0
- package/dist/adapters/prisma/journey-source-facts.js +76 -0
- package/dist/adapters/prisma/journey-source-facts.js.map +1 -0
- package/dist/adapters/prisma/registry.js +2 -0
- package/dist/adapters/prisma/registry.js.map +1 -1
- package/dist/adapters/prisma/unit-of-work.d.ts +7 -4
- package/dist/adapters/prisma/unit-of-work.js +13 -10
- package/dist/adapters/prisma/unit-of-work.js.map +1 -1
- package/dist/adapters/trpc/console.d.ts +1 -1
- package/dist/adapters/trpc/context.d.ts +4 -0
- package/dist/adapters/trpc/fleet.d.ts +29 -20
- package/dist/adapters/trpc/fleet.js +16 -1
- package/dist/adapters/trpc/fleet.js.map +1 -1
- package/dist/adapters/trpc/installation.d.ts +120 -0
- package/dist/adapters/trpc/installation.js +34 -1
- package/dist/adapters/trpc/installation.js.map +1 -1
- package/dist/adapters/trpc/router.d.ts +155 -28
- package/dist/adapters/trpc/ship-contract.js +1 -0
- package/dist/adapters/trpc/ship-contract.js.map +1 -1
- package/dist/adapters/trpc/ship.d.ts +7 -7
- package/dist/adapters/trpc/trpc.d.ts +9 -0
- package/dist/adapters/trpc/trpc.js +13 -1
- package/dist/adapters/trpc/trpc.js.map +1 -1
- package/dist/app.d.ts +2 -0
- package/dist/app.js +2 -0
- package/dist/app.js.map +1 -1
- package/dist/config.d.ts +2 -0
- package/dist/config.js +11 -0
- package/dist/config.js.map +1 -1
- package/dist/domain/identity/authenticate-installation.d.ts +3 -1
- package/dist/domain/identity/authenticate-installation.js +4 -2
- package/dist/domain/identity/authenticate-installation.js.map +1 -1
- package/dist/domain/messaging/journey-message.d.ts +18 -0
- package/dist/domain/messaging/journey-message.js +10 -0
- package/dist/domain/messaging/journey-message.js.map +1 -0
- package/dist/domain/messaging/public.d.ts +1 -0
- package/dist/domain/messaging/public.js +1 -0
- package/dist/domain/messaging/public.js.map +1 -1
- package/dist/domain/registry/call-plugin.d.ts +26 -0
- package/dist/domain/registry/call-plugin.js +46 -0
- package/dist/domain/registry/call-plugin.js.map +1 -0
- package/dist/domain/registry/installation-fleet.d.ts +2 -1
- package/dist/domain/registry/installation-fleet.js.map +1 -1
- package/dist/domain/registry/plugin-calls.d.ts +11 -0
- package/dist/domain/registry/plugin-calls.js +2 -0
- package/dist/domain/registry/plugin-calls.js.map +1 -0
- package/dist/domain/registry/ports.d.ts +2 -1
- package/dist/domain/registry/read-installation-journeys.d.ts +90 -0
- package/dist/domain/registry/read-installation-journeys.js +20 -0
- package/dist/domain/registry/read-installation-journeys.js.map +1 -0
- package/dist/domain/shared/caller.d.ts +4 -0
- package/dist/domain/shared/caller.js +4 -0
- package/dist/domain/shared/caller.js.map +1 -1
- package/dist/domain/shared/expire-journey-activity.d.ts +18 -0
- package/dist/domain/shared/expire-journey-activity.js +17 -0
- package/dist/domain/shared/expire-journey-activity.js.map +1 -0
- package/dist/domain/shared/fleet-journey.d.ts +35 -0
- package/dist/domain/shared/fleet-journey.js +83 -0
- package/dist/domain/shared/fleet-journey.js.map +1 -0
- package/dist/domain/shared/record-fleet-journey.d.ts +17 -0
- package/dist/domain/shared/record-fleet-journey.js +8 -0
- package/dist/domain/shared/record-fleet-journey.js.map +1 -0
- package/dist/maintenance-pass.d.ts +1 -1
- package/dist/maintenance-pass.js +1 -0
- package/dist/maintenance-pass.js.map +1 -1
- package/dist/start.js +1 -0
- package/dist/start.js.map +1 -1
- package/dist/wiring.d.ts +9 -0
- package/dist/wiring.js +16 -3
- package/dist/wiring.js.map +1 -1
- package/package.json +2 -2
- package/src/adapters/prisma/migrations/20261117010000_fleet_journeys/migration.sql +37 -0
- package/src/adapters/prisma/schema.prisma +54 -19
|
@@ -0,0 +1,1212 @@
|
|
|
1
|
+
import type * as runtime from "@prisma/client/runtime/client";
|
|
2
|
+
import type * as Prisma from "../internal/prismaNamespace.js";
|
|
3
|
+
/**
|
|
4
|
+
* Model FleetJourney
|
|
5
|
+
* The tenant: one operator's ships, messages and history. Ids start with flt_.
|
|
6
|
+
* A bounded operational projection, retained independently of message history.
|
|
7
|
+
*/
|
|
8
|
+
export type FleetJourneyModel = runtime.Types.Result.DefaultSelection<Prisma.$FleetJourneyPayload>;
|
|
9
|
+
export type AggregateFleetJourney = {
|
|
10
|
+
_count: FleetJourneyCountAggregateOutputType | null;
|
|
11
|
+
_avg: FleetJourneyAvgAggregateOutputType | null;
|
|
12
|
+
_sum: FleetJourneySumAggregateOutputType | null;
|
|
13
|
+
_min: FleetJourneyMinAggregateOutputType | null;
|
|
14
|
+
_max: FleetJourneyMaxAggregateOutputType | null;
|
|
15
|
+
};
|
|
16
|
+
export type FleetJourneyAvgAggregateOutputType = {
|
|
17
|
+
processedThrough: number | null;
|
|
18
|
+
};
|
|
19
|
+
export type FleetJourneySumAggregateOutputType = {
|
|
20
|
+
processedThrough: bigint | null;
|
|
21
|
+
};
|
|
22
|
+
export type FleetJourneyMinAggregateOutputType = {
|
|
23
|
+
fleetId: string | null;
|
|
24
|
+
createdAt: Date | null;
|
|
25
|
+
coverageFrom: Date | null;
|
|
26
|
+
activityExpiresAt: Date | null;
|
|
27
|
+
processedThrough: bigint | null;
|
|
28
|
+
};
|
|
29
|
+
export type FleetJourneyMaxAggregateOutputType = {
|
|
30
|
+
fleetId: string | null;
|
|
31
|
+
createdAt: Date | null;
|
|
32
|
+
coverageFrom: Date | null;
|
|
33
|
+
activityExpiresAt: Date | null;
|
|
34
|
+
processedThrough: bigint | null;
|
|
35
|
+
};
|
|
36
|
+
export type FleetJourneyCountAggregateOutputType = {
|
|
37
|
+
fleetId: number;
|
|
38
|
+
createdAt: number;
|
|
39
|
+
coverageFrom: number;
|
|
40
|
+
activityExpiresAt: number;
|
|
41
|
+
processedThrough: number;
|
|
42
|
+
data: number;
|
|
43
|
+
_all: number;
|
|
44
|
+
};
|
|
45
|
+
export type FleetJourneyAvgAggregateInputType = {
|
|
46
|
+
processedThrough?: true;
|
|
47
|
+
};
|
|
48
|
+
export type FleetJourneySumAggregateInputType = {
|
|
49
|
+
processedThrough?: true;
|
|
50
|
+
};
|
|
51
|
+
export type FleetJourneyMinAggregateInputType = {
|
|
52
|
+
fleetId?: true;
|
|
53
|
+
createdAt?: true;
|
|
54
|
+
coverageFrom?: true;
|
|
55
|
+
activityExpiresAt?: true;
|
|
56
|
+
processedThrough?: true;
|
|
57
|
+
};
|
|
58
|
+
export type FleetJourneyMaxAggregateInputType = {
|
|
59
|
+
fleetId?: true;
|
|
60
|
+
createdAt?: true;
|
|
61
|
+
coverageFrom?: true;
|
|
62
|
+
activityExpiresAt?: true;
|
|
63
|
+
processedThrough?: true;
|
|
64
|
+
};
|
|
65
|
+
export type FleetJourneyCountAggregateInputType = {
|
|
66
|
+
fleetId?: true;
|
|
67
|
+
createdAt?: true;
|
|
68
|
+
coverageFrom?: true;
|
|
69
|
+
activityExpiresAt?: true;
|
|
70
|
+
processedThrough?: true;
|
|
71
|
+
data?: true;
|
|
72
|
+
_all?: true;
|
|
73
|
+
};
|
|
74
|
+
export type FleetJourneyAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
75
|
+
/**
|
|
76
|
+
* Filter which FleetJourney to aggregate.
|
|
77
|
+
*/
|
|
78
|
+
where?: Prisma.FleetJourneyWhereInput;
|
|
79
|
+
/**
|
|
80
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
81
|
+
*
|
|
82
|
+
* Determine the order of FleetJourneys to fetch.
|
|
83
|
+
*/
|
|
84
|
+
orderBy?: Prisma.FleetJourneyOrderByWithRelationInput | Prisma.FleetJourneyOrderByWithRelationInput[];
|
|
85
|
+
/**
|
|
86
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
87
|
+
*
|
|
88
|
+
* Sets the start position
|
|
89
|
+
*/
|
|
90
|
+
cursor?: Prisma.FleetJourneyWhereUniqueInput;
|
|
91
|
+
/**
|
|
92
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
93
|
+
*
|
|
94
|
+
* Take `±n` FleetJourneys from the position of the cursor.
|
|
95
|
+
*/
|
|
96
|
+
take?: number;
|
|
97
|
+
/**
|
|
98
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
99
|
+
*
|
|
100
|
+
* Skip the first `n` FleetJourneys.
|
|
101
|
+
*/
|
|
102
|
+
skip?: number;
|
|
103
|
+
/**
|
|
104
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
105
|
+
*
|
|
106
|
+
* Count returned FleetJourneys
|
|
107
|
+
**/
|
|
108
|
+
_count?: true | FleetJourneyCountAggregateInputType;
|
|
109
|
+
/**
|
|
110
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
111
|
+
*
|
|
112
|
+
* Select which fields to average
|
|
113
|
+
**/
|
|
114
|
+
_avg?: FleetJourneyAvgAggregateInputType;
|
|
115
|
+
/**
|
|
116
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
117
|
+
*
|
|
118
|
+
* Select which fields to sum
|
|
119
|
+
**/
|
|
120
|
+
_sum?: FleetJourneySumAggregateInputType;
|
|
121
|
+
/**
|
|
122
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
123
|
+
*
|
|
124
|
+
* Select which fields to find the minimum value
|
|
125
|
+
**/
|
|
126
|
+
_min?: FleetJourneyMinAggregateInputType;
|
|
127
|
+
/**
|
|
128
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
129
|
+
*
|
|
130
|
+
* Select which fields to find the maximum value
|
|
131
|
+
**/
|
|
132
|
+
_max?: FleetJourneyMaxAggregateInputType;
|
|
133
|
+
};
|
|
134
|
+
export type GetFleetJourneyAggregateType<T extends FleetJourneyAggregateArgs> = {
|
|
135
|
+
[P in keyof T & keyof AggregateFleetJourney]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateFleetJourney[P]> : Prisma.GetScalarType<T[P], AggregateFleetJourney[P]>;
|
|
136
|
+
};
|
|
137
|
+
export type FleetJourneyGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
138
|
+
where?: Prisma.FleetJourneyWhereInput;
|
|
139
|
+
orderBy?: Prisma.FleetJourneyOrderByWithAggregationInput | Prisma.FleetJourneyOrderByWithAggregationInput[];
|
|
140
|
+
by: Prisma.FleetJourneyScalarFieldEnum[] | Prisma.FleetJourneyScalarFieldEnum;
|
|
141
|
+
having?: Prisma.FleetJourneyScalarWhereWithAggregatesInput;
|
|
142
|
+
take?: number;
|
|
143
|
+
skip?: number;
|
|
144
|
+
_count?: FleetJourneyCountAggregateInputType | true;
|
|
145
|
+
_avg?: FleetJourneyAvgAggregateInputType;
|
|
146
|
+
_sum?: FleetJourneySumAggregateInputType;
|
|
147
|
+
_min?: FleetJourneyMinAggregateInputType;
|
|
148
|
+
_max?: FleetJourneyMaxAggregateInputType;
|
|
149
|
+
};
|
|
150
|
+
export type FleetJourneyGroupByOutputType = {
|
|
151
|
+
fleetId: string;
|
|
152
|
+
createdAt: Date;
|
|
153
|
+
coverageFrom: Date;
|
|
154
|
+
activityExpiresAt: Date | null;
|
|
155
|
+
processedThrough: bigint;
|
|
156
|
+
data: runtime.JsonValue | null;
|
|
157
|
+
_count: FleetJourneyCountAggregateOutputType | null;
|
|
158
|
+
_avg: FleetJourneyAvgAggregateOutputType | null;
|
|
159
|
+
_sum: FleetJourneySumAggregateOutputType | null;
|
|
160
|
+
_min: FleetJourneyMinAggregateOutputType | null;
|
|
161
|
+
_max: FleetJourneyMaxAggregateOutputType | null;
|
|
162
|
+
};
|
|
163
|
+
export type GetFleetJourneyGroupByPayload<T extends FleetJourneyGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<FleetJourneyGroupByOutputType, T['by']> & {
|
|
164
|
+
[P in ((keyof T) & (keyof FleetJourneyGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], FleetJourneyGroupByOutputType[P]> : Prisma.GetScalarType<T[P], FleetJourneyGroupByOutputType[P]>;
|
|
165
|
+
}>>;
|
|
166
|
+
export type FleetJourneyWhereInput = {
|
|
167
|
+
AND?: Prisma.FleetJourneyWhereInput | Prisma.FleetJourneyWhereInput[];
|
|
168
|
+
OR?: Prisma.FleetJourneyWhereInput[];
|
|
169
|
+
NOT?: Prisma.FleetJourneyWhereInput | Prisma.FleetJourneyWhereInput[];
|
|
170
|
+
fleetId?: Prisma.StringFilter<"FleetJourney"> | string;
|
|
171
|
+
createdAt?: Prisma.DateTimeFilter<"FleetJourney"> | Date | string;
|
|
172
|
+
coverageFrom?: Prisma.DateTimeFilter<"FleetJourney"> | Date | string;
|
|
173
|
+
activityExpiresAt?: Prisma.DateTimeNullableFilter<"FleetJourney"> | Date | string | null;
|
|
174
|
+
processedThrough?: Prisma.BigIntFilter<"FleetJourney"> | bigint | number;
|
|
175
|
+
data?: Prisma.JsonNullableFilter<"FleetJourney">;
|
|
176
|
+
fleet?: Prisma.XOR<Prisma.FleetScalarRelationFilter, Prisma.FleetWhereInput>;
|
|
177
|
+
};
|
|
178
|
+
export type FleetJourneyOrderByWithRelationInput = {
|
|
179
|
+
fleetId?: Prisma.SortOrder;
|
|
180
|
+
createdAt?: Prisma.SortOrder;
|
|
181
|
+
coverageFrom?: Prisma.SortOrder;
|
|
182
|
+
activityExpiresAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
183
|
+
processedThrough?: Prisma.SortOrder;
|
|
184
|
+
data?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
185
|
+
fleet?: Prisma.FleetOrderByWithRelationInput;
|
|
186
|
+
};
|
|
187
|
+
export type FleetJourneyWhereUniqueInput = Prisma.AtLeast<{
|
|
188
|
+
fleetId?: string;
|
|
189
|
+
AND?: Prisma.FleetJourneyWhereInput | Prisma.FleetJourneyWhereInput[];
|
|
190
|
+
OR?: Prisma.FleetJourneyWhereInput[];
|
|
191
|
+
NOT?: Prisma.FleetJourneyWhereInput | Prisma.FleetJourneyWhereInput[];
|
|
192
|
+
createdAt?: Prisma.DateTimeFilter<"FleetJourney"> | Date | string;
|
|
193
|
+
coverageFrom?: Prisma.DateTimeFilter<"FleetJourney"> | Date | string;
|
|
194
|
+
activityExpiresAt?: Prisma.DateTimeNullableFilter<"FleetJourney"> | Date | string | null;
|
|
195
|
+
processedThrough?: Prisma.BigIntFilter<"FleetJourney"> | bigint | number;
|
|
196
|
+
data?: Prisma.JsonNullableFilter<"FleetJourney">;
|
|
197
|
+
fleet?: Prisma.XOR<Prisma.FleetScalarRelationFilter, Prisma.FleetWhereInput>;
|
|
198
|
+
}, "fleetId">;
|
|
199
|
+
export type FleetJourneyOrderByWithAggregationInput = {
|
|
200
|
+
fleetId?: Prisma.SortOrder;
|
|
201
|
+
createdAt?: Prisma.SortOrder;
|
|
202
|
+
coverageFrom?: Prisma.SortOrder;
|
|
203
|
+
activityExpiresAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
204
|
+
processedThrough?: Prisma.SortOrder;
|
|
205
|
+
data?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
206
|
+
_count?: Prisma.FleetJourneyCountOrderByAggregateInput;
|
|
207
|
+
_avg?: Prisma.FleetJourneyAvgOrderByAggregateInput;
|
|
208
|
+
_max?: Prisma.FleetJourneyMaxOrderByAggregateInput;
|
|
209
|
+
_min?: Prisma.FleetJourneyMinOrderByAggregateInput;
|
|
210
|
+
_sum?: Prisma.FleetJourneySumOrderByAggregateInput;
|
|
211
|
+
};
|
|
212
|
+
export type FleetJourneyScalarWhereWithAggregatesInput = {
|
|
213
|
+
AND?: Prisma.FleetJourneyScalarWhereWithAggregatesInput | Prisma.FleetJourneyScalarWhereWithAggregatesInput[];
|
|
214
|
+
OR?: Prisma.FleetJourneyScalarWhereWithAggregatesInput[];
|
|
215
|
+
NOT?: Prisma.FleetJourneyScalarWhereWithAggregatesInput | Prisma.FleetJourneyScalarWhereWithAggregatesInput[];
|
|
216
|
+
fleetId?: Prisma.StringWithAggregatesFilter<"FleetJourney"> | string;
|
|
217
|
+
createdAt?: Prisma.DateTimeWithAggregatesFilter<"FleetJourney"> | Date | string;
|
|
218
|
+
coverageFrom?: Prisma.DateTimeWithAggregatesFilter<"FleetJourney"> | Date | string;
|
|
219
|
+
activityExpiresAt?: Prisma.DateTimeNullableWithAggregatesFilter<"FleetJourney"> | Date | string | null;
|
|
220
|
+
processedThrough?: Prisma.BigIntWithAggregatesFilter<"FleetJourney"> | bigint | number;
|
|
221
|
+
data?: Prisma.JsonNullableWithAggregatesFilter<"FleetJourney">;
|
|
222
|
+
};
|
|
223
|
+
export type FleetJourneyCreateInput = {
|
|
224
|
+
createdAt: Date | string;
|
|
225
|
+
coverageFrom: Date | string;
|
|
226
|
+
activityExpiresAt?: Date | string | null;
|
|
227
|
+
processedThrough?: bigint | number;
|
|
228
|
+
data?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
229
|
+
fleet: Prisma.FleetCreateNestedOneWithoutJourneyInput;
|
|
230
|
+
};
|
|
231
|
+
export type FleetJourneyUncheckedCreateInput = {
|
|
232
|
+
fleetId: string;
|
|
233
|
+
createdAt: Date | string;
|
|
234
|
+
coverageFrom: Date | string;
|
|
235
|
+
activityExpiresAt?: Date | string | null;
|
|
236
|
+
processedThrough?: bigint | number;
|
|
237
|
+
data?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
238
|
+
};
|
|
239
|
+
export type FleetJourneyUpdateInput = {
|
|
240
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
241
|
+
coverageFrom?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
242
|
+
activityExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
243
|
+
processedThrough?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
244
|
+
data?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
245
|
+
fleet?: Prisma.FleetUpdateOneRequiredWithoutJourneyNestedInput;
|
|
246
|
+
};
|
|
247
|
+
export type FleetJourneyUncheckedUpdateInput = {
|
|
248
|
+
fleetId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
249
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
250
|
+
coverageFrom?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
251
|
+
activityExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
252
|
+
processedThrough?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
253
|
+
data?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
254
|
+
};
|
|
255
|
+
export type FleetJourneyCreateManyInput = {
|
|
256
|
+
fleetId: string;
|
|
257
|
+
createdAt: Date | string;
|
|
258
|
+
coverageFrom: Date | string;
|
|
259
|
+
activityExpiresAt?: Date | string | null;
|
|
260
|
+
processedThrough?: bigint | number;
|
|
261
|
+
data?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
262
|
+
};
|
|
263
|
+
export type FleetJourneyUpdateManyMutationInput = {
|
|
264
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
265
|
+
coverageFrom?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
266
|
+
activityExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
267
|
+
processedThrough?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
268
|
+
data?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
269
|
+
};
|
|
270
|
+
export type FleetJourneyUncheckedUpdateManyInput = {
|
|
271
|
+
fleetId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
272
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
273
|
+
coverageFrom?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
274
|
+
activityExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
275
|
+
processedThrough?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
276
|
+
data?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
277
|
+
};
|
|
278
|
+
export type FleetJourneyCountOrderByAggregateInput = {
|
|
279
|
+
fleetId?: Prisma.SortOrder;
|
|
280
|
+
createdAt?: Prisma.SortOrder;
|
|
281
|
+
coverageFrom?: Prisma.SortOrder;
|
|
282
|
+
activityExpiresAt?: Prisma.SortOrder;
|
|
283
|
+
processedThrough?: Prisma.SortOrder;
|
|
284
|
+
data?: Prisma.SortOrder;
|
|
285
|
+
};
|
|
286
|
+
export type FleetJourneyAvgOrderByAggregateInput = {
|
|
287
|
+
processedThrough?: Prisma.SortOrder;
|
|
288
|
+
};
|
|
289
|
+
export type FleetJourneyMaxOrderByAggregateInput = {
|
|
290
|
+
fleetId?: Prisma.SortOrder;
|
|
291
|
+
createdAt?: Prisma.SortOrder;
|
|
292
|
+
coverageFrom?: Prisma.SortOrder;
|
|
293
|
+
activityExpiresAt?: Prisma.SortOrder;
|
|
294
|
+
processedThrough?: Prisma.SortOrder;
|
|
295
|
+
};
|
|
296
|
+
export type FleetJourneyMinOrderByAggregateInput = {
|
|
297
|
+
fleetId?: Prisma.SortOrder;
|
|
298
|
+
createdAt?: Prisma.SortOrder;
|
|
299
|
+
coverageFrom?: Prisma.SortOrder;
|
|
300
|
+
activityExpiresAt?: Prisma.SortOrder;
|
|
301
|
+
processedThrough?: Prisma.SortOrder;
|
|
302
|
+
};
|
|
303
|
+
export type FleetJourneySumOrderByAggregateInput = {
|
|
304
|
+
processedThrough?: Prisma.SortOrder;
|
|
305
|
+
};
|
|
306
|
+
export type FleetJourneyNullableScalarRelationFilter = {
|
|
307
|
+
is?: Prisma.FleetJourneyWhereInput | null;
|
|
308
|
+
isNot?: Prisma.FleetJourneyWhereInput | null;
|
|
309
|
+
};
|
|
310
|
+
export type DateTimeFieldUpdateOperationsInput = {
|
|
311
|
+
set?: Date | string;
|
|
312
|
+
};
|
|
313
|
+
export type NullableDateTimeFieldUpdateOperationsInput = {
|
|
314
|
+
set?: Date | string | null;
|
|
315
|
+
};
|
|
316
|
+
export type BigIntFieldUpdateOperationsInput = {
|
|
317
|
+
set?: bigint | number;
|
|
318
|
+
increment?: bigint | number;
|
|
319
|
+
decrement?: bigint | number;
|
|
320
|
+
multiply?: bigint | number;
|
|
321
|
+
divide?: bigint | number;
|
|
322
|
+
};
|
|
323
|
+
export type StringFieldUpdateOperationsInput = {
|
|
324
|
+
set?: string;
|
|
325
|
+
};
|
|
326
|
+
export type FleetJourneyCreateNestedOneWithoutFleetInput = {
|
|
327
|
+
create?: Prisma.XOR<Prisma.FleetJourneyCreateWithoutFleetInput, Prisma.FleetJourneyUncheckedCreateWithoutFleetInput>;
|
|
328
|
+
connectOrCreate?: Prisma.FleetJourneyCreateOrConnectWithoutFleetInput;
|
|
329
|
+
connect?: Prisma.FleetJourneyWhereUniqueInput;
|
|
330
|
+
};
|
|
331
|
+
export type FleetJourneyUncheckedCreateNestedOneWithoutFleetInput = {
|
|
332
|
+
create?: Prisma.XOR<Prisma.FleetJourneyCreateWithoutFleetInput, Prisma.FleetJourneyUncheckedCreateWithoutFleetInput>;
|
|
333
|
+
connectOrCreate?: Prisma.FleetJourneyCreateOrConnectWithoutFleetInput;
|
|
334
|
+
connect?: Prisma.FleetJourneyWhereUniqueInput;
|
|
335
|
+
};
|
|
336
|
+
export type FleetJourneyUpdateOneWithoutFleetNestedInput = {
|
|
337
|
+
create?: Prisma.XOR<Prisma.FleetJourneyCreateWithoutFleetInput, Prisma.FleetJourneyUncheckedCreateWithoutFleetInput>;
|
|
338
|
+
connectOrCreate?: Prisma.FleetJourneyCreateOrConnectWithoutFleetInput;
|
|
339
|
+
upsert?: Prisma.FleetJourneyUpsertWithoutFleetInput;
|
|
340
|
+
disconnect?: Prisma.FleetJourneyWhereInput | boolean;
|
|
341
|
+
delete?: Prisma.FleetJourneyWhereInput | boolean;
|
|
342
|
+
connect?: Prisma.FleetJourneyWhereUniqueInput;
|
|
343
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.FleetJourneyUpdateToOneWithWhereWithoutFleetInput, Prisma.FleetJourneyUpdateWithoutFleetInput>, Prisma.FleetJourneyUncheckedUpdateWithoutFleetInput>;
|
|
344
|
+
};
|
|
345
|
+
export type FleetJourneyUncheckedUpdateOneWithoutFleetNestedInput = {
|
|
346
|
+
create?: Prisma.XOR<Prisma.FleetJourneyCreateWithoutFleetInput, Prisma.FleetJourneyUncheckedCreateWithoutFleetInput>;
|
|
347
|
+
connectOrCreate?: Prisma.FleetJourneyCreateOrConnectWithoutFleetInput;
|
|
348
|
+
upsert?: Prisma.FleetJourneyUpsertWithoutFleetInput;
|
|
349
|
+
disconnect?: Prisma.FleetJourneyWhereInput | boolean;
|
|
350
|
+
delete?: Prisma.FleetJourneyWhereInput | boolean;
|
|
351
|
+
connect?: Prisma.FleetJourneyWhereUniqueInput;
|
|
352
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.FleetJourneyUpdateToOneWithWhereWithoutFleetInput, Prisma.FleetJourneyUpdateWithoutFleetInput>, Prisma.FleetJourneyUncheckedUpdateWithoutFleetInput>;
|
|
353
|
+
};
|
|
354
|
+
export type FleetJourneyCreateWithoutFleetInput = {
|
|
355
|
+
createdAt: Date | string;
|
|
356
|
+
coverageFrom: Date | string;
|
|
357
|
+
activityExpiresAt?: Date | string | null;
|
|
358
|
+
processedThrough?: bigint | number;
|
|
359
|
+
data?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
360
|
+
};
|
|
361
|
+
export type FleetJourneyUncheckedCreateWithoutFleetInput = {
|
|
362
|
+
createdAt: Date | string;
|
|
363
|
+
coverageFrom: Date | string;
|
|
364
|
+
activityExpiresAt?: Date | string | null;
|
|
365
|
+
processedThrough?: bigint | number;
|
|
366
|
+
data?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
367
|
+
};
|
|
368
|
+
export type FleetJourneyCreateOrConnectWithoutFleetInput = {
|
|
369
|
+
where: Prisma.FleetJourneyWhereUniqueInput;
|
|
370
|
+
create: Prisma.XOR<Prisma.FleetJourneyCreateWithoutFleetInput, Prisma.FleetJourneyUncheckedCreateWithoutFleetInput>;
|
|
371
|
+
};
|
|
372
|
+
export type FleetJourneyUpsertWithoutFleetInput = {
|
|
373
|
+
update: Prisma.XOR<Prisma.FleetJourneyUpdateWithoutFleetInput, Prisma.FleetJourneyUncheckedUpdateWithoutFleetInput>;
|
|
374
|
+
create: Prisma.XOR<Prisma.FleetJourneyCreateWithoutFleetInput, Prisma.FleetJourneyUncheckedCreateWithoutFleetInput>;
|
|
375
|
+
where?: Prisma.FleetJourneyWhereInput;
|
|
376
|
+
};
|
|
377
|
+
export type FleetJourneyUpdateToOneWithWhereWithoutFleetInput = {
|
|
378
|
+
where?: Prisma.FleetJourneyWhereInput;
|
|
379
|
+
data: Prisma.XOR<Prisma.FleetJourneyUpdateWithoutFleetInput, Prisma.FleetJourneyUncheckedUpdateWithoutFleetInput>;
|
|
380
|
+
};
|
|
381
|
+
export type FleetJourneyUpdateWithoutFleetInput = {
|
|
382
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
383
|
+
coverageFrom?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
384
|
+
activityExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
385
|
+
processedThrough?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
386
|
+
data?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
387
|
+
};
|
|
388
|
+
export type FleetJourneyUncheckedUpdateWithoutFleetInput = {
|
|
389
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
390
|
+
coverageFrom?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
391
|
+
activityExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
392
|
+
processedThrough?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
393
|
+
data?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
394
|
+
};
|
|
395
|
+
export type FleetJourneySelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
396
|
+
fleetId?: boolean;
|
|
397
|
+
createdAt?: boolean;
|
|
398
|
+
coverageFrom?: boolean;
|
|
399
|
+
activityExpiresAt?: boolean;
|
|
400
|
+
processedThrough?: boolean;
|
|
401
|
+
data?: boolean;
|
|
402
|
+
fleet?: boolean | Prisma.FleetDefaultArgs<ExtArgs>;
|
|
403
|
+
}, ExtArgs["result"]["fleetJourney"]>;
|
|
404
|
+
export type FleetJourneySelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
405
|
+
fleetId?: boolean;
|
|
406
|
+
createdAt?: boolean;
|
|
407
|
+
coverageFrom?: boolean;
|
|
408
|
+
activityExpiresAt?: boolean;
|
|
409
|
+
processedThrough?: boolean;
|
|
410
|
+
data?: boolean;
|
|
411
|
+
fleet?: boolean | Prisma.FleetDefaultArgs<ExtArgs>;
|
|
412
|
+
}, ExtArgs["result"]["fleetJourney"]>;
|
|
413
|
+
export type FleetJourneySelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
414
|
+
fleetId?: boolean;
|
|
415
|
+
createdAt?: boolean;
|
|
416
|
+
coverageFrom?: boolean;
|
|
417
|
+
activityExpiresAt?: boolean;
|
|
418
|
+
processedThrough?: boolean;
|
|
419
|
+
data?: boolean;
|
|
420
|
+
fleet?: boolean | Prisma.FleetDefaultArgs<ExtArgs>;
|
|
421
|
+
}, ExtArgs["result"]["fleetJourney"]>;
|
|
422
|
+
export type FleetJourneySelectScalar = {
|
|
423
|
+
fleetId?: boolean;
|
|
424
|
+
createdAt?: boolean;
|
|
425
|
+
coverageFrom?: boolean;
|
|
426
|
+
activityExpiresAt?: boolean;
|
|
427
|
+
processedThrough?: boolean;
|
|
428
|
+
data?: boolean;
|
|
429
|
+
};
|
|
430
|
+
export type FleetJourneyOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"fleetId" | "createdAt" | "coverageFrom" | "activityExpiresAt" | "processedThrough" | "data", ExtArgs["result"]["fleetJourney"]>;
|
|
431
|
+
export type FleetJourneyInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
432
|
+
fleet?: boolean | Prisma.FleetDefaultArgs<ExtArgs>;
|
|
433
|
+
};
|
|
434
|
+
export type FleetJourneyIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
435
|
+
fleet?: boolean | Prisma.FleetDefaultArgs<ExtArgs>;
|
|
436
|
+
};
|
|
437
|
+
export type FleetJourneyIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
438
|
+
fleet?: boolean | Prisma.FleetDefaultArgs<ExtArgs>;
|
|
439
|
+
};
|
|
440
|
+
export type $FleetJourneyPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
441
|
+
name: "FleetJourney";
|
|
442
|
+
objects: {
|
|
443
|
+
fleet: Prisma.$FleetPayload<ExtArgs>;
|
|
444
|
+
};
|
|
445
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
446
|
+
fleetId: string;
|
|
447
|
+
createdAt: Date;
|
|
448
|
+
coverageFrom: Date;
|
|
449
|
+
activityExpiresAt: Date | null;
|
|
450
|
+
processedThrough: bigint;
|
|
451
|
+
data: runtime.JsonValue | null;
|
|
452
|
+
}, ExtArgs["result"]["fleetJourney"]>;
|
|
453
|
+
composites: {};
|
|
454
|
+
};
|
|
455
|
+
export type FleetJourneyGetPayload<S extends boolean | null | undefined | FleetJourneyDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$FleetJourneyPayload, S>;
|
|
456
|
+
export type FleetJourneyCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<FleetJourneyFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
457
|
+
select?: FleetJourneyCountAggregateInputType | true;
|
|
458
|
+
};
|
|
459
|
+
export interface FleetJourneyDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
460
|
+
[K: symbol]: {
|
|
461
|
+
types: Prisma.TypeMap<ExtArgs>['model']['FleetJourney'];
|
|
462
|
+
meta: {
|
|
463
|
+
name: 'FleetJourney';
|
|
464
|
+
};
|
|
465
|
+
};
|
|
466
|
+
/**
|
|
467
|
+
* Find zero or one FleetJourney that matches the filter.
|
|
468
|
+
* @param {FleetJourneyFindUniqueArgs} args - Arguments to find a FleetJourney
|
|
469
|
+
* @example
|
|
470
|
+
* // Get one FleetJourney
|
|
471
|
+
* const fleetJourney = await prisma.fleetJourney.findUnique({
|
|
472
|
+
* where: {
|
|
473
|
+
* // ... provide filter here
|
|
474
|
+
* }
|
|
475
|
+
* })
|
|
476
|
+
*/
|
|
477
|
+
findUnique<T extends FleetJourneyFindUniqueArgs>(args: Prisma.SelectSubset<T, FleetJourneyFindUniqueArgs<ExtArgs>>): Prisma.Prisma__FleetJourneyClient<runtime.Types.Result.GetResult<Prisma.$FleetJourneyPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
478
|
+
/**
|
|
479
|
+
* Find one FleetJourney that matches the filter or throw an error with `error.code='P2025'`
|
|
480
|
+
* if no matches were found.
|
|
481
|
+
* @param {FleetJourneyFindUniqueOrThrowArgs} args - Arguments to find a FleetJourney
|
|
482
|
+
* @example
|
|
483
|
+
* // Get one FleetJourney
|
|
484
|
+
* const fleetJourney = await prisma.fleetJourney.findUniqueOrThrow({
|
|
485
|
+
* where: {
|
|
486
|
+
* // ... provide filter here
|
|
487
|
+
* }
|
|
488
|
+
* })
|
|
489
|
+
*/
|
|
490
|
+
findUniqueOrThrow<T extends FleetJourneyFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, FleetJourneyFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__FleetJourneyClient<runtime.Types.Result.GetResult<Prisma.$FleetJourneyPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
491
|
+
/**
|
|
492
|
+
* Find the first FleetJourney that matches the filter.
|
|
493
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
494
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
495
|
+
* @param {FleetJourneyFindFirstArgs} args - Arguments to find a FleetJourney
|
|
496
|
+
* @example
|
|
497
|
+
* // Get one FleetJourney
|
|
498
|
+
* const fleetJourney = await prisma.fleetJourney.findFirst({
|
|
499
|
+
* where: {
|
|
500
|
+
* // ... provide filter here
|
|
501
|
+
* }
|
|
502
|
+
* })
|
|
503
|
+
*/
|
|
504
|
+
findFirst<T extends FleetJourneyFindFirstArgs>(args?: Prisma.SelectSubset<T, FleetJourneyFindFirstArgs<ExtArgs>>): Prisma.Prisma__FleetJourneyClient<runtime.Types.Result.GetResult<Prisma.$FleetJourneyPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
505
|
+
/**
|
|
506
|
+
* Find the first FleetJourney that matches the filter or
|
|
507
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
508
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
509
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
510
|
+
* @param {FleetJourneyFindFirstOrThrowArgs} args - Arguments to find a FleetJourney
|
|
511
|
+
* @example
|
|
512
|
+
* // Get one FleetJourney
|
|
513
|
+
* const fleetJourney = await prisma.fleetJourney.findFirstOrThrow({
|
|
514
|
+
* where: {
|
|
515
|
+
* // ... provide filter here
|
|
516
|
+
* }
|
|
517
|
+
* })
|
|
518
|
+
*/
|
|
519
|
+
findFirstOrThrow<T extends FleetJourneyFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, FleetJourneyFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__FleetJourneyClient<runtime.Types.Result.GetResult<Prisma.$FleetJourneyPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
520
|
+
/**
|
|
521
|
+
* Find zero or more FleetJourneys that matches the filter.
|
|
522
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
523
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
524
|
+
* @param {FleetJourneyFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
525
|
+
* @example
|
|
526
|
+
* // Get all FleetJourneys
|
|
527
|
+
* const fleetJourneys = await prisma.fleetJourney.findMany()
|
|
528
|
+
*
|
|
529
|
+
* // Get first 10 FleetJourneys
|
|
530
|
+
* const fleetJourneys = await prisma.fleetJourney.findMany({ take: 10 })
|
|
531
|
+
*
|
|
532
|
+
* // Only select the `fleetId`
|
|
533
|
+
* const fleetJourneyWithFleetIdOnly = await prisma.fleetJourney.findMany({ select: { fleetId: true } })
|
|
534
|
+
*
|
|
535
|
+
*/
|
|
536
|
+
findMany<T extends FleetJourneyFindManyArgs>(args?: Prisma.SelectSubset<T, FleetJourneyFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$FleetJourneyPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
|
|
537
|
+
/**
|
|
538
|
+
* Create a FleetJourney.
|
|
539
|
+
* @param {FleetJourneyCreateArgs} args - Arguments to create a FleetJourney.
|
|
540
|
+
* @example
|
|
541
|
+
* // Create one FleetJourney
|
|
542
|
+
* const FleetJourney = await prisma.fleetJourney.create({
|
|
543
|
+
* data: {
|
|
544
|
+
* // ... data to create a FleetJourney
|
|
545
|
+
* }
|
|
546
|
+
* })
|
|
547
|
+
*
|
|
548
|
+
*/
|
|
549
|
+
create<T extends FleetJourneyCreateArgs>(args: Prisma.SelectSubset<T, FleetJourneyCreateArgs<ExtArgs>>): Prisma.Prisma__FleetJourneyClient<runtime.Types.Result.GetResult<Prisma.$FleetJourneyPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
550
|
+
/**
|
|
551
|
+
* Create many FleetJourneys.
|
|
552
|
+
* @param {FleetJourneyCreateManyArgs} args - Arguments to create many FleetJourneys.
|
|
553
|
+
* @example
|
|
554
|
+
* // Create many FleetJourneys
|
|
555
|
+
* const fleetJourney = await prisma.fleetJourney.createMany({
|
|
556
|
+
* data: [
|
|
557
|
+
* // ... provide data here
|
|
558
|
+
* ]
|
|
559
|
+
* })
|
|
560
|
+
*
|
|
561
|
+
*/
|
|
562
|
+
createMany<T extends FleetJourneyCreateManyArgs>(args?: Prisma.SelectSubset<T, FleetJourneyCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
563
|
+
/**
|
|
564
|
+
* Create many FleetJourneys and returns the data saved in the database.
|
|
565
|
+
* @param {FleetJourneyCreateManyAndReturnArgs} args - Arguments to create many FleetJourneys.
|
|
566
|
+
* @example
|
|
567
|
+
* // Create many FleetJourneys
|
|
568
|
+
* const fleetJourney = await prisma.fleetJourney.createManyAndReturn({
|
|
569
|
+
* data: [
|
|
570
|
+
* // ... provide data here
|
|
571
|
+
* ]
|
|
572
|
+
* })
|
|
573
|
+
*
|
|
574
|
+
* // Create many FleetJourneys and only return the `fleetId`
|
|
575
|
+
* const fleetJourneyWithFleetIdOnly = await prisma.fleetJourney.createManyAndReturn({
|
|
576
|
+
* select: { fleetId: true },
|
|
577
|
+
* data: [
|
|
578
|
+
* // ... provide data here
|
|
579
|
+
* ]
|
|
580
|
+
* })
|
|
581
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
582
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
583
|
+
*
|
|
584
|
+
*/
|
|
585
|
+
createManyAndReturn<T extends FleetJourneyCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, FleetJourneyCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$FleetJourneyPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
|
|
586
|
+
/**
|
|
587
|
+
* Delete a FleetJourney.
|
|
588
|
+
* @param {FleetJourneyDeleteArgs} args - Arguments to delete one FleetJourney.
|
|
589
|
+
* @example
|
|
590
|
+
* // Delete one FleetJourney
|
|
591
|
+
* const FleetJourney = await prisma.fleetJourney.delete({
|
|
592
|
+
* where: {
|
|
593
|
+
* // ... filter to delete one FleetJourney
|
|
594
|
+
* }
|
|
595
|
+
* })
|
|
596
|
+
*
|
|
597
|
+
*/
|
|
598
|
+
delete<T extends FleetJourneyDeleteArgs>(args: Prisma.SelectSubset<T, FleetJourneyDeleteArgs<ExtArgs>>): Prisma.Prisma__FleetJourneyClient<runtime.Types.Result.GetResult<Prisma.$FleetJourneyPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
599
|
+
/**
|
|
600
|
+
* Update one FleetJourney.
|
|
601
|
+
* @param {FleetJourneyUpdateArgs} args - Arguments to update one FleetJourney.
|
|
602
|
+
* @example
|
|
603
|
+
* // Update one FleetJourney
|
|
604
|
+
* const fleetJourney = await prisma.fleetJourney.update({
|
|
605
|
+
* where: {
|
|
606
|
+
* // ... provide filter here
|
|
607
|
+
* },
|
|
608
|
+
* data: {
|
|
609
|
+
* // ... provide data here
|
|
610
|
+
* }
|
|
611
|
+
* })
|
|
612
|
+
*
|
|
613
|
+
*/
|
|
614
|
+
update<T extends FleetJourneyUpdateArgs>(args: Prisma.SelectSubset<T, FleetJourneyUpdateArgs<ExtArgs>>): Prisma.Prisma__FleetJourneyClient<runtime.Types.Result.GetResult<Prisma.$FleetJourneyPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
615
|
+
/**
|
|
616
|
+
* Delete zero or more FleetJourneys.
|
|
617
|
+
* @param {FleetJourneyDeleteManyArgs} args - Arguments to filter FleetJourneys to delete.
|
|
618
|
+
* @example
|
|
619
|
+
* // Delete a few FleetJourneys
|
|
620
|
+
* const { count } = await prisma.fleetJourney.deleteMany({
|
|
621
|
+
* where: {
|
|
622
|
+
* // ... provide filter here
|
|
623
|
+
* }
|
|
624
|
+
* })
|
|
625
|
+
*
|
|
626
|
+
*/
|
|
627
|
+
deleteMany<T extends FleetJourneyDeleteManyArgs>(args?: Prisma.SelectSubset<T, FleetJourneyDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
628
|
+
/**
|
|
629
|
+
* Update zero or more FleetJourneys.
|
|
630
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
631
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
632
|
+
* @param {FleetJourneyUpdateManyArgs} args - Arguments to update one or more rows.
|
|
633
|
+
* @example
|
|
634
|
+
* // Update many FleetJourneys
|
|
635
|
+
* const fleetJourney = await prisma.fleetJourney.updateMany({
|
|
636
|
+
* where: {
|
|
637
|
+
* // ... provide filter here
|
|
638
|
+
* },
|
|
639
|
+
* data: {
|
|
640
|
+
* // ... provide data here
|
|
641
|
+
* }
|
|
642
|
+
* })
|
|
643
|
+
*
|
|
644
|
+
*/
|
|
645
|
+
updateMany<T extends FleetJourneyUpdateManyArgs>(args: Prisma.SelectSubset<T, FleetJourneyUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
646
|
+
/**
|
|
647
|
+
* Update zero or more FleetJourneys and returns the data updated in the database.
|
|
648
|
+
* @param {FleetJourneyUpdateManyAndReturnArgs} args - Arguments to update many FleetJourneys.
|
|
649
|
+
* @example
|
|
650
|
+
* // Update many FleetJourneys
|
|
651
|
+
* const fleetJourney = await prisma.fleetJourney.updateManyAndReturn({
|
|
652
|
+
* where: {
|
|
653
|
+
* // ... provide filter here
|
|
654
|
+
* },
|
|
655
|
+
* data: [
|
|
656
|
+
* // ... provide data here
|
|
657
|
+
* ]
|
|
658
|
+
* })
|
|
659
|
+
*
|
|
660
|
+
* // Update zero or more FleetJourneys and only return the `fleetId`
|
|
661
|
+
* const fleetJourneyWithFleetIdOnly = await prisma.fleetJourney.updateManyAndReturn({
|
|
662
|
+
* select: { fleetId: true },
|
|
663
|
+
* where: {
|
|
664
|
+
* // ... provide filter here
|
|
665
|
+
* },
|
|
666
|
+
* data: [
|
|
667
|
+
* // ... provide data here
|
|
668
|
+
* ]
|
|
669
|
+
* })
|
|
670
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
671
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
672
|
+
*
|
|
673
|
+
*/
|
|
674
|
+
updateManyAndReturn<T extends FleetJourneyUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, FleetJourneyUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$FleetJourneyPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
|
|
675
|
+
/**
|
|
676
|
+
* Create or update one FleetJourney.
|
|
677
|
+
* @param {FleetJourneyUpsertArgs} args - Arguments to update or create a FleetJourney.
|
|
678
|
+
* @example
|
|
679
|
+
* // Update or create a FleetJourney
|
|
680
|
+
* const fleetJourney = await prisma.fleetJourney.upsert({
|
|
681
|
+
* create: {
|
|
682
|
+
* // ... data to create a FleetJourney
|
|
683
|
+
* },
|
|
684
|
+
* update: {
|
|
685
|
+
* // ... in case it already exists, update
|
|
686
|
+
* },
|
|
687
|
+
* where: {
|
|
688
|
+
* // ... the filter for the FleetJourney we want to update
|
|
689
|
+
* }
|
|
690
|
+
* })
|
|
691
|
+
*/
|
|
692
|
+
upsert<T extends FleetJourneyUpsertArgs>(args: Prisma.SelectSubset<T, FleetJourneyUpsertArgs<ExtArgs>>): Prisma.Prisma__FleetJourneyClient<runtime.Types.Result.GetResult<Prisma.$FleetJourneyPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
693
|
+
/**
|
|
694
|
+
* Count the number of FleetJourneys.
|
|
695
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
696
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
697
|
+
* @param {FleetJourneyCountArgs} args - Arguments to filter FleetJourneys to count.
|
|
698
|
+
* @example
|
|
699
|
+
* // Count the number of FleetJourneys
|
|
700
|
+
* const count = await prisma.fleetJourney.count({
|
|
701
|
+
* where: {
|
|
702
|
+
* // ... the filter for the FleetJourneys we want to count
|
|
703
|
+
* }
|
|
704
|
+
* })
|
|
705
|
+
**/
|
|
706
|
+
count<T extends FleetJourneyCountArgs>(args?: Prisma.Subset<T, FleetJourneyCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], FleetJourneyCountAggregateOutputType> : number>;
|
|
707
|
+
/**
|
|
708
|
+
* Allows you to perform aggregations operations on a FleetJourney.
|
|
709
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
710
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
711
|
+
* @param {FleetJourneyAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
712
|
+
* @example
|
|
713
|
+
* // Ordered by age ascending
|
|
714
|
+
* // Where email contains prisma.io
|
|
715
|
+
* // Limited to the 10 users
|
|
716
|
+
* const aggregations = await prisma.user.aggregate({
|
|
717
|
+
* _avg: {
|
|
718
|
+
* age: true,
|
|
719
|
+
* },
|
|
720
|
+
* where: {
|
|
721
|
+
* email: {
|
|
722
|
+
* contains: "prisma.io",
|
|
723
|
+
* },
|
|
724
|
+
* },
|
|
725
|
+
* orderBy: {
|
|
726
|
+
* age: "asc",
|
|
727
|
+
* },
|
|
728
|
+
* take: 10,
|
|
729
|
+
* })
|
|
730
|
+
**/
|
|
731
|
+
aggregate<T extends FleetJourneyAggregateArgs>(args: Prisma.Subset<T, FleetJourneyAggregateArgs>): Prisma.PrismaPromise<GetFleetJourneyAggregateType<T>>;
|
|
732
|
+
/**
|
|
733
|
+
* Group by FleetJourney.
|
|
734
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
735
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
736
|
+
* @param {FleetJourneyGroupByArgs} args - Group by arguments.
|
|
737
|
+
* @example
|
|
738
|
+
* // Group by city, order by createdAt, get count
|
|
739
|
+
* const result = await prisma.user.groupBy({
|
|
740
|
+
* by: ['city', 'createdAt'],
|
|
741
|
+
* orderBy: {
|
|
742
|
+
* createdAt: true
|
|
743
|
+
* },
|
|
744
|
+
* _count: {
|
|
745
|
+
* _all: true
|
|
746
|
+
* },
|
|
747
|
+
* })
|
|
748
|
+
*
|
|
749
|
+
**/
|
|
750
|
+
groupBy<T extends FleetJourneyGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
|
|
751
|
+
orderBy: FleetJourneyGroupByArgs['orderBy'];
|
|
752
|
+
} : {
|
|
753
|
+
orderBy?: FleetJourneyGroupByArgs['orderBy'];
|
|
754
|
+
}, 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 ? {
|
|
755
|
+
[P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
|
|
756
|
+
Error,
|
|
757
|
+
'Field ',
|
|
758
|
+
P,
|
|
759
|
+
` in "having" needs to be provided in "by"`
|
|
760
|
+
];
|
|
761
|
+
}[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
762
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
763
|
+
}[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 ? {} : {
|
|
764
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
765
|
+
}[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
|
|
766
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
767
|
+
}[OrderFields]>(args: Prisma.SubsetIntersection<T, FleetJourneyGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetFleetJourneyGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
|
|
768
|
+
/**
|
|
769
|
+
* Fields of the FleetJourney model
|
|
770
|
+
*/
|
|
771
|
+
readonly fields: FleetJourneyFieldRefs;
|
|
772
|
+
}
|
|
773
|
+
/**
|
|
774
|
+
* The delegate class that acts as a "Promise-like" for FleetJourney.
|
|
775
|
+
* Why is this prefixed with `Prisma__`?
|
|
776
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
777
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
778
|
+
*/
|
|
779
|
+
export interface Prisma__FleetJourneyClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
780
|
+
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
781
|
+
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>;
|
|
782
|
+
/**
|
|
783
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
784
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
785
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
786
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
787
|
+
*/
|
|
788
|
+
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>;
|
|
789
|
+
/**
|
|
790
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
791
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
792
|
+
* @returns A Promise for the completion of the callback.
|
|
793
|
+
*/
|
|
794
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
|
|
795
|
+
/**
|
|
796
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
797
|
+
* resolved value cannot be modified from the callback.
|
|
798
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
799
|
+
* @returns A Promise for the completion of the callback.
|
|
800
|
+
*/
|
|
801
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
|
|
802
|
+
}
|
|
803
|
+
/**
|
|
804
|
+
* Fields of the FleetJourney model
|
|
805
|
+
*/
|
|
806
|
+
export interface FleetJourneyFieldRefs {
|
|
807
|
+
readonly fleetId: Prisma.FieldRef<"FleetJourney", 'String'>;
|
|
808
|
+
readonly createdAt: Prisma.FieldRef<"FleetJourney", 'DateTime'>;
|
|
809
|
+
readonly coverageFrom: Prisma.FieldRef<"FleetJourney", 'DateTime'>;
|
|
810
|
+
readonly activityExpiresAt: Prisma.FieldRef<"FleetJourney", 'DateTime'>;
|
|
811
|
+
readonly processedThrough: Prisma.FieldRef<"FleetJourney", 'BigInt'>;
|
|
812
|
+
readonly data: Prisma.FieldRef<"FleetJourney", 'Json'>;
|
|
813
|
+
}
|
|
814
|
+
/**
|
|
815
|
+
* FleetJourney findUnique
|
|
816
|
+
*/
|
|
817
|
+
export type FleetJourneyFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
818
|
+
/**
|
|
819
|
+
* Select specific fields to fetch from the FleetJourney
|
|
820
|
+
*/
|
|
821
|
+
select?: Prisma.FleetJourneySelect<ExtArgs> | null;
|
|
822
|
+
/**
|
|
823
|
+
* Omit specific fields from the FleetJourney
|
|
824
|
+
*/
|
|
825
|
+
omit?: Prisma.FleetJourneyOmit<ExtArgs> | null;
|
|
826
|
+
/**
|
|
827
|
+
* Choose, which related nodes to fetch as well
|
|
828
|
+
*/
|
|
829
|
+
include?: Prisma.FleetJourneyInclude<ExtArgs> | null;
|
|
830
|
+
/**
|
|
831
|
+
* Filter, which FleetJourney to fetch.
|
|
832
|
+
*/
|
|
833
|
+
where: Prisma.FleetJourneyWhereUniqueInput;
|
|
834
|
+
};
|
|
835
|
+
/**
|
|
836
|
+
* FleetJourney findUniqueOrThrow
|
|
837
|
+
*/
|
|
838
|
+
export type FleetJourneyFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
839
|
+
/**
|
|
840
|
+
* Select specific fields to fetch from the FleetJourney
|
|
841
|
+
*/
|
|
842
|
+
select?: Prisma.FleetJourneySelect<ExtArgs> | null;
|
|
843
|
+
/**
|
|
844
|
+
* Omit specific fields from the FleetJourney
|
|
845
|
+
*/
|
|
846
|
+
omit?: Prisma.FleetJourneyOmit<ExtArgs> | null;
|
|
847
|
+
/**
|
|
848
|
+
* Choose, which related nodes to fetch as well
|
|
849
|
+
*/
|
|
850
|
+
include?: Prisma.FleetJourneyInclude<ExtArgs> | null;
|
|
851
|
+
/**
|
|
852
|
+
* Filter, which FleetJourney to fetch.
|
|
853
|
+
*/
|
|
854
|
+
where: Prisma.FleetJourneyWhereUniqueInput;
|
|
855
|
+
};
|
|
856
|
+
/**
|
|
857
|
+
* FleetJourney findFirst
|
|
858
|
+
*/
|
|
859
|
+
export type FleetJourneyFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
860
|
+
/**
|
|
861
|
+
* Select specific fields to fetch from the FleetJourney
|
|
862
|
+
*/
|
|
863
|
+
select?: Prisma.FleetJourneySelect<ExtArgs> | null;
|
|
864
|
+
/**
|
|
865
|
+
* Omit specific fields from the FleetJourney
|
|
866
|
+
*/
|
|
867
|
+
omit?: Prisma.FleetJourneyOmit<ExtArgs> | null;
|
|
868
|
+
/**
|
|
869
|
+
* Choose, which related nodes to fetch as well
|
|
870
|
+
*/
|
|
871
|
+
include?: Prisma.FleetJourneyInclude<ExtArgs> | null;
|
|
872
|
+
/**
|
|
873
|
+
* Filter, which FleetJourney to fetch.
|
|
874
|
+
*/
|
|
875
|
+
where?: Prisma.FleetJourneyWhereInput;
|
|
876
|
+
/**
|
|
877
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
878
|
+
*
|
|
879
|
+
* Determine the order of FleetJourneys to fetch.
|
|
880
|
+
*/
|
|
881
|
+
orderBy?: Prisma.FleetJourneyOrderByWithRelationInput | Prisma.FleetJourneyOrderByWithRelationInput[];
|
|
882
|
+
/**
|
|
883
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
884
|
+
*
|
|
885
|
+
* Sets the position for searching for FleetJourneys.
|
|
886
|
+
*/
|
|
887
|
+
cursor?: Prisma.FleetJourneyWhereUniqueInput;
|
|
888
|
+
/**
|
|
889
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
890
|
+
*
|
|
891
|
+
* Take `±n` FleetJourneys from the position of the cursor.
|
|
892
|
+
*/
|
|
893
|
+
take?: number;
|
|
894
|
+
/**
|
|
895
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
896
|
+
*
|
|
897
|
+
* Skip the first `n` FleetJourneys.
|
|
898
|
+
*/
|
|
899
|
+
skip?: number;
|
|
900
|
+
/**
|
|
901
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
902
|
+
*
|
|
903
|
+
* Filter by unique combinations of FleetJourneys.
|
|
904
|
+
*/
|
|
905
|
+
distinct?: Prisma.FleetJourneyScalarFieldEnum | Prisma.FleetJourneyScalarFieldEnum[];
|
|
906
|
+
};
|
|
907
|
+
/**
|
|
908
|
+
* FleetJourney findFirstOrThrow
|
|
909
|
+
*/
|
|
910
|
+
export type FleetJourneyFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
911
|
+
/**
|
|
912
|
+
* Select specific fields to fetch from the FleetJourney
|
|
913
|
+
*/
|
|
914
|
+
select?: Prisma.FleetJourneySelect<ExtArgs> | null;
|
|
915
|
+
/**
|
|
916
|
+
* Omit specific fields from the FleetJourney
|
|
917
|
+
*/
|
|
918
|
+
omit?: Prisma.FleetJourneyOmit<ExtArgs> | null;
|
|
919
|
+
/**
|
|
920
|
+
* Choose, which related nodes to fetch as well
|
|
921
|
+
*/
|
|
922
|
+
include?: Prisma.FleetJourneyInclude<ExtArgs> | null;
|
|
923
|
+
/**
|
|
924
|
+
* Filter, which FleetJourney to fetch.
|
|
925
|
+
*/
|
|
926
|
+
where?: Prisma.FleetJourneyWhereInput;
|
|
927
|
+
/**
|
|
928
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
929
|
+
*
|
|
930
|
+
* Determine the order of FleetJourneys to fetch.
|
|
931
|
+
*/
|
|
932
|
+
orderBy?: Prisma.FleetJourneyOrderByWithRelationInput | Prisma.FleetJourneyOrderByWithRelationInput[];
|
|
933
|
+
/**
|
|
934
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
935
|
+
*
|
|
936
|
+
* Sets the position for searching for FleetJourneys.
|
|
937
|
+
*/
|
|
938
|
+
cursor?: Prisma.FleetJourneyWhereUniqueInput;
|
|
939
|
+
/**
|
|
940
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
941
|
+
*
|
|
942
|
+
* Take `±n` FleetJourneys from the position of the cursor.
|
|
943
|
+
*/
|
|
944
|
+
take?: number;
|
|
945
|
+
/**
|
|
946
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
947
|
+
*
|
|
948
|
+
* Skip the first `n` FleetJourneys.
|
|
949
|
+
*/
|
|
950
|
+
skip?: number;
|
|
951
|
+
/**
|
|
952
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
953
|
+
*
|
|
954
|
+
* Filter by unique combinations of FleetJourneys.
|
|
955
|
+
*/
|
|
956
|
+
distinct?: Prisma.FleetJourneyScalarFieldEnum | Prisma.FleetJourneyScalarFieldEnum[];
|
|
957
|
+
};
|
|
958
|
+
/**
|
|
959
|
+
* FleetJourney findMany
|
|
960
|
+
*/
|
|
961
|
+
export type FleetJourneyFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
962
|
+
/**
|
|
963
|
+
* Select specific fields to fetch from the FleetJourney
|
|
964
|
+
*/
|
|
965
|
+
select?: Prisma.FleetJourneySelect<ExtArgs> | null;
|
|
966
|
+
/**
|
|
967
|
+
* Omit specific fields from the FleetJourney
|
|
968
|
+
*/
|
|
969
|
+
omit?: Prisma.FleetJourneyOmit<ExtArgs> | null;
|
|
970
|
+
/**
|
|
971
|
+
* Choose, which related nodes to fetch as well
|
|
972
|
+
*/
|
|
973
|
+
include?: Prisma.FleetJourneyInclude<ExtArgs> | null;
|
|
974
|
+
/**
|
|
975
|
+
* Filter, which FleetJourneys to fetch.
|
|
976
|
+
*/
|
|
977
|
+
where?: Prisma.FleetJourneyWhereInput;
|
|
978
|
+
/**
|
|
979
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
980
|
+
*
|
|
981
|
+
* Determine the order of FleetJourneys to fetch.
|
|
982
|
+
*/
|
|
983
|
+
orderBy?: Prisma.FleetJourneyOrderByWithRelationInput | Prisma.FleetJourneyOrderByWithRelationInput[];
|
|
984
|
+
/**
|
|
985
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
986
|
+
*
|
|
987
|
+
* Sets the position for listing FleetJourneys.
|
|
988
|
+
*/
|
|
989
|
+
cursor?: Prisma.FleetJourneyWhereUniqueInput;
|
|
990
|
+
/**
|
|
991
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
992
|
+
*
|
|
993
|
+
* Take `±n` FleetJourneys from the position of the cursor.
|
|
994
|
+
*/
|
|
995
|
+
take?: number;
|
|
996
|
+
/**
|
|
997
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
998
|
+
*
|
|
999
|
+
* Skip the first `n` FleetJourneys.
|
|
1000
|
+
*/
|
|
1001
|
+
skip?: number;
|
|
1002
|
+
/**
|
|
1003
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1004
|
+
*
|
|
1005
|
+
* Filter by unique combinations of FleetJourneys.
|
|
1006
|
+
*/
|
|
1007
|
+
distinct?: Prisma.FleetJourneyScalarFieldEnum | Prisma.FleetJourneyScalarFieldEnum[];
|
|
1008
|
+
};
|
|
1009
|
+
/**
|
|
1010
|
+
* FleetJourney create
|
|
1011
|
+
*/
|
|
1012
|
+
export type FleetJourneyCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1013
|
+
/**
|
|
1014
|
+
* Select specific fields to fetch from the FleetJourney
|
|
1015
|
+
*/
|
|
1016
|
+
select?: Prisma.FleetJourneySelect<ExtArgs> | null;
|
|
1017
|
+
/**
|
|
1018
|
+
* Omit specific fields from the FleetJourney
|
|
1019
|
+
*/
|
|
1020
|
+
omit?: Prisma.FleetJourneyOmit<ExtArgs> | null;
|
|
1021
|
+
/**
|
|
1022
|
+
* Choose, which related nodes to fetch as well
|
|
1023
|
+
*/
|
|
1024
|
+
include?: Prisma.FleetJourneyInclude<ExtArgs> | null;
|
|
1025
|
+
/**
|
|
1026
|
+
* The data needed to create a FleetJourney.
|
|
1027
|
+
*/
|
|
1028
|
+
data: Prisma.XOR<Prisma.FleetJourneyCreateInput, Prisma.FleetJourneyUncheckedCreateInput>;
|
|
1029
|
+
};
|
|
1030
|
+
/**
|
|
1031
|
+
* FleetJourney createMany
|
|
1032
|
+
*/
|
|
1033
|
+
export type FleetJourneyCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1034
|
+
/**
|
|
1035
|
+
* The data used to create many FleetJourneys.
|
|
1036
|
+
*/
|
|
1037
|
+
data: Prisma.FleetJourneyCreateManyInput | Prisma.FleetJourneyCreateManyInput[];
|
|
1038
|
+
skipDuplicates?: boolean;
|
|
1039
|
+
};
|
|
1040
|
+
/**
|
|
1041
|
+
* FleetJourney createManyAndReturn
|
|
1042
|
+
*/
|
|
1043
|
+
export type FleetJourneyCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1044
|
+
/**
|
|
1045
|
+
* Select specific fields to fetch from the FleetJourney
|
|
1046
|
+
*/
|
|
1047
|
+
select?: Prisma.FleetJourneySelectCreateManyAndReturn<ExtArgs> | null;
|
|
1048
|
+
/**
|
|
1049
|
+
* Omit specific fields from the FleetJourney
|
|
1050
|
+
*/
|
|
1051
|
+
omit?: Prisma.FleetJourneyOmit<ExtArgs> | null;
|
|
1052
|
+
/**
|
|
1053
|
+
* The data used to create many FleetJourneys.
|
|
1054
|
+
*/
|
|
1055
|
+
data: Prisma.FleetJourneyCreateManyInput | Prisma.FleetJourneyCreateManyInput[];
|
|
1056
|
+
skipDuplicates?: boolean;
|
|
1057
|
+
/**
|
|
1058
|
+
* Choose, which related nodes to fetch as well
|
|
1059
|
+
*/
|
|
1060
|
+
include?: Prisma.FleetJourneyIncludeCreateManyAndReturn<ExtArgs> | null;
|
|
1061
|
+
};
|
|
1062
|
+
/**
|
|
1063
|
+
* FleetJourney update
|
|
1064
|
+
*/
|
|
1065
|
+
export type FleetJourneyUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1066
|
+
/**
|
|
1067
|
+
* Select specific fields to fetch from the FleetJourney
|
|
1068
|
+
*/
|
|
1069
|
+
select?: Prisma.FleetJourneySelect<ExtArgs> | null;
|
|
1070
|
+
/**
|
|
1071
|
+
* Omit specific fields from the FleetJourney
|
|
1072
|
+
*/
|
|
1073
|
+
omit?: Prisma.FleetJourneyOmit<ExtArgs> | null;
|
|
1074
|
+
/**
|
|
1075
|
+
* Choose, which related nodes to fetch as well
|
|
1076
|
+
*/
|
|
1077
|
+
include?: Prisma.FleetJourneyInclude<ExtArgs> | null;
|
|
1078
|
+
/**
|
|
1079
|
+
* The data needed to update a FleetJourney.
|
|
1080
|
+
*/
|
|
1081
|
+
data: Prisma.XOR<Prisma.FleetJourneyUpdateInput, Prisma.FleetJourneyUncheckedUpdateInput>;
|
|
1082
|
+
/**
|
|
1083
|
+
* Choose, which FleetJourney to update.
|
|
1084
|
+
*/
|
|
1085
|
+
where: Prisma.FleetJourneyWhereUniqueInput;
|
|
1086
|
+
};
|
|
1087
|
+
/**
|
|
1088
|
+
* FleetJourney updateMany
|
|
1089
|
+
*/
|
|
1090
|
+
export type FleetJourneyUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1091
|
+
/**
|
|
1092
|
+
* The data used to update FleetJourneys.
|
|
1093
|
+
*/
|
|
1094
|
+
data: Prisma.XOR<Prisma.FleetJourneyUpdateManyMutationInput, Prisma.FleetJourneyUncheckedUpdateManyInput>;
|
|
1095
|
+
/**
|
|
1096
|
+
* Filter which FleetJourneys to update
|
|
1097
|
+
*/
|
|
1098
|
+
where?: Prisma.FleetJourneyWhereInput;
|
|
1099
|
+
/**
|
|
1100
|
+
* Limit how many FleetJourneys to update.
|
|
1101
|
+
*/
|
|
1102
|
+
limit?: number;
|
|
1103
|
+
};
|
|
1104
|
+
/**
|
|
1105
|
+
* FleetJourney updateManyAndReturn
|
|
1106
|
+
*/
|
|
1107
|
+
export type FleetJourneyUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1108
|
+
/**
|
|
1109
|
+
* Select specific fields to fetch from the FleetJourney
|
|
1110
|
+
*/
|
|
1111
|
+
select?: Prisma.FleetJourneySelectUpdateManyAndReturn<ExtArgs> | null;
|
|
1112
|
+
/**
|
|
1113
|
+
* Omit specific fields from the FleetJourney
|
|
1114
|
+
*/
|
|
1115
|
+
omit?: Prisma.FleetJourneyOmit<ExtArgs> | null;
|
|
1116
|
+
/**
|
|
1117
|
+
* The data used to update FleetJourneys.
|
|
1118
|
+
*/
|
|
1119
|
+
data: Prisma.XOR<Prisma.FleetJourneyUpdateManyMutationInput, Prisma.FleetJourneyUncheckedUpdateManyInput>;
|
|
1120
|
+
/**
|
|
1121
|
+
* Filter which FleetJourneys to update
|
|
1122
|
+
*/
|
|
1123
|
+
where?: Prisma.FleetJourneyWhereInput;
|
|
1124
|
+
/**
|
|
1125
|
+
* Limit how many FleetJourneys to update.
|
|
1126
|
+
*/
|
|
1127
|
+
limit?: number;
|
|
1128
|
+
/**
|
|
1129
|
+
* Choose, which related nodes to fetch as well
|
|
1130
|
+
*/
|
|
1131
|
+
include?: Prisma.FleetJourneyIncludeUpdateManyAndReturn<ExtArgs> | null;
|
|
1132
|
+
};
|
|
1133
|
+
/**
|
|
1134
|
+
* FleetJourney upsert
|
|
1135
|
+
*/
|
|
1136
|
+
export type FleetJourneyUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1137
|
+
/**
|
|
1138
|
+
* Select specific fields to fetch from the FleetJourney
|
|
1139
|
+
*/
|
|
1140
|
+
select?: Prisma.FleetJourneySelect<ExtArgs> | null;
|
|
1141
|
+
/**
|
|
1142
|
+
* Omit specific fields from the FleetJourney
|
|
1143
|
+
*/
|
|
1144
|
+
omit?: Prisma.FleetJourneyOmit<ExtArgs> | null;
|
|
1145
|
+
/**
|
|
1146
|
+
* Choose, which related nodes to fetch as well
|
|
1147
|
+
*/
|
|
1148
|
+
include?: Prisma.FleetJourneyInclude<ExtArgs> | null;
|
|
1149
|
+
/**
|
|
1150
|
+
* The filter to search for the FleetJourney to update in case it exists.
|
|
1151
|
+
*/
|
|
1152
|
+
where: Prisma.FleetJourneyWhereUniqueInput;
|
|
1153
|
+
/**
|
|
1154
|
+
* In case the FleetJourney found by the `where` argument doesn't exist, create a new FleetJourney with this data.
|
|
1155
|
+
*/
|
|
1156
|
+
create: Prisma.XOR<Prisma.FleetJourneyCreateInput, Prisma.FleetJourneyUncheckedCreateInput>;
|
|
1157
|
+
/**
|
|
1158
|
+
* In case the FleetJourney was found with the provided `where` argument, update it with this data.
|
|
1159
|
+
*/
|
|
1160
|
+
update: Prisma.XOR<Prisma.FleetJourneyUpdateInput, Prisma.FleetJourneyUncheckedUpdateInput>;
|
|
1161
|
+
};
|
|
1162
|
+
/**
|
|
1163
|
+
* FleetJourney delete
|
|
1164
|
+
*/
|
|
1165
|
+
export type FleetJourneyDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1166
|
+
/**
|
|
1167
|
+
* Select specific fields to fetch from the FleetJourney
|
|
1168
|
+
*/
|
|
1169
|
+
select?: Prisma.FleetJourneySelect<ExtArgs> | null;
|
|
1170
|
+
/**
|
|
1171
|
+
* Omit specific fields from the FleetJourney
|
|
1172
|
+
*/
|
|
1173
|
+
omit?: Prisma.FleetJourneyOmit<ExtArgs> | null;
|
|
1174
|
+
/**
|
|
1175
|
+
* Choose, which related nodes to fetch as well
|
|
1176
|
+
*/
|
|
1177
|
+
include?: Prisma.FleetJourneyInclude<ExtArgs> | null;
|
|
1178
|
+
/**
|
|
1179
|
+
* Filter which FleetJourney to delete.
|
|
1180
|
+
*/
|
|
1181
|
+
where: Prisma.FleetJourneyWhereUniqueInput;
|
|
1182
|
+
};
|
|
1183
|
+
/**
|
|
1184
|
+
* FleetJourney deleteMany
|
|
1185
|
+
*/
|
|
1186
|
+
export type FleetJourneyDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1187
|
+
/**
|
|
1188
|
+
* Filter which FleetJourneys to delete
|
|
1189
|
+
*/
|
|
1190
|
+
where?: Prisma.FleetJourneyWhereInput;
|
|
1191
|
+
/**
|
|
1192
|
+
* Limit how many FleetJourneys to delete.
|
|
1193
|
+
*/
|
|
1194
|
+
limit?: number;
|
|
1195
|
+
};
|
|
1196
|
+
/**
|
|
1197
|
+
* FleetJourney without action
|
|
1198
|
+
*/
|
|
1199
|
+
export type FleetJourneyDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1200
|
+
/**
|
|
1201
|
+
* Select specific fields to fetch from the FleetJourney
|
|
1202
|
+
*/
|
|
1203
|
+
select?: Prisma.FleetJourneySelect<ExtArgs> | null;
|
|
1204
|
+
/**
|
|
1205
|
+
* Omit specific fields from the FleetJourney
|
|
1206
|
+
*/
|
|
1207
|
+
omit?: Prisma.FleetJourneyOmit<ExtArgs> | null;
|
|
1208
|
+
/**
|
|
1209
|
+
* Choose, which related nodes to fetch as well
|
|
1210
|
+
*/
|
|
1211
|
+
include?: Prisma.FleetJourneyInclude<ExtArgs> | null;
|
|
1212
|
+
};
|