@aeolus-fleet/trierarch-plugin 0.41.0 → 0.42.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.
Files changed (93) hide show
  1. package/README.md +9 -2
  2. package/dist/adapters/fleet/core-version.d.ts +1 -1
  3. package/dist/adapters/fleet/core-version.js +1 -1
  4. package/dist/adapters/fleet/rest-fleet-door.js +1 -1
  5. package/dist/adapters/fleet/rest-fleet-door.js.map +1 -1
  6. package/dist/adapters/fleet/ship-wakeups.d.ts +11 -0
  7. package/dist/adapters/fleet/ship-wakeups.js +127 -0
  8. package/dist/adapters/fleet/ship-wakeups.js.map +1 -0
  9. package/dist/adapters/http/plugin-dispatch.d.ts +24 -0
  10. package/dist/adapters/http/plugin-dispatch.js +22 -0
  11. package/dist/adapters/http/plugin-dispatch.js.map +1 -0
  12. package/dist/adapters/http/plugin-server.d.ts +6 -0
  13. package/dist/adapters/http/plugin-server.js +11 -0
  14. package/dist/adapters/http/plugin-server.js.map +1 -0
  15. package/dist/adapters/http/repository-procedures.d.ts +38 -0
  16. package/dist/adapters/http/repository-procedures.js +36 -0
  17. package/dist/adapters/http/repository-procedures.js.map +1 -0
  18. package/dist/adapters/prisma/fleet-forgetter.js +1 -1
  19. package/dist/adapters/prisma/fleet-forgetter.js.map +1 -1
  20. package/dist/adapters/prisma/generated/browser.d.ts +15 -0
  21. package/dist/adapters/prisma/generated/client.d.ts +15 -0
  22. package/dist/adapters/prisma/generated/internal/class.d.ts +33 -0
  23. package/dist/adapters/prisma/generated/internal/class.js +4 -4
  24. package/dist/adapters/prisma/generated/internal/class.js.map +1 -1
  25. package/dist/adapters/prisma/generated/internal/prismaNamespace.d.ts +251 -1
  26. package/dist/adapters/prisma/generated/internal/prismaNamespace.js +23 -1
  27. package/dist/adapters/prisma/generated/internal/prismaNamespace.js.map +1 -1
  28. package/dist/adapters/prisma/generated/internal/prismaNamespaceBrowser.d.ts +25 -0
  29. package/dist/adapters/prisma/generated/internal/prismaNamespaceBrowser.js +23 -1
  30. package/dist/adapters/prisma/generated/internal/prismaNamespaceBrowser.js.map +1 -1
  31. package/dist/adapters/prisma/generated/models/PluginDispatchReservation.d.ts +975 -0
  32. package/dist/adapters/prisma/generated/models/PluginDispatchReservation.js +2 -0
  33. package/dist/adapters/prisma/generated/models/PluginDispatchReservation.js.map +1 -0
  34. package/dist/adapters/prisma/generated/models/RepositoryEvent.d.ts +1062 -0
  35. package/dist/adapters/prisma/generated/models/RepositoryEvent.js +2 -0
  36. package/dist/adapters/prisma/generated/models/RepositoryEvent.js.map +1 -0
  37. package/dist/adapters/prisma/generated/models/RepositoryList.d.ts +973 -0
  38. package/dist/adapters/prisma/generated/models/RepositoryList.js +2 -0
  39. package/dist/adapters/prisma/generated/models/RepositoryList.js.map +1 -0
  40. package/dist/adapters/prisma/generated/models.d.ts +3 -0
  41. package/dist/adapters/prisma/installation-requests.js +1 -1
  42. package/dist/adapters/prisma/installation-requests.js.map +1 -1
  43. package/dist/adapters/prisma/plugin-reservations.d.ts +7 -0
  44. package/dist/adapters/prisma/plugin-reservations.js +12 -0
  45. package/dist/adapters/prisma/plugin-reservations.js.map +1 -0
  46. package/dist/adapters/prisma/repositories.d.ts +4 -0
  47. package/dist/adapters/prisma/repositories.js +22 -0
  48. package/dist/adapters/prisma/repositories.js.map +1 -0
  49. package/dist/adapters/trpc/router.d.ts +43 -0
  50. package/dist/adapters/trpc/router.js +20 -1
  51. package/dist/adapters/trpc/router.js.map +1 -1
  52. package/dist/app.d.ts +3 -1
  53. package/dist/app.js +48 -7
  54. package/dist/app.js.map +1 -1
  55. package/dist/bin/aeolus-trierarch-plugin.js +3 -0
  56. package/dist/bin/aeolus-trierarch-plugin.js.map +1 -1
  57. package/dist/config.d.ts +3 -0
  58. package/dist/config.js +18 -0
  59. package/dist/config.js.map +1 -1
  60. package/dist/core/connection/answer-pings.d.ts +2 -1
  61. package/dist/core/connection/answer-pings.js +7 -1
  62. package/dist/core/connection/answer-pings.js.map +1 -1
  63. package/dist/core/connection/ports.d.ts +6 -1
  64. package/dist/core/connection/watch-fleet-inboxes.d.ts +19 -0
  65. package/dist/core/connection/watch-fleet-inboxes.js +57 -0
  66. package/dist/core/connection/watch-fleet-inboxes.js.map +1 -0
  67. package/dist/core/installation/installation-connect.d.ts +25 -0
  68. package/dist/core/installation/installation-connect.js +23 -0
  69. package/dist/core/installation/installation-connect.js.map +1 -0
  70. package/dist/core/installation/ports.d.ts +3 -3
  71. package/dist/core/machines/join-machine.d.ts +2 -2
  72. package/dist/core/machines/join-machine.js +3 -3
  73. package/dist/core/machines/join-machine.js.map +1 -1
  74. package/dist/core/machines/setup-line.d.ts +12 -0
  75. package/dist/core/machines/setup-line.js +23 -0
  76. package/dist/core/machines/setup-line.js.map +1 -1
  77. package/dist/core/repositories/manage-repositories.d.ts +38 -0
  78. package/dist/core/repositories/manage-repositories.js +24 -0
  79. package/dist/core/repositories/manage-repositories.js.map +1 -0
  80. package/dist/core/repositories/repository-list.d.ts +23 -0
  81. package/dist/core/repositories/repository-list.js +20 -0
  82. package/dist/core/repositories/repository-list.js.map +1 -0
  83. package/dist/core/scopes/declare-scopes.js +2 -2
  84. package/dist/core/scopes/declare-scopes.js.map +1 -1
  85. package/dist/core/scopes/plugin-scopes.d.ts +1 -0
  86. package/dist/core/scopes/plugin-scopes.js +2 -1
  87. package/dist/core/scopes/plugin-scopes.js.map +1 -1
  88. package/dist/core/shared/errors.d.ts +1 -1
  89. package/dist/core/shared/errors.js.map +1 -1
  90. package/package.json +3 -3
  91. package/src/adapters/prisma/migrations/20261118000000_repository_lists/migration.sql +14 -0
  92. package/src/adapters/prisma/migrations/20261118000001_plugin_reservations/migration.sql +8 -0
  93. package/src/adapters/prisma/schema.prisma +34 -0
@@ -0,0 +1,975 @@
1
+ import type * as runtime from "@prisma/client/runtime/client";
2
+ import type * as Prisma from "../internal/prismaNamespace.js";
3
+ /**
4
+ * Model PluginDispatchReservation
5
+ * Each admitted dispatch remains reserved until its deadline.
6
+ */
7
+ export type PluginDispatchReservationModel = runtime.Types.Result.DefaultSelection<Prisma.$PluginDispatchReservationPayload>;
8
+ export type AggregatePluginDispatchReservation = {
9
+ _count: PluginDispatchReservationCountAggregateOutputType | null;
10
+ _min: PluginDispatchReservationMinAggregateOutputType | null;
11
+ _max: PluginDispatchReservationMaxAggregateOutputType | null;
12
+ };
13
+ export type PluginDispatchReservationMinAggregateOutputType = {
14
+ fleetId: string | null;
15
+ pluginShipId: string | null;
16
+ requestId: string | null;
17
+ expiresAt: Date | null;
18
+ };
19
+ export type PluginDispatchReservationMaxAggregateOutputType = {
20
+ fleetId: string | null;
21
+ pluginShipId: string | null;
22
+ requestId: string | null;
23
+ expiresAt: Date | null;
24
+ };
25
+ export type PluginDispatchReservationCountAggregateOutputType = {
26
+ fleetId: number;
27
+ pluginShipId: number;
28
+ requestId: number;
29
+ expiresAt: number;
30
+ _all: number;
31
+ };
32
+ export type PluginDispatchReservationMinAggregateInputType = {
33
+ fleetId?: true;
34
+ pluginShipId?: true;
35
+ requestId?: true;
36
+ expiresAt?: true;
37
+ };
38
+ export type PluginDispatchReservationMaxAggregateInputType = {
39
+ fleetId?: true;
40
+ pluginShipId?: true;
41
+ requestId?: true;
42
+ expiresAt?: true;
43
+ };
44
+ export type PluginDispatchReservationCountAggregateInputType = {
45
+ fleetId?: true;
46
+ pluginShipId?: true;
47
+ requestId?: true;
48
+ expiresAt?: true;
49
+ _all?: true;
50
+ };
51
+ export type PluginDispatchReservationAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
52
+ /**
53
+ * Filter which PluginDispatchReservation to aggregate.
54
+ */
55
+ where?: Prisma.PluginDispatchReservationWhereInput;
56
+ /**
57
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
58
+ *
59
+ * Determine the order of PluginDispatchReservations to fetch.
60
+ */
61
+ orderBy?: Prisma.PluginDispatchReservationOrderByWithRelationInput | Prisma.PluginDispatchReservationOrderByWithRelationInput[];
62
+ /**
63
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
64
+ *
65
+ * Sets the start position
66
+ */
67
+ cursor?: Prisma.PluginDispatchReservationWhereUniqueInput;
68
+ /**
69
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
70
+ *
71
+ * Take `±n` PluginDispatchReservations from the position of the cursor.
72
+ */
73
+ take?: number;
74
+ /**
75
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
76
+ *
77
+ * Skip the first `n` PluginDispatchReservations.
78
+ */
79
+ skip?: number;
80
+ /**
81
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
82
+ *
83
+ * Count returned PluginDispatchReservations
84
+ **/
85
+ _count?: true | PluginDispatchReservationCountAggregateInputType;
86
+ /**
87
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
88
+ *
89
+ * Select which fields to find the minimum value
90
+ **/
91
+ _min?: PluginDispatchReservationMinAggregateInputType;
92
+ /**
93
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
94
+ *
95
+ * Select which fields to find the maximum value
96
+ **/
97
+ _max?: PluginDispatchReservationMaxAggregateInputType;
98
+ };
99
+ export type GetPluginDispatchReservationAggregateType<T extends PluginDispatchReservationAggregateArgs> = {
100
+ [P in keyof T & keyof AggregatePluginDispatchReservation]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregatePluginDispatchReservation[P]> : Prisma.GetScalarType<T[P], AggregatePluginDispatchReservation[P]>;
101
+ };
102
+ export type PluginDispatchReservationGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
103
+ where?: Prisma.PluginDispatchReservationWhereInput;
104
+ orderBy?: Prisma.PluginDispatchReservationOrderByWithAggregationInput | Prisma.PluginDispatchReservationOrderByWithAggregationInput[];
105
+ by: Prisma.PluginDispatchReservationScalarFieldEnum[] | Prisma.PluginDispatchReservationScalarFieldEnum;
106
+ having?: Prisma.PluginDispatchReservationScalarWhereWithAggregatesInput;
107
+ take?: number;
108
+ skip?: number;
109
+ _count?: PluginDispatchReservationCountAggregateInputType | true;
110
+ _min?: PluginDispatchReservationMinAggregateInputType;
111
+ _max?: PluginDispatchReservationMaxAggregateInputType;
112
+ };
113
+ export type PluginDispatchReservationGroupByOutputType = {
114
+ fleetId: string;
115
+ pluginShipId: string;
116
+ requestId: string;
117
+ expiresAt: Date;
118
+ _count: PluginDispatchReservationCountAggregateOutputType | null;
119
+ _min: PluginDispatchReservationMinAggregateOutputType | null;
120
+ _max: PluginDispatchReservationMaxAggregateOutputType | null;
121
+ };
122
+ export type GetPluginDispatchReservationGroupByPayload<T extends PluginDispatchReservationGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<PluginDispatchReservationGroupByOutputType, T['by']> & {
123
+ [P in ((keyof T) & (keyof PluginDispatchReservationGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], PluginDispatchReservationGroupByOutputType[P]> : Prisma.GetScalarType<T[P], PluginDispatchReservationGroupByOutputType[P]>;
124
+ }>>;
125
+ export type PluginDispatchReservationWhereInput = {
126
+ AND?: Prisma.PluginDispatchReservationWhereInput | Prisma.PluginDispatchReservationWhereInput[];
127
+ OR?: Prisma.PluginDispatchReservationWhereInput[];
128
+ NOT?: Prisma.PluginDispatchReservationWhereInput | Prisma.PluginDispatchReservationWhereInput[];
129
+ fleetId?: Prisma.StringFilter<"PluginDispatchReservation"> | string;
130
+ pluginShipId?: Prisma.StringFilter<"PluginDispatchReservation"> | string;
131
+ requestId?: Prisma.StringFilter<"PluginDispatchReservation"> | string;
132
+ expiresAt?: Prisma.DateTimeFilter<"PluginDispatchReservation"> | Date | string;
133
+ };
134
+ export type PluginDispatchReservationOrderByWithRelationInput = {
135
+ fleetId?: Prisma.SortOrder;
136
+ pluginShipId?: Prisma.SortOrder;
137
+ requestId?: Prisma.SortOrder;
138
+ expiresAt?: Prisma.SortOrder;
139
+ };
140
+ export type PluginDispatchReservationWhereUniqueInput = Prisma.AtLeast<{
141
+ fleetId_pluginShipId_requestId?: Prisma.PluginDispatchReservationFleetIdPluginShipIdRequestIdCompoundUniqueInput;
142
+ AND?: Prisma.PluginDispatchReservationWhereInput | Prisma.PluginDispatchReservationWhereInput[];
143
+ OR?: Prisma.PluginDispatchReservationWhereInput[];
144
+ NOT?: Prisma.PluginDispatchReservationWhereInput | Prisma.PluginDispatchReservationWhereInput[];
145
+ fleetId?: Prisma.StringFilter<"PluginDispatchReservation"> | string;
146
+ pluginShipId?: Prisma.StringFilter<"PluginDispatchReservation"> | string;
147
+ requestId?: Prisma.StringFilter<"PluginDispatchReservation"> | string;
148
+ expiresAt?: Prisma.DateTimeFilter<"PluginDispatchReservation"> | Date | string;
149
+ }, "fleetId_pluginShipId_requestId">;
150
+ export type PluginDispatchReservationOrderByWithAggregationInput = {
151
+ fleetId?: Prisma.SortOrder;
152
+ pluginShipId?: Prisma.SortOrder;
153
+ requestId?: Prisma.SortOrder;
154
+ expiresAt?: Prisma.SortOrder;
155
+ _count?: Prisma.PluginDispatchReservationCountOrderByAggregateInput;
156
+ _max?: Prisma.PluginDispatchReservationMaxOrderByAggregateInput;
157
+ _min?: Prisma.PluginDispatchReservationMinOrderByAggregateInput;
158
+ };
159
+ export type PluginDispatchReservationScalarWhereWithAggregatesInput = {
160
+ AND?: Prisma.PluginDispatchReservationScalarWhereWithAggregatesInput | Prisma.PluginDispatchReservationScalarWhereWithAggregatesInput[];
161
+ OR?: Prisma.PluginDispatchReservationScalarWhereWithAggregatesInput[];
162
+ NOT?: Prisma.PluginDispatchReservationScalarWhereWithAggregatesInput | Prisma.PluginDispatchReservationScalarWhereWithAggregatesInput[];
163
+ fleetId?: Prisma.StringWithAggregatesFilter<"PluginDispatchReservation"> | string;
164
+ pluginShipId?: Prisma.StringWithAggregatesFilter<"PluginDispatchReservation"> | string;
165
+ requestId?: Prisma.StringWithAggregatesFilter<"PluginDispatchReservation"> | string;
166
+ expiresAt?: Prisma.DateTimeWithAggregatesFilter<"PluginDispatchReservation"> | Date | string;
167
+ };
168
+ export type PluginDispatchReservationCreateInput = {
169
+ fleetId: string;
170
+ pluginShipId: string;
171
+ requestId: string;
172
+ expiresAt: Date | string;
173
+ };
174
+ export type PluginDispatchReservationUncheckedCreateInput = {
175
+ fleetId: string;
176
+ pluginShipId: string;
177
+ requestId: string;
178
+ expiresAt: Date | string;
179
+ };
180
+ export type PluginDispatchReservationUpdateInput = {
181
+ fleetId?: Prisma.StringFieldUpdateOperationsInput | string;
182
+ pluginShipId?: Prisma.StringFieldUpdateOperationsInput | string;
183
+ requestId?: Prisma.StringFieldUpdateOperationsInput | string;
184
+ expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
185
+ };
186
+ export type PluginDispatchReservationUncheckedUpdateInput = {
187
+ fleetId?: Prisma.StringFieldUpdateOperationsInput | string;
188
+ pluginShipId?: Prisma.StringFieldUpdateOperationsInput | string;
189
+ requestId?: Prisma.StringFieldUpdateOperationsInput | string;
190
+ expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
191
+ };
192
+ export type PluginDispatchReservationCreateManyInput = {
193
+ fleetId: string;
194
+ pluginShipId: string;
195
+ requestId: string;
196
+ expiresAt: Date | string;
197
+ };
198
+ export type PluginDispatchReservationUpdateManyMutationInput = {
199
+ fleetId?: Prisma.StringFieldUpdateOperationsInput | string;
200
+ pluginShipId?: Prisma.StringFieldUpdateOperationsInput | string;
201
+ requestId?: Prisma.StringFieldUpdateOperationsInput | string;
202
+ expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
203
+ };
204
+ export type PluginDispatchReservationUncheckedUpdateManyInput = {
205
+ fleetId?: Prisma.StringFieldUpdateOperationsInput | string;
206
+ pluginShipId?: Prisma.StringFieldUpdateOperationsInput | string;
207
+ requestId?: Prisma.StringFieldUpdateOperationsInput | string;
208
+ expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
209
+ };
210
+ export type PluginDispatchReservationFleetIdPluginShipIdRequestIdCompoundUniqueInput = {
211
+ fleetId: string;
212
+ pluginShipId: string;
213
+ requestId: string;
214
+ };
215
+ export type PluginDispatchReservationCountOrderByAggregateInput = {
216
+ fleetId?: Prisma.SortOrder;
217
+ pluginShipId?: Prisma.SortOrder;
218
+ requestId?: Prisma.SortOrder;
219
+ expiresAt?: Prisma.SortOrder;
220
+ };
221
+ export type PluginDispatchReservationMaxOrderByAggregateInput = {
222
+ fleetId?: Prisma.SortOrder;
223
+ pluginShipId?: Prisma.SortOrder;
224
+ requestId?: Prisma.SortOrder;
225
+ expiresAt?: Prisma.SortOrder;
226
+ };
227
+ export type PluginDispatchReservationMinOrderByAggregateInput = {
228
+ fleetId?: Prisma.SortOrder;
229
+ pluginShipId?: Prisma.SortOrder;
230
+ requestId?: Prisma.SortOrder;
231
+ expiresAt?: Prisma.SortOrder;
232
+ };
233
+ export type PluginDispatchReservationSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
234
+ fleetId?: boolean;
235
+ pluginShipId?: boolean;
236
+ requestId?: boolean;
237
+ expiresAt?: boolean;
238
+ }, ExtArgs["result"]["pluginDispatchReservation"]>;
239
+ export type PluginDispatchReservationSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
240
+ fleetId?: boolean;
241
+ pluginShipId?: boolean;
242
+ requestId?: boolean;
243
+ expiresAt?: boolean;
244
+ }, ExtArgs["result"]["pluginDispatchReservation"]>;
245
+ export type PluginDispatchReservationSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
246
+ fleetId?: boolean;
247
+ pluginShipId?: boolean;
248
+ requestId?: boolean;
249
+ expiresAt?: boolean;
250
+ }, ExtArgs["result"]["pluginDispatchReservation"]>;
251
+ export type PluginDispatchReservationSelectScalar = {
252
+ fleetId?: boolean;
253
+ pluginShipId?: boolean;
254
+ requestId?: boolean;
255
+ expiresAt?: boolean;
256
+ };
257
+ export type PluginDispatchReservationOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"fleetId" | "pluginShipId" | "requestId" | "expiresAt", ExtArgs["result"]["pluginDispatchReservation"]>;
258
+ export type $PluginDispatchReservationPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
259
+ name: "PluginDispatchReservation";
260
+ objects: {};
261
+ scalars: runtime.Types.Extensions.GetPayloadResult<{
262
+ fleetId: string;
263
+ pluginShipId: string;
264
+ requestId: string;
265
+ expiresAt: Date;
266
+ }, ExtArgs["result"]["pluginDispatchReservation"]>;
267
+ composites: {};
268
+ };
269
+ export type PluginDispatchReservationGetPayload<S extends boolean | null | undefined | PluginDispatchReservationDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$PluginDispatchReservationPayload, S>;
270
+ export type PluginDispatchReservationCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<PluginDispatchReservationFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
271
+ select?: PluginDispatchReservationCountAggregateInputType | true;
272
+ };
273
+ export interface PluginDispatchReservationDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
274
+ [K: symbol]: {
275
+ types: Prisma.TypeMap<ExtArgs>['model']['PluginDispatchReservation'];
276
+ meta: {
277
+ name: 'PluginDispatchReservation';
278
+ };
279
+ };
280
+ /**
281
+ * Find zero or one PluginDispatchReservation that matches the filter.
282
+ * @param {PluginDispatchReservationFindUniqueArgs} args - Arguments to find a PluginDispatchReservation
283
+ * @example
284
+ * // Get one PluginDispatchReservation
285
+ * const pluginDispatchReservation = await prisma.pluginDispatchReservation.findUnique({
286
+ * where: {
287
+ * // ... provide filter here
288
+ * }
289
+ * })
290
+ */
291
+ findUnique<T extends PluginDispatchReservationFindUniqueArgs>(args: Prisma.SelectSubset<T, PluginDispatchReservationFindUniqueArgs<ExtArgs>>): Prisma.Prisma__PluginDispatchReservationClient<runtime.Types.Result.GetResult<Prisma.$PluginDispatchReservationPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
292
+ /**
293
+ * Find one PluginDispatchReservation that matches the filter or throw an error with `error.code='P2025'`
294
+ * if no matches were found.
295
+ * @param {PluginDispatchReservationFindUniqueOrThrowArgs} args - Arguments to find a PluginDispatchReservation
296
+ * @example
297
+ * // Get one PluginDispatchReservation
298
+ * const pluginDispatchReservation = await prisma.pluginDispatchReservation.findUniqueOrThrow({
299
+ * where: {
300
+ * // ... provide filter here
301
+ * }
302
+ * })
303
+ */
304
+ findUniqueOrThrow<T extends PluginDispatchReservationFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, PluginDispatchReservationFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__PluginDispatchReservationClient<runtime.Types.Result.GetResult<Prisma.$PluginDispatchReservationPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
305
+ /**
306
+ * Find the first PluginDispatchReservation that matches the filter.
307
+ * Note, that providing `undefined` is treated as the value not being there.
308
+ * Read more here: https://pris.ly/d/null-undefined
309
+ * @param {PluginDispatchReservationFindFirstArgs} args - Arguments to find a PluginDispatchReservation
310
+ * @example
311
+ * // Get one PluginDispatchReservation
312
+ * const pluginDispatchReservation = await prisma.pluginDispatchReservation.findFirst({
313
+ * where: {
314
+ * // ... provide filter here
315
+ * }
316
+ * })
317
+ */
318
+ findFirst<T extends PluginDispatchReservationFindFirstArgs>(args?: Prisma.SelectSubset<T, PluginDispatchReservationFindFirstArgs<ExtArgs>>): Prisma.Prisma__PluginDispatchReservationClient<runtime.Types.Result.GetResult<Prisma.$PluginDispatchReservationPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
319
+ /**
320
+ * Find the first PluginDispatchReservation that matches the filter or
321
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
322
+ * Note, that providing `undefined` is treated as the value not being there.
323
+ * Read more here: https://pris.ly/d/null-undefined
324
+ * @param {PluginDispatchReservationFindFirstOrThrowArgs} args - Arguments to find a PluginDispatchReservation
325
+ * @example
326
+ * // Get one PluginDispatchReservation
327
+ * const pluginDispatchReservation = await prisma.pluginDispatchReservation.findFirstOrThrow({
328
+ * where: {
329
+ * // ... provide filter here
330
+ * }
331
+ * })
332
+ */
333
+ findFirstOrThrow<T extends PluginDispatchReservationFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, PluginDispatchReservationFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__PluginDispatchReservationClient<runtime.Types.Result.GetResult<Prisma.$PluginDispatchReservationPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
334
+ /**
335
+ * Find zero or more PluginDispatchReservations that matches the filter.
336
+ * Note, that providing `undefined` is treated as the value not being there.
337
+ * Read more here: https://pris.ly/d/null-undefined
338
+ * @param {PluginDispatchReservationFindManyArgs} args - Arguments to filter and select certain fields only.
339
+ * @example
340
+ * // Get all PluginDispatchReservations
341
+ * const pluginDispatchReservations = await prisma.pluginDispatchReservation.findMany()
342
+ *
343
+ * // Get first 10 PluginDispatchReservations
344
+ * const pluginDispatchReservations = await prisma.pluginDispatchReservation.findMany({ take: 10 })
345
+ *
346
+ * // Only select the `fleetId`
347
+ * const pluginDispatchReservationWithFleetIdOnly = await prisma.pluginDispatchReservation.findMany({ select: { fleetId: true } })
348
+ *
349
+ */
350
+ findMany<T extends PluginDispatchReservationFindManyArgs>(args?: Prisma.SelectSubset<T, PluginDispatchReservationFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PluginDispatchReservationPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
351
+ /**
352
+ * Create a PluginDispatchReservation.
353
+ * @param {PluginDispatchReservationCreateArgs} args - Arguments to create a PluginDispatchReservation.
354
+ * @example
355
+ * // Create one PluginDispatchReservation
356
+ * const PluginDispatchReservation = await prisma.pluginDispatchReservation.create({
357
+ * data: {
358
+ * // ... data to create a PluginDispatchReservation
359
+ * }
360
+ * })
361
+ *
362
+ */
363
+ create<T extends PluginDispatchReservationCreateArgs>(args: Prisma.SelectSubset<T, PluginDispatchReservationCreateArgs<ExtArgs>>): Prisma.Prisma__PluginDispatchReservationClient<runtime.Types.Result.GetResult<Prisma.$PluginDispatchReservationPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
364
+ /**
365
+ * Create many PluginDispatchReservations.
366
+ * @param {PluginDispatchReservationCreateManyArgs} args - Arguments to create many PluginDispatchReservations.
367
+ * @example
368
+ * // Create many PluginDispatchReservations
369
+ * const pluginDispatchReservation = await prisma.pluginDispatchReservation.createMany({
370
+ * data: [
371
+ * // ... provide data here
372
+ * ]
373
+ * })
374
+ *
375
+ */
376
+ createMany<T extends PluginDispatchReservationCreateManyArgs>(args?: Prisma.SelectSubset<T, PluginDispatchReservationCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
377
+ /**
378
+ * Create many PluginDispatchReservations and returns the data saved in the database.
379
+ * @param {PluginDispatchReservationCreateManyAndReturnArgs} args - Arguments to create many PluginDispatchReservations.
380
+ * @example
381
+ * // Create many PluginDispatchReservations
382
+ * const pluginDispatchReservation = await prisma.pluginDispatchReservation.createManyAndReturn({
383
+ * data: [
384
+ * // ... provide data here
385
+ * ]
386
+ * })
387
+ *
388
+ * // Create many PluginDispatchReservations and only return the `fleetId`
389
+ * const pluginDispatchReservationWithFleetIdOnly = await prisma.pluginDispatchReservation.createManyAndReturn({
390
+ * select: { fleetId: true },
391
+ * data: [
392
+ * // ... provide data here
393
+ * ]
394
+ * })
395
+ * Note, that providing `undefined` is treated as the value not being there.
396
+ * Read more here: https://pris.ly/d/null-undefined
397
+ *
398
+ */
399
+ createManyAndReturn<T extends PluginDispatchReservationCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, PluginDispatchReservationCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PluginDispatchReservationPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
400
+ /**
401
+ * Delete a PluginDispatchReservation.
402
+ * @param {PluginDispatchReservationDeleteArgs} args - Arguments to delete one PluginDispatchReservation.
403
+ * @example
404
+ * // Delete one PluginDispatchReservation
405
+ * const PluginDispatchReservation = await prisma.pluginDispatchReservation.delete({
406
+ * where: {
407
+ * // ... filter to delete one PluginDispatchReservation
408
+ * }
409
+ * })
410
+ *
411
+ */
412
+ delete<T extends PluginDispatchReservationDeleteArgs>(args: Prisma.SelectSubset<T, PluginDispatchReservationDeleteArgs<ExtArgs>>): Prisma.Prisma__PluginDispatchReservationClient<runtime.Types.Result.GetResult<Prisma.$PluginDispatchReservationPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
413
+ /**
414
+ * Update one PluginDispatchReservation.
415
+ * @param {PluginDispatchReservationUpdateArgs} args - Arguments to update one PluginDispatchReservation.
416
+ * @example
417
+ * // Update one PluginDispatchReservation
418
+ * const pluginDispatchReservation = await prisma.pluginDispatchReservation.update({
419
+ * where: {
420
+ * // ... provide filter here
421
+ * },
422
+ * data: {
423
+ * // ... provide data here
424
+ * }
425
+ * })
426
+ *
427
+ */
428
+ update<T extends PluginDispatchReservationUpdateArgs>(args: Prisma.SelectSubset<T, PluginDispatchReservationUpdateArgs<ExtArgs>>): Prisma.Prisma__PluginDispatchReservationClient<runtime.Types.Result.GetResult<Prisma.$PluginDispatchReservationPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
429
+ /**
430
+ * Delete zero or more PluginDispatchReservations.
431
+ * @param {PluginDispatchReservationDeleteManyArgs} args - Arguments to filter PluginDispatchReservations to delete.
432
+ * @example
433
+ * // Delete a few PluginDispatchReservations
434
+ * const { count } = await prisma.pluginDispatchReservation.deleteMany({
435
+ * where: {
436
+ * // ... provide filter here
437
+ * }
438
+ * })
439
+ *
440
+ */
441
+ deleteMany<T extends PluginDispatchReservationDeleteManyArgs>(args?: Prisma.SelectSubset<T, PluginDispatchReservationDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
442
+ /**
443
+ * Update zero or more PluginDispatchReservations.
444
+ * Note, that providing `undefined` is treated as the value not being there.
445
+ * Read more here: https://pris.ly/d/null-undefined
446
+ * @param {PluginDispatchReservationUpdateManyArgs} args - Arguments to update one or more rows.
447
+ * @example
448
+ * // Update many PluginDispatchReservations
449
+ * const pluginDispatchReservation = await prisma.pluginDispatchReservation.updateMany({
450
+ * where: {
451
+ * // ... provide filter here
452
+ * },
453
+ * data: {
454
+ * // ... provide data here
455
+ * }
456
+ * })
457
+ *
458
+ */
459
+ updateMany<T extends PluginDispatchReservationUpdateManyArgs>(args: Prisma.SelectSubset<T, PluginDispatchReservationUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
460
+ /**
461
+ * Update zero or more PluginDispatchReservations and returns the data updated in the database.
462
+ * @param {PluginDispatchReservationUpdateManyAndReturnArgs} args - Arguments to update many PluginDispatchReservations.
463
+ * @example
464
+ * // Update many PluginDispatchReservations
465
+ * const pluginDispatchReservation = await prisma.pluginDispatchReservation.updateManyAndReturn({
466
+ * where: {
467
+ * // ... provide filter here
468
+ * },
469
+ * data: [
470
+ * // ... provide data here
471
+ * ]
472
+ * })
473
+ *
474
+ * // Update zero or more PluginDispatchReservations and only return the `fleetId`
475
+ * const pluginDispatchReservationWithFleetIdOnly = await prisma.pluginDispatchReservation.updateManyAndReturn({
476
+ * select: { fleetId: true },
477
+ * where: {
478
+ * // ... provide filter here
479
+ * },
480
+ * data: [
481
+ * // ... provide data here
482
+ * ]
483
+ * })
484
+ * Note, that providing `undefined` is treated as the value not being there.
485
+ * Read more here: https://pris.ly/d/null-undefined
486
+ *
487
+ */
488
+ updateManyAndReturn<T extends PluginDispatchReservationUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, PluginDispatchReservationUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PluginDispatchReservationPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
489
+ /**
490
+ * Create or update one PluginDispatchReservation.
491
+ * @param {PluginDispatchReservationUpsertArgs} args - Arguments to update or create a PluginDispatchReservation.
492
+ * @example
493
+ * // Update or create a PluginDispatchReservation
494
+ * const pluginDispatchReservation = await prisma.pluginDispatchReservation.upsert({
495
+ * create: {
496
+ * // ... data to create a PluginDispatchReservation
497
+ * },
498
+ * update: {
499
+ * // ... in case it already exists, update
500
+ * },
501
+ * where: {
502
+ * // ... the filter for the PluginDispatchReservation we want to update
503
+ * }
504
+ * })
505
+ */
506
+ upsert<T extends PluginDispatchReservationUpsertArgs>(args: Prisma.SelectSubset<T, PluginDispatchReservationUpsertArgs<ExtArgs>>): Prisma.Prisma__PluginDispatchReservationClient<runtime.Types.Result.GetResult<Prisma.$PluginDispatchReservationPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
507
+ /**
508
+ * Count the number of PluginDispatchReservations.
509
+ * Note, that providing `undefined` is treated as the value not being there.
510
+ * Read more here: https://pris.ly/d/null-undefined
511
+ * @param {PluginDispatchReservationCountArgs} args - Arguments to filter PluginDispatchReservations to count.
512
+ * @example
513
+ * // Count the number of PluginDispatchReservations
514
+ * const count = await prisma.pluginDispatchReservation.count({
515
+ * where: {
516
+ * // ... the filter for the PluginDispatchReservations we want to count
517
+ * }
518
+ * })
519
+ **/
520
+ count<T extends PluginDispatchReservationCountArgs>(args?: Prisma.Subset<T, PluginDispatchReservationCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], PluginDispatchReservationCountAggregateOutputType> : number>;
521
+ /**
522
+ * Allows you to perform aggregations operations on a PluginDispatchReservation.
523
+ * Note, that providing `undefined` is treated as the value not being there.
524
+ * Read more here: https://pris.ly/d/null-undefined
525
+ * @param {PluginDispatchReservationAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
526
+ * @example
527
+ * // Ordered by age ascending
528
+ * // Where email contains prisma.io
529
+ * // Limited to the 10 users
530
+ * const aggregations = await prisma.user.aggregate({
531
+ * _avg: {
532
+ * age: true,
533
+ * },
534
+ * where: {
535
+ * email: {
536
+ * contains: "prisma.io",
537
+ * },
538
+ * },
539
+ * orderBy: {
540
+ * age: "asc",
541
+ * },
542
+ * take: 10,
543
+ * })
544
+ **/
545
+ aggregate<T extends PluginDispatchReservationAggregateArgs>(args: Prisma.Subset<T, PluginDispatchReservationAggregateArgs>): Prisma.PrismaPromise<GetPluginDispatchReservationAggregateType<T>>;
546
+ /**
547
+ * Group by PluginDispatchReservation.
548
+ * Note, that providing `undefined` is treated as the value not being there.
549
+ * Read more here: https://pris.ly/d/null-undefined
550
+ * @param {PluginDispatchReservationGroupByArgs} args - Group by arguments.
551
+ * @example
552
+ * // Group by city, order by createdAt, get count
553
+ * const result = await prisma.user.groupBy({
554
+ * by: ['city', 'createdAt'],
555
+ * orderBy: {
556
+ * createdAt: true
557
+ * },
558
+ * _count: {
559
+ * _all: true
560
+ * },
561
+ * })
562
+ *
563
+ **/
564
+ groupBy<T extends PluginDispatchReservationGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
565
+ orderBy: PluginDispatchReservationGroupByArgs['orderBy'];
566
+ } : {
567
+ orderBy?: PluginDispatchReservationGroupByArgs['orderBy'];
568
+ }, 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 ? {
569
+ [P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
570
+ Error,
571
+ 'Field ',
572
+ P,
573
+ ` in "having" needs to be provided in "by"`
574
+ ];
575
+ }[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
576
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
577
+ }[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 ? {} : {
578
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
579
+ }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
580
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
581
+ }[OrderFields]>(args: Prisma.SubsetIntersection<T, PluginDispatchReservationGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetPluginDispatchReservationGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
582
+ /**
583
+ * Fields of the PluginDispatchReservation model
584
+ */
585
+ readonly fields: PluginDispatchReservationFieldRefs;
586
+ }
587
+ /**
588
+ * The delegate class that acts as a "Promise-like" for PluginDispatchReservation.
589
+ * Why is this prefixed with `Prisma__`?
590
+ * Because we want to prevent naming conflicts as mentioned in
591
+ * https://github.com/prisma/prisma-client-js/issues/707
592
+ */
593
+ export interface Prisma__PluginDispatchReservationClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
594
+ readonly [Symbol.toStringTag]: "PrismaPromise";
595
+ /**
596
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
597
+ * @param onfulfilled The callback to execute when the Promise is resolved.
598
+ * @param onrejected The callback to execute when the Promise is rejected.
599
+ * @returns A Promise for the completion of which ever callback is executed.
600
+ */
601
+ 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>;
602
+ /**
603
+ * Attaches a callback for only the rejection of the Promise.
604
+ * @param onrejected The callback to execute when the Promise is rejected.
605
+ * @returns A Promise for the completion of the callback.
606
+ */
607
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
608
+ /**
609
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
610
+ * resolved value cannot be modified from the callback.
611
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
612
+ * @returns A Promise for the completion of the callback.
613
+ */
614
+ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
615
+ }
616
+ /**
617
+ * Fields of the PluginDispatchReservation model
618
+ */
619
+ export interface PluginDispatchReservationFieldRefs {
620
+ readonly fleetId: Prisma.FieldRef<"PluginDispatchReservation", 'String'>;
621
+ readonly pluginShipId: Prisma.FieldRef<"PluginDispatchReservation", 'String'>;
622
+ readonly requestId: Prisma.FieldRef<"PluginDispatchReservation", 'String'>;
623
+ readonly expiresAt: Prisma.FieldRef<"PluginDispatchReservation", 'DateTime'>;
624
+ }
625
+ /**
626
+ * PluginDispatchReservation findUnique
627
+ */
628
+ export type PluginDispatchReservationFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
629
+ /**
630
+ * Select specific fields to fetch from the PluginDispatchReservation
631
+ */
632
+ select?: Prisma.PluginDispatchReservationSelect<ExtArgs> | null;
633
+ /**
634
+ * Omit specific fields from the PluginDispatchReservation
635
+ */
636
+ omit?: Prisma.PluginDispatchReservationOmit<ExtArgs> | null;
637
+ /**
638
+ * Filter, which PluginDispatchReservation to fetch.
639
+ */
640
+ where: Prisma.PluginDispatchReservationWhereUniqueInput;
641
+ };
642
+ /**
643
+ * PluginDispatchReservation findUniqueOrThrow
644
+ */
645
+ export type PluginDispatchReservationFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
646
+ /**
647
+ * Select specific fields to fetch from the PluginDispatchReservation
648
+ */
649
+ select?: Prisma.PluginDispatchReservationSelect<ExtArgs> | null;
650
+ /**
651
+ * Omit specific fields from the PluginDispatchReservation
652
+ */
653
+ omit?: Prisma.PluginDispatchReservationOmit<ExtArgs> | null;
654
+ /**
655
+ * Filter, which PluginDispatchReservation to fetch.
656
+ */
657
+ where: Prisma.PluginDispatchReservationWhereUniqueInput;
658
+ };
659
+ /**
660
+ * PluginDispatchReservation findFirst
661
+ */
662
+ export type PluginDispatchReservationFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
663
+ /**
664
+ * Select specific fields to fetch from the PluginDispatchReservation
665
+ */
666
+ select?: Prisma.PluginDispatchReservationSelect<ExtArgs> | null;
667
+ /**
668
+ * Omit specific fields from the PluginDispatchReservation
669
+ */
670
+ omit?: Prisma.PluginDispatchReservationOmit<ExtArgs> | null;
671
+ /**
672
+ * Filter, which PluginDispatchReservation to fetch.
673
+ */
674
+ where?: Prisma.PluginDispatchReservationWhereInput;
675
+ /**
676
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
677
+ *
678
+ * Determine the order of PluginDispatchReservations to fetch.
679
+ */
680
+ orderBy?: Prisma.PluginDispatchReservationOrderByWithRelationInput | Prisma.PluginDispatchReservationOrderByWithRelationInput[];
681
+ /**
682
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
683
+ *
684
+ * Sets the position for searching for PluginDispatchReservations.
685
+ */
686
+ cursor?: Prisma.PluginDispatchReservationWhereUniqueInput;
687
+ /**
688
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
689
+ *
690
+ * Take `±n` PluginDispatchReservations from the position of the cursor.
691
+ */
692
+ take?: number;
693
+ /**
694
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
695
+ *
696
+ * Skip the first `n` PluginDispatchReservations.
697
+ */
698
+ skip?: number;
699
+ /**
700
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
701
+ *
702
+ * Filter by unique combinations of PluginDispatchReservations.
703
+ */
704
+ distinct?: Prisma.PluginDispatchReservationScalarFieldEnum | Prisma.PluginDispatchReservationScalarFieldEnum[];
705
+ };
706
+ /**
707
+ * PluginDispatchReservation findFirstOrThrow
708
+ */
709
+ export type PluginDispatchReservationFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
710
+ /**
711
+ * Select specific fields to fetch from the PluginDispatchReservation
712
+ */
713
+ select?: Prisma.PluginDispatchReservationSelect<ExtArgs> | null;
714
+ /**
715
+ * Omit specific fields from the PluginDispatchReservation
716
+ */
717
+ omit?: Prisma.PluginDispatchReservationOmit<ExtArgs> | null;
718
+ /**
719
+ * Filter, which PluginDispatchReservation to fetch.
720
+ */
721
+ where?: Prisma.PluginDispatchReservationWhereInput;
722
+ /**
723
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
724
+ *
725
+ * Determine the order of PluginDispatchReservations to fetch.
726
+ */
727
+ orderBy?: Prisma.PluginDispatchReservationOrderByWithRelationInput | Prisma.PluginDispatchReservationOrderByWithRelationInput[];
728
+ /**
729
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
730
+ *
731
+ * Sets the position for searching for PluginDispatchReservations.
732
+ */
733
+ cursor?: Prisma.PluginDispatchReservationWhereUniqueInput;
734
+ /**
735
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
736
+ *
737
+ * Take `±n` PluginDispatchReservations from the position of the cursor.
738
+ */
739
+ take?: number;
740
+ /**
741
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
742
+ *
743
+ * Skip the first `n` PluginDispatchReservations.
744
+ */
745
+ skip?: number;
746
+ /**
747
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
748
+ *
749
+ * Filter by unique combinations of PluginDispatchReservations.
750
+ */
751
+ distinct?: Prisma.PluginDispatchReservationScalarFieldEnum | Prisma.PluginDispatchReservationScalarFieldEnum[];
752
+ };
753
+ /**
754
+ * PluginDispatchReservation findMany
755
+ */
756
+ export type PluginDispatchReservationFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
757
+ /**
758
+ * Select specific fields to fetch from the PluginDispatchReservation
759
+ */
760
+ select?: Prisma.PluginDispatchReservationSelect<ExtArgs> | null;
761
+ /**
762
+ * Omit specific fields from the PluginDispatchReservation
763
+ */
764
+ omit?: Prisma.PluginDispatchReservationOmit<ExtArgs> | null;
765
+ /**
766
+ * Filter, which PluginDispatchReservations to fetch.
767
+ */
768
+ where?: Prisma.PluginDispatchReservationWhereInput;
769
+ /**
770
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
771
+ *
772
+ * Determine the order of PluginDispatchReservations to fetch.
773
+ */
774
+ orderBy?: Prisma.PluginDispatchReservationOrderByWithRelationInput | Prisma.PluginDispatchReservationOrderByWithRelationInput[];
775
+ /**
776
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
777
+ *
778
+ * Sets the position for listing PluginDispatchReservations.
779
+ */
780
+ cursor?: Prisma.PluginDispatchReservationWhereUniqueInput;
781
+ /**
782
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
783
+ *
784
+ * Take `±n` PluginDispatchReservations from the position of the cursor.
785
+ */
786
+ take?: number;
787
+ /**
788
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
789
+ *
790
+ * Skip the first `n` PluginDispatchReservations.
791
+ */
792
+ skip?: number;
793
+ /**
794
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
795
+ *
796
+ * Filter by unique combinations of PluginDispatchReservations.
797
+ */
798
+ distinct?: Prisma.PluginDispatchReservationScalarFieldEnum | Prisma.PluginDispatchReservationScalarFieldEnum[];
799
+ };
800
+ /**
801
+ * PluginDispatchReservation create
802
+ */
803
+ export type PluginDispatchReservationCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
804
+ /**
805
+ * Select specific fields to fetch from the PluginDispatchReservation
806
+ */
807
+ select?: Prisma.PluginDispatchReservationSelect<ExtArgs> | null;
808
+ /**
809
+ * Omit specific fields from the PluginDispatchReservation
810
+ */
811
+ omit?: Prisma.PluginDispatchReservationOmit<ExtArgs> | null;
812
+ /**
813
+ * The data needed to create a PluginDispatchReservation.
814
+ */
815
+ data: Prisma.XOR<Prisma.PluginDispatchReservationCreateInput, Prisma.PluginDispatchReservationUncheckedCreateInput>;
816
+ };
817
+ /**
818
+ * PluginDispatchReservation createMany
819
+ */
820
+ export type PluginDispatchReservationCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
821
+ /**
822
+ * The data used to create many PluginDispatchReservations.
823
+ */
824
+ data: Prisma.PluginDispatchReservationCreateManyInput | Prisma.PluginDispatchReservationCreateManyInput[];
825
+ skipDuplicates?: boolean;
826
+ };
827
+ /**
828
+ * PluginDispatchReservation createManyAndReturn
829
+ */
830
+ export type PluginDispatchReservationCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
831
+ /**
832
+ * Select specific fields to fetch from the PluginDispatchReservation
833
+ */
834
+ select?: Prisma.PluginDispatchReservationSelectCreateManyAndReturn<ExtArgs> | null;
835
+ /**
836
+ * Omit specific fields from the PluginDispatchReservation
837
+ */
838
+ omit?: Prisma.PluginDispatchReservationOmit<ExtArgs> | null;
839
+ /**
840
+ * The data used to create many PluginDispatchReservations.
841
+ */
842
+ data: Prisma.PluginDispatchReservationCreateManyInput | Prisma.PluginDispatchReservationCreateManyInput[];
843
+ skipDuplicates?: boolean;
844
+ };
845
+ /**
846
+ * PluginDispatchReservation update
847
+ */
848
+ export type PluginDispatchReservationUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
849
+ /**
850
+ * Select specific fields to fetch from the PluginDispatchReservation
851
+ */
852
+ select?: Prisma.PluginDispatchReservationSelect<ExtArgs> | null;
853
+ /**
854
+ * Omit specific fields from the PluginDispatchReservation
855
+ */
856
+ omit?: Prisma.PluginDispatchReservationOmit<ExtArgs> | null;
857
+ /**
858
+ * The data needed to update a PluginDispatchReservation.
859
+ */
860
+ data: Prisma.XOR<Prisma.PluginDispatchReservationUpdateInput, Prisma.PluginDispatchReservationUncheckedUpdateInput>;
861
+ /**
862
+ * Choose, which PluginDispatchReservation to update.
863
+ */
864
+ where: Prisma.PluginDispatchReservationWhereUniqueInput;
865
+ };
866
+ /**
867
+ * PluginDispatchReservation updateMany
868
+ */
869
+ export type PluginDispatchReservationUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
870
+ /**
871
+ * The data used to update PluginDispatchReservations.
872
+ */
873
+ data: Prisma.XOR<Prisma.PluginDispatchReservationUpdateManyMutationInput, Prisma.PluginDispatchReservationUncheckedUpdateManyInput>;
874
+ /**
875
+ * Filter which PluginDispatchReservations to update
876
+ */
877
+ where?: Prisma.PluginDispatchReservationWhereInput;
878
+ /**
879
+ * Limit how many PluginDispatchReservations to update.
880
+ */
881
+ limit?: number;
882
+ };
883
+ /**
884
+ * PluginDispatchReservation updateManyAndReturn
885
+ */
886
+ export type PluginDispatchReservationUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
887
+ /**
888
+ * Select specific fields to fetch from the PluginDispatchReservation
889
+ */
890
+ select?: Prisma.PluginDispatchReservationSelectUpdateManyAndReturn<ExtArgs> | null;
891
+ /**
892
+ * Omit specific fields from the PluginDispatchReservation
893
+ */
894
+ omit?: Prisma.PluginDispatchReservationOmit<ExtArgs> | null;
895
+ /**
896
+ * The data used to update PluginDispatchReservations.
897
+ */
898
+ data: Prisma.XOR<Prisma.PluginDispatchReservationUpdateManyMutationInput, Prisma.PluginDispatchReservationUncheckedUpdateManyInput>;
899
+ /**
900
+ * Filter which PluginDispatchReservations to update
901
+ */
902
+ where?: Prisma.PluginDispatchReservationWhereInput;
903
+ /**
904
+ * Limit how many PluginDispatchReservations to update.
905
+ */
906
+ limit?: number;
907
+ };
908
+ /**
909
+ * PluginDispatchReservation upsert
910
+ */
911
+ export type PluginDispatchReservationUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
912
+ /**
913
+ * Select specific fields to fetch from the PluginDispatchReservation
914
+ */
915
+ select?: Prisma.PluginDispatchReservationSelect<ExtArgs> | null;
916
+ /**
917
+ * Omit specific fields from the PluginDispatchReservation
918
+ */
919
+ omit?: Prisma.PluginDispatchReservationOmit<ExtArgs> | null;
920
+ /**
921
+ * The filter to search for the PluginDispatchReservation to update in case it exists.
922
+ */
923
+ where: Prisma.PluginDispatchReservationWhereUniqueInput;
924
+ /**
925
+ * In case the PluginDispatchReservation found by the `where` argument doesn't exist, create a new PluginDispatchReservation with this data.
926
+ */
927
+ create: Prisma.XOR<Prisma.PluginDispatchReservationCreateInput, Prisma.PluginDispatchReservationUncheckedCreateInput>;
928
+ /**
929
+ * In case the PluginDispatchReservation was found with the provided `where` argument, update it with this data.
930
+ */
931
+ update: Prisma.XOR<Prisma.PluginDispatchReservationUpdateInput, Prisma.PluginDispatchReservationUncheckedUpdateInput>;
932
+ };
933
+ /**
934
+ * PluginDispatchReservation delete
935
+ */
936
+ export type PluginDispatchReservationDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
937
+ /**
938
+ * Select specific fields to fetch from the PluginDispatchReservation
939
+ */
940
+ select?: Prisma.PluginDispatchReservationSelect<ExtArgs> | null;
941
+ /**
942
+ * Omit specific fields from the PluginDispatchReservation
943
+ */
944
+ omit?: Prisma.PluginDispatchReservationOmit<ExtArgs> | null;
945
+ /**
946
+ * Filter which PluginDispatchReservation to delete.
947
+ */
948
+ where: Prisma.PluginDispatchReservationWhereUniqueInput;
949
+ };
950
+ /**
951
+ * PluginDispatchReservation deleteMany
952
+ */
953
+ export type PluginDispatchReservationDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
954
+ /**
955
+ * Filter which PluginDispatchReservations to delete
956
+ */
957
+ where?: Prisma.PluginDispatchReservationWhereInput;
958
+ /**
959
+ * Limit how many PluginDispatchReservations to delete.
960
+ */
961
+ limit?: number;
962
+ };
963
+ /**
964
+ * PluginDispatchReservation without action
965
+ */
966
+ export type PluginDispatchReservationDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
967
+ /**
968
+ * Select specific fields to fetch from the PluginDispatchReservation
969
+ */
970
+ select?: Prisma.PluginDispatchReservationSelect<ExtArgs> | null;
971
+ /**
972
+ * Omit specific fields from the PluginDispatchReservation
973
+ */
974
+ omit?: Prisma.PluginDispatchReservationOmit<ExtArgs> | null;
975
+ };