vercel-api-js 1.30.0 → 1.31.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.
@@ -9153,6 +9153,39 @@ const userEventSchema = z.object({
9153
9153
  z.strictObject({
9154
9154
  accessGroupId: z.string()
9155
9155
  }),
9156
+ z.strictObject({
9157
+ teamPermissions: z.array(z.enum([
9158
+ "AiGatewayBudgetManager",
9159
+ "AiGatewayCredits",
9160
+ "AiGatewaySettings",
9161
+ "AiGatewayTranscriptsManager",
9162
+ "AiGatewayTranscriptsViewer",
9163
+ "AiGatewayUser",
9164
+ "ConnectorManager",
9165
+ "CreateProject",
9166
+ "EnvVariableManager",
9167
+ "EnvironmentManager",
9168
+ "FullProductionDeployment",
9169
+ "IntegrationManager",
9170
+ "OrgAdmin",
9171
+ "OrgViewer",
9172
+ "UsageViewer",
9173
+ "V0Builder",
9174
+ "V0Chatter",
9175
+ "V0Viewer",
9176
+ "WorkflowDecryptor"
9177
+ ])).optional(),
9178
+ teamRoles: z.array(z.enum([
9179
+ "BILLING",
9180
+ "CONTRIBUTOR",
9181
+ "DEVELOPER",
9182
+ "MEMBER",
9183
+ "OWNER",
9184
+ "SECURITY",
9185
+ "VIEWER",
9186
+ "VIEWER_FOR_PLUS"
9187
+ ]))
9188
+ }),
9156
9189
  z.enum([
9157
9190
  "BILLING",
9158
9191
  "CONTRIBUTOR",
@@ -9168,6 +9201,39 @@ const userEventSchema = z.object({
9168
9201
  z.strictObject({
9169
9202
  accessGroupId: z.string()
9170
9203
  }),
9204
+ z.strictObject({
9205
+ teamPermissions: z.array(z.enum([
9206
+ "AiGatewayBudgetManager",
9207
+ "AiGatewayCredits",
9208
+ "AiGatewaySettings",
9209
+ "AiGatewayTranscriptsManager",
9210
+ "AiGatewayTranscriptsViewer",
9211
+ "AiGatewayUser",
9212
+ "ConnectorManager",
9213
+ "CreateProject",
9214
+ "EnvVariableManager",
9215
+ "EnvironmentManager",
9216
+ "FullProductionDeployment",
9217
+ "IntegrationManager",
9218
+ "OrgAdmin",
9219
+ "OrgViewer",
9220
+ "UsageViewer",
9221
+ "V0Builder",
9222
+ "V0Chatter",
9223
+ "V0Viewer",
9224
+ "WorkflowDecryptor"
9225
+ ])).optional(),
9226
+ teamRoles: z.array(z.enum([
9227
+ "BILLING",
9228
+ "CONTRIBUTOR",
9229
+ "DEVELOPER",
9230
+ "MEMBER",
9231
+ "OWNER",
9232
+ "SECURITY",
9233
+ "VIEWER",
9234
+ "VIEWER_FOR_PLUS"
9235
+ ]))
9236
+ }),
9171
9237
  z.enum([
9172
9238
  "BILLING",
9173
9239
  "CONTRIBUTOR",
@@ -13853,6 +13919,39 @@ const teamSchema = z.object({
13853
13919
  z.strictObject({
13854
13920
  accessGroupId: z.string()
13855
13921
  }),
13922
+ z.strictObject({
13923
+ teamPermissions: z.array(z.enum([
13924
+ "AiGatewayBudgetManager",
13925
+ "AiGatewayCredits",
13926
+ "AiGatewaySettings",
13927
+ "AiGatewayTranscriptsManager",
13928
+ "AiGatewayTranscriptsViewer",
13929
+ "AiGatewayUser",
13930
+ "ConnectorManager",
13931
+ "CreateProject",
13932
+ "EnvVariableManager",
13933
+ "EnvironmentManager",
13934
+ "FullProductionDeployment",
13935
+ "IntegrationManager",
13936
+ "OrgAdmin",
13937
+ "OrgViewer",
13938
+ "UsageViewer",
13939
+ "V0Builder",
13940
+ "V0Chatter",
13941
+ "V0Viewer",
13942
+ "WorkflowDecryptor"
13943
+ ])).optional(),
13944
+ teamRoles: z.array(z.enum([
13945
+ "BILLING",
13946
+ "CONTRIBUTOR",
13947
+ "DEVELOPER",
13948
+ "MEMBER",
13949
+ "OWNER",
13950
+ "SECURITY",
13951
+ "VIEWER",
13952
+ "VIEWER_FOR_PLUS"
13953
+ ]))
13954
+ }),
13856
13955
  z.enum([
13857
13956
  "BILLING",
13858
13957
  "CONTRIBUTOR",
@@ -13863,7 +13962,7 @@ const teamSchema = z.object({
13863
13962
  "VIEWER",
13864
13963
  "VIEWER_FOR_PLUS"
13865
13964
  ])
13866
- ])).optional().describe('When "Directory Sync" is configured, this object contains a mapping of which Directory Group (by ID) should be assigned to which Vercel Team "role".')
13965
+ ])).optional().describe('When "Directory Sync" is configured, this object contains a mapping of which Directory Group (by ID) should be assigned to which Vercel Team roles and permissions, or an access group. Bare team roles are deprecated in favor of DirectorySyncRolesMapping.')
13867
13966
  }).optional().describe('When "Single Sign-On (SAML)" is configured, this object contains information regarding the configuration of the Identity Provider (IdP).'),
13868
13967
  sensitiveEnvironmentVariablePolicy: z.enum([
13869
13968
  "default",
@@ -9173,6 +9173,39 @@ const userEventSchema = z__namespace.object({
9173
9173
  z__namespace.strictObject({
9174
9174
  accessGroupId: z__namespace.string()
9175
9175
  }),
9176
+ z__namespace.strictObject({
9177
+ teamPermissions: z__namespace.array(z__namespace.enum([
9178
+ "AiGatewayBudgetManager",
9179
+ "AiGatewayCredits",
9180
+ "AiGatewaySettings",
9181
+ "AiGatewayTranscriptsManager",
9182
+ "AiGatewayTranscriptsViewer",
9183
+ "AiGatewayUser",
9184
+ "ConnectorManager",
9185
+ "CreateProject",
9186
+ "EnvVariableManager",
9187
+ "EnvironmentManager",
9188
+ "FullProductionDeployment",
9189
+ "IntegrationManager",
9190
+ "OrgAdmin",
9191
+ "OrgViewer",
9192
+ "UsageViewer",
9193
+ "V0Builder",
9194
+ "V0Chatter",
9195
+ "V0Viewer",
9196
+ "WorkflowDecryptor"
9197
+ ])).optional(),
9198
+ teamRoles: z__namespace.array(z__namespace.enum([
9199
+ "BILLING",
9200
+ "CONTRIBUTOR",
9201
+ "DEVELOPER",
9202
+ "MEMBER",
9203
+ "OWNER",
9204
+ "SECURITY",
9205
+ "VIEWER",
9206
+ "VIEWER_FOR_PLUS"
9207
+ ]))
9208
+ }),
9176
9209
  z__namespace.enum([
9177
9210
  "BILLING",
9178
9211
  "CONTRIBUTOR",
@@ -9188,6 +9221,39 @@ const userEventSchema = z__namespace.object({
9188
9221
  z__namespace.strictObject({
9189
9222
  accessGroupId: z__namespace.string()
9190
9223
  }),
9224
+ z__namespace.strictObject({
9225
+ teamPermissions: z__namespace.array(z__namespace.enum([
9226
+ "AiGatewayBudgetManager",
9227
+ "AiGatewayCredits",
9228
+ "AiGatewaySettings",
9229
+ "AiGatewayTranscriptsManager",
9230
+ "AiGatewayTranscriptsViewer",
9231
+ "AiGatewayUser",
9232
+ "ConnectorManager",
9233
+ "CreateProject",
9234
+ "EnvVariableManager",
9235
+ "EnvironmentManager",
9236
+ "FullProductionDeployment",
9237
+ "IntegrationManager",
9238
+ "OrgAdmin",
9239
+ "OrgViewer",
9240
+ "UsageViewer",
9241
+ "V0Builder",
9242
+ "V0Chatter",
9243
+ "V0Viewer",
9244
+ "WorkflowDecryptor"
9245
+ ])).optional(),
9246
+ teamRoles: z__namespace.array(z__namespace.enum([
9247
+ "BILLING",
9248
+ "CONTRIBUTOR",
9249
+ "DEVELOPER",
9250
+ "MEMBER",
9251
+ "OWNER",
9252
+ "SECURITY",
9253
+ "VIEWER",
9254
+ "VIEWER_FOR_PLUS"
9255
+ ]))
9256
+ }),
9191
9257
  z__namespace.enum([
9192
9258
  "BILLING",
9193
9259
  "CONTRIBUTOR",
@@ -13873,6 +13939,39 @@ const teamSchema = z__namespace.object({
13873
13939
  z__namespace.strictObject({
13874
13940
  accessGroupId: z__namespace.string()
13875
13941
  }),
13942
+ z__namespace.strictObject({
13943
+ teamPermissions: z__namespace.array(z__namespace.enum([
13944
+ "AiGatewayBudgetManager",
13945
+ "AiGatewayCredits",
13946
+ "AiGatewaySettings",
13947
+ "AiGatewayTranscriptsManager",
13948
+ "AiGatewayTranscriptsViewer",
13949
+ "AiGatewayUser",
13950
+ "ConnectorManager",
13951
+ "CreateProject",
13952
+ "EnvVariableManager",
13953
+ "EnvironmentManager",
13954
+ "FullProductionDeployment",
13955
+ "IntegrationManager",
13956
+ "OrgAdmin",
13957
+ "OrgViewer",
13958
+ "UsageViewer",
13959
+ "V0Builder",
13960
+ "V0Chatter",
13961
+ "V0Viewer",
13962
+ "WorkflowDecryptor"
13963
+ ])).optional(),
13964
+ teamRoles: z__namespace.array(z__namespace.enum([
13965
+ "BILLING",
13966
+ "CONTRIBUTOR",
13967
+ "DEVELOPER",
13968
+ "MEMBER",
13969
+ "OWNER",
13970
+ "SECURITY",
13971
+ "VIEWER",
13972
+ "VIEWER_FOR_PLUS"
13973
+ ]))
13974
+ }),
13876
13975
  z__namespace.enum([
13877
13976
  "BILLING",
13878
13977
  "CONTRIBUTOR",
@@ -13883,7 +13982,7 @@ const teamSchema = z__namespace.object({
13883
13982
  "VIEWER",
13884
13983
  "VIEWER_FOR_PLUS"
13885
13984
  ])
13886
- ])).optional().describe('When "Directory Sync" is configured, this object contains a mapping of which Directory Group (by ID) should be assigned to which Vercel Team "role".')
13985
+ ])).optional().describe('When "Directory Sync" is configured, this object contains a mapping of which Directory Group (by ID) should be assigned to which Vercel Team roles and permissions, or an access group. Bare team roles are deprecated in favor of DirectorySyncRolesMapping.')
13887
13986
  }).optional().describe('When "Single Sign-On (SAML)" is configured, this object contains information regarding the configuration of the Identity Provider (IdP).'),
13888
13987
  sensitiveEnvironmentVariablePolicy: z__namespace.enum([
13889
13988
  "default",
package/dist/schemas.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, '__esModule', { value: true });
2
2
 
3
- var schemas = require('./schemas-jltjgv4s.cjs');
3
+ var schemas = require('./schemas-loxs3r1h.cjs');
4
4
 
5
5
 
6
6
 
@@ -7397,6 +7397,38 @@ declare const userEventSchema: z.ZodObject<{
7397
7397
  }, z.core.$strict>, z.ZodObject<{
7398
7398
  next: z.ZodOptional<z.ZodObject<{}, z.core.$catchall<z.ZodUnion<readonly [z.ZodObject<{
7399
7399
  accessGroupId: z.ZodString;
7400
+ }, z.core.$strict>, z.ZodObject<{
7401
+ teamPermissions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
7402
+ AiGatewayBudgetManager: "AiGatewayBudgetManager";
7403
+ AiGatewayCredits: "AiGatewayCredits";
7404
+ AiGatewaySettings: "AiGatewaySettings";
7405
+ AiGatewayTranscriptsManager: "AiGatewayTranscriptsManager";
7406
+ AiGatewayTranscriptsViewer: "AiGatewayTranscriptsViewer";
7407
+ AiGatewayUser: "AiGatewayUser";
7408
+ ConnectorManager: "ConnectorManager";
7409
+ CreateProject: "CreateProject";
7410
+ EnvVariableManager: "EnvVariableManager";
7411
+ EnvironmentManager: "EnvironmentManager";
7412
+ FullProductionDeployment: "FullProductionDeployment";
7413
+ IntegrationManager: "IntegrationManager";
7414
+ OrgAdmin: "OrgAdmin";
7415
+ OrgViewer: "OrgViewer";
7416
+ UsageViewer: "UsageViewer";
7417
+ V0Builder: "V0Builder";
7418
+ V0Chatter: "V0Chatter";
7419
+ V0Viewer: "V0Viewer";
7420
+ WorkflowDecryptor: "WorkflowDecryptor";
7421
+ }>>>;
7422
+ teamRoles: z.ZodArray<z.ZodEnum<{
7423
+ OWNER: "OWNER";
7424
+ MEMBER: "MEMBER";
7425
+ DEVELOPER: "DEVELOPER";
7426
+ SECURITY: "SECURITY";
7427
+ BILLING: "BILLING";
7428
+ VIEWER: "VIEWER";
7429
+ VIEWER_FOR_PLUS: "VIEWER_FOR_PLUS";
7430
+ CONTRIBUTOR: "CONTRIBUTOR";
7431
+ }>>;
7400
7432
  }, z.core.$strict>, z.ZodEnum<{
7401
7433
  OWNER: "OWNER";
7402
7434
  MEMBER: "MEMBER";
@@ -7409,6 +7441,38 @@ declare const userEventSchema: z.ZodObject<{
7409
7441
  }>]>>>>;
7410
7442
  previous: z.ZodOptional<z.ZodObject<{}, z.core.$catchall<z.ZodUnion<readonly [z.ZodObject<{
7411
7443
  accessGroupId: z.ZodString;
7444
+ }, z.core.$strict>, z.ZodObject<{
7445
+ teamPermissions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
7446
+ AiGatewayBudgetManager: "AiGatewayBudgetManager";
7447
+ AiGatewayCredits: "AiGatewayCredits";
7448
+ AiGatewaySettings: "AiGatewaySettings";
7449
+ AiGatewayTranscriptsManager: "AiGatewayTranscriptsManager";
7450
+ AiGatewayTranscriptsViewer: "AiGatewayTranscriptsViewer";
7451
+ AiGatewayUser: "AiGatewayUser";
7452
+ ConnectorManager: "ConnectorManager";
7453
+ CreateProject: "CreateProject";
7454
+ EnvVariableManager: "EnvVariableManager";
7455
+ EnvironmentManager: "EnvironmentManager";
7456
+ FullProductionDeployment: "FullProductionDeployment";
7457
+ IntegrationManager: "IntegrationManager";
7458
+ OrgAdmin: "OrgAdmin";
7459
+ OrgViewer: "OrgViewer";
7460
+ UsageViewer: "UsageViewer";
7461
+ V0Builder: "V0Builder";
7462
+ V0Chatter: "V0Chatter";
7463
+ V0Viewer: "V0Viewer";
7464
+ WorkflowDecryptor: "WorkflowDecryptor";
7465
+ }>>>;
7466
+ teamRoles: z.ZodArray<z.ZodEnum<{
7467
+ OWNER: "OWNER";
7468
+ MEMBER: "MEMBER";
7469
+ DEVELOPER: "DEVELOPER";
7470
+ SECURITY: "SECURITY";
7471
+ BILLING: "BILLING";
7472
+ VIEWER: "VIEWER";
7473
+ VIEWER_FOR_PLUS: "VIEWER_FOR_PLUS";
7474
+ CONTRIBUTOR: "CONTRIBUTOR";
7475
+ }>>;
7412
7476
  }, z.core.$strict>, z.ZodEnum<{
7413
7477
  OWNER: "OWNER";
7414
7478
  MEMBER: "MEMBER";
@@ -11270,6 +11334,38 @@ declare const teamSchema: z.ZodObject<{
11270
11334
  enforced: z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>;
11271
11335
  roles: z.ZodOptional<z.ZodObject<{}, z.core.$catchall<z.ZodUnion<readonly [z.ZodObject<{
11272
11336
  accessGroupId: z.ZodString;
11337
+ }, z.core.$strict>, z.ZodObject<{
11338
+ teamPermissions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
11339
+ AiGatewayBudgetManager: "AiGatewayBudgetManager";
11340
+ AiGatewayCredits: "AiGatewayCredits";
11341
+ AiGatewaySettings: "AiGatewaySettings";
11342
+ AiGatewayTranscriptsManager: "AiGatewayTranscriptsManager";
11343
+ AiGatewayTranscriptsViewer: "AiGatewayTranscriptsViewer";
11344
+ AiGatewayUser: "AiGatewayUser";
11345
+ ConnectorManager: "ConnectorManager";
11346
+ CreateProject: "CreateProject";
11347
+ EnvVariableManager: "EnvVariableManager";
11348
+ EnvironmentManager: "EnvironmentManager";
11349
+ FullProductionDeployment: "FullProductionDeployment";
11350
+ IntegrationManager: "IntegrationManager";
11351
+ OrgAdmin: "OrgAdmin";
11352
+ OrgViewer: "OrgViewer";
11353
+ UsageViewer: "UsageViewer";
11354
+ V0Builder: "V0Builder";
11355
+ V0Chatter: "V0Chatter";
11356
+ V0Viewer: "V0Viewer";
11357
+ WorkflowDecryptor: "WorkflowDecryptor";
11358
+ }>>>;
11359
+ teamRoles: z.ZodArray<z.ZodEnum<{
11360
+ OWNER: "OWNER";
11361
+ MEMBER: "MEMBER";
11362
+ DEVELOPER: "DEVELOPER";
11363
+ SECURITY: "SECURITY";
11364
+ BILLING: "BILLING";
11365
+ VIEWER: "VIEWER";
11366
+ VIEWER_FOR_PLUS: "VIEWER_FOR_PLUS";
11367
+ CONTRIBUTOR: "CONTRIBUTOR";
11368
+ }>>;
11273
11369
  }, z.core.$strict>, z.ZodEnum<{
11274
11370
  OWNER: "OWNER";
11275
11371
  MEMBER: "MEMBER";