@app-vitals/agent-admin 1.54.1 → 1.55.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.
@@ -25,6 +25,8 @@ export type AggregateGitHubEnterpriseApp = {
25
25
  }
26
26
 
27
27
  export type GitHubEnterpriseAppMinAggregateOutputType = {
28
+ id: string | null
29
+ accountId: string | null
28
30
  role: string | null
29
31
  appId: string | null
30
32
  slug: string | null
@@ -38,6 +40,8 @@ export type GitHubEnterpriseAppMinAggregateOutputType = {
38
40
  }
39
41
 
40
42
  export type GitHubEnterpriseAppMaxAggregateOutputType = {
43
+ id: string | null
44
+ accountId: string | null
41
45
  role: string | null
42
46
  appId: string | null
43
47
  slug: string | null
@@ -51,6 +55,8 @@ export type GitHubEnterpriseAppMaxAggregateOutputType = {
51
55
  }
52
56
 
53
57
  export type GitHubEnterpriseAppCountAggregateOutputType = {
58
+ id: number
59
+ accountId: number
54
60
  role: number
55
61
  appId: number
56
62
  slug: number
@@ -66,6 +72,8 @@ export type GitHubEnterpriseAppCountAggregateOutputType = {
66
72
 
67
73
 
68
74
  export type GitHubEnterpriseAppMinAggregateInputType = {
75
+ id?: true
76
+ accountId?: true
69
77
  role?: true
70
78
  appId?: true
71
79
  slug?: true
@@ -79,6 +87,8 @@ export type GitHubEnterpriseAppMinAggregateInputType = {
79
87
  }
80
88
 
81
89
  export type GitHubEnterpriseAppMaxAggregateInputType = {
90
+ id?: true
91
+ accountId?: true
82
92
  role?: true
83
93
  appId?: true
84
94
  slug?: true
@@ -92,6 +102,8 @@ export type GitHubEnterpriseAppMaxAggregateInputType = {
92
102
  }
93
103
 
94
104
  export type GitHubEnterpriseAppCountAggregateInputType = {
105
+ id?: true
106
+ accountId?: true
95
107
  role?: true
96
108
  appId?: true
97
109
  slug?: true
@@ -178,6 +190,8 @@ export type GitHubEnterpriseAppGroupByArgs<ExtArgs extends runtime.Types.Extensi
178
190
  }
179
191
 
180
192
  export type GitHubEnterpriseAppGroupByOutputType = {
193
+ id: string
194
+ accountId: string | null
181
195
  role: string
182
196
  appId: string
183
197
  slug: string
@@ -212,6 +226,8 @@ export type GitHubEnterpriseAppWhereInput = {
212
226
  AND?: Prisma.GitHubEnterpriseAppWhereInput | Prisma.GitHubEnterpriseAppWhereInput[]
213
227
  OR?: Prisma.GitHubEnterpriseAppWhereInput[]
214
228
  NOT?: Prisma.GitHubEnterpriseAppWhereInput | Prisma.GitHubEnterpriseAppWhereInput[]
229
+ id?: Prisma.StringFilter<"GitHubEnterpriseApp"> | string
230
+ accountId?: Prisma.StringNullableFilter<"GitHubEnterpriseApp"> | string | null
215
231
  role?: Prisma.StringFilter<"GitHubEnterpriseApp"> | string
216
232
  appId?: Prisma.StringFilter<"GitHubEnterpriseApp"> | string
217
233
  slug?: Prisma.StringFilter<"GitHubEnterpriseApp"> | string
@@ -222,9 +238,12 @@ export type GitHubEnterpriseAppWhereInput = {
222
238
  lastValidationError?: Prisma.StringNullableFilter<"GitHubEnterpriseApp"> | string | null
223
239
  createdAt?: Prisma.DateTimeFilter<"GitHubEnterpriseApp"> | Date | string
224
240
  updatedAt?: Prisma.DateTimeFilter<"GitHubEnterpriseApp"> | Date | string
241
+ account?: Prisma.XOR<Prisma.AccountNullableScalarRelationFilter, Prisma.AccountWhereInput> | null
225
242
  }
226
243
 
227
244
  export type GitHubEnterpriseAppOrderByWithRelationInput = {
245
+ id?: Prisma.SortOrder
246
+ accountId?: Prisma.SortOrderInput | Prisma.SortOrder
228
247
  role?: Prisma.SortOrder
229
248
  appId?: Prisma.SortOrder
230
249
  slug?: Prisma.SortOrder
@@ -235,13 +254,17 @@ export type GitHubEnterpriseAppOrderByWithRelationInput = {
235
254
  lastValidationError?: Prisma.SortOrderInput | Prisma.SortOrder
236
255
  createdAt?: Prisma.SortOrder
237
256
  updatedAt?: Prisma.SortOrder
257
+ account?: Prisma.AccountOrderByWithRelationInput
238
258
  }
239
259
 
240
260
  export type GitHubEnterpriseAppWhereUniqueInput = Prisma.AtLeast<{
241
- role?: string
261
+ id?: string
262
+ accountId_role?: Prisma.GitHubEnterpriseAppAccountIdRoleCompoundUniqueInput
242
263
  AND?: Prisma.GitHubEnterpriseAppWhereInput | Prisma.GitHubEnterpriseAppWhereInput[]
243
264
  OR?: Prisma.GitHubEnterpriseAppWhereInput[]
244
265
  NOT?: Prisma.GitHubEnterpriseAppWhereInput | Prisma.GitHubEnterpriseAppWhereInput[]
266
+ accountId?: Prisma.StringNullableFilter<"GitHubEnterpriseApp"> | string | null
267
+ role?: Prisma.StringFilter<"GitHubEnterpriseApp"> | string
245
268
  appId?: Prisma.StringFilter<"GitHubEnterpriseApp"> | string
246
269
  slug?: Prisma.StringFilter<"GitHubEnterpriseApp"> | string
247
270
  enterpriseSlug?: Prisma.StringNullableFilter<"GitHubEnterpriseApp"> | string | null
@@ -251,9 +274,12 @@ export type GitHubEnterpriseAppWhereUniqueInput = Prisma.AtLeast<{
251
274
  lastValidationError?: Prisma.StringNullableFilter<"GitHubEnterpriseApp"> | string | null
252
275
  createdAt?: Prisma.DateTimeFilter<"GitHubEnterpriseApp"> | Date | string
253
276
  updatedAt?: Prisma.DateTimeFilter<"GitHubEnterpriseApp"> | Date | string
254
- }, "role">
277
+ account?: Prisma.XOR<Prisma.AccountNullableScalarRelationFilter, Prisma.AccountWhereInput> | null
278
+ }, "id" | "accountId_role">
255
279
 
256
280
  export type GitHubEnterpriseAppOrderByWithAggregationInput = {
281
+ id?: Prisma.SortOrder
282
+ accountId?: Prisma.SortOrderInput | Prisma.SortOrder
257
283
  role?: Prisma.SortOrder
258
284
  appId?: Prisma.SortOrder
259
285
  slug?: Prisma.SortOrder
@@ -273,6 +299,8 @@ export type GitHubEnterpriseAppScalarWhereWithAggregatesInput = {
273
299
  AND?: Prisma.GitHubEnterpriseAppScalarWhereWithAggregatesInput | Prisma.GitHubEnterpriseAppScalarWhereWithAggregatesInput[]
274
300
  OR?: Prisma.GitHubEnterpriseAppScalarWhereWithAggregatesInput[]
275
301
  NOT?: Prisma.GitHubEnterpriseAppScalarWhereWithAggregatesInput | Prisma.GitHubEnterpriseAppScalarWhereWithAggregatesInput[]
302
+ id?: Prisma.StringWithAggregatesFilter<"GitHubEnterpriseApp"> | string
303
+ accountId?: Prisma.StringNullableWithAggregatesFilter<"GitHubEnterpriseApp"> | string | null
276
304
  role?: Prisma.StringWithAggregatesFilter<"GitHubEnterpriseApp"> | string
277
305
  appId?: Prisma.StringWithAggregatesFilter<"GitHubEnterpriseApp"> | string
278
306
  slug?: Prisma.StringWithAggregatesFilter<"GitHubEnterpriseApp"> | string
@@ -286,6 +314,7 @@ export type GitHubEnterpriseAppScalarWhereWithAggregatesInput = {
286
314
  }
287
315
 
288
316
  export type GitHubEnterpriseAppCreateInput = {
317
+ id?: string
289
318
  role: string
290
319
  appId: string
291
320
  slug: string
@@ -296,9 +325,12 @@ export type GitHubEnterpriseAppCreateInput = {
296
325
  lastValidationError?: string | null
297
326
  createdAt?: Date | string
298
327
  updatedAt?: Date | string
328
+ account?: Prisma.AccountCreateNestedOneWithoutGithubEnterpriseAppsInput
299
329
  }
300
330
 
301
331
  export type GitHubEnterpriseAppUncheckedCreateInput = {
332
+ id?: string
333
+ accountId?: string | null
302
334
  role: string
303
335
  appId: string
304
336
  slug: string
@@ -312,6 +344,7 @@ export type GitHubEnterpriseAppUncheckedCreateInput = {
312
344
  }
313
345
 
314
346
  export type GitHubEnterpriseAppUpdateInput = {
347
+ id?: Prisma.StringFieldUpdateOperationsInput | string
315
348
  role?: Prisma.StringFieldUpdateOperationsInput | string
316
349
  appId?: Prisma.StringFieldUpdateOperationsInput | string
317
350
  slug?: Prisma.StringFieldUpdateOperationsInput | string
@@ -322,9 +355,12 @@ export type GitHubEnterpriseAppUpdateInput = {
322
355
  lastValidationError?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
323
356
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
324
357
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
358
+ account?: Prisma.AccountUpdateOneWithoutGithubEnterpriseAppsNestedInput
325
359
  }
326
360
 
327
361
  export type GitHubEnterpriseAppUncheckedUpdateInput = {
362
+ id?: Prisma.StringFieldUpdateOperationsInput | string
363
+ accountId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
328
364
  role?: Prisma.StringFieldUpdateOperationsInput | string
329
365
  appId?: Prisma.StringFieldUpdateOperationsInput | string
330
366
  slug?: Prisma.StringFieldUpdateOperationsInput | string
@@ -338,6 +374,8 @@ export type GitHubEnterpriseAppUncheckedUpdateInput = {
338
374
  }
339
375
 
340
376
  export type GitHubEnterpriseAppCreateManyInput = {
377
+ id?: string
378
+ accountId?: string | null
341
379
  role: string
342
380
  appId: string
343
381
  slug: string
@@ -351,6 +389,7 @@ export type GitHubEnterpriseAppCreateManyInput = {
351
389
  }
352
390
 
353
391
  export type GitHubEnterpriseAppUpdateManyMutationInput = {
392
+ id?: Prisma.StringFieldUpdateOperationsInput | string
354
393
  role?: Prisma.StringFieldUpdateOperationsInput | string
355
394
  appId?: Prisma.StringFieldUpdateOperationsInput | string
356
395
  slug?: Prisma.StringFieldUpdateOperationsInput | string
@@ -364,6 +403,8 @@ export type GitHubEnterpriseAppUpdateManyMutationInput = {
364
403
  }
365
404
 
366
405
  export type GitHubEnterpriseAppUncheckedUpdateManyInput = {
406
+ id?: Prisma.StringFieldUpdateOperationsInput | string
407
+ accountId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
367
408
  role?: Prisma.StringFieldUpdateOperationsInput | string
368
409
  appId?: Prisma.StringFieldUpdateOperationsInput | string
369
410
  slug?: Prisma.StringFieldUpdateOperationsInput | string
@@ -376,7 +417,14 @@ export type GitHubEnterpriseAppUncheckedUpdateManyInput = {
376
417
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
377
418
  }
378
419
 
420
+ export type GitHubEnterpriseAppAccountIdRoleCompoundUniqueInput = {
421
+ accountId: string
422
+ role: string
423
+ }
424
+
379
425
  export type GitHubEnterpriseAppCountOrderByAggregateInput = {
426
+ id?: Prisma.SortOrder
427
+ accountId?: Prisma.SortOrder
380
428
  role?: Prisma.SortOrder
381
429
  appId?: Prisma.SortOrder
382
430
  slug?: Prisma.SortOrder
@@ -390,6 +438,8 @@ export type GitHubEnterpriseAppCountOrderByAggregateInput = {
390
438
  }
391
439
 
392
440
  export type GitHubEnterpriseAppMaxOrderByAggregateInput = {
441
+ id?: Prisma.SortOrder
442
+ accountId?: Prisma.SortOrder
393
443
  role?: Prisma.SortOrder
394
444
  appId?: Prisma.SortOrder
395
445
  slug?: Prisma.SortOrder
@@ -403,6 +453,8 @@ export type GitHubEnterpriseAppMaxOrderByAggregateInput = {
403
453
  }
404
454
 
405
455
  export type GitHubEnterpriseAppMinOrderByAggregateInput = {
456
+ id?: Prisma.SortOrder
457
+ accountId?: Prisma.SortOrder
406
458
  role?: Prisma.SortOrder
407
459
  appId?: Prisma.SortOrder
408
460
  slug?: Prisma.SortOrder
@@ -415,9 +467,191 @@ export type GitHubEnterpriseAppMinOrderByAggregateInput = {
415
467
  updatedAt?: Prisma.SortOrder
416
468
  }
417
469
 
470
+ export type GitHubEnterpriseAppListRelationFilter = {
471
+ every?: Prisma.GitHubEnterpriseAppWhereInput
472
+ some?: Prisma.GitHubEnterpriseAppWhereInput
473
+ none?: Prisma.GitHubEnterpriseAppWhereInput
474
+ }
475
+
476
+ export type GitHubEnterpriseAppOrderByRelationAggregateInput = {
477
+ _count?: Prisma.SortOrder
478
+ }
479
+
480
+ export type GitHubEnterpriseAppCreateNestedManyWithoutAccountInput = {
481
+ create?: Prisma.XOR<Prisma.GitHubEnterpriseAppCreateWithoutAccountInput, Prisma.GitHubEnterpriseAppUncheckedCreateWithoutAccountInput> | Prisma.GitHubEnterpriseAppCreateWithoutAccountInput[] | Prisma.GitHubEnterpriseAppUncheckedCreateWithoutAccountInput[]
482
+ connectOrCreate?: Prisma.GitHubEnterpriseAppCreateOrConnectWithoutAccountInput | Prisma.GitHubEnterpriseAppCreateOrConnectWithoutAccountInput[]
483
+ createMany?: Prisma.GitHubEnterpriseAppCreateManyAccountInputEnvelope
484
+ connect?: Prisma.GitHubEnterpriseAppWhereUniqueInput | Prisma.GitHubEnterpriseAppWhereUniqueInput[]
485
+ }
486
+
487
+ export type GitHubEnterpriseAppUncheckedCreateNestedManyWithoutAccountInput = {
488
+ create?: Prisma.XOR<Prisma.GitHubEnterpriseAppCreateWithoutAccountInput, Prisma.GitHubEnterpriseAppUncheckedCreateWithoutAccountInput> | Prisma.GitHubEnterpriseAppCreateWithoutAccountInput[] | Prisma.GitHubEnterpriseAppUncheckedCreateWithoutAccountInput[]
489
+ connectOrCreate?: Prisma.GitHubEnterpriseAppCreateOrConnectWithoutAccountInput | Prisma.GitHubEnterpriseAppCreateOrConnectWithoutAccountInput[]
490
+ createMany?: Prisma.GitHubEnterpriseAppCreateManyAccountInputEnvelope
491
+ connect?: Prisma.GitHubEnterpriseAppWhereUniqueInput | Prisma.GitHubEnterpriseAppWhereUniqueInput[]
492
+ }
493
+
494
+ export type GitHubEnterpriseAppUpdateManyWithoutAccountNestedInput = {
495
+ create?: Prisma.XOR<Prisma.GitHubEnterpriseAppCreateWithoutAccountInput, Prisma.GitHubEnterpriseAppUncheckedCreateWithoutAccountInput> | Prisma.GitHubEnterpriseAppCreateWithoutAccountInput[] | Prisma.GitHubEnterpriseAppUncheckedCreateWithoutAccountInput[]
496
+ connectOrCreate?: Prisma.GitHubEnterpriseAppCreateOrConnectWithoutAccountInput | Prisma.GitHubEnterpriseAppCreateOrConnectWithoutAccountInput[]
497
+ upsert?: Prisma.GitHubEnterpriseAppUpsertWithWhereUniqueWithoutAccountInput | Prisma.GitHubEnterpriseAppUpsertWithWhereUniqueWithoutAccountInput[]
498
+ createMany?: Prisma.GitHubEnterpriseAppCreateManyAccountInputEnvelope
499
+ set?: Prisma.GitHubEnterpriseAppWhereUniqueInput | Prisma.GitHubEnterpriseAppWhereUniqueInput[]
500
+ disconnect?: Prisma.GitHubEnterpriseAppWhereUniqueInput | Prisma.GitHubEnterpriseAppWhereUniqueInput[]
501
+ delete?: Prisma.GitHubEnterpriseAppWhereUniqueInput | Prisma.GitHubEnterpriseAppWhereUniqueInput[]
502
+ connect?: Prisma.GitHubEnterpriseAppWhereUniqueInput | Prisma.GitHubEnterpriseAppWhereUniqueInput[]
503
+ update?: Prisma.GitHubEnterpriseAppUpdateWithWhereUniqueWithoutAccountInput | Prisma.GitHubEnterpriseAppUpdateWithWhereUniqueWithoutAccountInput[]
504
+ updateMany?: Prisma.GitHubEnterpriseAppUpdateManyWithWhereWithoutAccountInput | Prisma.GitHubEnterpriseAppUpdateManyWithWhereWithoutAccountInput[]
505
+ deleteMany?: Prisma.GitHubEnterpriseAppScalarWhereInput | Prisma.GitHubEnterpriseAppScalarWhereInput[]
506
+ }
507
+
508
+ export type GitHubEnterpriseAppUncheckedUpdateManyWithoutAccountNestedInput = {
509
+ create?: Prisma.XOR<Prisma.GitHubEnterpriseAppCreateWithoutAccountInput, Prisma.GitHubEnterpriseAppUncheckedCreateWithoutAccountInput> | Prisma.GitHubEnterpriseAppCreateWithoutAccountInput[] | Prisma.GitHubEnterpriseAppUncheckedCreateWithoutAccountInput[]
510
+ connectOrCreate?: Prisma.GitHubEnterpriseAppCreateOrConnectWithoutAccountInput | Prisma.GitHubEnterpriseAppCreateOrConnectWithoutAccountInput[]
511
+ upsert?: Prisma.GitHubEnterpriseAppUpsertWithWhereUniqueWithoutAccountInput | Prisma.GitHubEnterpriseAppUpsertWithWhereUniqueWithoutAccountInput[]
512
+ createMany?: Prisma.GitHubEnterpriseAppCreateManyAccountInputEnvelope
513
+ set?: Prisma.GitHubEnterpriseAppWhereUniqueInput | Prisma.GitHubEnterpriseAppWhereUniqueInput[]
514
+ disconnect?: Prisma.GitHubEnterpriseAppWhereUniqueInput | Prisma.GitHubEnterpriseAppWhereUniqueInput[]
515
+ delete?: Prisma.GitHubEnterpriseAppWhereUniqueInput | Prisma.GitHubEnterpriseAppWhereUniqueInput[]
516
+ connect?: Prisma.GitHubEnterpriseAppWhereUniqueInput | Prisma.GitHubEnterpriseAppWhereUniqueInput[]
517
+ update?: Prisma.GitHubEnterpriseAppUpdateWithWhereUniqueWithoutAccountInput | Prisma.GitHubEnterpriseAppUpdateWithWhereUniqueWithoutAccountInput[]
518
+ updateMany?: Prisma.GitHubEnterpriseAppUpdateManyWithWhereWithoutAccountInput | Prisma.GitHubEnterpriseAppUpdateManyWithWhereWithoutAccountInput[]
519
+ deleteMany?: Prisma.GitHubEnterpriseAppScalarWhereInput | Prisma.GitHubEnterpriseAppScalarWhereInput[]
520
+ }
521
+
522
+ export type GitHubEnterpriseAppCreateWithoutAccountInput = {
523
+ id?: string
524
+ role: string
525
+ appId: string
526
+ slug: string
527
+ enterpriseSlug?: string | null
528
+ privateKeyEncrypted: string
529
+ lastValidationStatus?: string | null
530
+ lastValidatedAt?: Date | string | null
531
+ lastValidationError?: string | null
532
+ createdAt?: Date | string
533
+ updatedAt?: Date | string
534
+ }
535
+
536
+ export type GitHubEnterpriseAppUncheckedCreateWithoutAccountInput = {
537
+ id?: string
538
+ role: string
539
+ appId: string
540
+ slug: string
541
+ enterpriseSlug?: string | null
542
+ privateKeyEncrypted: string
543
+ lastValidationStatus?: string | null
544
+ lastValidatedAt?: Date | string | null
545
+ lastValidationError?: string | null
546
+ createdAt?: Date | string
547
+ updatedAt?: Date | string
548
+ }
549
+
550
+ export type GitHubEnterpriseAppCreateOrConnectWithoutAccountInput = {
551
+ where: Prisma.GitHubEnterpriseAppWhereUniqueInput
552
+ create: Prisma.XOR<Prisma.GitHubEnterpriseAppCreateWithoutAccountInput, Prisma.GitHubEnterpriseAppUncheckedCreateWithoutAccountInput>
553
+ }
554
+
555
+ export type GitHubEnterpriseAppCreateManyAccountInputEnvelope = {
556
+ data: Prisma.GitHubEnterpriseAppCreateManyAccountInput | Prisma.GitHubEnterpriseAppCreateManyAccountInput[]
557
+ skipDuplicates?: boolean
558
+ }
559
+
560
+ export type GitHubEnterpriseAppUpsertWithWhereUniqueWithoutAccountInput = {
561
+ where: Prisma.GitHubEnterpriseAppWhereUniqueInput
562
+ update: Prisma.XOR<Prisma.GitHubEnterpriseAppUpdateWithoutAccountInput, Prisma.GitHubEnterpriseAppUncheckedUpdateWithoutAccountInput>
563
+ create: Prisma.XOR<Prisma.GitHubEnterpriseAppCreateWithoutAccountInput, Prisma.GitHubEnterpriseAppUncheckedCreateWithoutAccountInput>
564
+ }
565
+
566
+ export type GitHubEnterpriseAppUpdateWithWhereUniqueWithoutAccountInput = {
567
+ where: Prisma.GitHubEnterpriseAppWhereUniqueInput
568
+ data: Prisma.XOR<Prisma.GitHubEnterpriseAppUpdateWithoutAccountInput, Prisma.GitHubEnterpriseAppUncheckedUpdateWithoutAccountInput>
569
+ }
570
+
571
+ export type GitHubEnterpriseAppUpdateManyWithWhereWithoutAccountInput = {
572
+ where: Prisma.GitHubEnterpriseAppScalarWhereInput
573
+ data: Prisma.XOR<Prisma.GitHubEnterpriseAppUpdateManyMutationInput, Prisma.GitHubEnterpriseAppUncheckedUpdateManyWithoutAccountInput>
574
+ }
575
+
576
+ export type GitHubEnterpriseAppScalarWhereInput = {
577
+ AND?: Prisma.GitHubEnterpriseAppScalarWhereInput | Prisma.GitHubEnterpriseAppScalarWhereInput[]
578
+ OR?: Prisma.GitHubEnterpriseAppScalarWhereInput[]
579
+ NOT?: Prisma.GitHubEnterpriseAppScalarWhereInput | Prisma.GitHubEnterpriseAppScalarWhereInput[]
580
+ id?: Prisma.StringFilter<"GitHubEnterpriseApp"> | string
581
+ accountId?: Prisma.StringNullableFilter<"GitHubEnterpriseApp"> | string | null
582
+ role?: Prisma.StringFilter<"GitHubEnterpriseApp"> | string
583
+ appId?: Prisma.StringFilter<"GitHubEnterpriseApp"> | string
584
+ slug?: Prisma.StringFilter<"GitHubEnterpriseApp"> | string
585
+ enterpriseSlug?: Prisma.StringNullableFilter<"GitHubEnterpriseApp"> | string | null
586
+ privateKeyEncrypted?: Prisma.StringFilter<"GitHubEnterpriseApp"> | string
587
+ lastValidationStatus?: Prisma.StringNullableFilter<"GitHubEnterpriseApp"> | string | null
588
+ lastValidatedAt?: Prisma.DateTimeNullableFilter<"GitHubEnterpriseApp"> | Date | string | null
589
+ lastValidationError?: Prisma.StringNullableFilter<"GitHubEnterpriseApp"> | string | null
590
+ createdAt?: Prisma.DateTimeFilter<"GitHubEnterpriseApp"> | Date | string
591
+ updatedAt?: Prisma.DateTimeFilter<"GitHubEnterpriseApp"> | Date | string
592
+ }
593
+
594
+ export type GitHubEnterpriseAppCreateManyAccountInput = {
595
+ id?: string
596
+ role: string
597
+ appId: string
598
+ slug: string
599
+ enterpriseSlug?: string | null
600
+ privateKeyEncrypted: string
601
+ lastValidationStatus?: string | null
602
+ lastValidatedAt?: Date | string | null
603
+ lastValidationError?: string | null
604
+ createdAt?: Date | string
605
+ updatedAt?: Date | string
606
+ }
607
+
608
+ export type GitHubEnterpriseAppUpdateWithoutAccountInput = {
609
+ id?: Prisma.StringFieldUpdateOperationsInput | string
610
+ role?: Prisma.StringFieldUpdateOperationsInput | string
611
+ appId?: Prisma.StringFieldUpdateOperationsInput | string
612
+ slug?: Prisma.StringFieldUpdateOperationsInput | string
613
+ enterpriseSlug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
614
+ privateKeyEncrypted?: Prisma.StringFieldUpdateOperationsInput | string
615
+ lastValidationStatus?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
616
+ lastValidatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
617
+ lastValidationError?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
618
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
619
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
620
+ }
621
+
622
+ export type GitHubEnterpriseAppUncheckedUpdateWithoutAccountInput = {
623
+ id?: Prisma.StringFieldUpdateOperationsInput | string
624
+ role?: Prisma.StringFieldUpdateOperationsInput | string
625
+ appId?: Prisma.StringFieldUpdateOperationsInput | string
626
+ slug?: Prisma.StringFieldUpdateOperationsInput | string
627
+ enterpriseSlug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
628
+ privateKeyEncrypted?: Prisma.StringFieldUpdateOperationsInput | string
629
+ lastValidationStatus?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
630
+ lastValidatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
631
+ lastValidationError?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
632
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
633
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
634
+ }
635
+
636
+ export type GitHubEnterpriseAppUncheckedUpdateManyWithoutAccountInput = {
637
+ id?: Prisma.StringFieldUpdateOperationsInput | string
638
+ role?: Prisma.StringFieldUpdateOperationsInput | string
639
+ appId?: Prisma.StringFieldUpdateOperationsInput | string
640
+ slug?: Prisma.StringFieldUpdateOperationsInput | string
641
+ enterpriseSlug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
642
+ privateKeyEncrypted?: Prisma.StringFieldUpdateOperationsInput | string
643
+ lastValidationStatus?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
644
+ lastValidatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
645
+ lastValidationError?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
646
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
647
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
648
+ }
649
+
418
650
 
419
651
 
420
652
  export type GitHubEnterpriseAppSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
653
+ id?: boolean
654
+ accountId?: boolean
421
655
  role?: boolean
422
656
  appId?: boolean
423
657
  slug?: boolean
@@ -428,9 +662,12 @@ export type GitHubEnterpriseAppSelect<ExtArgs extends runtime.Types.Extensions.I
428
662
  lastValidationError?: boolean
429
663
  createdAt?: boolean
430
664
  updatedAt?: boolean
665
+ account?: boolean | Prisma.GitHubEnterpriseApp$accountArgs<ExtArgs>
431
666
  }, ExtArgs["result"]["gitHubEnterpriseApp"]>
432
667
 
433
668
  export type GitHubEnterpriseAppSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
669
+ id?: boolean
670
+ accountId?: boolean
434
671
  role?: boolean
435
672
  appId?: boolean
436
673
  slug?: boolean
@@ -441,9 +678,12 @@ export type GitHubEnterpriseAppSelectCreateManyAndReturn<ExtArgs extends runtime
441
678
  lastValidationError?: boolean
442
679
  createdAt?: boolean
443
680
  updatedAt?: boolean
681
+ account?: boolean | Prisma.GitHubEnterpriseApp$accountArgs<ExtArgs>
444
682
  }, ExtArgs["result"]["gitHubEnterpriseApp"]>
445
683
 
446
684
  export type GitHubEnterpriseAppSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
685
+ id?: boolean
686
+ accountId?: boolean
447
687
  role?: boolean
448
688
  appId?: boolean
449
689
  slug?: boolean
@@ -454,9 +694,12 @@ export type GitHubEnterpriseAppSelectUpdateManyAndReturn<ExtArgs extends runtime
454
694
  lastValidationError?: boolean
455
695
  createdAt?: boolean
456
696
  updatedAt?: boolean
697
+ account?: boolean | Prisma.GitHubEnterpriseApp$accountArgs<ExtArgs>
457
698
  }, ExtArgs["result"]["gitHubEnterpriseApp"]>
458
699
 
459
700
  export type GitHubEnterpriseAppSelectScalar = {
701
+ id?: boolean
702
+ accountId?: boolean
460
703
  role?: boolean
461
704
  appId?: boolean
462
705
  slug?: boolean
@@ -469,12 +712,25 @@ export type GitHubEnterpriseAppSelectScalar = {
469
712
  updatedAt?: boolean
470
713
  }
471
714
 
472
- export type GitHubEnterpriseAppOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"role" | "appId" | "slug" | "enterpriseSlug" | "privateKeyEncrypted" | "lastValidationStatus" | "lastValidatedAt" | "lastValidationError" | "createdAt" | "updatedAt", ExtArgs["result"]["gitHubEnterpriseApp"]>
715
+ export type GitHubEnterpriseAppOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "accountId" | "role" | "appId" | "slug" | "enterpriseSlug" | "privateKeyEncrypted" | "lastValidationStatus" | "lastValidatedAt" | "lastValidationError" | "createdAt" | "updatedAt", ExtArgs["result"]["gitHubEnterpriseApp"]>
716
+ export type GitHubEnterpriseAppInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
717
+ account?: boolean | Prisma.GitHubEnterpriseApp$accountArgs<ExtArgs>
718
+ }
719
+ export type GitHubEnterpriseAppIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
720
+ account?: boolean | Prisma.GitHubEnterpriseApp$accountArgs<ExtArgs>
721
+ }
722
+ export type GitHubEnterpriseAppIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
723
+ account?: boolean | Prisma.GitHubEnterpriseApp$accountArgs<ExtArgs>
724
+ }
473
725
 
474
726
  export type $GitHubEnterpriseAppPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
475
727
  name: "GitHubEnterpriseApp"
476
- objects: {}
728
+ objects: {
729
+ account: Prisma.$AccountPayload<ExtArgs> | null
730
+ }
477
731
  scalars: runtime.Types.Extensions.GetPayloadResult<{
732
+ id: string
733
+ accountId: string | null
478
734
  role: string
479
735
  appId: string
480
736
  slug: string
@@ -568,8 +824,8 @@ export interface GitHubEnterpriseAppDelegate<ExtArgs extends runtime.Types.Exten
568
824
  * // Get first 10 GitHubEnterpriseApps
569
825
  * const gitHubEnterpriseApps = await prisma.gitHubEnterpriseApp.findMany({ take: 10 })
570
826
  *
571
- * // Only select the `role`
572
- * const gitHubEnterpriseAppWithRoleOnly = await prisma.gitHubEnterpriseApp.findMany({ select: { role: true } })
827
+ * // Only select the `id`
828
+ * const gitHubEnterpriseAppWithIdOnly = await prisma.gitHubEnterpriseApp.findMany({ select: { id: true } })
573
829
  *
574
830
  */
575
831
  findMany<T extends GitHubEnterpriseAppFindManyArgs>(args?: Prisma.SelectSubset<T, GitHubEnterpriseAppFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$GitHubEnterpriseAppPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
@@ -613,9 +869,9 @@ export interface GitHubEnterpriseAppDelegate<ExtArgs extends runtime.Types.Exten
613
869
  * ]
614
870
  * })
615
871
  *
616
- * // Create many GitHubEnterpriseApps and only return the `role`
617
- * const gitHubEnterpriseAppWithRoleOnly = await prisma.gitHubEnterpriseApp.createManyAndReturn({
618
- * select: { role: true },
872
+ * // Create many GitHubEnterpriseApps and only return the `id`
873
+ * const gitHubEnterpriseAppWithIdOnly = await prisma.gitHubEnterpriseApp.createManyAndReturn({
874
+ * select: { id: true },
619
875
  * data: [
620
876
  * // ... provide data here
621
877
  * ]
@@ -704,9 +960,9 @@ export interface GitHubEnterpriseAppDelegate<ExtArgs extends runtime.Types.Exten
704
960
  * ]
705
961
  * })
706
962
  *
707
- * // Update zero or more GitHubEnterpriseApps and only return the `role`
708
- * const gitHubEnterpriseAppWithRoleOnly = await prisma.gitHubEnterpriseApp.updateManyAndReturn({
709
- * select: { role: true },
963
+ * // Update zero or more GitHubEnterpriseApps and only return the `id`
964
+ * const gitHubEnterpriseAppWithIdOnly = await prisma.gitHubEnterpriseApp.updateManyAndReturn({
965
+ * select: { id: true },
710
966
  * where: {
711
967
  * // ... provide filter here
712
968
  * },
@@ -879,6 +1135,7 @@ readonly fields: GitHubEnterpriseAppFieldRefs;
879
1135
  */
880
1136
  export interface Prisma__GitHubEnterpriseAppClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
881
1137
  readonly [Symbol.toStringTag]: "PrismaPromise"
1138
+ account<T extends Prisma.GitHubEnterpriseApp$accountArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.GitHubEnterpriseApp$accountArgs<ExtArgs>>): Prisma.Prisma__AccountClient<runtime.Types.Result.GetResult<Prisma.$AccountPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
882
1139
  /**
883
1140
  * Attaches callbacks for the resolution and/or rejection of the Promise.
884
1141
  * @param onfulfilled The callback to execute when the Promise is resolved.
@@ -908,6 +1165,8 @@ export interface Prisma__GitHubEnterpriseAppClient<T, Null = never, ExtArgs exte
908
1165
  * Fields of the GitHubEnterpriseApp model
909
1166
  */
910
1167
  export interface GitHubEnterpriseAppFieldRefs {
1168
+ readonly id: Prisma.FieldRef<"GitHubEnterpriseApp", 'String'>
1169
+ readonly accountId: Prisma.FieldRef<"GitHubEnterpriseApp", 'String'>
911
1170
  readonly role: Prisma.FieldRef<"GitHubEnterpriseApp", 'String'>
912
1171
  readonly appId: Prisma.FieldRef<"GitHubEnterpriseApp", 'String'>
913
1172
  readonly slug: Prisma.FieldRef<"GitHubEnterpriseApp", 'String'>
@@ -934,6 +1193,10 @@ export type GitHubEnterpriseAppFindUniqueArgs<ExtArgs extends runtime.Types.Exte
934
1193
  * Omit specific fields from the GitHubEnterpriseApp
935
1194
  */
936
1195
  omit?: Prisma.GitHubEnterpriseAppOmit<ExtArgs> | null
1196
+ /**
1197
+ * Choose, which related nodes to fetch as well
1198
+ */
1199
+ include?: Prisma.GitHubEnterpriseAppInclude<ExtArgs> | null
937
1200
  /**
938
1201
  * Filter, which GitHubEnterpriseApp to fetch.
939
1202
  */
@@ -952,6 +1215,10 @@ export type GitHubEnterpriseAppFindUniqueOrThrowArgs<ExtArgs extends runtime.Typ
952
1215
  * Omit specific fields from the GitHubEnterpriseApp
953
1216
  */
954
1217
  omit?: Prisma.GitHubEnterpriseAppOmit<ExtArgs> | null
1218
+ /**
1219
+ * Choose, which related nodes to fetch as well
1220
+ */
1221
+ include?: Prisma.GitHubEnterpriseAppInclude<ExtArgs> | null
955
1222
  /**
956
1223
  * Filter, which GitHubEnterpriseApp to fetch.
957
1224
  */
@@ -970,6 +1237,10 @@ export type GitHubEnterpriseAppFindFirstArgs<ExtArgs extends runtime.Types.Exten
970
1237
  * Omit specific fields from the GitHubEnterpriseApp
971
1238
  */
972
1239
  omit?: Prisma.GitHubEnterpriseAppOmit<ExtArgs> | null
1240
+ /**
1241
+ * Choose, which related nodes to fetch as well
1242
+ */
1243
+ include?: Prisma.GitHubEnterpriseAppInclude<ExtArgs> | null
973
1244
  /**
974
1245
  * Filter, which GitHubEnterpriseApp to fetch.
975
1246
  */
@@ -1018,6 +1289,10 @@ export type GitHubEnterpriseAppFindFirstOrThrowArgs<ExtArgs extends runtime.Type
1018
1289
  * Omit specific fields from the GitHubEnterpriseApp
1019
1290
  */
1020
1291
  omit?: Prisma.GitHubEnterpriseAppOmit<ExtArgs> | null
1292
+ /**
1293
+ * Choose, which related nodes to fetch as well
1294
+ */
1295
+ include?: Prisma.GitHubEnterpriseAppInclude<ExtArgs> | null
1021
1296
  /**
1022
1297
  * Filter, which GitHubEnterpriseApp to fetch.
1023
1298
  */
@@ -1066,6 +1341,10 @@ export type GitHubEnterpriseAppFindManyArgs<ExtArgs extends runtime.Types.Extens
1066
1341
  * Omit specific fields from the GitHubEnterpriseApp
1067
1342
  */
1068
1343
  omit?: Prisma.GitHubEnterpriseAppOmit<ExtArgs> | null
1344
+ /**
1345
+ * Choose, which related nodes to fetch as well
1346
+ */
1347
+ include?: Prisma.GitHubEnterpriseAppInclude<ExtArgs> | null
1069
1348
  /**
1070
1349
  * Filter, which GitHubEnterpriseApps to fetch.
1071
1350
  */
@@ -1114,6 +1393,10 @@ export type GitHubEnterpriseAppCreateArgs<ExtArgs extends runtime.Types.Extensio
1114
1393
  * Omit specific fields from the GitHubEnterpriseApp
1115
1394
  */
1116
1395
  omit?: Prisma.GitHubEnterpriseAppOmit<ExtArgs> | null
1396
+ /**
1397
+ * Choose, which related nodes to fetch as well
1398
+ */
1399
+ include?: Prisma.GitHubEnterpriseAppInclude<ExtArgs> | null
1117
1400
  /**
1118
1401
  * The data needed to create a GitHubEnterpriseApp.
1119
1402
  */
@@ -1148,6 +1431,10 @@ export type GitHubEnterpriseAppCreateManyAndReturnArgs<ExtArgs extends runtime.T
1148
1431
  */
1149
1432
  data: Prisma.GitHubEnterpriseAppCreateManyInput | Prisma.GitHubEnterpriseAppCreateManyInput[]
1150
1433
  skipDuplicates?: boolean
1434
+ /**
1435
+ * Choose, which related nodes to fetch as well
1436
+ */
1437
+ include?: Prisma.GitHubEnterpriseAppIncludeCreateManyAndReturn<ExtArgs> | null
1151
1438
  }
1152
1439
 
1153
1440
  /**
@@ -1162,6 +1449,10 @@ export type GitHubEnterpriseAppUpdateArgs<ExtArgs extends runtime.Types.Extensio
1162
1449
  * Omit specific fields from the GitHubEnterpriseApp
1163
1450
  */
1164
1451
  omit?: Prisma.GitHubEnterpriseAppOmit<ExtArgs> | null
1452
+ /**
1453
+ * Choose, which related nodes to fetch as well
1454
+ */
1455
+ include?: Prisma.GitHubEnterpriseAppInclude<ExtArgs> | null
1165
1456
  /**
1166
1457
  * The data needed to update a GitHubEnterpriseApp.
1167
1458
  */
@@ -1214,6 +1505,10 @@ export type GitHubEnterpriseAppUpdateManyAndReturnArgs<ExtArgs extends runtime.T
1214
1505
  * Limit how many GitHubEnterpriseApps to update.
1215
1506
  */
1216
1507
  limit?: number
1508
+ /**
1509
+ * Choose, which related nodes to fetch as well
1510
+ */
1511
+ include?: Prisma.GitHubEnterpriseAppIncludeUpdateManyAndReturn<ExtArgs> | null
1217
1512
  }
1218
1513
 
1219
1514
  /**
@@ -1228,6 +1523,10 @@ export type GitHubEnterpriseAppUpsertArgs<ExtArgs extends runtime.Types.Extensio
1228
1523
  * Omit specific fields from the GitHubEnterpriseApp
1229
1524
  */
1230
1525
  omit?: Prisma.GitHubEnterpriseAppOmit<ExtArgs> | null
1526
+ /**
1527
+ * Choose, which related nodes to fetch as well
1528
+ */
1529
+ include?: Prisma.GitHubEnterpriseAppInclude<ExtArgs> | null
1231
1530
  /**
1232
1531
  * The filter to search for the GitHubEnterpriseApp to update in case it exists.
1233
1532
  */
@@ -1254,6 +1553,10 @@ export type GitHubEnterpriseAppDeleteArgs<ExtArgs extends runtime.Types.Extensio
1254
1553
  * Omit specific fields from the GitHubEnterpriseApp
1255
1554
  */
1256
1555
  omit?: Prisma.GitHubEnterpriseAppOmit<ExtArgs> | null
1556
+ /**
1557
+ * Choose, which related nodes to fetch as well
1558
+ */
1559
+ include?: Prisma.GitHubEnterpriseAppInclude<ExtArgs> | null
1257
1560
  /**
1258
1561
  * Filter which GitHubEnterpriseApp to delete.
1259
1562
  */
@@ -1274,6 +1577,25 @@ export type GitHubEnterpriseAppDeleteManyArgs<ExtArgs extends runtime.Types.Exte
1274
1577
  limit?: number
1275
1578
  }
1276
1579
 
1580
+ /**
1581
+ * GitHubEnterpriseApp.account
1582
+ */
1583
+ export type GitHubEnterpriseApp$accountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1584
+ /**
1585
+ * Select specific fields to fetch from the Account
1586
+ */
1587
+ select?: Prisma.AccountSelect<ExtArgs> | null
1588
+ /**
1589
+ * Omit specific fields from the Account
1590
+ */
1591
+ omit?: Prisma.AccountOmit<ExtArgs> | null
1592
+ /**
1593
+ * Choose, which related nodes to fetch as well
1594
+ */
1595
+ include?: Prisma.AccountInclude<ExtArgs> | null
1596
+ where?: Prisma.AccountWhereInput
1597
+ }
1598
+
1277
1599
  /**
1278
1600
  * GitHubEnterpriseApp without action
1279
1601
  */
@@ -1286,4 +1608,8 @@ export type GitHubEnterpriseAppDefaultArgs<ExtArgs extends runtime.Types.Extensi
1286
1608
  * Omit specific fields from the GitHubEnterpriseApp
1287
1609
  */
1288
1610
  omit?: Prisma.GitHubEnterpriseAppOmit<ExtArgs> | null
1611
+ /**
1612
+ * Choose, which related nodes to fetch as well
1613
+ */
1614
+ include?: Prisma.GitHubEnterpriseAppInclude<ExtArgs> | null
1289
1615
  }