@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.
- package/package.json +2 -2
- package/prisma/client/internal/class.ts +4 -4
- package/prisma/client/internal/prismaNamespace.ts +2 -0
- package/prisma/client/internal/prismaNamespaceBrowser.ts +2 -0
- package/prisma/client/models/Account.ts +156 -0
- package/prisma/client/models/GitHubEnterpriseApp.ts +338 -12
- package/prisma/migrations/20261116000000_github_enterprise_app_account_id/migration.sql +21 -0
- package/prisma/schema/schema.prisma +18 -4
- package/src/github-enterprise-api.integration.test.ts +5 -5
- package/src/github-enterprise-apps.integration.test.ts +101 -3
- package/src/github-enterprise-apps.ts +68 -23
- package/src/github-enterprise-isolation.unit.test.ts +10 -0
|
@@ -2879,6 +2879,8 @@ export type AgentEnvScalarFieldEnum = (typeof AgentEnvScalarFieldEnum)[keyof typ
|
|
|
2879
2879
|
|
|
2880
2880
|
|
|
2881
2881
|
export const GitHubEnterpriseAppScalarFieldEnum = {
|
|
2882
|
+
id: 'id',
|
|
2883
|
+
accountId: 'accountId',
|
|
2882
2884
|
role: 'role',
|
|
2883
2885
|
appId: 'appId',
|
|
2884
2886
|
slug: 'slug',
|
|
@@ -252,6 +252,7 @@ export type AccountWhereInput = {
|
|
|
252
252
|
members?: Prisma.AccountMemberListRelationFilter
|
|
253
253
|
invites?: Prisma.AccountInviteListRelationFilter
|
|
254
254
|
templates?: Prisma.AgentTemplateListRelationFilter
|
|
255
|
+
githubEnterpriseApps?: Prisma.GitHubEnterpriseAppListRelationFilter
|
|
255
256
|
}
|
|
256
257
|
|
|
257
258
|
export type AccountOrderByWithRelationInput = {
|
|
@@ -268,6 +269,7 @@ export type AccountOrderByWithRelationInput = {
|
|
|
268
269
|
members?: Prisma.AccountMemberOrderByRelationAggregateInput
|
|
269
270
|
invites?: Prisma.AccountInviteOrderByRelationAggregateInput
|
|
270
271
|
templates?: Prisma.AgentTemplateOrderByRelationAggregateInput
|
|
272
|
+
githubEnterpriseApps?: Prisma.GitHubEnterpriseAppOrderByRelationAggregateInput
|
|
271
273
|
}
|
|
272
274
|
|
|
273
275
|
export type AccountWhereUniqueInput = Prisma.AtLeast<{
|
|
@@ -287,6 +289,7 @@ export type AccountWhereUniqueInput = Prisma.AtLeast<{
|
|
|
287
289
|
members?: Prisma.AccountMemberListRelationFilter
|
|
288
290
|
invites?: Prisma.AccountInviteListRelationFilter
|
|
289
291
|
templates?: Prisma.AgentTemplateListRelationFilter
|
|
292
|
+
githubEnterpriseApps?: Prisma.GitHubEnterpriseAppListRelationFilter
|
|
290
293
|
}, "id">
|
|
291
294
|
|
|
292
295
|
export type AccountOrderByWithAggregationInput = {
|
|
@@ -335,6 +338,7 @@ export type AccountCreateInput = {
|
|
|
335
338
|
members?: Prisma.AccountMemberCreateNestedManyWithoutAccountInput
|
|
336
339
|
invites?: Prisma.AccountInviteCreateNestedManyWithoutAccountInput
|
|
337
340
|
templates?: Prisma.AgentTemplateCreateNestedManyWithoutAccountInput
|
|
341
|
+
githubEnterpriseApps?: Prisma.GitHubEnterpriseAppCreateNestedManyWithoutAccountInput
|
|
338
342
|
}
|
|
339
343
|
|
|
340
344
|
export type AccountUncheckedCreateInput = {
|
|
@@ -351,6 +355,7 @@ export type AccountUncheckedCreateInput = {
|
|
|
351
355
|
members?: Prisma.AccountMemberUncheckedCreateNestedManyWithoutAccountInput
|
|
352
356
|
invites?: Prisma.AccountInviteUncheckedCreateNestedManyWithoutAccountInput
|
|
353
357
|
templates?: Prisma.AgentTemplateUncheckedCreateNestedManyWithoutAccountInput
|
|
358
|
+
githubEnterpriseApps?: Prisma.GitHubEnterpriseAppUncheckedCreateNestedManyWithoutAccountInput
|
|
354
359
|
}
|
|
355
360
|
|
|
356
361
|
export type AccountUpdateInput = {
|
|
@@ -367,6 +372,7 @@ export type AccountUpdateInput = {
|
|
|
367
372
|
members?: Prisma.AccountMemberUpdateManyWithoutAccountNestedInput
|
|
368
373
|
invites?: Prisma.AccountInviteUpdateManyWithoutAccountNestedInput
|
|
369
374
|
templates?: Prisma.AgentTemplateUpdateManyWithoutAccountNestedInput
|
|
375
|
+
githubEnterpriseApps?: Prisma.GitHubEnterpriseAppUpdateManyWithoutAccountNestedInput
|
|
370
376
|
}
|
|
371
377
|
|
|
372
378
|
export type AccountUncheckedUpdateInput = {
|
|
@@ -383,6 +389,7 @@ export type AccountUncheckedUpdateInput = {
|
|
|
383
389
|
members?: Prisma.AccountMemberUncheckedUpdateManyWithoutAccountNestedInput
|
|
384
390
|
invites?: Prisma.AccountInviteUncheckedUpdateManyWithoutAccountNestedInput
|
|
385
391
|
templates?: Prisma.AgentTemplateUncheckedUpdateManyWithoutAccountNestedInput
|
|
392
|
+
githubEnterpriseApps?: Prisma.GitHubEnterpriseAppUncheckedUpdateManyWithoutAccountNestedInput
|
|
386
393
|
}
|
|
387
394
|
|
|
388
395
|
export type AccountCreateManyInput = {
|
|
@@ -491,6 +498,22 @@ export type AccountUpdateOneWithoutAgentsNestedInput = {
|
|
|
491
498
|
update?: Prisma.XOR<Prisma.XOR<Prisma.AccountUpdateToOneWithWhereWithoutAgentsInput, Prisma.AccountUpdateWithoutAgentsInput>, Prisma.AccountUncheckedUpdateWithoutAgentsInput>
|
|
492
499
|
}
|
|
493
500
|
|
|
501
|
+
export type AccountCreateNestedOneWithoutGithubEnterpriseAppsInput = {
|
|
502
|
+
create?: Prisma.XOR<Prisma.AccountCreateWithoutGithubEnterpriseAppsInput, Prisma.AccountUncheckedCreateWithoutGithubEnterpriseAppsInput>
|
|
503
|
+
connectOrCreate?: Prisma.AccountCreateOrConnectWithoutGithubEnterpriseAppsInput
|
|
504
|
+
connect?: Prisma.AccountWhereUniqueInput
|
|
505
|
+
}
|
|
506
|
+
|
|
507
|
+
export type AccountUpdateOneWithoutGithubEnterpriseAppsNestedInput = {
|
|
508
|
+
create?: Prisma.XOR<Prisma.AccountCreateWithoutGithubEnterpriseAppsInput, Prisma.AccountUncheckedCreateWithoutGithubEnterpriseAppsInput>
|
|
509
|
+
connectOrCreate?: Prisma.AccountCreateOrConnectWithoutGithubEnterpriseAppsInput
|
|
510
|
+
upsert?: Prisma.AccountUpsertWithoutGithubEnterpriseAppsInput
|
|
511
|
+
disconnect?: Prisma.AccountWhereInput | boolean
|
|
512
|
+
delete?: Prisma.AccountWhereInput | boolean
|
|
513
|
+
connect?: Prisma.AccountWhereUniqueInput
|
|
514
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.AccountUpdateToOneWithWhereWithoutGithubEnterpriseAppsInput, Prisma.AccountUpdateWithoutGithubEnterpriseAppsInput>, Prisma.AccountUncheckedUpdateWithoutGithubEnterpriseAppsInput>
|
|
515
|
+
}
|
|
516
|
+
|
|
494
517
|
export type AccountCreateNestedOneWithoutTemplatesInput = {
|
|
495
518
|
create?: Prisma.XOR<Prisma.AccountCreateWithoutTemplatesInput, Prisma.AccountUncheckedCreateWithoutTemplatesInput>
|
|
496
519
|
connectOrCreate?: Prisma.AccountCreateOrConnectWithoutTemplatesInput
|
|
@@ -548,6 +571,7 @@ export type AccountCreateWithoutAgentsInput = {
|
|
|
548
571
|
members?: Prisma.AccountMemberCreateNestedManyWithoutAccountInput
|
|
549
572
|
invites?: Prisma.AccountInviteCreateNestedManyWithoutAccountInput
|
|
550
573
|
templates?: Prisma.AgentTemplateCreateNestedManyWithoutAccountInput
|
|
574
|
+
githubEnterpriseApps?: Prisma.GitHubEnterpriseAppCreateNestedManyWithoutAccountInput
|
|
551
575
|
}
|
|
552
576
|
|
|
553
577
|
export type AccountUncheckedCreateWithoutAgentsInput = {
|
|
@@ -563,6 +587,7 @@ export type AccountUncheckedCreateWithoutAgentsInput = {
|
|
|
563
587
|
members?: Prisma.AccountMemberUncheckedCreateNestedManyWithoutAccountInput
|
|
564
588
|
invites?: Prisma.AccountInviteUncheckedCreateNestedManyWithoutAccountInput
|
|
565
589
|
templates?: Prisma.AgentTemplateUncheckedCreateNestedManyWithoutAccountInput
|
|
590
|
+
githubEnterpriseApps?: Prisma.GitHubEnterpriseAppUncheckedCreateNestedManyWithoutAccountInput
|
|
566
591
|
}
|
|
567
592
|
|
|
568
593
|
export type AccountCreateOrConnectWithoutAgentsInput = {
|
|
@@ -594,6 +619,7 @@ export type AccountUpdateWithoutAgentsInput = {
|
|
|
594
619
|
members?: Prisma.AccountMemberUpdateManyWithoutAccountNestedInput
|
|
595
620
|
invites?: Prisma.AccountInviteUpdateManyWithoutAccountNestedInput
|
|
596
621
|
templates?: Prisma.AgentTemplateUpdateManyWithoutAccountNestedInput
|
|
622
|
+
githubEnterpriseApps?: Prisma.GitHubEnterpriseAppUpdateManyWithoutAccountNestedInput
|
|
597
623
|
}
|
|
598
624
|
|
|
599
625
|
export type AccountUncheckedUpdateWithoutAgentsInput = {
|
|
@@ -609,6 +635,87 @@ export type AccountUncheckedUpdateWithoutAgentsInput = {
|
|
|
609
635
|
members?: Prisma.AccountMemberUncheckedUpdateManyWithoutAccountNestedInput
|
|
610
636
|
invites?: Prisma.AccountInviteUncheckedUpdateManyWithoutAccountNestedInput
|
|
611
637
|
templates?: Prisma.AgentTemplateUncheckedUpdateManyWithoutAccountNestedInput
|
|
638
|
+
githubEnterpriseApps?: Prisma.GitHubEnterpriseAppUncheckedUpdateManyWithoutAccountNestedInput
|
|
639
|
+
}
|
|
640
|
+
|
|
641
|
+
export type AccountCreateWithoutGithubEnterpriseAppsInput = {
|
|
642
|
+
id?: string
|
|
643
|
+
name: string
|
|
644
|
+
status?: string
|
|
645
|
+
maxAgents?: number
|
|
646
|
+
plan?: string | null
|
|
647
|
+
trialExpiresAt?: Date | string | null
|
|
648
|
+
trialExpiryWarnedAt?: Date | string | null
|
|
649
|
+
createdAt?: Date | string
|
|
650
|
+
updatedAt?: Date | string
|
|
651
|
+
agents?: Prisma.AgentCreateNestedManyWithoutAccountInput
|
|
652
|
+
members?: Prisma.AccountMemberCreateNestedManyWithoutAccountInput
|
|
653
|
+
invites?: Prisma.AccountInviteCreateNestedManyWithoutAccountInput
|
|
654
|
+
templates?: Prisma.AgentTemplateCreateNestedManyWithoutAccountInput
|
|
655
|
+
}
|
|
656
|
+
|
|
657
|
+
export type AccountUncheckedCreateWithoutGithubEnterpriseAppsInput = {
|
|
658
|
+
id?: string
|
|
659
|
+
name: string
|
|
660
|
+
status?: string
|
|
661
|
+
maxAgents?: number
|
|
662
|
+
plan?: string | null
|
|
663
|
+
trialExpiresAt?: Date | string | null
|
|
664
|
+
trialExpiryWarnedAt?: Date | string | null
|
|
665
|
+
createdAt?: Date | string
|
|
666
|
+
updatedAt?: Date | string
|
|
667
|
+
agents?: Prisma.AgentUncheckedCreateNestedManyWithoutAccountInput
|
|
668
|
+
members?: Prisma.AccountMemberUncheckedCreateNestedManyWithoutAccountInput
|
|
669
|
+
invites?: Prisma.AccountInviteUncheckedCreateNestedManyWithoutAccountInput
|
|
670
|
+
templates?: Prisma.AgentTemplateUncheckedCreateNestedManyWithoutAccountInput
|
|
671
|
+
}
|
|
672
|
+
|
|
673
|
+
export type AccountCreateOrConnectWithoutGithubEnterpriseAppsInput = {
|
|
674
|
+
where: Prisma.AccountWhereUniqueInput
|
|
675
|
+
create: Prisma.XOR<Prisma.AccountCreateWithoutGithubEnterpriseAppsInput, Prisma.AccountUncheckedCreateWithoutGithubEnterpriseAppsInput>
|
|
676
|
+
}
|
|
677
|
+
|
|
678
|
+
export type AccountUpsertWithoutGithubEnterpriseAppsInput = {
|
|
679
|
+
update: Prisma.XOR<Prisma.AccountUpdateWithoutGithubEnterpriseAppsInput, Prisma.AccountUncheckedUpdateWithoutGithubEnterpriseAppsInput>
|
|
680
|
+
create: Prisma.XOR<Prisma.AccountCreateWithoutGithubEnterpriseAppsInput, Prisma.AccountUncheckedCreateWithoutGithubEnterpriseAppsInput>
|
|
681
|
+
where?: Prisma.AccountWhereInput
|
|
682
|
+
}
|
|
683
|
+
|
|
684
|
+
export type AccountUpdateToOneWithWhereWithoutGithubEnterpriseAppsInput = {
|
|
685
|
+
where?: Prisma.AccountWhereInput
|
|
686
|
+
data: Prisma.XOR<Prisma.AccountUpdateWithoutGithubEnterpriseAppsInput, Prisma.AccountUncheckedUpdateWithoutGithubEnterpriseAppsInput>
|
|
687
|
+
}
|
|
688
|
+
|
|
689
|
+
export type AccountUpdateWithoutGithubEnterpriseAppsInput = {
|
|
690
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
691
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
692
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
693
|
+
maxAgents?: Prisma.IntFieldUpdateOperationsInput | number
|
|
694
|
+
plan?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
695
|
+
trialExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
696
|
+
trialExpiryWarnedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
697
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
698
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
699
|
+
agents?: Prisma.AgentUpdateManyWithoutAccountNestedInput
|
|
700
|
+
members?: Prisma.AccountMemberUpdateManyWithoutAccountNestedInput
|
|
701
|
+
invites?: Prisma.AccountInviteUpdateManyWithoutAccountNestedInput
|
|
702
|
+
templates?: Prisma.AgentTemplateUpdateManyWithoutAccountNestedInput
|
|
703
|
+
}
|
|
704
|
+
|
|
705
|
+
export type AccountUncheckedUpdateWithoutGithubEnterpriseAppsInput = {
|
|
706
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
707
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
708
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
709
|
+
maxAgents?: Prisma.IntFieldUpdateOperationsInput | number
|
|
710
|
+
plan?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
711
|
+
trialExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
712
|
+
trialExpiryWarnedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
713
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
714
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
715
|
+
agents?: Prisma.AgentUncheckedUpdateManyWithoutAccountNestedInput
|
|
716
|
+
members?: Prisma.AccountMemberUncheckedUpdateManyWithoutAccountNestedInput
|
|
717
|
+
invites?: Prisma.AccountInviteUncheckedUpdateManyWithoutAccountNestedInput
|
|
718
|
+
templates?: Prisma.AgentTemplateUncheckedUpdateManyWithoutAccountNestedInput
|
|
612
719
|
}
|
|
613
720
|
|
|
614
721
|
export type AccountCreateWithoutTemplatesInput = {
|
|
@@ -624,6 +731,7 @@ export type AccountCreateWithoutTemplatesInput = {
|
|
|
624
731
|
agents?: Prisma.AgentCreateNestedManyWithoutAccountInput
|
|
625
732
|
members?: Prisma.AccountMemberCreateNestedManyWithoutAccountInput
|
|
626
733
|
invites?: Prisma.AccountInviteCreateNestedManyWithoutAccountInput
|
|
734
|
+
githubEnterpriseApps?: Prisma.GitHubEnterpriseAppCreateNestedManyWithoutAccountInput
|
|
627
735
|
}
|
|
628
736
|
|
|
629
737
|
export type AccountUncheckedCreateWithoutTemplatesInput = {
|
|
@@ -639,6 +747,7 @@ export type AccountUncheckedCreateWithoutTemplatesInput = {
|
|
|
639
747
|
agents?: Prisma.AgentUncheckedCreateNestedManyWithoutAccountInput
|
|
640
748
|
members?: Prisma.AccountMemberUncheckedCreateNestedManyWithoutAccountInput
|
|
641
749
|
invites?: Prisma.AccountInviteUncheckedCreateNestedManyWithoutAccountInput
|
|
750
|
+
githubEnterpriseApps?: Prisma.GitHubEnterpriseAppUncheckedCreateNestedManyWithoutAccountInput
|
|
642
751
|
}
|
|
643
752
|
|
|
644
753
|
export type AccountCreateOrConnectWithoutTemplatesInput = {
|
|
@@ -670,6 +779,7 @@ export type AccountUpdateWithoutTemplatesInput = {
|
|
|
670
779
|
agents?: Prisma.AgentUpdateManyWithoutAccountNestedInput
|
|
671
780
|
members?: Prisma.AccountMemberUpdateManyWithoutAccountNestedInput
|
|
672
781
|
invites?: Prisma.AccountInviteUpdateManyWithoutAccountNestedInput
|
|
782
|
+
githubEnterpriseApps?: Prisma.GitHubEnterpriseAppUpdateManyWithoutAccountNestedInput
|
|
673
783
|
}
|
|
674
784
|
|
|
675
785
|
export type AccountUncheckedUpdateWithoutTemplatesInput = {
|
|
@@ -685,6 +795,7 @@ export type AccountUncheckedUpdateWithoutTemplatesInput = {
|
|
|
685
795
|
agents?: Prisma.AgentUncheckedUpdateManyWithoutAccountNestedInput
|
|
686
796
|
members?: Prisma.AccountMemberUncheckedUpdateManyWithoutAccountNestedInput
|
|
687
797
|
invites?: Prisma.AccountInviteUncheckedUpdateManyWithoutAccountNestedInput
|
|
798
|
+
githubEnterpriseApps?: Prisma.GitHubEnterpriseAppUncheckedUpdateManyWithoutAccountNestedInput
|
|
688
799
|
}
|
|
689
800
|
|
|
690
801
|
export type AccountCreateWithoutMembersInput = {
|
|
@@ -700,6 +811,7 @@ export type AccountCreateWithoutMembersInput = {
|
|
|
700
811
|
agents?: Prisma.AgentCreateNestedManyWithoutAccountInput
|
|
701
812
|
invites?: Prisma.AccountInviteCreateNestedManyWithoutAccountInput
|
|
702
813
|
templates?: Prisma.AgentTemplateCreateNestedManyWithoutAccountInput
|
|
814
|
+
githubEnterpriseApps?: Prisma.GitHubEnterpriseAppCreateNestedManyWithoutAccountInput
|
|
703
815
|
}
|
|
704
816
|
|
|
705
817
|
export type AccountUncheckedCreateWithoutMembersInput = {
|
|
@@ -715,6 +827,7 @@ export type AccountUncheckedCreateWithoutMembersInput = {
|
|
|
715
827
|
agents?: Prisma.AgentUncheckedCreateNestedManyWithoutAccountInput
|
|
716
828
|
invites?: Prisma.AccountInviteUncheckedCreateNestedManyWithoutAccountInput
|
|
717
829
|
templates?: Prisma.AgentTemplateUncheckedCreateNestedManyWithoutAccountInput
|
|
830
|
+
githubEnterpriseApps?: Prisma.GitHubEnterpriseAppUncheckedCreateNestedManyWithoutAccountInput
|
|
718
831
|
}
|
|
719
832
|
|
|
720
833
|
export type AccountCreateOrConnectWithoutMembersInput = {
|
|
@@ -746,6 +859,7 @@ export type AccountUpdateWithoutMembersInput = {
|
|
|
746
859
|
agents?: Prisma.AgentUpdateManyWithoutAccountNestedInput
|
|
747
860
|
invites?: Prisma.AccountInviteUpdateManyWithoutAccountNestedInput
|
|
748
861
|
templates?: Prisma.AgentTemplateUpdateManyWithoutAccountNestedInput
|
|
862
|
+
githubEnterpriseApps?: Prisma.GitHubEnterpriseAppUpdateManyWithoutAccountNestedInput
|
|
749
863
|
}
|
|
750
864
|
|
|
751
865
|
export type AccountUncheckedUpdateWithoutMembersInput = {
|
|
@@ -761,6 +875,7 @@ export type AccountUncheckedUpdateWithoutMembersInput = {
|
|
|
761
875
|
agents?: Prisma.AgentUncheckedUpdateManyWithoutAccountNestedInput
|
|
762
876
|
invites?: Prisma.AccountInviteUncheckedUpdateManyWithoutAccountNestedInput
|
|
763
877
|
templates?: Prisma.AgentTemplateUncheckedUpdateManyWithoutAccountNestedInput
|
|
878
|
+
githubEnterpriseApps?: Prisma.GitHubEnterpriseAppUncheckedUpdateManyWithoutAccountNestedInput
|
|
764
879
|
}
|
|
765
880
|
|
|
766
881
|
export type AccountCreateWithoutInvitesInput = {
|
|
@@ -776,6 +891,7 @@ export type AccountCreateWithoutInvitesInput = {
|
|
|
776
891
|
agents?: Prisma.AgentCreateNestedManyWithoutAccountInput
|
|
777
892
|
members?: Prisma.AccountMemberCreateNestedManyWithoutAccountInput
|
|
778
893
|
templates?: Prisma.AgentTemplateCreateNestedManyWithoutAccountInput
|
|
894
|
+
githubEnterpriseApps?: Prisma.GitHubEnterpriseAppCreateNestedManyWithoutAccountInput
|
|
779
895
|
}
|
|
780
896
|
|
|
781
897
|
export type AccountUncheckedCreateWithoutInvitesInput = {
|
|
@@ -791,6 +907,7 @@ export type AccountUncheckedCreateWithoutInvitesInput = {
|
|
|
791
907
|
agents?: Prisma.AgentUncheckedCreateNestedManyWithoutAccountInput
|
|
792
908
|
members?: Prisma.AccountMemberUncheckedCreateNestedManyWithoutAccountInput
|
|
793
909
|
templates?: Prisma.AgentTemplateUncheckedCreateNestedManyWithoutAccountInput
|
|
910
|
+
githubEnterpriseApps?: Prisma.GitHubEnterpriseAppUncheckedCreateNestedManyWithoutAccountInput
|
|
794
911
|
}
|
|
795
912
|
|
|
796
913
|
export type AccountCreateOrConnectWithoutInvitesInput = {
|
|
@@ -822,6 +939,7 @@ export type AccountUpdateWithoutInvitesInput = {
|
|
|
822
939
|
agents?: Prisma.AgentUpdateManyWithoutAccountNestedInput
|
|
823
940
|
members?: Prisma.AccountMemberUpdateManyWithoutAccountNestedInput
|
|
824
941
|
templates?: Prisma.AgentTemplateUpdateManyWithoutAccountNestedInput
|
|
942
|
+
githubEnterpriseApps?: Prisma.GitHubEnterpriseAppUpdateManyWithoutAccountNestedInput
|
|
825
943
|
}
|
|
826
944
|
|
|
827
945
|
export type AccountUncheckedUpdateWithoutInvitesInput = {
|
|
@@ -837,6 +955,7 @@ export type AccountUncheckedUpdateWithoutInvitesInput = {
|
|
|
837
955
|
agents?: Prisma.AgentUncheckedUpdateManyWithoutAccountNestedInput
|
|
838
956
|
members?: Prisma.AccountMemberUncheckedUpdateManyWithoutAccountNestedInput
|
|
839
957
|
templates?: Prisma.AgentTemplateUncheckedUpdateManyWithoutAccountNestedInput
|
|
958
|
+
githubEnterpriseApps?: Prisma.GitHubEnterpriseAppUncheckedUpdateManyWithoutAccountNestedInput
|
|
840
959
|
}
|
|
841
960
|
|
|
842
961
|
|
|
@@ -849,6 +968,7 @@ export type AccountCountOutputType = {
|
|
|
849
968
|
members: number
|
|
850
969
|
invites: number
|
|
851
970
|
templates: number
|
|
971
|
+
githubEnterpriseApps: number
|
|
852
972
|
}
|
|
853
973
|
|
|
854
974
|
export type AccountCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
@@ -856,6 +976,7 @@ export type AccountCountOutputTypeSelect<ExtArgs extends runtime.Types.Extension
|
|
|
856
976
|
members?: boolean | AccountCountOutputTypeCountMembersArgs
|
|
857
977
|
invites?: boolean | AccountCountOutputTypeCountInvitesArgs
|
|
858
978
|
templates?: boolean | AccountCountOutputTypeCountTemplatesArgs
|
|
979
|
+
githubEnterpriseApps?: boolean | AccountCountOutputTypeCountGithubEnterpriseAppsArgs
|
|
859
980
|
}
|
|
860
981
|
|
|
861
982
|
/**
|
|
@@ -896,6 +1017,13 @@ export type AccountCountOutputTypeCountTemplatesArgs<ExtArgs extends runtime.Typ
|
|
|
896
1017
|
where?: Prisma.AgentTemplateWhereInput
|
|
897
1018
|
}
|
|
898
1019
|
|
|
1020
|
+
/**
|
|
1021
|
+
* AccountCountOutputType without action
|
|
1022
|
+
*/
|
|
1023
|
+
export type AccountCountOutputTypeCountGithubEnterpriseAppsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1024
|
+
where?: Prisma.GitHubEnterpriseAppWhereInput
|
|
1025
|
+
}
|
|
1026
|
+
|
|
899
1027
|
|
|
900
1028
|
export type AccountSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
901
1029
|
id?: boolean
|
|
@@ -911,6 +1039,7 @@ export type AccountSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs
|
|
|
911
1039
|
members?: boolean | Prisma.Account$membersArgs<ExtArgs>
|
|
912
1040
|
invites?: boolean | Prisma.Account$invitesArgs<ExtArgs>
|
|
913
1041
|
templates?: boolean | Prisma.Account$templatesArgs<ExtArgs>
|
|
1042
|
+
githubEnterpriseApps?: boolean | Prisma.Account$githubEnterpriseAppsArgs<ExtArgs>
|
|
914
1043
|
_count?: boolean | Prisma.AccountCountOutputTypeDefaultArgs<ExtArgs>
|
|
915
1044
|
}, ExtArgs["result"]["account"]>
|
|
916
1045
|
|
|
@@ -956,6 +1085,7 @@ export type AccountInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs
|
|
|
956
1085
|
members?: boolean | Prisma.Account$membersArgs<ExtArgs>
|
|
957
1086
|
invites?: boolean | Prisma.Account$invitesArgs<ExtArgs>
|
|
958
1087
|
templates?: boolean | Prisma.Account$templatesArgs<ExtArgs>
|
|
1088
|
+
githubEnterpriseApps?: boolean | Prisma.Account$githubEnterpriseAppsArgs<ExtArgs>
|
|
959
1089
|
_count?: boolean | Prisma.AccountCountOutputTypeDefaultArgs<ExtArgs>
|
|
960
1090
|
}
|
|
961
1091
|
export type AccountIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {}
|
|
@@ -968,6 +1098,7 @@ export type $AccountPayload<ExtArgs extends runtime.Types.Extensions.InternalArg
|
|
|
968
1098
|
members: Prisma.$AccountMemberPayload<ExtArgs>[]
|
|
969
1099
|
invites: Prisma.$AccountInvitePayload<ExtArgs>[]
|
|
970
1100
|
templates: Prisma.$AgentTemplatePayload<ExtArgs>[]
|
|
1101
|
+
githubEnterpriseApps: Prisma.$GitHubEnterpriseAppPayload<ExtArgs>[]
|
|
971
1102
|
}
|
|
972
1103
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
973
1104
|
id: string
|
|
@@ -1377,6 +1508,7 @@ export interface Prisma__AccountClient<T, Null = never, ExtArgs extends runtime.
|
|
|
1377
1508
|
members<T extends Prisma.Account$membersArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Account$membersArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AccountMemberPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
1378
1509
|
invites<T extends Prisma.Account$invitesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Account$invitesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AccountInvitePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
1379
1510
|
templates<T extends Prisma.Account$templatesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Account$templatesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AgentTemplatePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
1511
|
+
githubEnterpriseApps<T extends Prisma.Account$githubEnterpriseAppsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Account$githubEnterpriseAppsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$GitHubEnterpriseAppPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
1380
1512
|
/**
|
|
1381
1513
|
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
1382
1514
|
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
@@ -1903,6 +2035,30 @@ export type Account$templatesArgs<ExtArgs extends runtime.Types.Extensions.Inter
|
|
|
1903
2035
|
distinct?: Prisma.AgentTemplateScalarFieldEnum | Prisma.AgentTemplateScalarFieldEnum[]
|
|
1904
2036
|
}
|
|
1905
2037
|
|
|
2038
|
+
/**
|
|
2039
|
+
* Account.githubEnterpriseApps
|
|
2040
|
+
*/
|
|
2041
|
+
export type Account$githubEnterpriseAppsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2042
|
+
/**
|
|
2043
|
+
* Select specific fields to fetch from the GitHubEnterpriseApp
|
|
2044
|
+
*/
|
|
2045
|
+
select?: Prisma.GitHubEnterpriseAppSelect<ExtArgs> | null
|
|
2046
|
+
/**
|
|
2047
|
+
* Omit specific fields from the GitHubEnterpriseApp
|
|
2048
|
+
*/
|
|
2049
|
+
omit?: Prisma.GitHubEnterpriseAppOmit<ExtArgs> | null
|
|
2050
|
+
/**
|
|
2051
|
+
* Choose, which related nodes to fetch as well
|
|
2052
|
+
*/
|
|
2053
|
+
include?: Prisma.GitHubEnterpriseAppInclude<ExtArgs> | null
|
|
2054
|
+
where?: Prisma.GitHubEnterpriseAppWhereInput
|
|
2055
|
+
orderBy?: Prisma.GitHubEnterpriseAppOrderByWithRelationInput | Prisma.GitHubEnterpriseAppOrderByWithRelationInput[]
|
|
2056
|
+
cursor?: Prisma.GitHubEnterpriseAppWhereUniqueInput
|
|
2057
|
+
take?: number
|
|
2058
|
+
skip?: number
|
|
2059
|
+
distinct?: Prisma.GitHubEnterpriseAppScalarFieldEnum | Prisma.GitHubEnterpriseAppScalarFieldEnum[]
|
|
2060
|
+
}
|
|
2061
|
+
|
|
1906
2062
|
/**
|
|
1907
2063
|
* Account without action
|
|
1908
2064
|
*/
|