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