@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.
@@ -412,6 +412,7 @@ export const ModelName = {
412
412
  Account: 'Account',
413
413
  AgentTemplate: 'AgentTemplate',
414
414
  AgentTemplateItem: 'AgentTemplateItem',
415
+ SlackConfigToken: 'SlackConfigToken',
415
416
  AccountMember: 'AccountMember',
416
417
  AccountInvite: 'AccountInvite',
417
418
  AgentCronRun: 'AgentCronRun',
@@ -443,7 +444,7 @@ export type TypeMap<ExtArgs extends runtime.Types.Extensions.InternalArgs = runt
443
444
  omit: GlobalOmitOptions
444
445
  }
445
446
  meta: {
446
- modelProps: "agentWorkQueueSnapshot" | "agentPhaseMethodology" | "sessionFollow" | "sessionAlertState" | "agent" | "agentEnv" | "gitHubEnterpriseApp" | "agentCronJob" | "agentTool" | "agentToken" | "agentPlugin" | "agentMember" | "account" | "agentTemplate" | "agentTemplateItem" | "accountMember" | "accountInvite" | "agentCronRun" | "agentCronRunSkillUsage" | "agentCronRunModelBreakdown" | "agentChatTokenUsageDailyByModel" | "agentAsk" | "agentCronRunRequest" | "agentCronRunTranscript" | "agentTranscriptRead" | "agentGitHubInstallationsSnapshot" | "pushSubscription" | "chatThreadWatch" | "userNotificationPrefs" | "agentMarketplace" | "gitHubReconcileAudit"
447
+ modelProps: "agentWorkQueueSnapshot" | "agentPhaseMethodology" | "sessionFollow" | "sessionAlertState" | "agent" | "agentEnv" | "gitHubEnterpriseApp" | "agentCronJob" | "agentTool" | "agentToken" | "agentPlugin" | "agentMember" | "account" | "agentTemplate" | "agentTemplateItem" | "slackConfigToken" | "accountMember" | "accountInvite" | "agentCronRun" | "agentCronRunSkillUsage" | "agentCronRunModelBreakdown" | "agentChatTokenUsageDailyByModel" | "agentAsk" | "agentCronRunRequest" | "agentCronRunTranscript" | "agentTranscriptRead" | "agentGitHubInstallationsSnapshot" | "pushSubscription" | "chatThreadWatch" | "userNotificationPrefs" | "agentMarketplace" | "gitHubReconcileAudit"
447
448
  txIsolationLevel: TransactionIsolationLevel
448
449
  }
449
450
  model: {
@@ -1557,6 +1558,80 @@ export type TypeMap<ExtArgs extends runtime.Types.Extensions.InternalArgs = runt
1557
1558
  }
1558
1559
  }
1559
1560
  }
1561
+ SlackConfigToken: {
1562
+ payload: Prisma.$SlackConfigTokenPayload<ExtArgs>
1563
+ fields: Prisma.SlackConfigTokenFieldRefs
1564
+ operations: {
1565
+ findUnique: {
1566
+ args: Prisma.SlackConfigTokenFindUniqueArgs<ExtArgs>
1567
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$SlackConfigTokenPayload> | null
1568
+ }
1569
+ findUniqueOrThrow: {
1570
+ args: Prisma.SlackConfigTokenFindUniqueOrThrowArgs<ExtArgs>
1571
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$SlackConfigTokenPayload>
1572
+ }
1573
+ findFirst: {
1574
+ args: Prisma.SlackConfigTokenFindFirstArgs<ExtArgs>
1575
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$SlackConfigTokenPayload> | null
1576
+ }
1577
+ findFirstOrThrow: {
1578
+ args: Prisma.SlackConfigTokenFindFirstOrThrowArgs<ExtArgs>
1579
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$SlackConfigTokenPayload>
1580
+ }
1581
+ findMany: {
1582
+ args: Prisma.SlackConfigTokenFindManyArgs<ExtArgs>
1583
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$SlackConfigTokenPayload>[]
1584
+ }
1585
+ create: {
1586
+ args: Prisma.SlackConfigTokenCreateArgs<ExtArgs>
1587
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$SlackConfigTokenPayload>
1588
+ }
1589
+ createMany: {
1590
+ args: Prisma.SlackConfigTokenCreateManyArgs<ExtArgs>
1591
+ result: BatchPayload
1592
+ }
1593
+ createManyAndReturn: {
1594
+ args: Prisma.SlackConfigTokenCreateManyAndReturnArgs<ExtArgs>
1595
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$SlackConfigTokenPayload>[]
1596
+ }
1597
+ delete: {
1598
+ args: Prisma.SlackConfigTokenDeleteArgs<ExtArgs>
1599
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$SlackConfigTokenPayload>
1600
+ }
1601
+ update: {
1602
+ args: Prisma.SlackConfigTokenUpdateArgs<ExtArgs>
1603
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$SlackConfigTokenPayload>
1604
+ }
1605
+ deleteMany: {
1606
+ args: Prisma.SlackConfigTokenDeleteManyArgs<ExtArgs>
1607
+ result: BatchPayload
1608
+ }
1609
+ updateMany: {
1610
+ args: Prisma.SlackConfigTokenUpdateManyArgs<ExtArgs>
1611
+ result: BatchPayload
1612
+ }
1613
+ updateManyAndReturn: {
1614
+ args: Prisma.SlackConfigTokenUpdateManyAndReturnArgs<ExtArgs>
1615
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$SlackConfigTokenPayload>[]
1616
+ }
1617
+ upsert: {
1618
+ args: Prisma.SlackConfigTokenUpsertArgs<ExtArgs>
1619
+ result: runtime.Types.Utils.PayloadToResult<Prisma.$SlackConfigTokenPayload>
1620
+ }
1621
+ aggregate: {
1622
+ args: Prisma.SlackConfigTokenAggregateArgs<ExtArgs>
1623
+ result: runtime.Types.Utils.Optional<Prisma.AggregateSlackConfigToken>
1624
+ }
1625
+ groupBy: {
1626
+ args: Prisma.SlackConfigTokenGroupByArgs<ExtArgs>
1627
+ result: runtime.Types.Utils.Optional<Prisma.SlackConfigTokenGroupByOutputType>[]
1628
+ }
1629
+ count: {
1630
+ args: Prisma.SlackConfigTokenCountArgs<ExtArgs>
1631
+ result: runtime.Types.Utils.Optional<Prisma.SlackConfigTokenCountAggregateOutputType> | number
1632
+ }
1633
+ }
1634
+ }
1560
1635
  AccountMember: {
1561
1636
  payload: Prisma.$AccountMemberPayload<ExtArgs>
1562
1637
  fields: Prisma.AccountMemberFieldRefs
@@ -3008,6 +3083,23 @@ export const AgentTemplateItemScalarFieldEnum = {
3008
3083
  export type AgentTemplateItemScalarFieldEnum = (typeof AgentTemplateItemScalarFieldEnum)[keyof typeof AgentTemplateItemScalarFieldEnum]
3009
3084
 
3010
3085
 
3086
+ export const SlackConfigTokenScalarFieldEnum = {
3087
+ id: 'id',
3088
+ accountId: 'accountId',
3089
+ refreshTokenEncrypted: 'refreshTokenEncrypted',
3090
+ accessTokenEncrypted: 'accessTokenEncrypted',
3091
+ accessTokenExpiresAt: 'accessTokenExpiresAt',
3092
+ slackTeamId: 'slackTeamId',
3093
+ slackUserId: 'slackUserId',
3094
+ lastRotatedAt: 'lastRotatedAt',
3095
+ lastError: 'lastError',
3096
+ createdAt: 'createdAt',
3097
+ updatedAt: 'updatedAt'
3098
+ } as const
3099
+
3100
+ export type SlackConfigTokenScalarFieldEnum = (typeof SlackConfigTokenScalarFieldEnum)[keyof typeof SlackConfigTokenScalarFieldEnum]
3101
+
3102
+
3011
3103
  export const AccountMemberScalarFieldEnum = {
3012
3104
  id: 'id',
3013
3105
  accountId: 'accountId',
@@ -3558,6 +3650,7 @@ export type GlobalOmitConfig = {
3558
3650
  account?: Prisma.AccountOmit
3559
3651
  agentTemplate?: Prisma.AgentTemplateOmit
3560
3652
  agentTemplateItem?: Prisma.AgentTemplateItemOmit
3653
+ slackConfigToken?: Prisma.SlackConfigTokenOmit
3561
3654
  accountMember?: Prisma.AccountMemberOmit
3562
3655
  accountInvite?: Prisma.AccountInviteOmit
3563
3656
  agentCronRun?: Prisma.AgentCronRunOmit
@@ -66,6 +66,7 @@ export const ModelName = {
66
66
  Account: 'Account',
67
67
  AgentTemplate: 'AgentTemplate',
68
68
  AgentTemplateItem: 'AgentTemplateItem',
69
+ SlackConfigToken: 'SlackConfigToken',
69
70
  AccountMember: 'AccountMember',
70
71
  AccountInvite: 'AccountInvite',
71
72
  AgentCronRun: 'AgentCronRun',
@@ -328,6 +329,23 @@ export const AgentTemplateItemScalarFieldEnum = {
328
329
  export type AgentTemplateItemScalarFieldEnum = (typeof AgentTemplateItemScalarFieldEnum)[keyof typeof AgentTemplateItemScalarFieldEnum]
329
330
 
330
331
 
332
+ export const SlackConfigTokenScalarFieldEnum = {
333
+ id: 'id',
334
+ accountId: 'accountId',
335
+ refreshTokenEncrypted: 'refreshTokenEncrypted',
336
+ accessTokenEncrypted: 'accessTokenEncrypted',
337
+ accessTokenExpiresAt: 'accessTokenExpiresAt',
338
+ slackTeamId: 'slackTeamId',
339
+ slackUserId: 'slackUserId',
340
+ lastRotatedAt: 'lastRotatedAt',
341
+ lastError: 'lastError',
342
+ createdAt: 'createdAt',
343
+ updatedAt: 'updatedAt'
344
+ } as const
345
+
346
+ export type SlackConfigTokenScalarFieldEnum = (typeof SlackConfigTokenScalarFieldEnum)[keyof typeof SlackConfigTokenScalarFieldEnum]
347
+
348
+
331
349
  export const AccountMemberScalarFieldEnum = {
332
350
  id: 'id',
333
351
  accountId: 'accountId',
@@ -253,6 +253,7 @@ export type AccountWhereInput = {
253
253
  invites?: Prisma.AccountInviteListRelationFilter
254
254
  templates?: Prisma.AgentTemplateListRelationFilter
255
255
  githubEnterpriseApps?: Prisma.GitHubEnterpriseAppListRelationFilter
256
+ slackConfigTokens?: Prisma.SlackConfigTokenListRelationFilter
256
257
  }
257
258
 
258
259
  export type AccountOrderByWithRelationInput = {
@@ -270,6 +271,7 @@ export type AccountOrderByWithRelationInput = {
270
271
  invites?: Prisma.AccountInviteOrderByRelationAggregateInput
271
272
  templates?: Prisma.AgentTemplateOrderByRelationAggregateInput
272
273
  githubEnterpriseApps?: Prisma.GitHubEnterpriseAppOrderByRelationAggregateInput
274
+ slackConfigTokens?: Prisma.SlackConfigTokenOrderByRelationAggregateInput
273
275
  }
274
276
 
275
277
  export type AccountWhereUniqueInput = Prisma.AtLeast<{
@@ -290,6 +292,7 @@ export type AccountWhereUniqueInput = Prisma.AtLeast<{
290
292
  invites?: Prisma.AccountInviteListRelationFilter
291
293
  templates?: Prisma.AgentTemplateListRelationFilter
292
294
  githubEnterpriseApps?: Prisma.GitHubEnterpriseAppListRelationFilter
295
+ slackConfigTokens?: Prisma.SlackConfigTokenListRelationFilter
293
296
  }, "id">
294
297
 
295
298
  export type AccountOrderByWithAggregationInput = {
@@ -339,6 +342,7 @@ export type AccountCreateInput = {
339
342
  invites?: Prisma.AccountInviteCreateNestedManyWithoutAccountInput
340
343
  templates?: Prisma.AgentTemplateCreateNestedManyWithoutAccountInput
341
344
  githubEnterpriseApps?: Prisma.GitHubEnterpriseAppCreateNestedManyWithoutAccountInput
345
+ slackConfigTokens?: Prisma.SlackConfigTokenCreateNestedManyWithoutAccountInput
342
346
  }
343
347
 
344
348
  export type AccountUncheckedCreateInput = {
@@ -356,6 +360,7 @@ export type AccountUncheckedCreateInput = {
356
360
  invites?: Prisma.AccountInviteUncheckedCreateNestedManyWithoutAccountInput
357
361
  templates?: Prisma.AgentTemplateUncheckedCreateNestedManyWithoutAccountInput
358
362
  githubEnterpriseApps?: Prisma.GitHubEnterpriseAppUncheckedCreateNestedManyWithoutAccountInput
363
+ slackConfigTokens?: Prisma.SlackConfigTokenUncheckedCreateNestedManyWithoutAccountInput
359
364
  }
360
365
 
361
366
  export type AccountUpdateInput = {
@@ -373,6 +378,7 @@ export type AccountUpdateInput = {
373
378
  invites?: Prisma.AccountInviteUpdateManyWithoutAccountNestedInput
374
379
  templates?: Prisma.AgentTemplateUpdateManyWithoutAccountNestedInput
375
380
  githubEnterpriseApps?: Prisma.GitHubEnterpriseAppUpdateManyWithoutAccountNestedInput
381
+ slackConfigTokens?: Prisma.SlackConfigTokenUpdateManyWithoutAccountNestedInput
376
382
  }
377
383
 
378
384
  export type AccountUncheckedUpdateInput = {
@@ -390,6 +396,7 @@ export type AccountUncheckedUpdateInput = {
390
396
  invites?: Prisma.AccountInviteUncheckedUpdateManyWithoutAccountNestedInput
391
397
  templates?: Prisma.AgentTemplateUncheckedUpdateManyWithoutAccountNestedInput
392
398
  githubEnterpriseApps?: Prisma.GitHubEnterpriseAppUncheckedUpdateManyWithoutAccountNestedInput
399
+ slackConfigTokens?: Prisma.SlackConfigTokenUncheckedUpdateManyWithoutAccountNestedInput
393
400
  }
394
401
 
395
402
  export type AccountCreateManyInput = {
@@ -530,6 +537,22 @@ export type AccountUpdateOneWithoutTemplatesNestedInput = {
530
537
  update?: Prisma.XOR<Prisma.XOR<Prisma.AccountUpdateToOneWithWhereWithoutTemplatesInput, Prisma.AccountUpdateWithoutTemplatesInput>, Prisma.AccountUncheckedUpdateWithoutTemplatesInput>
531
538
  }
532
539
 
540
+ export type AccountCreateNestedOneWithoutSlackConfigTokensInput = {
541
+ create?: Prisma.XOR<Prisma.AccountCreateWithoutSlackConfigTokensInput, Prisma.AccountUncheckedCreateWithoutSlackConfigTokensInput>
542
+ connectOrCreate?: Prisma.AccountCreateOrConnectWithoutSlackConfigTokensInput
543
+ connect?: Prisma.AccountWhereUniqueInput
544
+ }
545
+
546
+ export type AccountUpdateOneWithoutSlackConfigTokensNestedInput = {
547
+ create?: Prisma.XOR<Prisma.AccountCreateWithoutSlackConfigTokensInput, Prisma.AccountUncheckedCreateWithoutSlackConfigTokensInput>
548
+ connectOrCreate?: Prisma.AccountCreateOrConnectWithoutSlackConfigTokensInput
549
+ upsert?: Prisma.AccountUpsertWithoutSlackConfigTokensInput
550
+ disconnect?: Prisma.AccountWhereInput | boolean
551
+ delete?: Prisma.AccountWhereInput | boolean
552
+ connect?: Prisma.AccountWhereUniqueInput
553
+ update?: Prisma.XOR<Prisma.XOR<Prisma.AccountUpdateToOneWithWhereWithoutSlackConfigTokensInput, Prisma.AccountUpdateWithoutSlackConfigTokensInput>, Prisma.AccountUncheckedUpdateWithoutSlackConfigTokensInput>
554
+ }
555
+
533
556
  export type AccountCreateNestedOneWithoutMembersInput = {
534
557
  create?: Prisma.XOR<Prisma.AccountCreateWithoutMembersInput, Prisma.AccountUncheckedCreateWithoutMembersInput>
535
558
  connectOrCreate?: Prisma.AccountCreateOrConnectWithoutMembersInput
@@ -572,6 +595,7 @@ export type AccountCreateWithoutAgentsInput = {
572
595
  invites?: Prisma.AccountInviteCreateNestedManyWithoutAccountInput
573
596
  templates?: Prisma.AgentTemplateCreateNestedManyWithoutAccountInput
574
597
  githubEnterpriseApps?: Prisma.GitHubEnterpriseAppCreateNestedManyWithoutAccountInput
598
+ slackConfigTokens?: Prisma.SlackConfigTokenCreateNestedManyWithoutAccountInput
575
599
  }
576
600
 
577
601
  export type AccountUncheckedCreateWithoutAgentsInput = {
@@ -588,6 +612,7 @@ export type AccountUncheckedCreateWithoutAgentsInput = {
588
612
  invites?: Prisma.AccountInviteUncheckedCreateNestedManyWithoutAccountInput
589
613
  templates?: Prisma.AgentTemplateUncheckedCreateNestedManyWithoutAccountInput
590
614
  githubEnterpriseApps?: Prisma.GitHubEnterpriseAppUncheckedCreateNestedManyWithoutAccountInput
615
+ slackConfigTokens?: Prisma.SlackConfigTokenUncheckedCreateNestedManyWithoutAccountInput
591
616
  }
592
617
 
593
618
  export type AccountCreateOrConnectWithoutAgentsInput = {
@@ -620,6 +645,7 @@ export type AccountUpdateWithoutAgentsInput = {
620
645
  invites?: Prisma.AccountInviteUpdateManyWithoutAccountNestedInput
621
646
  templates?: Prisma.AgentTemplateUpdateManyWithoutAccountNestedInput
622
647
  githubEnterpriseApps?: Prisma.GitHubEnterpriseAppUpdateManyWithoutAccountNestedInput
648
+ slackConfigTokens?: Prisma.SlackConfigTokenUpdateManyWithoutAccountNestedInput
623
649
  }
624
650
 
625
651
  export type AccountUncheckedUpdateWithoutAgentsInput = {
@@ -636,6 +662,7 @@ export type AccountUncheckedUpdateWithoutAgentsInput = {
636
662
  invites?: Prisma.AccountInviteUncheckedUpdateManyWithoutAccountNestedInput
637
663
  templates?: Prisma.AgentTemplateUncheckedUpdateManyWithoutAccountNestedInput
638
664
  githubEnterpriseApps?: Prisma.GitHubEnterpriseAppUncheckedUpdateManyWithoutAccountNestedInput
665
+ slackConfigTokens?: Prisma.SlackConfigTokenUncheckedUpdateManyWithoutAccountNestedInput
639
666
  }
640
667
 
641
668
  export type AccountCreateWithoutGithubEnterpriseAppsInput = {
@@ -652,6 +679,7 @@ export type AccountCreateWithoutGithubEnterpriseAppsInput = {
652
679
  members?: Prisma.AccountMemberCreateNestedManyWithoutAccountInput
653
680
  invites?: Prisma.AccountInviteCreateNestedManyWithoutAccountInput
654
681
  templates?: Prisma.AgentTemplateCreateNestedManyWithoutAccountInput
682
+ slackConfigTokens?: Prisma.SlackConfigTokenCreateNestedManyWithoutAccountInput
655
683
  }
656
684
 
657
685
  export type AccountUncheckedCreateWithoutGithubEnterpriseAppsInput = {
@@ -668,6 +696,7 @@ export type AccountUncheckedCreateWithoutGithubEnterpriseAppsInput = {
668
696
  members?: Prisma.AccountMemberUncheckedCreateNestedManyWithoutAccountInput
669
697
  invites?: Prisma.AccountInviteUncheckedCreateNestedManyWithoutAccountInput
670
698
  templates?: Prisma.AgentTemplateUncheckedCreateNestedManyWithoutAccountInput
699
+ slackConfigTokens?: Prisma.SlackConfigTokenUncheckedCreateNestedManyWithoutAccountInput
671
700
  }
672
701
 
673
702
  export type AccountCreateOrConnectWithoutGithubEnterpriseAppsInput = {
@@ -700,6 +729,7 @@ export type AccountUpdateWithoutGithubEnterpriseAppsInput = {
700
729
  members?: Prisma.AccountMemberUpdateManyWithoutAccountNestedInput
701
730
  invites?: Prisma.AccountInviteUpdateManyWithoutAccountNestedInput
702
731
  templates?: Prisma.AgentTemplateUpdateManyWithoutAccountNestedInput
732
+ slackConfigTokens?: Prisma.SlackConfigTokenUpdateManyWithoutAccountNestedInput
703
733
  }
704
734
 
705
735
  export type AccountUncheckedUpdateWithoutGithubEnterpriseAppsInput = {
@@ -716,6 +746,7 @@ export type AccountUncheckedUpdateWithoutGithubEnterpriseAppsInput = {
716
746
  members?: Prisma.AccountMemberUncheckedUpdateManyWithoutAccountNestedInput
717
747
  invites?: Prisma.AccountInviteUncheckedUpdateManyWithoutAccountNestedInput
718
748
  templates?: Prisma.AgentTemplateUncheckedUpdateManyWithoutAccountNestedInput
749
+ slackConfigTokens?: Prisma.SlackConfigTokenUncheckedUpdateManyWithoutAccountNestedInput
719
750
  }
720
751
 
721
752
  export type AccountCreateWithoutTemplatesInput = {
@@ -732,6 +763,7 @@ export type AccountCreateWithoutTemplatesInput = {
732
763
  members?: Prisma.AccountMemberCreateNestedManyWithoutAccountInput
733
764
  invites?: Prisma.AccountInviteCreateNestedManyWithoutAccountInput
734
765
  githubEnterpriseApps?: Prisma.GitHubEnterpriseAppCreateNestedManyWithoutAccountInput
766
+ slackConfigTokens?: Prisma.SlackConfigTokenCreateNestedManyWithoutAccountInput
735
767
  }
736
768
 
737
769
  export type AccountUncheckedCreateWithoutTemplatesInput = {
@@ -748,6 +780,7 @@ export type AccountUncheckedCreateWithoutTemplatesInput = {
748
780
  members?: Prisma.AccountMemberUncheckedCreateNestedManyWithoutAccountInput
749
781
  invites?: Prisma.AccountInviteUncheckedCreateNestedManyWithoutAccountInput
750
782
  githubEnterpriseApps?: Prisma.GitHubEnterpriseAppUncheckedCreateNestedManyWithoutAccountInput
783
+ slackConfigTokens?: Prisma.SlackConfigTokenUncheckedCreateNestedManyWithoutAccountInput
751
784
  }
752
785
 
753
786
  export type AccountCreateOrConnectWithoutTemplatesInput = {
@@ -780,6 +813,7 @@ export type AccountUpdateWithoutTemplatesInput = {
780
813
  members?: Prisma.AccountMemberUpdateManyWithoutAccountNestedInput
781
814
  invites?: Prisma.AccountInviteUpdateManyWithoutAccountNestedInput
782
815
  githubEnterpriseApps?: Prisma.GitHubEnterpriseAppUpdateManyWithoutAccountNestedInput
816
+ slackConfigTokens?: Prisma.SlackConfigTokenUpdateManyWithoutAccountNestedInput
783
817
  }
784
818
 
785
819
  export type AccountUncheckedUpdateWithoutTemplatesInput = {
@@ -796,6 +830,91 @@ export type AccountUncheckedUpdateWithoutTemplatesInput = {
796
830
  members?: Prisma.AccountMemberUncheckedUpdateManyWithoutAccountNestedInput
797
831
  invites?: Prisma.AccountInviteUncheckedUpdateManyWithoutAccountNestedInput
798
832
  githubEnterpriseApps?: Prisma.GitHubEnterpriseAppUncheckedUpdateManyWithoutAccountNestedInput
833
+ slackConfigTokens?: Prisma.SlackConfigTokenUncheckedUpdateManyWithoutAccountNestedInput
834
+ }
835
+
836
+ export type AccountCreateWithoutSlackConfigTokensInput = {
837
+ id?: string
838
+ name: string
839
+ status?: string
840
+ maxAgents?: number
841
+ plan?: string | null
842
+ trialExpiresAt?: Date | string | null
843
+ trialExpiryWarnedAt?: Date | string | null
844
+ createdAt?: Date | string
845
+ updatedAt?: Date | string
846
+ agents?: Prisma.AgentCreateNestedManyWithoutAccountInput
847
+ members?: Prisma.AccountMemberCreateNestedManyWithoutAccountInput
848
+ invites?: Prisma.AccountInviteCreateNestedManyWithoutAccountInput
849
+ templates?: Prisma.AgentTemplateCreateNestedManyWithoutAccountInput
850
+ githubEnterpriseApps?: Prisma.GitHubEnterpriseAppCreateNestedManyWithoutAccountInput
851
+ }
852
+
853
+ export type AccountUncheckedCreateWithoutSlackConfigTokensInput = {
854
+ id?: string
855
+ name: string
856
+ status?: string
857
+ maxAgents?: number
858
+ plan?: string | null
859
+ trialExpiresAt?: Date | string | null
860
+ trialExpiryWarnedAt?: Date | string | null
861
+ createdAt?: Date | string
862
+ updatedAt?: Date | string
863
+ agents?: Prisma.AgentUncheckedCreateNestedManyWithoutAccountInput
864
+ members?: Prisma.AccountMemberUncheckedCreateNestedManyWithoutAccountInput
865
+ invites?: Prisma.AccountInviteUncheckedCreateNestedManyWithoutAccountInput
866
+ templates?: Prisma.AgentTemplateUncheckedCreateNestedManyWithoutAccountInput
867
+ githubEnterpriseApps?: Prisma.GitHubEnterpriseAppUncheckedCreateNestedManyWithoutAccountInput
868
+ }
869
+
870
+ export type AccountCreateOrConnectWithoutSlackConfigTokensInput = {
871
+ where: Prisma.AccountWhereUniqueInput
872
+ create: Prisma.XOR<Prisma.AccountCreateWithoutSlackConfigTokensInput, Prisma.AccountUncheckedCreateWithoutSlackConfigTokensInput>
873
+ }
874
+
875
+ export type AccountUpsertWithoutSlackConfigTokensInput = {
876
+ update: Prisma.XOR<Prisma.AccountUpdateWithoutSlackConfigTokensInput, Prisma.AccountUncheckedUpdateWithoutSlackConfigTokensInput>
877
+ create: Prisma.XOR<Prisma.AccountCreateWithoutSlackConfigTokensInput, Prisma.AccountUncheckedCreateWithoutSlackConfigTokensInput>
878
+ where?: Prisma.AccountWhereInput
879
+ }
880
+
881
+ export type AccountUpdateToOneWithWhereWithoutSlackConfigTokensInput = {
882
+ where?: Prisma.AccountWhereInput
883
+ data: Prisma.XOR<Prisma.AccountUpdateWithoutSlackConfigTokensInput, Prisma.AccountUncheckedUpdateWithoutSlackConfigTokensInput>
884
+ }
885
+
886
+ export type AccountUpdateWithoutSlackConfigTokensInput = {
887
+ id?: Prisma.StringFieldUpdateOperationsInput | string
888
+ name?: Prisma.StringFieldUpdateOperationsInput | string
889
+ status?: Prisma.StringFieldUpdateOperationsInput | string
890
+ maxAgents?: Prisma.IntFieldUpdateOperationsInput | number
891
+ plan?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
892
+ trialExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
893
+ trialExpiryWarnedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
894
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
895
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
896
+ agents?: Prisma.AgentUpdateManyWithoutAccountNestedInput
897
+ members?: Prisma.AccountMemberUpdateManyWithoutAccountNestedInput
898
+ invites?: Prisma.AccountInviteUpdateManyWithoutAccountNestedInput
899
+ templates?: Prisma.AgentTemplateUpdateManyWithoutAccountNestedInput
900
+ githubEnterpriseApps?: Prisma.GitHubEnterpriseAppUpdateManyWithoutAccountNestedInput
901
+ }
902
+
903
+ export type AccountUncheckedUpdateWithoutSlackConfigTokensInput = {
904
+ id?: Prisma.StringFieldUpdateOperationsInput | string
905
+ name?: Prisma.StringFieldUpdateOperationsInput | string
906
+ status?: Prisma.StringFieldUpdateOperationsInput | string
907
+ maxAgents?: Prisma.IntFieldUpdateOperationsInput | number
908
+ plan?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
909
+ trialExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
910
+ trialExpiryWarnedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
911
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
912
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
913
+ agents?: Prisma.AgentUncheckedUpdateManyWithoutAccountNestedInput
914
+ members?: Prisma.AccountMemberUncheckedUpdateManyWithoutAccountNestedInput
915
+ invites?: Prisma.AccountInviteUncheckedUpdateManyWithoutAccountNestedInput
916
+ templates?: Prisma.AgentTemplateUncheckedUpdateManyWithoutAccountNestedInput
917
+ githubEnterpriseApps?: Prisma.GitHubEnterpriseAppUncheckedUpdateManyWithoutAccountNestedInput
799
918
  }
800
919
 
801
920
  export type AccountCreateWithoutMembersInput = {
@@ -812,6 +931,7 @@ export type AccountCreateWithoutMembersInput = {
812
931
  invites?: Prisma.AccountInviteCreateNestedManyWithoutAccountInput
813
932
  templates?: Prisma.AgentTemplateCreateNestedManyWithoutAccountInput
814
933
  githubEnterpriseApps?: Prisma.GitHubEnterpriseAppCreateNestedManyWithoutAccountInput
934
+ slackConfigTokens?: Prisma.SlackConfigTokenCreateNestedManyWithoutAccountInput
815
935
  }
816
936
 
817
937
  export type AccountUncheckedCreateWithoutMembersInput = {
@@ -828,6 +948,7 @@ export type AccountUncheckedCreateWithoutMembersInput = {
828
948
  invites?: Prisma.AccountInviteUncheckedCreateNestedManyWithoutAccountInput
829
949
  templates?: Prisma.AgentTemplateUncheckedCreateNestedManyWithoutAccountInput
830
950
  githubEnterpriseApps?: Prisma.GitHubEnterpriseAppUncheckedCreateNestedManyWithoutAccountInput
951
+ slackConfigTokens?: Prisma.SlackConfigTokenUncheckedCreateNestedManyWithoutAccountInput
831
952
  }
832
953
 
833
954
  export type AccountCreateOrConnectWithoutMembersInput = {
@@ -860,6 +981,7 @@ export type AccountUpdateWithoutMembersInput = {
860
981
  invites?: Prisma.AccountInviteUpdateManyWithoutAccountNestedInput
861
982
  templates?: Prisma.AgentTemplateUpdateManyWithoutAccountNestedInput
862
983
  githubEnterpriseApps?: Prisma.GitHubEnterpriseAppUpdateManyWithoutAccountNestedInput
984
+ slackConfigTokens?: Prisma.SlackConfigTokenUpdateManyWithoutAccountNestedInput
863
985
  }
864
986
 
865
987
  export type AccountUncheckedUpdateWithoutMembersInput = {
@@ -876,6 +998,7 @@ export type AccountUncheckedUpdateWithoutMembersInput = {
876
998
  invites?: Prisma.AccountInviteUncheckedUpdateManyWithoutAccountNestedInput
877
999
  templates?: Prisma.AgentTemplateUncheckedUpdateManyWithoutAccountNestedInput
878
1000
  githubEnterpriseApps?: Prisma.GitHubEnterpriseAppUncheckedUpdateManyWithoutAccountNestedInput
1001
+ slackConfigTokens?: Prisma.SlackConfigTokenUncheckedUpdateManyWithoutAccountNestedInput
879
1002
  }
880
1003
 
881
1004
  export type AccountCreateWithoutInvitesInput = {
@@ -892,6 +1015,7 @@ export type AccountCreateWithoutInvitesInput = {
892
1015
  members?: Prisma.AccountMemberCreateNestedManyWithoutAccountInput
893
1016
  templates?: Prisma.AgentTemplateCreateNestedManyWithoutAccountInput
894
1017
  githubEnterpriseApps?: Prisma.GitHubEnterpriseAppCreateNestedManyWithoutAccountInput
1018
+ slackConfigTokens?: Prisma.SlackConfigTokenCreateNestedManyWithoutAccountInput
895
1019
  }
896
1020
 
897
1021
  export type AccountUncheckedCreateWithoutInvitesInput = {
@@ -908,6 +1032,7 @@ export type AccountUncheckedCreateWithoutInvitesInput = {
908
1032
  members?: Prisma.AccountMemberUncheckedCreateNestedManyWithoutAccountInput
909
1033
  templates?: Prisma.AgentTemplateUncheckedCreateNestedManyWithoutAccountInput
910
1034
  githubEnterpriseApps?: Prisma.GitHubEnterpriseAppUncheckedCreateNestedManyWithoutAccountInput
1035
+ slackConfigTokens?: Prisma.SlackConfigTokenUncheckedCreateNestedManyWithoutAccountInput
911
1036
  }
912
1037
 
913
1038
  export type AccountCreateOrConnectWithoutInvitesInput = {
@@ -940,6 +1065,7 @@ export type AccountUpdateWithoutInvitesInput = {
940
1065
  members?: Prisma.AccountMemberUpdateManyWithoutAccountNestedInput
941
1066
  templates?: Prisma.AgentTemplateUpdateManyWithoutAccountNestedInput
942
1067
  githubEnterpriseApps?: Prisma.GitHubEnterpriseAppUpdateManyWithoutAccountNestedInput
1068
+ slackConfigTokens?: Prisma.SlackConfigTokenUpdateManyWithoutAccountNestedInput
943
1069
  }
944
1070
 
945
1071
  export type AccountUncheckedUpdateWithoutInvitesInput = {
@@ -956,6 +1082,7 @@ export type AccountUncheckedUpdateWithoutInvitesInput = {
956
1082
  members?: Prisma.AccountMemberUncheckedUpdateManyWithoutAccountNestedInput
957
1083
  templates?: Prisma.AgentTemplateUncheckedUpdateManyWithoutAccountNestedInput
958
1084
  githubEnterpriseApps?: Prisma.GitHubEnterpriseAppUncheckedUpdateManyWithoutAccountNestedInput
1085
+ slackConfigTokens?: Prisma.SlackConfigTokenUncheckedUpdateManyWithoutAccountNestedInput
959
1086
  }
960
1087
 
961
1088
 
@@ -969,6 +1096,7 @@ export type AccountCountOutputType = {
969
1096
  invites: number
970
1097
  templates: number
971
1098
  githubEnterpriseApps: number
1099
+ slackConfigTokens: number
972
1100
  }
973
1101
 
974
1102
  export type AccountCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
@@ -977,6 +1105,7 @@ export type AccountCountOutputTypeSelect<ExtArgs extends runtime.Types.Extension
977
1105
  invites?: boolean | AccountCountOutputTypeCountInvitesArgs
978
1106
  templates?: boolean | AccountCountOutputTypeCountTemplatesArgs
979
1107
  githubEnterpriseApps?: boolean | AccountCountOutputTypeCountGithubEnterpriseAppsArgs
1108
+ slackConfigTokens?: boolean | AccountCountOutputTypeCountSlackConfigTokensArgs
980
1109
  }
981
1110
 
982
1111
  /**
@@ -1024,6 +1153,13 @@ export type AccountCountOutputTypeCountGithubEnterpriseAppsArgs<ExtArgs extends
1024
1153
  where?: Prisma.GitHubEnterpriseAppWhereInput
1025
1154
  }
1026
1155
 
1156
+ /**
1157
+ * AccountCountOutputType without action
1158
+ */
1159
+ export type AccountCountOutputTypeCountSlackConfigTokensArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1160
+ where?: Prisma.SlackConfigTokenWhereInput
1161
+ }
1162
+
1027
1163
 
1028
1164
  export type AccountSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1029
1165
  id?: boolean
@@ -1040,6 +1176,7 @@ export type AccountSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs
1040
1176
  invites?: boolean | Prisma.Account$invitesArgs<ExtArgs>
1041
1177
  templates?: boolean | Prisma.Account$templatesArgs<ExtArgs>
1042
1178
  githubEnterpriseApps?: boolean | Prisma.Account$githubEnterpriseAppsArgs<ExtArgs>
1179
+ slackConfigTokens?: boolean | Prisma.Account$slackConfigTokensArgs<ExtArgs>
1043
1180
  _count?: boolean | Prisma.AccountCountOutputTypeDefaultArgs<ExtArgs>
1044
1181
  }, ExtArgs["result"]["account"]>
1045
1182
 
@@ -1086,6 +1223,7 @@ export type AccountInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs
1086
1223
  invites?: boolean | Prisma.Account$invitesArgs<ExtArgs>
1087
1224
  templates?: boolean | Prisma.Account$templatesArgs<ExtArgs>
1088
1225
  githubEnterpriseApps?: boolean | Prisma.Account$githubEnterpriseAppsArgs<ExtArgs>
1226
+ slackConfigTokens?: boolean | Prisma.Account$slackConfigTokensArgs<ExtArgs>
1089
1227
  _count?: boolean | Prisma.AccountCountOutputTypeDefaultArgs<ExtArgs>
1090
1228
  }
1091
1229
  export type AccountIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {}
@@ -1099,6 +1237,7 @@ export type $AccountPayload<ExtArgs extends runtime.Types.Extensions.InternalArg
1099
1237
  invites: Prisma.$AccountInvitePayload<ExtArgs>[]
1100
1238
  templates: Prisma.$AgentTemplatePayload<ExtArgs>[]
1101
1239
  githubEnterpriseApps: Prisma.$GitHubEnterpriseAppPayload<ExtArgs>[]
1240
+ slackConfigTokens: Prisma.$SlackConfigTokenPayload<ExtArgs>[]
1102
1241
  }
1103
1242
  scalars: runtime.Types.Extensions.GetPayloadResult<{
1104
1243
  id: string
@@ -1509,6 +1648,7 @@ export interface Prisma__AccountClient<T, Null = never, ExtArgs extends runtime.
1509
1648
  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>
1510
1649
  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
1650
  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>
1651
+ slackConfigTokens<T extends Prisma.Account$slackConfigTokensArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Account$slackConfigTokensArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$SlackConfigTokenPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
1512
1652
  /**
1513
1653
  * Attaches callbacks for the resolution and/or rejection of the Promise.
1514
1654
  * @param onfulfilled The callback to execute when the Promise is resolved.
@@ -2059,6 +2199,30 @@ export type Account$githubEnterpriseAppsArgs<ExtArgs extends runtime.Types.Exten
2059
2199
  distinct?: Prisma.GitHubEnterpriseAppScalarFieldEnum | Prisma.GitHubEnterpriseAppScalarFieldEnum[]
2060
2200
  }
2061
2201
 
2202
+ /**
2203
+ * Account.slackConfigTokens
2204
+ */
2205
+ export type Account$slackConfigTokensArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2206
+ /**
2207
+ * Select specific fields to fetch from the SlackConfigToken
2208
+ */
2209
+ select?: Prisma.SlackConfigTokenSelect<ExtArgs> | null
2210
+ /**
2211
+ * Omit specific fields from the SlackConfigToken
2212
+ */
2213
+ omit?: Prisma.SlackConfigTokenOmit<ExtArgs> | null
2214
+ /**
2215
+ * Choose, which related nodes to fetch as well
2216
+ */
2217
+ include?: Prisma.SlackConfigTokenInclude<ExtArgs> | null
2218
+ where?: Prisma.SlackConfigTokenWhereInput
2219
+ orderBy?: Prisma.SlackConfigTokenOrderByWithRelationInput | Prisma.SlackConfigTokenOrderByWithRelationInput[]
2220
+ cursor?: Prisma.SlackConfigTokenWhereUniqueInput
2221
+ take?: number
2222
+ skip?: number
2223
+ distinct?: Prisma.SlackConfigTokenScalarFieldEnum | Prisma.SlackConfigTokenScalarFieldEnum[]
2224
+ }
2225
+
2062
2226
  /**
2063
2227
  * Account without action
2064
2228
  */