@aeolus-fleet/core 0.19.0 → 0.20.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (106) hide show
  1. package/dist/adapters/prisma/generated/browser.d.ts +25 -0
  2. package/dist/adapters/prisma/generated/client.d.ts +25 -0
  3. package/dist/adapters/prisma/generated/internal/class.d.ts +44 -0
  4. package/dist/adapters/prisma/generated/internal/class.js +4 -4
  5. package/dist/adapters/prisma/generated/internal/class.js.map +1 -1
  6. package/dist/adapters/prisma/generated/internal/prismaNamespace.d.ts +338 -1
  7. package/dist/adapters/prisma/generated/internal/prismaNamespace.js +34 -1
  8. package/dist/adapters/prisma/generated/internal/prismaNamespace.js.map +1 -1
  9. package/dist/adapters/prisma/generated/internal/prismaNamespaceBrowser.d.ts +37 -0
  10. package/dist/adapters/prisma/generated/internal/prismaNamespaceBrowser.js +34 -1
  11. package/dist/adapters/prisma/generated/internal/prismaNamespaceBrowser.js.map +1 -1
  12. package/dist/adapters/prisma/generated/models/CrewRequest.d.ts +103 -1
  13. package/dist/adapters/prisma/generated/models/Fleet.d.ts +860 -0
  14. package/dist/adapters/prisma/generated/models/Label.d.ts +1475 -0
  15. package/dist/adapters/prisma/generated/models/Label.js +2 -0
  16. package/dist/adapters/prisma/generated/models/Label.js.map +1 -0
  17. package/dist/adapters/prisma/generated/models/LabelValue.d.ts +1454 -0
  18. package/dist/adapters/prisma/generated/models/LabelValue.js +2 -0
  19. package/dist/adapters/prisma/generated/models/LabelValue.js.map +1 -0
  20. package/dist/adapters/prisma/generated/models/Ship.d.ts +1225 -70
  21. package/dist/adapters/prisma/generated/models/ShipLabel.d.ts +1431 -0
  22. package/dist/adapters/prisma/generated/models/ShipLabel.js +2 -0
  23. package/dist/adapters/prisma/generated/models/ShipLabel.js.map +1 -0
  24. package/dist/adapters/prisma/generated/models/WorktreeClearRequest.d.ts +1539 -0
  25. package/dist/adapters/prisma/generated/models/WorktreeClearRequest.js +2 -0
  26. package/dist/adapters/prisma/generated/models/WorktreeClearRequest.js.map +1 -0
  27. package/dist/adapters/prisma/generated/models.d.ts +4 -0
  28. package/dist/adapters/prisma/registry.d.ts +3 -1
  29. package/dist/adapters/prisma/registry.js +129 -9
  30. package/dist/adapters/prisma/registry.js.map +1 -1
  31. package/dist/adapters/prisma/rows.d.ts +10 -0
  32. package/dist/adapters/prisma/rows.js +41 -2
  33. package/dist/adapters/prisma/rows.js.map +1 -1
  34. package/dist/adapters/prisma/unit-of-work.d.ts +3 -1
  35. package/dist/adapters/prisma/unit-of-work.js +3 -1
  36. package/dist/adapters/prisma/unit-of-work.js.map +1 -1
  37. package/dist/adapters/trpc/console.d.ts +1 -1
  38. package/dist/adapters/trpc/context.d.ts +20 -0
  39. package/dist/adapters/trpc/fleet.d.ts +144 -8
  40. package/dist/adapters/trpc/fleet.js +143 -6
  41. package/dist/adapters/trpc/fleet.js.map +1 -1
  42. package/dist/adapters/trpc/router.d.ts +134 -8
  43. package/dist/adapters/trpc/ship-contract.js +10 -0
  44. package/dist/adapters/trpc/ship-contract.js.map +1 -1
  45. package/dist/adapters/trpc/trpc.js +14 -0
  46. package/dist/adapters/trpc/trpc.js.map +1 -1
  47. package/dist/domain/registry/assign-label.d.ts +32 -0
  48. package/dist/domain/registry/assign-label.js +39 -0
  49. package/dist/domain/registry/assign-label.js.map +1 -0
  50. package/dist/domain/registry/change-label-values.d.ts +33 -0
  51. package/dist/domain/registry/change-label-values.js +34 -0
  52. package/dist/domain/registry/change-label-values.js.map +1 -0
  53. package/dist/domain/registry/clear-request.d.ts +69 -0
  54. package/dist/domain/registry/clear-request.js +51 -0
  55. package/dist/domain/registry/clear-request.js.map +1 -0
  56. package/dist/domain/registry/confirm-worktree-cleared.d.ts +31 -0
  57. package/dist/domain/registry/confirm-worktree-cleared.js +30 -0
  58. package/dist/domain/registry/confirm-worktree-cleared.js.map +1 -0
  59. package/dist/domain/registry/crew-request.d.ts +9 -3
  60. package/dist/domain/registry/crew-request.js +9 -6
  61. package/dist/domain/registry/crew-request.js.map +1 -1
  62. package/dist/domain/registry/define-label.d.ts +33 -0
  63. package/dist/domain/registry/define-label.js +33 -0
  64. package/dist/domain/registry/define-label.js.map +1 -0
  65. package/dist/domain/registry/delete-label.d.ts +30 -0
  66. package/dist/domain/registry/delete-label.js +32 -0
  67. package/dist/domain/registry/delete-label.js.map +1 -0
  68. package/dist/domain/registry/find-label-value.d.ts +22 -0
  69. package/dist/domain/registry/find-label-value.js +19 -0
  70. package/dist/domain/registry/find-label-value.js.map +1 -0
  71. package/dist/domain/registry/label.d.ts +197 -0
  72. package/dist/domain/registry/label.js +263 -0
  73. package/dist/domain/registry/label.js.map +1 -0
  74. package/dist/domain/registry/list-fleet.d.ts +13 -7
  75. package/dist/domain/registry/list-fleet.js +10 -5
  76. package/dist/domain/registry/list-fleet.js.map +1 -1
  77. package/dist/domain/registry/list-labels.d.ts +12 -0
  78. package/dist/domain/registry/list-labels.js +9 -0
  79. package/dist/domain/registry/list-labels.js.map +1 -0
  80. package/dist/domain/registry/ports.d.ts +59 -1
  81. package/dist/domain/registry/read-clear-requests.d.ts +15 -0
  82. package/dist/domain/registry/read-clear-requests.js +16 -0
  83. package/dist/domain/registry/read-clear-requests.js.map +1 -0
  84. package/dist/domain/registry/report-crew-status.d.ts +6 -3
  85. package/dist/domain/registry/report-crew-status.js +11 -4
  86. package/dist/domain/registry/report-crew-status.js.map +1 -1
  87. package/dist/domain/registry/request-worktree-clear.d.ts +31 -0
  88. package/dist/domain/registry/request-worktree-clear.js +35 -0
  89. package/dist/domain/registry/request-worktree-clear.js.map +1 -0
  90. package/dist/domain/registry/retire-ship.d.ts +9 -3
  91. package/dist/domain/registry/retire-ship.js +27 -2
  92. package/dist/domain/registry/retire-ship.js.map +1 -1
  93. package/dist/domain/registry/unassign-label.d.ts +30 -0
  94. package/dist/domain/registry/unassign-label.js +37 -0
  95. package/dist/domain/registry/unassign-label.js.map +1 -0
  96. package/dist/domain/shared/errors.d.ts +1 -1
  97. package/dist/domain/shared/errors.js.map +1 -1
  98. package/dist/wiring.d.ts +20 -0
  99. package/dist/wiring.js +21 -1
  100. package/dist/wiring.js.map +1 -1
  101. package/package.json +2 -2
  102. package/src/adapters/prisma/migrations/20261007100000_labels/migration.sql +87 -0
  103. package/src/adapters/prisma/migrations/20261007110000_foreign_key_indexes/migration.sql +42 -0
  104. package/src/adapters/prisma/migrations/20261007120000_crew_status_attempt/migration.sql +4 -0
  105. package/src/adapters/prisma/migrations/20261007140000_worktree_clear_requests/migration.sql +32 -0
  106. package/src/adapters/prisma/schema.prisma +120 -0
@@ -0,0 +1,1431 @@
1
+ import type * as runtime from "@prisma/client/runtime/client";
2
+ import type * as Prisma from "../internal/prismaNamespace.js";
3
+ /**
4
+ * Model ShipLabel
5
+ * A label value a ship carries: a ship holds a set of values, so the ship and
6
+ * the value are its key.
7
+ */
8
+ export type ShipLabelModel = runtime.Types.Result.DefaultSelection<Prisma.$ShipLabelPayload>;
9
+ export type AggregateShipLabel = {
10
+ _count: ShipLabelCountAggregateOutputType | null;
11
+ _min: ShipLabelMinAggregateOutputType | null;
12
+ _max: ShipLabelMaxAggregateOutputType | null;
13
+ };
14
+ export type ShipLabelMinAggregateOutputType = {
15
+ fleetId: string | null;
16
+ shipId: string | null;
17
+ labelId: string | null;
18
+ valueId: string | null;
19
+ };
20
+ export type ShipLabelMaxAggregateOutputType = {
21
+ fleetId: string | null;
22
+ shipId: string | null;
23
+ labelId: string | null;
24
+ valueId: string | null;
25
+ };
26
+ export type ShipLabelCountAggregateOutputType = {
27
+ fleetId: number;
28
+ shipId: number;
29
+ labelId: number;
30
+ valueId: number;
31
+ _all: number;
32
+ };
33
+ export type ShipLabelMinAggregateInputType = {
34
+ fleetId?: true;
35
+ shipId?: true;
36
+ labelId?: true;
37
+ valueId?: true;
38
+ };
39
+ export type ShipLabelMaxAggregateInputType = {
40
+ fleetId?: true;
41
+ shipId?: true;
42
+ labelId?: true;
43
+ valueId?: true;
44
+ };
45
+ export type ShipLabelCountAggregateInputType = {
46
+ fleetId?: true;
47
+ shipId?: true;
48
+ labelId?: true;
49
+ valueId?: true;
50
+ _all?: true;
51
+ };
52
+ export type ShipLabelAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
53
+ /**
54
+ * Filter which ShipLabel to aggregate.
55
+ */
56
+ where?: Prisma.ShipLabelWhereInput;
57
+ /**
58
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
59
+ *
60
+ * Determine the order of ShipLabels to fetch.
61
+ */
62
+ orderBy?: Prisma.ShipLabelOrderByWithRelationInput | Prisma.ShipLabelOrderByWithRelationInput[];
63
+ /**
64
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
65
+ *
66
+ * Sets the start position
67
+ */
68
+ cursor?: Prisma.ShipLabelWhereUniqueInput;
69
+ /**
70
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
71
+ *
72
+ * Take `±n` ShipLabels from the position of the cursor.
73
+ */
74
+ take?: number;
75
+ /**
76
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
77
+ *
78
+ * Skip the first `n` ShipLabels.
79
+ */
80
+ skip?: number;
81
+ /**
82
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
83
+ *
84
+ * Count returned ShipLabels
85
+ **/
86
+ _count?: true | ShipLabelCountAggregateInputType;
87
+ /**
88
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
89
+ *
90
+ * Select which fields to find the minimum value
91
+ **/
92
+ _min?: ShipLabelMinAggregateInputType;
93
+ /**
94
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
95
+ *
96
+ * Select which fields to find the maximum value
97
+ **/
98
+ _max?: ShipLabelMaxAggregateInputType;
99
+ };
100
+ export type GetShipLabelAggregateType<T extends ShipLabelAggregateArgs> = {
101
+ [P in keyof T & keyof AggregateShipLabel]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateShipLabel[P]> : Prisma.GetScalarType<T[P], AggregateShipLabel[P]>;
102
+ };
103
+ export type ShipLabelGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
104
+ where?: Prisma.ShipLabelWhereInput;
105
+ orderBy?: Prisma.ShipLabelOrderByWithAggregationInput | Prisma.ShipLabelOrderByWithAggregationInput[];
106
+ by: Prisma.ShipLabelScalarFieldEnum[] | Prisma.ShipLabelScalarFieldEnum;
107
+ having?: Prisma.ShipLabelScalarWhereWithAggregatesInput;
108
+ take?: number;
109
+ skip?: number;
110
+ _count?: ShipLabelCountAggregateInputType | true;
111
+ _min?: ShipLabelMinAggregateInputType;
112
+ _max?: ShipLabelMaxAggregateInputType;
113
+ };
114
+ export type ShipLabelGroupByOutputType = {
115
+ fleetId: string;
116
+ shipId: string;
117
+ labelId: string;
118
+ valueId: string;
119
+ _count: ShipLabelCountAggregateOutputType | null;
120
+ _min: ShipLabelMinAggregateOutputType | null;
121
+ _max: ShipLabelMaxAggregateOutputType | null;
122
+ };
123
+ export type GetShipLabelGroupByPayload<T extends ShipLabelGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<ShipLabelGroupByOutputType, T['by']> & {
124
+ [P in ((keyof T) & (keyof ShipLabelGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], ShipLabelGroupByOutputType[P]> : Prisma.GetScalarType<T[P], ShipLabelGroupByOutputType[P]>;
125
+ }>>;
126
+ export type ShipLabelWhereInput = {
127
+ AND?: Prisma.ShipLabelWhereInput | Prisma.ShipLabelWhereInput[];
128
+ OR?: Prisma.ShipLabelWhereInput[];
129
+ NOT?: Prisma.ShipLabelWhereInput | Prisma.ShipLabelWhereInput[];
130
+ fleetId?: Prisma.StringFilter<"ShipLabel"> | string;
131
+ shipId?: Prisma.StringFilter<"ShipLabel"> | string;
132
+ labelId?: Prisma.StringFilter<"ShipLabel"> | string;
133
+ valueId?: Prisma.StringFilter<"ShipLabel"> | string;
134
+ fleet?: Prisma.XOR<Prisma.FleetScalarRelationFilter, Prisma.FleetWhereInput>;
135
+ ship?: Prisma.XOR<Prisma.ShipScalarRelationFilter, Prisma.ShipWhereInput>;
136
+ label?: Prisma.XOR<Prisma.LabelScalarRelationFilter, Prisma.LabelWhereInput>;
137
+ value?: Prisma.XOR<Prisma.LabelValueScalarRelationFilter, Prisma.LabelValueWhereInput>;
138
+ };
139
+ export type ShipLabelOrderByWithRelationInput = {
140
+ fleetId?: Prisma.SortOrder;
141
+ shipId?: Prisma.SortOrder;
142
+ labelId?: Prisma.SortOrder;
143
+ valueId?: Prisma.SortOrder;
144
+ fleet?: Prisma.FleetOrderByWithRelationInput;
145
+ ship?: Prisma.ShipOrderByWithRelationInput;
146
+ label?: Prisma.LabelOrderByWithRelationInput;
147
+ value?: Prisma.LabelValueOrderByWithRelationInput;
148
+ };
149
+ export type ShipLabelWhereUniqueInput = Prisma.AtLeast<{
150
+ fleetId_shipId_valueId?: Prisma.ShipLabelFleetIdShipIdValueIdCompoundUniqueInput;
151
+ AND?: Prisma.ShipLabelWhereInput | Prisma.ShipLabelWhereInput[];
152
+ OR?: Prisma.ShipLabelWhereInput[];
153
+ NOT?: Prisma.ShipLabelWhereInput | Prisma.ShipLabelWhereInput[];
154
+ fleetId?: Prisma.StringFilter<"ShipLabel"> | string;
155
+ shipId?: Prisma.StringFilter<"ShipLabel"> | string;
156
+ labelId?: Prisma.StringFilter<"ShipLabel"> | string;
157
+ valueId?: Prisma.StringFilter<"ShipLabel"> | string;
158
+ fleet?: Prisma.XOR<Prisma.FleetScalarRelationFilter, Prisma.FleetWhereInput>;
159
+ ship?: Prisma.XOR<Prisma.ShipScalarRelationFilter, Prisma.ShipWhereInput>;
160
+ label?: Prisma.XOR<Prisma.LabelScalarRelationFilter, Prisma.LabelWhereInput>;
161
+ value?: Prisma.XOR<Prisma.LabelValueScalarRelationFilter, Prisma.LabelValueWhereInput>;
162
+ }, "fleetId_shipId_valueId">;
163
+ export type ShipLabelOrderByWithAggregationInput = {
164
+ fleetId?: Prisma.SortOrder;
165
+ shipId?: Prisma.SortOrder;
166
+ labelId?: Prisma.SortOrder;
167
+ valueId?: Prisma.SortOrder;
168
+ _count?: Prisma.ShipLabelCountOrderByAggregateInput;
169
+ _max?: Prisma.ShipLabelMaxOrderByAggregateInput;
170
+ _min?: Prisma.ShipLabelMinOrderByAggregateInput;
171
+ };
172
+ export type ShipLabelScalarWhereWithAggregatesInput = {
173
+ AND?: Prisma.ShipLabelScalarWhereWithAggregatesInput | Prisma.ShipLabelScalarWhereWithAggregatesInput[];
174
+ OR?: Prisma.ShipLabelScalarWhereWithAggregatesInput[];
175
+ NOT?: Prisma.ShipLabelScalarWhereWithAggregatesInput | Prisma.ShipLabelScalarWhereWithAggregatesInput[];
176
+ fleetId?: Prisma.StringWithAggregatesFilter<"ShipLabel"> | string;
177
+ shipId?: Prisma.StringWithAggregatesFilter<"ShipLabel"> | string;
178
+ labelId?: Prisma.StringWithAggregatesFilter<"ShipLabel"> | string;
179
+ valueId?: Prisma.StringWithAggregatesFilter<"ShipLabel"> | string;
180
+ };
181
+ export type ShipLabelCreateInput = {
182
+ fleet: Prisma.FleetCreateNestedOneWithoutShipLabelsInput;
183
+ ship: Prisma.ShipCreateNestedOneWithoutLabelsInput;
184
+ label: Prisma.LabelCreateNestedOneWithoutCarriersInput;
185
+ value: Prisma.LabelValueCreateNestedOneWithoutCarriersInput;
186
+ };
187
+ export type ShipLabelUncheckedCreateInput = {
188
+ fleetId: string;
189
+ shipId: string;
190
+ labelId: string;
191
+ valueId: string;
192
+ };
193
+ export type ShipLabelUpdateInput = {
194
+ fleet?: Prisma.FleetUpdateOneRequiredWithoutShipLabelsNestedInput;
195
+ ship?: Prisma.ShipUpdateOneRequiredWithoutLabelsNestedInput;
196
+ label?: Prisma.LabelUpdateOneRequiredWithoutCarriersNestedInput;
197
+ value?: Prisma.LabelValueUpdateOneRequiredWithoutCarriersNestedInput;
198
+ };
199
+ export type ShipLabelUncheckedUpdateInput = {
200
+ fleetId?: Prisma.StringFieldUpdateOperationsInput | string;
201
+ shipId?: Prisma.StringFieldUpdateOperationsInput | string;
202
+ labelId?: Prisma.StringFieldUpdateOperationsInput | string;
203
+ valueId?: Prisma.StringFieldUpdateOperationsInput | string;
204
+ };
205
+ export type ShipLabelCreateManyInput = {
206
+ fleetId: string;
207
+ shipId: string;
208
+ labelId: string;
209
+ valueId: string;
210
+ };
211
+ export type ShipLabelUpdateManyMutationInput = {};
212
+ export type ShipLabelUncheckedUpdateManyInput = {
213
+ fleetId?: Prisma.StringFieldUpdateOperationsInput | string;
214
+ shipId?: Prisma.StringFieldUpdateOperationsInput | string;
215
+ labelId?: Prisma.StringFieldUpdateOperationsInput | string;
216
+ valueId?: Prisma.StringFieldUpdateOperationsInput | string;
217
+ };
218
+ export type ShipLabelListRelationFilter = {
219
+ every?: Prisma.ShipLabelWhereInput;
220
+ some?: Prisma.ShipLabelWhereInput;
221
+ none?: Prisma.ShipLabelWhereInput;
222
+ };
223
+ export type ShipLabelOrderByRelationAggregateInput = {
224
+ _count?: Prisma.SortOrder;
225
+ };
226
+ export type ShipLabelFleetIdShipIdValueIdCompoundUniqueInput = {
227
+ fleetId: string;
228
+ shipId: string;
229
+ valueId: string;
230
+ };
231
+ export type ShipLabelCountOrderByAggregateInput = {
232
+ fleetId?: Prisma.SortOrder;
233
+ shipId?: Prisma.SortOrder;
234
+ labelId?: Prisma.SortOrder;
235
+ valueId?: Prisma.SortOrder;
236
+ };
237
+ export type ShipLabelMaxOrderByAggregateInput = {
238
+ fleetId?: Prisma.SortOrder;
239
+ shipId?: Prisma.SortOrder;
240
+ labelId?: Prisma.SortOrder;
241
+ valueId?: Prisma.SortOrder;
242
+ };
243
+ export type ShipLabelMinOrderByAggregateInput = {
244
+ fleetId?: Prisma.SortOrder;
245
+ shipId?: Prisma.SortOrder;
246
+ labelId?: Prisma.SortOrder;
247
+ valueId?: Prisma.SortOrder;
248
+ };
249
+ export type ShipLabelCreateNestedManyWithoutFleetInput = {
250
+ create?: Prisma.XOR<Prisma.ShipLabelCreateWithoutFleetInput, Prisma.ShipLabelUncheckedCreateWithoutFleetInput> | Prisma.ShipLabelCreateWithoutFleetInput[] | Prisma.ShipLabelUncheckedCreateWithoutFleetInput[];
251
+ connectOrCreate?: Prisma.ShipLabelCreateOrConnectWithoutFleetInput | Prisma.ShipLabelCreateOrConnectWithoutFleetInput[];
252
+ createMany?: Prisma.ShipLabelCreateManyFleetInputEnvelope;
253
+ connect?: Prisma.ShipLabelWhereUniqueInput | Prisma.ShipLabelWhereUniqueInput[];
254
+ };
255
+ export type ShipLabelUncheckedCreateNestedManyWithoutFleetInput = {
256
+ create?: Prisma.XOR<Prisma.ShipLabelCreateWithoutFleetInput, Prisma.ShipLabelUncheckedCreateWithoutFleetInput> | Prisma.ShipLabelCreateWithoutFleetInput[] | Prisma.ShipLabelUncheckedCreateWithoutFleetInput[];
257
+ connectOrCreate?: Prisma.ShipLabelCreateOrConnectWithoutFleetInput | Prisma.ShipLabelCreateOrConnectWithoutFleetInput[];
258
+ createMany?: Prisma.ShipLabelCreateManyFleetInputEnvelope;
259
+ connect?: Prisma.ShipLabelWhereUniqueInput | Prisma.ShipLabelWhereUniqueInput[];
260
+ };
261
+ export type ShipLabelUpdateManyWithoutFleetNestedInput = {
262
+ create?: Prisma.XOR<Prisma.ShipLabelCreateWithoutFleetInput, Prisma.ShipLabelUncheckedCreateWithoutFleetInput> | Prisma.ShipLabelCreateWithoutFleetInput[] | Prisma.ShipLabelUncheckedCreateWithoutFleetInput[];
263
+ connectOrCreate?: Prisma.ShipLabelCreateOrConnectWithoutFleetInput | Prisma.ShipLabelCreateOrConnectWithoutFleetInput[];
264
+ upsert?: Prisma.ShipLabelUpsertWithWhereUniqueWithoutFleetInput | Prisma.ShipLabelUpsertWithWhereUniqueWithoutFleetInput[];
265
+ createMany?: Prisma.ShipLabelCreateManyFleetInputEnvelope;
266
+ set?: Prisma.ShipLabelWhereUniqueInput | Prisma.ShipLabelWhereUniqueInput[];
267
+ disconnect?: Prisma.ShipLabelWhereUniqueInput | Prisma.ShipLabelWhereUniqueInput[];
268
+ delete?: Prisma.ShipLabelWhereUniqueInput | Prisma.ShipLabelWhereUniqueInput[];
269
+ connect?: Prisma.ShipLabelWhereUniqueInput | Prisma.ShipLabelWhereUniqueInput[];
270
+ update?: Prisma.ShipLabelUpdateWithWhereUniqueWithoutFleetInput | Prisma.ShipLabelUpdateWithWhereUniqueWithoutFleetInput[];
271
+ updateMany?: Prisma.ShipLabelUpdateManyWithWhereWithoutFleetInput | Prisma.ShipLabelUpdateManyWithWhereWithoutFleetInput[];
272
+ deleteMany?: Prisma.ShipLabelScalarWhereInput | Prisma.ShipLabelScalarWhereInput[];
273
+ };
274
+ export type ShipLabelUncheckedUpdateManyWithoutFleetNestedInput = {
275
+ create?: Prisma.XOR<Prisma.ShipLabelCreateWithoutFleetInput, Prisma.ShipLabelUncheckedCreateWithoutFleetInput> | Prisma.ShipLabelCreateWithoutFleetInput[] | Prisma.ShipLabelUncheckedCreateWithoutFleetInput[];
276
+ connectOrCreate?: Prisma.ShipLabelCreateOrConnectWithoutFleetInput | Prisma.ShipLabelCreateOrConnectWithoutFleetInput[];
277
+ upsert?: Prisma.ShipLabelUpsertWithWhereUniqueWithoutFleetInput | Prisma.ShipLabelUpsertWithWhereUniqueWithoutFleetInput[];
278
+ createMany?: Prisma.ShipLabelCreateManyFleetInputEnvelope;
279
+ set?: Prisma.ShipLabelWhereUniqueInput | Prisma.ShipLabelWhereUniqueInput[];
280
+ disconnect?: Prisma.ShipLabelWhereUniqueInput | Prisma.ShipLabelWhereUniqueInput[];
281
+ delete?: Prisma.ShipLabelWhereUniqueInput | Prisma.ShipLabelWhereUniqueInput[];
282
+ connect?: Prisma.ShipLabelWhereUniqueInput | Prisma.ShipLabelWhereUniqueInput[];
283
+ update?: Prisma.ShipLabelUpdateWithWhereUniqueWithoutFleetInput | Prisma.ShipLabelUpdateWithWhereUniqueWithoutFleetInput[];
284
+ updateMany?: Prisma.ShipLabelUpdateManyWithWhereWithoutFleetInput | Prisma.ShipLabelUpdateManyWithWhereWithoutFleetInput[];
285
+ deleteMany?: Prisma.ShipLabelScalarWhereInput | Prisma.ShipLabelScalarWhereInput[];
286
+ };
287
+ export type ShipLabelCreateNestedManyWithoutShipInput = {
288
+ create?: Prisma.XOR<Prisma.ShipLabelCreateWithoutShipInput, Prisma.ShipLabelUncheckedCreateWithoutShipInput> | Prisma.ShipLabelCreateWithoutShipInput[] | Prisma.ShipLabelUncheckedCreateWithoutShipInput[];
289
+ connectOrCreate?: Prisma.ShipLabelCreateOrConnectWithoutShipInput | Prisma.ShipLabelCreateOrConnectWithoutShipInput[];
290
+ createMany?: Prisma.ShipLabelCreateManyShipInputEnvelope;
291
+ connect?: Prisma.ShipLabelWhereUniqueInput | Prisma.ShipLabelWhereUniqueInput[];
292
+ };
293
+ export type ShipLabelUncheckedCreateNestedManyWithoutShipInput = {
294
+ create?: Prisma.XOR<Prisma.ShipLabelCreateWithoutShipInput, Prisma.ShipLabelUncheckedCreateWithoutShipInput> | Prisma.ShipLabelCreateWithoutShipInput[] | Prisma.ShipLabelUncheckedCreateWithoutShipInput[];
295
+ connectOrCreate?: Prisma.ShipLabelCreateOrConnectWithoutShipInput | Prisma.ShipLabelCreateOrConnectWithoutShipInput[];
296
+ createMany?: Prisma.ShipLabelCreateManyShipInputEnvelope;
297
+ connect?: Prisma.ShipLabelWhereUniqueInput | Prisma.ShipLabelWhereUniqueInput[];
298
+ };
299
+ export type ShipLabelUpdateManyWithoutShipNestedInput = {
300
+ create?: Prisma.XOR<Prisma.ShipLabelCreateWithoutShipInput, Prisma.ShipLabelUncheckedCreateWithoutShipInput> | Prisma.ShipLabelCreateWithoutShipInput[] | Prisma.ShipLabelUncheckedCreateWithoutShipInput[];
301
+ connectOrCreate?: Prisma.ShipLabelCreateOrConnectWithoutShipInput | Prisma.ShipLabelCreateOrConnectWithoutShipInput[];
302
+ upsert?: Prisma.ShipLabelUpsertWithWhereUniqueWithoutShipInput | Prisma.ShipLabelUpsertWithWhereUniqueWithoutShipInput[];
303
+ createMany?: Prisma.ShipLabelCreateManyShipInputEnvelope;
304
+ set?: Prisma.ShipLabelWhereUniqueInput | Prisma.ShipLabelWhereUniqueInput[];
305
+ disconnect?: Prisma.ShipLabelWhereUniqueInput | Prisma.ShipLabelWhereUniqueInput[];
306
+ delete?: Prisma.ShipLabelWhereUniqueInput | Prisma.ShipLabelWhereUniqueInput[];
307
+ connect?: Prisma.ShipLabelWhereUniqueInput | Prisma.ShipLabelWhereUniqueInput[];
308
+ update?: Prisma.ShipLabelUpdateWithWhereUniqueWithoutShipInput | Prisma.ShipLabelUpdateWithWhereUniqueWithoutShipInput[];
309
+ updateMany?: Prisma.ShipLabelUpdateManyWithWhereWithoutShipInput | Prisma.ShipLabelUpdateManyWithWhereWithoutShipInput[];
310
+ deleteMany?: Prisma.ShipLabelScalarWhereInput | Prisma.ShipLabelScalarWhereInput[];
311
+ };
312
+ export type ShipLabelUncheckedUpdateManyWithoutShipNestedInput = {
313
+ create?: Prisma.XOR<Prisma.ShipLabelCreateWithoutShipInput, Prisma.ShipLabelUncheckedCreateWithoutShipInput> | Prisma.ShipLabelCreateWithoutShipInput[] | Prisma.ShipLabelUncheckedCreateWithoutShipInput[];
314
+ connectOrCreate?: Prisma.ShipLabelCreateOrConnectWithoutShipInput | Prisma.ShipLabelCreateOrConnectWithoutShipInput[];
315
+ upsert?: Prisma.ShipLabelUpsertWithWhereUniqueWithoutShipInput | Prisma.ShipLabelUpsertWithWhereUniqueWithoutShipInput[];
316
+ createMany?: Prisma.ShipLabelCreateManyShipInputEnvelope;
317
+ set?: Prisma.ShipLabelWhereUniqueInput | Prisma.ShipLabelWhereUniqueInput[];
318
+ disconnect?: Prisma.ShipLabelWhereUniqueInput | Prisma.ShipLabelWhereUniqueInput[];
319
+ delete?: Prisma.ShipLabelWhereUniqueInput | Prisma.ShipLabelWhereUniqueInput[];
320
+ connect?: Prisma.ShipLabelWhereUniqueInput | Prisma.ShipLabelWhereUniqueInput[];
321
+ update?: Prisma.ShipLabelUpdateWithWhereUniqueWithoutShipInput | Prisma.ShipLabelUpdateWithWhereUniqueWithoutShipInput[];
322
+ updateMany?: Prisma.ShipLabelUpdateManyWithWhereWithoutShipInput | Prisma.ShipLabelUpdateManyWithWhereWithoutShipInput[];
323
+ deleteMany?: Prisma.ShipLabelScalarWhereInput | Prisma.ShipLabelScalarWhereInput[];
324
+ };
325
+ export type ShipLabelCreateNestedManyWithoutLabelInput = {
326
+ create?: Prisma.XOR<Prisma.ShipLabelCreateWithoutLabelInput, Prisma.ShipLabelUncheckedCreateWithoutLabelInput> | Prisma.ShipLabelCreateWithoutLabelInput[] | Prisma.ShipLabelUncheckedCreateWithoutLabelInput[];
327
+ connectOrCreate?: Prisma.ShipLabelCreateOrConnectWithoutLabelInput | Prisma.ShipLabelCreateOrConnectWithoutLabelInput[];
328
+ createMany?: Prisma.ShipLabelCreateManyLabelInputEnvelope;
329
+ connect?: Prisma.ShipLabelWhereUniqueInput | Prisma.ShipLabelWhereUniqueInput[];
330
+ };
331
+ export type ShipLabelUncheckedCreateNestedManyWithoutLabelInput = {
332
+ create?: Prisma.XOR<Prisma.ShipLabelCreateWithoutLabelInput, Prisma.ShipLabelUncheckedCreateWithoutLabelInput> | Prisma.ShipLabelCreateWithoutLabelInput[] | Prisma.ShipLabelUncheckedCreateWithoutLabelInput[];
333
+ connectOrCreate?: Prisma.ShipLabelCreateOrConnectWithoutLabelInput | Prisma.ShipLabelCreateOrConnectWithoutLabelInput[];
334
+ createMany?: Prisma.ShipLabelCreateManyLabelInputEnvelope;
335
+ connect?: Prisma.ShipLabelWhereUniqueInput | Prisma.ShipLabelWhereUniqueInput[];
336
+ };
337
+ export type ShipLabelUpdateManyWithoutLabelNestedInput = {
338
+ create?: Prisma.XOR<Prisma.ShipLabelCreateWithoutLabelInput, Prisma.ShipLabelUncheckedCreateWithoutLabelInput> | Prisma.ShipLabelCreateWithoutLabelInput[] | Prisma.ShipLabelUncheckedCreateWithoutLabelInput[];
339
+ connectOrCreate?: Prisma.ShipLabelCreateOrConnectWithoutLabelInput | Prisma.ShipLabelCreateOrConnectWithoutLabelInput[];
340
+ upsert?: Prisma.ShipLabelUpsertWithWhereUniqueWithoutLabelInput | Prisma.ShipLabelUpsertWithWhereUniqueWithoutLabelInput[];
341
+ createMany?: Prisma.ShipLabelCreateManyLabelInputEnvelope;
342
+ set?: Prisma.ShipLabelWhereUniqueInput | Prisma.ShipLabelWhereUniqueInput[];
343
+ disconnect?: Prisma.ShipLabelWhereUniqueInput | Prisma.ShipLabelWhereUniqueInput[];
344
+ delete?: Prisma.ShipLabelWhereUniqueInput | Prisma.ShipLabelWhereUniqueInput[];
345
+ connect?: Prisma.ShipLabelWhereUniqueInput | Prisma.ShipLabelWhereUniqueInput[];
346
+ update?: Prisma.ShipLabelUpdateWithWhereUniqueWithoutLabelInput | Prisma.ShipLabelUpdateWithWhereUniqueWithoutLabelInput[];
347
+ updateMany?: Prisma.ShipLabelUpdateManyWithWhereWithoutLabelInput | Prisma.ShipLabelUpdateManyWithWhereWithoutLabelInput[];
348
+ deleteMany?: Prisma.ShipLabelScalarWhereInput | Prisma.ShipLabelScalarWhereInput[];
349
+ };
350
+ export type ShipLabelUncheckedUpdateManyWithoutLabelNestedInput = {
351
+ create?: Prisma.XOR<Prisma.ShipLabelCreateWithoutLabelInput, Prisma.ShipLabelUncheckedCreateWithoutLabelInput> | Prisma.ShipLabelCreateWithoutLabelInput[] | Prisma.ShipLabelUncheckedCreateWithoutLabelInput[];
352
+ connectOrCreate?: Prisma.ShipLabelCreateOrConnectWithoutLabelInput | Prisma.ShipLabelCreateOrConnectWithoutLabelInput[];
353
+ upsert?: Prisma.ShipLabelUpsertWithWhereUniqueWithoutLabelInput | Prisma.ShipLabelUpsertWithWhereUniqueWithoutLabelInput[];
354
+ createMany?: Prisma.ShipLabelCreateManyLabelInputEnvelope;
355
+ set?: Prisma.ShipLabelWhereUniqueInput | Prisma.ShipLabelWhereUniqueInput[];
356
+ disconnect?: Prisma.ShipLabelWhereUniqueInput | Prisma.ShipLabelWhereUniqueInput[];
357
+ delete?: Prisma.ShipLabelWhereUniqueInput | Prisma.ShipLabelWhereUniqueInput[];
358
+ connect?: Prisma.ShipLabelWhereUniqueInput | Prisma.ShipLabelWhereUniqueInput[];
359
+ update?: Prisma.ShipLabelUpdateWithWhereUniqueWithoutLabelInput | Prisma.ShipLabelUpdateWithWhereUniqueWithoutLabelInput[];
360
+ updateMany?: Prisma.ShipLabelUpdateManyWithWhereWithoutLabelInput | Prisma.ShipLabelUpdateManyWithWhereWithoutLabelInput[];
361
+ deleteMany?: Prisma.ShipLabelScalarWhereInput | Prisma.ShipLabelScalarWhereInput[];
362
+ };
363
+ export type ShipLabelCreateNestedManyWithoutValueInput = {
364
+ create?: Prisma.XOR<Prisma.ShipLabelCreateWithoutValueInput, Prisma.ShipLabelUncheckedCreateWithoutValueInput> | Prisma.ShipLabelCreateWithoutValueInput[] | Prisma.ShipLabelUncheckedCreateWithoutValueInput[];
365
+ connectOrCreate?: Prisma.ShipLabelCreateOrConnectWithoutValueInput | Prisma.ShipLabelCreateOrConnectWithoutValueInput[];
366
+ createMany?: Prisma.ShipLabelCreateManyValueInputEnvelope;
367
+ connect?: Prisma.ShipLabelWhereUniqueInput | Prisma.ShipLabelWhereUniqueInput[];
368
+ };
369
+ export type ShipLabelUncheckedCreateNestedManyWithoutValueInput = {
370
+ create?: Prisma.XOR<Prisma.ShipLabelCreateWithoutValueInput, Prisma.ShipLabelUncheckedCreateWithoutValueInput> | Prisma.ShipLabelCreateWithoutValueInput[] | Prisma.ShipLabelUncheckedCreateWithoutValueInput[];
371
+ connectOrCreate?: Prisma.ShipLabelCreateOrConnectWithoutValueInput | Prisma.ShipLabelCreateOrConnectWithoutValueInput[];
372
+ createMany?: Prisma.ShipLabelCreateManyValueInputEnvelope;
373
+ connect?: Prisma.ShipLabelWhereUniqueInput | Prisma.ShipLabelWhereUniqueInput[];
374
+ };
375
+ export type ShipLabelUpdateManyWithoutValueNestedInput = {
376
+ create?: Prisma.XOR<Prisma.ShipLabelCreateWithoutValueInput, Prisma.ShipLabelUncheckedCreateWithoutValueInput> | Prisma.ShipLabelCreateWithoutValueInput[] | Prisma.ShipLabelUncheckedCreateWithoutValueInput[];
377
+ connectOrCreate?: Prisma.ShipLabelCreateOrConnectWithoutValueInput | Prisma.ShipLabelCreateOrConnectWithoutValueInput[];
378
+ upsert?: Prisma.ShipLabelUpsertWithWhereUniqueWithoutValueInput | Prisma.ShipLabelUpsertWithWhereUniqueWithoutValueInput[];
379
+ createMany?: Prisma.ShipLabelCreateManyValueInputEnvelope;
380
+ set?: Prisma.ShipLabelWhereUniqueInput | Prisma.ShipLabelWhereUniqueInput[];
381
+ disconnect?: Prisma.ShipLabelWhereUniqueInput | Prisma.ShipLabelWhereUniqueInput[];
382
+ delete?: Prisma.ShipLabelWhereUniqueInput | Prisma.ShipLabelWhereUniqueInput[];
383
+ connect?: Prisma.ShipLabelWhereUniqueInput | Prisma.ShipLabelWhereUniqueInput[];
384
+ update?: Prisma.ShipLabelUpdateWithWhereUniqueWithoutValueInput | Prisma.ShipLabelUpdateWithWhereUniqueWithoutValueInput[];
385
+ updateMany?: Prisma.ShipLabelUpdateManyWithWhereWithoutValueInput | Prisma.ShipLabelUpdateManyWithWhereWithoutValueInput[];
386
+ deleteMany?: Prisma.ShipLabelScalarWhereInput | Prisma.ShipLabelScalarWhereInput[];
387
+ };
388
+ export type ShipLabelUncheckedUpdateManyWithoutValueNestedInput = {
389
+ create?: Prisma.XOR<Prisma.ShipLabelCreateWithoutValueInput, Prisma.ShipLabelUncheckedCreateWithoutValueInput> | Prisma.ShipLabelCreateWithoutValueInput[] | Prisma.ShipLabelUncheckedCreateWithoutValueInput[];
390
+ connectOrCreate?: Prisma.ShipLabelCreateOrConnectWithoutValueInput | Prisma.ShipLabelCreateOrConnectWithoutValueInput[];
391
+ upsert?: Prisma.ShipLabelUpsertWithWhereUniqueWithoutValueInput | Prisma.ShipLabelUpsertWithWhereUniqueWithoutValueInput[];
392
+ createMany?: Prisma.ShipLabelCreateManyValueInputEnvelope;
393
+ set?: Prisma.ShipLabelWhereUniqueInput | Prisma.ShipLabelWhereUniqueInput[];
394
+ disconnect?: Prisma.ShipLabelWhereUniqueInput | Prisma.ShipLabelWhereUniqueInput[];
395
+ delete?: Prisma.ShipLabelWhereUniqueInput | Prisma.ShipLabelWhereUniqueInput[];
396
+ connect?: Prisma.ShipLabelWhereUniqueInput | Prisma.ShipLabelWhereUniqueInput[];
397
+ update?: Prisma.ShipLabelUpdateWithWhereUniqueWithoutValueInput | Prisma.ShipLabelUpdateWithWhereUniqueWithoutValueInput[];
398
+ updateMany?: Prisma.ShipLabelUpdateManyWithWhereWithoutValueInput | Prisma.ShipLabelUpdateManyWithWhereWithoutValueInput[];
399
+ deleteMany?: Prisma.ShipLabelScalarWhereInput | Prisma.ShipLabelScalarWhereInput[];
400
+ };
401
+ export type ShipLabelCreateWithoutFleetInput = {
402
+ ship: Prisma.ShipCreateNestedOneWithoutLabelsInput;
403
+ label: Prisma.LabelCreateNestedOneWithoutCarriersInput;
404
+ value: Prisma.LabelValueCreateNestedOneWithoutCarriersInput;
405
+ };
406
+ export type ShipLabelUncheckedCreateWithoutFleetInput = {
407
+ shipId: string;
408
+ labelId: string;
409
+ valueId: string;
410
+ };
411
+ export type ShipLabelCreateOrConnectWithoutFleetInput = {
412
+ where: Prisma.ShipLabelWhereUniqueInput;
413
+ create: Prisma.XOR<Prisma.ShipLabelCreateWithoutFleetInput, Prisma.ShipLabelUncheckedCreateWithoutFleetInput>;
414
+ };
415
+ export type ShipLabelCreateManyFleetInputEnvelope = {
416
+ data: Prisma.ShipLabelCreateManyFleetInput | Prisma.ShipLabelCreateManyFleetInput[];
417
+ skipDuplicates?: boolean;
418
+ };
419
+ export type ShipLabelUpsertWithWhereUniqueWithoutFleetInput = {
420
+ where: Prisma.ShipLabelWhereUniqueInput;
421
+ update: Prisma.XOR<Prisma.ShipLabelUpdateWithoutFleetInput, Prisma.ShipLabelUncheckedUpdateWithoutFleetInput>;
422
+ create: Prisma.XOR<Prisma.ShipLabelCreateWithoutFleetInput, Prisma.ShipLabelUncheckedCreateWithoutFleetInput>;
423
+ };
424
+ export type ShipLabelUpdateWithWhereUniqueWithoutFleetInput = {
425
+ where: Prisma.ShipLabelWhereUniqueInput;
426
+ data: Prisma.XOR<Prisma.ShipLabelUpdateWithoutFleetInput, Prisma.ShipLabelUncheckedUpdateWithoutFleetInput>;
427
+ };
428
+ export type ShipLabelUpdateManyWithWhereWithoutFleetInput = {
429
+ where: Prisma.ShipLabelScalarWhereInput;
430
+ data: Prisma.XOR<Prisma.ShipLabelUpdateManyMutationInput, Prisma.ShipLabelUncheckedUpdateManyWithoutFleetInput>;
431
+ };
432
+ export type ShipLabelScalarWhereInput = {
433
+ AND?: Prisma.ShipLabelScalarWhereInput | Prisma.ShipLabelScalarWhereInput[];
434
+ OR?: Prisma.ShipLabelScalarWhereInput[];
435
+ NOT?: Prisma.ShipLabelScalarWhereInput | Prisma.ShipLabelScalarWhereInput[];
436
+ fleetId?: Prisma.StringFilter<"ShipLabel"> | string;
437
+ shipId?: Prisma.StringFilter<"ShipLabel"> | string;
438
+ labelId?: Prisma.StringFilter<"ShipLabel"> | string;
439
+ valueId?: Prisma.StringFilter<"ShipLabel"> | string;
440
+ };
441
+ export type ShipLabelCreateWithoutShipInput = {
442
+ fleet: Prisma.FleetCreateNestedOneWithoutShipLabelsInput;
443
+ label: Prisma.LabelCreateNestedOneWithoutCarriersInput;
444
+ value: Prisma.LabelValueCreateNestedOneWithoutCarriersInput;
445
+ };
446
+ export type ShipLabelUncheckedCreateWithoutShipInput = {
447
+ labelId: string;
448
+ valueId: string;
449
+ };
450
+ export type ShipLabelCreateOrConnectWithoutShipInput = {
451
+ where: Prisma.ShipLabelWhereUniqueInput;
452
+ create: Prisma.XOR<Prisma.ShipLabelCreateWithoutShipInput, Prisma.ShipLabelUncheckedCreateWithoutShipInput>;
453
+ };
454
+ export type ShipLabelCreateManyShipInputEnvelope = {
455
+ data: Prisma.ShipLabelCreateManyShipInput | Prisma.ShipLabelCreateManyShipInput[];
456
+ skipDuplicates?: boolean;
457
+ };
458
+ export type ShipLabelUpsertWithWhereUniqueWithoutShipInput = {
459
+ where: Prisma.ShipLabelWhereUniqueInput;
460
+ update: Prisma.XOR<Prisma.ShipLabelUpdateWithoutShipInput, Prisma.ShipLabelUncheckedUpdateWithoutShipInput>;
461
+ create: Prisma.XOR<Prisma.ShipLabelCreateWithoutShipInput, Prisma.ShipLabelUncheckedCreateWithoutShipInput>;
462
+ };
463
+ export type ShipLabelUpdateWithWhereUniqueWithoutShipInput = {
464
+ where: Prisma.ShipLabelWhereUniqueInput;
465
+ data: Prisma.XOR<Prisma.ShipLabelUpdateWithoutShipInput, Prisma.ShipLabelUncheckedUpdateWithoutShipInput>;
466
+ };
467
+ export type ShipLabelUpdateManyWithWhereWithoutShipInput = {
468
+ where: Prisma.ShipLabelScalarWhereInput;
469
+ data: Prisma.XOR<Prisma.ShipLabelUpdateManyMutationInput, Prisma.ShipLabelUncheckedUpdateManyWithoutShipInput>;
470
+ };
471
+ export type ShipLabelCreateWithoutLabelInput = {
472
+ fleet: Prisma.FleetCreateNestedOneWithoutShipLabelsInput;
473
+ ship: Prisma.ShipCreateNestedOneWithoutLabelsInput;
474
+ value: Prisma.LabelValueCreateNestedOneWithoutCarriersInput;
475
+ };
476
+ export type ShipLabelUncheckedCreateWithoutLabelInput = {
477
+ shipId: string;
478
+ valueId: string;
479
+ };
480
+ export type ShipLabelCreateOrConnectWithoutLabelInput = {
481
+ where: Prisma.ShipLabelWhereUniqueInput;
482
+ create: Prisma.XOR<Prisma.ShipLabelCreateWithoutLabelInput, Prisma.ShipLabelUncheckedCreateWithoutLabelInput>;
483
+ };
484
+ export type ShipLabelCreateManyLabelInputEnvelope = {
485
+ data: Prisma.ShipLabelCreateManyLabelInput | Prisma.ShipLabelCreateManyLabelInput[];
486
+ skipDuplicates?: boolean;
487
+ };
488
+ export type ShipLabelUpsertWithWhereUniqueWithoutLabelInput = {
489
+ where: Prisma.ShipLabelWhereUniqueInput;
490
+ update: Prisma.XOR<Prisma.ShipLabelUpdateWithoutLabelInput, Prisma.ShipLabelUncheckedUpdateWithoutLabelInput>;
491
+ create: Prisma.XOR<Prisma.ShipLabelCreateWithoutLabelInput, Prisma.ShipLabelUncheckedCreateWithoutLabelInput>;
492
+ };
493
+ export type ShipLabelUpdateWithWhereUniqueWithoutLabelInput = {
494
+ where: Prisma.ShipLabelWhereUniqueInput;
495
+ data: Prisma.XOR<Prisma.ShipLabelUpdateWithoutLabelInput, Prisma.ShipLabelUncheckedUpdateWithoutLabelInput>;
496
+ };
497
+ export type ShipLabelUpdateManyWithWhereWithoutLabelInput = {
498
+ where: Prisma.ShipLabelScalarWhereInput;
499
+ data: Prisma.XOR<Prisma.ShipLabelUpdateManyMutationInput, Prisma.ShipLabelUncheckedUpdateManyWithoutLabelInput>;
500
+ };
501
+ export type ShipLabelCreateWithoutValueInput = {
502
+ fleet: Prisma.FleetCreateNestedOneWithoutShipLabelsInput;
503
+ ship: Prisma.ShipCreateNestedOneWithoutLabelsInput;
504
+ label: Prisma.LabelCreateNestedOneWithoutCarriersInput;
505
+ };
506
+ export type ShipLabelUncheckedCreateWithoutValueInput = {
507
+ shipId: string;
508
+ labelId: string;
509
+ };
510
+ export type ShipLabelCreateOrConnectWithoutValueInput = {
511
+ where: Prisma.ShipLabelWhereUniqueInput;
512
+ create: Prisma.XOR<Prisma.ShipLabelCreateWithoutValueInput, Prisma.ShipLabelUncheckedCreateWithoutValueInput>;
513
+ };
514
+ export type ShipLabelCreateManyValueInputEnvelope = {
515
+ data: Prisma.ShipLabelCreateManyValueInput | Prisma.ShipLabelCreateManyValueInput[];
516
+ skipDuplicates?: boolean;
517
+ };
518
+ export type ShipLabelUpsertWithWhereUniqueWithoutValueInput = {
519
+ where: Prisma.ShipLabelWhereUniqueInput;
520
+ update: Prisma.XOR<Prisma.ShipLabelUpdateWithoutValueInput, Prisma.ShipLabelUncheckedUpdateWithoutValueInput>;
521
+ create: Prisma.XOR<Prisma.ShipLabelCreateWithoutValueInput, Prisma.ShipLabelUncheckedCreateWithoutValueInput>;
522
+ };
523
+ export type ShipLabelUpdateWithWhereUniqueWithoutValueInput = {
524
+ where: Prisma.ShipLabelWhereUniqueInput;
525
+ data: Prisma.XOR<Prisma.ShipLabelUpdateWithoutValueInput, Prisma.ShipLabelUncheckedUpdateWithoutValueInput>;
526
+ };
527
+ export type ShipLabelUpdateManyWithWhereWithoutValueInput = {
528
+ where: Prisma.ShipLabelScalarWhereInput;
529
+ data: Prisma.XOR<Prisma.ShipLabelUpdateManyMutationInput, Prisma.ShipLabelUncheckedUpdateManyWithoutValueInput>;
530
+ };
531
+ export type ShipLabelCreateManyFleetInput = {
532
+ shipId: string;
533
+ labelId: string;
534
+ valueId: string;
535
+ };
536
+ export type ShipLabelUpdateWithoutFleetInput = {
537
+ ship?: Prisma.ShipUpdateOneRequiredWithoutLabelsNestedInput;
538
+ label?: Prisma.LabelUpdateOneRequiredWithoutCarriersNestedInput;
539
+ value?: Prisma.LabelValueUpdateOneRequiredWithoutCarriersNestedInput;
540
+ };
541
+ export type ShipLabelUncheckedUpdateWithoutFleetInput = {
542
+ shipId?: Prisma.StringFieldUpdateOperationsInput | string;
543
+ labelId?: Prisma.StringFieldUpdateOperationsInput | string;
544
+ valueId?: Prisma.StringFieldUpdateOperationsInput | string;
545
+ };
546
+ export type ShipLabelUncheckedUpdateManyWithoutFleetInput = {
547
+ shipId?: Prisma.StringFieldUpdateOperationsInput | string;
548
+ labelId?: Prisma.StringFieldUpdateOperationsInput | string;
549
+ valueId?: Prisma.StringFieldUpdateOperationsInput | string;
550
+ };
551
+ export type ShipLabelCreateManyShipInput = {
552
+ labelId: string;
553
+ valueId: string;
554
+ };
555
+ export type ShipLabelUpdateWithoutShipInput = {
556
+ fleet?: Prisma.FleetUpdateOneRequiredWithoutShipLabelsNestedInput;
557
+ label?: Prisma.LabelUpdateOneRequiredWithoutCarriersNestedInput;
558
+ value?: Prisma.LabelValueUpdateOneRequiredWithoutCarriersNestedInput;
559
+ };
560
+ export type ShipLabelUncheckedUpdateWithoutShipInput = {
561
+ labelId?: Prisma.StringFieldUpdateOperationsInput | string;
562
+ valueId?: Prisma.StringFieldUpdateOperationsInput | string;
563
+ };
564
+ export type ShipLabelUncheckedUpdateManyWithoutShipInput = {
565
+ labelId?: Prisma.StringFieldUpdateOperationsInput | string;
566
+ valueId?: Prisma.StringFieldUpdateOperationsInput | string;
567
+ };
568
+ export type ShipLabelCreateManyLabelInput = {
569
+ shipId: string;
570
+ valueId: string;
571
+ };
572
+ export type ShipLabelUpdateWithoutLabelInput = {
573
+ fleet?: Prisma.FleetUpdateOneRequiredWithoutShipLabelsNestedInput;
574
+ ship?: Prisma.ShipUpdateOneRequiredWithoutLabelsNestedInput;
575
+ value?: Prisma.LabelValueUpdateOneRequiredWithoutCarriersNestedInput;
576
+ };
577
+ export type ShipLabelUncheckedUpdateWithoutLabelInput = {
578
+ shipId?: Prisma.StringFieldUpdateOperationsInput | string;
579
+ valueId?: Prisma.StringFieldUpdateOperationsInput | string;
580
+ };
581
+ export type ShipLabelUncheckedUpdateManyWithoutLabelInput = {
582
+ shipId?: Prisma.StringFieldUpdateOperationsInput | string;
583
+ valueId?: Prisma.StringFieldUpdateOperationsInput | string;
584
+ };
585
+ export type ShipLabelCreateManyValueInput = {
586
+ shipId: string;
587
+ labelId: string;
588
+ };
589
+ export type ShipLabelUpdateWithoutValueInput = {
590
+ fleet?: Prisma.FleetUpdateOneRequiredWithoutShipLabelsNestedInput;
591
+ ship?: Prisma.ShipUpdateOneRequiredWithoutLabelsNestedInput;
592
+ label?: Prisma.LabelUpdateOneRequiredWithoutCarriersNestedInput;
593
+ };
594
+ export type ShipLabelUncheckedUpdateWithoutValueInput = {
595
+ shipId?: Prisma.StringFieldUpdateOperationsInput | string;
596
+ labelId?: Prisma.StringFieldUpdateOperationsInput | string;
597
+ };
598
+ export type ShipLabelUncheckedUpdateManyWithoutValueInput = {
599
+ shipId?: Prisma.StringFieldUpdateOperationsInput | string;
600
+ labelId?: Prisma.StringFieldUpdateOperationsInput | string;
601
+ };
602
+ export type ShipLabelSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
603
+ fleetId?: boolean;
604
+ shipId?: boolean;
605
+ labelId?: boolean;
606
+ valueId?: boolean;
607
+ fleet?: boolean | Prisma.FleetDefaultArgs<ExtArgs>;
608
+ ship?: boolean | Prisma.ShipDefaultArgs<ExtArgs>;
609
+ label?: boolean | Prisma.LabelDefaultArgs<ExtArgs>;
610
+ value?: boolean | Prisma.LabelValueDefaultArgs<ExtArgs>;
611
+ }, ExtArgs["result"]["shipLabel"]>;
612
+ export type ShipLabelSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
613
+ fleetId?: boolean;
614
+ shipId?: boolean;
615
+ labelId?: boolean;
616
+ valueId?: boolean;
617
+ fleet?: boolean | Prisma.FleetDefaultArgs<ExtArgs>;
618
+ ship?: boolean | Prisma.ShipDefaultArgs<ExtArgs>;
619
+ label?: boolean | Prisma.LabelDefaultArgs<ExtArgs>;
620
+ value?: boolean | Prisma.LabelValueDefaultArgs<ExtArgs>;
621
+ }, ExtArgs["result"]["shipLabel"]>;
622
+ export type ShipLabelSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
623
+ fleetId?: boolean;
624
+ shipId?: boolean;
625
+ labelId?: boolean;
626
+ valueId?: boolean;
627
+ fleet?: boolean | Prisma.FleetDefaultArgs<ExtArgs>;
628
+ ship?: boolean | Prisma.ShipDefaultArgs<ExtArgs>;
629
+ label?: boolean | Prisma.LabelDefaultArgs<ExtArgs>;
630
+ value?: boolean | Prisma.LabelValueDefaultArgs<ExtArgs>;
631
+ }, ExtArgs["result"]["shipLabel"]>;
632
+ export type ShipLabelSelectScalar = {
633
+ fleetId?: boolean;
634
+ shipId?: boolean;
635
+ labelId?: boolean;
636
+ valueId?: boolean;
637
+ };
638
+ export type ShipLabelOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"fleetId" | "shipId" | "labelId" | "valueId", ExtArgs["result"]["shipLabel"]>;
639
+ export type ShipLabelInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
640
+ fleet?: boolean | Prisma.FleetDefaultArgs<ExtArgs>;
641
+ ship?: boolean | Prisma.ShipDefaultArgs<ExtArgs>;
642
+ label?: boolean | Prisma.LabelDefaultArgs<ExtArgs>;
643
+ value?: boolean | Prisma.LabelValueDefaultArgs<ExtArgs>;
644
+ };
645
+ export type ShipLabelIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
646
+ fleet?: boolean | Prisma.FleetDefaultArgs<ExtArgs>;
647
+ ship?: boolean | Prisma.ShipDefaultArgs<ExtArgs>;
648
+ label?: boolean | Prisma.LabelDefaultArgs<ExtArgs>;
649
+ value?: boolean | Prisma.LabelValueDefaultArgs<ExtArgs>;
650
+ };
651
+ export type ShipLabelIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
652
+ fleet?: boolean | Prisma.FleetDefaultArgs<ExtArgs>;
653
+ ship?: boolean | Prisma.ShipDefaultArgs<ExtArgs>;
654
+ label?: boolean | Prisma.LabelDefaultArgs<ExtArgs>;
655
+ value?: boolean | Prisma.LabelValueDefaultArgs<ExtArgs>;
656
+ };
657
+ export type $ShipLabelPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
658
+ name: "ShipLabel";
659
+ objects: {
660
+ fleet: Prisma.$FleetPayload<ExtArgs>;
661
+ ship: Prisma.$ShipPayload<ExtArgs>;
662
+ label: Prisma.$LabelPayload<ExtArgs>;
663
+ value: Prisma.$LabelValuePayload<ExtArgs>;
664
+ };
665
+ scalars: runtime.Types.Extensions.GetPayloadResult<{
666
+ fleetId: string;
667
+ shipId: string;
668
+ labelId: string;
669
+ valueId: string;
670
+ }, ExtArgs["result"]["shipLabel"]>;
671
+ composites: {};
672
+ };
673
+ export type ShipLabelGetPayload<S extends boolean | null | undefined | ShipLabelDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$ShipLabelPayload, S>;
674
+ export type ShipLabelCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<ShipLabelFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
675
+ select?: ShipLabelCountAggregateInputType | true;
676
+ };
677
+ export interface ShipLabelDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
678
+ [K: symbol]: {
679
+ types: Prisma.TypeMap<ExtArgs>['model']['ShipLabel'];
680
+ meta: {
681
+ name: 'ShipLabel';
682
+ };
683
+ };
684
+ /**
685
+ * Find zero or one ShipLabel that matches the filter.
686
+ * @param {ShipLabelFindUniqueArgs} args - Arguments to find a ShipLabel
687
+ * @example
688
+ * // Get one ShipLabel
689
+ * const shipLabel = await prisma.shipLabel.findUnique({
690
+ * where: {
691
+ * // ... provide filter here
692
+ * }
693
+ * })
694
+ */
695
+ findUnique<T extends ShipLabelFindUniqueArgs>(args: Prisma.SelectSubset<T, ShipLabelFindUniqueArgs<ExtArgs>>): Prisma.Prisma__ShipLabelClient<runtime.Types.Result.GetResult<Prisma.$ShipLabelPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
696
+ /**
697
+ * Find one ShipLabel that matches the filter or throw an error with `error.code='P2025'`
698
+ * if no matches were found.
699
+ * @param {ShipLabelFindUniqueOrThrowArgs} args - Arguments to find a ShipLabel
700
+ * @example
701
+ * // Get one ShipLabel
702
+ * const shipLabel = await prisma.shipLabel.findUniqueOrThrow({
703
+ * where: {
704
+ * // ... provide filter here
705
+ * }
706
+ * })
707
+ */
708
+ findUniqueOrThrow<T extends ShipLabelFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, ShipLabelFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__ShipLabelClient<runtime.Types.Result.GetResult<Prisma.$ShipLabelPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
709
+ /**
710
+ * Find the first ShipLabel that matches the filter.
711
+ * Note, that providing `undefined` is treated as the value not being there.
712
+ * Read more here: https://pris.ly/d/null-undefined
713
+ * @param {ShipLabelFindFirstArgs} args - Arguments to find a ShipLabel
714
+ * @example
715
+ * // Get one ShipLabel
716
+ * const shipLabel = await prisma.shipLabel.findFirst({
717
+ * where: {
718
+ * // ... provide filter here
719
+ * }
720
+ * })
721
+ */
722
+ findFirst<T extends ShipLabelFindFirstArgs>(args?: Prisma.SelectSubset<T, ShipLabelFindFirstArgs<ExtArgs>>): Prisma.Prisma__ShipLabelClient<runtime.Types.Result.GetResult<Prisma.$ShipLabelPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
723
+ /**
724
+ * Find the first ShipLabel that matches the filter or
725
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
726
+ * Note, that providing `undefined` is treated as the value not being there.
727
+ * Read more here: https://pris.ly/d/null-undefined
728
+ * @param {ShipLabelFindFirstOrThrowArgs} args - Arguments to find a ShipLabel
729
+ * @example
730
+ * // Get one ShipLabel
731
+ * const shipLabel = await prisma.shipLabel.findFirstOrThrow({
732
+ * where: {
733
+ * // ... provide filter here
734
+ * }
735
+ * })
736
+ */
737
+ findFirstOrThrow<T extends ShipLabelFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, ShipLabelFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__ShipLabelClient<runtime.Types.Result.GetResult<Prisma.$ShipLabelPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
738
+ /**
739
+ * Find zero or more ShipLabels that matches the filter.
740
+ * Note, that providing `undefined` is treated as the value not being there.
741
+ * Read more here: https://pris.ly/d/null-undefined
742
+ * @param {ShipLabelFindManyArgs} args - Arguments to filter and select certain fields only.
743
+ * @example
744
+ * // Get all ShipLabels
745
+ * const shipLabels = await prisma.shipLabel.findMany()
746
+ *
747
+ * // Get first 10 ShipLabels
748
+ * const shipLabels = await prisma.shipLabel.findMany({ take: 10 })
749
+ *
750
+ * // Only select the `fleetId`
751
+ * const shipLabelWithFleetIdOnly = await prisma.shipLabel.findMany({ select: { fleetId: true } })
752
+ *
753
+ */
754
+ findMany<T extends ShipLabelFindManyArgs>(args?: Prisma.SelectSubset<T, ShipLabelFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ShipLabelPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
755
+ /**
756
+ * Create a ShipLabel.
757
+ * @param {ShipLabelCreateArgs} args - Arguments to create a ShipLabel.
758
+ * @example
759
+ * // Create one ShipLabel
760
+ * const ShipLabel = await prisma.shipLabel.create({
761
+ * data: {
762
+ * // ... data to create a ShipLabel
763
+ * }
764
+ * })
765
+ *
766
+ */
767
+ create<T extends ShipLabelCreateArgs>(args: Prisma.SelectSubset<T, ShipLabelCreateArgs<ExtArgs>>): Prisma.Prisma__ShipLabelClient<runtime.Types.Result.GetResult<Prisma.$ShipLabelPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
768
+ /**
769
+ * Create many ShipLabels.
770
+ * @param {ShipLabelCreateManyArgs} args - Arguments to create many ShipLabels.
771
+ * @example
772
+ * // Create many ShipLabels
773
+ * const shipLabel = await prisma.shipLabel.createMany({
774
+ * data: [
775
+ * // ... provide data here
776
+ * ]
777
+ * })
778
+ *
779
+ */
780
+ createMany<T extends ShipLabelCreateManyArgs>(args?: Prisma.SelectSubset<T, ShipLabelCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
781
+ /**
782
+ * Create many ShipLabels and returns the data saved in the database.
783
+ * @param {ShipLabelCreateManyAndReturnArgs} args - Arguments to create many ShipLabels.
784
+ * @example
785
+ * // Create many ShipLabels
786
+ * const shipLabel = await prisma.shipLabel.createManyAndReturn({
787
+ * data: [
788
+ * // ... provide data here
789
+ * ]
790
+ * })
791
+ *
792
+ * // Create many ShipLabels and only return the `fleetId`
793
+ * const shipLabelWithFleetIdOnly = await prisma.shipLabel.createManyAndReturn({
794
+ * select: { fleetId: true },
795
+ * data: [
796
+ * // ... provide data here
797
+ * ]
798
+ * })
799
+ * Note, that providing `undefined` is treated as the value not being there.
800
+ * Read more here: https://pris.ly/d/null-undefined
801
+ *
802
+ */
803
+ createManyAndReturn<T extends ShipLabelCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, ShipLabelCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ShipLabelPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
804
+ /**
805
+ * Delete a ShipLabel.
806
+ * @param {ShipLabelDeleteArgs} args - Arguments to delete one ShipLabel.
807
+ * @example
808
+ * // Delete one ShipLabel
809
+ * const ShipLabel = await prisma.shipLabel.delete({
810
+ * where: {
811
+ * // ... filter to delete one ShipLabel
812
+ * }
813
+ * })
814
+ *
815
+ */
816
+ delete<T extends ShipLabelDeleteArgs>(args: Prisma.SelectSubset<T, ShipLabelDeleteArgs<ExtArgs>>): Prisma.Prisma__ShipLabelClient<runtime.Types.Result.GetResult<Prisma.$ShipLabelPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
817
+ /**
818
+ * Update one ShipLabel.
819
+ * @param {ShipLabelUpdateArgs} args - Arguments to update one ShipLabel.
820
+ * @example
821
+ * // Update one ShipLabel
822
+ * const shipLabel = await prisma.shipLabel.update({
823
+ * where: {
824
+ * // ... provide filter here
825
+ * },
826
+ * data: {
827
+ * // ... provide data here
828
+ * }
829
+ * })
830
+ *
831
+ */
832
+ update<T extends ShipLabelUpdateArgs>(args: Prisma.SelectSubset<T, ShipLabelUpdateArgs<ExtArgs>>): Prisma.Prisma__ShipLabelClient<runtime.Types.Result.GetResult<Prisma.$ShipLabelPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
833
+ /**
834
+ * Delete zero or more ShipLabels.
835
+ * @param {ShipLabelDeleteManyArgs} args - Arguments to filter ShipLabels to delete.
836
+ * @example
837
+ * // Delete a few ShipLabels
838
+ * const { count } = await prisma.shipLabel.deleteMany({
839
+ * where: {
840
+ * // ... provide filter here
841
+ * }
842
+ * })
843
+ *
844
+ */
845
+ deleteMany<T extends ShipLabelDeleteManyArgs>(args?: Prisma.SelectSubset<T, ShipLabelDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
846
+ /**
847
+ * Update zero or more ShipLabels.
848
+ * Note, that providing `undefined` is treated as the value not being there.
849
+ * Read more here: https://pris.ly/d/null-undefined
850
+ * @param {ShipLabelUpdateManyArgs} args - Arguments to update one or more rows.
851
+ * @example
852
+ * // Update many ShipLabels
853
+ * const shipLabel = await prisma.shipLabel.updateMany({
854
+ * where: {
855
+ * // ... provide filter here
856
+ * },
857
+ * data: {
858
+ * // ... provide data here
859
+ * }
860
+ * })
861
+ *
862
+ */
863
+ updateMany<T extends ShipLabelUpdateManyArgs>(args: Prisma.SelectSubset<T, ShipLabelUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
864
+ /**
865
+ * Update zero or more ShipLabels and returns the data updated in the database.
866
+ * @param {ShipLabelUpdateManyAndReturnArgs} args - Arguments to update many ShipLabels.
867
+ * @example
868
+ * // Update many ShipLabels
869
+ * const shipLabel = await prisma.shipLabel.updateManyAndReturn({
870
+ * where: {
871
+ * // ... provide filter here
872
+ * },
873
+ * data: [
874
+ * // ... provide data here
875
+ * ]
876
+ * })
877
+ *
878
+ * // Update zero or more ShipLabels and only return the `fleetId`
879
+ * const shipLabelWithFleetIdOnly = await prisma.shipLabel.updateManyAndReturn({
880
+ * select: { fleetId: true },
881
+ * where: {
882
+ * // ... provide filter here
883
+ * },
884
+ * data: [
885
+ * // ... provide data here
886
+ * ]
887
+ * })
888
+ * Note, that providing `undefined` is treated as the value not being there.
889
+ * Read more here: https://pris.ly/d/null-undefined
890
+ *
891
+ */
892
+ updateManyAndReturn<T extends ShipLabelUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, ShipLabelUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ShipLabelPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
893
+ /**
894
+ * Create or update one ShipLabel.
895
+ * @param {ShipLabelUpsertArgs} args - Arguments to update or create a ShipLabel.
896
+ * @example
897
+ * // Update or create a ShipLabel
898
+ * const shipLabel = await prisma.shipLabel.upsert({
899
+ * create: {
900
+ * // ... data to create a ShipLabel
901
+ * },
902
+ * update: {
903
+ * // ... in case it already exists, update
904
+ * },
905
+ * where: {
906
+ * // ... the filter for the ShipLabel we want to update
907
+ * }
908
+ * })
909
+ */
910
+ upsert<T extends ShipLabelUpsertArgs>(args: Prisma.SelectSubset<T, ShipLabelUpsertArgs<ExtArgs>>): Prisma.Prisma__ShipLabelClient<runtime.Types.Result.GetResult<Prisma.$ShipLabelPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
911
+ /**
912
+ * Count the number of ShipLabels.
913
+ * Note, that providing `undefined` is treated as the value not being there.
914
+ * Read more here: https://pris.ly/d/null-undefined
915
+ * @param {ShipLabelCountArgs} args - Arguments to filter ShipLabels to count.
916
+ * @example
917
+ * // Count the number of ShipLabels
918
+ * const count = await prisma.shipLabel.count({
919
+ * where: {
920
+ * // ... the filter for the ShipLabels we want to count
921
+ * }
922
+ * })
923
+ **/
924
+ count<T extends ShipLabelCountArgs>(args?: Prisma.Subset<T, ShipLabelCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], ShipLabelCountAggregateOutputType> : number>;
925
+ /**
926
+ * Allows you to perform aggregations operations on a ShipLabel.
927
+ * Note, that providing `undefined` is treated as the value not being there.
928
+ * Read more here: https://pris.ly/d/null-undefined
929
+ * @param {ShipLabelAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
930
+ * @example
931
+ * // Ordered by age ascending
932
+ * // Where email contains prisma.io
933
+ * // Limited to the 10 users
934
+ * const aggregations = await prisma.user.aggregate({
935
+ * _avg: {
936
+ * age: true,
937
+ * },
938
+ * where: {
939
+ * email: {
940
+ * contains: "prisma.io",
941
+ * },
942
+ * },
943
+ * orderBy: {
944
+ * age: "asc",
945
+ * },
946
+ * take: 10,
947
+ * })
948
+ **/
949
+ aggregate<T extends ShipLabelAggregateArgs>(args: Prisma.Subset<T, ShipLabelAggregateArgs>): Prisma.PrismaPromise<GetShipLabelAggregateType<T>>;
950
+ /**
951
+ * Group by ShipLabel.
952
+ * Note, that providing `undefined` is treated as the value not being there.
953
+ * Read more here: https://pris.ly/d/null-undefined
954
+ * @param {ShipLabelGroupByArgs} args - Group by arguments.
955
+ * @example
956
+ * // Group by city, order by createdAt, get count
957
+ * const result = await prisma.user.groupBy({
958
+ * by: ['city', 'createdAt'],
959
+ * orderBy: {
960
+ * createdAt: true
961
+ * },
962
+ * _count: {
963
+ * _all: true
964
+ * },
965
+ * })
966
+ *
967
+ **/
968
+ groupBy<T extends ShipLabelGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
969
+ orderBy: ShipLabelGroupByArgs['orderBy'];
970
+ } : {
971
+ orderBy?: ShipLabelGroupByArgs['orderBy'];
972
+ }, 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 ? {
973
+ [P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
974
+ Error,
975
+ 'Field ',
976
+ P,
977
+ ` in "having" needs to be provided in "by"`
978
+ ];
979
+ }[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
980
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
981
+ }[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 ? {} : {
982
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
983
+ }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
984
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
985
+ }[OrderFields]>(args: Prisma.SubsetIntersection<T, ShipLabelGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetShipLabelGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
986
+ /**
987
+ * Fields of the ShipLabel model
988
+ */
989
+ readonly fields: ShipLabelFieldRefs;
990
+ }
991
+ /**
992
+ * The delegate class that acts as a "Promise-like" for ShipLabel.
993
+ * Why is this prefixed with `Prisma__`?
994
+ * Because we want to prevent naming conflicts as mentioned in
995
+ * https://github.com/prisma/prisma-client-js/issues/707
996
+ */
997
+ export interface Prisma__ShipLabelClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
998
+ readonly [Symbol.toStringTag]: "PrismaPromise";
999
+ 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>;
1000
+ ship<T extends Prisma.ShipDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ShipDefaultArgs<ExtArgs>>): Prisma.Prisma__ShipClient<runtime.Types.Result.GetResult<Prisma.$ShipPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
1001
+ label<T extends Prisma.LabelDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.LabelDefaultArgs<ExtArgs>>): Prisma.Prisma__LabelClient<runtime.Types.Result.GetResult<Prisma.$LabelPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
1002
+ value<T extends Prisma.LabelValueDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.LabelValueDefaultArgs<ExtArgs>>): Prisma.Prisma__LabelValueClient<runtime.Types.Result.GetResult<Prisma.$LabelValuePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
1003
+ /**
1004
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
1005
+ * @param onfulfilled The callback to execute when the Promise is resolved.
1006
+ * @param onrejected The callback to execute when the Promise is rejected.
1007
+ * @returns A Promise for the completion of which ever callback is executed.
1008
+ */
1009
+ 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>;
1010
+ /**
1011
+ * Attaches a callback for only the rejection of the Promise.
1012
+ * @param onrejected The callback to execute when the Promise is rejected.
1013
+ * @returns A Promise for the completion of the callback.
1014
+ */
1015
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
1016
+ /**
1017
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
1018
+ * resolved value cannot be modified from the callback.
1019
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
1020
+ * @returns A Promise for the completion of the callback.
1021
+ */
1022
+ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
1023
+ }
1024
+ /**
1025
+ * Fields of the ShipLabel model
1026
+ */
1027
+ export interface ShipLabelFieldRefs {
1028
+ readonly fleetId: Prisma.FieldRef<"ShipLabel", 'String'>;
1029
+ readonly shipId: Prisma.FieldRef<"ShipLabel", 'String'>;
1030
+ readonly labelId: Prisma.FieldRef<"ShipLabel", 'String'>;
1031
+ readonly valueId: Prisma.FieldRef<"ShipLabel", 'String'>;
1032
+ }
1033
+ /**
1034
+ * ShipLabel findUnique
1035
+ */
1036
+ export type ShipLabelFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1037
+ /**
1038
+ * Select specific fields to fetch from the ShipLabel
1039
+ */
1040
+ select?: Prisma.ShipLabelSelect<ExtArgs> | null;
1041
+ /**
1042
+ * Omit specific fields from the ShipLabel
1043
+ */
1044
+ omit?: Prisma.ShipLabelOmit<ExtArgs> | null;
1045
+ /**
1046
+ * Choose, which related nodes to fetch as well
1047
+ */
1048
+ include?: Prisma.ShipLabelInclude<ExtArgs> | null;
1049
+ /**
1050
+ * Filter, which ShipLabel to fetch.
1051
+ */
1052
+ where: Prisma.ShipLabelWhereUniqueInput;
1053
+ };
1054
+ /**
1055
+ * ShipLabel findUniqueOrThrow
1056
+ */
1057
+ export type ShipLabelFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1058
+ /**
1059
+ * Select specific fields to fetch from the ShipLabel
1060
+ */
1061
+ select?: Prisma.ShipLabelSelect<ExtArgs> | null;
1062
+ /**
1063
+ * Omit specific fields from the ShipLabel
1064
+ */
1065
+ omit?: Prisma.ShipLabelOmit<ExtArgs> | null;
1066
+ /**
1067
+ * Choose, which related nodes to fetch as well
1068
+ */
1069
+ include?: Prisma.ShipLabelInclude<ExtArgs> | null;
1070
+ /**
1071
+ * Filter, which ShipLabel to fetch.
1072
+ */
1073
+ where: Prisma.ShipLabelWhereUniqueInput;
1074
+ };
1075
+ /**
1076
+ * ShipLabel findFirst
1077
+ */
1078
+ export type ShipLabelFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1079
+ /**
1080
+ * Select specific fields to fetch from the ShipLabel
1081
+ */
1082
+ select?: Prisma.ShipLabelSelect<ExtArgs> | null;
1083
+ /**
1084
+ * Omit specific fields from the ShipLabel
1085
+ */
1086
+ omit?: Prisma.ShipLabelOmit<ExtArgs> | null;
1087
+ /**
1088
+ * Choose, which related nodes to fetch as well
1089
+ */
1090
+ include?: Prisma.ShipLabelInclude<ExtArgs> | null;
1091
+ /**
1092
+ * Filter, which ShipLabel to fetch.
1093
+ */
1094
+ where?: Prisma.ShipLabelWhereInput;
1095
+ /**
1096
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1097
+ *
1098
+ * Determine the order of ShipLabels to fetch.
1099
+ */
1100
+ orderBy?: Prisma.ShipLabelOrderByWithRelationInput | Prisma.ShipLabelOrderByWithRelationInput[];
1101
+ /**
1102
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1103
+ *
1104
+ * Sets the position for searching for ShipLabels.
1105
+ */
1106
+ cursor?: Prisma.ShipLabelWhereUniqueInput;
1107
+ /**
1108
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1109
+ *
1110
+ * Take `±n` ShipLabels from the position of the cursor.
1111
+ */
1112
+ take?: number;
1113
+ /**
1114
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1115
+ *
1116
+ * Skip the first `n` ShipLabels.
1117
+ */
1118
+ skip?: number;
1119
+ /**
1120
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1121
+ *
1122
+ * Filter by unique combinations of ShipLabels.
1123
+ */
1124
+ distinct?: Prisma.ShipLabelScalarFieldEnum | Prisma.ShipLabelScalarFieldEnum[];
1125
+ };
1126
+ /**
1127
+ * ShipLabel findFirstOrThrow
1128
+ */
1129
+ export type ShipLabelFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1130
+ /**
1131
+ * Select specific fields to fetch from the ShipLabel
1132
+ */
1133
+ select?: Prisma.ShipLabelSelect<ExtArgs> | null;
1134
+ /**
1135
+ * Omit specific fields from the ShipLabel
1136
+ */
1137
+ omit?: Prisma.ShipLabelOmit<ExtArgs> | null;
1138
+ /**
1139
+ * Choose, which related nodes to fetch as well
1140
+ */
1141
+ include?: Prisma.ShipLabelInclude<ExtArgs> | null;
1142
+ /**
1143
+ * Filter, which ShipLabel to fetch.
1144
+ */
1145
+ where?: Prisma.ShipLabelWhereInput;
1146
+ /**
1147
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1148
+ *
1149
+ * Determine the order of ShipLabels to fetch.
1150
+ */
1151
+ orderBy?: Prisma.ShipLabelOrderByWithRelationInput | Prisma.ShipLabelOrderByWithRelationInput[];
1152
+ /**
1153
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1154
+ *
1155
+ * Sets the position for searching for ShipLabels.
1156
+ */
1157
+ cursor?: Prisma.ShipLabelWhereUniqueInput;
1158
+ /**
1159
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1160
+ *
1161
+ * Take `±n` ShipLabels from the position of the cursor.
1162
+ */
1163
+ take?: number;
1164
+ /**
1165
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1166
+ *
1167
+ * Skip the first `n` ShipLabels.
1168
+ */
1169
+ skip?: number;
1170
+ /**
1171
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1172
+ *
1173
+ * Filter by unique combinations of ShipLabels.
1174
+ */
1175
+ distinct?: Prisma.ShipLabelScalarFieldEnum | Prisma.ShipLabelScalarFieldEnum[];
1176
+ };
1177
+ /**
1178
+ * ShipLabel findMany
1179
+ */
1180
+ export type ShipLabelFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1181
+ /**
1182
+ * Select specific fields to fetch from the ShipLabel
1183
+ */
1184
+ select?: Prisma.ShipLabelSelect<ExtArgs> | null;
1185
+ /**
1186
+ * Omit specific fields from the ShipLabel
1187
+ */
1188
+ omit?: Prisma.ShipLabelOmit<ExtArgs> | null;
1189
+ /**
1190
+ * Choose, which related nodes to fetch as well
1191
+ */
1192
+ include?: Prisma.ShipLabelInclude<ExtArgs> | null;
1193
+ /**
1194
+ * Filter, which ShipLabels to fetch.
1195
+ */
1196
+ where?: Prisma.ShipLabelWhereInput;
1197
+ /**
1198
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1199
+ *
1200
+ * Determine the order of ShipLabels to fetch.
1201
+ */
1202
+ orderBy?: Prisma.ShipLabelOrderByWithRelationInput | Prisma.ShipLabelOrderByWithRelationInput[];
1203
+ /**
1204
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1205
+ *
1206
+ * Sets the position for listing ShipLabels.
1207
+ */
1208
+ cursor?: Prisma.ShipLabelWhereUniqueInput;
1209
+ /**
1210
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1211
+ *
1212
+ * Take `±n` ShipLabels from the position of the cursor.
1213
+ */
1214
+ take?: number;
1215
+ /**
1216
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1217
+ *
1218
+ * Skip the first `n` ShipLabels.
1219
+ */
1220
+ skip?: number;
1221
+ /**
1222
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1223
+ *
1224
+ * Filter by unique combinations of ShipLabels.
1225
+ */
1226
+ distinct?: Prisma.ShipLabelScalarFieldEnum | Prisma.ShipLabelScalarFieldEnum[];
1227
+ };
1228
+ /**
1229
+ * ShipLabel create
1230
+ */
1231
+ export type ShipLabelCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1232
+ /**
1233
+ * Select specific fields to fetch from the ShipLabel
1234
+ */
1235
+ select?: Prisma.ShipLabelSelect<ExtArgs> | null;
1236
+ /**
1237
+ * Omit specific fields from the ShipLabel
1238
+ */
1239
+ omit?: Prisma.ShipLabelOmit<ExtArgs> | null;
1240
+ /**
1241
+ * Choose, which related nodes to fetch as well
1242
+ */
1243
+ include?: Prisma.ShipLabelInclude<ExtArgs> | null;
1244
+ /**
1245
+ * The data needed to create a ShipLabel.
1246
+ */
1247
+ data: Prisma.XOR<Prisma.ShipLabelCreateInput, Prisma.ShipLabelUncheckedCreateInput>;
1248
+ };
1249
+ /**
1250
+ * ShipLabel createMany
1251
+ */
1252
+ export type ShipLabelCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1253
+ /**
1254
+ * The data used to create many ShipLabels.
1255
+ */
1256
+ data: Prisma.ShipLabelCreateManyInput | Prisma.ShipLabelCreateManyInput[];
1257
+ skipDuplicates?: boolean;
1258
+ };
1259
+ /**
1260
+ * ShipLabel createManyAndReturn
1261
+ */
1262
+ export type ShipLabelCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1263
+ /**
1264
+ * Select specific fields to fetch from the ShipLabel
1265
+ */
1266
+ select?: Prisma.ShipLabelSelectCreateManyAndReturn<ExtArgs> | null;
1267
+ /**
1268
+ * Omit specific fields from the ShipLabel
1269
+ */
1270
+ omit?: Prisma.ShipLabelOmit<ExtArgs> | null;
1271
+ /**
1272
+ * The data used to create many ShipLabels.
1273
+ */
1274
+ data: Prisma.ShipLabelCreateManyInput | Prisma.ShipLabelCreateManyInput[];
1275
+ skipDuplicates?: boolean;
1276
+ /**
1277
+ * Choose, which related nodes to fetch as well
1278
+ */
1279
+ include?: Prisma.ShipLabelIncludeCreateManyAndReturn<ExtArgs> | null;
1280
+ };
1281
+ /**
1282
+ * ShipLabel update
1283
+ */
1284
+ export type ShipLabelUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1285
+ /**
1286
+ * Select specific fields to fetch from the ShipLabel
1287
+ */
1288
+ select?: Prisma.ShipLabelSelect<ExtArgs> | null;
1289
+ /**
1290
+ * Omit specific fields from the ShipLabel
1291
+ */
1292
+ omit?: Prisma.ShipLabelOmit<ExtArgs> | null;
1293
+ /**
1294
+ * Choose, which related nodes to fetch as well
1295
+ */
1296
+ include?: Prisma.ShipLabelInclude<ExtArgs> | null;
1297
+ /**
1298
+ * The data needed to update a ShipLabel.
1299
+ */
1300
+ data: Prisma.XOR<Prisma.ShipLabelUpdateInput, Prisma.ShipLabelUncheckedUpdateInput>;
1301
+ /**
1302
+ * Choose, which ShipLabel to update.
1303
+ */
1304
+ where: Prisma.ShipLabelWhereUniqueInput;
1305
+ };
1306
+ /**
1307
+ * ShipLabel updateMany
1308
+ */
1309
+ export type ShipLabelUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1310
+ /**
1311
+ * The data used to update ShipLabels.
1312
+ */
1313
+ data: Prisma.XOR<Prisma.ShipLabelUpdateManyMutationInput, Prisma.ShipLabelUncheckedUpdateManyInput>;
1314
+ /**
1315
+ * Filter which ShipLabels to update
1316
+ */
1317
+ where?: Prisma.ShipLabelWhereInput;
1318
+ /**
1319
+ * Limit how many ShipLabels to update.
1320
+ */
1321
+ limit?: number;
1322
+ };
1323
+ /**
1324
+ * ShipLabel updateManyAndReturn
1325
+ */
1326
+ export type ShipLabelUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1327
+ /**
1328
+ * Select specific fields to fetch from the ShipLabel
1329
+ */
1330
+ select?: Prisma.ShipLabelSelectUpdateManyAndReturn<ExtArgs> | null;
1331
+ /**
1332
+ * Omit specific fields from the ShipLabel
1333
+ */
1334
+ omit?: Prisma.ShipLabelOmit<ExtArgs> | null;
1335
+ /**
1336
+ * The data used to update ShipLabels.
1337
+ */
1338
+ data: Prisma.XOR<Prisma.ShipLabelUpdateManyMutationInput, Prisma.ShipLabelUncheckedUpdateManyInput>;
1339
+ /**
1340
+ * Filter which ShipLabels to update
1341
+ */
1342
+ where?: Prisma.ShipLabelWhereInput;
1343
+ /**
1344
+ * Limit how many ShipLabels to update.
1345
+ */
1346
+ limit?: number;
1347
+ /**
1348
+ * Choose, which related nodes to fetch as well
1349
+ */
1350
+ include?: Prisma.ShipLabelIncludeUpdateManyAndReturn<ExtArgs> | null;
1351
+ };
1352
+ /**
1353
+ * ShipLabel upsert
1354
+ */
1355
+ export type ShipLabelUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1356
+ /**
1357
+ * Select specific fields to fetch from the ShipLabel
1358
+ */
1359
+ select?: Prisma.ShipLabelSelect<ExtArgs> | null;
1360
+ /**
1361
+ * Omit specific fields from the ShipLabel
1362
+ */
1363
+ omit?: Prisma.ShipLabelOmit<ExtArgs> | null;
1364
+ /**
1365
+ * Choose, which related nodes to fetch as well
1366
+ */
1367
+ include?: Prisma.ShipLabelInclude<ExtArgs> | null;
1368
+ /**
1369
+ * The filter to search for the ShipLabel to update in case it exists.
1370
+ */
1371
+ where: Prisma.ShipLabelWhereUniqueInput;
1372
+ /**
1373
+ * In case the ShipLabel found by the `where` argument doesn't exist, create a new ShipLabel with this data.
1374
+ */
1375
+ create: Prisma.XOR<Prisma.ShipLabelCreateInput, Prisma.ShipLabelUncheckedCreateInput>;
1376
+ /**
1377
+ * In case the ShipLabel was found with the provided `where` argument, update it with this data.
1378
+ */
1379
+ update: Prisma.XOR<Prisma.ShipLabelUpdateInput, Prisma.ShipLabelUncheckedUpdateInput>;
1380
+ };
1381
+ /**
1382
+ * ShipLabel delete
1383
+ */
1384
+ export type ShipLabelDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1385
+ /**
1386
+ * Select specific fields to fetch from the ShipLabel
1387
+ */
1388
+ select?: Prisma.ShipLabelSelect<ExtArgs> | null;
1389
+ /**
1390
+ * Omit specific fields from the ShipLabel
1391
+ */
1392
+ omit?: Prisma.ShipLabelOmit<ExtArgs> | null;
1393
+ /**
1394
+ * Choose, which related nodes to fetch as well
1395
+ */
1396
+ include?: Prisma.ShipLabelInclude<ExtArgs> | null;
1397
+ /**
1398
+ * Filter which ShipLabel to delete.
1399
+ */
1400
+ where: Prisma.ShipLabelWhereUniqueInput;
1401
+ };
1402
+ /**
1403
+ * ShipLabel deleteMany
1404
+ */
1405
+ export type ShipLabelDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1406
+ /**
1407
+ * Filter which ShipLabels to delete
1408
+ */
1409
+ where?: Prisma.ShipLabelWhereInput;
1410
+ /**
1411
+ * Limit how many ShipLabels to delete.
1412
+ */
1413
+ limit?: number;
1414
+ };
1415
+ /**
1416
+ * ShipLabel without action
1417
+ */
1418
+ export type ShipLabelDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1419
+ /**
1420
+ * Select specific fields to fetch from the ShipLabel
1421
+ */
1422
+ select?: Prisma.ShipLabelSelect<ExtArgs> | null;
1423
+ /**
1424
+ * Omit specific fields from the ShipLabel
1425
+ */
1426
+ omit?: Prisma.ShipLabelOmit<ExtArgs> | null;
1427
+ /**
1428
+ * Choose, which related nodes to fetch as well
1429
+ */
1430
+ include?: Prisma.ShipLabelInclude<ExtArgs> | null;
1431
+ };