@crossauth/fastify 1.0.0 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/fastifysession.d.ts +2 -2
- package/dist/index.cjs +1 -1
- package/dist/index.js +1161 -1157
- package/dist/lib/generated/prisma/browser.d.ts +44 -0
- package/dist/lib/generated/prisma/client.d.ts +61 -0
- package/dist/lib/generated/prisma/commonInputTypes.d.ts +355 -0
- package/dist/lib/generated/prisma/enums.d.ts +1 -0
- package/dist/lib/generated/prisma/internal/class.d.ts +203 -0
- package/dist/lib/generated/prisma/internal/prismaNamespace.d.ts +1105 -0
- package/dist/lib/generated/prisma/internal/prismaNamespaceBrowser.d.ts +117 -0
- package/dist/lib/generated/prisma/models/ApiKey.d.ts +1300 -0
- package/dist/lib/generated/prisma/models/Key.d.ts +1308 -0
- package/dist/lib/generated/prisma/models/OAuthAuthorization.d.ts +1310 -0
- package/dist/lib/generated/prisma/models/OAuthClient.d.ts +1576 -0
- package/dist/lib/generated/prisma/models/OAuthClientRedirectUri.d.ts +1136 -0
- package/dist/lib/generated/prisma/models/OAuthClientValidFlow.d.ts +1136 -0
- package/dist/lib/generated/prisma/models/User.d.ts +1890 -0
- package/dist/lib/generated/prisma/models/UserSecrets.d.ts +1099 -0
- package/dist/lib/generated/prisma/models.d.ts +9 -0
- package/package.json +5 -7
|
@@ -0,0 +1,1576 @@
|
|
|
1
|
+
import type * as runtime from "@prisma/client/runtime/client";
|
|
2
|
+
import type * as Prisma from "../internal/prismaNamespace.ts";
|
|
3
|
+
/**
|
|
4
|
+
* Model OAuthClient
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
7
|
+
export type OAuthClientModel = runtime.Types.Result.DefaultSelection<Prisma.$OAuthClientPayload>;
|
|
8
|
+
export type AggregateOAuthClient = {
|
|
9
|
+
_count: OAuthClientCountAggregateOutputType | null;
|
|
10
|
+
_avg: OAuthClientAvgAggregateOutputType | null;
|
|
11
|
+
_sum: OAuthClientSumAggregateOutputType | null;
|
|
12
|
+
_min: OAuthClientMinAggregateOutputType | null;
|
|
13
|
+
_max: OAuthClientMaxAggregateOutputType | null;
|
|
14
|
+
};
|
|
15
|
+
export type OAuthClientAvgAggregateOutputType = {
|
|
16
|
+
userid: number | null;
|
|
17
|
+
};
|
|
18
|
+
export type OAuthClientSumAggregateOutputType = {
|
|
19
|
+
userid: number | null;
|
|
20
|
+
};
|
|
21
|
+
export type OAuthClientMinAggregateOutputType = {
|
|
22
|
+
client_id: string | null;
|
|
23
|
+
confidential: boolean | null;
|
|
24
|
+
client_name: string | null;
|
|
25
|
+
client_secret: string | null;
|
|
26
|
+
userid: number | null;
|
|
27
|
+
};
|
|
28
|
+
export type OAuthClientMaxAggregateOutputType = {
|
|
29
|
+
client_id: string | null;
|
|
30
|
+
confidential: boolean | null;
|
|
31
|
+
client_name: string | null;
|
|
32
|
+
client_secret: string | null;
|
|
33
|
+
userid: number | null;
|
|
34
|
+
};
|
|
35
|
+
export type OAuthClientCountAggregateOutputType = {
|
|
36
|
+
client_id: number;
|
|
37
|
+
confidential: number;
|
|
38
|
+
client_name: number;
|
|
39
|
+
client_secret: number;
|
|
40
|
+
userid: number;
|
|
41
|
+
_all: number;
|
|
42
|
+
};
|
|
43
|
+
export type OAuthClientAvgAggregateInputType = {
|
|
44
|
+
userid?: true;
|
|
45
|
+
};
|
|
46
|
+
export type OAuthClientSumAggregateInputType = {
|
|
47
|
+
userid?: true;
|
|
48
|
+
};
|
|
49
|
+
export type OAuthClientMinAggregateInputType = {
|
|
50
|
+
client_id?: true;
|
|
51
|
+
confidential?: true;
|
|
52
|
+
client_name?: true;
|
|
53
|
+
client_secret?: true;
|
|
54
|
+
userid?: true;
|
|
55
|
+
};
|
|
56
|
+
export type OAuthClientMaxAggregateInputType = {
|
|
57
|
+
client_id?: true;
|
|
58
|
+
confidential?: true;
|
|
59
|
+
client_name?: true;
|
|
60
|
+
client_secret?: true;
|
|
61
|
+
userid?: true;
|
|
62
|
+
};
|
|
63
|
+
export type OAuthClientCountAggregateInputType = {
|
|
64
|
+
client_id?: true;
|
|
65
|
+
confidential?: true;
|
|
66
|
+
client_name?: true;
|
|
67
|
+
client_secret?: true;
|
|
68
|
+
userid?: true;
|
|
69
|
+
_all?: true;
|
|
70
|
+
};
|
|
71
|
+
export type OAuthClientAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
72
|
+
/**
|
|
73
|
+
* Filter which OAuthClient to aggregate.
|
|
74
|
+
*/
|
|
75
|
+
where?: Prisma.OAuthClientWhereInput;
|
|
76
|
+
/**
|
|
77
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
78
|
+
*
|
|
79
|
+
* Determine the order of OAuthClients to fetch.
|
|
80
|
+
*/
|
|
81
|
+
orderBy?: Prisma.OAuthClientOrderByWithRelationInput | Prisma.OAuthClientOrderByWithRelationInput[];
|
|
82
|
+
/**
|
|
83
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
84
|
+
*
|
|
85
|
+
* Sets the start position
|
|
86
|
+
*/
|
|
87
|
+
cursor?: Prisma.OAuthClientWhereUniqueInput;
|
|
88
|
+
/**
|
|
89
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
90
|
+
*
|
|
91
|
+
* Take `±n` OAuthClients from the position of the cursor.
|
|
92
|
+
*/
|
|
93
|
+
take?: number;
|
|
94
|
+
/**
|
|
95
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
96
|
+
*
|
|
97
|
+
* Skip the first `n` OAuthClients.
|
|
98
|
+
*/
|
|
99
|
+
skip?: number;
|
|
100
|
+
/**
|
|
101
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
102
|
+
*
|
|
103
|
+
* Count returned OAuthClients
|
|
104
|
+
**/
|
|
105
|
+
_count?: true | OAuthClientCountAggregateInputType;
|
|
106
|
+
/**
|
|
107
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
108
|
+
*
|
|
109
|
+
* Select which fields to average
|
|
110
|
+
**/
|
|
111
|
+
_avg?: OAuthClientAvgAggregateInputType;
|
|
112
|
+
/**
|
|
113
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
114
|
+
*
|
|
115
|
+
* Select which fields to sum
|
|
116
|
+
**/
|
|
117
|
+
_sum?: OAuthClientSumAggregateInputType;
|
|
118
|
+
/**
|
|
119
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
120
|
+
*
|
|
121
|
+
* Select which fields to find the minimum value
|
|
122
|
+
**/
|
|
123
|
+
_min?: OAuthClientMinAggregateInputType;
|
|
124
|
+
/**
|
|
125
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
126
|
+
*
|
|
127
|
+
* Select which fields to find the maximum value
|
|
128
|
+
**/
|
|
129
|
+
_max?: OAuthClientMaxAggregateInputType;
|
|
130
|
+
};
|
|
131
|
+
export type GetOAuthClientAggregateType<T extends OAuthClientAggregateArgs> = {
|
|
132
|
+
[P in keyof T & keyof AggregateOAuthClient]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateOAuthClient[P]> : Prisma.GetScalarType<T[P], AggregateOAuthClient[P]>;
|
|
133
|
+
};
|
|
134
|
+
export type OAuthClientGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
135
|
+
where?: Prisma.OAuthClientWhereInput;
|
|
136
|
+
orderBy?: Prisma.OAuthClientOrderByWithAggregationInput | Prisma.OAuthClientOrderByWithAggregationInput[];
|
|
137
|
+
by: Prisma.OAuthClientScalarFieldEnum[] | Prisma.OAuthClientScalarFieldEnum;
|
|
138
|
+
having?: Prisma.OAuthClientScalarWhereWithAggregatesInput;
|
|
139
|
+
take?: number;
|
|
140
|
+
skip?: number;
|
|
141
|
+
_count?: OAuthClientCountAggregateInputType | true;
|
|
142
|
+
_avg?: OAuthClientAvgAggregateInputType;
|
|
143
|
+
_sum?: OAuthClientSumAggregateInputType;
|
|
144
|
+
_min?: OAuthClientMinAggregateInputType;
|
|
145
|
+
_max?: OAuthClientMaxAggregateInputType;
|
|
146
|
+
};
|
|
147
|
+
export type OAuthClientGroupByOutputType = {
|
|
148
|
+
client_id: string;
|
|
149
|
+
confidential: boolean;
|
|
150
|
+
client_name: string;
|
|
151
|
+
client_secret: string | null;
|
|
152
|
+
userid: number | null;
|
|
153
|
+
_count: OAuthClientCountAggregateOutputType | null;
|
|
154
|
+
_avg: OAuthClientAvgAggregateOutputType | null;
|
|
155
|
+
_sum: OAuthClientSumAggregateOutputType | null;
|
|
156
|
+
_min: OAuthClientMinAggregateOutputType | null;
|
|
157
|
+
_max: OAuthClientMaxAggregateOutputType | null;
|
|
158
|
+
};
|
|
159
|
+
type GetOAuthClientGroupByPayload<T extends OAuthClientGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<OAuthClientGroupByOutputType, T['by']> & {
|
|
160
|
+
[P in ((keyof T) & (keyof OAuthClientGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], OAuthClientGroupByOutputType[P]> : Prisma.GetScalarType<T[P], OAuthClientGroupByOutputType[P]>;
|
|
161
|
+
}>>;
|
|
162
|
+
export type OAuthClientWhereInput = {
|
|
163
|
+
AND?: Prisma.OAuthClientWhereInput | Prisma.OAuthClientWhereInput[];
|
|
164
|
+
OR?: Prisma.OAuthClientWhereInput[];
|
|
165
|
+
NOT?: Prisma.OAuthClientWhereInput | Prisma.OAuthClientWhereInput[];
|
|
166
|
+
client_id?: Prisma.StringFilter<"OAuthClient"> | string;
|
|
167
|
+
confidential?: Prisma.BoolFilter<"OAuthClient"> | boolean;
|
|
168
|
+
client_name?: Prisma.StringFilter<"OAuthClient"> | string;
|
|
169
|
+
client_secret?: Prisma.StringNullableFilter<"OAuthClient"> | string | null;
|
|
170
|
+
userid?: Prisma.IntNullableFilter<"OAuthClient"> | number | null;
|
|
171
|
+
redirect_uri?: Prisma.OAuthClientRedirectUriListRelationFilter;
|
|
172
|
+
authorization?: Prisma.OAuthAuthorizationListRelationFilter;
|
|
173
|
+
valid_flow?: Prisma.OAuthClientValidFlowListRelationFilter;
|
|
174
|
+
user?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null;
|
|
175
|
+
};
|
|
176
|
+
export type OAuthClientOrderByWithRelationInput = {
|
|
177
|
+
client_id?: Prisma.SortOrder;
|
|
178
|
+
confidential?: Prisma.SortOrder;
|
|
179
|
+
client_name?: Prisma.SortOrder;
|
|
180
|
+
client_secret?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
181
|
+
userid?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
182
|
+
redirect_uri?: Prisma.OAuthClientRedirectUriOrderByRelationAggregateInput;
|
|
183
|
+
authorization?: Prisma.OAuthAuthorizationOrderByRelationAggregateInput;
|
|
184
|
+
valid_flow?: Prisma.OAuthClientValidFlowOrderByRelationAggregateInput;
|
|
185
|
+
user?: Prisma.UserOrderByWithRelationInput;
|
|
186
|
+
};
|
|
187
|
+
export type OAuthClientWhereUniqueInput = Prisma.AtLeast<{
|
|
188
|
+
client_id?: string;
|
|
189
|
+
AND?: Prisma.OAuthClientWhereInput | Prisma.OAuthClientWhereInput[];
|
|
190
|
+
OR?: Prisma.OAuthClientWhereInput[];
|
|
191
|
+
NOT?: Prisma.OAuthClientWhereInput | Prisma.OAuthClientWhereInput[];
|
|
192
|
+
confidential?: Prisma.BoolFilter<"OAuthClient"> | boolean;
|
|
193
|
+
client_name?: Prisma.StringFilter<"OAuthClient"> | string;
|
|
194
|
+
client_secret?: Prisma.StringNullableFilter<"OAuthClient"> | string | null;
|
|
195
|
+
userid?: Prisma.IntNullableFilter<"OAuthClient"> | number | null;
|
|
196
|
+
redirect_uri?: Prisma.OAuthClientRedirectUriListRelationFilter;
|
|
197
|
+
authorization?: Prisma.OAuthAuthorizationListRelationFilter;
|
|
198
|
+
valid_flow?: Prisma.OAuthClientValidFlowListRelationFilter;
|
|
199
|
+
user?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null;
|
|
200
|
+
}, "client_id" | "client_id">;
|
|
201
|
+
export type OAuthClientOrderByWithAggregationInput = {
|
|
202
|
+
client_id?: Prisma.SortOrder;
|
|
203
|
+
confidential?: Prisma.SortOrder;
|
|
204
|
+
client_name?: Prisma.SortOrder;
|
|
205
|
+
client_secret?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
206
|
+
userid?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
207
|
+
_count?: Prisma.OAuthClientCountOrderByAggregateInput;
|
|
208
|
+
_avg?: Prisma.OAuthClientAvgOrderByAggregateInput;
|
|
209
|
+
_max?: Prisma.OAuthClientMaxOrderByAggregateInput;
|
|
210
|
+
_min?: Prisma.OAuthClientMinOrderByAggregateInput;
|
|
211
|
+
_sum?: Prisma.OAuthClientSumOrderByAggregateInput;
|
|
212
|
+
};
|
|
213
|
+
export type OAuthClientScalarWhereWithAggregatesInput = {
|
|
214
|
+
AND?: Prisma.OAuthClientScalarWhereWithAggregatesInput | Prisma.OAuthClientScalarWhereWithAggregatesInput[];
|
|
215
|
+
OR?: Prisma.OAuthClientScalarWhereWithAggregatesInput[];
|
|
216
|
+
NOT?: Prisma.OAuthClientScalarWhereWithAggregatesInput | Prisma.OAuthClientScalarWhereWithAggregatesInput[];
|
|
217
|
+
client_id?: Prisma.StringWithAggregatesFilter<"OAuthClient"> | string;
|
|
218
|
+
confidential?: Prisma.BoolWithAggregatesFilter<"OAuthClient"> | boolean;
|
|
219
|
+
client_name?: Prisma.StringWithAggregatesFilter<"OAuthClient"> | string;
|
|
220
|
+
client_secret?: Prisma.StringNullableWithAggregatesFilter<"OAuthClient"> | string | null;
|
|
221
|
+
userid?: Prisma.IntNullableWithAggregatesFilter<"OAuthClient"> | number | null;
|
|
222
|
+
};
|
|
223
|
+
export type OAuthClientCreateInput = {
|
|
224
|
+
client_id: string;
|
|
225
|
+
confidential?: boolean;
|
|
226
|
+
client_name: string;
|
|
227
|
+
client_secret?: string | null;
|
|
228
|
+
redirect_uri?: Prisma.OAuthClientRedirectUriCreateNestedManyWithoutClientInput;
|
|
229
|
+
authorization?: Prisma.OAuthAuthorizationCreateNestedManyWithoutClientInput;
|
|
230
|
+
valid_flow?: Prisma.OAuthClientValidFlowCreateNestedManyWithoutClientInput;
|
|
231
|
+
user?: Prisma.UserCreateNestedOneWithoutOauthClientsInput;
|
|
232
|
+
};
|
|
233
|
+
export type OAuthClientUncheckedCreateInput = {
|
|
234
|
+
client_id: string;
|
|
235
|
+
confidential?: boolean;
|
|
236
|
+
client_name: string;
|
|
237
|
+
client_secret?: string | null;
|
|
238
|
+
userid?: number | null;
|
|
239
|
+
redirect_uri?: Prisma.OAuthClientRedirectUriUncheckedCreateNestedManyWithoutClientInput;
|
|
240
|
+
authorization?: Prisma.OAuthAuthorizationUncheckedCreateNestedManyWithoutClientInput;
|
|
241
|
+
valid_flow?: Prisma.OAuthClientValidFlowUncheckedCreateNestedManyWithoutClientInput;
|
|
242
|
+
};
|
|
243
|
+
export type OAuthClientUpdateInput = {
|
|
244
|
+
client_id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
245
|
+
confidential?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
246
|
+
client_name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
247
|
+
client_secret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
248
|
+
redirect_uri?: Prisma.OAuthClientRedirectUriUpdateManyWithoutClientNestedInput;
|
|
249
|
+
authorization?: Prisma.OAuthAuthorizationUpdateManyWithoutClientNestedInput;
|
|
250
|
+
valid_flow?: Prisma.OAuthClientValidFlowUpdateManyWithoutClientNestedInput;
|
|
251
|
+
user?: Prisma.UserUpdateOneWithoutOauthClientsNestedInput;
|
|
252
|
+
};
|
|
253
|
+
export type OAuthClientUncheckedUpdateInput = {
|
|
254
|
+
client_id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
255
|
+
confidential?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
256
|
+
client_name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
257
|
+
client_secret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
258
|
+
userid?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
259
|
+
redirect_uri?: Prisma.OAuthClientRedirectUriUncheckedUpdateManyWithoutClientNestedInput;
|
|
260
|
+
authorization?: Prisma.OAuthAuthorizationUncheckedUpdateManyWithoutClientNestedInput;
|
|
261
|
+
valid_flow?: Prisma.OAuthClientValidFlowUncheckedUpdateManyWithoutClientNestedInput;
|
|
262
|
+
};
|
|
263
|
+
export type OAuthClientCreateManyInput = {
|
|
264
|
+
client_id: string;
|
|
265
|
+
confidential?: boolean;
|
|
266
|
+
client_name: string;
|
|
267
|
+
client_secret?: string | null;
|
|
268
|
+
userid?: number | null;
|
|
269
|
+
};
|
|
270
|
+
export type OAuthClientUpdateManyMutationInput = {
|
|
271
|
+
client_id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
272
|
+
confidential?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
273
|
+
client_name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
274
|
+
client_secret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
275
|
+
};
|
|
276
|
+
export type OAuthClientUncheckedUpdateManyInput = {
|
|
277
|
+
client_id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
278
|
+
confidential?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
279
|
+
client_name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
280
|
+
client_secret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
281
|
+
userid?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
282
|
+
};
|
|
283
|
+
export type OAuthClientListRelationFilter = {
|
|
284
|
+
every?: Prisma.OAuthClientWhereInput;
|
|
285
|
+
some?: Prisma.OAuthClientWhereInput;
|
|
286
|
+
none?: Prisma.OAuthClientWhereInput;
|
|
287
|
+
};
|
|
288
|
+
export type OAuthClientOrderByRelationAggregateInput = {
|
|
289
|
+
_count?: Prisma.SortOrder;
|
|
290
|
+
};
|
|
291
|
+
export type OAuthClientCountOrderByAggregateInput = {
|
|
292
|
+
client_id?: Prisma.SortOrder;
|
|
293
|
+
confidential?: Prisma.SortOrder;
|
|
294
|
+
client_name?: Prisma.SortOrder;
|
|
295
|
+
client_secret?: Prisma.SortOrder;
|
|
296
|
+
userid?: Prisma.SortOrder;
|
|
297
|
+
};
|
|
298
|
+
export type OAuthClientAvgOrderByAggregateInput = {
|
|
299
|
+
userid?: Prisma.SortOrder;
|
|
300
|
+
};
|
|
301
|
+
export type OAuthClientMaxOrderByAggregateInput = {
|
|
302
|
+
client_id?: Prisma.SortOrder;
|
|
303
|
+
confidential?: Prisma.SortOrder;
|
|
304
|
+
client_name?: Prisma.SortOrder;
|
|
305
|
+
client_secret?: Prisma.SortOrder;
|
|
306
|
+
userid?: Prisma.SortOrder;
|
|
307
|
+
};
|
|
308
|
+
export type OAuthClientMinOrderByAggregateInput = {
|
|
309
|
+
client_id?: Prisma.SortOrder;
|
|
310
|
+
confidential?: Prisma.SortOrder;
|
|
311
|
+
client_name?: Prisma.SortOrder;
|
|
312
|
+
client_secret?: Prisma.SortOrder;
|
|
313
|
+
userid?: Prisma.SortOrder;
|
|
314
|
+
};
|
|
315
|
+
export type OAuthClientSumOrderByAggregateInput = {
|
|
316
|
+
userid?: Prisma.SortOrder;
|
|
317
|
+
};
|
|
318
|
+
export type OAuthClientScalarRelationFilter = {
|
|
319
|
+
is?: Prisma.OAuthClientWhereInput;
|
|
320
|
+
isNot?: Prisma.OAuthClientWhereInput;
|
|
321
|
+
};
|
|
322
|
+
export type OAuthClientNullableScalarRelationFilter = {
|
|
323
|
+
is?: Prisma.OAuthClientWhereInput | null;
|
|
324
|
+
isNot?: Prisma.OAuthClientWhereInput | null;
|
|
325
|
+
};
|
|
326
|
+
export type OAuthClientCreateNestedManyWithoutUserInput = {
|
|
327
|
+
create?: Prisma.XOR<Prisma.OAuthClientCreateWithoutUserInput, Prisma.OAuthClientUncheckedCreateWithoutUserInput> | Prisma.OAuthClientCreateWithoutUserInput[] | Prisma.OAuthClientUncheckedCreateWithoutUserInput[];
|
|
328
|
+
connectOrCreate?: Prisma.OAuthClientCreateOrConnectWithoutUserInput | Prisma.OAuthClientCreateOrConnectWithoutUserInput[];
|
|
329
|
+
createMany?: Prisma.OAuthClientCreateManyUserInputEnvelope;
|
|
330
|
+
connect?: Prisma.OAuthClientWhereUniqueInput | Prisma.OAuthClientWhereUniqueInput[];
|
|
331
|
+
};
|
|
332
|
+
export type OAuthClientUncheckedCreateNestedManyWithoutUserInput = {
|
|
333
|
+
create?: Prisma.XOR<Prisma.OAuthClientCreateWithoutUserInput, Prisma.OAuthClientUncheckedCreateWithoutUserInput> | Prisma.OAuthClientCreateWithoutUserInput[] | Prisma.OAuthClientUncheckedCreateWithoutUserInput[];
|
|
334
|
+
connectOrCreate?: Prisma.OAuthClientCreateOrConnectWithoutUserInput | Prisma.OAuthClientCreateOrConnectWithoutUserInput[];
|
|
335
|
+
createMany?: Prisma.OAuthClientCreateManyUserInputEnvelope;
|
|
336
|
+
connect?: Prisma.OAuthClientWhereUniqueInput | Prisma.OAuthClientWhereUniqueInput[];
|
|
337
|
+
};
|
|
338
|
+
export type OAuthClientUpdateManyWithoutUserNestedInput = {
|
|
339
|
+
create?: Prisma.XOR<Prisma.OAuthClientCreateWithoutUserInput, Prisma.OAuthClientUncheckedCreateWithoutUserInput> | Prisma.OAuthClientCreateWithoutUserInput[] | Prisma.OAuthClientUncheckedCreateWithoutUserInput[];
|
|
340
|
+
connectOrCreate?: Prisma.OAuthClientCreateOrConnectWithoutUserInput | Prisma.OAuthClientCreateOrConnectWithoutUserInput[];
|
|
341
|
+
upsert?: Prisma.OAuthClientUpsertWithWhereUniqueWithoutUserInput | Prisma.OAuthClientUpsertWithWhereUniqueWithoutUserInput[];
|
|
342
|
+
createMany?: Prisma.OAuthClientCreateManyUserInputEnvelope;
|
|
343
|
+
set?: Prisma.OAuthClientWhereUniqueInput | Prisma.OAuthClientWhereUniqueInput[];
|
|
344
|
+
disconnect?: Prisma.OAuthClientWhereUniqueInput | Prisma.OAuthClientWhereUniqueInput[];
|
|
345
|
+
delete?: Prisma.OAuthClientWhereUniqueInput | Prisma.OAuthClientWhereUniqueInput[];
|
|
346
|
+
connect?: Prisma.OAuthClientWhereUniqueInput | Prisma.OAuthClientWhereUniqueInput[];
|
|
347
|
+
update?: Prisma.OAuthClientUpdateWithWhereUniqueWithoutUserInput | Prisma.OAuthClientUpdateWithWhereUniqueWithoutUserInput[];
|
|
348
|
+
updateMany?: Prisma.OAuthClientUpdateManyWithWhereWithoutUserInput | Prisma.OAuthClientUpdateManyWithWhereWithoutUserInput[];
|
|
349
|
+
deleteMany?: Prisma.OAuthClientScalarWhereInput | Prisma.OAuthClientScalarWhereInput[];
|
|
350
|
+
};
|
|
351
|
+
export type OAuthClientUncheckedUpdateManyWithoutUserNestedInput = {
|
|
352
|
+
create?: Prisma.XOR<Prisma.OAuthClientCreateWithoutUserInput, Prisma.OAuthClientUncheckedCreateWithoutUserInput> | Prisma.OAuthClientCreateWithoutUserInput[] | Prisma.OAuthClientUncheckedCreateWithoutUserInput[];
|
|
353
|
+
connectOrCreate?: Prisma.OAuthClientCreateOrConnectWithoutUserInput | Prisma.OAuthClientCreateOrConnectWithoutUserInput[];
|
|
354
|
+
upsert?: Prisma.OAuthClientUpsertWithWhereUniqueWithoutUserInput | Prisma.OAuthClientUpsertWithWhereUniqueWithoutUserInput[];
|
|
355
|
+
createMany?: Prisma.OAuthClientCreateManyUserInputEnvelope;
|
|
356
|
+
set?: Prisma.OAuthClientWhereUniqueInput | Prisma.OAuthClientWhereUniqueInput[];
|
|
357
|
+
disconnect?: Prisma.OAuthClientWhereUniqueInput | Prisma.OAuthClientWhereUniqueInput[];
|
|
358
|
+
delete?: Prisma.OAuthClientWhereUniqueInput | Prisma.OAuthClientWhereUniqueInput[];
|
|
359
|
+
connect?: Prisma.OAuthClientWhereUniqueInput | Prisma.OAuthClientWhereUniqueInput[];
|
|
360
|
+
update?: Prisma.OAuthClientUpdateWithWhereUniqueWithoutUserInput | Prisma.OAuthClientUpdateWithWhereUniqueWithoutUserInput[];
|
|
361
|
+
updateMany?: Prisma.OAuthClientUpdateManyWithWhereWithoutUserInput | Prisma.OAuthClientUpdateManyWithWhereWithoutUserInput[];
|
|
362
|
+
deleteMany?: Prisma.OAuthClientScalarWhereInput | Prisma.OAuthClientScalarWhereInput[];
|
|
363
|
+
};
|
|
364
|
+
export type BoolFieldUpdateOperationsInput = {
|
|
365
|
+
set?: boolean;
|
|
366
|
+
};
|
|
367
|
+
export type OAuthClientCreateNestedOneWithoutRedirect_uriInput = {
|
|
368
|
+
create?: Prisma.XOR<Prisma.OAuthClientCreateWithoutRedirect_uriInput, Prisma.OAuthClientUncheckedCreateWithoutRedirect_uriInput>;
|
|
369
|
+
connectOrCreate?: Prisma.OAuthClientCreateOrConnectWithoutRedirect_uriInput;
|
|
370
|
+
connect?: Prisma.OAuthClientWhereUniqueInput;
|
|
371
|
+
};
|
|
372
|
+
export type OAuthClientUpdateOneRequiredWithoutRedirect_uriNestedInput = {
|
|
373
|
+
create?: Prisma.XOR<Prisma.OAuthClientCreateWithoutRedirect_uriInput, Prisma.OAuthClientUncheckedCreateWithoutRedirect_uriInput>;
|
|
374
|
+
connectOrCreate?: Prisma.OAuthClientCreateOrConnectWithoutRedirect_uriInput;
|
|
375
|
+
upsert?: Prisma.OAuthClientUpsertWithoutRedirect_uriInput;
|
|
376
|
+
connect?: Prisma.OAuthClientWhereUniqueInput;
|
|
377
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.OAuthClientUpdateToOneWithWhereWithoutRedirect_uriInput, Prisma.OAuthClientUpdateWithoutRedirect_uriInput>, Prisma.OAuthClientUncheckedUpdateWithoutRedirect_uriInput>;
|
|
378
|
+
};
|
|
379
|
+
export type OAuthClientCreateNestedOneWithoutValid_flowInput = {
|
|
380
|
+
create?: Prisma.XOR<Prisma.OAuthClientCreateWithoutValid_flowInput, Prisma.OAuthClientUncheckedCreateWithoutValid_flowInput>;
|
|
381
|
+
connectOrCreate?: Prisma.OAuthClientCreateOrConnectWithoutValid_flowInput;
|
|
382
|
+
connect?: Prisma.OAuthClientWhereUniqueInput;
|
|
383
|
+
};
|
|
384
|
+
export type OAuthClientUpdateOneRequiredWithoutValid_flowNestedInput = {
|
|
385
|
+
create?: Prisma.XOR<Prisma.OAuthClientCreateWithoutValid_flowInput, Prisma.OAuthClientUncheckedCreateWithoutValid_flowInput>;
|
|
386
|
+
connectOrCreate?: Prisma.OAuthClientCreateOrConnectWithoutValid_flowInput;
|
|
387
|
+
upsert?: Prisma.OAuthClientUpsertWithoutValid_flowInput;
|
|
388
|
+
connect?: Prisma.OAuthClientWhereUniqueInput;
|
|
389
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.OAuthClientUpdateToOneWithWhereWithoutValid_flowInput, Prisma.OAuthClientUpdateWithoutValid_flowInput>, Prisma.OAuthClientUncheckedUpdateWithoutValid_flowInput>;
|
|
390
|
+
};
|
|
391
|
+
export type OAuthClientCreateNestedOneWithoutAuthorizationInput = {
|
|
392
|
+
create?: Prisma.XOR<Prisma.OAuthClientCreateWithoutAuthorizationInput, Prisma.OAuthClientUncheckedCreateWithoutAuthorizationInput>;
|
|
393
|
+
connectOrCreate?: Prisma.OAuthClientCreateOrConnectWithoutAuthorizationInput;
|
|
394
|
+
connect?: Prisma.OAuthClientWhereUniqueInput;
|
|
395
|
+
};
|
|
396
|
+
export type OAuthClientUpdateOneWithoutAuthorizationNestedInput = {
|
|
397
|
+
create?: Prisma.XOR<Prisma.OAuthClientCreateWithoutAuthorizationInput, Prisma.OAuthClientUncheckedCreateWithoutAuthorizationInput>;
|
|
398
|
+
connectOrCreate?: Prisma.OAuthClientCreateOrConnectWithoutAuthorizationInput;
|
|
399
|
+
upsert?: Prisma.OAuthClientUpsertWithoutAuthorizationInput;
|
|
400
|
+
disconnect?: Prisma.OAuthClientWhereInput | boolean;
|
|
401
|
+
delete?: Prisma.OAuthClientWhereInput | boolean;
|
|
402
|
+
connect?: Prisma.OAuthClientWhereUniqueInput;
|
|
403
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.OAuthClientUpdateToOneWithWhereWithoutAuthorizationInput, Prisma.OAuthClientUpdateWithoutAuthorizationInput>, Prisma.OAuthClientUncheckedUpdateWithoutAuthorizationInput>;
|
|
404
|
+
};
|
|
405
|
+
export type OAuthClientCreateWithoutUserInput = {
|
|
406
|
+
client_id: string;
|
|
407
|
+
confidential?: boolean;
|
|
408
|
+
client_name: string;
|
|
409
|
+
client_secret?: string | null;
|
|
410
|
+
redirect_uri?: Prisma.OAuthClientRedirectUriCreateNestedManyWithoutClientInput;
|
|
411
|
+
authorization?: Prisma.OAuthAuthorizationCreateNestedManyWithoutClientInput;
|
|
412
|
+
valid_flow?: Prisma.OAuthClientValidFlowCreateNestedManyWithoutClientInput;
|
|
413
|
+
};
|
|
414
|
+
export type OAuthClientUncheckedCreateWithoutUserInput = {
|
|
415
|
+
client_id: string;
|
|
416
|
+
confidential?: boolean;
|
|
417
|
+
client_name: string;
|
|
418
|
+
client_secret?: string | null;
|
|
419
|
+
redirect_uri?: Prisma.OAuthClientRedirectUriUncheckedCreateNestedManyWithoutClientInput;
|
|
420
|
+
authorization?: Prisma.OAuthAuthorizationUncheckedCreateNestedManyWithoutClientInput;
|
|
421
|
+
valid_flow?: Prisma.OAuthClientValidFlowUncheckedCreateNestedManyWithoutClientInput;
|
|
422
|
+
};
|
|
423
|
+
export type OAuthClientCreateOrConnectWithoutUserInput = {
|
|
424
|
+
where: Prisma.OAuthClientWhereUniqueInput;
|
|
425
|
+
create: Prisma.XOR<Prisma.OAuthClientCreateWithoutUserInput, Prisma.OAuthClientUncheckedCreateWithoutUserInput>;
|
|
426
|
+
};
|
|
427
|
+
export type OAuthClientCreateManyUserInputEnvelope = {
|
|
428
|
+
data: Prisma.OAuthClientCreateManyUserInput | Prisma.OAuthClientCreateManyUserInput[];
|
|
429
|
+
};
|
|
430
|
+
export type OAuthClientUpsertWithWhereUniqueWithoutUserInput = {
|
|
431
|
+
where: Prisma.OAuthClientWhereUniqueInput;
|
|
432
|
+
update: Prisma.XOR<Prisma.OAuthClientUpdateWithoutUserInput, Prisma.OAuthClientUncheckedUpdateWithoutUserInput>;
|
|
433
|
+
create: Prisma.XOR<Prisma.OAuthClientCreateWithoutUserInput, Prisma.OAuthClientUncheckedCreateWithoutUserInput>;
|
|
434
|
+
};
|
|
435
|
+
export type OAuthClientUpdateWithWhereUniqueWithoutUserInput = {
|
|
436
|
+
where: Prisma.OAuthClientWhereUniqueInput;
|
|
437
|
+
data: Prisma.XOR<Prisma.OAuthClientUpdateWithoutUserInput, Prisma.OAuthClientUncheckedUpdateWithoutUserInput>;
|
|
438
|
+
};
|
|
439
|
+
export type OAuthClientUpdateManyWithWhereWithoutUserInput = {
|
|
440
|
+
where: Prisma.OAuthClientScalarWhereInput;
|
|
441
|
+
data: Prisma.XOR<Prisma.OAuthClientUpdateManyMutationInput, Prisma.OAuthClientUncheckedUpdateManyWithoutUserInput>;
|
|
442
|
+
};
|
|
443
|
+
export type OAuthClientScalarWhereInput = {
|
|
444
|
+
AND?: Prisma.OAuthClientScalarWhereInput | Prisma.OAuthClientScalarWhereInput[];
|
|
445
|
+
OR?: Prisma.OAuthClientScalarWhereInput[];
|
|
446
|
+
NOT?: Prisma.OAuthClientScalarWhereInput | Prisma.OAuthClientScalarWhereInput[];
|
|
447
|
+
client_id?: Prisma.StringFilter<"OAuthClient"> | string;
|
|
448
|
+
confidential?: Prisma.BoolFilter<"OAuthClient"> | boolean;
|
|
449
|
+
client_name?: Prisma.StringFilter<"OAuthClient"> | string;
|
|
450
|
+
client_secret?: Prisma.StringNullableFilter<"OAuthClient"> | string | null;
|
|
451
|
+
userid?: Prisma.IntNullableFilter<"OAuthClient"> | number | null;
|
|
452
|
+
};
|
|
453
|
+
export type OAuthClientCreateWithoutRedirect_uriInput = {
|
|
454
|
+
client_id: string;
|
|
455
|
+
confidential?: boolean;
|
|
456
|
+
client_name: string;
|
|
457
|
+
client_secret?: string | null;
|
|
458
|
+
authorization?: Prisma.OAuthAuthorizationCreateNestedManyWithoutClientInput;
|
|
459
|
+
valid_flow?: Prisma.OAuthClientValidFlowCreateNestedManyWithoutClientInput;
|
|
460
|
+
user?: Prisma.UserCreateNestedOneWithoutOauthClientsInput;
|
|
461
|
+
};
|
|
462
|
+
export type OAuthClientUncheckedCreateWithoutRedirect_uriInput = {
|
|
463
|
+
client_id: string;
|
|
464
|
+
confidential?: boolean;
|
|
465
|
+
client_name: string;
|
|
466
|
+
client_secret?: string | null;
|
|
467
|
+
userid?: number | null;
|
|
468
|
+
authorization?: Prisma.OAuthAuthorizationUncheckedCreateNestedManyWithoutClientInput;
|
|
469
|
+
valid_flow?: Prisma.OAuthClientValidFlowUncheckedCreateNestedManyWithoutClientInput;
|
|
470
|
+
};
|
|
471
|
+
export type OAuthClientCreateOrConnectWithoutRedirect_uriInput = {
|
|
472
|
+
where: Prisma.OAuthClientWhereUniqueInput;
|
|
473
|
+
create: Prisma.XOR<Prisma.OAuthClientCreateWithoutRedirect_uriInput, Prisma.OAuthClientUncheckedCreateWithoutRedirect_uriInput>;
|
|
474
|
+
};
|
|
475
|
+
export type OAuthClientUpsertWithoutRedirect_uriInput = {
|
|
476
|
+
update: Prisma.XOR<Prisma.OAuthClientUpdateWithoutRedirect_uriInput, Prisma.OAuthClientUncheckedUpdateWithoutRedirect_uriInput>;
|
|
477
|
+
create: Prisma.XOR<Prisma.OAuthClientCreateWithoutRedirect_uriInput, Prisma.OAuthClientUncheckedCreateWithoutRedirect_uriInput>;
|
|
478
|
+
where?: Prisma.OAuthClientWhereInput;
|
|
479
|
+
};
|
|
480
|
+
export type OAuthClientUpdateToOneWithWhereWithoutRedirect_uriInput = {
|
|
481
|
+
where?: Prisma.OAuthClientWhereInput;
|
|
482
|
+
data: Prisma.XOR<Prisma.OAuthClientUpdateWithoutRedirect_uriInput, Prisma.OAuthClientUncheckedUpdateWithoutRedirect_uriInput>;
|
|
483
|
+
};
|
|
484
|
+
export type OAuthClientUpdateWithoutRedirect_uriInput = {
|
|
485
|
+
client_id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
486
|
+
confidential?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
487
|
+
client_name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
488
|
+
client_secret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
489
|
+
authorization?: Prisma.OAuthAuthorizationUpdateManyWithoutClientNestedInput;
|
|
490
|
+
valid_flow?: Prisma.OAuthClientValidFlowUpdateManyWithoutClientNestedInput;
|
|
491
|
+
user?: Prisma.UserUpdateOneWithoutOauthClientsNestedInput;
|
|
492
|
+
};
|
|
493
|
+
export type OAuthClientUncheckedUpdateWithoutRedirect_uriInput = {
|
|
494
|
+
client_id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
495
|
+
confidential?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
496
|
+
client_name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
497
|
+
client_secret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
498
|
+
userid?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
499
|
+
authorization?: Prisma.OAuthAuthorizationUncheckedUpdateManyWithoutClientNestedInput;
|
|
500
|
+
valid_flow?: Prisma.OAuthClientValidFlowUncheckedUpdateManyWithoutClientNestedInput;
|
|
501
|
+
};
|
|
502
|
+
export type OAuthClientCreateWithoutValid_flowInput = {
|
|
503
|
+
client_id: string;
|
|
504
|
+
confidential?: boolean;
|
|
505
|
+
client_name: string;
|
|
506
|
+
client_secret?: string | null;
|
|
507
|
+
redirect_uri?: Prisma.OAuthClientRedirectUriCreateNestedManyWithoutClientInput;
|
|
508
|
+
authorization?: Prisma.OAuthAuthorizationCreateNestedManyWithoutClientInput;
|
|
509
|
+
user?: Prisma.UserCreateNestedOneWithoutOauthClientsInput;
|
|
510
|
+
};
|
|
511
|
+
export type OAuthClientUncheckedCreateWithoutValid_flowInput = {
|
|
512
|
+
client_id: string;
|
|
513
|
+
confidential?: boolean;
|
|
514
|
+
client_name: string;
|
|
515
|
+
client_secret?: string | null;
|
|
516
|
+
userid?: number | null;
|
|
517
|
+
redirect_uri?: Prisma.OAuthClientRedirectUriUncheckedCreateNestedManyWithoutClientInput;
|
|
518
|
+
authorization?: Prisma.OAuthAuthorizationUncheckedCreateNestedManyWithoutClientInput;
|
|
519
|
+
};
|
|
520
|
+
export type OAuthClientCreateOrConnectWithoutValid_flowInput = {
|
|
521
|
+
where: Prisma.OAuthClientWhereUniqueInput;
|
|
522
|
+
create: Prisma.XOR<Prisma.OAuthClientCreateWithoutValid_flowInput, Prisma.OAuthClientUncheckedCreateWithoutValid_flowInput>;
|
|
523
|
+
};
|
|
524
|
+
export type OAuthClientUpsertWithoutValid_flowInput = {
|
|
525
|
+
update: Prisma.XOR<Prisma.OAuthClientUpdateWithoutValid_flowInput, Prisma.OAuthClientUncheckedUpdateWithoutValid_flowInput>;
|
|
526
|
+
create: Prisma.XOR<Prisma.OAuthClientCreateWithoutValid_flowInput, Prisma.OAuthClientUncheckedCreateWithoutValid_flowInput>;
|
|
527
|
+
where?: Prisma.OAuthClientWhereInput;
|
|
528
|
+
};
|
|
529
|
+
export type OAuthClientUpdateToOneWithWhereWithoutValid_flowInput = {
|
|
530
|
+
where?: Prisma.OAuthClientWhereInput;
|
|
531
|
+
data: Prisma.XOR<Prisma.OAuthClientUpdateWithoutValid_flowInput, Prisma.OAuthClientUncheckedUpdateWithoutValid_flowInput>;
|
|
532
|
+
};
|
|
533
|
+
export type OAuthClientUpdateWithoutValid_flowInput = {
|
|
534
|
+
client_id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
535
|
+
confidential?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
536
|
+
client_name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
537
|
+
client_secret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
538
|
+
redirect_uri?: Prisma.OAuthClientRedirectUriUpdateManyWithoutClientNestedInput;
|
|
539
|
+
authorization?: Prisma.OAuthAuthorizationUpdateManyWithoutClientNestedInput;
|
|
540
|
+
user?: Prisma.UserUpdateOneWithoutOauthClientsNestedInput;
|
|
541
|
+
};
|
|
542
|
+
export type OAuthClientUncheckedUpdateWithoutValid_flowInput = {
|
|
543
|
+
client_id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
544
|
+
confidential?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
545
|
+
client_name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
546
|
+
client_secret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
547
|
+
userid?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
548
|
+
redirect_uri?: Prisma.OAuthClientRedirectUriUncheckedUpdateManyWithoutClientNestedInput;
|
|
549
|
+
authorization?: Prisma.OAuthAuthorizationUncheckedUpdateManyWithoutClientNestedInput;
|
|
550
|
+
};
|
|
551
|
+
export type OAuthClientCreateWithoutAuthorizationInput = {
|
|
552
|
+
client_id: string;
|
|
553
|
+
confidential?: boolean;
|
|
554
|
+
client_name: string;
|
|
555
|
+
client_secret?: string | null;
|
|
556
|
+
redirect_uri?: Prisma.OAuthClientRedirectUriCreateNestedManyWithoutClientInput;
|
|
557
|
+
valid_flow?: Prisma.OAuthClientValidFlowCreateNestedManyWithoutClientInput;
|
|
558
|
+
user?: Prisma.UserCreateNestedOneWithoutOauthClientsInput;
|
|
559
|
+
};
|
|
560
|
+
export type OAuthClientUncheckedCreateWithoutAuthorizationInput = {
|
|
561
|
+
client_id: string;
|
|
562
|
+
confidential?: boolean;
|
|
563
|
+
client_name: string;
|
|
564
|
+
client_secret?: string | null;
|
|
565
|
+
userid?: number | null;
|
|
566
|
+
redirect_uri?: Prisma.OAuthClientRedirectUriUncheckedCreateNestedManyWithoutClientInput;
|
|
567
|
+
valid_flow?: Prisma.OAuthClientValidFlowUncheckedCreateNestedManyWithoutClientInput;
|
|
568
|
+
};
|
|
569
|
+
export type OAuthClientCreateOrConnectWithoutAuthorizationInput = {
|
|
570
|
+
where: Prisma.OAuthClientWhereUniqueInput;
|
|
571
|
+
create: Prisma.XOR<Prisma.OAuthClientCreateWithoutAuthorizationInput, Prisma.OAuthClientUncheckedCreateWithoutAuthorizationInput>;
|
|
572
|
+
};
|
|
573
|
+
export type OAuthClientUpsertWithoutAuthorizationInput = {
|
|
574
|
+
update: Prisma.XOR<Prisma.OAuthClientUpdateWithoutAuthorizationInput, Prisma.OAuthClientUncheckedUpdateWithoutAuthorizationInput>;
|
|
575
|
+
create: Prisma.XOR<Prisma.OAuthClientCreateWithoutAuthorizationInput, Prisma.OAuthClientUncheckedCreateWithoutAuthorizationInput>;
|
|
576
|
+
where?: Prisma.OAuthClientWhereInput;
|
|
577
|
+
};
|
|
578
|
+
export type OAuthClientUpdateToOneWithWhereWithoutAuthorizationInput = {
|
|
579
|
+
where?: Prisma.OAuthClientWhereInput;
|
|
580
|
+
data: Prisma.XOR<Prisma.OAuthClientUpdateWithoutAuthorizationInput, Prisma.OAuthClientUncheckedUpdateWithoutAuthorizationInput>;
|
|
581
|
+
};
|
|
582
|
+
export type OAuthClientUpdateWithoutAuthorizationInput = {
|
|
583
|
+
client_id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
584
|
+
confidential?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
585
|
+
client_name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
586
|
+
client_secret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
587
|
+
redirect_uri?: Prisma.OAuthClientRedirectUriUpdateManyWithoutClientNestedInput;
|
|
588
|
+
valid_flow?: Prisma.OAuthClientValidFlowUpdateManyWithoutClientNestedInput;
|
|
589
|
+
user?: Prisma.UserUpdateOneWithoutOauthClientsNestedInput;
|
|
590
|
+
};
|
|
591
|
+
export type OAuthClientUncheckedUpdateWithoutAuthorizationInput = {
|
|
592
|
+
client_id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
593
|
+
confidential?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
594
|
+
client_name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
595
|
+
client_secret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
596
|
+
userid?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
597
|
+
redirect_uri?: Prisma.OAuthClientRedirectUriUncheckedUpdateManyWithoutClientNestedInput;
|
|
598
|
+
valid_flow?: Prisma.OAuthClientValidFlowUncheckedUpdateManyWithoutClientNestedInput;
|
|
599
|
+
};
|
|
600
|
+
export type OAuthClientCreateManyUserInput = {
|
|
601
|
+
client_id: string;
|
|
602
|
+
confidential?: boolean;
|
|
603
|
+
client_name: string;
|
|
604
|
+
client_secret?: string | null;
|
|
605
|
+
};
|
|
606
|
+
export type OAuthClientUpdateWithoutUserInput = {
|
|
607
|
+
client_id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
608
|
+
confidential?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
609
|
+
client_name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
610
|
+
client_secret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
611
|
+
redirect_uri?: Prisma.OAuthClientRedirectUriUpdateManyWithoutClientNestedInput;
|
|
612
|
+
authorization?: Prisma.OAuthAuthorizationUpdateManyWithoutClientNestedInput;
|
|
613
|
+
valid_flow?: Prisma.OAuthClientValidFlowUpdateManyWithoutClientNestedInput;
|
|
614
|
+
};
|
|
615
|
+
export type OAuthClientUncheckedUpdateWithoutUserInput = {
|
|
616
|
+
client_id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
617
|
+
confidential?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
618
|
+
client_name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
619
|
+
client_secret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
620
|
+
redirect_uri?: Prisma.OAuthClientRedirectUriUncheckedUpdateManyWithoutClientNestedInput;
|
|
621
|
+
authorization?: Prisma.OAuthAuthorizationUncheckedUpdateManyWithoutClientNestedInput;
|
|
622
|
+
valid_flow?: Prisma.OAuthClientValidFlowUncheckedUpdateManyWithoutClientNestedInput;
|
|
623
|
+
};
|
|
624
|
+
export type OAuthClientUncheckedUpdateManyWithoutUserInput = {
|
|
625
|
+
client_id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
626
|
+
confidential?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
627
|
+
client_name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
628
|
+
client_secret?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
629
|
+
};
|
|
630
|
+
/**
|
|
631
|
+
* Count Type OAuthClientCountOutputType
|
|
632
|
+
*/
|
|
633
|
+
export type OAuthClientCountOutputType = {
|
|
634
|
+
redirect_uri: number;
|
|
635
|
+
authorization: number;
|
|
636
|
+
valid_flow: number;
|
|
637
|
+
};
|
|
638
|
+
export type OAuthClientCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
639
|
+
redirect_uri?: boolean | OAuthClientCountOutputTypeCountRedirect_uriArgs;
|
|
640
|
+
authorization?: boolean | OAuthClientCountOutputTypeCountAuthorizationArgs;
|
|
641
|
+
valid_flow?: boolean | OAuthClientCountOutputTypeCountValid_flowArgs;
|
|
642
|
+
};
|
|
643
|
+
/**
|
|
644
|
+
* OAuthClientCountOutputType without action
|
|
645
|
+
*/
|
|
646
|
+
export type OAuthClientCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
647
|
+
/**
|
|
648
|
+
* Select specific fields to fetch from the OAuthClientCountOutputType
|
|
649
|
+
*/
|
|
650
|
+
select?: Prisma.OAuthClientCountOutputTypeSelect<ExtArgs> | null;
|
|
651
|
+
};
|
|
652
|
+
/**
|
|
653
|
+
* OAuthClientCountOutputType without action
|
|
654
|
+
*/
|
|
655
|
+
export type OAuthClientCountOutputTypeCountRedirect_uriArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
656
|
+
where?: Prisma.OAuthClientRedirectUriWhereInput;
|
|
657
|
+
};
|
|
658
|
+
/**
|
|
659
|
+
* OAuthClientCountOutputType without action
|
|
660
|
+
*/
|
|
661
|
+
export type OAuthClientCountOutputTypeCountAuthorizationArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
662
|
+
where?: Prisma.OAuthAuthorizationWhereInput;
|
|
663
|
+
};
|
|
664
|
+
/**
|
|
665
|
+
* OAuthClientCountOutputType without action
|
|
666
|
+
*/
|
|
667
|
+
export type OAuthClientCountOutputTypeCountValid_flowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
668
|
+
where?: Prisma.OAuthClientValidFlowWhereInput;
|
|
669
|
+
};
|
|
670
|
+
export type OAuthClientSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
671
|
+
client_id?: boolean;
|
|
672
|
+
confidential?: boolean;
|
|
673
|
+
client_name?: boolean;
|
|
674
|
+
client_secret?: boolean;
|
|
675
|
+
userid?: boolean;
|
|
676
|
+
redirect_uri?: boolean | Prisma.OAuthClient$redirect_uriArgs<ExtArgs>;
|
|
677
|
+
authorization?: boolean | Prisma.OAuthClient$authorizationArgs<ExtArgs>;
|
|
678
|
+
valid_flow?: boolean | Prisma.OAuthClient$valid_flowArgs<ExtArgs>;
|
|
679
|
+
user?: boolean | Prisma.OAuthClient$userArgs<ExtArgs>;
|
|
680
|
+
_count?: boolean | Prisma.OAuthClientCountOutputTypeDefaultArgs<ExtArgs>;
|
|
681
|
+
}, ExtArgs["result"]["oAuthClient"]>;
|
|
682
|
+
export type OAuthClientSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
683
|
+
client_id?: boolean;
|
|
684
|
+
confidential?: boolean;
|
|
685
|
+
client_name?: boolean;
|
|
686
|
+
client_secret?: boolean;
|
|
687
|
+
userid?: boolean;
|
|
688
|
+
user?: boolean | Prisma.OAuthClient$userArgs<ExtArgs>;
|
|
689
|
+
}, ExtArgs["result"]["oAuthClient"]>;
|
|
690
|
+
export type OAuthClientSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
691
|
+
client_id?: boolean;
|
|
692
|
+
confidential?: boolean;
|
|
693
|
+
client_name?: boolean;
|
|
694
|
+
client_secret?: boolean;
|
|
695
|
+
userid?: boolean;
|
|
696
|
+
user?: boolean | Prisma.OAuthClient$userArgs<ExtArgs>;
|
|
697
|
+
}, ExtArgs["result"]["oAuthClient"]>;
|
|
698
|
+
export type OAuthClientSelectScalar = {
|
|
699
|
+
client_id?: boolean;
|
|
700
|
+
confidential?: boolean;
|
|
701
|
+
client_name?: boolean;
|
|
702
|
+
client_secret?: boolean;
|
|
703
|
+
userid?: boolean;
|
|
704
|
+
};
|
|
705
|
+
export type OAuthClientOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"client_id" | "confidential" | "client_name" | "client_secret" | "userid", ExtArgs["result"]["oAuthClient"]>;
|
|
706
|
+
export type OAuthClientInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
707
|
+
redirect_uri?: boolean | Prisma.OAuthClient$redirect_uriArgs<ExtArgs>;
|
|
708
|
+
authorization?: boolean | Prisma.OAuthClient$authorizationArgs<ExtArgs>;
|
|
709
|
+
valid_flow?: boolean | Prisma.OAuthClient$valid_flowArgs<ExtArgs>;
|
|
710
|
+
user?: boolean | Prisma.OAuthClient$userArgs<ExtArgs>;
|
|
711
|
+
_count?: boolean | Prisma.OAuthClientCountOutputTypeDefaultArgs<ExtArgs>;
|
|
712
|
+
};
|
|
713
|
+
export type OAuthClientIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
714
|
+
user?: boolean | Prisma.OAuthClient$userArgs<ExtArgs>;
|
|
715
|
+
};
|
|
716
|
+
export type OAuthClientIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
717
|
+
user?: boolean | Prisma.OAuthClient$userArgs<ExtArgs>;
|
|
718
|
+
};
|
|
719
|
+
export type $OAuthClientPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
720
|
+
name: "OAuthClient";
|
|
721
|
+
objects: {
|
|
722
|
+
redirect_uri: Prisma.$OAuthClientRedirectUriPayload<ExtArgs>[];
|
|
723
|
+
authorization: Prisma.$OAuthAuthorizationPayload<ExtArgs>[];
|
|
724
|
+
valid_flow: Prisma.$OAuthClientValidFlowPayload<ExtArgs>[];
|
|
725
|
+
user: Prisma.$UserPayload<ExtArgs> | null;
|
|
726
|
+
};
|
|
727
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
728
|
+
client_id: string;
|
|
729
|
+
confidential: boolean;
|
|
730
|
+
client_name: string;
|
|
731
|
+
client_secret: string | null;
|
|
732
|
+
userid: number | null;
|
|
733
|
+
}, ExtArgs["result"]["oAuthClient"]>;
|
|
734
|
+
composites: {};
|
|
735
|
+
};
|
|
736
|
+
export type OAuthClientGetPayload<S extends boolean | null | undefined | OAuthClientDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$OAuthClientPayload, S>;
|
|
737
|
+
export type OAuthClientCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<OAuthClientFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
738
|
+
select?: OAuthClientCountAggregateInputType | true;
|
|
739
|
+
};
|
|
740
|
+
export interface OAuthClientDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
741
|
+
[K: symbol]: {
|
|
742
|
+
types: Prisma.TypeMap<ExtArgs>['model']['OAuthClient'];
|
|
743
|
+
meta: {
|
|
744
|
+
name: 'OAuthClient';
|
|
745
|
+
};
|
|
746
|
+
};
|
|
747
|
+
/**
|
|
748
|
+
* Find zero or one OAuthClient that matches the filter.
|
|
749
|
+
* @param {OAuthClientFindUniqueArgs} args - Arguments to find a OAuthClient
|
|
750
|
+
* @example
|
|
751
|
+
* // Get one OAuthClient
|
|
752
|
+
* const oAuthClient = await prisma.oAuthClient.findUnique({
|
|
753
|
+
* where: {
|
|
754
|
+
* // ... provide filter here
|
|
755
|
+
* }
|
|
756
|
+
* })
|
|
757
|
+
*/
|
|
758
|
+
findUnique<T extends OAuthClientFindUniqueArgs>(args: Prisma.SelectSubset<T, OAuthClientFindUniqueArgs<ExtArgs>>): Prisma.Prisma__OAuthClientClient<runtime.Types.Result.GetResult<Prisma.$OAuthClientPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
759
|
+
/**
|
|
760
|
+
* Find one OAuthClient that matches the filter or throw an error with `error.code='P2025'`
|
|
761
|
+
* if no matches were found.
|
|
762
|
+
* @param {OAuthClientFindUniqueOrThrowArgs} args - Arguments to find a OAuthClient
|
|
763
|
+
* @example
|
|
764
|
+
* // Get one OAuthClient
|
|
765
|
+
* const oAuthClient = await prisma.oAuthClient.findUniqueOrThrow({
|
|
766
|
+
* where: {
|
|
767
|
+
* // ... provide filter here
|
|
768
|
+
* }
|
|
769
|
+
* })
|
|
770
|
+
*/
|
|
771
|
+
findUniqueOrThrow<T extends OAuthClientFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, OAuthClientFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__OAuthClientClient<runtime.Types.Result.GetResult<Prisma.$OAuthClientPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
772
|
+
/**
|
|
773
|
+
* Find the first OAuthClient that matches the filter.
|
|
774
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
775
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
776
|
+
* @param {OAuthClientFindFirstArgs} args - Arguments to find a OAuthClient
|
|
777
|
+
* @example
|
|
778
|
+
* // Get one OAuthClient
|
|
779
|
+
* const oAuthClient = await prisma.oAuthClient.findFirst({
|
|
780
|
+
* where: {
|
|
781
|
+
* // ... provide filter here
|
|
782
|
+
* }
|
|
783
|
+
* })
|
|
784
|
+
*/
|
|
785
|
+
findFirst<T extends OAuthClientFindFirstArgs>(args?: Prisma.SelectSubset<T, OAuthClientFindFirstArgs<ExtArgs>>): Prisma.Prisma__OAuthClientClient<runtime.Types.Result.GetResult<Prisma.$OAuthClientPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
786
|
+
/**
|
|
787
|
+
* Find the first OAuthClient that matches the filter or
|
|
788
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
789
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
790
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
791
|
+
* @param {OAuthClientFindFirstOrThrowArgs} args - Arguments to find a OAuthClient
|
|
792
|
+
* @example
|
|
793
|
+
* // Get one OAuthClient
|
|
794
|
+
* const oAuthClient = await prisma.oAuthClient.findFirstOrThrow({
|
|
795
|
+
* where: {
|
|
796
|
+
* // ... provide filter here
|
|
797
|
+
* }
|
|
798
|
+
* })
|
|
799
|
+
*/
|
|
800
|
+
findFirstOrThrow<T extends OAuthClientFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, OAuthClientFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__OAuthClientClient<runtime.Types.Result.GetResult<Prisma.$OAuthClientPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
801
|
+
/**
|
|
802
|
+
* Find zero or more OAuthClients that matches the filter.
|
|
803
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
804
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
805
|
+
* @param {OAuthClientFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
806
|
+
* @example
|
|
807
|
+
* // Get all OAuthClients
|
|
808
|
+
* const oAuthClients = await prisma.oAuthClient.findMany()
|
|
809
|
+
*
|
|
810
|
+
* // Get first 10 OAuthClients
|
|
811
|
+
* const oAuthClients = await prisma.oAuthClient.findMany({ take: 10 })
|
|
812
|
+
*
|
|
813
|
+
* // Only select the `client_id`
|
|
814
|
+
* const oAuthClientWithClient_idOnly = await prisma.oAuthClient.findMany({ select: { client_id: true } })
|
|
815
|
+
*
|
|
816
|
+
*/
|
|
817
|
+
findMany<T extends OAuthClientFindManyArgs>(args?: Prisma.SelectSubset<T, OAuthClientFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$OAuthClientPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
|
|
818
|
+
/**
|
|
819
|
+
* Create a OAuthClient.
|
|
820
|
+
* @param {OAuthClientCreateArgs} args - Arguments to create a OAuthClient.
|
|
821
|
+
* @example
|
|
822
|
+
* // Create one OAuthClient
|
|
823
|
+
* const OAuthClient = await prisma.oAuthClient.create({
|
|
824
|
+
* data: {
|
|
825
|
+
* // ... data to create a OAuthClient
|
|
826
|
+
* }
|
|
827
|
+
* })
|
|
828
|
+
*
|
|
829
|
+
*/
|
|
830
|
+
create<T extends OAuthClientCreateArgs>(args: Prisma.SelectSubset<T, OAuthClientCreateArgs<ExtArgs>>): Prisma.Prisma__OAuthClientClient<runtime.Types.Result.GetResult<Prisma.$OAuthClientPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
831
|
+
/**
|
|
832
|
+
* Create many OAuthClients.
|
|
833
|
+
* @param {OAuthClientCreateManyArgs} args - Arguments to create many OAuthClients.
|
|
834
|
+
* @example
|
|
835
|
+
* // Create many OAuthClients
|
|
836
|
+
* const oAuthClient = await prisma.oAuthClient.createMany({
|
|
837
|
+
* data: [
|
|
838
|
+
* // ... provide data here
|
|
839
|
+
* ]
|
|
840
|
+
* })
|
|
841
|
+
*
|
|
842
|
+
*/
|
|
843
|
+
createMany<T extends OAuthClientCreateManyArgs>(args?: Prisma.SelectSubset<T, OAuthClientCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
844
|
+
/**
|
|
845
|
+
* Create many OAuthClients and returns the data saved in the database.
|
|
846
|
+
* @param {OAuthClientCreateManyAndReturnArgs} args - Arguments to create many OAuthClients.
|
|
847
|
+
* @example
|
|
848
|
+
* // Create many OAuthClients
|
|
849
|
+
* const oAuthClient = await prisma.oAuthClient.createManyAndReturn({
|
|
850
|
+
* data: [
|
|
851
|
+
* // ... provide data here
|
|
852
|
+
* ]
|
|
853
|
+
* })
|
|
854
|
+
*
|
|
855
|
+
* // Create many OAuthClients and only return the `client_id`
|
|
856
|
+
* const oAuthClientWithClient_idOnly = await prisma.oAuthClient.createManyAndReturn({
|
|
857
|
+
* select: { client_id: true },
|
|
858
|
+
* data: [
|
|
859
|
+
* // ... provide data here
|
|
860
|
+
* ]
|
|
861
|
+
* })
|
|
862
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
863
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
864
|
+
*
|
|
865
|
+
*/
|
|
866
|
+
createManyAndReturn<T extends OAuthClientCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, OAuthClientCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$OAuthClientPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
|
|
867
|
+
/**
|
|
868
|
+
* Delete a OAuthClient.
|
|
869
|
+
* @param {OAuthClientDeleteArgs} args - Arguments to delete one OAuthClient.
|
|
870
|
+
* @example
|
|
871
|
+
* // Delete one OAuthClient
|
|
872
|
+
* const OAuthClient = await prisma.oAuthClient.delete({
|
|
873
|
+
* where: {
|
|
874
|
+
* // ... filter to delete one OAuthClient
|
|
875
|
+
* }
|
|
876
|
+
* })
|
|
877
|
+
*
|
|
878
|
+
*/
|
|
879
|
+
delete<T extends OAuthClientDeleteArgs>(args: Prisma.SelectSubset<T, OAuthClientDeleteArgs<ExtArgs>>): Prisma.Prisma__OAuthClientClient<runtime.Types.Result.GetResult<Prisma.$OAuthClientPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
880
|
+
/**
|
|
881
|
+
* Update one OAuthClient.
|
|
882
|
+
* @param {OAuthClientUpdateArgs} args - Arguments to update one OAuthClient.
|
|
883
|
+
* @example
|
|
884
|
+
* // Update one OAuthClient
|
|
885
|
+
* const oAuthClient = await prisma.oAuthClient.update({
|
|
886
|
+
* where: {
|
|
887
|
+
* // ... provide filter here
|
|
888
|
+
* },
|
|
889
|
+
* data: {
|
|
890
|
+
* // ... provide data here
|
|
891
|
+
* }
|
|
892
|
+
* })
|
|
893
|
+
*
|
|
894
|
+
*/
|
|
895
|
+
update<T extends OAuthClientUpdateArgs>(args: Prisma.SelectSubset<T, OAuthClientUpdateArgs<ExtArgs>>): Prisma.Prisma__OAuthClientClient<runtime.Types.Result.GetResult<Prisma.$OAuthClientPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
896
|
+
/**
|
|
897
|
+
* Delete zero or more OAuthClients.
|
|
898
|
+
* @param {OAuthClientDeleteManyArgs} args - Arguments to filter OAuthClients to delete.
|
|
899
|
+
* @example
|
|
900
|
+
* // Delete a few OAuthClients
|
|
901
|
+
* const { count } = await prisma.oAuthClient.deleteMany({
|
|
902
|
+
* where: {
|
|
903
|
+
* // ... provide filter here
|
|
904
|
+
* }
|
|
905
|
+
* })
|
|
906
|
+
*
|
|
907
|
+
*/
|
|
908
|
+
deleteMany<T extends OAuthClientDeleteManyArgs>(args?: Prisma.SelectSubset<T, OAuthClientDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
909
|
+
/**
|
|
910
|
+
* Update zero or more OAuthClients.
|
|
911
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
912
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
913
|
+
* @param {OAuthClientUpdateManyArgs} args - Arguments to update one or more rows.
|
|
914
|
+
* @example
|
|
915
|
+
* // Update many OAuthClients
|
|
916
|
+
* const oAuthClient = await prisma.oAuthClient.updateMany({
|
|
917
|
+
* where: {
|
|
918
|
+
* // ... provide filter here
|
|
919
|
+
* },
|
|
920
|
+
* data: {
|
|
921
|
+
* // ... provide data here
|
|
922
|
+
* }
|
|
923
|
+
* })
|
|
924
|
+
*
|
|
925
|
+
*/
|
|
926
|
+
updateMany<T extends OAuthClientUpdateManyArgs>(args: Prisma.SelectSubset<T, OAuthClientUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
927
|
+
/**
|
|
928
|
+
* Update zero or more OAuthClients and returns the data updated in the database.
|
|
929
|
+
* @param {OAuthClientUpdateManyAndReturnArgs} args - Arguments to update many OAuthClients.
|
|
930
|
+
* @example
|
|
931
|
+
* // Update many OAuthClients
|
|
932
|
+
* const oAuthClient = await prisma.oAuthClient.updateManyAndReturn({
|
|
933
|
+
* where: {
|
|
934
|
+
* // ... provide filter here
|
|
935
|
+
* },
|
|
936
|
+
* data: [
|
|
937
|
+
* // ... provide data here
|
|
938
|
+
* ]
|
|
939
|
+
* })
|
|
940
|
+
*
|
|
941
|
+
* // Update zero or more OAuthClients and only return the `client_id`
|
|
942
|
+
* const oAuthClientWithClient_idOnly = await prisma.oAuthClient.updateManyAndReturn({
|
|
943
|
+
* select: { client_id: true },
|
|
944
|
+
* where: {
|
|
945
|
+
* // ... provide filter here
|
|
946
|
+
* },
|
|
947
|
+
* data: [
|
|
948
|
+
* // ... provide data here
|
|
949
|
+
* ]
|
|
950
|
+
* })
|
|
951
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
952
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
953
|
+
*
|
|
954
|
+
*/
|
|
955
|
+
updateManyAndReturn<T extends OAuthClientUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, OAuthClientUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$OAuthClientPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
|
|
956
|
+
/**
|
|
957
|
+
* Create or update one OAuthClient.
|
|
958
|
+
* @param {OAuthClientUpsertArgs} args - Arguments to update or create a OAuthClient.
|
|
959
|
+
* @example
|
|
960
|
+
* // Update or create a OAuthClient
|
|
961
|
+
* const oAuthClient = await prisma.oAuthClient.upsert({
|
|
962
|
+
* create: {
|
|
963
|
+
* // ... data to create a OAuthClient
|
|
964
|
+
* },
|
|
965
|
+
* update: {
|
|
966
|
+
* // ... in case it already exists, update
|
|
967
|
+
* },
|
|
968
|
+
* where: {
|
|
969
|
+
* // ... the filter for the OAuthClient we want to update
|
|
970
|
+
* }
|
|
971
|
+
* })
|
|
972
|
+
*/
|
|
973
|
+
upsert<T extends OAuthClientUpsertArgs>(args: Prisma.SelectSubset<T, OAuthClientUpsertArgs<ExtArgs>>): Prisma.Prisma__OAuthClientClient<runtime.Types.Result.GetResult<Prisma.$OAuthClientPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
974
|
+
/**
|
|
975
|
+
* Count the number of OAuthClients.
|
|
976
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
977
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
978
|
+
* @param {OAuthClientCountArgs} args - Arguments to filter OAuthClients to count.
|
|
979
|
+
* @example
|
|
980
|
+
* // Count the number of OAuthClients
|
|
981
|
+
* const count = await prisma.oAuthClient.count({
|
|
982
|
+
* where: {
|
|
983
|
+
* // ... the filter for the OAuthClients we want to count
|
|
984
|
+
* }
|
|
985
|
+
* })
|
|
986
|
+
**/
|
|
987
|
+
count<T extends OAuthClientCountArgs>(args?: Prisma.Subset<T, OAuthClientCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], OAuthClientCountAggregateOutputType> : number>;
|
|
988
|
+
/**
|
|
989
|
+
* Allows you to perform aggregations operations on a OAuthClient.
|
|
990
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
991
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
992
|
+
* @param {OAuthClientAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
993
|
+
* @example
|
|
994
|
+
* // Ordered by age ascending
|
|
995
|
+
* // Where email contains prisma.io
|
|
996
|
+
* // Limited to the 10 users
|
|
997
|
+
* const aggregations = await prisma.user.aggregate({
|
|
998
|
+
* _avg: {
|
|
999
|
+
* age: true,
|
|
1000
|
+
* },
|
|
1001
|
+
* where: {
|
|
1002
|
+
* email: {
|
|
1003
|
+
* contains: "prisma.io",
|
|
1004
|
+
* },
|
|
1005
|
+
* },
|
|
1006
|
+
* orderBy: {
|
|
1007
|
+
* age: "asc",
|
|
1008
|
+
* },
|
|
1009
|
+
* take: 10,
|
|
1010
|
+
* })
|
|
1011
|
+
**/
|
|
1012
|
+
aggregate<T extends OAuthClientAggregateArgs>(args: Prisma.Subset<T, OAuthClientAggregateArgs>): Prisma.PrismaPromise<GetOAuthClientAggregateType<T>>;
|
|
1013
|
+
/**
|
|
1014
|
+
* Group by OAuthClient.
|
|
1015
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1016
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1017
|
+
* @param {OAuthClientGroupByArgs} args - Group by arguments.
|
|
1018
|
+
* @example
|
|
1019
|
+
* // Group by city, order by createdAt, get count
|
|
1020
|
+
* const result = await prisma.user.groupBy({
|
|
1021
|
+
* by: ['city', 'createdAt'],
|
|
1022
|
+
* orderBy: {
|
|
1023
|
+
* createdAt: true
|
|
1024
|
+
* },
|
|
1025
|
+
* _count: {
|
|
1026
|
+
* _all: true
|
|
1027
|
+
* },
|
|
1028
|
+
* })
|
|
1029
|
+
*
|
|
1030
|
+
**/
|
|
1031
|
+
groupBy<T extends OAuthClientGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
|
|
1032
|
+
orderBy: OAuthClientGroupByArgs['orderBy'];
|
|
1033
|
+
} : {
|
|
1034
|
+
orderBy?: OAuthClientGroupByArgs['orderBy'];
|
|
1035
|
+
}, 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 ? {
|
|
1036
|
+
[P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
|
|
1037
|
+
Error,
|
|
1038
|
+
'Field ',
|
|
1039
|
+
P,
|
|
1040
|
+
` in "having" needs to be provided in "by"`
|
|
1041
|
+
];
|
|
1042
|
+
}[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
1043
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
1044
|
+
}[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 ? {} : {
|
|
1045
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
1046
|
+
}[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
|
|
1047
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
1048
|
+
}[OrderFields]>(args: Prisma.SubsetIntersection<T, OAuthClientGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetOAuthClientGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
|
|
1049
|
+
/**
|
|
1050
|
+
* Fields of the OAuthClient model
|
|
1051
|
+
*/
|
|
1052
|
+
readonly fields: OAuthClientFieldRefs;
|
|
1053
|
+
}
|
|
1054
|
+
/**
|
|
1055
|
+
* The delegate class that acts as a "Promise-like" for OAuthClient.
|
|
1056
|
+
* Why is this prefixed with `Prisma__`?
|
|
1057
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
1058
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
1059
|
+
*/
|
|
1060
|
+
export interface Prisma__OAuthClientClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
1061
|
+
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
1062
|
+
redirect_uri<T extends Prisma.OAuthClient$redirect_uriArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.OAuthClient$redirect_uriArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$OAuthClientRedirectUriPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
1063
|
+
authorization<T extends Prisma.OAuthClient$authorizationArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.OAuthClient$authorizationArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$OAuthAuthorizationPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
1064
|
+
valid_flow<T extends Prisma.OAuthClient$valid_flowArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.OAuthClient$valid_flowArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$OAuthClientValidFlowPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
1065
|
+
user<T extends Prisma.OAuthClient$userArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.OAuthClient$userArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
1066
|
+
/**
|
|
1067
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
1068
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
1069
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1070
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
1071
|
+
*/
|
|
1072
|
+
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>;
|
|
1073
|
+
/**
|
|
1074
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
1075
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1076
|
+
* @returns A Promise for the completion of the callback.
|
|
1077
|
+
*/
|
|
1078
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
|
|
1079
|
+
/**
|
|
1080
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
1081
|
+
* resolved value cannot be modified from the callback.
|
|
1082
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
1083
|
+
* @returns A Promise for the completion of the callback.
|
|
1084
|
+
*/
|
|
1085
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
|
|
1086
|
+
}
|
|
1087
|
+
/**
|
|
1088
|
+
* Fields of the OAuthClient model
|
|
1089
|
+
*/
|
|
1090
|
+
export interface OAuthClientFieldRefs {
|
|
1091
|
+
readonly client_id: Prisma.FieldRef<"OAuthClient", 'String'>;
|
|
1092
|
+
readonly confidential: Prisma.FieldRef<"OAuthClient", 'Boolean'>;
|
|
1093
|
+
readonly client_name: Prisma.FieldRef<"OAuthClient", 'String'>;
|
|
1094
|
+
readonly client_secret: Prisma.FieldRef<"OAuthClient", 'String'>;
|
|
1095
|
+
readonly userid: Prisma.FieldRef<"OAuthClient", 'Int'>;
|
|
1096
|
+
}
|
|
1097
|
+
/**
|
|
1098
|
+
* OAuthClient findUnique
|
|
1099
|
+
*/
|
|
1100
|
+
export type OAuthClientFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1101
|
+
/**
|
|
1102
|
+
* Select specific fields to fetch from the OAuthClient
|
|
1103
|
+
*/
|
|
1104
|
+
select?: Prisma.OAuthClientSelect<ExtArgs> | null;
|
|
1105
|
+
/**
|
|
1106
|
+
* Omit specific fields from the OAuthClient
|
|
1107
|
+
*/
|
|
1108
|
+
omit?: Prisma.OAuthClientOmit<ExtArgs> | null;
|
|
1109
|
+
/**
|
|
1110
|
+
* Choose, which related nodes to fetch as well
|
|
1111
|
+
*/
|
|
1112
|
+
include?: Prisma.OAuthClientInclude<ExtArgs> | null;
|
|
1113
|
+
/**
|
|
1114
|
+
* Filter, which OAuthClient to fetch.
|
|
1115
|
+
*/
|
|
1116
|
+
where: Prisma.OAuthClientWhereUniqueInput;
|
|
1117
|
+
};
|
|
1118
|
+
/**
|
|
1119
|
+
* OAuthClient findUniqueOrThrow
|
|
1120
|
+
*/
|
|
1121
|
+
export type OAuthClientFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1122
|
+
/**
|
|
1123
|
+
* Select specific fields to fetch from the OAuthClient
|
|
1124
|
+
*/
|
|
1125
|
+
select?: Prisma.OAuthClientSelect<ExtArgs> | null;
|
|
1126
|
+
/**
|
|
1127
|
+
* Omit specific fields from the OAuthClient
|
|
1128
|
+
*/
|
|
1129
|
+
omit?: Prisma.OAuthClientOmit<ExtArgs> | null;
|
|
1130
|
+
/**
|
|
1131
|
+
* Choose, which related nodes to fetch as well
|
|
1132
|
+
*/
|
|
1133
|
+
include?: Prisma.OAuthClientInclude<ExtArgs> | null;
|
|
1134
|
+
/**
|
|
1135
|
+
* Filter, which OAuthClient to fetch.
|
|
1136
|
+
*/
|
|
1137
|
+
where: Prisma.OAuthClientWhereUniqueInput;
|
|
1138
|
+
};
|
|
1139
|
+
/**
|
|
1140
|
+
* OAuthClient findFirst
|
|
1141
|
+
*/
|
|
1142
|
+
export type OAuthClientFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1143
|
+
/**
|
|
1144
|
+
* Select specific fields to fetch from the OAuthClient
|
|
1145
|
+
*/
|
|
1146
|
+
select?: Prisma.OAuthClientSelect<ExtArgs> | null;
|
|
1147
|
+
/**
|
|
1148
|
+
* Omit specific fields from the OAuthClient
|
|
1149
|
+
*/
|
|
1150
|
+
omit?: Prisma.OAuthClientOmit<ExtArgs> | null;
|
|
1151
|
+
/**
|
|
1152
|
+
* Choose, which related nodes to fetch as well
|
|
1153
|
+
*/
|
|
1154
|
+
include?: Prisma.OAuthClientInclude<ExtArgs> | null;
|
|
1155
|
+
/**
|
|
1156
|
+
* Filter, which OAuthClient to fetch.
|
|
1157
|
+
*/
|
|
1158
|
+
where?: Prisma.OAuthClientWhereInput;
|
|
1159
|
+
/**
|
|
1160
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1161
|
+
*
|
|
1162
|
+
* Determine the order of OAuthClients to fetch.
|
|
1163
|
+
*/
|
|
1164
|
+
orderBy?: Prisma.OAuthClientOrderByWithRelationInput | Prisma.OAuthClientOrderByWithRelationInput[];
|
|
1165
|
+
/**
|
|
1166
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1167
|
+
*
|
|
1168
|
+
* Sets the position for searching for OAuthClients.
|
|
1169
|
+
*/
|
|
1170
|
+
cursor?: Prisma.OAuthClientWhereUniqueInput;
|
|
1171
|
+
/**
|
|
1172
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1173
|
+
*
|
|
1174
|
+
* Take `±n` OAuthClients from the position of the cursor.
|
|
1175
|
+
*/
|
|
1176
|
+
take?: number;
|
|
1177
|
+
/**
|
|
1178
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1179
|
+
*
|
|
1180
|
+
* Skip the first `n` OAuthClients.
|
|
1181
|
+
*/
|
|
1182
|
+
skip?: number;
|
|
1183
|
+
/**
|
|
1184
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1185
|
+
*
|
|
1186
|
+
* Filter by unique combinations of OAuthClients.
|
|
1187
|
+
*/
|
|
1188
|
+
distinct?: Prisma.OAuthClientScalarFieldEnum | Prisma.OAuthClientScalarFieldEnum[];
|
|
1189
|
+
};
|
|
1190
|
+
/**
|
|
1191
|
+
* OAuthClient findFirstOrThrow
|
|
1192
|
+
*/
|
|
1193
|
+
export type OAuthClientFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1194
|
+
/**
|
|
1195
|
+
* Select specific fields to fetch from the OAuthClient
|
|
1196
|
+
*/
|
|
1197
|
+
select?: Prisma.OAuthClientSelect<ExtArgs> | null;
|
|
1198
|
+
/**
|
|
1199
|
+
* Omit specific fields from the OAuthClient
|
|
1200
|
+
*/
|
|
1201
|
+
omit?: Prisma.OAuthClientOmit<ExtArgs> | null;
|
|
1202
|
+
/**
|
|
1203
|
+
* Choose, which related nodes to fetch as well
|
|
1204
|
+
*/
|
|
1205
|
+
include?: Prisma.OAuthClientInclude<ExtArgs> | null;
|
|
1206
|
+
/**
|
|
1207
|
+
* Filter, which OAuthClient to fetch.
|
|
1208
|
+
*/
|
|
1209
|
+
where?: Prisma.OAuthClientWhereInput;
|
|
1210
|
+
/**
|
|
1211
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1212
|
+
*
|
|
1213
|
+
* Determine the order of OAuthClients to fetch.
|
|
1214
|
+
*/
|
|
1215
|
+
orderBy?: Prisma.OAuthClientOrderByWithRelationInput | Prisma.OAuthClientOrderByWithRelationInput[];
|
|
1216
|
+
/**
|
|
1217
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1218
|
+
*
|
|
1219
|
+
* Sets the position for searching for OAuthClients.
|
|
1220
|
+
*/
|
|
1221
|
+
cursor?: Prisma.OAuthClientWhereUniqueInput;
|
|
1222
|
+
/**
|
|
1223
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1224
|
+
*
|
|
1225
|
+
* Take `±n` OAuthClients from the position of the cursor.
|
|
1226
|
+
*/
|
|
1227
|
+
take?: number;
|
|
1228
|
+
/**
|
|
1229
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1230
|
+
*
|
|
1231
|
+
* Skip the first `n` OAuthClients.
|
|
1232
|
+
*/
|
|
1233
|
+
skip?: number;
|
|
1234
|
+
/**
|
|
1235
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1236
|
+
*
|
|
1237
|
+
* Filter by unique combinations of OAuthClients.
|
|
1238
|
+
*/
|
|
1239
|
+
distinct?: Prisma.OAuthClientScalarFieldEnum | Prisma.OAuthClientScalarFieldEnum[];
|
|
1240
|
+
};
|
|
1241
|
+
/**
|
|
1242
|
+
* OAuthClient findMany
|
|
1243
|
+
*/
|
|
1244
|
+
export type OAuthClientFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1245
|
+
/**
|
|
1246
|
+
* Select specific fields to fetch from the OAuthClient
|
|
1247
|
+
*/
|
|
1248
|
+
select?: Prisma.OAuthClientSelect<ExtArgs> | null;
|
|
1249
|
+
/**
|
|
1250
|
+
* Omit specific fields from the OAuthClient
|
|
1251
|
+
*/
|
|
1252
|
+
omit?: Prisma.OAuthClientOmit<ExtArgs> | null;
|
|
1253
|
+
/**
|
|
1254
|
+
* Choose, which related nodes to fetch as well
|
|
1255
|
+
*/
|
|
1256
|
+
include?: Prisma.OAuthClientInclude<ExtArgs> | null;
|
|
1257
|
+
/**
|
|
1258
|
+
* Filter, which OAuthClients to fetch.
|
|
1259
|
+
*/
|
|
1260
|
+
where?: Prisma.OAuthClientWhereInput;
|
|
1261
|
+
/**
|
|
1262
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1263
|
+
*
|
|
1264
|
+
* Determine the order of OAuthClients to fetch.
|
|
1265
|
+
*/
|
|
1266
|
+
orderBy?: Prisma.OAuthClientOrderByWithRelationInput | Prisma.OAuthClientOrderByWithRelationInput[];
|
|
1267
|
+
/**
|
|
1268
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1269
|
+
*
|
|
1270
|
+
* Sets the position for listing OAuthClients.
|
|
1271
|
+
*/
|
|
1272
|
+
cursor?: Prisma.OAuthClientWhereUniqueInput;
|
|
1273
|
+
/**
|
|
1274
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1275
|
+
*
|
|
1276
|
+
* Take `±n` OAuthClients from the position of the cursor.
|
|
1277
|
+
*/
|
|
1278
|
+
take?: number;
|
|
1279
|
+
/**
|
|
1280
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1281
|
+
*
|
|
1282
|
+
* Skip the first `n` OAuthClients.
|
|
1283
|
+
*/
|
|
1284
|
+
skip?: number;
|
|
1285
|
+
distinct?: Prisma.OAuthClientScalarFieldEnum | Prisma.OAuthClientScalarFieldEnum[];
|
|
1286
|
+
};
|
|
1287
|
+
/**
|
|
1288
|
+
* OAuthClient create
|
|
1289
|
+
*/
|
|
1290
|
+
export type OAuthClientCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1291
|
+
/**
|
|
1292
|
+
* Select specific fields to fetch from the OAuthClient
|
|
1293
|
+
*/
|
|
1294
|
+
select?: Prisma.OAuthClientSelect<ExtArgs> | null;
|
|
1295
|
+
/**
|
|
1296
|
+
* Omit specific fields from the OAuthClient
|
|
1297
|
+
*/
|
|
1298
|
+
omit?: Prisma.OAuthClientOmit<ExtArgs> | null;
|
|
1299
|
+
/**
|
|
1300
|
+
* Choose, which related nodes to fetch as well
|
|
1301
|
+
*/
|
|
1302
|
+
include?: Prisma.OAuthClientInclude<ExtArgs> | null;
|
|
1303
|
+
/**
|
|
1304
|
+
* The data needed to create a OAuthClient.
|
|
1305
|
+
*/
|
|
1306
|
+
data: Prisma.XOR<Prisma.OAuthClientCreateInput, Prisma.OAuthClientUncheckedCreateInput>;
|
|
1307
|
+
};
|
|
1308
|
+
/**
|
|
1309
|
+
* OAuthClient createMany
|
|
1310
|
+
*/
|
|
1311
|
+
export type OAuthClientCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1312
|
+
/**
|
|
1313
|
+
* The data used to create many OAuthClients.
|
|
1314
|
+
*/
|
|
1315
|
+
data: Prisma.OAuthClientCreateManyInput | Prisma.OAuthClientCreateManyInput[];
|
|
1316
|
+
};
|
|
1317
|
+
/**
|
|
1318
|
+
* OAuthClient createManyAndReturn
|
|
1319
|
+
*/
|
|
1320
|
+
export type OAuthClientCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1321
|
+
/**
|
|
1322
|
+
* Select specific fields to fetch from the OAuthClient
|
|
1323
|
+
*/
|
|
1324
|
+
select?: Prisma.OAuthClientSelectCreateManyAndReturn<ExtArgs> | null;
|
|
1325
|
+
/**
|
|
1326
|
+
* Omit specific fields from the OAuthClient
|
|
1327
|
+
*/
|
|
1328
|
+
omit?: Prisma.OAuthClientOmit<ExtArgs> | null;
|
|
1329
|
+
/**
|
|
1330
|
+
* The data used to create many OAuthClients.
|
|
1331
|
+
*/
|
|
1332
|
+
data: Prisma.OAuthClientCreateManyInput | Prisma.OAuthClientCreateManyInput[];
|
|
1333
|
+
/**
|
|
1334
|
+
* Choose, which related nodes to fetch as well
|
|
1335
|
+
*/
|
|
1336
|
+
include?: Prisma.OAuthClientIncludeCreateManyAndReturn<ExtArgs> | null;
|
|
1337
|
+
};
|
|
1338
|
+
/**
|
|
1339
|
+
* OAuthClient update
|
|
1340
|
+
*/
|
|
1341
|
+
export type OAuthClientUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1342
|
+
/**
|
|
1343
|
+
* Select specific fields to fetch from the OAuthClient
|
|
1344
|
+
*/
|
|
1345
|
+
select?: Prisma.OAuthClientSelect<ExtArgs> | null;
|
|
1346
|
+
/**
|
|
1347
|
+
* Omit specific fields from the OAuthClient
|
|
1348
|
+
*/
|
|
1349
|
+
omit?: Prisma.OAuthClientOmit<ExtArgs> | null;
|
|
1350
|
+
/**
|
|
1351
|
+
* Choose, which related nodes to fetch as well
|
|
1352
|
+
*/
|
|
1353
|
+
include?: Prisma.OAuthClientInclude<ExtArgs> | null;
|
|
1354
|
+
/**
|
|
1355
|
+
* The data needed to update a OAuthClient.
|
|
1356
|
+
*/
|
|
1357
|
+
data: Prisma.XOR<Prisma.OAuthClientUpdateInput, Prisma.OAuthClientUncheckedUpdateInput>;
|
|
1358
|
+
/**
|
|
1359
|
+
* Choose, which OAuthClient to update.
|
|
1360
|
+
*/
|
|
1361
|
+
where: Prisma.OAuthClientWhereUniqueInput;
|
|
1362
|
+
};
|
|
1363
|
+
/**
|
|
1364
|
+
* OAuthClient updateMany
|
|
1365
|
+
*/
|
|
1366
|
+
export type OAuthClientUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1367
|
+
/**
|
|
1368
|
+
* The data used to update OAuthClients.
|
|
1369
|
+
*/
|
|
1370
|
+
data: Prisma.XOR<Prisma.OAuthClientUpdateManyMutationInput, Prisma.OAuthClientUncheckedUpdateManyInput>;
|
|
1371
|
+
/**
|
|
1372
|
+
* Filter which OAuthClients to update
|
|
1373
|
+
*/
|
|
1374
|
+
where?: Prisma.OAuthClientWhereInput;
|
|
1375
|
+
/**
|
|
1376
|
+
* Limit how many OAuthClients to update.
|
|
1377
|
+
*/
|
|
1378
|
+
limit?: number;
|
|
1379
|
+
};
|
|
1380
|
+
/**
|
|
1381
|
+
* OAuthClient updateManyAndReturn
|
|
1382
|
+
*/
|
|
1383
|
+
export type OAuthClientUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1384
|
+
/**
|
|
1385
|
+
* Select specific fields to fetch from the OAuthClient
|
|
1386
|
+
*/
|
|
1387
|
+
select?: Prisma.OAuthClientSelectUpdateManyAndReturn<ExtArgs> | null;
|
|
1388
|
+
/**
|
|
1389
|
+
* Omit specific fields from the OAuthClient
|
|
1390
|
+
*/
|
|
1391
|
+
omit?: Prisma.OAuthClientOmit<ExtArgs> | null;
|
|
1392
|
+
/**
|
|
1393
|
+
* The data used to update OAuthClients.
|
|
1394
|
+
*/
|
|
1395
|
+
data: Prisma.XOR<Prisma.OAuthClientUpdateManyMutationInput, Prisma.OAuthClientUncheckedUpdateManyInput>;
|
|
1396
|
+
/**
|
|
1397
|
+
* Filter which OAuthClients to update
|
|
1398
|
+
*/
|
|
1399
|
+
where?: Prisma.OAuthClientWhereInput;
|
|
1400
|
+
/**
|
|
1401
|
+
* Limit how many OAuthClients to update.
|
|
1402
|
+
*/
|
|
1403
|
+
limit?: number;
|
|
1404
|
+
/**
|
|
1405
|
+
* Choose, which related nodes to fetch as well
|
|
1406
|
+
*/
|
|
1407
|
+
include?: Prisma.OAuthClientIncludeUpdateManyAndReturn<ExtArgs> | null;
|
|
1408
|
+
};
|
|
1409
|
+
/**
|
|
1410
|
+
* OAuthClient upsert
|
|
1411
|
+
*/
|
|
1412
|
+
export type OAuthClientUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1413
|
+
/**
|
|
1414
|
+
* Select specific fields to fetch from the OAuthClient
|
|
1415
|
+
*/
|
|
1416
|
+
select?: Prisma.OAuthClientSelect<ExtArgs> | null;
|
|
1417
|
+
/**
|
|
1418
|
+
* Omit specific fields from the OAuthClient
|
|
1419
|
+
*/
|
|
1420
|
+
omit?: Prisma.OAuthClientOmit<ExtArgs> | null;
|
|
1421
|
+
/**
|
|
1422
|
+
* Choose, which related nodes to fetch as well
|
|
1423
|
+
*/
|
|
1424
|
+
include?: Prisma.OAuthClientInclude<ExtArgs> | null;
|
|
1425
|
+
/**
|
|
1426
|
+
* The filter to search for the OAuthClient to update in case it exists.
|
|
1427
|
+
*/
|
|
1428
|
+
where: Prisma.OAuthClientWhereUniqueInput;
|
|
1429
|
+
/**
|
|
1430
|
+
* In case the OAuthClient found by the `where` argument doesn't exist, create a new OAuthClient with this data.
|
|
1431
|
+
*/
|
|
1432
|
+
create: Prisma.XOR<Prisma.OAuthClientCreateInput, Prisma.OAuthClientUncheckedCreateInput>;
|
|
1433
|
+
/**
|
|
1434
|
+
* In case the OAuthClient was found with the provided `where` argument, update it with this data.
|
|
1435
|
+
*/
|
|
1436
|
+
update: Prisma.XOR<Prisma.OAuthClientUpdateInput, Prisma.OAuthClientUncheckedUpdateInput>;
|
|
1437
|
+
};
|
|
1438
|
+
/**
|
|
1439
|
+
* OAuthClient delete
|
|
1440
|
+
*/
|
|
1441
|
+
export type OAuthClientDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1442
|
+
/**
|
|
1443
|
+
* Select specific fields to fetch from the OAuthClient
|
|
1444
|
+
*/
|
|
1445
|
+
select?: Prisma.OAuthClientSelect<ExtArgs> | null;
|
|
1446
|
+
/**
|
|
1447
|
+
* Omit specific fields from the OAuthClient
|
|
1448
|
+
*/
|
|
1449
|
+
omit?: Prisma.OAuthClientOmit<ExtArgs> | null;
|
|
1450
|
+
/**
|
|
1451
|
+
* Choose, which related nodes to fetch as well
|
|
1452
|
+
*/
|
|
1453
|
+
include?: Prisma.OAuthClientInclude<ExtArgs> | null;
|
|
1454
|
+
/**
|
|
1455
|
+
* Filter which OAuthClient to delete.
|
|
1456
|
+
*/
|
|
1457
|
+
where: Prisma.OAuthClientWhereUniqueInput;
|
|
1458
|
+
};
|
|
1459
|
+
/**
|
|
1460
|
+
* OAuthClient deleteMany
|
|
1461
|
+
*/
|
|
1462
|
+
export type OAuthClientDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1463
|
+
/**
|
|
1464
|
+
* Filter which OAuthClients to delete
|
|
1465
|
+
*/
|
|
1466
|
+
where?: Prisma.OAuthClientWhereInput;
|
|
1467
|
+
/**
|
|
1468
|
+
* Limit how many OAuthClients to delete.
|
|
1469
|
+
*/
|
|
1470
|
+
limit?: number;
|
|
1471
|
+
};
|
|
1472
|
+
/**
|
|
1473
|
+
* OAuthClient.redirect_uri
|
|
1474
|
+
*/
|
|
1475
|
+
export type OAuthClient$redirect_uriArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1476
|
+
/**
|
|
1477
|
+
* Select specific fields to fetch from the OAuthClientRedirectUri
|
|
1478
|
+
*/
|
|
1479
|
+
select?: Prisma.OAuthClientRedirectUriSelect<ExtArgs> | null;
|
|
1480
|
+
/**
|
|
1481
|
+
* Omit specific fields from the OAuthClientRedirectUri
|
|
1482
|
+
*/
|
|
1483
|
+
omit?: Prisma.OAuthClientRedirectUriOmit<ExtArgs> | null;
|
|
1484
|
+
/**
|
|
1485
|
+
* Choose, which related nodes to fetch as well
|
|
1486
|
+
*/
|
|
1487
|
+
include?: Prisma.OAuthClientRedirectUriInclude<ExtArgs> | null;
|
|
1488
|
+
where?: Prisma.OAuthClientRedirectUriWhereInput;
|
|
1489
|
+
orderBy?: Prisma.OAuthClientRedirectUriOrderByWithRelationInput | Prisma.OAuthClientRedirectUriOrderByWithRelationInput[];
|
|
1490
|
+
cursor?: Prisma.OAuthClientRedirectUriWhereUniqueInput;
|
|
1491
|
+
take?: number;
|
|
1492
|
+
skip?: number;
|
|
1493
|
+
distinct?: Prisma.OAuthClientRedirectUriScalarFieldEnum | Prisma.OAuthClientRedirectUriScalarFieldEnum[];
|
|
1494
|
+
};
|
|
1495
|
+
/**
|
|
1496
|
+
* OAuthClient.authorization
|
|
1497
|
+
*/
|
|
1498
|
+
export type OAuthClient$authorizationArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1499
|
+
/**
|
|
1500
|
+
* Select specific fields to fetch from the OAuthAuthorization
|
|
1501
|
+
*/
|
|
1502
|
+
select?: Prisma.OAuthAuthorizationSelect<ExtArgs> | null;
|
|
1503
|
+
/**
|
|
1504
|
+
* Omit specific fields from the OAuthAuthorization
|
|
1505
|
+
*/
|
|
1506
|
+
omit?: Prisma.OAuthAuthorizationOmit<ExtArgs> | null;
|
|
1507
|
+
/**
|
|
1508
|
+
* Choose, which related nodes to fetch as well
|
|
1509
|
+
*/
|
|
1510
|
+
include?: Prisma.OAuthAuthorizationInclude<ExtArgs> | null;
|
|
1511
|
+
where?: Prisma.OAuthAuthorizationWhereInput;
|
|
1512
|
+
orderBy?: Prisma.OAuthAuthorizationOrderByWithRelationInput | Prisma.OAuthAuthorizationOrderByWithRelationInput[];
|
|
1513
|
+
cursor?: Prisma.OAuthAuthorizationWhereUniqueInput;
|
|
1514
|
+
take?: number;
|
|
1515
|
+
skip?: number;
|
|
1516
|
+
distinct?: Prisma.OAuthAuthorizationScalarFieldEnum | Prisma.OAuthAuthorizationScalarFieldEnum[];
|
|
1517
|
+
};
|
|
1518
|
+
/**
|
|
1519
|
+
* OAuthClient.valid_flow
|
|
1520
|
+
*/
|
|
1521
|
+
export type OAuthClient$valid_flowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1522
|
+
/**
|
|
1523
|
+
* Select specific fields to fetch from the OAuthClientValidFlow
|
|
1524
|
+
*/
|
|
1525
|
+
select?: Prisma.OAuthClientValidFlowSelect<ExtArgs> | null;
|
|
1526
|
+
/**
|
|
1527
|
+
* Omit specific fields from the OAuthClientValidFlow
|
|
1528
|
+
*/
|
|
1529
|
+
omit?: Prisma.OAuthClientValidFlowOmit<ExtArgs> | null;
|
|
1530
|
+
/**
|
|
1531
|
+
* Choose, which related nodes to fetch as well
|
|
1532
|
+
*/
|
|
1533
|
+
include?: Prisma.OAuthClientValidFlowInclude<ExtArgs> | null;
|
|
1534
|
+
where?: Prisma.OAuthClientValidFlowWhereInput;
|
|
1535
|
+
orderBy?: Prisma.OAuthClientValidFlowOrderByWithRelationInput | Prisma.OAuthClientValidFlowOrderByWithRelationInput[];
|
|
1536
|
+
cursor?: Prisma.OAuthClientValidFlowWhereUniqueInput;
|
|
1537
|
+
take?: number;
|
|
1538
|
+
skip?: number;
|
|
1539
|
+
distinct?: Prisma.OAuthClientValidFlowScalarFieldEnum | Prisma.OAuthClientValidFlowScalarFieldEnum[];
|
|
1540
|
+
};
|
|
1541
|
+
/**
|
|
1542
|
+
* OAuthClient.user
|
|
1543
|
+
*/
|
|
1544
|
+
export type OAuthClient$userArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1545
|
+
/**
|
|
1546
|
+
* Select specific fields to fetch from the User
|
|
1547
|
+
*/
|
|
1548
|
+
select?: Prisma.UserSelect<ExtArgs> | null;
|
|
1549
|
+
/**
|
|
1550
|
+
* Omit specific fields from the User
|
|
1551
|
+
*/
|
|
1552
|
+
omit?: Prisma.UserOmit<ExtArgs> | null;
|
|
1553
|
+
/**
|
|
1554
|
+
* Choose, which related nodes to fetch as well
|
|
1555
|
+
*/
|
|
1556
|
+
include?: Prisma.UserInclude<ExtArgs> | null;
|
|
1557
|
+
where?: Prisma.UserWhereInput;
|
|
1558
|
+
};
|
|
1559
|
+
/**
|
|
1560
|
+
* OAuthClient without action
|
|
1561
|
+
*/
|
|
1562
|
+
export type OAuthClientDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1563
|
+
/**
|
|
1564
|
+
* Select specific fields to fetch from the OAuthClient
|
|
1565
|
+
*/
|
|
1566
|
+
select?: Prisma.OAuthClientSelect<ExtArgs> | null;
|
|
1567
|
+
/**
|
|
1568
|
+
* Omit specific fields from the OAuthClient
|
|
1569
|
+
*/
|
|
1570
|
+
omit?: Prisma.OAuthClientOmit<ExtArgs> | null;
|
|
1571
|
+
/**
|
|
1572
|
+
* Choose, which related nodes to fetch as well
|
|
1573
|
+
*/
|
|
1574
|
+
include?: Prisma.OAuthClientInclude<ExtArgs> | null;
|
|
1575
|
+
};
|
|
1576
|
+
export {};
|