@crossauth/backend 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/authenticators/dummyfactor2.d.ts +3 -3
- package/dist/authenticators/emailauth.d.ts.map +1 -1
- package/dist/authenticators/ldapauth.d.ts.map +1 -1
- package/dist/authenticators/oidcauthenticator.d.ts +1 -6
- package/dist/authenticators/oidcauthenticator.d.ts.map +1 -1
- package/dist/authenticators/passwordauth.d.ts +2 -2
- package/dist/authenticators/passwordauth.d.ts.map +1 -1
- package/dist/authenticators/smsauth.d.ts +2 -3
- package/dist/authenticators/smsauth.d.ts.map +1 -1
- package/dist/crypto.d.ts +1 -0
- package/dist/crypto.d.ts.map +1 -1
- package/dist/index.cjs +126 -1
- package/dist/index.js +1943 -1742
- package/dist/lib/generated/prisma/browser.d.ts +45 -0
- package/dist/lib/generated/prisma/browser.d.ts.map +1 -0
- package/dist/lib/generated/prisma/client.d.ts +62 -0
- package/dist/lib/generated/prisma/client.d.ts.map +1 -0
- package/dist/lib/generated/prisma/commonInputTypes.d.ts +356 -0
- package/dist/lib/generated/prisma/commonInputTypes.d.ts.map +1 -0
- package/dist/lib/generated/prisma/enums.d.ts +2 -0
- package/dist/lib/generated/prisma/enums.d.ts.map +1 -0
- package/dist/lib/generated/prisma/internal/class.d.ts +204 -0
- package/dist/lib/generated/prisma/internal/class.d.ts.map +1 -0
- package/dist/lib/generated/prisma/internal/prismaNamespace.d.ts +1108 -0
- package/dist/lib/generated/prisma/internal/prismaNamespace.d.ts.map +1 -0
- package/dist/lib/generated/prisma/internal/prismaNamespaceBrowser.d.ts +119 -0
- package/dist/lib/generated/prisma/internal/prismaNamespaceBrowser.d.ts.map +1 -0
- package/dist/lib/generated/prisma/models/ApiKey.d.ts +1301 -0
- package/dist/lib/generated/prisma/models/ApiKey.d.ts.map +1 -0
- package/dist/lib/generated/prisma/models/Key.d.ts +1309 -0
- package/dist/lib/generated/prisma/models/Key.d.ts.map +1 -0
- package/dist/lib/generated/prisma/models/OAuthAuthorization.d.ts +1311 -0
- package/dist/lib/generated/prisma/models/OAuthAuthorization.d.ts.map +1 -0
- package/dist/lib/generated/prisma/models/OAuthClient.d.ts +1577 -0
- package/dist/lib/generated/prisma/models/OAuthClient.d.ts.map +1 -0
- package/dist/lib/generated/prisma/models/OAuthClientRedirectUri.d.ts +1137 -0
- package/dist/lib/generated/prisma/models/OAuthClientRedirectUri.d.ts.map +1 -0
- package/dist/lib/generated/prisma/models/OAuthClientValidFlow.d.ts +1137 -0
- package/dist/lib/generated/prisma/models/OAuthClientValidFlow.d.ts.map +1 -0
- package/dist/lib/generated/prisma/models/User.d.ts +1891 -0
- package/dist/lib/generated/prisma/models/User.d.ts.map +1 -0
- package/dist/lib/generated/prisma/models/UserSecrets.d.ts +1100 -0
- package/dist/lib/generated/prisma/models/UserSecrets.d.ts.map +1 -0
- package/dist/lib/generated/prisma/models.d.ts +10 -0
- package/dist/lib/generated/prisma/models.d.ts.map +1 -0
- package/dist/session.d.ts.map +1 -1
- package/dist/storage/inmemorystorage.d.ts.map +1 -1
- package/dist/storage/ldapstorage.d.ts +1 -1
- package/dist/storage/prismastorage.d.ts +2 -2
- package/dist/storage/prismastorage.d.ts.map +1 -1
- package/dist/storage/tests/dbtests.d.ts.map +1 -1
- package/dist/storage/tests/prismastorage.test.d.ts.map +1 -1
- package/dist/storage.d.ts +13 -13
- package/dist/storage.d.ts.map +1 -1
- package/package.json +11 -6
|
@@ -0,0 +1,1137 @@
|
|
|
1
|
+
import type * as runtime from "@prisma/client/runtime/client";
|
|
2
|
+
import type * as Prisma from "../internal/prismaNamespace.ts";
|
|
3
|
+
/**
|
|
4
|
+
* Model OAuthClientValidFlow
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
7
|
+
export type OAuthClientValidFlowModel = runtime.Types.Result.DefaultSelection<Prisma.$OAuthClientValidFlowPayload>;
|
|
8
|
+
export type AggregateOAuthClientValidFlow = {
|
|
9
|
+
_count: OAuthClientValidFlowCountAggregateOutputType | null;
|
|
10
|
+
_avg: OAuthClientValidFlowAvgAggregateOutputType | null;
|
|
11
|
+
_sum: OAuthClientValidFlowSumAggregateOutputType | null;
|
|
12
|
+
_min: OAuthClientValidFlowMinAggregateOutputType | null;
|
|
13
|
+
_max: OAuthClientValidFlowMaxAggregateOutputType | null;
|
|
14
|
+
};
|
|
15
|
+
export type OAuthClientValidFlowAvgAggregateOutputType = {
|
|
16
|
+
id: number | null;
|
|
17
|
+
};
|
|
18
|
+
export type OAuthClientValidFlowSumAggregateOutputType = {
|
|
19
|
+
id: number | null;
|
|
20
|
+
};
|
|
21
|
+
export type OAuthClientValidFlowMinAggregateOutputType = {
|
|
22
|
+
id: number | null;
|
|
23
|
+
client_id: string | null;
|
|
24
|
+
flow: string | null;
|
|
25
|
+
};
|
|
26
|
+
export type OAuthClientValidFlowMaxAggregateOutputType = {
|
|
27
|
+
id: number | null;
|
|
28
|
+
client_id: string | null;
|
|
29
|
+
flow: string | null;
|
|
30
|
+
};
|
|
31
|
+
export type OAuthClientValidFlowCountAggregateOutputType = {
|
|
32
|
+
id: number;
|
|
33
|
+
client_id: number;
|
|
34
|
+
flow: number;
|
|
35
|
+
_all: number;
|
|
36
|
+
};
|
|
37
|
+
export type OAuthClientValidFlowAvgAggregateInputType = {
|
|
38
|
+
id?: true;
|
|
39
|
+
};
|
|
40
|
+
export type OAuthClientValidFlowSumAggregateInputType = {
|
|
41
|
+
id?: true;
|
|
42
|
+
};
|
|
43
|
+
export type OAuthClientValidFlowMinAggregateInputType = {
|
|
44
|
+
id?: true;
|
|
45
|
+
client_id?: true;
|
|
46
|
+
flow?: true;
|
|
47
|
+
};
|
|
48
|
+
export type OAuthClientValidFlowMaxAggregateInputType = {
|
|
49
|
+
id?: true;
|
|
50
|
+
client_id?: true;
|
|
51
|
+
flow?: true;
|
|
52
|
+
};
|
|
53
|
+
export type OAuthClientValidFlowCountAggregateInputType = {
|
|
54
|
+
id?: true;
|
|
55
|
+
client_id?: true;
|
|
56
|
+
flow?: true;
|
|
57
|
+
_all?: true;
|
|
58
|
+
};
|
|
59
|
+
export type OAuthClientValidFlowAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
60
|
+
/**
|
|
61
|
+
* Filter which OAuthClientValidFlow to aggregate.
|
|
62
|
+
*/
|
|
63
|
+
where?: Prisma.OAuthClientValidFlowWhereInput;
|
|
64
|
+
/**
|
|
65
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
66
|
+
*
|
|
67
|
+
* Determine the order of OAuthClientValidFlows to fetch.
|
|
68
|
+
*/
|
|
69
|
+
orderBy?: Prisma.OAuthClientValidFlowOrderByWithRelationInput | Prisma.OAuthClientValidFlowOrderByWithRelationInput[];
|
|
70
|
+
/**
|
|
71
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
72
|
+
*
|
|
73
|
+
* Sets the start position
|
|
74
|
+
*/
|
|
75
|
+
cursor?: Prisma.OAuthClientValidFlowWhereUniqueInput;
|
|
76
|
+
/**
|
|
77
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
78
|
+
*
|
|
79
|
+
* Take `±n` OAuthClientValidFlows from the position of the cursor.
|
|
80
|
+
*/
|
|
81
|
+
take?: number;
|
|
82
|
+
/**
|
|
83
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
84
|
+
*
|
|
85
|
+
* Skip the first `n` OAuthClientValidFlows.
|
|
86
|
+
*/
|
|
87
|
+
skip?: number;
|
|
88
|
+
/**
|
|
89
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
90
|
+
*
|
|
91
|
+
* Count returned OAuthClientValidFlows
|
|
92
|
+
**/
|
|
93
|
+
_count?: true | OAuthClientValidFlowCountAggregateInputType;
|
|
94
|
+
/**
|
|
95
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
96
|
+
*
|
|
97
|
+
* Select which fields to average
|
|
98
|
+
**/
|
|
99
|
+
_avg?: OAuthClientValidFlowAvgAggregateInputType;
|
|
100
|
+
/**
|
|
101
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
102
|
+
*
|
|
103
|
+
* Select which fields to sum
|
|
104
|
+
**/
|
|
105
|
+
_sum?: OAuthClientValidFlowSumAggregateInputType;
|
|
106
|
+
/**
|
|
107
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
108
|
+
*
|
|
109
|
+
* Select which fields to find the minimum value
|
|
110
|
+
**/
|
|
111
|
+
_min?: OAuthClientValidFlowMinAggregateInputType;
|
|
112
|
+
/**
|
|
113
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
114
|
+
*
|
|
115
|
+
* Select which fields to find the maximum value
|
|
116
|
+
**/
|
|
117
|
+
_max?: OAuthClientValidFlowMaxAggregateInputType;
|
|
118
|
+
};
|
|
119
|
+
export type GetOAuthClientValidFlowAggregateType<T extends OAuthClientValidFlowAggregateArgs> = {
|
|
120
|
+
[P in keyof T & keyof AggregateOAuthClientValidFlow]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateOAuthClientValidFlow[P]> : Prisma.GetScalarType<T[P], AggregateOAuthClientValidFlow[P]>;
|
|
121
|
+
};
|
|
122
|
+
export type OAuthClientValidFlowGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
123
|
+
where?: Prisma.OAuthClientValidFlowWhereInput;
|
|
124
|
+
orderBy?: Prisma.OAuthClientValidFlowOrderByWithAggregationInput | Prisma.OAuthClientValidFlowOrderByWithAggregationInput[];
|
|
125
|
+
by: Prisma.OAuthClientValidFlowScalarFieldEnum[] | Prisma.OAuthClientValidFlowScalarFieldEnum;
|
|
126
|
+
having?: Prisma.OAuthClientValidFlowScalarWhereWithAggregatesInput;
|
|
127
|
+
take?: number;
|
|
128
|
+
skip?: number;
|
|
129
|
+
_count?: OAuthClientValidFlowCountAggregateInputType | true;
|
|
130
|
+
_avg?: OAuthClientValidFlowAvgAggregateInputType;
|
|
131
|
+
_sum?: OAuthClientValidFlowSumAggregateInputType;
|
|
132
|
+
_min?: OAuthClientValidFlowMinAggregateInputType;
|
|
133
|
+
_max?: OAuthClientValidFlowMaxAggregateInputType;
|
|
134
|
+
};
|
|
135
|
+
export type OAuthClientValidFlowGroupByOutputType = {
|
|
136
|
+
id: number;
|
|
137
|
+
client_id: string;
|
|
138
|
+
flow: string;
|
|
139
|
+
_count: OAuthClientValidFlowCountAggregateOutputType | null;
|
|
140
|
+
_avg: OAuthClientValidFlowAvgAggregateOutputType | null;
|
|
141
|
+
_sum: OAuthClientValidFlowSumAggregateOutputType | null;
|
|
142
|
+
_min: OAuthClientValidFlowMinAggregateOutputType | null;
|
|
143
|
+
_max: OAuthClientValidFlowMaxAggregateOutputType | null;
|
|
144
|
+
};
|
|
145
|
+
type GetOAuthClientValidFlowGroupByPayload<T extends OAuthClientValidFlowGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<OAuthClientValidFlowGroupByOutputType, T['by']> & {
|
|
146
|
+
[P in ((keyof T) & (keyof OAuthClientValidFlowGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], OAuthClientValidFlowGroupByOutputType[P]> : Prisma.GetScalarType<T[P], OAuthClientValidFlowGroupByOutputType[P]>;
|
|
147
|
+
}>>;
|
|
148
|
+
export type OAuthClientValidFlowWhereInput = {
|
|
149
|
+
AND?: Prisma.OAuthClientValidFlowWhereInput | Prisma.OAuthClientValidFlowWhereInput[];
|
|
150
|
+
OR?: Prisma.OAuthClientValidFlowWhereInput[];
|
|
151
|
+
NOT?: Prisma.OAuthClientValidFlowWhereInput | Prisma.OAuthClientValidFlowWhereInput[];
|
|
152
|
+
id?: Prisma.IntFilter<"OAuthClientValidFlow"> | number;
|
|
153
|
+
client_id?: Prisma.StringFilter<"OAuthClientValidFlow"> | string;
|
|
154
|
+
flow?: Prisma.StringFilter<"OAuthClientValidFlow"> | string;
|
|
155
|
+
client?: Prisma.XOR<Prisma.OAuthClientScalarRelationFilter, Prisma.OAuthClientWhereInput>;
|
|
156
|
+
};
|
|
157
|
+
export type OAuthClientValidFlowOrderByWithRelationInput = {
|
|
158
|
+
id?: Prisma.SortOrder;
|
|
159
|
+
client_id?: Prisma.SortOrder;
|
|
160
|
+
flow?: Prisma.SortOrder;
|
|
161
|
+
client?: Prisma.OAuthClientOrderByWithRelationInput;
|
|
162
|
+
};
|
|
163
|
+
export type OAuthClientValidFlowWhereUniqueInput = Prisma.AtLeast<{
|
|
164
|
+
id?: number;
|
|
165
|
+
flowUnique?: Prisma.OAuthClientValidFlowFlowUniqueCompoundUniqueInput;
|
|
166
|
+
AND?: Prisma.OAuthClientValidFlowWhereInput | Prisma.OAuthClientValidFlowWhereInput[];
|
|
167
|
+
OR?: Prisma.OAuthClientValidFlowWhereInput[];
|
|
168
|
+
NOT?: Prisma.OAuthClientValidFlowWhereInput | Prisma.OAuthClientValidFlowWhereInput[];
|
|
169
|
+
client_id?: Prisma.StringFilter<"OAuthClientValidFlow"> | string;
|
|
170
|
+
flow?: Prisma.StringFilter<"OAuthClientValidFlow"> | string;
|
|
171
|
+
client?: Prisma.XOR<Prisma.OAuthClientScalarRelationFilter, Prisma.OAuthClientWhereInput>;
|
|
172
|
+
}, "id" | "id" | "flowUnique">;
|
|
173
|
+
export type OAuthClientValidFlowOrderByWithAggregationInput = {
|
|
174
|
+
id?: Prisma.SortOrder;
|
|
175
|
+
client_id?: Prisma.SortOrder;
|
|
176
|
+
flow?: Prisma.SortOrder;
|
|
177
|
+
_count?: Prisma.OAuthClientValidFlowCountOrderByAggregateInput;
|
|
178
|
+
_avg?: Prisma.OAuthClientValidFlowAvgOrderByAggregateInput;
|
|
179
|
+
_max?: Prisma.OAuthClientValidFlowMaxOrderByAggregateInput;
|
|
180
|
+
_min?: Prisma.OAuthClientValidFlowMinOrderByAggregateInput;
|
|
181
|
+
_sum?: Prisma.OAuthClientValidFlowSumOrderByAggregateInput;
|
|
182
|
+
};
|
|
183
|
+
export type OAuthClientValidFlowScalarWhereWithAggregatesInput = {
|
|
184
|
+
AND?: Prisma.OAuthClientValidFlowScalarWhereWithAggregatesInput | Prisma.OAuthClientValidFlowScalarWhereWithAggregatesInput[];
|
|
185
|
+
OR?: Prisma.OAuthClientValidFlowScalarWhereWithAggregatesInput[];
|
|
186
|
+
NOT?: Prisma.OAuthClientValidFlowScalarWhereWithAggregatesInput | Prisma.OAuthClientValidFlowScalarWhereWithAggregatesInput[];
|
|
187
|
+
id?: Prisma.IntWithAggregatesFilter<"OAuthClientValidFlow"> | number;
|
|
188
|
+
client_id?: Prisma.StringWithAggregatesFilter<"OAuthClientValidFlow"> | string;
|
|
189
|
+
flow?: Prisma.StringWithAggregatesFilter<"OAuthClientValidFlow"> | string;
|
|
190
|
+
};
|
|
191
|
+
export type OAuthClientValidFlowCreateInput = {
|
|
192
|
+
flow: string;
|
|
193
|
+
client: Prisma.OAuthClientCreateNestedOneWithoutValid_flowInput;
|
|
194
|
+
};
|
|
195
|
+
export type OAuthClientValidFlowUncheckedCreateInput = {
|
|
196
|
+
id?: number;
|
|
197
|
+
client_id: string;
|
|
198
|
+
flow: string;
|
|
199
|
+
};
|
|
200
|
+
export type OAuthClientValidFlowUpdateInput = {
|
|
201
|
+
flow?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
202
|
+
client?: Prisma.OAuthClientUpdateOneRequiredWithoutValid_flowNestedInput;
|
|
203
|
+
};
|
|
204
|
+
export type OAuthClientValidFlowUncheckedUpdateInput = {
|
|
205
|
+
id?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
206
|
+
client_id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
207
|
+
flow?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
208
|
+
};
|
|
209
|
+
export type OAuthClientValidFlowCreateManyInput = {
|
|
210
|
+
id?: number;
|
|
211
|
+
client_id: string;
|
|
212
|
+
flow: string;
|
|
213
|
+
};
|
|
214
|
+
export type OAuthClientValidFlowUpdateManyMutationInput = {
|
|
215
|
+
flow?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
216
|
+
};
|
|
217
|
+
export type OAuthClientValidFlowUncheckedUpdateManyInput = {
|
|
218
|
+
id?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
219
|
+
client_id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
220
|
+
flow?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
221
|
+
};
|
|
222
|
+
export type OAuthClientValidFlowListRelationFilter = {
|
|
223
|
+
every?: Prisma.OAuthClientValidFlowWhereInput;
|
|
224
|
+
some?: Prisma.OAuthClientValidFlowWhereInput;
|
|
225
|
+
none?: Prisma.OAuthClientValidFlowWhereInput;
|
|
226
|
+
};
|
|
227
|
+
export type OAuthClientValidFlowOrderByRelationAggregateInput = {
|
|
228
|
+
_count?: Prisma.SortOrder;
|
|
229
|
+
};
|
|
230
|
+
export type OAuthClientValidFlowFlowUniqueCompoundUniqueInput = {
|
|
231
|
+
client_id: string;
|
|
232
|
+
flow: string;
|
|
233
|
+
};
|
|
234
|
+
export type OAuthClientValidFlowCountOrderByAggregateInput = {
|
|
235
|
+
id?: Prisma.SortOrder;
|
|
236
|
+
client_id?: Prisma.SortOrder;
|
|
237
|
+
flow?: Prisma.SortOrder;
|
|
238
|
+
};
|
|
239
|
+
export type OAuthClientValidFlowAvgOrderByAggregateInput = {
|
|
240
|
+
id?: Prisma.SortOrder;
|
|
241
|
+
};
|
|
242
|
+
export type OAuthClientValidFlowMaxOrderByAggregateInput = {
|
|
243
|
+
id?: Prisma.SortOrder;
|
|
244
|
+
client_id?: Prisma.SortOrder;
|
|
245
|
+
flow?: Prisma.SortOrder;
|
|
246
|
+
};
|
|
247
|
+
export type OAuthClientValidFlowMinOrderByAggregateInput = {
|
|
248
|
+
id?: Prisma.SortOrder;
|
|
249
|
+
client_id?: Prisma.SortOrder;
|
|
250
|
+
flow?: Prisma.SortOrder;
|
|
251
|
+
};
|
|
252
|
+
export type OAuthClientValidFlowSumOrderByAggregateInput = {
|
|
253
|
+
id?: Prisma.SortOrder;
|
|
254
|
+
};
|
|
255
|
+
export type OAuthClientValidFlowCreateNestedManyWithoutClientInput = {
|
|
256
|
+
create?: Prisma.XOR<Prisma.OAuthClientValidFlowCreateWithoutClientInput, Prisma.OAuthClientValidFlowUncheckedCreateWithoutClientInput> | Prisma.OAuthClientValidFlowCreateWithoutClientInput[] | Prisma.OAuthClientValidFlowUncheckedCreateWithoutClientInput[];
|
|
257
|
+
connectOrCreate?: Prisma.OAuthClientValidFlowCreateOrConnectWithoutClientInput | Prisma.OAuthClientValidFlowCreateOrConnectWithoutClientInput[];
|
|
258
|
+
createMany?: Prisma.OAuthClientValidFlowCreateManyClientInputEnvelope;
|
|
259
|
+
connect?: Prisma.OAuthClientValidFlowWhereUniqueInput | Prisma.OAuthClientValidFlowWhereUniqueInput[];
|
|
260
|
+
};
|
|
261
|
+
export type OAuthClientValidFlowUncheckedCreateNestedManyWithoutClientInput = {
|
|
262
|
+
create?: Prisma.XOR<Prisma.OAuthClientValidFlowCreateWithoutClientInput, Prisma.OAuthClientValidFlowUncheckedCreateWithoutClientInput> | Prisma.OAuthClientValidFlowCreateWithoutClientInput[] | Prisma.OAuthClientValidFlowUncheckedCreateWithoutClientInput[];
|
|
263
|
+
connectOrCreate?: Prisma.OAuthClientValidFlowCreateOrConnectWithoutClientInput | Prisma.OAuthClientValidFlowCreateOrConnectWithoutClientInput[];
|
|
264
|
+
createMany?: Prisma.OAuthClientValidFlowCreateManyClientInputEnvelope;
|
|
265
|
+
connect?: Prisma.OAuthClientValidFlowWhereUniqueInput | Prisma.OAuthClientValidFlowWhereUniqueInput[];
|
|
266
|
+
};
|
|
267
|
+
export type OAuthClientValidFlowUpdateManyWithoutClientNestedInput = {
|
|
268
|
+
create?: Prisma.XOR<Prisma.OAuthClientValidFlowCreateWithoutClientInput, Prisma.OAuthClientValidFlowUncheckedCreateWithoutClientInput> | Prisma.OAuthClientValidFlowCreateWithoutClientInput[] | Prisma.OAuthClientValidFlowUncheckedCreateWithoutClientInput[];
|
|
269
|
+
connectOrCreate?: Prisma.OAuthClientValidFlowCreateOrConnectWithoutClientInput | Prisma.OAuthClientValidFlowCreateOrConnectWithoutClientInput[];
|
|
270
|
+
upsert?: Prisma.OAuthClientValidFlowUpsertWithWhereUniqueWithoutClientInput | Prisma.OAuthClientValidFlowUpsertWithWhereUniqueWithoutClientInput[];
|
|
271
|
+
createMany?: Prisma.OAuthClientValidFlowCreateManyClientInputEnvelope;
|
|
272
|
+
set?: Prisma.OAuthClientValidFlowWhereUniqueInput | Prisma.OAuthClientValidFlowWhereUniqueInput[];
|
|
273
|
+
disconnect?: Prisma.OAuthClientValidFlowWhereUniqueInput | Prisma.OAuthClientValidFlowWhereUniqueInput[];
|
|
274
|
+
delete?: Prisma.OAuthClientValidFlowWhereUniqueInput | Prisma.OAuthClientValidFlowWhereUniqueInput[];
|
|
275
|
+
connect?: Prisma.OAuthClientValidFlowWhereUniqueInput | Prisma.OAuthClientValidFlowWhereUniqueInput[];
|
|
276
|
+
update?: Prisma.OAuthClientValidFlowUpdateWithWhereUniqueWithoutClientInput | Prisma.OAuthClientValidFlowUpdateWithWhereUniqueWithoutClientInput[];
|
|
277
|
+
updateMany?: Prisma.OAuthClientValidFlowUpdateManyWithWhereWithoutClientInput | Prisma.OAuthClientValidFlowUpdateManyWithWhereWithoutClientInput[];
|
|
278
|
+
deleteMany?: Prisma.OAuthClientValidFlowScalarWhereInput | Prisma.OAuthClientValidFlowScalarWhereInput[];
|
|
279
|
+
};
|
|
280
|
+
export type OAuthClientValidFlowUncheckedUpdateManyWithoutClientNestedInput = {
|
|
281
|
+
create?: Prisma.XOR<Prisma.OAuthClientValidFlowCreateWithoutClientInput, Prisma.OAuthClientValidFlowUncheckedCreateWithoutClientInput> | Prisma.OAuthClientValidFlowCreateWithoutClientInput[] | Prisma.OAuthClientValidFlowUncheckedCreateWithoutClientInput[];
|
|
282
|
+
connectOrCreate?: Prisma.OAuthClientValidFlowCreateOrConnectWithoutClientInput | Prisma.OAuthClientValidFlowCreateOrConnectWithoutClientInput[];
|
|
283
|
+
upsert?: Prisma.OAuthClientValidFlowUpsertWithWhereUniqueWithoutClientInput | Prisma.OAuthClientValidFlowUpsertWithWhereUniqueWithoutClientInput[];
|
|
284
|
+
createMany?: Prisma.OAuthClientValidFlowCreateManyClientInputEnvelope;
|
|
285
|
+
set?: Prisma.OAuthClientValidFlowWhereUniqueInput | Prisma.OAuthClientValidFlowWhereUniqueInput[];
|
|
286
|
+
disconnect?: Prisma.OAuthClientValidFlowWhereUniqueInput | Prisma.OAuthClientValidFlowWhereUniqueInput[];
|
|
287
|
+
delete?: Prisma.OAuthClientValidFlowWhereUniqueInput | Prisma.OAuthClientValidFlowWhereUniqueInput[];
|
|
288
|
+
connect?: Prisma.OAuthClientValidFlowWhereUniqueInput | Prisma.OAuthClientValidFlowWhereUniqueInput[];
|
|
289
|
+
update?: Prisma.OAuthClientValidFlowUpdateWithWhereUniqueWithoutClientInput | Prisma.OAuthClientValidFlowUpdateWithWhereUniqueWithoutClientInput[];
|
|
290
|
+
updateMany?: Prisma.OAuthClientValidFlowUpdateManyWithWhereWithoutClientInput | Prisma.OAuthClientValidFlowUpdateManyWithWhereWithoutClientInput[];
|
|
291
|
+
deleteMany?: Prisma.OAuthClientValidFlowScalarWhereInput | Prisma.OAuthClientValidFlowScalarWhereInput[];
|
|
292
|
+
};
|
|
293
|
+
export type OAuthClientValidFlowCreateWithoutClientInput = {
|
|
294
|
+
flow: string;
|
|
295
|
+
};
|
|
296
|
+
export type OAuthClientValidFlowUncheckedCreateWithoutClientInput = {
|
|
297
|
+
id?: number;
|
|
298
|
+
flow: string;
|
|
299
|
+
};
|
|
300
|
+
export type OAuthClientValidFlowCreateOrConnectWithoutClientInput = {
|
|
301
|
+
where: Prisma.OAuthClientValidFlowWhereUniqueInput;
|
|
302
|
+
create: Prisma.XOR<Prisma.OAuthClientValidFlowCreateWithoutClientInput, Prisma.OAuthClientValidFlowUncheckedCreateWithoutClientInput>;
|
|
303
|
+
};
|
|
304
|
+
export type OAuthClientValidFlowCreateManyClientInputEnvelope = {
|
|
305
|
+
data: Prisma.OAuthClientValidFlowCreateManyClientInput | Prisma.OAuthClientValidFlowCreateManyClientInput[];
|
|
306
|
+
};
|
|
307
|
+
export type OAuthClientValidFlowUpsertWithWhereUniqueWithoutClientInput = {
|
|
308
|
+
where: Prisma.OAuthClientValidFlowWhereUniqueInput;
|
|
309
|
+
update: Prisma.XOR<Prisma.OAuthClientValidFlowUpdateWithoutClientInput, Prisma.OAuthClientValidFlowUncheckedUpdateWithoutClientInput>;
|
|
310
|
+
create: Prisma.XOR<Prisma.OAuthClientValidFlowCreateWithoutClientInput, Prisma.OAuthClientValidFlowUncheckedCreateWithoutClientInput>;
|
|
311
|
+
};
|
|
312
|
+
export type OAuthClientValidFlowUpdateWithWhereUniqueWithoutClientInput = {
|
|
313
|
+
where: Prisma.OAuthClientValidFlowWhereUniqueInput;
|
|
314
|
+
data: Prisma.XOR<Prisma.OAuthClientValidFlowUpdateWithoutClientInput, Prisma.OAuthClientValidFlowUncheckedUpdateWithoutClientInput>;
|
|
315
|
+
};
|
|
316
|
+
export type OAuthClientValidFlowUpdateManyWithWhereWithoutClientInput = {
|
|
317
|
+
where: Prisma.OAuthClientValidFlowScalarWhereInput;
|
|
318
|
+
data: Prisma.XOR<Prisma.OAuthClientValidFlowUpdateManyMutationInput, Prisma.OAuthClientValidFlowUncheckedUpdateManyWithoutClientInput>;
|
|
319
|
+
};
|
|
320
|
+
export type OAuthClientValidFlowScalarWhereInput = {
|
|
321
|
+
AND?: Prisma.OAuthClientValidFlowScalarWhereInput | Prisma.OAuthClientValidFlowScalarWhereInput[];
|
|
322
|
+
OR?: Prisma.OAuthClientValidFlowScalarWhereInput[];
|
|
323
|
+
NOT?: Prisma.OAuthClientValidFlowScalarWhereInput | Prisma.OAuthClientValidFlowScalarWhereInput[];
|
|
324
|
+
id?: Prisma.IntFilter<"OAuthClientValidFlow"> | number;
|
|
325
|
+
client_id?: Prisma.StringFilter<"OAuthClientValidFlow"> | string;
|
|
326
|
+
flow?: Prisma.StringFilter<"OAuthClientValidFlow"> | string;
|
|
327
|
+
};
|
|
328
|
+
export type OAuthClientValidFlowCreateManyClientInput = {
|
|
329
|
+
id?: number;
|
|
330
|
+
flow: string;
|
|
331
|
+
};
|
|
332
|
+
export type OAuthClientValidFlowUpdateWithoutClientInput = {
|
|
333
|
+
flow?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
334
|
+
};
|
|
335
|
+
export type OAuthClientValidFlowUncheckedUpdateWithoutClientInput = {
|
|
336
|
+
id?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
337
|
+
flow?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
338
|
+
};
|
|
339
|
+
export type OAuthClientValidFlowUncheckedUpdateManyWithoutClientInput = {
|
|
340
|
+
id?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
341
|
+
flow?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
342
|
+
};
|
|
343
|
+
export type OAuthClientValidFlowSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
344
|
+
id?: boolean;
|
|
345
|
+
client_id?: boolean;
|
|
346
|
+
flow?: boolean;
|
|
347
|
+
client?: boolean | Prisma.OAuthClientDefaultArgs<ExtArgs>;
|
|
348
|
+
}, ExtArgs["result"]["oAuthClientValidFlow"]>;
|
|
349
|
+
export type OAuthClientValidFlowSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
350
|
+
id?: boolean;
|
|
351
|
+
client_id?: boolean;
|
|
352
|
+
flow?: boolean;
|
|
353
|
+
client?: boolean | Prisma.OAuthClientDefaultArgs<ExtArgs>;
|
|
354
|
+
}, ExtArgs["result"]["oAuthClientValidFlow"]>;
|
|
355
|
+
export type OAuthClientValidFlowSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
356
|
+
id?: boolean;
|
|
357
|
+
client_id?: boolean;
|
|
358
|
+
flow?: boolean;
|
|
359
|
+
client?: boolean | Prisma.OAuthClientDefaultArgs<ExtArgs>;
|
|
360
|
+
}, ExtArgs["result"]["oAuthClientValidFlow"]>;
|
|
361
|
+
export type OAuthClientValidFlowSelectScalar = {
|
|
362
|
+
id?: boolean;
|
|
363
|
+
client_id?: boolean;
|
|
364
|
+
flow?: boolean;
|
|
365
|
+
};
|
|
366
|
+
export type OAuthClientValidFlowOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "client_id" | "flow", ExtArgs["result"]["oAuthClientValidFlow"]>;
|
|
367
|
+
export type OAuthClientValidFlowInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
368
|
+
client?: boolean | Prisma.OAuthClientDefaultArgs<ExtArgs>;
|
|
369
|
+
};
|
|
370
|
+
export type OAuthClientValidFlowIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
371
|
+
client?: boolean | Prisma.OAuthClientDefaultArgs<ExtArgs>;
|
|
372
|
+
};
|
|
373
|
+
export type OAuthClientValidFlowIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
374
|
+
client?: boolean | Prisma.OAuthClientDefaultArgs<ExtArgs>;
|
|
375
|
+
};
|
|
376
|
+
export type $OAuthClientValidFlowPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
377
|
+
name: "OAuthClientValidFlow";
|
|
378
|
+
objects: {
|
|
379
|
+
client: Prisma.$OAuthClientPayload<ExtArgs>;
|
|
380
|
+
};
|
|
381
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
382
|
+
id: number;
|
|
383
|
+
client_id: string;
|
|
384
|
+
flow: string;
|
|
385
|
+
}, ExtArgs["result"]["oAuthClientValidFlow"]>;
|
|
386
|
+
composites: {};
|
|
387
|
+
};
|
|
388
|
+
export type OAuthClientValidFlowGetPayload<S extends boolean | null | undefined | OAuthClientValidFlowDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$OAuthClientValidFlowPayload, S>;
|
|
389
|
+
export type OAuthClientValidFlowCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<OAuthClientValidFlowFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
390
|
+
select?: OAuthClientValidFlowCountAggregateInputType | true;
|
|
391
|
+
};
|
|
392
|
+
export interface OAuthClientValidFlowDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
393
|
+
[K: symbol]: {
|
|
394
|
+
types: Prisma.TypeMap<ExtArgs>['model']['OAuthClientValidFlow'];
|
|
395
|
+
meta: {
|
|
396
|
+
name: 'OAuthClientValidFlow';
|
|
397
|
+
};
|
|
398
|
+
};
|
|
399
|
+
/**
|
|
400
|
+
* Find zero or one OAuthClientValidFlow that matches the filter.
|
|
401
|
+
* @param {OAuthClientValidFlowFindUniqueArgs} args - Arguments to find a OAuthClientValidFlow
|
|
402
|
+
* @example
|
|
403
|
+
* // Get one OAuthClientValidFlow
|
|
404
|
+
* const oAuthClientValidFlow = await prisma.oAuthClientValidFlow.findUnique({
|
|
405
|
+
* where: {
|
|
406
|
+
* // ... provide filter here
|
|
407
|
+
* }
|
|
408
|
+
* })
|
|
409
|
+
*/
|
|
410
|
+
findUnique<T extends OAuthClientValidFlowFindUniqueArgs>(args: Prisma.SelectSubset<T, OAuthClientValidFlowFindUniqueArgs<ExtArgs>>): Prisma.Prisma__OAuthClientValidFlowClient<runtime.Types.Result.GetResult<Prisma.$OAuthClientValidFlowPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
411
|
+
/**
|
|
412
|
+
* Find one OAuthClientValidFlow that matches the filter or throw an error with `error.code='P2025'`
|
|
413
|
+
* if no matches were found.
|
|
414
|
+
* @param {OAuthClientValidFlowFindUniqueOrThrowArgs} args - Arguments to find a OAuthClientValidFlow
|
|
415
|
+
* @example
|
|
416
|
+
* // Get one OAuthClientValidFlow
|
|
417
|
+
* const oAuthClientValidFlow = await prisma.oAuthClientValidFlow.findUniqueOrThrow({
|
|
418
|
+
* where: {
|
|
419
|
+
* // ... provide filter here
|
|
420
|
+
* }
|
|
421
|
+
* })
|
|
422
|
+
*/
|
|
423
|
+
findUniqueOrThrow<T extends OAuthClientValidFlowFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, OAuthClientValidFlowFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__OAuthClientValidFlowClient<runtime.Types.Result.GetResult<Prisma.$OAuthClientValidFlowPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
424
|
+
/**
|
|
425
|
+
* Find the first OAuthClientValidFlow that matches the filter.
|
|
426
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
427
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
428
|
+
* @param {OAuthClientValidFlowFindFirstArgs} args - Arguments to find a OAuthClientValidFlow
|
|
429
|
+
* @example
|
|
430
|
+
* // Get one OAuthClientValidFlow
|
|
431
|
+
* const oAuthClientValidFlow = await prisma.oAuthClientValidFlow.findFirst({
|
|
432
|
+
* where: {
|
|
433
|
+
* // ... provide filter here
|
|
434
|
+
* }
|
|
435
|
+
* })
|
|
436
|
+
*/
|
|
437
|
+
findFirst<T extends OAuthClientValidFlowFindFirstArgs>(args?: Prisma.SelectSubset<T, OAuthClientValidFlowFindFirstArgs<ExtArgs>>): Prisma.Prisma__OAuthClientValidFlowClient<runtime.Types.Result.GetResult<Prisma.$OAuthClientValidFlowPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
438
|
+
/**
|
|
439
|
+
* Find the first OAuthClientValidFlow that matches the filter or
|
|
440
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
441
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
442
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
443
|
+
* @param {OAuthClientValidFlowFindFirstOrThrowArgs} args - Arguments to find a OAuthClientValidFlow
|
|
444
|
+
* @example
|
|
445
|
+
* // Get one OAuthClientValidFlow
|
|
446
|
+
* const oAuthClientValidFlow = await prisma.oAuthClientValidFlow.findFirstOrThrow({
|
|
447
|
+
* where: {
|
|
448
|
+
* // ... provide filter here
|
|
449
|
+
* }
|
|
450
|
+
* })
|
|
451
|
+
*/
|
|
452
|
+
findFirstOrThrow<T extends OAuthClientValidFlowFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, OAuthClientValidFlowFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__OAuthClientValidFlowClient<runtime.Types.Result.GetResult<Prisma.$OAuthClientValidFlowPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
453
|
+
/**
|
|
454
|
+
* Find zero or more OAuthClientValidFlows that matches the filter.
|
|
455
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
456
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
457
|
+
* @param {OAuthClientValidFlowFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
458
|
+
* @example
|
|
459
|
+
* // Get all OAuthClientValidFlows
|
|
460
|
+
* const oAuthClientValidFlows = await prisma.oAuthClientValidFlow.findMany()
|
|
461
|
+
*
|
|
462
|
+
* // Get first 10 OAuthClientValidFlows
|
|
463
|
+
* const oAuthClientValidFlows = await prisma.oAuthClientValidFlow.findMany({ take: 10 })
|
|
464
|
+
*
|
|
465
|
+
* // Only select the `id`
|
|
466
|
+
* const oAuthClientValidFlowWithIdOnly = await prisma.oAuthClientValidFlow.findMany({ select: { id: true } })
|
|
467
|
+
*
|
|
468
|
+
*/
|
|
469
|
+
findMany<T extends OAuthClientValidFlowFindManyArgs>(args?: Prisma.SelectSubset<T, OAuthClientValidFlowFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$OAuthClientValidFlowPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
|
|
470
|
+
/**
|
|
471
|
+
* Create a OAuthClientValidFlow.
|
|
472
|
+
* @param {OAuthClientValidFlowCreateArgs} args - Arguments to create a OAuthClientValidFlow.
|
|
473
|
+
* @example
|
|
474
|
+
* // Create one OAuthClientValidFlow
|
|
475
|
+
* const OAuthClientValidFlow = await prisma.oAuthClientValidFlow.create({
|
|
476
|
+
* data: {
|
|
477
|
+
* // ... data to create a OAuthClientValidFlow
|
|
478
|
+
* }
|
|
479
|
+
* })
|
|
480
|
+
*
|
|
481
|
+
*/
|
|
482
|
+
create<T extends OAuthClientValidFlowCreateArgs>(args: Prisma.SelectSubset<T, OAuthClientValidFlowCreateArgs<ExtArgs>>): Prisma.Prisma__OAuthClientValidFlowClient<runtime.Types.Result.GetResult<Prisma.$OAuthClientValidFlowPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
483
|
+
/**
|
|
484
|
+
* Create many OAuthClientValidFlows.
|
|
485
|
+
* @param {OAuthClientValidFlowCreateManyArgs} args - Arguments to create many OAuthClientValidFlows.
|
|
486
|
+
* @example
|
|
487
|
+
* // Create many OAuthClientValidFlows
|
|
488
|
+
* const oAuthClientValidFlow = await prisma.oAuthClientValidFlow.createMany({
|
|
489
|
+
* data: [
|
|
490
|
+
* // ... provide data here
|
|
491
|
+
* ]
|
|
492
|
+
* })
|
|
493
|
+
*
|
|
494
|
+
*/
|
|
495
|
+
createMany<T extends OAuthClientValidFlowCreateManyArgs>(args?: Prisma.SelectSubset<T, OAuthClientValidFlowCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
496
|
+
/**
|
|
497
|
+
* Create many OAuthClientValidFlows and returns the data saved in the database.
|
|
498
|
+
* @param {OAuthClientValidFlowCreateManyAndReturnArgs} args - Arguments to create many OAuthClientValidFlows.
|
|
499
|
+
* @example
|
|
500
|
+
* // Create many OAuthClientValidFlows
|
|
501
|
+
* const oAuthClientValidFlow = await prisma.oAuthClientValidFlow.createManyAndReturn({
|
|
502
|
+
* data: [
|
|
503
|
+
* // ... provide data here
|
|
504
|
+
* ]
|
|
505
|
+
* })
|
|
506
|
+
*
|
|
507
|
+
* // Create many OAuthClientValidFlows and only return the `id`
|
|
508
|
+
* const oAuthClientValidFlowWithIdOnly = await prisma.oAuthClientValidFlow.createManyAndReturn({
|
|
509
|
+
* select: { id: true },
|
|
510
|
+
* data: [
|
|
511
|
+
* // ... provide data here
|
|
512
|
+
* ]
|
|
513
|
+
* })
|
|
514
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
515
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
516
|
+
*
|
|
517
|
+
*/
|
|
518
|
+
createManyAndReturn<T extends OAuthClientValidFlowCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, OAuthClientValidFlowCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$OAuthClientValidFlowPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
|
|
519
|
+
/**
|
|
520
|
+
* Delete a OAuthClientValidFlow.
|
|
521
|
+
* @param {OAuthClientValidFlowDeleteArgs} args - Arguments to delete one OAuthClientValidFlow.
|
|
522
|
+
* @example
|
|
523
|
+
* // Delete one OAuthClientValidFlow
|
|
524
|
+
* const OAuthClientValidFlow = await prisma.oAuthClientValidFlow.delete({
|
|
525
|
+
* where: {
|
|
526
|
+
* // ... filter to delete one OAuthClientValidFlow
|
|
527
|
+
* }
|
|
528
|
+
* })
|
|
529
|
+
*
|
|
530
|
+
*/
|
|
531
|
+
delete<T extends OAuthClientValidFlowDeleteArgs>(args: Prisma.SelectSubset<T, OAuthClientValidFlowDeleteArgs<ExtArgs>>): Prisma.Prisma__OAuthClientValidFlowClient<runtime.Types.Result.GetResult<Prisma.$OAuthClientValidFlowPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
532
|
+
/**
|
|
533
|
+
* Update one OAuthClientValidFlow.
|
|
534
|
+
* @param {OAuthClientValidFlowUpdateArgs} args - Arguments to update one OAuthClientValidFlow.
|
|
535
|
+
* @example
|
|
536
|
+
* // Update one OAuthClientValidFlow
|
|
537
|
+
* const oAuthClientValidFlow = await prisma.oAuthClientValidFlow.update({
|
|
538
|
+
* where: {
|
|
539
|
+
* // ... provide filter here
|
|
540
|
+
* },
|
|
541
|
+
* data: {
|
|
542
|
+
* // ... provide data here
|
|
543
|
+
* }
|
|
544
|
+
* })
|
|
545
|
+
*
|
|
546
|
+
*/
|
|
547
|
+
update<T extends OAuthClientValidFlowUpdateArgs>(args: Prisma.SelectSubset<T, OAuthClientValidFlowUpdateArgs<ExtArgs>>): Prisma.Prisma__OAuthClientValidFlowClient<runtime.Types.Result.GetResult<Prisma.$OAuthClientValidFlowPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
548
|
+
/**
|
|
549
|
+
* Delete zero or more OAuthClientValidFlows.
|
|
550
|
+
* @param {OAuthClientValidFlowDeleteManyArgs} args - Arguments to filter OAuthClientValidFlows to delete.
|
|
551
|
+
* @example
|
|
552
|
+
* // Delete a few OAuthClientValidFlows
|
|
553
|
+
* const { count } = await prisma.oAuthClientValidFlow.deleteMany({
|
|
554
|
+
* where: {
|
|
555
|
+
* // ... provide filter here
|
|
556
|
+
* }
|
|
557
|
+
* })
|
|
558
|
+
*
|
|
559
|
+
*/
|
|
560
|
+
deleteMany<T extends OAuthClientValidFlowDeleteManyArgs>(args?: Prisma.SelectSubset<T, OAuthClientValidFlowDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
561
|
+
/**
|
|
562
|
+
* Update zero or more OAuthClientValidFlows.
|
|
563
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
564
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
565
|
+
* @param {OAuthClientValidFlowUpdateManyArgs} args - Arguments to update one or more rows.
|
|
566
|
+
* @example
|
|
567
|
+
* // Update many OAuthClientValidFlows
|
|
568
|
+
* const oAuthClientValidFlow = await prisma.oAuthClientValidFlow.updateMany({
|
|
569
|
+
* where: {
|
|
570
|
+
* // ... provide filter here
|
|
571
|
+
* },
|
|
572
|
+
* data: {
|
|
573
|
+
* // ... provide data here
|
|
574
|
+
* }
|
|
575
|
+
* })
|
|
576
|
+
*
|
|
577
|
+
*/
|
|
578
|
+
updateMany<T extends OAuthClientValidFlowUpdateManyArgs>(args: Prisma.SelectSubset<T, OAuthClientValidFlowUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
579
|
+
/**
|
|
580
|
+
* Update zero or more OAuthClientValidFlows and returns the data updated in the database.
|
|
581
|
+
* @param {OAuthClientValidFlowUpdateManyAndReturnArgs} args - Arguments to update many OAuthClientValidFlows.
|
|
582
|
+
* @example
|
|
583
|
+
* // Update many OAuthClientValidFlows
|
|
584
|
+
* const oAuthClientValidFlow = await prisma.oAuthClientValidFlow.updateManyAndReturn({
|
|
585
|
+
* where: {
|
|
586
|
+
* // ... provide filter here
|
|
587
|
+
* },
|
|
588
|
+
* data: [
|
|
589
|
+
* // ... provide data here
|
|
590
|
+
* ]
|
|
591
|
+
* })
|
|
592
|
+
*
|
|
593
|
+
* // Update zero or more OAuthClientValidFlows and only return the `id`
|
|
594
|
+
* const oAuthClientValidFlowWithIdOnly = await prisma.oAuthClientValidFlow.updateManyAndReturn({
|
|
595
|
+
* select: { id: true },
|
|
596
|
+
* where: {
|
|
597
|
+
* // ... provide filter here
|
|
598
|
+
* },
|
|
599
|
+
* data: [
|
|
600
|
+
* // ... provide data here
|
|
601
|
+
* ]
|
|
602
|
+
* })
|
|
603
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
604
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
605
|
+
*
|
|
606
|
+
*/
|
|
607
|
+
updateManyAndReturn<T extends OAuthClientValidFlowUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, OAuthClientValidFlowUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$OAuthClientValidFlowPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
|
|
608
|
+
/**
|
|
609
|
+
* Create or update one OAuthClientValidFlow.
|
|
610
|
+
* @param {OAuthClientValidFlowUpsertArgs} args - Arguments to update or create a OAuthClientValidFlow.
|
|
611
|
+
* @example
|
|
612
|
+
* // Update or create a OAuthClientValidFlow
|
|
613
|
+
* const oAuthClientValidFlow = await prisma.oAuthClientValidFlow.upsert({
|
|
614
|
+
* create: {
|
|
615
|
+
* // ... data to create a OAuthClientValidFlow
|
|
616
|
+
* },
|
|
617
|
+
* update: {
|
|
618
|
+
* // ... in case it already exists, update
|
|
619
|
+
* },
|
|
620
|
+
* where: {
|
|
621
|
+
* // ... the filter for the OAuthClientValidFlow we want to update
|
|
622
|
+
* }
|
|
623
|
+
* })
|
|
624
|
+
*/
|
|
625
|
+
upsert<T extends OAuthClientValidFlowUpsertArgs>(args: Prisma.SelectSubset<T, OAuthClientValidFlowUpsertArgs<ExtArgs>>): Prisma.Prisma__OAuthClientValidFlowClient<runtime.Types.Result.GetResult<Prisma.$OAuthClientValidFlowPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
626
|
+
/**
|
|
627
|
+
* Count the number of OAuthClientValidFlows.
|
|
628
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
629
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
630
|
+
* @param {OAuthClientValidFlowCountArgs} args - Arguments to filter OAuthClientValidFlows to count.
|
|
631
|
+
* @example
|
|
632
|
+
* // Count the number of OAuthClientValidFlows
|
|
633
|
+
* const count = await prisma.oAuthClientValidFlow.count({
|
|
634
|
+
* where: {
|
|
635
|
+
* // ... the filter for the OAuthClientValidFlows we want to count
|
|
636
|
+
* }
|
|
637
|
+
* })
|
|
638
|
+
**/
|
|
639
|
+
count<T extends OAuthClientValidFlowCountArgs>(args?: Prisma.Subset<T, OAuthClientValidFlowCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], OAuthClientValidFlowCountAggregateOutputType> : number>;
|
|
640
|
+
/**
|
|
641
|
+
* Allows you to perform aggregations operations on a OAuthClientValidFlow.
|
|
642
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
643
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
644
|
+
* @param {OAuthClientValidFlowAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
645
|
+
* @example
|
|
646
|
+
* // Ordered by age ascending
|
|
647
|
+
* // Where email contains prisma.io
|
|
648
|
+
* // Limited to the 10 users
|
|
649
|
+
* const aggregations = await prisma.user.aggregate({
|
|
650
|
+
* _avg: {
|
|
651
|
+
* age: true,
|
|
652
|
+
* },
|
|
653
|
+
* where: {
|
|
654
|
+
* email: {
|
|
655
|
+
* contains: "prisma.io",
|
|
656
|
+
* },
|
|
657
|
+
* },
|
|
658
|
+
* orderBy: {
|
|
659
|
+
* age: "asc",
|
|
660
|
+
* },
|
|
661
|
+
* take: 10,
|
|
662
|
+
* })
|
|
663
|
+
**/
|
|
664
|
+
aggregate<T extends OAuthClientValidFlowAggregateArgs>(args: Prisma.Subset<T, OAuthClientValidFlowAggregateArgs>): Prisma.PrismaPromise<GetOAuthClientValidFlowAggregateType<T>>;
|
|
665
|
+
/**
|
|
666
|
+
* Group by OAuthClientValidFlow.
|
|
667
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
668
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
669
|
+
* @param {OAuthClientValidFlowGroupByArgs} args - Group by arguments.
|
|
670
|
+
* @example
|
|
671
|
+
* // Group by city, order by createdAt, get count
|
|
672
|
+
* const result = await prisma.user.groupBy({
|
|
673
|
+
* by: ['city', 'createdAt'],
|
|
674
|
+
* orderBy: {
|
|
675
|
+
* createdAt: true
|
|
676
|
+
* },
|
|
677
|
+
* _count: {
|
|
678
|
+
* _all: true
|
|
679
|
+
* },
|
|
680
|
+
* })
|
|
681
|
+
*
|
|
682
|
+
**/
|
|
683
|
+
groupBy<T extends OAuthClientValidFlowGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
|
|
684
|
+
orderBy: OAuthClientValidFlowGroupByArgs['orderBy'];
|
|
685
|
+
} : {
|
|
686
|
+
orderBy?: OAuthClientValidFlowGroupByArgs['orderBy'];
|
|
687
|
+
}, 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 ? {
|
|
688
|
+
[P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
|
|
689
|
+
Error,
|
|
690
|
+
'Field ',
|
|
691
|
+
P,
|
|
692
|
+
` in "having" needs to be provided in "by"`
|
|
693
|
+
];
|
|
694
|
+
}[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
695
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
696
|
+
}[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 ? {} : {
|
|
697
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
698
|
+
}[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
|
|
699
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
700
|
+
}[OrderFields]>(args: Prisma.SubsetIntersection<T, OAuthClientValidFlowGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetOAuthClientValidFlowGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
|
|
701
|
+
/**
|
|
702
|
+
* Fields of the OAuthClientValidFlow model
|
|
703
|
+
*/
|
|
704
|
+
readonly fields: OAuthClientValidFlowFieldRefs;
|
|
705
|
+
}
|
|
706
|
+
/**
|
|
707
|
+
* The delegate class that acts as a "Promise-like" for OAuthClientValidFlow.
|
|
708
|
+
* Why is this prefixed with `Prisma__`?
|
|
709
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
710
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
711
|
+
*/
|
|
712
|
+
export interface Prisma__OAuthClientValidFlowClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
713
|
+
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
714
|
+
client<T extends Prisma.OAuthClientDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.OAuthClientDefaultArgs<ExtArgs>>): Prisma.Prisma__OAuthClientClient<runtime.Types.Result.GetResult<Prisma.$OAuthClientPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
715
|
+
/**
|
|
716
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
717
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
718
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
719
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
720
|
+
*/
|
|
721
|
+
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>;
|
|
722
|
+
/**
|
|
723
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
724
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
725
|
+
* @returns A Promise for the completion of the callback.
|
|
726
|
+
*/
|
|
727
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
|
|
728
|
+
/**
|
|
729
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
730
|
+
* resolved value cannot be modified from the callback.
|
|
731
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
732
|
+
* @returns A Promise for the completion of the callback.
|
|
733
|
+
*/
|
|
734
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
|
|
735
|
+
}
|
|
736
|
+
/**
|
|
737
|
+
* Fields of the OAuthClientValidFlow model
|
|
738
|
+
*/
|
|
739
|
+
export interface OAuthClientValidFlowFieldRefs {
|
|
740
|
+
readonly id: Prisma.FieldRef<"OAuthClientValidFlow", 'Int'>;
|
|
741
|
+
readonly client_id: Prisma.FieldRef<"OAuthClientValidFlow", 'String'>;
|
|
742
|
+
readonly flow: Prisma.FieldRef<"OAuthClientValidFlow", 'String'>;
|
|
743
|
+
}
|
|
744
|
+
/**
|
|
745
|
+
* OAuthClientValidFlow findUnique
|
|
746
|
+
*/
|
|
747
|
+
export type OAuthClientValidFlowFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
748
|
+
/**
|
|
749
|
+
* Select specific fields to fetch from the OAuthClientValidFlow
|
|
750
|
+
*/
|
|
751
|
+
select?: Prisma.OAuthClientValidFlowSelect<ExtArgs> | null;
|
|
752
|
+
/**
|
|
753
|
+
* Omit specific fields from the OAuthClientValidFlow
|
|
754
|
+
*/
|
|
755
|
+
omit?: Prisma.OAuthClientValidFlowOmit<ExtArgs> | null;
|
|
756
|
+
/**
|
|
757
|
+
* Choose, which related nodes to fetch as well
|
|
758
|
+
*/
|
|
759
|
+
include?: Prisma.OAuthClientValidFlowInclude<ExtArgs> | null;
|
|
760
|
+
/**
|
|
761
|
+
* Filter, which OAuthClientValidFlow to fetch.
|
|
762
|
+
*/
|
|
763
|
+
where: Prisma.OAuthClientValidFlowWhereUniqueInput;
|
|
764
|
+
};
|
|
765
|
+
/**
|
|
766
|
+
* OAuthClientValidFlow findUniqueOrThrow
|
|
767
|
+
*/
|
|
768
|
+
export type OAuthClientValidFlowFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
769
|
+
/**
|
|
770
|
+
* Select specific fields to fetch from the OAuthClientValidFlow
|
|
771
|
+
*/
|
|
772
|
+
select?: Prisma.OAuthClientValidFlowSelect<ExtArgs> | null;
|
|
773
|
+
/**
|
|
774
|
+
* Omit specific fields from the OAuthClientValidFlow
|
|
775
|
+
*/
|
|
776
|
+
omit?: Prisma.OAuthClientValidFlowOmit<ExtArgs> | null;
|
|
777
|
+
/**
|
|
778
|
+
* Choose, which related nodes to fetch as well
|
|
779
|
+
*/
|
|
780
|
+
include?: Prisma.OAuthClientValidFlowInclude<ExtArgs> | null;
|
|
781
|
+
/**
|
|
782
|
+
* Filter, which OAuthClientValidFlow to fetch.
|
|
783
|
+
*/
|
|
784
|
+
where: Prisma.OAuthClientValidFlowWhereUniqueInput;
|
|
785
|
+
};
|
|
786
|
+
/**
|
|
787
|
+
* OAuthClientValidFlow findFirst
|
|
788
|
+
*/
|
|
789
|
+
export type OAuthClientValidFlowFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
790
|
+
/**
|
|
791
|
+
* Select specific fields to fetch from the OAuthClientValidFlow
|
|
792
|
+
*/
|
|
793
|
+
select?: Prisma.OAuthClientValidFlowSelect<ExtArgs> | null;
|
|
794
|
+
/**
|
|
795
|
+
* Omit specific fields from the OAuthClientValidFlow
|
|
796
|
+
*/
|
|
797
|
+
omit?: Prisma.OAuthClientValidFlowOmit<ExtArgs> | null;
|
|
798
|
+
/**
|
|
799
|
+
* Choose, which related nodes to fetch as well
|
|
800
|
+
*/
|
|
801
|
+
include?: Prisma.OAuthClientValidFlowInclude<ExtArgs> | null;
|
|
802
|
+
/**
|
|
803
|
+
* Filter, which OAuthClientValidFlow to fetch.
|
|
804
|
+
*/
|
|
805
|
+
where?: Prisma.OAuthClientValidFlowWhereInput;
|
|
806
|
+
/**
|
|
807
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
808
|
+
*
|
|
809
|
+
* Determine the order of OAuthClientValidFlows to fetch.
|
|
810
|
+
*/
|
|
811
|
+
orderBy?: Prisma.OAuthClientValidFlowOrderByWithRelationInput | Prisma.OAuthClientValidFlowOrderByWithRelationInput[];
|
|
812
|
+
/**
|
|
813
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
814
|
+
*
|
|
815
|
+
* Sets the position for searching for OAuthClientValidFlows.
|
|
816
|
+
*/
|
|
817
|
+
cursor?: Prisma.OAuthClientValidFlowWhereUniqueInput;
|
|
818
|
+
/**
|
|
819
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
820
|
+
*
|
|
821
|
+
* Take `±n` OAuthClientValidFlows from the position of the cursor.
|
|
822
|
+
*/
|
|
823
|
+
take?: number;
|
|
824
|
+
/**
|
|
825
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
826
|
+
*
|
|
827
|
+
* Skip the first `n` OAuthClientValidFlows.
|
|
828
|
+
*/
|
|
829
|
+
skip?: number;
|
|
830
|
+
/**
|
|
831
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
832
|
+
*
|
|
833
|
+
* Filter by unique combinations of OAuthClientValidFlows.
|
|
834
|
+
*/
|
|
835
|
+
distinct?: Prisma.OAuthClientValidFlowScalarFieldEnum | Prisma.OAuthClientValidFlowScalarFieldEnum[];
|
|
836
|
+
};
|
|
837
|
+
/**
|
|
838
|
+
* OAuthClientValidFlow findFirstOrThrow
|
|
839
|
+
*/
|
|
840
|
+
export type OAuthClientValidFlowFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
841
|
+
/**
|
|
842
|
+
* Select specific fields to fetch from the OAuthClientValidFlow
|
|
843
|
+
*/
|
|
844
|
+
select?: Prisma.OAuthClientValidFlowSelect<ExtArgs> | null;
|
|
845
|
+
/**
|
|
846
|
+
* Omit specific fields from the OAuthClientValidFlow
|
|
847
|
+
*/
|
|
848
|
+
omit?: Prisma.OAuthClientValidFlowOmit<ExtArgs> | null;
|
|
849
|
+
/**
|
|
850
|
+
* Choose, which related nodes to fetch as well
|
|
851
|
+
*/
|
|
852
|
+
include?: Prisma.OAuthClientValidFlowInclude<ExtArgs> | null;
|
|
853
|
+
/**
|
|
854
|
+
* Filter, which OAuthClientValidFlow to fetch.
|
|
855
|
+
*/
|
|
856
|
+
where?: Prisma.OAuthClientValidFlowWhereInput;
|
|
857
|
+
/**
|
|
858
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
859
|
+
*
|
|
860
|
+
* Determine the order of OAuthClientValidFlows to fetch.
|
|
861
|
+
*/
|
|
862
|
+
orderBy?: Prisma.OAuthClientValidFlowOrderByWithRelationInput | Prisma.OAuthClientValidFlowOrderByWithRelationInput[];
|
|
863
|
+
/**
|
|
864
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
865
|
+
*
|
|
866
|
+
* Sets the position for searching for OAuthClientValidFlows.
|
|
867
|
+
*/
|
|
868
|
+
cursor?: Prisma.OAuthClientValidFlowWhereUniqueInput;
|
|
869
|
+
/**
|
|
870
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
871
|
+
*
|
|
872
|
+
* Take `±n` OAuthClientValidFlows from the position of the cursor.
|
|
873
|
+
*/
|
|
874
|
+
take?: number;
|
|
875
|
+
/**
|
|
876
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
877
|
+
*
|
|
878
|
+
* Skip the first `n` OAuthClientValidFlows.
|
|
879
|
+
*/
|
|
880
|
+
skip?: number;
|
|
881
|
+
/**
|
|
882
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
883
|
+
*
|
|
884
|
+
* Filter by unique combinations of OAuthClientValidFlows.
|
|
885
|
+
*/
|
|
886
|
+
distinct?: Prisma.OAuthClientValidFlowScalarFieldEnum | Prisma.OAuthClientValidFlowScalarFieldEnum[];
|
|
887
|
+
};
|
|
888
|
+
/**
|
|
889
|
+
* OAuthClientValidFlow findMany
|
|
890
|
+
*/
|
|
891
|
+
export type OAuthClientValidFlowFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
892
|
+
/**
|
|
893
|
+
* Select specific fields to fetch from the OAuthClientValidFlow
|
|
894
|
+
*/
|
|
895
|
+
select?: Prisma.OAuthClientValidFlowSelect<ExtArgs> | null;
|
|
896
|
+
/**
|
|
897
|
+
* Omit specific fields from the OAuthClientValidFlow
|
|
898
|
+
*/
|
|
899
|
+
omit?: Prisma.OAuthClientValidFlowOmit<ExtArgs> | null;
|
|
900
|
+
/**
|
|
901
|
+
* Choose, which related nodes to fetch as well
|
|
902
|
+
*/
|
|
903
|
+
include?: Prisma.OAuthClientValidFlowInclude<ExtArgs> | null;
|
|
904
|
+
/**
|
|
905
|
+
* Filter, which OAuthClientValidFlows to fetch.
|
|
906
|
+
*/
|
|
907
|
+
where?: Prisma.OAuthClientValidFlowWhereInput;
|
|
908
|
+
/**
|
|
909
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
910
|
+
*
|
|
911
|
+
* Determine the order of OAuthClientValidFlows to fetch.
|
|
912
|
+
*/
|
|
913
|
+
orderBy?: Prisma.OAuthClientValidFlowOrderByWithRelationInput | Prisma.OAuthClientValidFlowOrderByWithRelationInput[];
|
|
914
|
+
/**
|
|
915
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
916
|
+
*
|
|
917
|
+
* Sets the position for listing OAuthClientValidFlows.
|
|
918
|
+
*/
|
|
919
|
+
cursor?: Prisma.OAuthClientValidFlowWhereUniqueInput;
|
|
920
|
+
/**
|
|
921
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
922
|
+
*
|
|
923
|
+
* Take `±n` OAuthClientValidFlows from the position of the cursor.
|
|
924
|
+
*/
|
|
925
|
+
take?: number;
|
|
926
|
+
/**
|
|
927
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
928
|
+
*
|
|
929
|
+
* Skip the first `n` OAuthClientValidFlows.
|
|
930
|
+
*/
|
|
931
|
+
skip?: number;
|
|
932
|
+
distinct?: Prisma.OAuthClientValidFlowScalarFieldEnum | Prisma.OAuthClientValidFlowScalarFieldEnum[];
|
|
933
|
+
};
|
|
934
|
+
/**
|
|
935
|
+
* OAuthClientValidFlow create
|
|
936
|
+
*/
|
|
937
|
+
export type OAuthClientValidFlowCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
938
|
+
/**
|
|
939
|
+
* Select specific fields to fetch from the OAuthClientValidFlow
|
|
940
|
+
*/
|
|
941
|
+
select?: Prisma.OAuthClientValidFlowSelect<ExtArgs> | null;
|
|
942
|
+
/**
|
|
943
|
+
* Omit specific fields from the OAuthClientValidFlow
|
|
944
|
+
*/
|
|
945
|
+
omit?: Prisma.OAuthClientValidFlowOmit<ExtArgs> | null;
|
|
946
|
+
/**
|
|
947
|
+
* Choose, which related nodes to fetch as well
|
|
948
|
+
*/
|
|
949
|
+
include?: Prisma.OAuthClientValidFlowInclude<ExtArgs> | null;
|
|
950
|
+
/**
|
|
951
|
+
* The data needed to create a OAuthClientValidFlow.
|
|
952
|
+
*/
|
|
953
|
+
data: Prisma.XOR<Prisma.OAuthClientValidFlowCreateInput, Prisma.OAuthClientValidFlowUncheckedCreateInput>;
|
|
954
|
+
};
|
|
955
|
+
/**
|
|
956
|
+
* OAuthClientValidFlow createMany
|
|
957
|
+
*/
|
|
958
|
+
export type OAuthClientValidFlowCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
959
|
+
/**
|
|
960
|
+
* The data used to create many OAuthClientValidFlows.
|
|
961
|
+
*/
|
|
962
|
+
data: Prisma.OAuthClientValidFlowCreateManyInput | Prisma.OAuthClientValidFlowCreateManyInput[];
|
|
963
|
+
};
|
|
964
|
+
/**
|
|
965
|
+
* OAuthClientValidFlow createManyAndReturn
|
|
966
|
+
*/
|
|
967
|
+
export type OAuthClientValidFlowCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
968
|
+
/**
|
|
969
|
+
* Select specific fields to fetch from the OAuthClientValidFlow
|
|
970
|
+
*/
|
|
971
|
+
select?: Prisma.OAuthClientValidFlowSelectCreateManyAndReturn<ExtArgs> | null;
|
|
972
|
+
/**
|
|
973
|
+
* Omit specific fields from the OAuthClientValidFlow
|
|
974
|
+
*/
|
|
975
|
+
omit?: Prisma.OAuthClientValidFlowOmit<ExtArgs> | null;
|
|
976
|
+
/**
|
|
977
|
+
* The data used to create many OAuthClientValidFlows.
|
|
978
|
+
*/
|
|
979
|
+
data: Prisma.OAuthClientValidFlowCreateManyInput | Prisma.OAuthClientValidFlowCreateManyInput[];
|
|
980
|
+
/**
|
|
981
|
+
* Choose, which related nodes to fetch as well
|
|
982
|
+
*/
|
|
983
|
+
include?: Prisma.OAuthClientValidFlowIncludeCreateManyAndReturn<ExtArgs> | null;
|
|
984
|
+
};
|
|
985
|
+
/**
|
|
986
|
+
* OAuthClientValidFlow update
|
|
987
|
+
*/
|
|
988
|
+
export type OAuthClientValidFlowUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
989
|
+
/**
|
|
990
|
+
* Select specific fields to fetch from the OAuthClientValidFlow
|
|
991
|
+
*/
|
|
992
|
+
select?: Prisma.OAuthClientValidFlowSelect<ExtArgs> | null;
|
|
993
|
+
/**
|
|
994
|
+
* Omit specific fields from the OAuthClientValidFlow
|
|
995
|
+
*/
|
|
996
|
+
omit?: Prisma.OAuthClientValidFlowOmit<ExtArgs> | null;
|
|
997
|
+
/**
|
|
998
|
+
* Choose, which related nodes to fetch as well
|
|
999
|
+
*/
|
|
1000
|
+
include?: Prisma.OAuthClientValidFlowInclude<ExtArgs> | null;
|
|
1001
|
+
/**
|
|
1002
|
+
* The data needed to update a OAuthClientValidFlow.
|
|
1003
|
+
*/
|
|
1004
|
+
data: Prisma.XOR<Prisma.OAuthClientValidFlowUpdateInput, Prisma.OAuthClientValidFlowUncheckedUpdateInput>;
|
|
1005
|
+
/**
|
|
1006
|
+
* Choose, which OAuthClientValidFlow to update.
|
|
1007
|
+
*/
|
|
1008
|
+
where: Prisma.OAuthClientValidFlowWhereUniqueInput;
|
|
1009
|
+
};
|
|
1010
|
+
/**
|
|
1011
|
+
* OAuthClientValidFlow updateMany
|
|
1012
|
+
*/
|
|
1013
|
+
export type OAuthClientValidFlowUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1014
|
+
/**
|
|
1015
|
+
* The data used to update OAuthClientValidFlows.
|
|
1016
|
+
*/
|
|
1017
|
+
data: Prisma.XOR<Prisma.OAuthClientValidFlowUpdateManyMutationInput, Prisma.OAuthClientValidFlowUncheckedUpdateManyInput>;
|
|
1018
|
+
/**
|
|
1019
|
+
* Filter which OAuthClientValidFlows to update
|
|
1020
|
+
*/
|
|
1021
|
+
where?: Prisma.OAuthClientValidFlowWhereInput;
|
|
1022
|
+
/**
|
|
1023
|
+
* Limit how many OAuthClientValidFlows to update.
|
|
1024
|
+
*/
|
|
1025
|
+
limit?: number;
|
|
1026
|
+
};
|
|
1027
|
+
/**
|
|
1028
|
+
* OAuthClientValidFlow updateManyAndReturn
|
|
1029
|
+
*/
|
|
1030
|
+
export type OAuthClientValidFlowUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1031
|
+
/**
|
|
1032
|
+
* Select specific fields to fetch from the OAuthClientValidFlow
|
|
1033
|
+
*/
|
|
1034
|
+
select?: Prisma.OAuthClientValidFlowSelectUpdateManyAndReturn<ExtArgs> | null;
|
|
1035
|
+
/**
|
|
1036
|
+
* Omit specific fields from the OAuthClientValidFlow
|
|
1037
|
+
*/
|
|
1038
|
+
omit?: Prisma.OAuthClientValidFlowOmit<ExtArgs> | null;
|
|
1039
|
+
/**
|
|
1040
|
+
* The data used to update OAuthClientValidFlows.
|
|
1041
|
+
*/
|
|
1042
|
+
data: Prisma.XOR<Prisma.OAuthClientValidFlowUpdateManyMutationInput, Prisma.OAuthClientValidFlowUncheckedUpdateManyInput>;
|
|
1043
|
+
/**
|
|
1044
|
+
* Filter which OAuthClientValidFlows to update
|
|
1045
|
+
*/
|
|
1046
|
+
where?: Prisma.OAuthClientValidFlowWhereInput;
|
|
1047
|
+
/**
|
|
1048
|
+
* Limit how many OAuthClientValidFlows to update.
|
|
1049
|
+
*/
|
|
1050
|
+
limit?: number;
|
|
1051
|
+
/**
|
|
1052
|
+
* Choose, which related nodes to fetch as well
|
|
1053
|
+
*/
|
|
1054
|
+
include?: Prisma.OAuthClientValidFlowIncludeUpdateManyAndReturn<ExtArgs> | null;
|
|
1055
|
+
};
|
|
1056
|
+
/**
|
|
1057
|
+
* OAuthClientValidFlow upsert
|
|
1058
|
+
*/
|
|
1059
|
+
export type OAuthClientValidFlowUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1060
|
+
/**
|
|
1061
|
+
* Select specific fields to fetch from the OAuthClientValidFlow
|
|
1062
|
+
*/
|
|
1063
|
+
select?: Prisma.OAuthClientValidFlowSelect<ExtArgs> | null;
|
|
1064
|
+
/**
|
|
1065
|
+
* Omit specific fields from the OAuthClientValidFlow
|
|
1066
|
+
*/
|
|
1067
|
+
omit?: Prisma.OAuthClientValidFlowOmit<ExtArgs> | null;
|
|
1068
|
+
/**
|
|
1069
|
+
* Choose, which related nodes to fetch as well
|
|
1070
|
+
*/
|
|
1071
|
+
include?: Prisma.OAuthClientValidFlowInclude<ExtArgs> | null;
|
|
1072
|
+
/**
|
|
1073
|
+
* The filter to search for the OAuthClientValidFlow to update in case it exists.
|
|
1074
|
+
*/
|
|
1075
|
+
where: Prisma.OAuthClientValidFlowWhereUniqueInput;
|
|
1076
|
+
/**
|
|
1077
|
+
* In case the OAuthClientValidFlow found by the `where` argument doesn't exist, create a new OAuthClientValidFlow with this data.
|
|
1078
|
+
*/
|
|
1079
|
+
create: Prisma.XOR<Prisma.OAuthClientValidFlowCreateInput, Prisma.OAuthClientValidFlowUncheckedCreateInput>;
|
|
1080
|
+
/**
|
|
1081
|
+
* In case the OAuthClientValidFlow was found with the provided `where` argument, update it with this data.
|
|
1082
|
+
*/
|
|
1083
|
+
update: Prisma.XOR<Prisma.OAuthClientValidFlowUpdateInput, Prisma.OAuthClientValidFlowUncheckedUpdateInput>;
|
|
1084
|
+
};
|
|
1085
|
+
/**
|
|
1086
|
+
* OAuthClientValidFlow delete
|
|
1087
|
+
*/
|
|
1088
|
+
export type OAuthClientValidFlowDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1089
|
+
/**
|
|
1090
|
+
* Select specific fields to fetch from the OAuthClientValidFlow
|
|
1091
|
+
*/
|
|
1092
|
+
select?: Prisma.OAuthClientValidFlowSelect<ExtArgs> | null;
|
|
1093
|
+
/**
|
|
1094
|
+
* Omit specific fields from the OAuthClientValidFlow
|
|
1095
|
+
*/
|
|
1096
|
+
omit?: Prisma.OAuthClientValidFlowOmit<ExtArgs> | null;
|
|
1097
|
+
/**
|
|
1098
|
+
* Choose, which related nodes to fetch as well
|
|
1099
|
+
*/
|
|
1100
|
+
include?: Prisma.OAuthClientValidFlowInclude<ExtArgs> | null;
|
|
1101
|
+
/**
|
|
1102
|
+
* Filter which OAuthClientValidFlow to delete.
|
|
1103
|
+
*/
|
|
1104
|
+
where: Prisma.OAuthClientValidFlowWhereUniqueInput;
|
|
1105
|
+
};
|
|
1106
|
+
/**
|
|
1107
|
+
* OAuthClientValidFlow deleteMany
|
|
1108
|
+
*/
|
|
1109
|
+
export type OAuthClientValidFlowDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1110
|
+
/**
|
|
1111
|
+
* Filter which OAuthClientValidFlows to delete
|
|
1112
|
+
*/
|
|
1113
|
+
where?: Prisma.OAuthClientValidFlowWhereInput;
|
|
1114
|
+
/**
|
|
1115
|
+
* Limit how many OAuthClientValidFlows to delete.
|
|
1116
|
+
*/
|
|
1117
|
+
limit?: number;
|
|
1118
|
+
};
|
|
1119
|
+
/**
|
|
1120
|
+
* OAuthClientValidFlow without action
|
|
1121
|
+
*/
|
|
1122
|
+
export type OAuthClientValidFlowDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1123
|
+
/**
|
|
1124
|
+
* Select specific fields to fetch from the OAuthClientValidFlow
|
|
1125
|
+
*/
|
|
1126
|
+
select?: Prisma.OAuthClientValidFlowSelect<ExtArgs> | null;
|
|
1127
|
+
/**
|
|
1128
|
+
* Omit specific fields from the OAuthClientValidFlow
|
|
1129
|
+
*/
|
|
1130
|
+
omit?: Prisma.OAuthClientValidFlowOmit<ExtArgs> | null;
|
|
1131
|
+
/**
|
|
1132
|
+
* Choose, which related nodes to fetch as well
|
|
1133
|
+
*/
|
|
1134
|
+
include?: Prisma.OAuthClientValidFlowInclude<ExtArgs> | null;
|
|
1135
|
+
};
|
|
1136
|
+
export {};
|
|
1137
|
+
//# sourceMappingURL=OAuthClientValidFlow.d.ts.map
|