vercel-api-js 1.19.1 → 1.19.3
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/dist/index.cjs +1 -1
- package/dist/index.d.ts +59 -15
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/{schemas-hikd2ypl.js → schemas-joscpi60.js} +37 -8
- package/dist/{schemas-ommjk7w2.cjs → schemas-mrdopgdo.cjs} +37 -8
- package/dist/schemas.cjs +1 -1
- package/dist/schemas.d.mts +27 -7
- package/dist/schemas.d.mts.map +1 -1
- package/dist/schemas.mjs +1 -1
- package/dist/types.cjs +16 -7
- package/dist/types.d.mts +32 -8
- package/dist/types.d.mts.map +1 -1
- package/dist/types.mjs +16 -7
- package/package.json +1 -1
|
@@ -13,6 +13,7 @@ const aiGatewayVirtualModelConfigSchema = z.object({
|
|
|
13
13
|
"auto"
|
|
14
14
|
]).optional().describe("Use caching if available."),
|
|
15
15
|
createdAt: z.number().describe("Creation timestamp (epoch ms)."),
|
|
16
|
+
createdBy: z.string().optional().describe("User or app id that created this VMC."),
|
|
16
17
|
deleted: z.union([
|
|
17
18
|
z.literal(false),
|
|
18
19
|
z.literal(true)
|
|
@@ -86,7 +87,7 @@ const aiGatewayVirtualModelConfigSchema = z.object({
|
|
|
86
87
|
]).optional().describe("Only use fastest providers with short timeouts."),
|
|
87
88
|
status: z.string().describe("UI lifecycle status: draft, active, or archived."),
|
|
88
89
|
updatedAt: z.number().describe("Last update timestamp (epoch ms)."),
|
|
89
|
-
updatedBy: z.string().optional().describe("User id that last updated this VMC."),
|
|
90
|
+
updatedBy: z.string().optional().describe("User or app id that last updated this VMC."),
|
|
90
91
|
virtualModelSlug: z.string().describe("Client-facing alias used as the model slug in Gateway calls."),
|
|
91
92
|
visibility: z.string().optional().describe("Visibility in listings: public, internal, or stealth."),
|
|
92
93
|
zeroDataRetention: z.union([
|
|
@@ -5605,12 +5606,12 @@ const userEventSchema = z.object({
|
|
|
5605
5606
|
]),
|
|
5606
5607
|
teamId: z.string(),
|
|
5607
5608
|
teamPermissions: z.array(z.enum([
|
|
5608
|
-
"AiGatewayApiKeyOwnedBySelf",
|
|
5609
5609
|
"AiGatewayBudgetManager",
|
|
5610
5610
|
"AiGatewayCredits",
|
|
5611
5611
|
"AiGatewaySettings",
|
|
5612
5612
|
"AiGatewayTranscriptsManager",
|
|
5613
5613
|
"AiGatewayTranscriptsViewer",
|
|
5614
|
+
"AiGatewayUser",
|
|
5614
5615
|
"ConnectorManager",
|
|
5615
5616
|
"CreateProject",
|
|
5616
5617
|
"EnvVariableManager",
|
|
@@ -6244,6 +6245,18 @@ const userEventSchema = z.object({
|
|
|
6244
6245
|
organizationId: z.string(),
|
|
6245
6246
|
teamId: z.string()
|
|
6246
6247
|
}).strict(),
|
|
6248
|
+
z.object({
|
|
6249
|
+
enforced: z.union([
|
|
6250
|
+
z.literal(false),
|
|
6251
|
+
z.literal(true)
|
|
6252
|
+
]),
|
|
6253
|
+
organizationId: z.string(),
|
|
6254
|
+
organizationSlug: z.string(),
|
|
6255
|
+
previousEnforced: z.union([
|
|
6256
|
+
z.literal(false),
|
|
6257
|
+
z.literal(true)
|
|
6258
|
+
])
|
|
6259
|
+
}).strict(),
|
|
6247
6260
|
z.object({
|
|
6248
6261
|
mode: z.enum([
|
|
6249
6262
|
"organization",
|
|
@@ -8634,12 +8647,12 @@ const userEventSchema = z.object({
|
|
|
8634
8647
|
origin: z.string().optional(),
|
|
8635
8648
|
previousRole: z.string(),
|
|
8636
8649
|
previousTeamPermissions: z.array(z.enum([
|
|
8637
|
-
"AiGatewayApiKeyOwnedBySelf",
|
|
8638
8650
|
"AiGatewayBudgetManager",
|
|
8639
8651
|
"AiGatewayCredits",
|
|
8640
8652
|
"AiGatewaySettings",
|
|
8641
8653
|
"AiGatewayTranscriptsManager",
|
|
8642
8654
|
"AiGatewayTranscriptsViewer",
|
|
8655
|
+
"AiGatewayUser",
|
|
8643
8656
|
"ConnectorManager",
|
|
8644
8657
|
"CreateProject",
|
|
8645
8658
|
"EnvVariableManager",
|
|
@@ -8667,12 +8680,12 @@ const userEventSchema = z.object({
|
|
|
8667
8680
|
role: z.string().optional(),
|
|
8668
8681
|
ssoType: z.string().optional(),
|
|
8669
8682
|
teamPermissions: z.array(z.enum([
|
|
8670
|
-
"AiGatewayApiKeyOwnedBySelf",
|
|
8671
8683
|
"AiGatewayBudgetManager",
|
|
8672
8684
|
"AiGatewayCredits",
|
|
8673
8685
|
"AiGatewaySettings",
|
|
8674
8686
|
"AiGatewayTranscriptsManager",
|
|
8675
8687
|
"AiGatewayTranscriptsViewer",
|
|
8688
|
+
"AiGatewayUser",
|
|
8676
8689
|
"ConnectorManager",
|
|
8677
8690
|
"CreateProject",
|
|
8678
8691
|
"EnvVariableManager",
|
|
@@ -8890,6 +8903,13 @@ const userEventSchema = z.object({
|
|
|
8890
8903
|
"limits-exceeded"
|
|
8891
8904
|
])
|
|
8892
8905
|
}).strict(),
|
|
8906
|
+
z.object({
|
|
8907
|
+
organizationId: z.string()
|
|
8908
|
+
}).strict(),
|
|
8909
|
+
z.object({
|
|
8910
|
+
organizationId: z.string(),
|
|
8911
|
+
teamIds: z.array(z.string())
|
|
8912
|
+
}).strict(),
|
|
8893
8913
|
z.object({
|
|
8894
8914
|
teamName: z.string().optional()
|
|
8895
8915
|
}).strict(),
|
|
@@ -9984,10 +10004,13 @@ const userEventSchema = z.object({
|
|
|
9984
10004
|
"organization-emu-team-updated",
|
|
9985
10005
|
"organization-emu-updated",
|
|
9986
10006
|
"organization-slug-update",
|
|
10007
|
+
"organization-sso-enforced",
|
|
9987
10008
|
"organization-team-add",
|
|
9988
10009
|
"organization-team-create",
|
|
9989
10010
|
"organization-team-delete",
|
|
9990
10011
|
"organization-team-sso-update",
|
|
10012
|
+
"organization-update-account-flow-dismissed",
|
|
10013
|
+
"organization-update-account-flow-triggered",
|
|
9991
10014
|
"owner-blocked",
|
|
9992
10015
|
"owner-soft-blocked",
|
|
9993
10016
|
"owner-soft-unblocked",
|
|
@@ -10756,10 +10779,13 @@ const listEventTypeSchema = z.object({
|
|
|
10756
10779
|
"organization-emu-team-updated",
|
|
10757
10780
|
"organization-emu-updated",
|
|
10758
10781
|
"organization-slug-update",
|
|
10782
|
+
"organization-sso-enforced",
|
|
10759
10783
|
"organization-team-add",
|
|
10760
10784
|
"organization-team-create",
|
|
10761
10785
|
"organization-team-delete",
|
|
10762
10786
|
"organization-team-sso-update",
|
|
10787
|
+
"organization-update-account-flow-dismissed",
|
|
10788
|
+
"organization-update-account-flow-triggered",
|
|
10763
10789
|
"owner-blocked",
|
|
10764
10790
|
"owner-soft-blocked",
|
|
10765
10791
|
"owner-soft-unblocked",
|
|
@@ -11444,10 +11470,13 @@ const listEventTypeSchema = z.object({
|
|
|
11444
11470
|
"organization-emu-team-updated",
|
|
11445
11471
|
"organization-emu-updated",
|
|
11446
11472
|
"organization-slug-update",
|
|
11473
|
+
"organization-sso-enforced",
|
|
11447
11474
|
"organization-team-add",
|
|
11448
11475
|
"organization-team-create",
|
|
11449
11476
|
"organization-team-delete",
|
|
11450
11477
|
"organization-team-sso-update",
|
|
11478
|
+
"organization-update-account-flow-dismissed",
|
|
11479
|
+
"organization-update-account-flow-triggered",
|
|
11451
11480
|
"owner-blocked",
|
|
11452
11481
|
"owner-soft-blocked",
|
|
11453
11482
|
"owner-soft-unblocked",
|
|
@@ -12872,12 +12901,12 @@ const invitedTeamMemberSchema = z.object({
|
|
|
12872
12901
|
]
|
|
12873
12902
|
}),
|
|
12874
12903
|
teamPermissions: z.array(z.enum([
|
|
12875
|
-
"AiGatewayApiKeyOwnedBySelf",
|
|
12876
12904
|
"AiGatewayBudgetManager",
|
|
12877
12905
|
"AiGatewayCredits",
|
|
12878
12906
|
"AiGatewaySettings",
|
|
12879
12907
|
"AiGatewayTranscriptsManager",
|
|
12880
12908
|
"AiGatewayTranscriptsViewer",
|
|
12909
|
+
"AiGatewayUser",
|
|
12881
12910
|
"ConnectorManager",
|
|
12882
12911
|
"CreateProject",
|
|
12883
12912
|
"EnvVariableManager",
|
|
@@ -12993,12 +13022,12 @@ const teamSchema = z.object({
|
|
|
12993
13022
|
}).optional().describe("Default job configuration applied to new projects created in this team."),
|
|
12994
13023
|
defaultRoles: z.object({
|
|
12995
13024
|
teamPermissions: z.array(z.enum([
|
|
12996
|
-
"AiGatewayApiKeyOwnedBySelf",
|
|
12997
13025
|
"AiGatewayBudgetManager",
|
|
12998
13026
|
"AiGatewayCredits",
|
|
12999
13027
|
"AiGatewaySettings",
|
|
13000
13028
|
"AiGatewayTranscriptsManager",
|
|
13001
13029
|
"AiGatewayTranscriptsViewer",
|
|
13030
|
+
"AiGatewayUser",
|
|
13002
13031
|
"ConnectorManager",
|
|
13003
13032
|
"CreateProject",
|
|
13004
13033
|
"EnvVariableManager",
|
|
@@ -13227,12 +13256,12 @@ const teamSchema = z.object({
|
|
|
13227
13256
|
]),
|
|
13228
13257
|
teamId: z.string().optional(),
|
|
13229
13258
|
teamPermissions: z.array(z.enum([
|
|
13230
|
-
"AiGatewayApiKeyOwnedBySelf",
|
|
13231
13259
|
"AiGatewayBudgetManager",
|
|
13232
13260
|
"AiGatewayCredits",
|
|
13233
13261
|
"AiGatewaySettings",
|
|
13234
13262
|
"AiGatewayTranscriptsManager",
|
|
13235
13263
|
"AiGatewayTranscriptsViewer",
|
|
13264
|
+
"AiGatewayUser",
|
|
13236
13265
|
"ConnectorManager",
|
|
13237
13266
|
"CreateProject",
|
|
13238
13267
|
"EnvVariableManager",
|
|
@@ -13546,12 +13575,12 @@ const teamLimitedSchema = z.object({
|
|
|
13546
13575
|
]),
|
|
13547
13576
|
teamId: z.string().optional(),
|
|
13548
13577
|
teamPermissions: z.array(z.enum([
|
|
13549
|
-
"AiGatewayApiKeyOwnedBySelf",
|
|
13550
13578
|
"AiGatewayBudgetManager",
|
|
13551
13579
|
"AiGatewayCredits",
|
|
13552
13580
|
"AiGatewaySettings",
|
|
13553
13581
|
"AiGatewayTranscriptsManager",
|
|
13554
13582
|
"AiGatewayTranscriptsViewer",
|
|
13583
|
+
"AiGatewayUser",
|
|
13555
13584
|
"ConnectorManager",
|
|
13556
13585
|
"CreateProject",
|
|
13557
13586
|
"EnvVariableManager",
|
|
@@ -33,6 +33,7 @@ const aiGatewayVirtualModelConfigSchema = z__namespace.object({
|
|
|
33
33
|
"auto"
|
|
34
34
|
]).optional().describe("Use caching if available."),
|
|
35
35
|
createdAt: z__namespace.number().describe("Creation timestamp (epoch ms)."),
|
|
36
|
+
createdBy: z__namespace.string().optional().describe("User or app id that created this VMC."),
|
|
36
37
|
deleted: z__namespace.union([
|
|
37
38
|
z__namespace.literal(false),
|
|
38
39
|
z__namespace.literal(true)
|
|
@@ -106,7 +107,7 @@ const aiGatewayVirtualModelConfigSchema = z__namespace.object({
|
|
|
106
107
|
]).optional().describe("Only use fastest providers with short timeouts."),
|
|
107
108
|
status: z__namespace.string().describe("UI lifecycle status: draft, active, or archived."),
|
|
108
109
|
updatedAt: z__namespace.number().describe("Last update timestamp (epoch ms)."),
|
|
109
|
-
updatedBy: z__namespace.string().optional().describe("User id that last updated this VMC."),
|
|
110
|
+
updatedBy: z__namespace.string().optional().describe("User or app id that last updated this VMC."),
|
|
110
111
|
virtualModelSlug: z__namespace.string().describe("Client-facing alias used as the model slug in Gateway calls."),
|
|
111
112
|
visibility: z__namespace.string().optional().describe("Visibility in listings: public, internal, or stealth."),
|
|
112
113
|
zeroDataRetention: z__namespace.union([
|
|
@@ -5625,12 +5626,12 @@ const userEventSchema = z__namespace.object({
|
|
|
5625
5626
|
]),
|
|
5626
5627
|
teamId: z__namespace.string(),
|
|
5627
5628
|
teamPermissions: z__namespace.array(z__namespace.enum([
|
|
5628
|
-
"AiGatewayApiKeyOwnedBySelf",
|
|
5629
5629
|
"AiGatewayBudgetManager",
|
|
5630
5630
|
"AiGatewayCredits",
|
|
5631
5631
|
"AiGatewaySettings",
|
|
5632
5632
|
"AiGatewayTranscriptsManager",
|
|
5633
5633
|
"AiGatewayTranscriptsViewer",
|
|
5634
|
+
"AiGatewayUser",
|
|
5634
5635
|
"ConnectorManager",
|
|
5635
5636
|
"CreateProject",
|
|
5636
5637
|
"EnvVariableManager",
|
|
@@ -6264,6 +6265,18 @@ const userEventSchema = z__namespace.object({
|
|
|
6264
6265
|
organizationId: z__namespace.string(),
|
|
6265
6266
|
teamId: z__namespace.string()
|
|
6266
6267
|
}).strict(),
|
|
6268
|
+
z__namespace.object({
|
|
6269
|
+
enforced: z__namespace.union([
|
|
6270
|
+
z__namespace.literal(false),
|
|
6271
|
+
z__namespace.literal(true)
|
|
6272
|
+
]),
|
|
6273
|
+
organizationId: z__namespace.string(),
|
|
6274
|
+
organizationSlug: z__namespace.string(),
|
|
6275
|
+
previousEnforced: z__namespace.union([
|
|
6276
|
+
z__namespace.literal(false),
|
|
6277
|
+
z__namespace.literal(true)
|
|
6278
|
+
])
|
|
6279
|
+
}).strict(),
|
|
6267
6280
|
z__namespace.object({
|
|
6268
6281
|
mode: z__namespace.enum([
|
|
6269
6282
|
"organization",
|
|
@@ -8654,12 +8667,12 @@ const userEventSchema = z__namespace.object({
|
|
|
8654
8667
|
origin: z__namespace.string().optional(),
|
|
8655
8668
|
previousRole: z__namespace.string(),
|
|
8656
8669
|
previousTeamPermissions: z__namespace.array(z__namespace.enum([
|
|
8657
|
-
"AiGatewayApiKeyOwnedBySelf",
|
|
8658
8670
|
"AiGatewayBudgetManager",
|
|
8659
8671
|
"AiGatewayCredits",
|
|
8660
8672
|
"AiGatewaySettings",
|
|
8661
8673
|
"AiGatewayTranscriptsManager",
|
|
8662
8674
|
"AiGatewayTranscriptsViewer",
|
|
8675
|
+
"AiGatewayUser",
|
|
8663
8676
|
"ConnectorManager",
|
|
8664
8677
|
"CreateProject",
|
|
8665
8678
|
"EnvVariableManager",
|
|
@@ -8687,12 +8700,12 @@ const userEventSchema = z__namespace.object({
|
|
|
8687
8700
|
role: z__namespace.string().optional(),
|
|
8688
8701
|
ssoType: z__namespace.string().optional(),
|
|
8689
8702
|
teamPermissions: z__namespace.array(z__namespace.enum([
|
|
8690
|
-
"AiGatewayApiKeyOwnedBySelf",
|
|
8691
8703
|
"AiGatewayBudgetManager",
|
|
8692
8704
|
"AiGatewayCredits",
|
|
8693
8705
|
"AiGatewaySettings",
|
|
8694
8706
|
"AiGatewayTranscriptsManager",
|
|
8695
8707
|
"AiGatewayTranscriptsViewer",
|
|
8708
|
+
"AiGatewayUser",
|
|
8696
8709
|
"ConnectorManager",
|
|
8697
8710
|
"CreateProject",
|
|
8698
8711
|
"EnvVariableManager",
|
|
@@ -8910,6 +8923,13 @@ const userEventSchema = z__namespace.object({
|
|
|
8910
8923
|
"limits-exceeded"
|
|
8911
8924
|
])
|
|
8912
8925
|
}).strict(),
|
|
8926
|
+
z__namespace.object({
|
|
8927
|
+
organizationId: z__namespace.string()
|
|
8928
|
+
}).strict(),
|
|
8929
|
+
z__namespace.object({
|
|
8930
|
+
organizationId: z__namespace.string(),
|
|
8931
|
+
teamIds: z__namespace.array(z__namespace.string())
|
|
8932
|
+
}).strict(),
|
|
8913
8933
|
z__namespace.object({
|
|
8914
8934
|
teamName: z__namespace.string().optional()
|
|
8915
8935
|
}).strict(),
|
|
@@ -10004,10 +10024,13 @@ const userEventSchema = z__namespace.object({
|
|
|
10004
10024
|
"organization-emu-team-updated",
|
|
10005
10025
|
"organization-emu-updated",
|
|
10006
10026
|
"organization-slug-update",
|
|
10027
|
+
"organization-sso-enforced",
|
|
10007
10028
|
"organization-team-add",
|
|
10008
10029
|
"organization-team-create",
|
|
10009
10030
|
"organization-team-delete",
|
|
10010
10031
|
"organization-team-sso-update",
|
|
10032
|
+
"organization-update-account-flow-dismissed",
|
|
10033
|
+
"organization-update-account-flow-triggered",
|
|
10011
10034
|
"owner-blocked",
|
|
10012
10035
|
"owner-soft-blocked",
|
|
10013
10036
|
"owner-soft-unblocked",
|
|
@@ -10776,10 +10799,13 @@ const listEventTypeSchema = z__namespace.object({
|
|
|
10776
10799
|
"organization-emu-team-updated",
|
|
10777
10800
|
"organization-emu-updated",
|
|
10778
10801
|
"organization-slug-update",
|
|
10802
|
+
"organization-sso-enforced",
|
|
10779
10803
|
"organization-team-add",
|
|
10780
10804
|
"organization-team-create",
|
|
10781
10805
|
"organization-team-delete",
|
|
10782
10806
|
"organization-team-sso-update",
|
|
10807
|
+
"organization-update-account-flow-dismissed",
|
|
10808
|
+
"organization-update-account-flow-triggered",
|
|
10783
10809
|
"owner-blocked",
|
|
10784
10810
|
"owner-soft-blocked",
|
|
10785
10811
|
"owner-soft-unblocked",
|
|
@@ -11464,10 +11490,13 @@ const listEventTypeSchema = z__namespace.object({
|
|
|
11464
11490
|
"organization-emu-team-updated",
|
|
11465
11491
|
"organization-emu-updated",
|
|
11466
11492
|
"organization-slug-update",
|
|
11493
|
+
"organization-sso-enforced",
|
|
11467
11494
|
"organization-team-add",
|
|
11468
11495
|
"organization-team-create",
|
|
11469
11496
|
"organization-team-delete",
|
|
11470
11497
|
"organization-team-sso-update",
|
|
11498
|
+
"organization-update-account-flow-dismissed",
|
|
11499
|
+
"organization-update-account-flow-triggered",
|
|
11471
11500
|
"owner-blocked",
|
|
11472
11501
|
"owner-soft-blocked",
|
|
11473
11502
|
"owner-soft-unblocked",
|
|
@@ -12892,12 +12921,12 @@ const invitedTeamMemberSchema = z__namespace.object({
|
|
|
12892
12921
|
]
|
|
12893
12922
|
}),
|
|
12894
12923
|
teamPermissions: z__namespace.array(z__namespace.enum([
|
|
12895
|
-
"AiGatewayApiKeyOwnedBySelf",
|
|
12896
12924
|
"AiGatewayBudgetManager",
|
|
12897
12925
|
"AiGatewayCredits",
|
|
12898
12926
|
"AiGatewaySettings",
|
|
12899
12927
|
"AiGatewayTranscriptsManager",
|
|
12900
12928
|
"AiGatewayTranscriptsViewer",
|
|
12929
|
+
"AiGatewayUser",
|
|
12901
12930
|
"ConnectorManager",
|
|
12902
12931
|
"CreateProject",
|
|
12903
12932
|
"EnvVariableManager",
|
|
@@ -13013,12 +13042,12 @@ const teamSchema = z__namespace.object({
|
|
|
13013
13042
|
}).optional().describe("Default job configuration applied to new projects created in this team."),
|
|
13014
13043
|
defaultRoles: z__namespace.object({
|
|
13015
13044
|
teamPermissions: z__namespace.array(z__namespace.enum([
|
|
13016
|
-
"AiGatewayApiKeyOwnedBySelf",
|
|
13017
13045
|
"AiGatewayBudgetManager",
|
|
13018
13046
|
"AiGatewayCredits",
|
|
13019
13047
|
"AiGatewaySettings",
|
|
13020
13048
|
"AiGatewayTranscriptsManager",
|
|
13021
13049
|
"AiGatewayTranscriptsViewer",
|
|
13050
|
+
"AiGatewayUser",
|
|
13022
13051
|
"ConnectorManager",
|
|
13023
13052
|
"CreateProject",
|
|
13024
13053
|
"EnvVariableManager",
|
|
@@ -13247,12 +13276,12 @@ const teamSchema = z__namespace.object({
|
|
|
13247
13276
|
]),
|
|
13248
13277
|
teamId: z__namespace.string().optional(),
|
|
13249
13278
|
teamPermissions: z__namespace.array(z__namespace.enum([
|
|
13250
|
-
"AiGatewayApiKeyOwnedBySelf",
|
|
13251
13279
|
"AiGatewayBudgetManager",
|
|
13252
13280
|
"AiGatewayCredits",
|
|
13253
13281
|
"AiGatewaySettings",
|
|
13254
13282
|
"AiGatewayTranscriptsManager",
|
|
13255
13283
|
"AiGatewayTranscriptsViewer",
|
|
13284
|
+
"AiGatewayUser",
|
|
13256
13285
|
"ConnectorManager",
|
|
13257
13286
|
"CreateProject",
|
|
13258
13287
|
"EnvVariableManager",
|
|
@@ -13566,12 +13595,12 @@ const teamLimitedSchema = z__namespace.object({
|
|
|
13566
13595
|
]),
|
|
13567
13596
|
teamId: z__namespace.string().optional(),
|
|
13568
13597
|
teamPermissions: z__namespace.array(z__namespace.enum([
|
|
13569
|
-
"AiGatewayApiKeyOwnedBySelf",
|
|
13570
13598
|
"AiGatewayBudgetManager",
|
|
13571
13599
|
"AiGatewayCredits",
|
|
13572
13600
|
"AiGatewaySettings",
|
|
13573
13601
|
"AiGatewayTranscriptsManager",
|
|
13574
13602
|
"AiGatewayTranscriptsViewer",
|
|
13603
|
+
"AiGatewayUser",
|
|
13575
13604
|
"ConnectorManager",
|
|
13576
13605
|
"CreateProject",
|
|
13577
13606
|
"EnvVariableManager",
|
package/dist/schemas.cjs
CHANGED
package/dist/schemas.d.mts
CHANGED
|
@@ -9,6 +9,7 @@ declare const aiGatewayVirtualModelConfigSchema: z.ZodObject<{
|
|
|
9
9
|
auto: "auto";
|
|
10
10
|
}>>;
|
|
11
11
|
createdAt: z.ZodNumber;
|
|
12
|
+
createdBy: z.ZodOptional<z.ZodString>;
|
|
12
13
|
deleted: z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>;
|
|
13
14
|
description: z.ZodOptional<z.ZodString>;
|
|
14
15
|
disallowPromptTraining: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
|
|
@@ -4548,12 +4549,12 @@ declare const userEventSchema: z.ZodObject<{
|
|
|
4548
4549
|
}>;
|
|
4549
4550
|
teamId: z.ZodString;
|
|
4550
4551
|
teamPermissions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
4551
|
-
AiGatewayApiKeyOwnedBySelf: "AiGatewayApiKeyOwnedBySelf";
|
|
4552
4552
|
AiGatewayBudgetManager: "AiGatewayBudgetManager";
|
|
4553
4553
|
AiGatewayCredits: "AiGatewayCredits";
|
|
4554
4554
|
AiGatewaySettings: "AiGatewaySettings";
|
|
4555
4555
|
AiGatewayTranscriptsManager: "AiGatewayTranscriptsManager";
|
|
4556
4556
|
AiGatewayTranscriptsViewer: "AiGatewayTranscriptsViewer";
|
|
4557
|
+
AiGatewayUser: "AiGatewayUser";
|
|
4557
4558
|
ConnectorManager: "ConnectorManager";
|
|
4558
4559
|
CreateProject: "CreateProject";
|
|
4559
4560
|
EnvVariableManager: "EnvVariableManager";
|
|
@@ -5038,6 +5039,11 @@ declare const userEventSchema: z.ZodObject<{
|
|
|
5038
5039
|
}>;
|
|
5039
5040
|
organizationId: z.ZodString;
|
|
5040
5041
|
teamId: z.ZodString;
|
|
5042
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5043
|
+
enforced: z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>;
|
|
5044
|
+
organizationId: z.ZodString;
|
|
5045
|
+
organizationSlug: z.ZodString;
|
|
5046
|
+
previousEnforced: z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>;
|
|
5041
5047
|
}, z.core.$strict>, z.ZodObject<{
|
|
5042
5048
|
mode: z.ZodEnum<{
|
|
5043
5049
|
organization: "organization";
|
|
@@ -6936,12 +6942,12 @@ declare const userEventSchema: z.ZodObject<{
|
|
|
6936
6942
|
origin: z.ZodOptional<z.ZodString>;
|
|
6937
6943
|
previousRole: z.ZodString;
|
|
6938
6944
|
previousTeamPermissions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
6939
|
-
AiGatewayApiKeyOwnedBySelf: "AiGatewayApiKeyOwnedBySelf";
|
|
6940
6945
|
AiGatewayBudgetManager: "AiGatewayBudgetManager";
|
|
6941
6946
|
AiGatewayCredits: "AiGatewayCredits";
|
|
6942
6947
|
AiGatewaySettings: "AiGatewaySettings";
|
|
6943
6948
|
AiGatewayTranscriptsManager: "AiGatewayTranscriptsManager";
|
|
6944
6949
|
AiGatewayTranscriptsViewer: "AiGatewayTranscriptsViewer";
|
|
6950
|
+
AiGatewayUser: "AiGatewayUser";
|
|
6945
6951
|
ConnectorManager: "ConnectorManager";
|
|
6946
6952
|
CreateProject: "CreateProject";
|
|
6947
6953
|
EnvVariableManager: "EnvVariableManager";
|
|
@@ -6969,12 +6975,12 @@ declare const userEventSchema: z.ZodObject<{
|
|
|
6969
6975
|
role: z.ZodOptional<z.ZodString>;
|
|
6970
6976
|
ssoType: z.ZodOptional<z.ZodString>;
|
|
6971
6977
|
teamPermissions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
6972
|
-
AiGatewayApiKeyOwnedBySelf: "AiGatewayApiKeyOwnedBySelf";
|
|
6973
6978
|
AiGatewayBudgetManager: "AiGatewayBudgetManager";
|
|
6974
6979
|
AiGatewayCredits: "AiGatewayCredits";
|
|
6975
6980
|
AiGatewaySettings: "AiGatewaySettings";
|
|
6976
6981
|
AiGatewayTranscriptsManager: "AiGatewayTranscriptsManager";
|
|
6977
6982
|
AiGatewayTranscriptsViewer: "AiGatewayTranscriptsViewer";
|
|
6983
|
+
AiGatewayUser: "AiGatewayUser";
|
|
6978
6984
|
ConnectorManager: "ConnectorManager";
|
|
6979
6985
|
CreateProject: "CreateProject";
|
|
6980
6986
|
EnvVariableManager: "EnvVariableManager";
|
|
@@ -7145,6 +7151,11 @@ declare const userEventSchema: z.ZodObject<{
|
|
|
7145
7151
|
reason: z.ZodEnum<{
|
|
7146
7152
|
"limits-exceeded": "limits-exceeded";
|
|
7147
7153
|
}>;
|
|
7154
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7155
|
+
organizationId: z.ZodString;
|
|
7156
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7157
|
+
organizationId: z.ZodString;
|
|
7158
|
+
teamIds: z.ZodArray<z.ZodString>;
|
|
7148
7159
|
}, z.core.$strict>, z.ZodObject<{
|
|
7149
7160
|
teamName: z.ZodOptional<z.ZodString>;
|
|
7150
7161
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -8096,10 +8107,13 @@ declare const userEventSchema: z.ZodObject<{
|
|
|
8096
8107
|
"organization-emu-team-updated": "organization-emu-team-updated";
|
|
8097
8108
|
"organization-emu-updated": "organization-emu-updated";
|
|
8098
8109
|
"organization-slug-update": "organization-slug-update";
|
|
8110
|
+
"organization-sso-enforced": "organization-sso-enforced";
|
|
8099
8111
|
"organization-team-add": "organization-team-add";
|
|
8100
8112
|
"organization-team-create": "organization-team-create";
|
|
8101
8113
|
"organization-team-delete": "organization-team-delete";
|
|
8102
8114
|
"organization-team-sso-update": "organization-team-sso-update";
|
|
8115
|
+
"organization-update-account-flow-dismissed": "organization-update-account-flow-dismissed";
|
|
8116
|
+
"organization-update-account-flow-triggered": "organization-update-account-flow-triggered";
|
|
8103
8117
|
"owner-blocked": "owner-blocked";
|
|
8104
8118
|
"owner-soft-blocked": "owner-soft-blocked";
|
|
8105
8119
|
"owner-soft-unblocked": "owner-soft-unblocked";
|
|
@@ -8846,10 +8860,13 @@ declare const listEventTypeSchema: z.ZodObject<{
|
|
|
8846
8860
|
"organization-emu-team-updated": "organization-emu-team-updated";
|
|
8847
8861
|
"organization-emu-updated": "organization-emu-updated";
|
|
8848
8862
|
"organization-slug-update": "organization-slug-update";
|
|
8863
|
+
"organization-sso-enforced": "organization-sso-enforced";
|
|
8849
8864
|
"organization-team-add": "organization-team-add";
|
|
8850
8865
|
"organization-team-create": "organization-team-create";
|
|
8851
8866
|
"organization-team-delete": "organization-team-delete";
|
|
8852
8867
|
"organization-team-sso-update": "organization-team-sso-update";
|
|
8868
|
+
"organization-update-account-flow-dismissed": "organization-update-account-flow-dismissed";
|
|
8869
|
+
"organization-update-account-flow-triggered": "organization-update-account-flow-triggered";
|
|
8853
8870
|
"owner-blocked": "owner-blocked";
|
|
8854
8871
|
"owner-soft-blocked": "owner-soft-blocked";
|
|
8855
8872
|
"owner-soft-unblocked": "owner-soft-unblocked";
|
|
@@ -9530,10 +9547,13 @@ declare const listEventTypeSchema: z.ZodObject<{
|
|
|
9530
9547
|
"organization-emu-team-updated": "organization-emu-team-updated";
|
|
9531
9548
|
"organization-emu-updated": "organization-emu-updated";
|
|
9532
9549
|
"organization-slug-update": "organization-slug-update";
|
|
9550
|
+
"organization-sso-enforced": "organization-sso-enforced";
|
|
9533
9551
|
"organization-team-add": "organization-team-add";
|
|
9534
9552
|
"organization-team-create": "organization-team-create";
|
|
9535
9553
|
"organization-team-delete": "organization-team-delete";
|
|
9536
9554
|
"organization-team-sso-update": "organization-team-sso-update";
|
|
9555
|
+
"organization-update-account-flow-dismissed": "organization-update-account-flow-dismissed";
|
|
9556
|
+
"organization-update-account-flow-triggered": "organization-update-account-flow-triggered";
|
|
9537
9557
|
"owner-blocked": "owner-blocked";
|
|
9538
9558
|
"owner-soft-blocked": "owner-soft-blocked";
|
|
9539
9559
|
"owner-soft-unblocked": "owner-soft-unblocked";
|
|
@@ -10482,12 +10502,12 @@ declare const invitedTeamMemberSchema: z.ZodObject<{
|
|
|
10482
10502
|
CONTRIBUTOR: "CONTRIBUTOR";
|
|
10483
10503
|
}>;
|
|
10484
10504
|
teamPermissions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
10485
|
-
AiGatewayApiKeyOwnedBySelf: "AiGatewayApiKeyOwnedBySelf";
|
|
10486
10505
|
AiGatewayBudgetManager: "AiGatewayBudgetManager";
|
|
10487
10506
|
AiGatewayCredits: "AiGatewayCredits";
|
|
10488
10507
|
AiGatewaySettings: "AiGatewaySettings";
|
|
10489
10508
|
AiGatewayTranscriptsManager: "AiGatewayTranscriptsManager";
|
|
10490
10509
|
AiGatewayTranscriptsViewer: "AiGatewayTranscriptsViewer";
|
|
10510
|
+
AiGatewayUser: "AiGatewayUser";
|
|
10491
10511
|
ConnectorManager: "ConnectorManager";
|
|
10492
10512
|
CreateProject: "CreateProject";
|
|
10493
10513
|
EnvVariableManager: "EnvVariableManager";
|
|
@@ -10568,12 +10588,12 @@ declare const teamSchema: z.ZodObject<{
|
|
|
10568
10588
|
}, z.core.$strip>>;
|
|
10569
10589
|
defaultRoles: z.ZodOptional<z.ZodObject<{
|
|
10570
10590
|
teamPermissions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
10571
|
-
AiGatewayApiKeyOwnedBySelf: "AiGatewayApiKeyOwnedBySelf";
|
|
10572
10591
|
AiGatewayBudgetManager: "AiGatewayBudgetManager";
|
|
10573
10592
|
AiGatewayCredits: "AiGatewayCredits";
|
|
10574
10593
|
AiGatewaySettings: "AiGatewaySettings";
|
|
10575
10594
|
AiGatewayTranscriptsManager: "AiGatewayTranscriptsManager";
|
|
10576
10595
|
AiGatewayTranscriptsViewer: "AiGatewayTranscriptsViewer";
|
|
10596
|
+
AiGatewayUser: "AiGatewayUser";
|
|
10577
10597
|
ConnectorManager: "ConnectorManager";
|
|
10578
10598
|
CreateProject: "CreateProject";
|
|
10579
10599
|
EnvVariableManager: "EnvVariableManager";
|
|
@@ -10750,12 +10770,12 @@ declare const teamSchema: z.ZodObject<{
|
|
|
10750
10770
|
}>;
|
|
10751
10771
|
teamId: z.ZodOptional<z.ZodString>;
|
|
10752
10772
|
teamPermissions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
10753
|
-
AiGatewayApiKeyOwnedBySelf: "AiGatewayApiKeyOwnedBySelf";
|
|
10754
10773
|
AiGatewayBudgetManager: "AiGatewayBudgetManager";
|
|
10755
10774
|
AiGatewayCredits: "AiGatewayCredits";
|
|
10756
10775
|
AiGatewaySettings: "AiGatewaySettings";
|
|
10757
10776
|
AiGatewayTranscriptsManager: "AiGatewayTranscriptsManager";
|
|
10758
10777
|
AiGatewayTranscriptsViewer: "AiGatewayTranscriptsViewer";
|
|
10778
|
+
AiGatewayUser: "AiGatewayUser";
|
|
10759
10779
|
ConnectorManager: "ConnectorManager";
|
|
10760
10780
|
CreateProject: "CreateProject";
|
|
10761
10781
|
EnvVariableManager: "EnvVariableManager";
|
|
@@ -10953,12 +10973,12 @@ declare const teamLimitedSchema: z.ZodObject<{
|
|
|
10953
10973
|
}>;
|
|
10954
10974
|
teamId: z.ZodOptional<z.ZodString>;
|
|
10955
10975
|
teamPermissions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
10956
|
-
AiGatewayApiKeyOwnedBySelf: "AiGatewayApiKeyOwnedBySelf";
|
|
10957
10976
|
AiGatewayBudgetManager: "AiGatewayBudgetManager";
|
|
10958
10977
|
AiGatewayCredits: "AiGatewayCredits";
|
|
10959
10978
|
AiGatewaySettings: "AiGatewaySettings";
|
|
10960
10979
|
AiGatewayTranscriptsManager: "AiGatewayTranscriptsManager";
|
|
10961
10980
|
AiGatewayTranscriptsViewer: "AiGatewayTranscriptsViewer";
|
|
10981
|
+
AiGatewayUser: "AiGatewayUser";
|
|
10962
10982
|
ConnectorManager: "ConnectorManager";
|
|
10963
10983
|
CreateProject: "CreateProject";
|
|
10964
10984
|
EnvVariableManager: "EnvVariableManager";
|