@aeolus-fleet/core 0.20.2 → 0.20.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/adapters/http/server.d.ts +0 -2
- package/dist/adapters/http/server.js +4 -12
- package/dist/adapters/http/server.js.map +1 -1
- package/dist/adapters/prisma/client.d.ts +0 -2
- package/dist/adapters/prisma/client.js +0 -9
- package/dist/adapters/prisma/client.js.map +1 -1
- package/dist/adapters/prisma/generated/browser.d.ts +23 -0
- package/dist/adapters/prisma/generated/client.d.ts +23 -0
- package/dist/adapters/prisma/generated/internal/class.d.ts +33 -0
- package/dist/adapters/prisma/generated/internal/class.js +4 -4
- package/dist/adapters/prisma/generated/internal/class.js.map +1 -1
- package/dist/adapters/prisma/generated/internal/prismaNamespace.d.ts +254 -1
- package/dist/adapters/prisma/generated/internal/prismaNamespace.js +25 -0
- package/dist/adapters/prisma/generated/internal/prismaNamespace.js.map +1 -1
- package/dist/adapters/prisma/generated/internal/prismaNamespaceBrowser.d.ts +28 -0
- package/dist/adapters/prisma/generated/internal/prismaNamespaceBrowser.js +25 -0
- package/dist/adapters/prisma/generated/internal/prismaNamespaceBrowser.js.map +1 -1
- package/dist/adapters/prisma/generated/models/CrewRequest.d.ts +149 -0
- package/dist/adapters/prisma/generated/models/CrewRequestGiveBack.d.ts +1468 -0
- package/dist/adapters/prisma/generated/models/CrewRequestGiveBack.js +2 -0
- package/dist/adapters/prisma/generated/models/CrewRequestGiveBack.js.map +1 -0
- package/dist/adapters/prisma/generated/models/Delivery.d.ts +68 -1
- package/dist/adapters/prisma/generated/models/Fleet.d.ts +716 -0
- package/dist/adapters/prisma/generated/models/NetworkSettings.d.ts +1101 -0
- package/dist/adapters/prisma/generated/models/NetworkSettings.js +2 -0
- package/dist/adapters/prisma/generated/models/NetworkSettings.js.map +1 -0
- package/dist/adapters/prisma/generated/models/ReachRefusal.d.ts +1239 -0
- package/dist/adapters/prisma/generated/models/ReachRefusal.js +2 -0
- package/dist/adapters/prisma/generated/models/ReachRefusal.js.map +1 -0
- package/dist/adapters/prisma/generated/models/Ship.d.ts +255 -0
- package/dist/adapters/prisma/generated/models.d.ts +3 -0
- package/dist/adapters/prisma/messaging.js +16 -2
- package/dist/adapters/prisma/messaging.js.map +1 -1
- package/dist/adapters/prisma/network.d.ts +4 -0
- package/dist/adapters/prisma/network.js +69 -0
- package/dist/adapters/prisma/network.js.map +1 -0
- package/dist/adapters/prisma/registry.js +20 -5
- package/dist/adapters/prisma/registry.js.map +1 -1
- package/dist/adapters/prisma/rows.js +10 -1
- package/dist/adapters/prisma/rows.js.map +1 -1
- package/dist/adapters/prisma/unit-of-work.d.ts +3 -1
- package/dist/adapters/prisma/unit-of-work.js +3 -0
- package/dist/adapters/prisma/unit-of-work.js.map +1 -1
- package/dist/adapters/trpc/console.d.ts +1 -1
- package/dist/adapters/trpc/context.d.ts +6 -0
- package/dist/adapters/trpc/fleet.d.ts +96 -6
- package/dist/adapters/trpc/fleet.js +46 -3
- package/dist/adapters/trpc/fleet.js.map +1 -1
- package/dist/adapters/trpc/router.d.ts +94 -7
- package/dist/adapters/trpc/ship-contract.js +2 -0
- package/dist/adapters/trpc/ship-contract.js.map +1 -1
- package/dist/adapters/trpc/ship-protocol.js +9 -8
- package/dist/adapters/trpc/ship-protocol.js.map +1 -1
- package/dist/adapters/trpc/trpc.js +4 -0
- package/dist/adapters/trpc/trpc.js.map +1 -1
- package/dist/app.js +1 -2
- package/dist/app.js.map +1 -1
- package/dist/domain/messaging/answer.d.ts +17 -0
- package/dist/domain/messaging/answer.js +16 -0
- package/dist/domain/messaging/answer.js.map +1 -0
- package/dist/domain/messaging/message.d.ts +10 -1
- package/dist/domain/messaging/message.js +4 -2
- package/dist/domain/messaging/message.js.map +1 -1
- package/dist/domain/messaging/ports.d.ts +2 -0
- package/dist/domain/messaging/resend-delivery.d.ts +11 -4
- package/dist/domain/messaging/resend-delivery.js +87 -62
- package/dist/domain/messaging/resend-delivery.js.map +1 -1
- package/dist/domain/messaging/send-message.d.ts +11 -4
- package/dist/domain/messaging/send-message.js +32 -6
- package/dist/domain/messaging/send-message.js.map +1 -1
- package/dist/domain/registry/check-reach.d.ts +44 -0
- package/dist/domain/registry/check-reach.js +75 -0
- package/dist/domain/registry/check-reach.js.map +1 -0
- package/dist/domain/registry/crew-request.d.ts +32 -0
- package/dist/domain/registry/crew-request.js +53 -0
- package/dist/domain/registry/crew-request.js.map +1 -1
- package/dist/domain/registry/get-ship.d.ts +3 -3
- package/dist/domain/registry/get-ship.js +2 -1
- package/dist/domain/registry/get-ship.js.map +1 -1
- package/dist/domain/registry/give-back-crew-request.d.ts +35 -0
- package/dist/domain/registry/give-back-crew-request.js +44 -0
- package/dist/domain/registry/give-back-crew-request.js.map +1 -0
- package/dist/domain/registry/list-fleet.d.ts +3 -1
- package/dist/domain/registry/list-fleet.js +2 -1
- package/dist/domain/registry/list-fleet.js.map +1 -1
- package/dist/domain/registry/network-settings.d.ts +58 -0
- package/dist/domain/registry/network-settings.js +81 -0
- package/dist/domain/registry/network-settings.js.map +1 -0
- package/dist/domain/registry/ports.d.ts +32 -0
- package/dist/domain/registry/public.d.ts +1 -0
- package/dist/domain/registry/public.js +1 -0
- package/dist/domain/registry/public.js.map +1 -1
- package/dist/domain/registry/reach-refusal.d.ts +30 -0
- package/dist/domain/registry/reach-refusal.js +2 -0
- package/dist/domain/registry/reach-refusal.js.map +1 -0
- package/dist/domain/registry/read-reach-refusals.d.ts +14 -0
- package/dist/domain/registry/read-reach-refusals.js +17 -0
- package/dist/domain/registry/read-reach-refusals.js.map +1 -0
- package/dist/domain/registry/set-network-rules.d.ts +29 -0
- package/dist/domain/registry/set-network-rules.js +25 -0
- package/dist/domain/registry/set-network-rules.js.map +1 -0
- package/dist/domain/registry/ship-report.d.ts +5 -0
- package/dist/domain/registry/ship-report.js +3 -0
- package/dist/domain/registry/ship-report.js.map +1 -1
- package/dist/domain/shared/errors.d.ts +1 -1
- package/dist/domain/shared/errors.js.map +1 -1
- package/dist/domain/shared/history.d.ts +17 -0
- package/dist/domain/shared/history.js +4 -1
- package/dist/domain/shared/history.js.map +1 -1
- package/dist/domain/shared/read-needs-attention.d.ts +4 -4
- package/dist/domain/shared/read-needs-attention.js +4 -3
- package/dist/domain/shared/read-needs-attention.js.map +1 -1
- package/dist/domain/shared/read-ship-timeline.d.ts +5 -4
- package/dist/domain/shared/read-ship-timeline.js +7 -3
- package/dist/domain/shared/read-ship-timeline.js.map +1 -1
- package/dist/wiring.d.ts +6 -0
- package/dist/wiring.js +7 -0
- package/dist/wiring.js.map +1 -1
- package/package.json +2 -2
- package/src/adapters/prisma/migrations/20261009090000_crew_request_give_backs/migration.sql +26 -0
- package/src/adapters/prisma/migrations/20261009200000_network_scope/migration.sql +8 -0
- package/src/adapters/prisma/migrations/20261009210000_network_rules/migration.sql +31 -0
- package/src/adapters/prisma/migrations/20261009220000_type_delivery_reachable_ships/migration.sql +5 -0
- package/src/adapters/prisma/schema.prisma +59 -0
|
@@ -0,0 +1,1101 @@
|
|
|
1
|
+
import type * as runtime from "@prisma/client/runtime/client";
|
|
2
|
+
import type * as Prisma from "../internal/prismaNamespace.js";
|
|
3
|
+
/**
|
|
4
|
+
* Model NetworkSettings
|
|
5
|
+
* A fleet's network settings (decision 0034), once it first set rules: its
|
|
6
|
+
* rules as JSON, none (null) for all-to-all, and their version. A send and a
|
|
7
|
+
* set take turns on an advisory lock on them (network.ts).
|
|
8
|
+
*/
|
|
9
|
+
export type NetworkSettingsModel = runtime.Types.Result.DefaultSelection<Prisma.$NetworkSettingsPayload>;
|
|
10
|
+
export type AggregateNetworkSettings = {
|
|
11
|
+
_count: NetworkSettingsCountAggregateOutputType | null;
|
|
12
|
+
_avg: NetworkSettingsAvgAggregateOutputType | null;
|
|
13
|
+
_sum: NetworkSettingsSumAggregateOutputType | null;
|
|
14
|
+
_min: NetworkSettingsMinAggregateOutputType | null;
|
|
15
|
+
_max: NetworkSettingsMaxAggregateOutputType | null;
|
|
16
|
+
};
|
|
17
|
+
export type NetworkSettingsAvgAggregateOutputType = {
|
|
18
|
+
version: number | null;
|
|
19
|
+
};
|
|
20
|
+
export type NetworkSettingsSumAggregateOutputType = {
|
|
21
|
+
version: number | null;
|
|
22
|
+
};
|
|
23
|
+
export type NetworkSettingsMinAggregateOutputType = {
|
|
24
|
+
fleetId: string | null;
|
|
25
|
+
version: number | null;
|
|
26
|
+
};
|
|
27
|
+
export type NetworkSettingsMaxAggregateOutputType = {
|
|
28
|
+
fleetId: string | null;
|
|
29
|
+
version: number | null;
|
|
30
|
+
};
|
|
31
|
+
export type NetworkSettingsCountAggregateOutputType = {
|
|
32
|
+
fleetId: number;
|
|
33
|
+
rules: number;
|
|
34
|
+
version: number;
|
|
35
|
+
_all: number;
|
|
36
|
+
};
|
|
37
|
+
export type NetworkSettingsAvgAggregateInputType = {
|
|
38
|
+
version?: true;
|
|
39
|
+
};
|
|
40
|
+
export type NetworkSettingsSumAggregateInputType = {
|
|
41
|
+
version?: true;
|
|
42
|
+
};
|
|
43
|
+
export type NetworkSettingsMinAggregateInputType = {
|
|
44
|
+
fleetId?: true;
|
|
45
|
+
version?: true;
|
|
46
|
+
};
|
|
47
|
+
export type NetworkSettingsMaxAggregateInputType = {
|
|
48
|
+
fleetId?: true;
|
|
49
|
+
version?: true;
|
|
50
|
+
};
|
|
51
|
+
export type NetworkSettingsCountAggregateInputType = {
|
|
52
|
+
fleetId?: true;
|
|
53
|
+
rules?: true;
|
|
54
|
+
version?: true;
|
|
55
|
+
_all?: true;
|
|
56
|
+
};
|
|
57
|
+
export type NetworkSettingsAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
58
|
+
/**
|
|
59
|
+
* Filter which NetworkSettings to aggregate.
|
|
60
|
+
*/
|
|
61
|
+
where?: Prisma.NetworkSettingsWhereInput;
|
|
62
|
+
/**
|
|
63
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
64
|
+
*
|
|
65
|
+
* Determine the order of NetworkSettings to fetch.
|
|
66
|
+
*/
|
|
67
|
+
orderBy?: Prisma.NetworkSettingsOrderByWithRelationInput | Prisma.NetworkSettingsOrderByWithRelationInput[];
|
|
68
|
+
/**
|
|
69
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
70
|
+
*
|
|
71
|
+
* Sets the start position
|
|
72
|
+
*/
|
|
73
|
+
cursor?: Prisma.NetworkSettingsWhereUniqueInput;
|
|
74
|
+
/**
|
|
75
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
76
|
+
*
|
|
77
|
+
* Take `±n` NetworkSettings from the position of the cursor.
|
|
78
|
+
*/
|
|
79
|
+
take?: number;
|
|
80
|
+
/**
|
|
81
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
82
|
+
*
|
|
83
|
+
* Skip the first `n` NetworkSettings.
|
|
84
|
+
*/
|
|
85
|
+
skip?: number;
|
|
86
|
+
/**
|
|
87
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
88
|
+
*
|
|
89
|
+
* Count returned NetworkSettings
|
|
90
|
+
**/
|
|
91
|
+
_count?: true | NetworkSettingsCountAggregateInputType;
|
|
92
|
+
/**
|
|
93
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
94
|
+
*
|
|
95
|
+
* Select which fields to average
|
|
96
|
+
**/
|
|
97
|
+
_avg?: NetworkSettingsAvgAggregateInputType;
|
|
98
|
+
/**
|
|
99
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
100
|
+
*
|
|
101
|
+
* Select which fields to sum
|
|
102
|
+
**/
|
|
103
|
+
_sum?: NetworkSettingsSumAggregateInputType;
|
|
104
|
+
/**
|
|
105
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
106
|
+
*
|
|
107
|
+
* Select which fields to find the minimum value
|
|
108
|
+
**/
|
|
109
|
+
_min?: NetworkSettingsMinAggregateInputType;
|
|
110
|
+
/**
|
|
111
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
112
|
+
*
|
|
113
|
+
* Select which fields to find the maximum value
|
|
114
|
+
**/
|
|
115
|
+
_max?: NetworkSettingsMaxAggregateInputType;
|
|
116
|
+
};
|
|
117
|
+
export type GetNetworkSettingsAggregateType<T extends NetworkSettingsAggregateArgs> = {
|
|
118
|
+
[P in keyof T & keyof AggregateNetworkSettings]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateNetworkSettings[P]> : Prisma.GetScalarType<T[P], AggregateNetworkSettings[P]>;
|
|
119
|
+
};
|
|
120
|
+
export type NetworkSettingsGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
121
|
+
where?: Prisma.NetworkSettingsWhereInput;
|
|
122
|
+
orderBy?: Prisma.NetworkSettingsOrderByWithAggregationInput | Prisma.NetworkSettingsOrderByWithAggregationInput[];
|
|
123
|
+
by: Prisma.NetworkSettingsScalarFieldEnum[] | Prisma.NetworkSettingsScalarFieldEnum;
|
|
124
|
+
having?: Prisma.NetworkSettingsScalarWhereWithAggregatesInput;
|
|
125
|
+
take?: number;
|
|
126
|
+
skip?: number;
|
|
127
|
+
_count?: NetworkSettingsCountAggregateInputType | true;
|
|
128
|
+
_avg?: NetworkSettingsAvgAggregateInputType;
|
|
129
|
+
_sum?: NetworkSettingsSumAggregateInputType;
|
|
130
|
+
_min?: NetworkSettingsMinAggregateInputType;
|
|
131
|
+
_max?: NetworkSettingsMaxAggregateInputType;
|
|
132
|
+
};
|
|
133
|
+
export type NetworkSettingsGroupByOutputType = {
|
|
134
|
+
fleetId: string;
|
|
135
|
+
rules: runtime.JsonValue | null;
|
|
136
|
+
version: number;
|
|
137
|
+
_count: NetworkSettingsCountAggregateOutputType | null;
|
|
138
|
+
_avg: NetworkSettingsAvgAggregateOutputType | null;
|
|
139
|
+
_sum: NetworkSettingsSumAggregateOutputType | null;
|
|
140
|
+
_min: NetworkSettingsMinAggregateOutputType | null;
|
|
141
|
+
_max: NetworkSettingsMaxAggregateOutputType | null;
|
|
142
|
+
};
|
|
143
|
+
export type GetNetworkSettingsGroupByPayload<T extends NetworkSettingsGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<NetworkSettingsGroupByOutputType, T['by']> & {
|
|
144
|
+
[P in ((keyof T) & (keyof NetworkSettingsGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], NetworkSettingsGroupByOutputType[P]> : Prisma.GetScalarType<T[P], NetworkSettingsGroupByOutputType[P]>;
|
|
145
|
+
}>>;
|
|
146
|
+
export type NetworkSettingsWhereInput = {
|
|
147
|
+
AND?: Prisma.NetworkSettingsWhereInput | Prisma.NetworkSettingsWhereInput[];
|
|
148
|
+
OR?: Prisma.NetworkSettingsWhereInput[];
|
|
149
|
+
NOT?: Prisma.NetworkSettingsWhereInput | Prisma.NetworkSettingsWhereInput[];
|
|
150
|
+
fleetId?: Prisma.StringFilter<"NetworkSettings"> | string;
|
|
151
|
+
rules?: Prisma.JsonNullableFilter<"NetworkSettings">;
|
|
152
|
+
version?: Prisma.IntFilter<"NetworkSettings"> | number;
|
|
153
|
+
fleet?: Prisma.XOR<Prisma.FleetScalarRelationFilter, Prisma.FleetWhereInput>;
|
|
154
|
+
};
|
|
155
|
+
export type NetworkSettingsOrderByWithRelationInput = {
|
|
156
|
+
fleetId?: Prisma.SortOrder;
|
|
157
|
+
rules?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
158
|
+
version?: Prisma.SortOrder;
|
|
159
|
+
fleet?: Prisma.FleetOrderByWithRelationInput;
|
|
160
|
+
};
|
|
161
|
+
export type NetworkSettingsWhereUniqueInput = Prisma.AtLeast<{
|
|
162
|
+
fleetId?: string;
|
|
163
|
+
AND?: Prisma.NetworkSettingsWhereInput | Prisma.NetworkSettingsWhereInput[];
|
|
164
|
+
OR?: Prisma.NetworkSettingsWhereInput[];
|
|
165
|
+
NOT?: Prisma.NetworkSettingsWhereInput | Prisma.NetworkSettingsWhereInput[];
|
|
166
|
+
rules?: Prisma.JsonNullableFilter<"NetworkSettings">;
|
|
167
|
+
version?: Prisma.IntFilter<"NetworkSettings"> | number;
|
|
168
|
+
fleet?: Prisma.XOR<Prisma.FleetScalarRelationFilter, Prisma.FleetWhereInput>;
|
|
169
|
+
}, "fleetId">;
|
|
170
|
+
export type NetworkSettingsOrderByWithAggregationInput = {
|
|
171
|
+
fleetId?: Prisma.SortOrder;
|
|
172
|
+
rules?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
173
|
+
version?: Prisma.SortOrder;
|
|
174
|
+
_count?: Prisma.NetworkSettingsCountOrderByAggregateInput;
|
|
175
|
+
_avg?: Prisma.NetworkSettingsAvgOrderByAggregateInput;
|
|
176
|
+
_max?: Prisma.NetworkSettingsMaxOrderByAggregateInput;
|
|
177
|
+
_min?: Prisma.NetworkSettingsMinOrderByAggregateInput;
|
|
178
|
+
_sum?: Prisma.NetworkSettingsSumOrderByAggregateInput;
|
|
179
|
+
};
|
|
180
|
+
export type NetworkSettingsScalarWhereWithAggregatesInput = {
|
|
181
|
+
AND?: Prisma.NetworkSettingsScalarWhereWithAggregatesInput | Prisma.NetworkSettingsScalarWhereWithAggregatesInput[];
|
|
182
|
+
OR?: Prisma.NetworkSettingsScalarWhereWithAggregatesInput[];
|
|
183
|
+
NOT?: Prisma.NetworkSettingsScalarWhereWithAggregatesInput | Prisma.NetworkSettingsScalarWhereWithAggregatesInput[];
|
|
184
|
+
fleetId?: Prisma.StringWithAggregatesFilter<"NetworkSettings"> | string;
|
|
185
|
+
rules?: Prisma.JsonNullableWithAggregatesFilter<"NetworkSettings">;
|
|
186
|
+
version?: Prisma.IntWithAggregatesFilter<"NetworkSettings"> | number;
|
|
187
|
+
};
|
|
188
|
+
export type NetworkSettingsCreateInput = {
|
|
189
|
+
rules?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
190
|
+
version: number;
|
|
191
|
+
fleet: Prisma.FleetCreateNestedOneWithoutNetworkSettingsInput;
|
|
192
|
+
};
|
|
193
|
+
export type NetworkSettingsUncheckedCreateInput = {
|
|
194
|
+
fleetId: string;
|
|
195
|
+
rules?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
196
|
+
version: number;
|
|
197
|
+
};
|
|
198
|
+
export type NetworkSettingsUpdateInput = {
|
|
199
|
+
rules?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
200
|
+
version?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
201
|
+
fleet?: Prisma.FleetUpdateOneRequiredWithoutNetworkSettingsNestedInput;
|
|
202
|
+
};
|
|
203
|
+
export type NetworkSettingsUncheckedUpdateInput = {
|
|
204
|
+
fleetId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
205
|
+
rules?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
206
|
+
version?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
207
|
+
};
|
|
208
|
+
export type NetworkSettingsCreateManyInput = {
|
|
209
|
+
fleetId: string;
|
|
210
|
+
rules?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
211
|
+
version: number;
|
|
212
|
+
};
|
|
213
|
+
export type NetworkSettingsUpdateManyMutationInput = {
|
|
214
|
+
rules?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
215
|
+
version?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
216
|
+
};
|
|
217
|
+
export type NetworkSettingsUncheckedUpdateManyInput = {
|
|
218
|
+
fleetId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
219
|
+
rules?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
220
|
+
version?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
221
|
+
};
|
|
222
|
+
export type NetworkSettingsNullableScalarRelationFilter = {
|
|
223
|
+
is?: Prisma.NetworkSettingsWhereInput | null;
|
|
224
|
+
isNot?: Prisma.NetworkSettingsWhereInput | null;
|
|
225
|
+
};
|
|
226
|
+
export type NetworkSettingsCountOrderByAggregateInput = {
|
|
227
|
+
fleetId?: Prisma.SortOrder;
|
|
228
|
+
rules?: Prisma.SortOrder;
|
|
229
|
+
version?: Prisma.SortOrder;
|
|
230
|
+
};
|
|
231
|
+
export type NetworkSettingsAvgOrderByAggregateInput = {
|
|
232
|
+
version?: Prisma.SortOrder;
|
|
233
|
+
};
|
|
234
|
+
export type NetworkSettingsMaxOrderByAggregateInput = {
|
|
235
|
+
fleetId?: Prisma.SortOrder;
|
|
236
|
+
version?: Prisma.SortOrder;
|
|
237
|
+
};
|
|
238
|
+
export type NetworkSettingsMinOrderByAggregateInput = {
|
|
239
|
+
fleetId?: Prisma.SortOrder;
|
|
240
|
+
version?: Prisma.SortOrder;
|
|
241
|
+
};
|
|
242
|
+
export type NetworkSettingsSumOrderByAggregateInput = {
|
|
243
|
+
version?: Prisma.SortOrder;
|
|
244
|
+
};
|
|
245
|
+
export type NetworkSettingsCreateNestedOneWithoutFleetInput = {
|
|
246
|
+
create?: Prisma.XOR<Prisma.NetworkSettingsCreateWithoutFleetInput, Prisma.NetworkSettingsUncheckedCreateWithoutFleetInput>;
|
|
247
|
+
connectOrCreate?: Prisma.NetworkSettingsCreateOrConnectWithoutFleetInput;
|
|
248
|
+
connect?: Prisma.NetworkSettingsWhereUniqueInput;
|
|
249
|
+
};
|
|
250
|
+
export type NetworkSettingsUncheckedCreateNestedOneWithoutFleetInput = {
|
|
251
|
+
create?: Prisma.XOR<Prisma.NetworkSettingsCreateWithoutFleetInput, Prisma.NetworkSettingsUncheckedCreateWithoutFleetInput>;
|
|
252
|
+
connectOrCreate?: Prisma.NetworkSettingsCreateOrConnectWithoutFleetInput;
|
|
253
|
+
connect?: Prisma.NetworkSettingsWhereUniqueInput;
|
|
254
|
+
};
|
|
255
|
+
export type NetworkSettingsUpdateOneWithoutFleetNestedInput = {
|
|
256
|
+
create?: Prisma.XOR<Prisma.NetworkSettingsCreateWithoutFleetInput, Prisma.NetworkSettingsUncheckedCreateWithoutFleetInput>;
|
|
257
|
+
connectOrCreate?: Prisma.NetworkSettingsCreateOrConnectWithoutFleetInput;
|
|
258
|
+
upsert?: Prisma.NetworkSettingsUpsertWithoutFleetInput;
|
|
259
|
+
disconnect?: Prisma.NetworkSettingsWhereInput | boolean;
|
|
260
|
+
delete?: Prisma.NetworkSettingsWhereInput | boolean;
|
|
261
|
+
connect?: Prisma.NetworkSettingsWhereUniqueInput;
|
|
262
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.NetworkSettingsUpdateToOneWithWhereWithoutFleetInput, Prisma.NetworkSettingsUpdateWithoutFleetInput>, Prisma.NetworkSettingsUncheckedUpdateWithoutFleetInput>;
|
|
263
|
+
};
|
|
264
|
+
export type NetworkSettingsUncheckedUpdateOneWithoutFleetNestedInput = {
|
|
265
|
+
create?: Prisma.XOR<Prisma.NetworkSettingsCreateWithoutFleetInput, Prisma.NetworkSettingsUncheckedCreateWithoutFleetInput>;
|
|
266
|
+
connectOrCreate?: Prisma.NetworkSettingsCreateOrConnectWithoutFleetInput;
|
|
267
|
+
upsert?: Prisma.NetworkSettingsUpsertWithoutFleetInput;
|
|
268
|
+
disconnect?: Prisma.NetworkSettingsWhereInput | boolean;
|
|
269
|
+
delete?: Prisma.NetworkSettingsWhereInput | boolean;
|
|
270
|
+
connect?: Prisma.NetworkSettingsWhereUniqueInput;
|
|
271
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.NetworkSettingsUpdateToOneWithWhereWithoutFleetInput, Prisma.NetworkSettingsUpdateWithoutFleetInput>, Prisma.NetworkSettingsUncheckedUpdateWithoutFleetInput>;
|
|
272
|
+
};
|
|
273
|
+
export type NetworkSettingsCreateWithoutFleetInput = {
|
|
274
|
+
rules?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
275
|
+
version: number;
|
|
276
|
+
};
|
|
277
|
+
export type NetworkSettingsUncheckedCreateWithoutFleetInput = {
|
|
278
|
+
rules?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
279
|
+
version: number;
|
|
280
|
+
};
|
|
281
|
+
export type NetworkSettingsCreateOrConnectWithoutFleetInput = {
|
|
282
|
+
where: Prisma.NetworkSettingsWhereUniqueInput;
|
|
283
|
+
create: Prisma.XOR<Prisma.NetworkSettingsCreateWithoutFleetInput, Prisma.NetworkSettingsUncheckedCreateWithoutFleetInput>;
|
|
284
|
+
};
|
|
285
|
+
export type NetworkSettingsUpsertWithoutFleetInput = {
|
|
286
|
+
update: Prisma.XOR<Prisma.NetworkSettingsUpdateWithoutFleetInput, Prisma.NetworkSettingsUncheckedUpdateWithoutFleetInput>;
|
|
287
|
+
create: Prisma.XOR<Prisma.NetworkSettingsCreateWithoutFleetInput, Prisma.NetworkSettingsUncheckedCreateWithoutFleetInput>;
|
|
288
|
+
where?: Prisma.NetworkSettingsWhereInput;
|
|
289
|
+
};
|
|
290
|
+
export type NetworkSettingsUpdateToOneWithWhereWithoutFleetInput = {
|
|
291
|
+
where?: Prisma.NetworkSettingsWhereInput;
|
|
292
|
+
data: Prisma.XOR<Prisma.NetworkSettingsUpdateWithoutFleetInput, Prisma.NetworkSettingsUncheckedUpdateWithoutFleetInput>;
|
|
293
|
+
};
|
|
294
|
+
export type NetworkSettingsUpdateWithoutFleetInput = {
|
|
295
|
+
rules?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
296
|
+
version?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
297
|
+
};
|
|
298
|
+
export type NetworkSettingsUncheckedUpdateWithoutFleetInput = {
|
|
299
|
+
rules?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
300
|
+
version?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
301
|
+
};
|
|
302
|
+
export type NetworkSettingsSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
303
|
+
fleetId?: boolean;
|
|
304
|
+
rules?: boolean;
|
|
305
|
+
version?: boolean;
|
|
306
|
+
fleet?: boolean | Prisma.FleetDefaultArgs<ExtArgs>;
|
|
307
|
+
}, ExtArgs["result"]["networkSettings"]>;
|
|
308
|
+
export type NetworkSettingsSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
309
|
+
fleetId?: boolean;
|
|
310
|
+
rules?: boolean;
|
|
311
|
+
version?: boolean;
|
|
312
|
+
fleet?: boolean | Prisma.FleetDefaultArgs<ExtArgs>;
|
|
313
|
+
}, ExtArgs["result"]["networkSettings"]>;
|
|
314
|
+
export type NetworkSettingsSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
315
|
+
fleetId?: boolean;
|
|
316
|
+
rules?: boolean;
|
|
317
|
+
version?: boolean;
|
|
318
|
+
fleet?: boolean | Prisma.FleetDefaultArgs<ExtArgs>;
|
|
319
|
+
}, ExtArgs["result"]["networkSettings"]>;
|
|
320
|
+
export type NetworkSettingsSelectScalar = {
|
|
321
|
+
fleetId?: boolean;
|
|
322
|
+
rules?: boolean;
|
|
323
|
+
version?: boolean;
|
|
324
|
+
};
|
|
325
|
+
export type NetworkSettingsOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"fleetId" | "rules" | "version", ExtArgs["result"]["networkSettings"]>;
|
|
326
|
+
export type NetworkSettingsInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
327
|
+
fleet?: boolean | Prisma.FleetDefaultArgs<ExtArgs>;
|
|
328
|
+
};
|
|
329
|
+
export type NetworkSettingsIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
330
|
+
fleet?: boolean | Prisma.FleetDefaultArgs<ExtArgs>;
|
|
331
|
+
};
|
|
332
|
+
export type NetworkSettingsIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
333
|
+
fleet?: boolean | Prisma.FleetDefaultArgs<ExtArgs>;
|
|
334
|
+
};
|
|
335
|
+
export type $NetworkSettingsPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
336
|
+
name: "NetworkSettings";
|
|
337
|
+
objects: {
|
|
338
|
+
fleet: Prisma.$FleetPayload<ExtArgs>;
|
|
339
|
+
};
|
|
340
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
341
|
+
fleetId: string;
|
|
342
|
+
rules: runtime.JsonValue | null;
|
|
343
|
+
version: number;
|
|
344
|
+
}, ExtArgs["result"]["networkSettings"]>;
|
|
345
|
+
composites: {};
|
|
346
|
+
};
|
|
347
|
+
export type NetworkSettingsGetPayload<S extends boolean | null | undefined | NetworkSettingsDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$NetworkSettingsPayload, S>;
|
|
348
|
+
export type NetworkSettingsCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<NetworkSettingsFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
349
|
+
select?: NetworkSettingsCountAggregateInputType | true;
|
|
350
|
+
};
|
|
351
|
+
export interface NetworkSettingsDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
352
|
+
[K: symbol]: {
|
|
353
|
+
types: Prisma.TypeMap<ExtArgs>['model']['NetworkSettings'];
|
|
354
|
+
meta: {
|
|
355
|
+
name: 'NetworkSettings';
|
|
356
|
+
};
|
|
357
|
+
};
|
|
358
|
+
/**
|
|
359
|
+
* Find zero or one NetworkSettings that matches the filter.
|
|
360
|
+
* @param {NetworkSettingsFindUniqueArgs} args - Arguments to find a NetworkSettings
|
|
361
|
+
* @example
|
|
362
|
+
* // Get one NetworkSettings
|
|
363
|
+
* const networkSettings = await prisma.networkSettings.findUnique({
|
|
364
|
+
* where: {
|
|
365
|
+
* // ... provide filter here
|
|
366
|
+
* }
|
|
367
|
+
* })
|
|
368
|
+
*/
|
|
369
|
+
findUnique<T extends NetworkSettingsFindUniqueArgs>(args: Prisma.SelectSubset<T, NetworkSettingsFindUniqueArgs<ExtArgs>>): Prisma.Prisma__NetworkSettingsClient<runtime.Types.Result.GetResult<Prisma.$NetworkSettingsPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
370
|
+
/**
|
|
371
|
+
* Find one NetworkSettings that matches the filter or throw an error with `error.code='P2025'`
|
|
372
|
+
* if no matches were found.
|
|
373
|
+
* @param {NetworkSettingsFindUniqueOrThrowArgs} args - Arguments to find a NetworkSettings
|
|
374
|
+
* @example
|
|
375
|
+
* // Get one NetworkSettings
|
|
376
|
+
* const networkSettings = await prisma.networkSettings.findUniqueOrThrow({
|
|
377
|
+
* where: {
|
|
378
|
+
* // ... provide filter here
|
|
379
|
+
* }
|
|
380
|
+
* })
|
|
381
|
+
*/
|
|
382
|
+
findUniqueOrThrow<T extends NetworkSettingsFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, NetworkSettingsFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__NetworkSettingsClient<runtime.Types.Result.GetResult<Prisma.$NetworkSettingsPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
383
|
+
/**
|
|
384
|
+
* Find the first NetworkSettings that matches the filter.
|
|
385
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
386
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
387
|
+
* @param {NetworkSettingsFindFirstArgs} args - Arguments to find a NetworkSettings
|
|
388
|
+
* @example
|
|
389
|
+
* // Get one NetworkSettings
|
|
390
|
+
* const networkSettings = await prisma.networkSettings.findFirst({
|
|
391
|
+
* where: {
|
|
392
|
+
* // ... provide filter here
|
|
393
|
+
* }
|
|
394
|
+
* })
|
|
395
|
+
*/
|
|
396
|
+
findFirst<T extends NetworkSettingsFindFirstArgs>(args?: Prisma.SelectSubset<T, NetworkSettingsFindFirstArgs<ExtArgs>>): Prisma.Prisma__NetworkSettingsClient<runtime.Types.Result.GetResult<Prisma.$NetworkSettingsPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
397
|
+
/**
|
|
398
|
+
* Find the first NetworkSettings that matches the filter or
|
|
399
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
400
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
401
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
402
|
+
* @param {NetworkSettingsFindFirstOrThrowArgs} args - Arguments to find a NetworkSettings
|
|
403
|
+
* @example
|
|
404
|
+
* // Get one NetworkSettings
|
|
405
|
+
* const networkSettings = await prisma.networkSettings.findFirstOrThrow({
|
|
406
|
+
* where: {
|
|
407
|
+
* // ... provide filter here
|
|
408
|
+
* }
|
|
409
|
+
* })
|
|
410
|
+
*/
|
|
411
|
+
findFirstOrThrow<T extends NetworkSettingsFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, NetworkSettingsFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__NetworkSettingsClient<runtime.Types.Result.GetResult<Prisma.$NetworkSettingsPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
412
|
+
/**
|
|
413
|
+
* Find zero or more NetworkSettings that matches the filter.
|
|
414
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
415
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
416
|
+
* @param {NetworkSettingsFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
417
|
+
* @example
|
|
418
|
+
* // Get all NetworkSettings
|
|
419
|
+
* const networkSettings = await prisma.networkSettings.findMany()
|
|
420
|
+
*
|
|
421
|
+
* // Get first 10 NetworkSettings
|
|
422
|
+
* const networkSettings = await prisma.networkSettings.findMany({ take: 10 })
|
|
423
|
+
*
|
|
424
|
+
* // Only select the `fleetId`
|
|
425
|
+
* const networkSettingsWithFleetIdOnly = await prisma.networkSettings.findMany({ select: { fleetId: true } })
|
|
426
|
+
*
|
|
427
|
+
*/
|
|
428
|
+
findMany<T extends NetworkSettingsFindManyArgs>(args?: Prisma.SelectSubset<T, NetworkSettingsFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$NetworkSettingsPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
|
|
429
|
+
/**
|
|
430
|
+
* Create a NetworkSettings.
|
|
431
|
+
* @param {NetworkSettingsCreateArgs} args - Arguments to create a NetworkSettings.
|
|
432
|
+
* @example
|
|
433
|
+
* // Create one NetworkSettings
|
|
434
|
+
* const NetworkSettings = await prisma.networkSettings.create({
|
|
435
|
+
* data: {
|
|
436
|
+
* // ... data to create a NetworkSettings
|
|
437
|
+
* }
|
|
438
|
+
* })
|
|
439
|
+
*
|
|
440
|
+
*/
|
|
441
|
+
create<T extends NetworkSettingsCreateArgs>(args: Prisma.SelectSubset<T, NetworkSettingsCreateArgs<ExtArgs>>): Prisma.Prisma__NetworkSettingsClient<runtime.Types.Result.GetResult<Prisma.$NetworkSettingsPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
442
|
+
/**
|
|
443
|
+
* Create many NetworkSettings.
|
|
444
|
+
* @param {NetworkSettingsCreateManyArgs} args - Arguments to create many NetworkSettings.
|
|
445
|
+
* @example
|
|
446
|
+
* // Create many NetworkSettings
|
|
447
|
+
* const networkSettings = await prisma.networkSettings.createMany({
|
|
448
|
+
* data: [
|
|
449
|
+
* // ... provide data here
|
|
450
|
+
* ]
|
|
451
|
+
* })
|
|
452
|
+
*
|
|
453
|
+
*/
|
|
454
|
+
createMany<T extends NetworkSettingsCreateManyArgs>(args?: Prisma.SelectSubset<T, NetworkSettingsCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
455
|
+
/**
|
|
456
|
+
* Create many NetworkSettings and returns the data saved in the database.
|
|
457
|
+
* @param {NetworkSettingsCreateManyAndReturnArgs} args - Arguments to create many NetworkSettings.
|
|
458
|
+
* @example
|
|
459
|
+
* // Create many NetworkSettings
|
|
460
|
+
* const networkSettings = await prisma.networkSettings.createManyAndReturn({
|
|
461
|
+
* data: [
|
|
462
|
+
* // ... provide data here
|
|
463
|
+
* ]
|
|
464
|
+
* })
|
|
465
|
+
*
|
|
466
|
+
* // Create many NetworkSettings and only return the `fleetId`
|
|
467
|
+
* const networkSettingsWithFleetIdOnly = await prisma.networkSettings.createManyAndReturn({
|
|
468
|
+
* select: { fleetId: true },
|
|
469
|
+
* data: [
|
|
470
|
+
* // ... provide data here
|
|
471
|
+
* ]
|
|
472
|
+
* })
|
|
473
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
474
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
475
|
+
*
|
|
476
|
+
*/
|
|
477
|
+
createManyAndReturn<T extends NetworkSettingsCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, NetworkSettingsCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$NetworkSettingsPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
|
|
478
|
+
/**
|
|
479
|
+
* Delete a NetworkSettings.
|
|
480
|
+
* @param {NetworkSettingsDeleteArgs} args - Arguments to delete one NetworkSettings.
|
|
481
|
+
* @example
|
|
482
|
+
* // Delete one NetworkSettings
|
|
483
|
+
* const NetworkSettings = await prisma.networkSettings.delete({
|
|
484
|
+
* where: {
|
|
485
|
+
* // ... filter to delete one NetworkSettings
|
|
486
|
+
* }
|
|
487
|
+
* })
|
|
488
|
+
*
|
|
489
|
+
*/
|
|
490
|
+
delete<T extends NetworkSettingsDeleteArgs>(args: Prisma.SelectSubset<T, NetworkSettingsDeleteArgs<ExtArgs>>): Prisma.Prisma__NetworkSettingsClient<runtime.Types.Result.GetResult<Prisma.$NetworkSettingsPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
491
|
+
/**
|
|
492
|
+
* Update one NetworkSettings.
|
|
493
|
+
* @param {NetworkSettingsUpdateArgs} args - Arguments to update one NetworkSettings.
|
|
494
|
+
* @example
|
|
495
|
+
* // Update one NetworkSettings
|
|
496
|
+
* const networkSettings = await prisma.networkSettings.update({
|
|
497
|
+
* where: {
|
|
498
|
+
* // ... provide filter here
|
|
499
|
+
* },
|
|
500
|
+
* data: {
|
|
501
|
+
* // ... provide data here
|
|
502
|
+
* }
|
|
503
|
+
* })
|
|
504
|
+
*
|
|
505
|
+
*/
|
|
506
|
+
update<T extends NetworkSettingsUpdateArgs>(args: Prisma.SelectSubset<T, NetworkSettingsUpdateArgs<ExtArgs>>): Prisma.Prisma__NetworkSettingsClient<runtime.Types.Result.GetResult<Prisma.$NetworkSettingsPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
507
|
+
/**
|
|
508
|
+
* Delete zero or more NetworkSettings.
|
|
509
|
+
* @param {NetworkSettingsDeleteManyArgs} args - Arguments to filter NetworkSettings to delete.
|
|
510
|
+
* @example
|
|
511
|
+
* // Delete a few NetworkSettings
|
|
512
|
+
* const { count } = await prisma.networkSettings.deleteMany({
|
|
513
|
+
* where: {
|
|
514
|
+
* // ... provide filter here
|
|
515
|
+
* }
|
|
516
|
+
* })
|
|
517
|
+
*
|
|
518
|
+
*/
|
|
519
|
+
deleteMany<T extends NetworkSettingsDeleteManyArgs>(args?: Prisma.SelectSubset<T, NetworkSettingsDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
520
|
+
/**
|
|
521
|
+
* Update zero or more NetworkSettings.
|
|
522
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
523
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
524
|
+
* @param {NetworkSettingsUpdateManyArgs} args - Arguments to update one or more rows.
|
|
525
|
+
* @example
|
|
526
|
+
* // Update many NetworkSettings
|
|
527
|
+
* const networkSettings = await prisma.networkSettings.updateMany({
|
|
528
|
+
* where: {
|
|
529
|
+
* // ... provide filter here
|
|
530
|
+
* },
|
|
531
|
+
* data: {
|
|
532
|
+
* // ... provide data here
|
|
533
|
+
* }
|
|
534
|
+
* })
|
|
535
|
+
*
|
|
536
|
+
*/
|
|
537
|
+
updateMany<T extends NetworkSettingsUpdateManyArgs>(args: Prisma.SelectSubset<T, NetworkSettingsUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
538
|
+
/**
|
|
539
|
+
* Update zero or more NetworkSettings and returns the data updated in the database.
|
|
540
|
+
* @param {NetworkSettingsUpdateManyAndReturnArgs} args - Arguments to update many NetworkSettings.
|
|
541
|
+
* @example
|
|
542
|
+
* // Update many NetworkSettings
|
|
543
|
+
* const networkSettings = await prisma.networkSettings.updateManyAndReturn({
|
|
544
|
+
* where: {
|
|
545
|
+
* // ... provide filter here
|
|
546
|
+
* },
|
|
547
|
+
* data: [
|
|
548
|
+
* // ... provide data here
|
|
549
|
+
* ]
|
|
550
|
+
* })
|
|
551
|
+
*
|
|
552
|
+
* // Update zero or more NetworkSettings and only return the `fleetId`
|
|
553
|
+
* const networkSettingsWithFleetIdOnly = await prisma.networkSettings.updateManyAndReturn({
|
|
554
|
+
* select: { fleetId: true },
|
|
555
|
+
* where: {
|
|
556
|
+
* // ... provide filter here
|
|
557
|
+
* },
|
|
558
|
+
* data: [
|
|
559
|
+
* // ... provide data here
|
|
560
|
+
* ]
|
|
561
|
+
* })
|
|
562
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
563
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
564
|
+
*
|
|
565
|
+
*/
|
|
566
|
+
updateManyAndReturn<T extends NetworkSettingsUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, NetworkSettingsUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$NetworkSettingsPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
|
|
567
|
+
/**
|
|
568
|
+
* Create or update one NetworkSettings.
|
|
569
|
+
* @param {NetworkSettingsUpsertArgs} args - Arguments to update or create a NetworkSettings.
|
|
570
|
+
* @example
|
|
571
|
+
* // Update or create a NetworkSettings
|
|
572
|
+
* const networkSettings = await prisma.networkSettings.upsert({
|
|
573
|
+
* create: {
|
|
574
|
+
* // ... data to create a NetworkSettings
|
|
575
|
+
* },
|
|
576
|
+
* update: {
|
|
577
|
+
* // ... in case it already exists, update
|
|
578
|
+
* },
|
|
579
|
+
* where: {
|
|
580
|
+
* // ... the filter for the NetworkSettings we want to update
|
|
581
|
+
* }
|
|
582
|
+
* })
|
|
583
|
+
*/
|
|
584
|
+
upsert<T extends NetworkSettingsUpsertArgs>(args: Prisma.SelectSubset<T, NetworkSettingsUpsertArgs<ExtArgs>>): Prisma.Prisma__NetworkSettingsClient<runtime.Types.Result.GetResult<Prisma.$NetworkSettingsPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
585
|
+
/**
|
|
586
|
+
* Count the number of NetworkSettings.
|
|
587
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
588
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
589
|
+
* @param {NetworkSettingsCountArgs} args - Arguments to filter NetworkSettings to count.
|
|
590
|
+
* @example
|
|
591
|
+
* // Count the number of NetworkSettings
|
|
592
|
+
* const count = await prisma.networkSettings.count({
|
|
593
|
+
* where: {
|
|
594
|
+
* // ... the filter for the NetworkSettings we want to count
|
|
595
|
+
* }
|
|
596
|
+
* })
|
|
597
|
+
**/
|
|
598
|
+
count<T extends NetworkSettingsCountArgs>(args?: Prisma.Subset<T, NetworkSettingsCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], NetworkSettingsCountAggregateOutputType> : number>;
|
|
599
|
+
/**
|
|
600
|
+
* Allows you to perform aggregations operations on a NetworkSettings.
|
|
601
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
602
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
603
|
+
* @param {NetworkSettingsAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
604
|
+
* @example
|
|
605
|
+
* // Ordered by age ascending
|
|
606
|
+
* // Where email contains prisma.io
|
|
607
|
+
* // Limited to the 10 users
|
|
608
|
+
* const aggregations = await prisma.user.aggregate({
|
|
609
|
+
* _avg: {
|
|
610
|
+
* age: true,
|
|
611
|
+
* },
|
|
612
|
+
* where: {
|
|
613
|
+
* email: {
|
|
614
|
+
* contains: "prisma.io",
|
|
615
|
+
* },
|
|
616
|
+
* },
|
|
617
|
+
* orderBy: {
|
|
618
|
+
* age: "asc",
|
|
619
|
+
* },
|
|
620
|
+
* take: 10,
|
|
621
|
+
* })
|
|
622
|
+
**/
|
|
623
|
+
aggregate<T extends NetworkSettingsAggregateArgs>(args: Prisma.Subset<T, NetworkSettingsAggregateArgs>): Prisma.PrismaPromise<GetNetworkSettingsAggregateType<T>>;
|
|
624
|
+
/**
|
|
625
|
+
* Group by NetworkSettings.
|
|
626
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
627
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
628
|
+
* @param {NetworkSettingsGroupByArgs} args - Group by arguments.
|
|
629
|
+
* @example
|
|
630
|
+
* // Group by city, order by createdAt, get count
|
|
631
|
+
* const result = await prisma.user.groupBy({
|
|
632
|
+
* by: ['city', 'createdAt'],
|
|
633
|
+
* orderBy: {
|
|
634
|
+
* createdAt: true
|
|
635
|
+
* },
|
|
636
|
+
* _count: {
|
|
637
|
+
* _all: true
|
|
638
|
+
* },
|
|
639
|
+
* })
|
|
640
|
+
*
|
|
641
|
+
**/
|
|
642
|
+
groupBy<T extends NetworkSettingsGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
|
|
643
|
+
orderBy: NetworkSettingsGroupByArgs['orderBy'];
|
|
644
|
+
} : {
|
|
645
|
+
orderBy?: NetworkSettingsGroupByArgs['orderBy'];
|
|
646
|
+
}, 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 ? {
|
|
647
|
+
[P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
|
|
648
|
+
Error,
|
|
649
|
+
'Field ',
|
|
650
|
+
P,
|
|
651
|
+
` in "having" needs to be provided in "by"`
|
|
652
|
+
];
|
|
653
|
+
}[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
654
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
655
|
+
}[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 ? {} : {
|
|
656
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
657
|
+
}[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
|
|
658
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
659
|
+
}[OrderFields]>(args: Prisma.SubsetIntersection<T, NetworkSettingsGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetNetworkSettingsGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
|
|
660
|
+
/**
|
|
661
|
+
* Fields of the NetworkSettings model
|
|
662
|
+
*/
|
|
663
|
+
readonly fields: NetworkSettingsFieldRefs;
|
|
664
|
+
}
|
|
665
|
+
/**
|
|
666
|
+
* The delegate class that acts as a "Promise-like" for NetworkSettings.
|
|
667
|
+
* Why is this prefixed with `Prisma__`?
|
|
668
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
669
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
670
|
+
*/
|
|
671
|
+
export interface Prisma__NetworkSettingsClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
672
|
+
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
673
|
+
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>;
|
|
674
|
+
/**
|
|
675
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
676
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
677
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
678
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
679
|
+
*/
|
|
680
|
+
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>;
|
|
681
|
+
/**
|
|
682
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
683
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
684
|
+
* @returns A Promise for the completion of the callback.
|
|
685
|
+
*/
|
|
686
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
|
|
687
|
+
/**
|
|
688
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
689
|
+
* resolved value cannot be modified from the callback.
|
|
690
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
691
|
+
* @returns A Promise for the completion of the callback.
|
|
692
|
+
*/
|
|
693
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
|
|
694
|
+
}
|
|
695
|
+
/**
|
|
696
|
+
* Fields of the NetworkSettings model
|
|
697
|
+
*/
|
|
698
|
+
export interface NetworkSettingsFieldRefs {
|
|
699
|
+
readonly fleetId: Prisma.FieldRef<"NetworkSettings", 'String'>;
|
|
700
|
+
readonly rules: Prisma.FieldRef<"NetworkSettings", 'Json'>;
|
|
701
|
+
readonly version: Prisma.FieldRef<"NetworkSettings", 'Int'>;
|
|
702
|
+
}
|
|
703
|
+
/**
|
|
704
|
+
* NetworkSettings findUnique
|
|
705
|
+
*/
|
|
706
|
+
export type NetworkSettingsFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
707
|
+
/**
|
|
708
|
+
* Select specific fields to fetch from the NetworkSettings
|
|
709
|
+
*/
|
|
710
|
+
select?: Prisma.NetworkSettingsSelect<ExtArgs> | null;
|
|
711
|
+
/**
|
|
712
|
+
* Omit specific fields from the NetworkSettings
|
|
713
|
+
*/
|
|
714
|
+
omit?: Prisma.NetworkSettingsOmit<ExtArgs> | null;
|
|
715
|
+
/**
|
|
716
|
+
* Choose, which related nodes to fetch as well
|
|
717
|
+
*/
|
|
718
|
+
include?: Prisma.NetworkSettingsInclude<ExtArgs> | null;
|
|
719
|
+
/**
|
|
720
|
+
* Filter, which NetworkSettings to fetch.
|
|
721
|
+
*/
|
|
722
|
+
where: Prisma.NetworkSettingsWhereUniqueInput;
|
|
723
|
+
};
|
|
724
|
+
/**
|
|
725
|
+
* NetworkSettings findUniqueOrThrow
|
|
726
|
+
*/
|
|
727
|
+
export type NetworkSettingsFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
728
|
+
/**
|
|
729
|
+
* Select specific fields to fetch from the NetworkSettings
|
|
730
|
+
*/
|
|
731
|
+
select?: Prisma.NetworkSettingsSelect<ExtArgs> | null;
|
|
732
|
+
/**
|
|
733
|
+
* Omit specific fields from the NetworkSettings
|
|
734
|
+
*/
|
|
735
|
+
omit?: Prisma.NetworkSettingsOmit<ExtArgs> | null;
|
|
736
|
+
/**
|
|
737
|
+
* Choose, which related nodes to fetch as well
|
|
738
|
+
*/
|
|
739
|
+
include?: Prisma.NetworkSettingsInclude<ExtArgs> | null;
|
|
740
|
+
/**
|
|
741
|
+
* Filter, which NetworkSettings to fetch.
|
|
742
|
+
*/
|
|
743
|
+
where: Prisma.NetworkSettingsWhereUniqueInput;
|
|
744
|
+
};
|
|
745
|
+
/**
|
|
746
|
+
* NetworkSettings findFirst
|
|
747
|
+
*/
|
|
748
|
+
export type NetworkSettingsFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
749
|
+
/**
|
|
750
|
+
* Select specific fields to fetch from the NetworkSettings
|
|
751
|
+
*/
|
|
752
|
+
select?: Prisma.NetworkSettingsSelect<ExtArgs> | null;
|
|
753
|
+
/**
|
|
754
|
+
* Omit specific fields from the NetworkSettings
|
|
755
|
+
*/
|
|
756
|
+
omit?: Prisma.NetworkSettingsOmit<ExtArgs> | null;
|
|
757
|
+
/**
|
|
758
|
+
* Choose, which related nodes to fetch as well
|
|
759
|
+
*/
|
|
760
|
+
include?: Prisma.NetworkSettingsInclude<ExtArgs> | null;
|
|
761
|
+
/**
|
|
762
|
+
* Filter, which NetworkSettings to fetch.
|
|
763
|
+
*/
|
|
764
|
+
where?: Prisma.NetworkSettingsWhereInput;
|
|
765
|
+
/**
|
|
766
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
767
|
+
*
|
|
768
|
+
* Determine the order of NetworkSettings to fetch.
|
|
769
|
+
*/
|
|
770
|
+
orderBy?: Prisma.NetworkSettingsOrderByWithRelationInput | Prisma.NetworkSettingsOrderByWithRelationInput[];
|
|
771
|
+
/**
|
|
772
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
773
|
+
*
|
|
774
|
+
* Sets the position for searching for NetworkSettings.
|
|
775
|
+
*/
|
|
776
|
+
cursor?: Prisma.NetworkSettingsWhereUniqueInput;
|
|
777
|
+
/**
|
|
778
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
779
|
+
*
|
|
780
|
+
* Take `±n` NetworkSettings from the position of the cursor.
|
|
781
|
+
*/
|
|
782
|
+
take?: number;
|
|
783
|
+
/**
|
|
784
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
785
|
+
*
|
|
786
|
+
* Skip the first `n` NetworkSettings.
|
|
787
|
+
*/
|
|
788
|
+
skip?: number;
|
|
789
|
+
/**
|
|
790
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
791
|
+
*
|
|
792
|
+
* Filter by unique combinations of NetworkSettings.
|
|
793
|
+
*/
|
|
794
|
+
distinct?: Prisma.NetworkSettingsScalarFieldEnum | Prisma.NetworkSettingsScalarFieldEnum[];
|
|
795
|
+
};
|
|
796
|
+
/**
|
|
797
|
+
* NetworkSettings findFirstOrThrow
|
|
798
|
+
*/
|
|
799
|
+
export type NetworkSettingsFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
800
|
+
/**
|
|
801
|
+
* Select specific fields to fetch from the NetworkSettings
|
|
802
|
+
*/
|
|
803
|
+
select?: Prisma.NetworkSettingsSelect<ExtArgs> | null;
|
|
804
|
+
/**
|
|
805
|
+
* Omit specific fields from the NetworkSettings
|
|
806
|
+
*/
|
|
807
|
+
omit?: Prisma.NetworkSettingsOmit<ExtArgs> | null;
|
|
808
|
+
/**
|
|
809
|
+
* Choose, which related nodes to fetch as well
|
|
810
|
+
*/
|
|
811
|
+
include?: Prisma.NetworkSettingsInclude<ExtArgs> | null;
|
|
812
|
+
/**
|
|
813
|
+
* Filter, which NetworkSettings to fetch.
|
|
814
|
+
*/
|
|
815
|
+
where?: Prisma.NetworkSettingsWhereInput;
|
|
816
|
+
/**
|
|
817
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
818
|
+
*
|
|
819
|
+
* Determine the order of NetworkSettings to fetch.
|
|
820
|
+
*/
|
|
821
|
+
orderBy?: Prisma.NetworkSettingsOrderByWithRelationInput | Prisma.NetworkSettingsOrderByWithRelationInput[];
|
|
822
|
+
/**
|
|
823
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
824
|
+
*
|
|
825
|
+
* Sets the position for searching for NetworkSettings.
|
|
826
|
+
*/
|
|
827
|
+
cursor?: Prisma.NetworkSettingsWhereUniqueInput;
|
|
828
|
+
/**
|
|
829
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
830
|
+
*
|
|
831
|
+
* Take `±n` NetworkSettings from the position of the cursor.
|
|
832
|
+
*/
|
|
833
|
+
take?: number;
|
|
834
|
+
/**
|
|
835
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
836
|
+
*
|
|
837
|
+
* Skip the first `n` NetworkSettings.
|
|
838
|
+
*/
|
|
839
|
+
skip?: number;
|
|
840
|
+
/**
|
|
841
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
842
|
+
*
|
|
843
|
+
* Filter by unique combinations of NetworkSettings.
|
|
844
|
+
*/
|
|
845
|
+
distinct?: Prisma.NetworkSettingsScalarFieldEnum | Prisma.NetworkSettingsScalarFieldEnum[];
|
|
846
|
+
};
|
|
847
|
+
/**
|
|
848
|
+
* NetworkSettings findMany
|
|
849
|
+
*/
|
|
850
|
+
export type NetworkSettingsFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
851
|
+
/**
|
|
852
|
+
* Select specific fields to fetch from the NetworkSettings
|
|
853
|
+
*/
|
|
854
|
+
select?: Prisma.NetworkSettingsSelect<ExtArgs> | null;
|
|
855
|
+
/**
|
|
856
|
+
* Omit specific fields from the NetworkSettings
|
|
857
|
+
*/
|
|
858
|
+
omit?: Prisma.NetworkSettingsOmit<ExtArgs> | null;
|
|
859
|
+
/**
|
|
860
|
+
* Choose, which related nodes to fetch as well
|
|
861
|
+
*/
|
|
862
|
+
include?: Prisma.NetworkSettingsInclude<ExtArgs> | null;
|
|
863
|
+
/**
|
|
864
|
+
* Filter, which NetworkSettings to fetch.
|
|
865
|
+
*/
|
|
866
|
+
where?: Prisma.NetworkSettingsWhereInput;
|
|
867
|
+
/**
|
|
868
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
869
|
+
*
|
|
870
|
+
* Determine the order of NetworkSettings to fetch.
|
|
871
|
+
*/
|
|
872
|
+
orderBy?: Prisma.NetworkSettingsOrderByWithRelationInput | Prisma.NetworkSettingsOrderByWithRelationInput[];
|
|
873
|
+
/**
|
|
874
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
875
|
+
*
|
|
876
|
+
* Sets the position for listing NetworkSettings.
|
|
877
|
+
*/
|
|
878
|
+
cursor?: Prisma.NetworkSettingsWhereUniqueInput;
|
|
879
|
+
/**
|
|
880
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
881
|
+
*
|
|
882
|
+
* Take `±n` NetworkSettings from the position of the cursor.
|
|
883
|
+
*/
|
|
884
|
+
take?: number;
|
|
885
|
+
/**
|
|
886
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
887
|
+
*
|
|
888
|
+
* Skip the first `n` NetworkSettings.
|
|
889
|
+
*/
|
|
890
|
+
skip?: number;
|
|
891
|
+
/**
|
|
892
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
893
|
+
*
|
|
894
|
+
* Filter by unique combinations of NetworkSettings.
|
|
895
|
+
*/
|
|
896
|
+
distinct?: Prisma.NetworkSettingsScalarFieldEnum | Prisma.NetworkSettingsScalarFieldEnum[];
|
|
897
|
+
};
|
|
898
|
+
/**
|
|
899
|
+
* NetworkSettings create
|
|
900
|
+
*/
|
|
901
|
+
export type NetworkSettingsCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
902
|
+
/**
|
|
903
|
+
* Select specific fields to fetch from the NetworkSettings
|
|
904
|
+
*/
|
|
905
|
+
select?: Prisma.NetworkSettingsSelect<ExtArgs> | null;
|
|
906
|
+
/**
|
|
907
|
+
* Omit specific fields from the NetworkSettings
|
|
908
|
+
*/
|
|
909
|
+
omit?: Prisma.NetworkSettingsOmit<ExtArgs> | null;
|
|
910
|
+
/**
|
|
911
|
+
* Choose, which related nodes to fetch as well
|
|
912
|
+
*/
|
|
913
|
+
include?: Prisma.NetworkSettingsInclude<ExtArgs> | null;
|
|
914
|
+
/**
|
|
915
|
+
* The data needed to create a NetworkSettings.
|
|
916
|
+
*/
|
|
917
|
+
data: Prisma.XOR<Prisma.NetworkSettingsCreateInput, Prisma.NetworkSettingsUncheckedCreateInput>;
|
|
918
|
+
};
|
|
919
|
+
/**
|
|
920
|
+
* NetworkSettings createMany
|
|
921
|
+
*/
|
|
922
|
+
export type NetworkSettingsCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
923
|
+
/**
|
|
924
|
+
* The data used to create many NetworkSettings.
|
|
925
|
+
*/
|
|
926
|
+
data: Prisma.NetworkSettingsCreateManyInput | Prisma.NetworkSettingsCreateManyInput[];
|
|
927
|
+
skipDuplicates?: boolean;
|
|
928
|
+
};
|
|
929
|
+
/**
|
|
930
|
+
* NetworkSettings createManyAndReturn
|
|
931
|
+
*/
|
|
932
|
+
export type NetworkSettingsCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
933
|
+
/**
|
|
934
|
+
* Select specific fields to fetch from the NetworkSettings
|
|
935
|
+
*/
|
|
936
|
+
select?: Prisma.NetworkSettingsSelectCreateManyAndReturn<ExtArgs> | null;
|
|
937
|
+
/**
|
|
938
|
+
* Omit specific fields from the NetworkSettings
|
|
939
|
+
*/
|
|
940
|
+
omit?: Prisma.NetworkSettingsOmit<ExtArgs> | null;
|
|
941
|
+
/**
|
|
942
|
+
* The data used to create many NetworkSettings.
|
|
943
|
+
*/
|
|
944
|
+
data: Prisma.NetworkSettingsCreateManyInput | Prisma.NetworkSettingsCreateManyInput[];
|
|
945
|
+
skipDuplicates?: boolean;
|
|
946
|
+
/**
|
|
947
|
+
* Choose, which related nodes to fetch as well
|
|
948
|
+
*/
|
|
949
|
+
include?: Prisma.NetworkSettingsIncludeCreateManyAndReturn<ExtArgs> | null;
|
|
950
|
+
};
|
|
951
|
+
/**
|
|
952
|
+
* NetworkSettings update
|
|
953
|
+
*/
|
|
954
|
+
export type NetworkSettingsUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
955
|
+
/**
|
|
956
|
+
* Select specific fields to fetch from the NetworkSettings
|
|
957
|
+
*/
|
|
958
|
+
select?: Prisma.NetworkSettingsSelect<ExtArgs> | null;
|
|
959
|
+
/**
|
|
960
|
+
* Omit specific fields from the NetworkSettings
|
|
961
|
+
*/
|
|
962
|
+
omit?: Prisma.NetworkSettingsOmit<ExtArgs> | null;
|
|
963
|
+
/**
|
|
964
|
+
* Choose, which related nodes to fetch as well
|
|
965
|
+
*/
|
|
966
|
+
include?: Prisma.NetworkSettingsInclude<ExtArgs> | null;
|
|
967
|
+
/**
|
|
968
|
+
* The data needed to update a NetworkSettings.
|
|
969
|
+
*/
|
|
970
|
+
data: Prisma.XOR<Prisma.NetworkSettingsUpdateInput, Prisma.NetworkSettingsUncheckedUpdateInput>;
|
|
971
|
+
/**
|
|
972
|
+
* Choose, which NetworkSettings to update.
|
|
973
|
+
*/
|
|
974
|
+
where: Prisma.NetworkSettingsWhereUniqueInput;
|
|
975
|
+
};
|
|
976
|
+
/**
|
|
977
|
+
* NetworkSettings updateMany
|
|
978
|
+
*/
|
|
979
|
+
export type NetworkSettingsUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
980
|
+
/**
|
|
981
|
+
* The data used to update NetworkSettings.
|
|
982
|
+
*/
|
|
983
|
+
data: Prisma.XOR<Prisma.NetworkSettingsUpdateManyMutationInput, Prisma.NetworkSettingsUncheckedUpdateManyInput>;
|
|
984
|
+
/**
|
|
985
|
+
* Filter which NetworkSettings to update
|
|
986
|
+
*/
|
|
987
|
+
where?: Prisma.NetworkSettingsWhereInput;
|
|
988
|
+
/**
|
|
989
|
+
* Limit how many NetworkSettings to update.
|
|
990
|
+
*/
|
|
991
|
+
limit?: number;
|
|
992
|
+
};
|
|
993
|
+
/**
|
|
994
|
+
* NetworkSettings updateManyAndReturn
|
|
995
|
+
*/
|
|
996
|
+
export type NetworkSettingsUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
997
|
+
/**
|
|
998
|
+
* Select specific fields to fetch from the NetworkSettings
|
|
999
|
+
*/
|
|
1000
|
+
select?: Prisma.NetworkSettingsSelectUpdateManyAndReturn<ExtArgs> | null;
|
|
1001
|
+
/**
|
|
1002
|
+
* Omit specific fields from the NetworkSettings
|
|
1003
|
+
*/
|
|
1004
|
+
omit?: Prisma.NetworkSettingsOmit<ExtArgs> | null;
|
|
1005
|
+
/**
|
|
1006
|
+
* The data used to update NetworkSettings.
|
|
1007
|
+
*/
|
|
1008
|
+
data: Prisma.XOR<Prisma.NetworkSettingsUpdateManyMutationInput, Prisma.NetworkSettingsUncheckedUpdateManyInput>;
|
|
1009
|
+
/**
|
|
1010
|
+
* Filter which NetworkSettings to update
|
|
1011
|
+
*/
|
|
1012
|
+
where?: Prisma.NetworkSettingsWhereInput;
|
|
1013
|
+
/**
|
|
1014
|
+
* Limit how many NetworkSettings to update.
|
|
1015
|
+
*/
|
|
1016
|
+
limit?: number;
|
|
1017
|
+
/**
|
|
1018
|
+
* Choose, which related nodes to fetch as well
|
|
1019
|
+
*/
|
|
1020
|
+
include?: Prisma.NetworkSettingsIncludeUpdateManyAndReturn<ExtArgs> | null;
|
|
1021
|
+
};
|
|
1022
|
+
/**
|
|
1023
|
+
* NetworkSettings upsert
|
|
1024
|
+
*/
|
|
1025
|
+
export type NetworkSettingsUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1026
|
+
/**
|
|
1027
|
+
* Select specific fields to fetch from the NetworkSettings
|
|
1028
|
+
*/
|
|
1029
|
+
select?: Prisma.NetworkSettingsSelect<ExtArgs> | null;
|
|
1030
|
+
/**
|
|
1031
|
+
* Omit specific fields from the NetworkSettings
|
|
1032
|
+
*/
|
|
1033
|
+
omit?: Prisma.NetworkSettingsOmit<ExtArgs> | null;
|
|
1034
|
+
/**
|
|
1035
|
+
* Choose, which related nodes to fetch as well
|
|
1036
|
+
*/
|
|
1037
|
+
include?: Prisma.NetworkSettingsInclude<ExtArgs> | null;
|
|
1038
|
+
/**
|
|
1039
|
+
* The filter to search for the NetworkSettings to update in case it exists.
|
|
1040
|
+
*/
|
|
1041
|
+
where: Prisma.NetworkSettingsWhereUniqueInput;
|
|
1042
|
+
/**
|
|
1043
|
+
* In case the NetworkSettings found by the `where` argument doesn't exist, create a new NetworkSettings with this data.
|
|
1044
|
+
*/
|
|
1045
|
+
create: Prisma.XOR<Prisma.NetworkSettingsCreateInput, Prisma.NetworkSettingsUncheckedCreateInput>;
|
|
1046
|
+
/**
|
|
1047
|
+
* In case the NetworkSettings was found with the provided `where` argument, update it with this data.
|
|
1048
|
+
*/
|
|
1049
|
+
update: Prisma.XOR<Prisma.NetworkSettingsUpdateInput, Prisma.NetworkSettingsUncheckedUpdateInput>;
|
|
1050
|
+
};
|
|
1051
|
+
/**
|
|
1052
|
+
* NetworkSettings delete
|
|
1053
|
+
*/
|
|
1054
|
+
export type NetworkSettingsDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1055
|
+
/**
|
|
1056
|
+
* Select specific fields to fetch from the NetworkSettings
|
|
1057
|
+
*/
|
|
1058
|
+
select?: Prisma.NetworkSettingsSelect<ExtArgs> | null;
|
|
1059
|
+
/**
|
|
1060
|
+
* Omit specific fields from the NetworkSettings
|
|
1061
|
+
*/
|
|
1062
|
+
omit?: Prisma.NetworkSettingsOmit<ExtArgs> | null;
|
|
1063
|
+
/**
|
|
1064
|
+
* Choose, which related nodes to fetch as well
|
|
1065
|
+
*/
|
|
1066
|
+
include?: Prisma.NetworkSettingsInclude<ExtArgs> | null;
|
|
1067
|
+
/**
|
|
1068
|
+
* Filter which NetworkSettings to delete.
|
|
1069
|
+
*/
|
|
1070
|
+
where: Prisma.NetworkSettingsWhereUniqueInput;
|
|
1071
|
+
};
|
|
1072
|
+
/**
|
|
1073
|
+
* NetworkSettings deleteMany
|
|
1074
|
+
*/
|
|
1075
|
+
export type NetworkSettingsDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1076
|
+
/**
|
|
1077
|
+
* Filter which NetworkSettings to delete
|
|
1078
|
+
*/
|
|
1079
|
+
where?: Prisma.NetworkSettingsWhereInput;
|
|
1080
|
+
/**
|
|
1081
|
+
* Limit how many NetworkSettings to delete.
|
|
1082
|
+
*/
|
|
1083
|
+
limit?: number;
|
|
1084
|
+
};
|
|
1085
|
+
/**
|
|
1086
|
+
* NetworkSettings without action
|
|
1087
|
+
*/
|
|
1088
|
+
export type NetworkSettingsDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1089
|
+
/**
|
|
1090
|
+
* Select specific fields to fetch from the NetworkSettings
|
|
1091
|
+
*/
|
|
1092
|
+
select?: Prisma.NetworkSettingsSelect<ExtArgs> | null;
|
|
1093
|
+
/**
|
|
1094
|
+
* Omit specific fields from the NetworkSettings
|
|
1095
|
+
*/
|
|
1096
|
+
omit?: Prisma.NetworkSettingsOmit<ExtArgs> | null;
|
|
1097
|
+
/**
|
|
1098
|
+
* Choose, which related nodes to fetch as well
|
|
1099
|
+
*/
|
|
1100
|
+
include?: Prisma.NetworkSettingsInclude<ExtArgs> | null;
|
|
1101
|
+
};
|