@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 OAuthClientRedirectUri
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
7
|
+
export type OAuthClientRedirectUriModel = runtime.Types.Result.DefaultSelection<Prisma.$OAuthClientRedirectUriPayload>;
|
|
8
|
+
export type AggregateOAuthClientRedirectUri = {
|
|
9
|
+
_count: OAuthClientRedirectUriCountAggregateOutputType | null;
|
|
10
|
+
_avg: OAuthClientRedirectUriAvgAggregateOutputType | null;
|
|
11
|
+
_sum: OAuthClientRedirectUriSumAggregateOutputType | null;
|
|
12
|
+
_min: OAuthClientRedirectUriMinAggregateOutputType | null;
|
|
13
|
+
_max: OAuthClientRedirectUriMaxAggregateOutputType | null;
|
|
14
|
+
};
|
|
15
|
+
export type OAuthClientRedirectUriAvgAggregateOutputType = {
|
|
16
|
+
id: number | null;
|
|
17
|
+
};
|
|
18
|
+
export type OAuthClientRedirectUriSumAggregateOutputType = {
|
|
19
|
+
id: number | null;
|
|
20
|
+
};
|
|
21
|
+
export type OAuthClientRedirectUriMinAggregateOutputType = {
|
|
22
|
+
id: number | null;
|
|
23
|
+
client_id: string | null;
|
|
24
|
+
uri: string | null;
|
|
25
|
+
};
|
|
26
|
+
export type OAuthClientRedirectUriMaxAggregateOutputType = {
|
|
27
|
+
id: number | null;
|
|
28
|
+
client_id: string | null;
|
|
29
|
+
uri: string | null;
|
|
30
|
+
};
|
|
31
|
+
export type OAuthClientRedirectUriCountAggregateOutputType = {
|
|
32
|
+
id: number;
|
|
33
|
+
client_id: number;
|
|
34
|
+
uri: number;
|
|
35
|
+
_all: number;
|
|
36
|
+
};
|
|
37
|
+
export type OAuthClientRedirectUriAvgAggregateInputType = {
|
|
38
|
+
id?: true;
|
|
39
|
+
};
|
|
40
|
+
export type OAuthClientRedirectUriSumAggregateInputType = {
|
|
41
|
+
id?: true;
|
|
42
|
+
};
|
|
43
|
+
export type OAuthClientRedirectUriMinAggregateInputType = {
|
|
44
|
+
id?: true;
|
|
45
|
+
client_id?: true;
|
|
46
|
+
uri?: true;
|
|
47
|
+
};
|
|
48
|
+
export type OAuthClientRedirectUriMaxAggregateInputType = {
|
|
49
|
+
id?: true;
|
|
50
|
+
client_id?: true;
|
|
51
|
+
uri?: true;
|
|
52
|
+
};
|
|
53
|
+
export type OAuthClientRedirectUriCountAggregateInputType = {
|
|
54
|
+
id?: true;
|
|
55
|
+
client_id?: true;
|
|
56
|
+
uri?: true;
|
|
57
|
+
_all?: true;
|
|
58
|
+
};
|
|
59
|
+
export type OAuthClientRedirectUriAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
60
|
+
/**
|
|
61
|
+
* Filter which OAuthClientRedirectUri to aggregate.
|
|
62
|
+
*/
|
|
63
|
+
where?: Prisma.OAuthClientRedirectUriWhereInput;
|
|
64
|
+
/**
|
|
65
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
66
|
+
*
|
|
67
|
+
* Determine the order of OAuthClientRedirectUris to fetch.
|
|
68
|
+
*/
|
|
69
|
+
orderBy?: Prisma.OAuthClientRedirectUriOrderByWithRelationInput | Prisma.OAuthClientRedirectUriOrderByWithRelationInput[];
|
|
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.OAuthClientRedirectUriWhereUniqueInput;
|
|
76
|
+
/**
|
|
77
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
78
|
+
*
|
|
79
|
+
* Take `±n` OAuthClientRedirectUris 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` OAuthClientRedirectUris.
|
|
86
|
+
*/
|
|
87
|
+
skip?: number;
|
|
88
|
+
/**
|
|
89
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
90
|
+
*
|
|
91
|
+
* Count returned OAuthClientRedirectUris
|
|
92
|
+
**/
|
|
93
|
+
_count?: true | OAuthClientRedirectUriCountAggregateInputType;
|
|
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?: OAuthClientRedirectUriAvgAggregateInputType;
|
|
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?: OAuthClientRedirectUriSumAggregateInputType;
|
|
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?: OAuthClientRedirectUriMinAggregateInputType;
|
|
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?: OAuthClientRedirectUriMaxAggregateInputType;
|
|
118
|
+
};
|
|
119
|
+
export type GetOAuthClientRedirectUriAggregateType<T extends OAuthClientRedirectUriAggregateArgs> = {
|
|
120
|
+
[P in keyof T & keyof AggregateOAuthClientRedirectUri]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateOAuthClientRedirectUri[P]> : Prisma.GetScalarType<T[P], AggregateOAuthClientRedirectUri[P]>;
|
|
121
|
+
};
|
|
122
|
+
export type OAuthClientRedirectUriGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
123
|
+
where?: Prisma.OAuthClientRedirectUriWhereInput;
|
|
124
|
+
orderBy?: Prisma.OAuthClientRedirectUriOrderByWithAggregationInput | Prisma.OAuthClientRedirectUriOrderByWithAggregationInput[];
|
|
125
|
+
by: Prisma.OAuthClientRedirectUriScalarFieldEnum[] | Prisma.OAuthClientRedirectUriScalarFieldEnum;
|
|
126
|
+
having?: Prisma.OAuthClientRedirectUriScalarWhereWithAggregatesInput;
|
|
127
|
+
take?: number;
|
|
128
|
+
skip?: number;
|
|
129
|
+
_count?: OAuthClientRedirectUriCountAggregateInputType | true;
|
|
130
|
+
_avg?: OAuthClientRedirectUriAvgAggregateInputType;
|
|
131
|
+
_sum?: OAuthClientRedirectUriSumAggregateInputType;
|
|
132
|
+
_min?: OAuthClientRedirectUriMinAggregateInputType;
|
|
133
|
+
_max?: OAuthClientRedirectUriMaxAggregateInputType;
|
|
134
|
+
};
|
|
135
|
+
export type OAuthClientRedirectUriGroupByOutputType = {
|
|
136
|
+
id: number;
|
|
137
|
+
client_id: string;
|
|
138
|
+
uri: string;
|
|
139
|
+
_count: OAuthClientRedirectUriCountAggregateOutputType | null;
|
|
140
|
+
_avg: OAuthClientRedirectUriAvgAggregateOutputType | null;
|
|
141
|
+
_sum: OAuthClientRedirectUriSumAggregateOutputType | null;
|
|
142
|
+
_min: OAuthClientRedirectUriMinAggregateOutputType | null;
|
|
143
|
+
_max: OAuthClientRedirectUriMaxAggregateOutputType | null;
|
|
144
|
+
};
|
|
145
|
+
type GetOAuthClientRedirectUriGroupByPayload<T extends OAuthClientRedirectUriGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<OAuthClientRedirectUriGroupByOutputType, T['by']> & {
|
|
146
|
+
[P in ((keyof T) & (keyof OAuthClientRedirectUriGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], OAuthClientRedirectUriGroupByOutputType[P]> : Prisma.GetScalarType<T[P], OAuthClientRedirectUriGroupByOutputType[P]>;
|
|
147
|
+
}>>;
|
|
148
|
+
export type OAuthClientRedirectUriWhereInput = {
|
|
149
|
+
AND?: Prisma.OAuthClientRedirectUriWhereInput | Prisma.OAuthClientRedirectUriWhereInput[];
|
|
150
|
+
OR?: Prisma.OAuthClientRedirectUriWhereInput[];
|
|
151
|
+
NOT?: Prisma.OAuthClientRedirectUriWhereInput | Prisma.OAuthClientRedirectUriWhereInput[];
|
|
152
|
+
id?: Prisma.IntFilter<"OAuthClientRedirectUri"> | number;
|
|
153
|
+
client_id?: Prisma.StringFilter<"OAuthClientRedirectUri"> | string;
|
|
154
|
+
uri?: Prisma.StringFilter<"OAuthClientRedirectUri"> | string;
|
|
155
|
+
client?: Prisma.XOR<Prisma.OAuthClientScalarRelationFilter, Prisma.OAuthClientWhereInput>;
|
|
156
|
+
};
|
|
157
|
+
export type OAuthClientRedirectUriOrderByWithRelationInput = {
|
|
158
|
+
id?: Prisma.SortOrder;
|
|
159
|
+
client_id?: Prisma.SortOrder;
|
|
160
|
+
uri?: Prisma.SortOrder;
|
|
161
|
+
client?: Prisma.OAuthClientOrderByWithRelationInput;
|
|
162
|
+
};
|
|
163
|
+
export type OAuthClientRedirectUriWhereUniqueInput = Prisma.AtLeast<{
|
|
164
|
+
id?: number;
|
|
165
|
+
redirect_uriUnique?: Prisma.OAuthClientRedirectUriRedirect_uriUniqueCompoundUniqueInput;
|
|
166
|
+
AND?: Prisma.OAuthClientRedirectUriWhereInput | Prisma.OAuthClientRedirectUriWhereInput[];
|
|
167
|
+
OR?: Prisma.OAuthClientRedirectUriWhereInput[];
|
|
168
|
+
NOT?: Prisma.OAuthClientRedirectUriWhereInput | Prisma.OAuthClientRedirectUriWhereInput[];
|
|
169
|
+
client_id?: Prisma.StringFilter<"OAuthClientRedirectUri"> | string;
|
|
170
|
+
uri?: Prisma.StringFilter<"OAuthClientRedirectUri"> | string;
|
|
171
|
+
client?: Prisma.XOR<Prisma.OAuthClientScalarRelationFilter, Prisma.OAuthClientWhereInput>;
|
|
172
|
+
}, "id" | "id" | "redirect_uriUnique">;
|
|
173
|
+
export type OAuthClientRedirectUriOrderByWithAggregationInput = {
|
|
174
|
+
id?: Prisma.SortOrder;
|
|
175
|
+
client_id?: Prisma.SortOrder;
|
|
176
|
+
uri?: Prisma.SortOrder;
|
|
177
|
+
_count?: Prisma.OAuthClientRedirectUriCountOrderByAggregateInput;
|
|
178
|
+
_avg?: Prisma.OAuthClientRedirectUriAvgOrderByAggregateInput;
|
|
179
|
+
_max?: Prisma.OAuthClientRedirectUriMaxOrderByAggregateInput;
|
|
180
|
+
_min?: Prisma.OAuthClientRedirectUriMinOrderByAggregateInput;
|
|
181
|
+
_sum?: Prisma.OAuthClientRedirectUriSumOrderByAggregateInput;
|
|
182
|
+
};
|
|
183
|
+
export type OAuthClientRedirectUriScalarWhereWithAggregatesInput = {
|
|
184
|
+
AND?: Prisma.OAuthClientRedirectUriScalarWhereWithAggregatesInput | Prisma.OAuthClientRedirectUriScalarWhereWithAggregatesInput[];
|
|
185
|
+
OR?: Prisma.OAuthClientRedirectUriScalarWhereWithAggregatesInput[];
|
|
186
|
+
NOT?: Prisma.OAuthClientRedirectUriScalarWhereWithAggregatesInput | Prisma.OAuthClientRedirectUriScalarWhereWithAggregatesInput[];
|
|
187
|
+
id?: Prisma.IntWithAggregatesFilter<"OAuthClientRedirectUri"> | number;
|
|
188
|
+
client_id?: Prisma.StringWithAggregatesFilter<"OAuthClientRedirectUri"> | string;
|
|
189
|
+
uri?: Prisma.StringWithAggregatesFilter<"OAuthClientRedirectUri"> | string;
|
|
190
|
+
};
|
|
191
|
+
export type OAuthClientRedirectUriCreateInput = {
|
|
192
|
+
uri: string;
|
|
193
|
+
client: Prisma.OAuthClientCreateNestedOneWithoutRedirect_uriInput;
|
|
194
|
+
};
|
|
195
|
+
export type OAuthClientRedirectUriUncheckedCreateInput = {
|
|
196
|
+
id?: number;
|
|
197
|
+
client_id: string;
|
|
198
|
+
uri: string;
|
|
199
|
+
};
|
|
200
|
+
export type OAuthClientRedirectUriUpdateInput = {
|
|
201
|
+
uri?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
202
|
+
client?: Prisma.OAuthClientUpdateOneRequiredWithoutRedirect_uriNestedInput;
|
|
203
|
+
};
|
|
204
|
+
export type OAuthClientRedirectUriUncheckedUpdateInput = {
|
|
205
|
+
id?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
206
|
+
client_id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
207
|
+
uri?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
208
|
+
};
|
|
209
|
+
export type OAuthClientRedirectUriCreateManyInput = {
|
|
210
|
+
id?: number;
|
|
211
|
+
client_id: string;
|
|
212
|
+
uri: string;
|
|
213
|
+
};
|
|
214
|
+
export type OAuthClientRedirectUriUpdateManyMutationInput = {
|
|
215
|
+
uri?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
216
|
+
};
|
|
217
|
+
export type OAuthClientRedirectUriUncheckedUpdateManyInput = {
|
|
218
|
+
id?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
219
|
+
client_id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
220
|
+
uri?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
221
|
+
};
|
|
222
|
+
export type OAuthClientRedirectUriListRelationFilter = {
|
|
223
|
+
every?: Prisma.OAuthClientRedirectUriWhereInput;
|
|
224
|
+
some?: Prisma.OAuthClientRedirectUriWhereInput;
|
|
225
|
+
none?: Prisma.OAuthClientRedirectUriWhereInput;
|
|
226
|
+
};
|
|
227
|
+
export type OAuthClientRedirectUriOrderByRelationAggregateInput = {
|
|
228
|
+
_count?: Prisma.SortOrder;
|
|
229
|
+
};
|
|
230
|
+
export type OAuthClientRedirectUriRedirect_uriUniqueCompoundUniqueInput = {
|
|
231
|
+
client_id: string;
|
|
232
|
+
uri: string;
|
|
233
|
+
};
|
|
234
|
+
export type OAuthClientRedirectUriCountOrderByAggregateInput = {
|
|
235
|
+
id?: Prisma.SortOrder;
|
|
236
|
+
client_id?: Prisma.SortOrder;
|
|
237
|
+
uri?: Prisma.SortOrder;
|
|
238
|
+
};
|
|
239
|
+
export type OAuthClientRedirectUriAvgOrderByAggregateInput = {
|
|
240
|
+
id?: Prisma.SortOrder;
|
|
241
|
+
};
|
|
242
|
+
export type OAuthClientRedirectUriMaxOrderByAggregateInput = {
|
|
243
|
+
id?: Prisma.SortOrder;
|
|
244
|
+
client_id?: Prisma.SortOrder;
|
|
245
|
+
uri?: Prisma.SortOrder;
|
|
246
|
+
};
|
|
247
|
+
export type OAuthClientRedirectUriMinOrderByAggregateInput = {
|
|
248
|
+
id?: Prisma.SortOrder;
|
|
249
|
+
client_id?: Prisma.SortOrder;
|
|
250
|
+
uri?: Prisma.SortOrder;
|
|
251
|
+
};
|
|
252
|
+
export type OAuthClientRedirectUriSumOrderByAggregateInput = {
|
|
253
|
+
id?: Prisma.SortOrder;
|
|
254
|
+
};
|
|
255
|
+
export type OAuthClientRedirectUriCreateNestedManyWithoutClientInput = {
|
|
256
|
+
create?: Prisma.XOR<Prisma.OAuthClientRedirectUriCreateWithoutClientInput, Prisma.OAuthClientRedirectUriUncheckedCreateWithoutClientInput> | Prisma.OAuthClientRedirectUriCreateWithoutClientInput[] | Prisma.OAuthClientRedirectUriUncheckedCreateWithoutClientInput[];
|
|
257
|
+
connectOrCreate?: Prisma.OAuthClientRedirectUriCreateOrConnectWithoutClientInput | Prisma.OAuthClientRedirectUriCreateOrConnectWithoutClientInput[];
|
|
258
|
+
createMany?: Prisma.OAuthClientRedirectUriCreateManyClientInputEnvelope;
|
|
259
|
+
connect?: Prisma.OAuthClientRedirectUriWhereUniqueInput | Prisma.OAuthClientRedirectUriWhereUniqueInput[];
|
|
260
|
+
};
|
|
261
|
+
export type OAuthClientRedirectUriUncheckedCreateNestedManyWithoutClientInput = {
|
|
262
|
+
create?: Prisma.XOR<Prisma.OAuthClientRedirectUriCreateWithoutClientInput, Prisma.OAuthClientRedirectUriUncheckedCreateWithoutClientInput> | Prisma.OAuthClientRedirectUriCreateWithoutClientInput[] | Prisma.OAuthClientRedirectUriUncheckedCreateWithoutClientInput[];
|
|
263
|
+
connectOrCreate?: Prisma.OAuthClientRedirectUriCreateOrConnectWithoutClientInput | Prisma.OAuthClientRedirectUriCreateOrConnectWithoutClientInput[];
|
|
264
|
+
createMany?: Prisma.OAuthClientRedirectUriCreateManyClientInputEnvelope;
|
|
265
|
+
connect?: Prisma.OAuthClientRedirectUriWhereUniqueInput | Prisma.OAuthClientRedirectUriWhereUniqueInput[];
|
|
266
|
+
};
|
|
267
|
+
export type OAuthClientRedirectUriUpdateManyWithoutClientNestedInput = {
|
|
268
|
+
create?: Prisma.XOR<Prisma.OAuthClientRedirectUriCreateWithoutClientInput, Prisma.OAuthClientRedirectUriUncheckedCreateWithoutClientInput> | Prisma.OAuthClientRedirectUriCreateWithoutClientInput[] | Prisma.OAuthClientRedirectUriUncheckedCreateWithoutClientInput[];
|
|
269
|
+
connectOrCreate?: Prisma.OAuthClientRedirectUriCreateOrConnectWithoutClientInput | Prisma.OAuthClientRedirectUriCreateOrConnectWithoutClientInput[];
|
|
270
|
+
upsert?: Prisma.OAuthClientRedirectUriUpsertWithWhereUniqueWithoutClientInput | Prisma.OAuthClientRedirectUriUpsertWithWhereUniqueWithoutClientInput[];
|
|
271
|
+
createMany?: Prisma.OAuthClientRedirectUriCreateManyClientInputEnvelope;
|
|
272
|
+
set?: Prisma.OAuthClientRedirectUriWhereUniqueInput | Prisma.OAuthClientRedirectUriWhereUniqueInput[];
|
|
273
|
+
disconnect?: Prisma.OAuthClientRedirectUriWhereUniqueInput | Prisma.OAuthClientRedirectUriWhereUniqueInput[];
|
|
274
|
+
delete?: Prisma.OAuthClientRedirectUriWhereUniqueInput | Prisma.OAuthClientRedirectUriWhereUniqueInput[];
|
|
275
|
+
connect?: Prisma.OAuthClientRedirectUriWhereUniqueInput | Prisma.OAuthClientRedirectUriWhereUniqueInput[];
|
|
276
|
+
update?: Prisma.OAuthClientRedirectUriUpdateWithWhereUniqueWithoutClientInput | Prisma.OAuthClientRedirectUriUpdateWithWhereUniqueWithoutClientInput[];
|
|
277
|
+
updateMany?: Prisma.OAuthClientRedirectUriUpdateManyWithWhereWithoutClientInput | Prisma.OAuthClientRedirectUriUpdateManyWithWhereWithoutClientInput[];
|
|
278
|
+
deleteMany?: Prisma.OAuthClientRedirectUriScalarWhereInput | Prisma.OAuthClientRedirectUriScalarWhereInput[];
|
|
279
|
+
};
|
|
280
|
+
export type OAuthClientRedirectUriUncheckedUpdateManyWithoutClientNestedInput = {
|
|
281
|
+
create?: Prisma.XOR<Prisma.OAuthClientRedirectUriCreateWithoutClientInput, Prisma.OAuthClientRedirectUriUncheckedCreateWithoutClientInput> | Prisma.OAuthClientRedirectUriCreateWithoutClientInput[] | Prisma.OAuthClientRedirectUriUncheckedCreateWithoutClientInput[];
|
|
282
|
+
connectOrCreate?: Prisma.OAuthClientRedirectUriCreateOrConnectWithoutClientInput | Prisma.OAuthClientRedirectUriCreateOrConnectWithoutClientInput[];
|
|
283
|
+
upsert?: Prisma.OAuthClientRedirectUriUpsertWithWhereUniqueWithoutClientInput | Prisma.OAuthClientRedirectUriUpsertWithWhereUniqueWithoutClientInput[];
|
|
284
|
+
createMany?: Prisma.OAuthClientRedirectUriCreateManyClientInputEnvelope;
|
|
285
|
+
set?: Prisma.OAuthClientRedirectUriWhereUniqueInput | Prisma.OAuthClientRedirectUriWhereUniqueInput[];
|
|
286
|
+
disconnect?: Prisma.OAuthClientRedirectUriWhereUniqueInput | Prisma.OAuthClientRedirectUriWhereUniqueInput[];
|
|
287
|
+
delete?: Prisma.OAuthClientRedirectUriWhereUniqueInput | Prisma.OAuthClientRedirectUriWhereUniqueInput[];
|
|
288
|
+
connect?: Prisma.OAuthClientRedirectUriWhereUniqueInput | Prisma.OAuthClientRedirectUriWhereUniqueInput[];
|
|
289
|
+
update?: Prisma.OAuthClientRedirectUriUpdateWithWhereUniqueWithoutClientInput | Prisma.OAuthClientRedirectUriUpdateWithWhereUniqueWithoutClientInput[];
|
|
290
|
+
updateMany?: Prisma.OAuthClientRedirectUriUpdateManyWithWhereWithoutClientInput | Prisma.OAuthClientRedirectUriUpdateManyWithWhereWithoutClientInput[];
|
|
291
|
+
deleteMany?: Prisma.OAuthClientRedirectUriScalarWhereInput | Prisma.OAuthClientRedirectUriScalarWhereInput[];
|
|
292
|
+
};
|
|
293
|
+
export type OAuthClientRedirectUriCreateWithoutClientInput = {
|
|
294
|
+
uri: string;
|
|
295
|
+
};
|
|
296
|
+
export type OAuthClientRedirectUriUncheckedCreateWithoutClientInput = {
|
|
297
|
+
id?: number;
|
|
298
|
+
uri: string;
|
|
299
|
+
};
|
|
300
|
+
export type OAuthClientRedirectUriCreateOrConnectWithoutClientInput = {
|
|
301
|
+
where: Prisma.OAuthClientRedirectUriWhereUniqueInput;
|
|
302
|
+
create: Prisma.XOR<Prisma.OAuthClientRedirectUriCreateWithoutClientInput, Prisma.OAuthClientRedirectUriUncheckedCreateWithoutClientInput>;
|
|
303
|
+
};
|
|
304
|
+
export type OAuthClientRedirectUriCreateManyClientInputEnvelope = {
|
|
305
|
+
data: Prisma.OAuthClientRedirectUriCreateManyClientInput | Prisma.OAuthClientRedirectUriCreateManyClientInput[];
|
|
306
|
+
};
|
|
307
|
+
export type OAuthClientRedirectUriUpsertWithWhereUniqueWithoutClientInput = {
|
|
308
|
+
where: Prisma.OAuthClientRedirectUriWhereUniqueInput;
|
|
309
|
+
update: Prisma.XOR<Prisma.OAuthClientRedirectUriUpdateWithoutClientInput, Prisma.OAuthClientRedirectUriUncheckedUpdateWithoutClientInput>;
|
|
310
|
+
create: Prisma.XOR<Prisma.OAuthClientRedirectUriCreateWithoutClientInput, Prisma.OAuthClientRedirectUriUncheckedCreateWithoutClientInput>;
|
|
311
|
+
};
|
|
312
|
+
export type OAuthClientRedirectUriUpdateWithWhereUniqueWithoutClientInput = {
|
|
313
|
+
where: Prisma.OAuthClientRedirectUriWhereUniqueInput;
|
|
314
|
+
data: Prisma.XOR<Prisma.OAuthClientRedirectUriUpdateWithoutClientInput, Prisma.OAuthClientRedirectUriUncheckedUpdateWithoutClientInput>;
|
|
315
|
+
};
|
|
316
|
+
export type OAuthClientRedirectUriUpdateManyWithWhereWithoutClientInput = {
|
|
317
|
+
where: Prisma.OAuthClientRedirectUriScalarWhereInput;
|
|
318
|
+
data: Prisma.XOR<Prisma.OAuthClientRedirectUriUpdateManyMutationInput, Prisma.OAuthClientRedirectUriUncheckedUpdateManyWithoutClientInput>;
|
|
319
|
+
};
|
|
320
|
+
export type OAuthClientRedirectUriScalarWhereInput = {
|
|
321
|
+
AND?: Prisma.OAuthClientRedirectUriScalarWhereInput | Prisma.OAuthClientRedirectUriScalarWhereInput[];
|
|
322
|
+
OR?: Prisma.OAuthClientRedirectUriScalarWhereInput[];
|
|
323
|
+
NOT?: Prisma.OAuthClientRedirectUriScalarWhereInput | Prisma.OAuthClientRedirectUriScalarWhereInput[];
|
|
324
|
+
id?: Prisma.IntFilter<"OAuthClientRedirectUri"> | number;
|
|
325
|
+
client_id?: Prisma.StringFilter<"OAuthClientRedirectUri"> | string;
|
|
326
|
+
uri?: Prisma.StringFilter<"OAuthClientRedirectUri"> | string;
|
|
327
|
+
};
|
|
328
|
+
export type OAuthClientRedirectUriCreateManyClientInput = {
|
|
329
|
+
id?: number;
|
|
330
|
+
uri: string;
|
|
331
|
+
};
|
|
332
|
+
export type OAuthClientRedirectUriUpdateWithoutClientInput = {
|
|
333
|
+
uri?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
334
|
+
};
|
|
335
|
+
export type OAuthClientRedirectUriUncheckedUpdateWithoutClientInput = {
|
|
336
|
+
id?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
337
|
+
uri?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
338
|
+
};
|
|
339
|
+
export type OAuthClientRedirectUriUncheckedUpdateManyWithoutClientInput = {
|
|
340
|
+
id?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
341
|
+
uri?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
342
|
+
};
|
|
343
|
+
export type OAuthClientRedirectUriSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
344
|
+
id?: boolean;
|
|
345
|
+
client_id?: boolean;
|
|
346
|
+
uri?: boolean;
|
|
347
|
+
client?: boolean | Prisma.OAuthClientDefaultArgs<ExtArgs>;
|
|
348
|
+
}, ExtArgs["result"]["oAuthClientRedirectUri"]>;
|
|
349
|
+
export type OAuthClientRedirectUriSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
350
|
+
id?: boolean;
|
|
351
|
+
client_id?: boolean;
|
|
352
|
+
uri?: boolean;
|
|
353
|
+
client?: boolean | Prisma.OAuthClientDefaultArgs<ExtArgs>;
|
|
354
|
+
}, ExtArgs["result"]["oAuthClientRedirectUri"]>;
|
|
355
|
+
export type OAuthClientRedirectUriSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
356
|
+
id?: boolean;
|
|
357
|
+
client_id?: boolean;
|
|
358
|
+
uri?: boolean;
|
|
359
|
+
client?: boolean | Prisma.OAuthClientDefaultArgs<ExtArgs>;
|
|
360
|
+
}, ExtArgs["result"]["oAuthClientRedirectUri"]>;
|
|
361
|
+
export type OAuthClientRedirectUriSelectScalar = {
|
|
362
|
+
id?: boolean;
|
|
363
|
+
client_id?: boolean;
|
|
364
|
+
uri?: boolean;
|
|
365
|
+
};
|
|
366
|
+
export type OAuthClientRedirectUriOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "client_id" | "uri", ExtArgs["result"]["oAuthClientRedirectUri"]>;
|
|
367
|
+
export type OAuthClientRedirectUriInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
368
|
+
client?: boolean | Prisma.OAuthClientDefaultArgs<ExtArgs>;
|
|
369
|
+
};
|
|
370
|
+
export type OAuthClientRedirectUriIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
371
|
+
client?: boolean | Prisma.OAuthClientDefaultArgs<ExtArgs>;
|
|
372
|
+
};
|
|
373
|
+
export type OAuthClientRedirectUriIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
374
|
+
client?: boolean | Prisma.OAuthClientDefaultArgs<ExtArgs>;
|
|
375
|
+
};
|
|
376
|
+
export type $OAuthClientRedirectUriPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
377
|
+
name: "OAuthClientRedirectUri";
|
|
378
|
+
objects: {
|
|
379
|
+
client: Prisma.$OAuthClientPayload<ExtArgs>;
|
|
380
|
+
};
|
|
381
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
382
|
+
id: number;
|
|
383
|
+
client_id: string;
|
|
384
|
+
uri: string;
|
|
385
|
+
}, ExtArgs["result"]["oAuthClientRedirectUri"]>;
|
|
386
|
+
composites: {};
|
|
387
|
+
};
|
|
388
|
+
export type OAuthClientRedirectUriGetPayload<S extends boolean | null | undefined | OAuthClientRedirectUriDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$OAuthClientRedirectUriPayload, S>;
|
|
389
|
+
export type OAuthClientRedirectUriCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<OAuthClientRedirectUriFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
390
|
+
select?: OAuthClientRedirectUriCountAggregateInputType | true;
|
|
391
|
+
};
|
|
392
|
+
export interface OAuthClientRedirectUriDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
393
|
+
[K: symbol]: {
|
|
394
|
+
types: Prisma.TypeMap<ExtArgs>['model']['OAuthClientRedirectUri'];
|
|
395
|
+
meta: {
|
|
396
|
+
name: 'OAuthClientRedirectUri';
|
|
397
|
+
};
|
|
398
|
+
};
|
|
399
|
+
/**
|
|
400
|
+
* Find zero or one OAuthClientRedirectUri that matches the filter.
|
|
401
|
+
* @param {OAuthClientRedirectUriFindUniqueArgs} args - Arguments to find a OAuthClientRedirectUri
|
|
402
|
+
* @example
|
|
403
|
+
* // Get one OAuthClientRedirectUri
|
|
404
|
+
* const oAuthClientRedirectUri = await prisma.oAuthClientRedirectUri.findUnique({
|
|
405
|
+
* where: {
|
|
406
|
+
* // ... provide filter here
|
|
407
|
+
* }
|
|
408
|
+
* })
|
|
409
|
+
*/
|
|
410
|
+
findUnique<T extends OAuthClientRedirectUriFindUniqueArgs>(args: Prisma.SelectSubset<T, OAuthClientRedirectUriFindUniqueArgs<ExtArgs>>): Prisma.Prisma__OAuthClientRedirectUriClient<runtime.Types.Result.GetResult<Prisma.$OAuthClientRedirectUriPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
411
|
+
/**
|
|
412
|
+
* Find one OAuthClientRedirectUri that matches the filter or throw an error with `error.code='P2025'`
|
|
413
|
+
* if no matches were found.
|
|
414
|
+
* @param {OAuthClientRedirectUriFindUniqueOrThrowArgs} args - Arguments to find a OAuthClientRedirectUri
|
|
415
|
+
* @example
|
|
416
|
+
* // Get one OAuthClientRedirectUri
|
|
417
|
+
* const oAuthClientRedirectUri = await prisma.oAuthClientRedirectUri.findUniqueOrThrow({
|
|
418
|
+
* where: {
|
|
419
|
+
* // ... provide filter here
|
|
420
|
+
* }
|
|
421
|
+
* })
|
|
422
|
+
*/
|
|
423
|
+
findUniqueOrThrow<T extends OAuthClientRedirectUriFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, OAuthClientRedirectUriFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__OAuthClientRedirectUriClient<runtime.Types.Result.GetResult<Prisma.$OAuthClientRedirectUriPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
424
|
+
/**
|
|
425
|
+
* Find the first OAuthClientRedirectUri 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 {OAuthClientRedirectUriFindFirstArgs} args - Arguments to find a OAuthClientRedirectUri
|
|
429
|
+
* @example
|
|
430
|
+
* // Get one OAuthClientRedirectUri
|
|
431
|
+
* const oAuthClientRedirectUri = await prisma.oAuthClientRedirectUri.findFirst({
|
|
432
|
+
* where: {
|
|
433
|
+
* // ... provide filter here
|
|
434
|
+
* }
|
|
435
|
+
* })
|
|
436
|
+
*/
|
|
437
|
+
findFirst<T extends OAuthClientRedirectUriFindFirstArgs>(args?: Prisma.SelectSubset<T, OAuthClientRedirectUriFindFirstArgs<ExtArgs>>): Prisma.Prisma__OAuthClientRedirectUriClient<runtime.Types.Result.GetResult<Prisma.$OAuthClientRedirectUriPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
438
|
+
/**
|
|
439
|
+
* Find the first OAuthClientRedirectUri 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 {OAuthClientRedirectUriFindFirstOrThrowArgs} args - Arguments to find a OAuthClientRedirectUri
|
|
444
|
+
* @example
|
|
445
|
+
* // Get one OAuthClientRedirectUri
|
|
446
|
+
* const oAuthClientRedirectUri = await prisma.oAuthClientRedirectUri.findFirstOrThrow({
|
|
447
|
+
* where: {
|
|
448
|
+
* // ... provide filter here
|
|
449
|
+
* }
|
|
450
|
+
* })
|
|
451
|
+
*/
|
|
452
|
+
findFirstOrThrow<T extends OAuthClientRedirectUriFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, OAuthClientRedirectUriFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__OAuthClientRedirectUriClient<runtime.Types.Result.GetResult<Prisma.$OAuthClientRedirectUriPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
453
|
+
/**
|
|
454
|
+
* Find zero or more OAuthClientRedirectUris 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 {OAuthClientRedirectUriFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
458
|
+
* @example
|
|
459
|
+
* // Get all OAuthClientRedirectUris
|
|
460
|
+
* const oAuthClientRedirectUris = await prisma.oAuthClientRedirectUri.findMany()
|
|
461
|
+
*
|
|
462
|
+
* // Get first 10 OAuthClientRedirectUris
|
|
463
|
+
* const oAuthClientRedirectUris = await prisma.oAuthClientRedirectUri.findMany({ take: 10 })
|
|
464
|
+
*
|
|
465
|
+
* // Only select the `id`
|
|
466
|
+
* const oAuthClientRedirectUriWithIdOnly = await prisma.oAuthClientRedirectUri.findMany({ select: { id: true } })
|
|
467
|
+
*
|
|
468
|
+
*/
|
|
469
|
+
findMany<T extends OAuthClientRedirectUriFindManyArgs>(args?: Prisma.SelectSubset<T, OAuthClientRedirectUriFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$OAuthClientRedirectUriPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
|
|
470
|
+
/**
|
|
471
|
+
* Create a OAuthClientRedirectUri.
|
|
472
|
+
* @param {OAuthClientRedirectUriCreateArgs} args - Arguments to create a OAuthClientRedirectUri.
|
|
473
|
+
* @example
|
|
474
|
+
* // Create one OAuthClientRedirectUri
|
|
475
|
+
* const OAuthClientRedirectUri = await prisma.oAuthClientRedirectUri.create({
|
|
476
|
+
* data: {
|
|
477
|
+
* // ... data to create a OAuthClientRedirectUri
|
|
478
|
+
* }
|
|
479
|
+
* })
|
|
480
|
+
*
|
|
481
|
+
*/
|
|
482
|
+
create<T extends OAuthClientRedirectUriCreateArgs>(args: Prisma.SelectSubset<T, OAuthClientRedirectUriCreateArgs<ExtArgs>>): Prisma.Prisma__OAuthClientRedirectUriClient<runtime.Types.Result.GetResult<Prisma.$OAuthClientRedirectUriPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
483
|
+
/**
|
|
484
|
+
* Create many OAuthClientRedirectUris.
|
|
485
|
+
* @param {OAuthClientRedirectUriCreateManyArgs} args - Arguments to create many OAuthClientRedirectUris.
|
|
486
|
+
* @example
|
|
487
|
+
* // Create many OAuthClientRedirectUris
|
|
488
|
+
* const oAuthClientRedirectUri = await prisma.oAuthClientRedirectUri.createMany({
|
|
489
|
+
* data: [
|
|
490
|
+
* // ... provide data here
|
|
491
|
+
* ]
|
|
492
|
+
* })
|
|
493
|
+
*
|
|
494
|
+
*/
|
|
495
|
+
createMany<T extends OAuthClientRedirectUriCreateManyArgs>(args?: Prisma.SelectSubset<T, OAuthClientRedirectUriCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
496
|
+
/**
|
|
497
|
+
* Create many OAuthClientRedirectUris and returns the data saved in the database.
|
|
498
|
+
* @param {OAuthClientRedirectUriCreateManyAndReturnArgs} args - Arguments to create many OAuthClientRedirectUris.
|
|
499
|
+
* @example
|
|
500
|
+
* // Create many OAuthClientRedirectUris
|
|
501
|
+
* const oAuthClientRedirectUri = await prisma.oAuthClientRedirectUri.createManyAndReturn({
|
|
502
|
+
* data: [
|
|
503
|
+
* // ... provide data here
|
|
504
|
+
* ]
|
|
505
|
+
* })
|
|
506
|
+
*
|
|
507
|
+
* // Create many OAuthClientRedirectUris and only return the `id`
|
|
508
|
+
* const oAuthClientRedirectUriWithIdOnly = await prisma.oAuthClientRedirectUri.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 OAuthClientRedirectUriCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, OAuthClientRedirectUriCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$OAuthClientRedirectUriPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
|
|
519
|
+
/**
|
|
520
|
+
* Delete a OAuthClientRedirectUri.
|
|
521
|
+
* @param {OAuthClientRedirectUriDeleteArgs} args - Arguments to delete one OAuthClientRedirectUri.
|
|
522
|
+
* @example
|
|
523
|
+
* // Delete one OAuthClientRedirectUri
|
|
524
|
+
* const OAuthClientRedirectUri = await prisma.oAuthClientRedirectUri.delete({
|
|
525
|
+
* where: {
|
|
526
|
+
* // ... filter to delete one OAuthClientRedirectUri
|
|
527
|
+
* }
|
|
528
|
+
* })
|
|
529
|
+
*
|
|
530
|
+
*/
|
|
531
|
+
delete<T extends OAuthClientRedirectUriDeleteArgs>(args: Prisma.SelectSubset<T, OAuthClientRedirectUriDeleteArgs<ExtArgs>>): Prisma.Prisma__OAuthClientRedirectUriClient<runtime.Types.Result.GetResult<Prisma.$OAuthClientRedirectUriPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
532
|
+
/**
|
|
533
|
+
* Update one OAuthClientRedirectUri.
|
|
534
|
+
* @param {OAuthClientRedirectUriUpdateArgs} args - Arguments to update one OAuthClientRedirectUri.
|
|
535
|
+
* @example
|
|
536
|
+
* // Update one OAuthClientRedirectUri
|
|
537
|
+
* const oAuthClientRedirectUri = await prisma.oAuthClientRedirectUri.update({
|
|
538
|
+
* where: {
|
|
539
|
+
* // ... provide filter here
|
|
540
|
+
* },
|
|
541
|
+
* data: {
|
|
542
|
+
* // ... provide data here
|
|
543
|
+
* }
|
|
544
|
+
* })
|
|
545
|
+
*
|
|
546
|
+
*/
|
|
547
|
+
update<T extends OAuthClientRedirectUriUpdateArgs>(args: Prisma.SelectSubset<T, OAuthClientRedirectUriUpdateArgs<ExtArgs>>): Prisma.Prisma__OAuthClientRedirectUriClient<runtime.Types.Result.GetResult<Prisma.$OAuthClientRedirectUriPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
548
|
+
/**
|
|
549
|
+
* Delete zero or more OAuthClientRedirectUris.
|
|
550
|
+
* @param {OAuthClientRedirectUriDeleteManyArgs} args - Arguments to filter OAuthClientRedirectUris to delete.
|
|
551
|
+
* @example
|
|
552
|
+
* // Delete a few OAuthClientRedirectUris
|
|
553
|
+
* const { count } = await prisma.oAuthClientRedirectUri.deleteMany({
|
|
554
|
+
* where: {
|
|
555
|
+
* // ... provide filter here
|
|
556
|
+
* }
|
|
557
|
+
* })
|
|
558
|
+
*
|
|
559
|
+
*/
|
|
560
|
+
deleteMany<T extends OAuthClientRedirectUriDeleteManyArgs>(args?: Prisma.SelectSubset<T, OAuthClientRedirectUriDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
561
|
+
/**
|
|
562
|
+
* Update zero or more OAuthClientRedirectUris.
|
|
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 {OAuthClientRedirectUriUpdateManyArgs} args - Arguments to update one or more rows.
|
|
566
|
+
* @example
|
|
567
|
+
* // Update many OAuthClientRedirectUris
|
|
568
|
+
* const oAuthClientRedirectUri = await prisma.oAuthClientRedirectUri.updateMany({
|
|
569
|
+
* where: {
|
|
570
|
+
* // ... provide filter here
|
|
571
|
+
* },
|
|
572
|
+
* data: {
|
|
573
|
+
* // ... provide data here
|
|
574
|
+
* }
|
|
575
|
+
* })
|
|
576
|
+
*
|
|
577
|
+
*/
|
|
578
|
+
updateMany<T extends OAuthClientRedirectUriUpdateManyArgs>(args: Prisma.SelectSubset<T, OAuthClientRedirectUriUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
579
|
+
/**
|
|
580
|
+
* Update zero or more OAuthClientRedirectUris and returns the data updated in the database.
|
|
581
|
+
* @param {OAuthClientRedirectUriUpdateManyAndReturnArgs} args - Arguments to update many OAuthClientRedirectUris.
|
|
582
|
+
* @example
|
|
583
|
+
* // Update many OAuthClientRedirectUris
|
|
584
|
+
* const oAuthClientRedirectUri = await prisma.oAuthClientRedirectUri.updateManyAndReturn({
|
|
585
|
+
* where: {
|
|
586
|
+
* // ... provide filter here
|
|
587
|
+
* },
|
|
588
|
+
* data: [
|
|
589
|
+
* // ... provide data here
|
|
590
|
+
* ]
|
|
591
|
+
* })
|
|
592
|
+
*
|
|
593
|
+
* // Update zero or more OAuthClientRedirectUris and only return the `id`
|
|
594
|
+
* const oAuthClientRedirectUriWithIdOnly = await prisma.oAuthClientRedirectUri.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 OAuthClientRedirectUriUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, OAuthClientRedirectUriUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$OAuthClientRedirectUriPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
|
|
608
|
+
/**
|
|
609
|
+
* Create or update one OAuthClientRedirectUri.
|
|
610
|
+
* @param {OAuthClientRedirectUriUpsertArgs} args - Arguments to update or create a OAuthClientRedirectUri.
|
|
611
|
+
* @example
|
|
612
|
+
* // Update or create a OAuthClientRedirectUri
|
|
613
|
+
* const oAuthClientRedirectUri = await prisma.oAuthClientRedirectUri.upsert({
|
|
614
|
+
* create: {
|
|
615
|
+
* // ... data to create a OAuthClientRedirectUri
|
|
616
|
+
* },
|
|
617
|
+
* update: {
|
|
618
|
+
* // ... in case it already exists, update
|
|
619
|
+
* },
|
|
620
|
+
* where: {
|
|
621
|
+
* // ... the filter for the OAuthClientRedirectUri we want to update
|
|
622
|
+
* }
|
|
623
|
+
* })
|
|
624
|
+
*/
|
|
625
|
+
upsert<T extends OAuthClientRedirectUriUpsertArgs>(args: Prisma.SelectSubset<T, OAuthClientRedirectUriUpsertArgs<ExtArgs>>): Prisma.Prisma__OAuthClientRedirectUriClient<runtime.Types.Result.GetResult<Prisma.$OAuthClientRedirectUriPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
626
|
+
/**
|
|
627
|
+
* Count the number of OAuthClientRedirectUris.
|
|
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 {OAuthClientRedirectUriCountArgs} args - Arguments to filter OAuthClientRedirectUris to count.
|
|
631
|
+
* @example
|
|
632
|
+
* // Count the number of OAuthClientRedirectUris
|
|
633
|
+
* const count = await prisma.oAuthClientRedirectUri.count({
|
|
634
|
+
* where: {
|
|
635
|
+
* // ... the filter for the OAuthClientRedirectUris we want to count
|
|
636
|
+
* }
|
|
637
|
+
* })
|
|
638
|
+
**/
|
|
639
|
+
count<T extends OAuthClientRedirectUriCountArgs>(args?: Prisma.Subset<T, OAuthClientRedirectUriCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], OAuthClientRedirectUriCountAggregateOutputType> : number>;
|
|
640
|
+
/**
|
|
641
|
+
* Allows you to perform aggregations operations on a OAuthClientRedirectUri.
|
|
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 {OAuthClientRedirectUriAggregateArgs} 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 OAuthClientRedirectUriAggregateArgs>(args: Prisma.Subset<T, OAuthClientRedirectUriAggregateArgs>): Prisma.PrismaPromise<GetOAuthClientRedirectUriAggregateType<T>>;
|
|
665
|
+
/**
|
|
666
|
+
* Group by OAuthClientRedirectUri.
|
|
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 {OAuthClientRedirectUriGroupByArgs} 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 OAuthClientRedirectUriGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
|
|
684
|
+
orderBy: OAuthClientRedirectUriGroupByArgs['orderBy'];
|
|
685
|
+
} : {
|
|
686
|
+
orderBy?: OAuthClientRedirectUriGroupByArgs['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, OAuthClientRedirectUriGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetOAuthClientRedirectUriGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
|
|
701
|
+
/**
|
|
702
|
+
* Fields of the OAuthClientRedirectUri model
|
|
703
|
+
*/
|
|
704
|
+
readonly fields: OAuthClientRedirectUriFieldRefs;
|
|
705
|
+
}
|
|
706
|
+
/**
|
|
707
|
+
* The delegate class that acts as a "Promise-like" for OAuthClientRedirectUri.
|
|
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__OAuthClientRedirectUriClient<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 OAuthClientRedirectUri model
|
|
738
|
+
*/
|
|
739
|
+
export interface OAuthClientRedirectUriFieldRefs {
|
|
740
|
+
readonly id: Prisma.FieldRef<"OAuthClientRedirectUri", 'Int'>;
|
|
741
|
+
readonly client_id: Prisma.FieldRef<"OAuthClientRedirectUri", 'String'>;
|
|
742
|
+
readonly uri: Prisma.FieldRef<"OAuthClientRedirectUri", 'String'>;
|
|
743
|
+
}
|
|
744
|
+
/**
|
|
745
|
+
* OAuthClientRedirectUri findUnique
|
|
746
|
+
*/
|
|
747
|
+
export type OAuthClientRedirectUriFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
748
|
+
/**
|
|
749
|
+
* Select specific fields to fetch from the OAuthClientRedirectUri
|
|
750
|
+
*/
|
|
751
|
+
select?: Prisma.OAuthClientRedirectUriSelect<ExtArgs> | null;
|
|
752
|
+
/**
|
|
753
|
+
* Omit specific fields from the OAuthClientRedirectUri
|
|
754
|
+
*/
|
|
755
|
+
omit?: Prisma.OAuthClientRedirectUriOmit<ExtArgs> | null;
|
|
756
|
+
/**
|
|
757
|
+
* Choose, which related nodes to fetch as well
|
|
758
|
+
*/
|
|
759
|
+
include?: Prisma.OAuthClientRedirectUriInclude<ExtArgs> | null;
|
|
760
|
+
/**
|
|
761
|
+
* Filter, which OAuthClientRedirectUri to fetch.
|
|
762
|
+
*/
|
|
763
|
+
where: Prisma.OAuthClientRedirectUriWhereUniqueInput;
|
|
764
|
+
};
|
|
765
|
+
/**
|
|
766
|
+
* OAuthClientRedirectUri findUniqueOrThrow
|
|
767
|
+
*/
|
|
768
|
+
export type OAuthClientRedirectUriFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
769
|
+
/**
|
|
770
|
+
* Select specific fields to fetch from the OAuthClientRedirectUri
|
|
771
|
+
*/
|
|
772
|
+
select?: Prisma.OAuthClientRedirectUriSelect<ExtArgs> | null;
|
|
773
|
+
/**
|
|
774
|
+
* Omit specific fields from the OAuthClientRedirectUri
|
|
775
|
+
*/
|
|
776
|
+
omit?: Prisma.OAuthClientRedirectUriOmit<ExtArgs> | null;
|
|
777
|
+
/**
|
|
778
|
+
* Choose, which related nodes to fetch as well
|
|
779
|
+
*/
|
|
780
|
+
include?: Prisma.OAuthClientRedirectUriInclude<ExtArgs> | null;
|
|
781
|
+
/**
|
|
782
|
+
* Filter, which OAuthClientRedirectUri to fetch.
|
|
783
|
+
*/
|
|
784
|
+
where: Prisma.OAuthClientRedirectUriWhereUniqueInput;
|
|
785
|
+
};
|
|
786
|
+
/**
|
|
787
|
+
* OAuthClientRedirectUri findFirst
|
|
788
|
+
*/
|
|
789
|
+
export type OAuthClientRedirectUriFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
790
|
+
/**
|
|
791
|
+
* Select specific fields to fetch from the OAuthClientRedirectUri
|
|
792
|
+
*/
|
|
793
|
+
select?: Prisma.OAuthClientRedirectUriSelect<ExtArgs> | null;
|
|
794
|
+
/**
|
|
795
|
+
* Omit specific fields from the OAuthClientRedirectUri
|
|
796
|
+
*/
|
|
797
|
+
omit?: Prisma.OAuthClientRedirectUriOmit<ExtArgs> | null;
|
|
798
|
+
/**
|
|
799
|
+
* Choose, which related nodes to fetch as well
|
|
800
|
+
*/
|
|
801
|
+
include?: Prisma.OAuthClientRedirectUriInclude<ExtArgs> | null;
|
|
802
|
+
/**
|
|
803
|
+
* Filter, which OAuthClientRedirectUri to fetch.
|
|
804
|
+
*/
|
|
805
|
+
where?: Prisma.OAuthClientRedirectUriWhereInput;
|
|
806
|
+
/**
|
|
807
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
808
|
+
*
|
|
809
|
+
* Determine the order of OAuthClientRedirectUris to fetch.
|
|
810
|
+
*/
|
|
811
|
+
orderBy?: Prisma.OAuthClientRedirectUriOrderByWithRelationInput | Prisma.OAuthClientRedirectUriOrderByWithRelationInput[];
|
|
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 OAuthClientRedirectUris.
|
|
816
|
+
*/
|
|
817
|
+
cursor?: Prisma.OAuthClientRedirectUriWhereUniqueInput;
|
|
818
|
+
/**
|
|
819
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
820
|
+
*
|
|
821
|
+
* Take `±n` OAuthClientRedirectUris 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` OAuthClientRedirectUris.
|
|
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 OAuthClientRedirectUris.
|
|
834
|
+
*/
|
|
835
|
+
distinct?: Prisma.OAuthClientRedirectUriScalarFieldEnum | Prisma.OAuthClientRedirectUriScalarFieldEnum[];
|
|
836
|
+
};
|
|
837
|
+
/**
|
|
838
|
+
* OAuthClientRedirectUri findFirstOrThrow
|
|
839
|
+
*/
|
|
840
|
+
export type OAuthClientRedirectUriFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
841
|
+
/**
|
|
842
|
+
* Select specific fields to fetch from the OAuthClientRedirectUri
|
|
843
|
+
*/
|
|
844
|
+
select?: Prisma.OAuthClientRedirectUriSelect<ExtArgs> | null;
|
|
845
|
+
/**
|
|
846
|
+
* Omit specific fields from the OAuthClientRedirectUri
|
|
847
|
+
*/
|
|
848
|
+
omit?: Prisma.OAuthClientRedirectUriOmit<ExtArgs> | null;
|
|
849
|
+
/**
|
|
850
|
+
* Choose, which related nodes to fetch as well
|
|
851
|
+
*/
|
|
852
|
+
include?: Prisma.OAuthClientRedirectUriInclude<ExtArgs> | null;
|
|
853
|
+
/**
|
|
854
|
+
* Filter, which OAuthClientRedirectUri to fetch.
|
|
855
|
+
*/
|
|
856
|
+
where?: Prisma.OAuthClientRedirectUriWhereInput;
|
|
857
|
+
/**
|
|
858
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
859
|
+
*
|
|
860
|
+
* Determine the order of OAuthClientRedirectUris to fetch.
|
|
861
|
+
*/
|
|
862
|
+
orderBy?: Prisma.OAuthClientRedirectUriOrderByWithRelationInput | Prisma.OAuthClientRedirectUriOrderByWithRelationInput[];
|
|
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 OAuthClientRedirectUris.
|
|
867
|
+
*/
|
|
868
|
+
cursor?: Prisma.OAuthClientRedirectUriWhereUniqueInput;
|
|
869
|
+
/**
|
|
870
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
871
|
+
*
|
|
872
|
+
* Take `±n` OAuthClientRedirectUris 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` OAuthClientRedirectUris.
|
|
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 OAuthClientRedirectUris.
|
|
885
|
+
*/
|
|
886
|
+
distinct?: Prisma.OAuthClientRedirectUriScalarFieldEnum | Prisma.OAuthClientRedirectUriScalarFieldEnum[];
|
|
887
|
+
};
|
|
888
|
+
/**
|
|
889
|
+
* OAuthClientRedirectUri findMany
|
|
890
|
+
*/
|
|
891
|
+
export type OAuthClientRedirectUriFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
892
|
+
/**
|
|
893
|
+
* Select specific fields to fetch from the OAuthClientRedirectUri
|
|
894
|
+
*/
|
|
895
|
+
select?: Prisma.OAuthClientRedirectUriSelect<ExtArgs> | null;
|
|
896
|
+
/**
|
|
897
|
+
* Omit specific fields from the OAuthClientRedirectUri
|
|
898
|
+
*/
|
|
899
|
+
omit?: Prisma.OAuthClientRedirectUriOmit<ExtArgs> | null;
|
|
900
|
+
/**
|
|
901
|
+
* Choose, which related nodes to fetch as well
|
|
902
|
+
*/
|
|
903
|
+
include?: Prisma.OAuthClientRedirectUriInclude<ExtArgs> | null;
|
|
904
|
+
/**
|
|
905
|
+
* Filter, which OAuthClientRedirectUris to fetch.
|
|
906
|
+
*/
|
|
907
|
+
where?: Prisma.OAuthClientRedirectUriWhereInput;
|
|
908
|
+
/**
|
|
909
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
910
|
+
*
|
|
911
|
+
* Determine the order of OAuthClientRedirectUris to fetch.
|
|
912
|
+
*/
|
|
913
|
+
orderBy?: Prisma.OAuthClientRedirectUriOrderByWithRelationInput | Prisma.OAuthClientRedirectUriOrderByWithRelationInput[];
|
|
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 OAuthClientRedirectUris.
|
|
918
|
+
*/
|
|
919
|
+
cursor?: Prisma.OAuthClientRedirectUriWhereUniqueInput;
|
|
920
|
+
/**
|
|
921
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
922
|
+
*
|
|
923
|
+
* Take `±n` OAuthClientRedirectUris 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` OAuthClientRedirectUris.
|
|
930
|
+
*/
|
|
931
|
+
skip?: number;
|
|
932
|
+
distinct?: Prisma.OAuthClientRedirectUriScalarFieldEnum | Prisma.OAuthClientRedirectUriScalarFieldEnum[];
|
|
933
|
+
};
|
|
934
|
+
/**
|
|
935
|
+
* OAuthClientRedirectUri create
|
|
936
|
+
*/
|
|
937
|
+
export type OAuthClientRedirectUriCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
938
|
+
/**
|
|
939
|
+
* Select specific fields to fetch from the OAuthClientRedirectUri
|
|
940
|
+
*/
|
|
941
|
+
select?: Prisma.OAuthClientRedirectUriSelect<ExtArgs> | null;
|
|
942
|
+
/**
|
|
943
|
+
* Omit specific fields from the OAuthClientRedirectUri
|
|
944
|
+
*/
|
|
945
|
+
omit?: Prisma.OAuthClientRedirectUriOmit<ExtArgs> | null;
|
|
946
|
+
/**
|
|
947
|
+
* Choose, which related nodes to fetch as well
|
|
948
|
+
*/
|
|
949
|
+
include?: Prisma.OAuthClientRedirectUriInclude<ExtArgs> | null;
|
|
950
|
+
/**
|
|
951
|
+
* The data needed to create a OAuthClientRedirectUri.
|
|
952
|
+
*/
|
|
953
|
+
data: Prisma.XOR<Prisma.OAuthClientRedirectUriCreateInput, Prisma.OAuthClientRedirectUriUncheckedCreateInput>;
|
|
954
|
+
};
|
|
955
|
+
/**
|
|
956
|
+
* OAuthClientRedirectUri createMany
|
|
957
|
+
*/
|
|
958
|
+
export type OAuthClientRedirectUriCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
959
|
+
/**
|
|
960
|
+
* The data used to create many OAuthClientRedirectUris.
|
|
961
|
+
*/
|
|
962
|
+
data: Prisma.OAuthClientRedirectUriCreateManyInput | Prisma.OAuthClientRedirectUriCreateManyInput[];
|
|
963
|
+
};
|
|
964
|
+
/**
|
|
965
|
+
* OAuthClientRedirectUri createManyAndReturn
|
|
966
|
+
*/
|
|
967
|
+
export type OAuthClientRedirectUriCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
968
|
+
/**
|
|
969
|
+
* Select specific fields to fetch from the OAuthClientRedirectUri
|
|
970
|
+
*/
|
|
971
|
+
select?: Prisma.OAuthClientRedirectUriSelectCreateManyAndReturn<ExtArgs> | null;
|
|
972
|
+
/**
|
|
973
|
+
* Omit specific fields from the OAuthClientRedirectUri
|
|
974
|
+
*/
|
|
975
|
+
omit?: Prisma.OAuthClientRedirectUriOmit<ExtArgs> | null;
|
|
976
|
+
/**
|
|
977
|
+
* The data used to create many OAuthClientRedirectUris.
|
|
978
|
+
*/
|
|
979
|
+
data: Prisma.OAuthClientRedirectUriCreateManyInput | Prisma.OAuthClientRedirectUriCreateManyInput[];
|
|
980
|
+
/**
|
|
981
|
+
* Choose, which related nodes to fetch as well
|
|
982
|
+
*/
|
|
983
|
+
include?: Prisma.OAuthClientRedirectUriIncludeCreateManyAndReturn<ExtArgs> | null;
|
|
984
|
+
};
|
|
985
|
+
/**
|
|
986
|
+
* OAuthClientRedirectUri update
|
|
987
|
+
*/
|
|
988
|
+
export type OAuthClientRedirectUriUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
989
|
+
/**
|
|
990
|
+
* Select specific fields to fetch from the OAuthClientRedirectUri
|
|
991
|
+
*/
|
|
992
|
+
select?: Prisma.OAuthClientRedirectUriSelect<ExtArgs> | null;
|
|
993
|
+
/**
|
|
994
|
+
* Omit specific fields from the OAuthClientRedirectUri
|
|
995
|
+
*/
|
|
996
|
+
omit?: Prisma.OAuthClientRedirectUriOmit<ExtArgs> | null;
|
|
997
|
+
/**
|
|
998
|
+
* Choose, which related nodes to fetch as well
|
|
999
|
+
*/
|
|
1000
|
+
include?: Prisma.OAuthClientRedirectUriInclude<ExtArgs> | null;
|
|
1001
|
+
/**
|
|
1002
|
+
* The data needed to update a OAuthClientRedirectUri.
|
|
1003
|
+
*/
|
|
1004
|
+
data: Prisma.XOR<Prisma.OAuthClientRedirectUriUpdateInput, Prisma.OAuthClientRedirectUriUncheckedUpdateInput>;
|
|
1005
|
+
/**
|
|
1006
|
+
* Choose, which OAuthClientRedirectUri to update.
|
|
1007
|
+
*/
|
|
1008
|
+
where: Prisma.OAuthClientRedirectUriWhereUniqueInput;
|
|
1009
|
+
};
|
|
1010
|
+
/**
|
|
1011
|
+
* OAuthClientRedirectUri updateMany
|
|
1012
|
+
*/
|
|
1013
|
+
export type OAuthClientRedirectUriUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1014
|
+
/**
|
|
1015
|
+
* The data used to update OAuthClientRedirectUris.
|
|
1016
|
+
*/
|
|
1017
|
+
data: Prisma.XOR<Prisma.OAuthClientRedirectUriUpdateManyMutationInput, Prisma.OAuthClientRedirectUriUncheckedUpdateManyInput>;
|
|
1018
|
+
/**
|
|
1019
|
+
* Filter which OAuthClientRedirectUris to update
|
|
1020
|
+
*/
|
|
1021
|
+
where?: Prisma.OAuthClientRedirectUriWhereInput;
|
|
1022
|
+
/**
|
|
1023
|
+
* Limit how many OAuthClientRedirectUris to update.
|
|
1024
|
+
*/
|
|
1025
|
+
limit?: number;
|
|
1026
|
+
};
|
|
1027
|
+
/**
|
|
1028
|
+
* OAuthClientRedirectUri updateManyAndReturn
|
|
1029
|
+
*/
|
|
1030
|
+
export type OAuthClientRedirectUriUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1031
|
+
/**
|
|
1032
|
+
* Select specific fields to fetch from the OAuthClientRedirectUri
|
|
1033
|
+
*/
|
|
1034
|
+
select?: Prisma.OAuthClientRedirectUriSelectUpdateManyAndReturn<ExtArgs> | null;
|
|
1035
|
+
/**
|
|
1036
|
+
* Omit specific fields from the OAuthClientRedirectUri
|
|
1037
|
+
*/
|
|
1038
|
+
omit?: Prisma.OAuthClientRedirectUriOmit<ExtArgs> | null;
|
|
1039
|
+
/**
|
|
1040
|
+
* The data used to update OAuthClientRedirectUris.
|
|
1041
|
+
*/
|
|
1042
|
+
data: Prisma.XOR<Prisma.OAuthClientRedirectUriUpdateManyMutationInput, Prisma.OAuthClientRedirectUriUncheckedUpdateManyInput>;
|
|
1043
|
+
/**
|
|
1044
|
+
* Filter which OAuthClientRedirectUris to update
|
|
1045
|
+
*/
|
|
1046
|
+
where?: Prisma.OAuthClientRedirectUriWhereInput;
|
|
1047
|
+
/**
|
|
1048
|
+
* Limit how many OAuthClientRedirectUris to update.
|
|
1049
|
+
*/
|
|
1050
|
+
limit?: number;
|
|
1051
|
+
/**
|
|
1052
|
+
* Choose, which related nodes to fetch as well
|
|
1053
|
+
*/
|
|
1054
|
+
include?: Prisma.OAuthClientRedirectUriIncludeUpdateManyAndReturn<ExtArgs> | null;
|
|
1055
|
+
};
|
|
1056
|
+
/**
|
|
1057
|
+
* OAuthClientRedirectUri upsert
|
|
1058
|
+
*/
|
|
1059
|
+
export type OAuthClientRedirectUriUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1060
|
+
/**
|
|
1061
|
+
* Select specific fields to fetch from the OAuthClientRedirectUri
|
|
1062
|
+
*/
|
|
1063
|
+
select?: Prisma.OAuthClientRedirectUriSelect<ExtArgs> | null;
|
|
1064
|
+
/**
|
|
1065
|
+
* Omit specific fields from the OAuthClientRedirectUri
|
|
1066
|
+
*/
|
|
1067
|
+
omit?: Prisma.OAuthClientRedirectUriOmit<ExtArgs> | null;
|
|
1068
|
+
/**
|
|
1069
|
+
* Choose, which related nodes to fetch as well
|
|
1070
|
+
*/
|
|
1071
|
+
include?: Prisma.OAuthClientRedirectUriInclude<ExtArgs> | null;
|
|
1072
|
+
/**
|
|
1073
|
+
* The filter to search for the OAuthClientRedirectUri to update in case it exists.
|
|
1074
|
+
*/
|
|
1075
|
+
where: Prisma.OAuthClientRedirectUriWhereUniqueInput;
|
|
1076
|
+
/**
|
|
1077
|
+
* In case the OAuthClientRedirectUri found by the `where` argument doesn't exist, create a new OAuthClientRedirectUri with this data.
|
|
1078
|
+
*/
|
|
1079
|
+
create: Prisma.XOR<Prisma.OAuthClientRedirectUriCreateInput, Prisma.OAuthClientRedirectUriUncheckedCreateInput>;
|
|
1080
|
+
/**
|
|
1081
|
+
* In case the OAuthClientRedirectUri was found with the provided `where` argument, update it with this data.
|
|
1082
|
+
*/
|
|
1083
|
+
update: Prisma.XOR<Prisma.OAuthClientRedirectUriUpdateInput, Prisma.OAuthClientRedirectUriUncheckedUpdateInput>;
|
|
1084
|
+
};
|
|
1085
|
+
/**
|
|
1086
|
+
* OAuthClientRedirectUri delete
|
|
1087
|
+
*/
|
|
1088
|
+
export type OAuthClientRedirectUriDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1089
|
+
/**
|
|
1090
|
+
* Select specific fields to fetch from the OAuthClientRedirectUri
|
|
1091
|
+
*/
|
|
1092
|
+
select?: Prisma.OAuthClientRedirectUriSelect<ExtArgs> | null;
|
|
1093
|
+
/**
|
|
1094
|
+
* Omit specific fields from the OAuthClientRedirectUri
|
|
1095
|
+
*/
|
|
1096
|
+
omit?: Prisma.OAuthClientRedirectUriOmit<ExtArgs> | null;
|
|
1097
|
+
/**
|
|
1098
|
+
* Choose, which related nodes to fetch as well
|
|
1099
|
+
*/
|
|
1100
|
+
include?: Prisma.OAuthClientRedirectUriInclude<ExtArgs> | null;
|
|
1101
|
+
/**
|
|
1102
|
+
* Filter which OAuthClientRedirectUri to delete.
|
|
1103
|
+
*/
|
|
1104
|
+
where: Prisma.OAuthClientRedirectUriWhereUniqueInput;
|
|
1105
|
+
};
|
|
1106
|
+
/**
|
|
1107
|
+
* OAuthClientRedirectUri deleteMany
|
|
1108
|
+
*/
|
|
1109
|
+
export type OAuthClientRedirectUriDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1110
|
+
/**
|
|
1111
|
+
* Filter which OAuthClientRedirectUris to delete
|
|
1112
|
+
*/
|
|
1113
|
+
where?: Prisma.OAuthClientRedirectUriWhereInput;
|
|
1114
|
+
/**
|
|
1115
|
+
* Limit how many OAuthClientRedirectUris to delete.
|
|
1116
|
+
*/
|
|
1117
|
+
limit?: number;
|
|
1118
|
+
};
|
|
1119
|
+
/**
|
|
1120
|
+
* OAuthClientRedirectUri without action
|
|
1121
|
+
*/
|
|
1122
|
+
export type OAuthClientRedirectUriDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1123
|
+
/**
|
|
1124
|
+
* Select specific fields to fetch from the OAuthClientRedirectUri
|
|
1125
|
+
*/
|
|
1126
|
+
select?: Prisma.OAuthClientRedirectUriSelect<ExtArgs> | null;
|
|
1127
|
+
/**
|
|
1128
|
+
* Omit specific fields from the OAuthClientRedirectUri
|
|
1129
|
+
*/
|
|
1130
|
+
omit?: Prisma.OAuthClientRedirectUriOmit<ExtArgs> | null;
|
|
1131
|
+
/**
|
|
1132
|
+
* Choose, which related nodes to fetch as well
|
|
1133
|
+
*/
|
|
1134
|
+
include?: Prisma.OAuthClientRedirectUriInclude<ExtArgs> | null;
|
|
1135
|
+
};
|
|
1136
|
+
export {};
|
|
1137
|
+
//# sourceMappingURL=OAuthClientRedirectUri.d.ts.map
|