@app-vitals/agent-admin 0.7.1 → 0.9.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/e2e/chat-thread-page.e2e.ts +0 -79
- package/openapi.json +14 -1
- package/openapi.platform.json +14 -1
- package/package.json +2 -2
- package/prisma/client/internal/class.ts +4 -4
- package/prisma/client/internal/prismaNamespace.ts +1 -0
- package/prisma/client/internal/prismaNamespaceBrowser.ts +1 -0
- package/prisma/client/models/Agent.ts +76 -1
- package/prisma/migrations/20261029000000_add_agent_specialty/migration.sql +5 -0
- package/prisma/schema/schema.prisma +3 -0
- package/src/admin-ui-pages.ts +94 -151
- package/src/admin-ui-pages.unit.test.ts +85 -221
- package/src/admin-ui.ts +27 -1
- package/src/agent-cron-jobs.ts +6 -4
- package/src/agent-specialty.ts +22 -0
- package/src/agent-specialty.unit.test.ts +43 -0
- package/src/agents-api.smoke.test.ts +1 -0
- package/src/agents-api.ts +6 -1
- package/src/agents.integration.test.ts +90 -0
- package/src/agents.ts +39 -15
- package/src/agents.unit.test.ts +19 -2
- package/src/api.ts +11 -0
- package/src/chat.smoke.test.ts +57 -0
- package/src/http-range.ts +31 -0
- package/src/http-range.unit.test.ts +65 -0
- package/src/openapi-schemas.ts +3 -0
|
@@ -2463,6 +2463,7 @@ export const AgentScalarFieldEnum = {
|
|
|
2463
2463
|
patchAuthorAllowlist: 'patchAuthorAllowlist',
|
|
2464
2464
|
restrictSlackToMembers: 'restrictSlackToMembers',
|
|
2465
2465
|
typeName: 'typeName',
|
|
2466
|
+
specialty: 'specialty',
|
|
2466
2467
|
accountId: 'accountId',
|
|
2467
2468
|
trialExpiresAt: 'trialExpiresAt',
|
|
2468
2469
|
trialExpiryWarnedAt: 'trialExpiryWarnedAt',
|
|
@@ -153,6 +153,7 @@ export const AgentScalarFieldEnum = {
|
|
|
153
153
|
patchAuthorAllowlist: 'patchAuthorAllowlist',
|
|
154
154
|
restrictSlackToMembers: 'restrictSlackToMembers',
|
|
155
155
|
typeName: 'typeName',
|
|
156
|
+
specialty: 'specialty',
|
|
156
157
|
accountId: 'accountId',
|
|
157
158
|
trialExpiresAt: 'trialExpiresAt',
|
|
158
159
|
trialExpiryWarnedAt: 'trialExpiryWarnedAt',
|
|
@@ -47,6 +47,7 @@ export type AgentMinAggregateOutputType = {
|
|
|
47
47
|
selfHosted: boolean | null
|
|
48
48
|
restrictSlackToMembers: boolean | null
|
|
49
49
|
typeName: string | null
|
|
50
|
+
specialty: string | null
|
|
50
51
|
accountId: string | null
|
|
51
52
|
trialExpiresAt: Date | null
|
|
52
53
|
trialExpiryWarnedAt: Date | null
|
|
@@ -75,6 +76,7 @@ export type AgentMaxAggregateOutputType = {
|
|
|
75
76
|
selfHosted: boolean | null
|
|
76
77
|
restrictSlackToMembers: boolean | null
|
|
77
78
|
typeName: string | null
|
|
79
|
+
specialty: string | null
|
|
78
80
|
accountId: string | null
|
|
79
81
|
trialExpiresAt: Date | null
|
|
80
82
|
trialExpiryWarnedAt: Date | null
|
|
@@ -106,6 +108,7 @@ export type AgentCountAggregateOutputType = {
|
|
|
106
108
|
patchAuthorAllowlist: number
|
|
107
109
|
restrictSlackToMembers: number
|
|
108
110
|
typeName: number
|
|
111
|
+
specialty: number
|
|
109
112
|
accountId: number
|
|
110
113
|
trialExpiresAt: number
|
|
111
114
|
trialExpiryWarnedAt: number
|
|
@@ -148,6 +151,7 @@ export type AgentMinAggregateInputType = {
|
|
|
148
151
|
selfHosted?: true
|
|
149
152
|
restrictSlackToMembers?: true
|
|
150
153
|
typeName?: true
|
|
154
|
+
specialty?: true
|
|
151
155
|
accountId?: true
|
|
152
156
|
trialExpiresAt?: true
|
|
153
157
|
trialExpiryWarnedAt?: true
|
|
@@ -176,6 +180,7 @@ export type AgentMaxAggregateInputType = {
|
|
|
176
180
|
selfHosted?: true
|
|
177
181
|
restrictSlackToMembers?: true
|
|
178
182
|
typeName?: true
|
|
183
|
+
specialty?: true
|
|
179
184
|
accountId?: true
|
|
180
185
|
trialExpiresAt?: true
|
|
181
186
|
trialExpiryWarnedAt?: true
|
|
@@ -207,6 +212,7 @@ export type AgentCountAggregateInputType = {
|
|
|
207
212
|
patchAuthorAllowlist?: true
|
|
208
213
|
restrictSlackToMembers?: true
|
|
209
214
|
typeName?: true
|
|
215
|
+
specialty?: true
|
|
210
216
|
accountId?: true
|
|
211
217
|
trialExpiresAt?: true
|
|
212
218
|
trialExpiryWarnedAt?: true
|
|
@@ -325,6 +331,7 @@ export type AgentGroupByOutputType = {
|
|
|
325
331
|
patchAuthorAllowlist: string[]
|
|
326
332
|
restrictSlackToMembers: boolean
|
|
327
333
|
typeName: string
|
|
334
|
+
specialty: string | null
|
|
328
335
|
accountId: string | null
|
|
329
336
|
trialExpiresAt: Date | null
|
|
330
337
|
trialExpiryWarnedAt: Date | null
|
|
@@ -379,6 +386,7 @@ export type AgentWhereInput = {
|
|
|
379
386
|
patchAuthorAllowlist?: Prisma.StringNullableListFilter<"Agent">
|
|
380
387
|
restrictSlackToMembers?: Prisma.BoolFilter<"Agent"> | boolean
|
|
381
388
|
typeName?: Prisma.StringFilter<"Agent"> | string
|
|
389
|
+
specialty?: Prisma.StringNullableFilter<"Agent"> | string | null
|
|
382
390
|
accountId?: Prisma.StringNullableFilter<"Agent"> | string | null
|
|
383
391
|
trialExpiresAt?: Prisma.DateTimeNullableFilter<"Agent"> | Date | string | null
|
|
384
392
|
trialExpiryWarnedAt?: Prisma.DateTimeNullableFilter<"Agent"> | Date | string | null
|
|
@@ -421,6 +429,7 @@ export type AgentOrderByWithRelationInput = {
|
|
|
421
429
|
patchAuthorAllowlist?: Prisma.SortOrder
|
|
422
430
|
restrictSlackToMembers?: Prisma.SortOrder
|
|
423
431
|
typeName?: Prisma.SortOrder
|
|
432
|
+
specialty?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
424
433
|
accountId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
425
434
|
trialExpiresAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
426
435
|
trialExpiryWarnedAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
@@ -467,6 +476,7 @@ export type AgentWhereUniqueInput = Prisma.AtLeast<{
|
|
|
467
476
|
patchAuthorAllowlist?: Prisma.StringNullableListFilter<"Agent">
|
|
468
477
|
restrictSlackToMembers?: Prisma.BoolFilter<"Agent"> | boolean
|
|
469
478
|
typeName?: Prisma.StringFilter<"Agent"> | string
|
|
479
|
+
specialty?: Prisma.StringNullableFilter<"Agent"> | string | null
|
|
470
480
|
accountId?: Prisma.StringNullableFilter<"Agent"> | string | null
|
|
471
481
|
trialExpiresAt?: Prisma.DateTimeNullableFilter<"Agent"> | Date | string | null
|
|
472
482
|
trialExpiryWarnedAt?: Prisma.DateTimeNullableFilter<"Agent"> | Date | string | null
|
|
@@ -508,6 +518,7 @@ export type AgentOrderByWithAggregationInput = {
|
|
|
508
518
|
patchAuthorAllowlist?: Prisma.SortOrder
|
|
509
519
|
restrictSlackToMembers?: Prisma.SortOrder
|
|
510
520
|
typeName?: Prisma.SortOrder
|
|
521
|
+
specialty?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
511
522
|
accountId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
512
523
|
trialExpiresAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
513
524
|
trialExpiryWarnedAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
@@ -547,6 +558,7 @@ export type AgentScalarWhereWithAggregatesInput = {
|
|
|
547
558
|
patchAuthorAllowlist?: Prisma.StringNullableListFilter<"Agent">
|
|
548
559
|
restrictSlackToMembers?: Prisma.BoolWithAggregatesFilter<"Agent"> | boolean
|
|
549
560
|
typeName?: Prisma.StringWithAggregatesFilter<"Agent"> | string
|
|
561
|
+
specialty?: Prisma.StringNullableWithAggregatesFilter<"Agent"> | string | null
|
|
550
562
|
accountId?: Prisma.StringNullableWithAggregatesFilter<"Agent"> | string | null
|
|
551
563
|
trialExpiresAt?: Prisma.DateTimeNullableWithAggregatesFilter<"Agent"> | Date | string | null
|
|
552
564
|
trialExpiryWarnedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"Agent"> | Date | string | null
|
|
@@ -578,6 +590,7 @@ export type AgentCreateInput = {
|
|
|
578
590
|
patchAuthorAllowlist?: Prisma.AgentCreatepatchAuthorAllowlistInput | string[]
|
|
579
591
|
restrictSlackToMembers?: boolean
|
|
580
592
|
typeName?: string
|
|
593
|
+
specialty?: string | null
|
|
581
594
|
trialExpiresAt?: Date | string | null
|
|
582
595
|
trialExpiryWarnedAt?: Date | string | null
|
|
583
596
|
ownerEmail?: string | null
|
|
@@ -619,6 +632,7 @@ export type AgentUncheckedCreateInput = {
|
|
|
619
632
|
patchAuthorAllowlist?: Prisma.AgentCreatepatchAuthorAllowlistInput | string[]
|
|
620
633
|
restrictSlackToMembers?: boolean
|
|
621
634
|
typeName?: string
|
|
635
|
+
specialty?: string | null
|
|
622
636
|
accountId?: string | null
|
|
623
637
|
trialExpiresAt?: Date | string | null
|
|
624
638
|
trialExpiryWarnedAt?: Date | string | null
|
|
@@ -660,6 +674,7 @@ export type AgentUpdateInput = {
|
|
|
660
674
|
patchAuthorAllowlist?: Prisma.AgentUpdatepatchAuthorAllowlistInput | string[]
|
|
661
675
|
restrictSlackToMembers?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
662
676
|
typeName?: Prisma.StringFieldUpdateOperationsInput | string
|
|
677
|
+
specialty?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
663
678
|
trialExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
664
679
|
trialExpiryWarnedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
665
680
|
ownerEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
@@ -701,6 +716,7 @@ export type AgentUncheckedUpdateInput = {
|
|
|
701
716
|
patchAuthorAllowlist?: Prisma.AgentUpdatepatchAuthorAllowlistInput | string[]
|
|
702
717
|
restrictSlackToMembers?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
703
718
|
typeName?: Prisma.StringFieldUpdateOperationsInput | string
|
|
719
|
+
specialty?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
704
720
|
accountId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
705
721
|
trialExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
706
722
|
trialExpiryWarnedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
@@ -742,6 +758,7 @@ export type AgentCreateManyInput = {
|
|
|
742
758
|
patchAuthorAllowlist?: Prisma.AgentCreatepatchAuthorAllowlistInput | string[]
|
|
743
759
|
restrictSlackToMembers?: boolean
|
|
744
760
|
typeName?: string
|
|
761
|
+
specialty?: string | null
|
|
745
762
|
accountId?: string | null
|
|
746
763
|
trialExpiresAt?: Date | string | null
|
|
747
764
|
trialExpiryWarnedAt?: Date | string | null
|
|
@@ -773,6 +790,7 @@ export type AgentUpdateManyMutationInput = {
|
|
|
773
790
|
patchAuthorAllowlist?: Prisma.AgentUpdatepatchAuthorAllowlistInput | string[]
|
|
774
791
|
restrictSlackToMembers?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
775
792
|
typeName?: Prisma.StringFieldUpdateOperationsInput | string
|
|
793
|
+
specialty?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
776
794
|
trialExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
777
795
|
trialExpiryWarnedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
778
796
|
ownerEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
@@ -803,6 +821,7 @@ export type AgentUncheckedUpdateManyInput = {
|
|
|
803
821
|
patchAuthorAllowlist?: Prisma.AgentUpdatepatchAuthorAllowlistInput | string[]
|
|
804
822
|
restrictSlackToMembers?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
805
823
|
typeName?: Prisma.StringFieldUpdateOperationsInput | string
|
|
824
|
+
specialty?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
806
825
|
accountId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
807
826
|
trialExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
808
827
|
trialExpiryWarnedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
@@ -847,6 +866,7 @@ export type AgentCountOrderByAggregateInput = {
|
|
|
847
866
|
patchAuthorAllowlist?: Prisma.SortOrder
|
|
848
867
|
restrictSlackToMembers?: Prisma.SortOrder
|
|
849
868
|
typeName?: Prisma.SortOrder
|
|
869
|
+
specialty?: Prisma.SortOrder
|
|
850
870
|
accountId?: Prisma.SortOrder
|
|
851
871
|
trialExpiresAt?: Prisma.SortOrder
|
|
852
872
|
trialExpiryWarnedAt?: Prisma.SortOrder
|
|
@@ -881,6 +901,7 @@ export type AgentMaxOrderByAggregateInput = {
|
|
|
881
901
|
selfHosted?: Prisma.SortOrder
|
|
882
902
|
restrictSlackToMembers?: Prisma.SortOrder
|
|
883
903
|
typeName?: Prisma.SortOrder
|
|
904
|
+
specialty?: Prisma.SortOrder
|
|
884
905
|
accountId?: Prisma.SortOrder
|
|
885
906
|
trialExpiresAt?: Prisma.SortOrder
|
|
886
907
|
trialExpiryWarnedAt?: Prisma.SortOrder
|
|
@@ -909,6 +930,7 @@ export type AgentMinOrderByAggregateInput = {
|
|
|
909
930
|
selfHosted?: Prisma.SortOrder
|
|
910
931
|
restrictSlackToMembers?: Prisma.SortOrder
|
|
911
932
|
typeName?: Prisma.SortOrder
|
|
933
|
+
specialty?: Prisma.SortOrder
|
|
912
934
|
accountId?: Prisma.SortOrder
|
|
913
935
|
trialExpiresAt?: Prisma.SortOrder
|
|
914
936
|
trialExpiryWarnedAt?: Prisma.SortOrder
|
|
@@ -1173,6 +1195,7 @@ export type AgentCreateWithoutWorkQueueSnapshotInput = {
|
|
|
1173
1195
|
patchAuthorAllowlist?: Prisma.AgentCreatepatchAuthorAllowlistInput | string[]
|
|
1174
1196
|
restrictSlackToMembers?: boolean
|
|
1175
1197
|
typeName?: string
|
|
1198
|
+
specialty?: string | null
|
|
1176
1199
|
trialExpiresAt?: Date | string | null
|
|
1177
1200
|
trialExpiryWarnedAt?: Date | string | null
|
|
1178
1201
|
ownerEmail?: string | null
|
|
@@ -1213,6 +1236,7 @@ export type AgentUncheckedCreateWithoutWorkQueueSnapshotInput = {
|
|
|
1213
1236
|
patchAuthorAllowlist?: Prisma.AgentCreatepatchAuthorAllowlistInput | string[]
|
|
1214
1237
|
restrictSlackToMembers?: boolean
|
|
1215
1238
|
typeName?: string
|
|
1239
|
+
specialty?: string | null
|
|
1216
1240
|
accountId?: string | null
|
|
1217
1241
|
trialExpiresAt?: Date | string | null
|
|
1218
1242
|
trialExpiryWarnedAt?: Date | string | null
|
|
@@ -1269,6 +1293,7 @@ export type AgentUpdateWithoutWorkQueueSnapshotInput = {
|
|
|
1269
1293
|
patchAuthorAllowlist?: Prisma.AgentUpdatepatchAuthorAllowlistInput | string[]
|
|
1270
1294
|
restrictSlackToMembers?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1271
1295
|
typeName?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1296
|
+
specialty?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1272
1297
|
trialExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1273
1298
|
trialExpiryWarnedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1274
1299
|
ownerEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
@@ -1309,6 +1334,7 @@ export type AgentUncheckedUpdateWithoutWorkQueueSnapshotInput = {
|
|
|
1309
1334
|
patchAuthorAllowlist?: Prisma.AgentUpdatepatchAuthorAllowlistInput | string[]
|
|
1310
1335
|
restrictSlackToMembers?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1311
1336
|
typeName?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1337
|
+
specialty?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1312
1338
|
accountId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1313
1339
|
trialExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1314
1340
|
trialExpiryWarnedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
@@ -1349,6 +1375,7 @@ export type AgentCreateWithoutPhaseMethodologiesInput = {
|
|
|
1349
1375
|
patchAuthorAllowlist?: Prisma.AgentCreatepatchAuthorAllowlistInput | string[]
|
|
1350
1376
|
restrictSlackToMembers?: boolean
|
|
1351
1377
|
typeName?: string
|
|
1378
|
+
specialty?: string | null
|
|
1352
1379
|
trialExpiresAt?: Date | string | null
|
|
1353
1380
|
trialExpiryWarnedAt?: Date | string | null
|
|
1354
1381
|
ownerEmail?: string | null
|
|
@@ -1389,6 +1416,7 @@ export type AgentUncheckedCreateWithoutPhaseMethodologiesInput = {
|
|
|
1389
1416
|
patchAuthorAllowlist?: Prisma.AgentCreatepatchAuthorAllowlistInput | string[]
|
|
1390
1417
|
restrictSlackToMembers?: boolean
|
|
1391
1418
|
typeName?: string
|
|
1419
|
+
specialty?: string | null
|
|
1392
1420
|
accountId?: string | null
|
|
1393
1421
|
trialExpiresAt?: Date | string | null
|
|
1394
1422
|
trialExpiryWarnedAt?: Date | string | null
|
|
@@ -1445,6 +1473,7 @@ export type AgentUpdateWithoutPhaseMethodologiesInput = {
|
|
|
1445
1473
|
patchAuthorAllowlist?: Prisma.AgentUpdatepatchAuthorAllowlistInput | string[]
|
|
1446
1474
|
restrictSlackToMembers?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1447
1475
|
typeName?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1476
|
+
specialty?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1448
1477
|
trialExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1449
1478
|
trialExpiryWarnedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1450
1479
|
ownerEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
@@ -1485,6 +1514,7 @@ export type AgentUncheckedUpdateWithoutPhaseMethodologiesInput = {
|
|
|
1485
1514
|
patchAuthorAllowlist?: Prisma.AgentUpdatepatchAuthorAllowlistInput | string[]
|
|
1486
1515
|
restrictSlackToMembers?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1487
1516
|
typeName?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1517
|
+
specialty?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1488
1518
|
accountId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1489
1519
|
trialExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1490
1520
|
trialExpiryWarnedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
@@ -1525,6 +1555,7 @@ export type AgentCreateWithoutEnvVarsInput = {
|
|
|
1525
1555
|
patchAuthorAllowlist?: Prisma.AgentCreatepatchAuthorAllowlistInput | string[]
|
|
1526
1556
|
restrictSlackToMembers?: boolean
|
|
1527
1557
|
typeName?: string
|
|
1558
|
+
specialty?: string | null
|
|
1528
1559
|
trialExpiresAt?: Date | string | null
|
|
1529
1560
|
trialExpiryWarnedAt?: Date | string | null
|
|
1530
1561
|
ownerEmail?: string | null
|
|
@@ -1565,6 +1596,7 @@ export type AgentUncheckedCreateWithoutEnvVarsInput = {
|
|
|
1565
1596
|
patchAuthorAllowlist?: Prisma.AgentCreatepatchAuthorAllowlistInput | string[]
|
|
1566
1597
|
restrictSlackToMembers?: boolean
|
|
1567
1598
|
typeName?: string
|
|
1599
|
+
specialty?: string | null
|
|
1568
1600
|
accountId?: string | null
|
|
1569
1601
|
trialExpiresAt?: Date | string | null
|
|
1570
1602
|
trialExpiryWarnedAt?: Date | string | null
|
|
@@ -1621,6 +1653,7 @@ export type AgentUpdateWithoutEnvVarsInput = {
|
|
|
1621
1653
|
patchAuthorAllowlist?: Prisma.AgentUpdatepatchAuthorAllowlistInput | string[]
|
|
1622
1654
|
restrictSlackToMembers?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1623
1655
|
typeName?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1656
|
+
specialty?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1624
1657
|
trialExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1625
1658
|
trialExpiryWarnedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1626
1659
|
ownerEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
@@ -1661,6 +1694,7 @@ export type AgentUncheckedUpdateWithoutEnvVarsInput = {
|
|
|
1661
1694
|
patchAuthorAllowlist?: Prisma.AgentUpdatepatchAuthorAllowlistInput | string[]
|
|
1662
1695
|
restrictSlackToMembers?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1663
1696
|
typeName?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1697
|
+
specialty?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1664
1698
|
accountId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1665
1699
|
trialExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1666
1700
|
trialExpiryWarnedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
@@ -1701,6 +1735,7 @@ export type AgentCreateWithoutCronJobsInput = {
|
|
|
1701
1735
|
patchAuthorAllowlist?: Prisma.AgentCreatepatchAuthorAllowlistInput | string[]
|
|
1702
1736
|
restrictSlackToMembers?: boolean
|
|
1703
1737
|
typeName?: string
|
|
1738
|
+
specialty?: string | null
|
|
1704
1739
|
trialExpiresAt?: Date | string | null
|
|
1705
1740
|
trialExpiryWarnedAt?: Date | string | null
|
|
1706
1741
|
ownerEmail?: string | null
|
|
@@ -1741,6 +1776,7 @@ export type AgentUncheckedCreateWithoutCronJobsInput = {
|
|
|
1741
1776
|
patchAuthorAllowlist?: Prisma.AgentCreatepatchAuthorAllowlistInput | string[]
|
|
1742
1777
|
restrictSlackToMembers?: boolean
|
|
1743
1778
|
typeName?: string
|
|
1779
|
+
specialty?: string | null
|
|
1744
1780
|
accountId?: string | null
|
|
1745
1781
|
trialExpiresAt?: Date | string | null
|
|
1746
1782
|
trialExpiryWarnedAt?: Date | string | null
|
|
@@ -1797,6 +1833,7 @@ export type AgentUpdateWithoutCronJobsInput = {
|
|
|
1797
1833
|
patchAuthorAllowlist?: Prisma.AgentUpdatepatchAuthorAllowlistInput | string[]
|
|
1798
1834
|
restrictSlackToMembers?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1799
1835
|
typeName?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1836
|
+
specialty?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1800
1837
|
trialExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1801
1838
|
trialExpiryWarnedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1802
1839
|
ownerEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
@@ -1837,6 +1874,7 @@ export type AgentUncheckedUpdateWithoutCronJobsInput = {
|
|
|
1837
1874
|
patchAuthorAllowlist?: Prisma.AgentUpdatepatchAuthorAllowlistInput | string[]
|
|
1838
1875
|
restrictSlackToMembers?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1839
1876
|
typeName?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1877
|
+
specialty?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1840
1878
|
accountId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1841
1879
|
trialExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1842
1880
|
trialExpiryWarnedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
@@ -1877,6 +1915,7 @@ export type AgentCreateWithoutToolsInput = {
|
|
|
1877
1915
|
patchAuthorAllowlist?: Prisma.AgentCreatepatchAuthorAllowlistInput | string[]
|
|
1878
1916
|
restrictSlackToMembers?: boolean
|
|
1879
1917
|
typeName?: string
|
|
1918
|
+
specialty?: string | null
|
|
1880
1919
|
trialExpiresAt?: Date | string | null
|
|
1881
1920
|
trialExpiryWarnedAt?: Date | string | null
|
|
1882
1921
|
ownerEmail?: string | null
|
|
@@ -1917,6 +1956,7 @@ export type AgentUncheckedCreateWithoutToolsInput = {
|
|
|
1917
1956
|
patchAuthorAllowlist?: Prisma.AgentCreatepatchAuthorAllowlistInput | string[]
|
|
1918
1957
|
restrictSlackToMembers?: boolean
|
|
1919
1958
|
typeName?: string
|
|
1959
|
+
specialty?: string | null
|
|
1920
1960
|
accountId?: string | null
|
|
1921
1961
|
trialExpiresAt?: Date | string | null
|
|
1922
1962
|
trialExpiryWarnedAt?: Date | string | null
|
|
@@ -1973,6 +2013,7 @@ export type AgentUpdateWithoutToolsInput = {
|
|
|
1973
2013
|
patchAuthorAllowlist?: Prisma.AgentUpdatepatchAuthorAllowlistInput | string[]
|
|
1974
2014
|
restrictSlackToMembers?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1975
2015
|
typeName?: Prisma.StringFieldUpdateOperationsInput | string
|
|
2016
|
+
specialty?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1976
2017
|
trialExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1977
2018
|
trialExpiryWarnedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1978
2019
|
ownerEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
@@ -2013,6 +2054,7 @@ export type AgentUncheckedUpdateWithoutToolsInput = {
|
|
|
2013
2054
|
patchAuthorAllowlist?: Prisma.AgentUpdatepatchAuthorAllowlistInput | string[]
|
|
2014
2055
|
restrictSlackToMembers?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
2015
2056
|
typeName?: Prisma.StringFieldUpdateOperationsInput | string
|
|
2057
|
+
specialty?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2016
2058
|
accountId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2017
2059
|
trialExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
2018
2060
|
trialExpiryWarnedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
@@ -2053,6 +2095,7 @@ export type AgentCreateWithoutTokensInput = {
|
|
|
2053
2095
|
patchAuthorAllowlist?: Prisma.AgentCreatepatchAuthorAllowlistInput | string[]
|
|
2054
2096
|
restrictSlackToMembers?: boolean
|
|
2055
2097
|
typeName?: string
|
|
2098
|
+
specialty?: string | null
|
|
2056
2099
|
trialExpiresAt?: Date | string | null
|
|
2057
2100
|
trialExpiryWarnedAt?: Date | string | null
|
|
2058
2101
|
ownerEmail?: string | null
|
|
@@ -2093,6 +2136,7 @@ export type AgentUncheckedCreateWithoutTokensInput = {
|
|
|
2093
2136
|
patchAuthorAllowlist?: Prisma.AgentCreatepatchAuthorAllowlistInput | string[]
|
|
2094
2137
|
restrictSlackToMembers?: boolean
|
|
2095
2138
|
typeName?: string
|
|
2139
|
+
specialty?: string | null
|
|
2096
2140
|
accountId?: string | null
|
|
2097
2141
|
trialExpiresAt?: Date | string | null
|
|
2098
2142
|
trialExpiryWarnedAt?: Date | string | null
|
|
@@ -2149,6 +2193,7 @@ export type AgentUpdateWithoutTokensInput = {
|
|
|
2149
2193
|
patchAuthorAllowlist?: Prisma.AgentUpdatepatchAuthorAllowlistInput | string[]
|
|
2150
2194
|
restrictSlackToMembers?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
2151
2195
|
typeName?: Prisma.StringFieldUpdateOperationsInput | string
|
|
2196
|
+
specialty?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2152
2197
|
trialExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
2153
2198
|
trialExpiryWarnedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
2154
2199
|
ownerEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
@@ -2189,6 +2234,7 @@ export type AgentUncheckedUpdateWithoutTokensInput = {
|
|
|
2189
2234
|
patchAuthorAllowlist?: Prisma.AgentUpdatepatchAuthorAllowlistInput | string[]
|
|
2190
2235
|
restrictSlackToMembers?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
2191
2236
|
typeName?: Prisma.StringFieldUpdateOperationsInput | string
|
|
2237
|
+
specialty?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2192
2238
|
accountId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2193
2239
|
trialExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
2194
2240
|
trialExpiryWarnedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
@@ -2229,6 +2275,7 @@ export type AgentCreateWithoutPluginsInput = {
|
|
|
2229
2275
|
patchAuthorAllowlist?: Prisma.AgentCreatepatchAuthorAllowlistInput | string[]
|
|
2230
2276
|
restrictSlackToMembers?: boolean
|
|
2231
2277
|
typeName?: string
|
|
2278
|
+
specialty?: string | null
|
|
2232
2279
|
trialExpiresAt?: Date | string | null
|
|
2233
2280
|
trialExpiryWarnedAt?: Date | string | null
|
|
2234
2281
|
ownerEmail?: string | null
|
|
@@ -2269,6 +2316,7 @@ export type AgentUncheckedCreateWithoutPluginsInput = {
|
|
|
2269
2316
|
patchAuthorAllowlist?: Prisma.AgentCreatepatchAuthorAllowlistInput | string[]
|
|
2270
2317
|
restrictSlackToMembers?: boolean
|
|
2271
2318
|
typeName?: string
|
|
2319
|
+
specialty?: string | null
|
|
2272
2320
|
accountId?: string | null
|
|
2273
2321
|
trialExpiresAt?: Date | string | null
|
|
2274
2322
|
trialExpiryWarnedAt?: Date | string | null
|
|
@@ -2325,6 +2373,7 @@ export type AgentUpdateWithoutPluginsInput = {
|
|
|
2325
2373
|
patchAuthorAllowlist?: Prisma.AgentUpdatepatchAuthorAllowlistInput | string[]
|
|
2326
2374
|
restrictSlackToMembers?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
2327
2375
|
typeName?: Prisma.StringFieldUpdateOperationsInput | string
|
|
2376
|
+
specialty?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2328
2377
|
trialExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
2329
2378
|
trialExpiryWarnedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
2330
2379
|
ownerEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
@@ -2365,6 +2414,7 @@ export type AgentUncheckedUpdateWithoutPluginsInput = {
|
|
|
2365
2414
|
patchAuthorAllowlist?: Prisma.AgentUpdatepatchAuthorAllowlistInput | string[]
|
|
2366
2415
|
restrictSlackToMembers?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
2367
2416
|
typeName?: Prisma.StringFieldUpdateOperationsInput | string
|
|
2417
|
+
specialty?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2368
2418
|
accountId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2369
2419
|
trialExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
2370
2420
|
trialExpiryWarnedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
@@ -2405,6 +2455,7 @@ export type AgentCreateWithoutMembersInput = {
|
|
|
2405
2455
|
patchAuthorAllowlist?: Prisma.AgentCreatepatchAuthorAllowlistInput | string[]
|
|
2406
2456
|
restrictSlackToMembers?: boolean
|
|
2407
2457
|
typeName?: string
|
|
2458
|
+
specialty?: string | null
|
|
2408
2459
|
trialExpiresAt?: Date | string | null
|
|
2409
2460
|
trialExpiryWarnedAt?: Date | string | null
|
|
2410
2461
|
ownerEmail?: string | null
|
|
@@ -2445,6 +2496,7 @@ export type AgentUncheckedCreateWithoutMembersInput = {
|
|
|
2445
2496
|
patchAuthorAllowlist?: Prisma.AgentCreatepatchAuthorAllowlistInput | string[]
|
|
2446
2497
|
restrictSlackToMembers?: boolean
|
|
2447
2498
|
typeName?: string
|
|
2499
|
+
specialty?: string | null
|
|
2448
2500
|
accountId?: string | null
|
|
2449
2501
|
trialExpiresAt?: Date | string | null
|
|
2450
2502
|
trialExpiryWarnedAt?: Date | string | null
|
|
@@ -2501,6 +2553,7 @@ export type AgentUpdateWithoutMembersInput = {
|
|
|
2501
2553
|
patchAuthorAllowlist?: Prisma.AgentUpdatepatchAuthorAllowlistInput | string[]
|
|
2502
2554
|
restrictSlackToMembers?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
2503
2555
|
typeName?: Prisma.StringFieldUpdateOperationsInput | string
|
|
2556
|
+
specialty?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2504
2557
|
trialExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
2505
2558
|
trialExpiryWarnedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
2506
2559
|
ownerEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
@@ -2541,6 +2594,7 @@ export type AgentUncheckedUpdateWithoutMembersInput = {
|
|
|
2541
2594
|
patchAuthorAllowlist?: Prisma.AgentUpdatepatchAuthorAllowlistInput | string[]
|
|
2542
2595
|
restrictSlackToMembers?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
2543
2596
|
typeName?: Prisma.StringFieldUpdateOperationsInput | string
|
|
2597
|
+
specialty?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2544
2598
|
accountId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2545
2599
|
trialExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
2546
2600
|
trialExpiryWarnedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
@@ -2581,6 +2635,7 @@ export type AgentCreateWithoutAccountInput = {
|
|
|
2581
2635
|
patchAuthorAllowlist?: Prisma.AgentCreatepatchAuthorAllowlistInput | string[]
|
|
2582
2636
|
restrictSlackToMembers?: boolean
|
|
2583
2637
|
typeName?: string
|
|
2638
|
+
specialty?: string | null
|
|
2584
2639
|
trialExpiresAt?: Date | string | null
|
|
2585
2640
|
trialExpiryWarnedAt?: Date | string | null
|
|
2586
2641
|
ownerEmail?: string | null
|
|
@@ -2621,6 +2676,7 @@ export type AgentUncheckedCreateWithoutAccountInput = {
|
|
|
2621
2676
|
patchAuthorAllowlist?: Prisma.AgentCreatepatchAuthorAllowlistInput | string[]
|
|
2622
2677
|
restrictSlackToMembers?: boolean
|
|
2623
2678
|
typeName?: string
|
|
2679
|
+
specialty?: string | null
|
|
2624
2680
|
trialExpiresAt?: Date | string | null
|
|
2625
2681
|
trialExpiryWarnedAt?: Date | string | null
|
|
2626
2682
|
ownerEmail?: string | null
|
|
@@ -2690,6 +2746,7 @@ export type AgentScalarWhereInput = {
|
|
|
2690
2746
|
patchAuthorAllowlist?: Prisma.StringNullableListFilter<"Agent">
|
|
2691
2747
|
restrictSlackToMembers?: Prisma.BoolFilter<"Agent"> | boolean
|
|
2692
2748
|
typeName?: Prisma.StringFilter<"Agent"> | string
|
|
2749
|
+
specialty?: Prisma.StringNullableFilter<"Agent"> | string | null
|
|
2693
2750
|
accountId?: Prisma.StringNullableFilter<"Agent"> | string | null
|
|
2694
2751
|
trialExpiresAt?: Prisma.DateTimeNullableFilter<"Agent"> | Date | string | null
|
|
2695
2752
|
trialExpiryWarnedAt?: Prisma.DateTimeNullableFilter<"Agent"> | Date | string | null
|
|
@@ -2721,6 +2778,7 @@ export type AgentCreateWithoutChatTokenUsageInput = {
|
|
|
2721
2778
|
patchAuthorAllowlist?: Prisma.AgentCreatepatchAuthorAllowlistInput | string[]
|
|
2722
2779
|
restrictSlackToMembers?: boolean
|
|
2723
2780
|
typeName?: string
|
|
2781
|
+
specialty?: string | null
|
|
2724
2782
|
trialExpiresAt?: Date | string | null
|
|
2725
2783
|
trialExpiryWarnedAt?: Date | string | null
|
|
2726
2784
|
ownerEmail?: string | null
|
|
@@ -2761,6 +2819,7 @@ export type AgentUncheckedCreateWithoutChatTokenUsageInput = {
|
|
|
2761
2819
|
patchAuthorAllowlist?: Prisma.AgentCreatepatchAuthorAllowlistInput | string[]
|
|
2762
2820
|
restrictSlackToMembers?: boolean
|
|
2763
2821
|
typeName?: string
|
|
2822
|
+
specialty?: string | null
|
|
2764
2823
|
accountId?: string | null
|
|
2765
2824
|
trialExpiresAt?: Date | string | null
|
|
2766
2825
|
trialExpiryWarnedAt?: Date | string | null
|
|
@@ -2817,6 +2876,7 @@ export type AgentUpdateWithoutChatTokenUsageInput = {
|
|
|
2817
2876
|
patchAuthorAllowlist?: Prisma.AgentUpdatepatchAuthorAllowlistInput | string[]
|
|
2818
2877
|
restrictSlackToMembers?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
2819
2878
|
typeName?: Prisma.StringFieldUpdateOperationsInput | string
|
|
2879
|
+
specialty?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2820
2880
|
trialExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
2821
2881
|
trialExpiryWarnedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
2822
2882
|
ownerEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
@@ -2857,6 +2917,7 @@ export type AgentUncheckedUpdateWithoutChatTokenUsageInput = {
|
|
|
2857
2917
|
patchAuthorAllowlist?: Prisma.AgentUpdatepatchAuthorAllowlistInput | string[]
|
|
2858
2918
|
restrictSlackToMembers?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
2859
2919
|
typeName?: Prisma.StringFieldUpdateOperationsInput | string
|
|
2920
|
+
specialty?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2860
2921
|
accountId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2861
2922
|
trialExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
2862
2923
|
trialExpiryWarnedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
@@ -2897,6 +2958,7 @@ export type AgentCreateWithoutGithubInstallationsSnapshotInput = {
|
|
|
2897
2958
|
patchAuthorAllowlist?: Prisma.AgentCreatepatchAuthorAllowlistInput | string[]
|
|
2898
2959
|
restrictSlackToMembers?: boolean
|
|
2899
2960
|
typeName?: string
|
|
2961
|
+
specialty?: string | null
|
|
2900
2962
|
trialExpiresAt?: Date | string | null
|
|
2901
2963
|
trialExpiryWarnedAt?: Date | string | null
|
|
2902
2964
|
ownerEmail?: string | null
|
|
@@ -2937,6 +2999,7 @@ export type AgentUncheckedCreateWithoutGithubInstallationsSnapshotInput = {
|
|
|
2937
2999
|
patchAuthorAllowlist?: Prisma.AgentCreatepatchAuthorAllowlistInput | string[]
|
|
2938
3000
|
restrictSlackToMembers?: boolean
|
|
2939
3001
|
typeName?: string
|
|
3002
|
+
specialty?: string | null
|
|
2940
3003
|
accountId?: string | null
|
|
2941
3004
|
trialExpiresAt?: Date | string | null
|
|
2942
3005
|
trialExpiryWarnedAt?: Date | string | null
|
|
@@ -2993,6 +3056,7 @@ export type AgentUpdateWithoutGithubInstallationsSnapshotInput = {
|
|
|
2993
3056
|
patchAuthorAllowlist?: Prisma.AgentUpdatepatchAuthorAllowlistInput | string[]
|
|
2994
3057
|
restrictSlackToMembers?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
2995
3058
|
typeName?: Prisma.StringFieldUpdateOperationsInput | string
|
|
3059
|
+
specialty?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
2996
3060
|
trialExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
2997
3061
|
trialExpiryWarnedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
2998
3062
|
ownerEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
@@ -3033,6 +3097,7 @@ export type AgentUncheckedUpdateWithoutGithubInstallationsSnapshotInput = {
|
|
|
3033
3097
|
patchAuthorAllowlist?: Prisma.AgentUpdatepatchAuthorAllowlistInput | string[]
|
|
3034
3098
|
restrictSlackToMembers?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
3035
3099
|
typeName?: Prisma.StringFieldUpdateOperationsInput | string
|
|
3100
|
+
specialty?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
3036
3101
|
accountId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
3037
3102
|
trialExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
3038
3103
|
trialExpiryWarnedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
@@ -3073,6 +3138,7 @@ export type AgentCreateManyAccountInput = {
|
|
|
3073
3138
|
patchAuthorAllowlist?: Prisma.AgentCreatepatchAuthorAllowlistInput | string[]
|
|
3074
3139
|
restrictSlackToMembers?: boolean
|
|
3075
3140
|
typeName?: string
|
|
3141
|
+
specialty?: string | null
|
|
3076
3142
|
trialExpiresAt?: Date | string | null
|
|
3077
3143
|
trialExpiryWarnedAt?: Date | string | null
|
|
3078
3144
|
ownerEmail?: string | null
|
|
@@ -3103,6 +3169,7 @@ export type AgentUpdateWithoutAccountInput = {
|
|
|
3103
3169
|
patchAuthorAllowlist?: Prisma.AgentUpdatepatchAuthorAllowlistInput | string[]
|
|
3104
3170
|
restrictSlackToMembers?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
3105
3171
|
typeName?: Prisma.StringFieldUpdateOperationsInput | string
|
|
3172
|
+
specialty?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
3106
3173
|
trialExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
3107
3174
|
trialExpiryWarnedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
3108
3175
|
ownerEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
@@ -3143,6 +3210,7 @@ export type AgentUncheckedUpdateWithoutAccountInput = {
|
|
|
3143
3210
|
patchAuthorAllowlist?: Prisma.AgentUpdatepatchAuthorAllowlistInput | string[]
|
|
3144
3211
|
restrictSlackToMembers?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
3145
3212
|
typeName?: Prisma.StringFieldUpdateOperationsInput | string
|
|
3213
|
+
specialty?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
3146
3214
|
trialExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
3147
3215
|
trialExpiryWarnedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
3148
3216
|
ownerEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
@@ -3183,6 +3251,7 @@ export type AgentUncheckedUpdateManyWithoutAccountInput = {
|
|
|
3183
3251
|
patchAuthorAllowlist?: Prisma.AgentUpdatepatchAuthorAllowlistInput | string[]
|
|
3184
3252
|
restrictSlackToMembers?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
3185
3253
|
typeName?: Prisma.StringFieldUpdateOperationsInput | string
|
|
3254
|
+
specialty?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
3186
3255
|
trialExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
3187
3256
|
trialExpiryWarnedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
3188
3257
|
ownerEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
@@ -3307,6 +3376,7 @@ export type AgentSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs =
|
|
|
3307
3376
|
patchAuthorAllowlist?: boolean
|
|
3308
3377
|
restrictSlackToMembers?: boolean
|
|
3309
3378
|
typeName?: boolean
|
|
3379
|
+
specialty?: boolean
|
|
3310
3380
|
accountId?: boolean
|
|
3311
3381
|
trialExpiresAt?: boolean
|
|
3312
3382
|
trialExpiryWarnedAt?: boolean
|
|
@@ -3350,6 +3420,7 @@ export type AgentSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensi
|
|
|
3350
3420
|
patchAuthorAllowlist?: boolean
|
|
3351
3421
|
restrictSlackToMembers?: boolean
|
|
3352
3422
|
typeName?: boolean
|
|
3423
|
+
specialty?: boolean
|
|
3353
3424
|
accountId?: boolean
|
|
3354
3425
|
trialExpiresAt?: boolean
|
|
3355
3426
|
trialExpiryWarnedAt?: boolean
|
|
@@ -3382,6 +3453,7 @@ export type AgentSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensi
|
|
|
3382
3453
|
patchAuthorAllowlist?: boolean
|
|
3383
3454
|
restrictSlackToMembers?: boolean
|
|
3384
3455
|
typeName?: boolean
|
|
3456
|
+
specialty?: boolean
|
|
3385
3457
|
accountId?: boolean
|
|
3386
3458
|
trialExpiresAt?: boolean
|
|
3387
3459
|
trialExpiryWarnedAt?: boolean
|
|
@@ -3414,6 +3486,7 @@ export type AgentSelectScalar = {
|
|
|
3414
3486
|
patchAuthorAllowlist?: boolean
|
|
3415
3487
|
restrictSlackToMembers?: boolean
|
|
3416
3488
|
typeName?: boolean
|
|
3489
|
+
specialty?: boolean
|
|
3417
3490
|
accountId?: boolean
|
|
3418
3491
|
trialExpiresAt?: boolean
|
|
3419
3492
|
trialExpiryWarnedAt?: boolean
|
|
@@ -3433,7 +3506,7 @@ export type AgentSelectScalar = {
|
|
|
3433
3506
|
updatedAt?: boolean
|
|
3434
3507
|
}
|
|
3435
3508
|
|
|
3436
|
-
export type AgentOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "name" | "slackId" | "slackBotToken" | "anthropicApiKey" | "selfHosted" | "repos" | "reviewAuthorAllowlist" | "patchAuthorAllowlist" | "restrictSlackToMembers" | "typeName" | "accountId" | "trialExpiresAt" | "trialExpiryWarnedAt" | "ownerEmail" | "anthropicIdentityName" | "anthropicServiceAccountId" | "anthropicFederationRuleId" | "k8sServiceAccountName" | "podServiceAccountName" | "autoPostReviews" | "allowSelfReview" | "minConfidence" | "maxFindings" | "cleanupMergedWorktrees" | "cleanupAfterDays" | "createdAt" | "updatedAt", ExtArgs["result"]["agent"]>
|
|
3509
|
+
export type AgentOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "name" | "slackId" | "slackBotToken" | "anthropicApiKey" | "selfHosted" | "repos" | "reviewAuthorAllowlist" | "patchAuthorAllowlist" | "restrictSlackToMembers" | "typeName" | "specialty" | "accountId" | "trialExpiresAt" | "trialExpiryWarnedAt" | "ownerEmail" | "anthropicIdentityName" | "anthropicServiceAccountId" | "anthropicFederationRuleId" | "k8sServiceAccountName" | "podServiceAccountName" | "autoPostReviews" | "allowSelfReview" | "minConfidence" | "maxFindings" | "cleanupMergedWorktrees" | "cleanupAfterDays" | "createdAt" | "updatedAt", ExtArgs["result"]["agent"]>
|
|
3437
3510
|
export type AgentInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
3438
3511
|
account?: boolean | Prisma.Agent$accountArgs<ExtArgs>
|
|
3439
3512
|
envVars?: boolean | Prisma.Agent$envVarsArgs<ExtArgs>
|
|
@@ -3482,6 +3555,7 @@ export type $AgentPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs
|
|
|
3482
3555
|
patchAuthorAllowlist: string[]
|
|
3483
3556
|
restrictSlackToMembers: boolean
|
|
3484
3557
|
typeName: string
|
|
3558
|
+
specialty: string | null
|
|
3485
3559
|
accountId: string | null
|
|
3486
3560
|
trialExpiresAt: Date | null
|
|
3487
3561
|
trialExpiryWarnedAt: Date | null
|
|
@@ -3944,6 +4018,7 @@ export interface AgentFieldRefs {
|
|
|
3944
4018
|
readonly patchAuthorAllowlist: Prisma.FieldRef<"Agent", 'String[]'>
|
|
3945
4019
|
readonly restrictSlackToMembers: Prisma.FieldRef<"Agent", 'Boolean'>
|
|
3946
4020
|
readonly typeName: Prisma.FieldRef<"Agent", 'String'>
|
|
4021
|
+
readonly specialty: Prisma.FieldRef<"Agent", 'String'>
|
|
3947
4022
|
readonly accountId: Prisma.FieldRef<"Agent", 'String'>
|
|
3948
4023
|
readonly trialExpiresAt: Prisma.FieldRef<"Agent", 'DateTime'>
|
|
3949
4024
|
readonly trialExpiryWarnedAt: Prisma.FieldRef<"Agent", 'DateTime'>
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
-- AddColumn: specialty TEXT (nullable) to Agent (additive, non-breaking).
|
|
2
|
+
-- AGR-6.1: ADD step of the typeName -> specialty rename. Backfill from typeName
|
|
3
|
+
-- so existing rows are consistent; reads still fall back to typeName when NULL.
|
|
4
|
+
ALTER TABLE "Agent" ADD COLUMN "specialty" TEXT;
|
|
5
|
+
UPDATE "Agent" SET "specialty" = "typeName";
|
|
@@ -43,6 +43,9 @@ model Agent {
|
|
|
43
43
|
patchAuthorAllowlist String[] @default([])
|
|
44
44
|
restrictSlackToMembers Boolean @default(false)
|
|
45
45
|
typeName String @default("coding")
|
|
46
|
+
// AGR-6.1: typeName -> specialty rename (ADD step). Nullable; written
|
|
47
|
+
// alongside typeName, reads fall back to typeName when NULL.
|
|
48
|
+
specialty String?
|
|
46
49
|
// SSP-1.2: owning account. Nullable/additive — existing agents keep NULL.
|
|
47
50
|
accountId String?
|
|
48
51
|
account Account? @relation(fields: [accountId], references: [id], onDelete: Restrict)
|