vercel-api-js 1.23.1 → 1.24.1

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.
@@ -2930,6 +2930,77 @@ const userEventSchema = z__namespace.object({
2930
2930
  z__namespace.object({
2931
2931
  suffix: z__namespace.string()
2932
2932
  }).strict(),
2933
+ z__namespace.object({
2934
+ oldPasswordProtection: z__namespace.object({
2935
+ deploymentType: z__namespace.enum([
2936
+ "all",
2937
+ "all_except_custom_domains",
2938
+ "preview",
2939
+ "prod_deployment_urls_and_all_previews"
2940
+ ])
2941
+ }).nullable(),
2942
+ passwordChanged: z__namespace.union([
2943
+ z__namespace.literal(false),
2944
+ z__namespace.literal(true)
2945
+ ]).optional(),
2946
+ passwordProtection: z__namespace.object({
2947
+ deploymentType: z__namespace.enum([
2948
+ "all",
2949
+ "all_except_custom_domains",
2950
+ "preview",
2951
+ "prod_deployment_urls_and_all_previews"
2952
+ ])
2953
+ }).nullable(),
2954
+ scope: z__namespace.enum([
2955
+ "team"
2956
+ ])
2957
+ }).strict(),
2958
+ z__namespace.object({
2959
+ oldSsoProtection: z__namespace.object({
2960
+ april2026SecurityIncidentMigrationAppliedFrom: z__namespace.enum([
2961
+ "all",
2962
+ "all_except_custom_domains",
2963
+ "preview",
2964
+ "prod_deployment_urls_and_all_previews"
2965
+ ]).nullish(),
2966
+ cve55182MigrationAppliedFrom: z__namespace.enum([
2967
+ "all",
2968
+ "all_except_custom_domains",
2969
+ "preview",
2970
+ "prod_deployment_urls_and_all_previews"
2971
+ ]).nullish(),
2972
+ deploymentType: z__namespace.enum([
2973
+ "all",
2974
+ "all_except_custom_domains",
2975
+ "preview",
2976
+ "prod_deployment_urls_and_all_previews"
2977
+ ])
2978
+ }).nullable(),
2979
+ scope: z__namespace.enum([
2980
+ "organization",
2981
+ "team"
2982
+ ]),
2983
+ ssoProtection: z__namespace.object({
2984
+ april2026SecurityIncidentMigrationAppliedFrom: z__namespace.enum([
2985
+ "all",
2986
+ "all_except_custom_domains",
2987
+ "preview",
2988
+ "prod_deployment_urls_and_all_previews"
2989
+ ]).nullish(),
2990
+ cve55182MigrationAppliedFrom: z__namespace.enum([
2991
+ "all",
2992
+ "all_except_custom_domains",
2993
+ "preview",
2994
+ "prod_deployment_urls_and_all_previews"
2995
+ ]).nullish(),
2996
+ deploymentType: z__namespace.enum([
2997
+ "all",
2998
+ "all_except_custom_domains",
2999
+ "preview",
3000
+ "prod_deployment_urls_and_all_previews"
3001
+ ])
3002
+ }).nullable()
3003
+ }).strict(),
2933
3004
  z__namespace.object({
2934
3005
  hookName: z__namespace.string(),
2935
3006
  projectId: z__namespace.string(),
@@ -4213,6 +4284,25 @@ const userEventSchema = z__namespace.object({
4213
4284
  ]
4214
4285
  }),
4215
4286
  lastEditedByDisplayName: z__namespace.string().optional().describe("The last editor full name or username."),
4287
+ lastEditedByPrincipal: z__namespace.discriminatedUnion("type", [
4288
+ z__namespace.object({
4289
+ avatar: z__namespace.string().optional(),
4290
+ id: z__namespace.string(),
4291
+ name: z__namespace.string().nullish(),
4292
+ type: z__namespace.enum([
4293
+ "user"
4294
+ ]),
4295
+ username: z__namespace.string()
4296
+ }).strict(),
4297
+ z__namespace.object({
4298
+ avatar: z__namespace.string().optional(),
4299
+ id: z__namespace.string(),
4300
+ name: z__namespace.string(),
4301
+ type: z__namespace.enum([
4302
+ "app"
4303
+ ])
4304
+ }).strict()
4305
+ ]).optional(),
4216
4306
  ownerId: z__namespace.string().nullish().describe("The unique identifier of the owner (team) the Shared Env Var was created for.").meta({
4217
4307
  examples: [
4218
4308
  "team_LLHUOMOoDlqOp8wPE4kFo9pE"
@@ -4319,6 +4409,25 @@ const userEventSchema = z__namespace.object({
4319
4409
  ]
4320
4410
  }),
4321
4411
  lastEditedByDisplayName: z__namespace.string().optional().describe("The last editor full name or username."),
4412
+ lastEditedByPrincipal: z__namespace.discriminatedUnion("type", [
4413
+ z__namespace.object({
4414
+ avatar: z__namespace.string().optional(),
4415
+ id: z__namespace.string(),
4416
+ name: z__namespace.string().nullish(),
4417
+ type: z__namespace.enum([
4418
+ "user"
4419
+ ]),
4420
+ username: z__namespace.string()
4421
+ }).strict(),
4422
+ z__namespace.object({
4423
+ avatar: z__namespace.string().optional(),
4424
+ id: z__namespace.string(),
4425
+ name: z__namespace.string(),
4426
+ type: z__namespace.enum([
4427
+ "app"
4428
+ ])
4429
+ }).strict()
4430
+ ]).optional(),
4322
4431
  ownerId: z__namespace.string().nullish().describe("The unique identifier of the owner (team) the Shared Env Var was created for.").meta({
4323
4432
  examples: [
4324
4433
  "team_LLHUOMOoDlqOp8wPE4kFo9pE"
@@ -4410,6 +4519,25 @@ const userEventSchema = z__namespace.object({
4410
4519
  ]
4411
4520
  }),
4412
4521
  lastEditedByDisplayName: z__namespace.string().optional().describe("The last editor full name or username."),
4522
+ lastEditedByPrincipal: z__namespace.discriminatedUnion("type", [
4523
+ z__namespace.object({
4524
+ avatar: z__namespace.string().optional(),
4525
+ id: z__namespace.string(),
4526
+ name: z__namespace.string().nullish(),
4527
+ type: z__namespace.enum([
4528
+ "user"
4529
+ ]),
4530
+ username: z__namespace.string()
4531
+ }).strict(),
4532
+ z__namespace.object({
4533
+ avatar: z__namespace.string().optional(),
4534
+ id: z__namespace.string(),
4535
+ name: z__namespace.string(),
4536
+ type: z__namespace.enum([
4537
+ "app"
4538
+ ])
4539
+ }).strict()
4540
+ ]).optional(),
4413
4541
  ownerId: z__namespace.string().nullish().describe("The unique identifier of the owner (team) the Shared Env Var was created for.").meta({
4414
4542
  examples: [
4415
4543
  "team_LLHUOMOoDlqOp8wPE4kFo9pE"
@@ -6334,9 +6462,11 @@ const userEventSchema = z__namespace.object({
6334
6462
  "directory_sync_updated",
6335
6463
  "domain_deleted",
6336
6464
  "domain_verified",
6465
+ "organization_deleted",
6337
6466
  "saml_updated",
6338
6467
  "team_attached",
6339
6468
  "team_participation_updated",
6469
+ "team_removed",
6340
6470
  "toggle"
6341
6471
  ]),
6342
6472
  unenforcedTeamIds: z__namespace.array(z__namespace.string())
@@ -7782,9 +7912,6 @@ const userEventSchema = z__namespace.object({
7782
7912
  ]).nullable(),
7783
7913
  projectId: z__namespace.string().optional(),
7784
7914
  projectName: z__namespace.string().optional(),
7785
- scope: z__namespace.enum([
7786
- "organization"
7787
- ]).optional(),
7788
7915
  ssoProtection: z__namespace.union([
7789
7916
  z__namespace.object({
7790
7917
  april2026SecurityIncidentMigrationAppliedFrom: z__namespace.enum([
@@ -9939,6 +10066,8 @@ const userEventSchema = z__namespace.object({
9939
10066
  "custom-suffix-enable",
9940
10067
  "custom-suffix-pending",
9941
10068
  "custom-suffix-ready",
10069
+ "default-password-protection",
10070
+ "default-sso-protection",
9942
10071
  "deploy-hook-created",
9943
10072
  "deploy-hook-deduped",
9944
10073
  "deploy-hook-deleted",
@@ -10719,6 +10848,8 @@ const listEventTypeSchema = z__namespace.object({
10719
10848
  "custom-suffix-enable",
10720
10849
  "custom-suffix-pending",
10721
10850
  "custom-suffix-ready",
10851
+ "default-password-protection",
10852
+ "default-sso-protection",
10722
10853
  "deploy-hook-created",
10723
10854
  "deploy-hook-deduped",
10724
10855
  "deploy-hook-deleted",
@@ -11415,6 +11546,8 @@ const listEventTypeSchema = z__namespace.object({
11415
11546
  "custom-suffix-enable",
11416
11547
  "custom-suffix-pending",
11417
11548
  "custom-suffix-ready",
11549
+ "default-password-protection",
11550
+ "default-sso-protection",
11418
11551
  "deploy-hook-created",
11419
11552
  "deploy-hook-deduped",
11420
11553
  "deploy-hook-deleted",
@@ -14364,6 +14497,7 @@ const vcrImageListItemSchema = z__namespace.object({
14364
14497
  }),
14365
14498
  sizeInBytes: z__namespace.number().describe("Total size in bytes of the image's resources (manifest, config and layer blobs) stored by the registry."),
14366
14499
  status: z__namespace.enum([
14500
+ "errored",
14367
14501
  "preparing",
14368
14502
  "ready",
14369
14503
  "unoptimized"
@@ -14430,6 +14564,7 @@ const vcrTagSchema = z__namespace.object({
14430
14564
  pushedBy: z__namespace.string().optional().describe("Identifier of the actor that pushed the image."),
14431
14565
  sizeInBytes: z__namespace.number().describe("Total size in bytes of the image's resources (manifest, config and layer blobs) stored by the registry."),
14432
14566
  status: z__namespace.enum([
14567
+ "errored",
14433
14568
  "preparing",
14434
14569
  "ready",
14435
14570
  "unoptimized"
@@ -14619,6 +14754,7 @@ const vcrImageDetailSchema = z__namespace.object({
14619
14754
  }),
14620
14755
  sizeInBytes: z__namespace.number().describe("Total size in bytes of the image's resources (manifest, config and layer blobs) stored by the registry."),
14621
14756
  status: z__namespace.enum([
14757
+ "errored",
14622
14758
  "preparing",
14623
14759
  "ready",
14624
14760
  "unoptimized"
@@ -24770,7 +24906,6 @@ const createTeamStatus400Schema = z__namespace.unknown();
24770
24906
  const createTeamStatus401Schema = z__namespace.unknown();
24771
24907
  const createTeamStatus403Schema = z__namespace.unknown();
24772
24908
  const createTeamStatus404Schema = z__namespace.unknown();
24773
- const createTeamStatus409Schema = z__namespace.unknown();
24774
24909
  const createTeamStatus410Schema = z__namespace.unknown();
24775
24910
  const createTeamResponseSchema = createTeamStatus200Schema;
24776
24911
  const createTeamErrorSchema = z__namespace.union([
@@ -24778,7 +24913,6 @@ const createTeamErrorSchema = z__namespace.union([
24778
24913
  createTeamStatus401Schema,
24779
24914
  createTeamStatus403Schema,
24780
24915
  createTeamStatus404Schema,
24781
- createTeamStatus409Schema,
24782
24916
  createTeamStatus410Schema
24783
24917
  ]);
24784
24918
  const postTeamDsyncRolesPathTeamIdSchema = z__namespace.string().describe("The Team identifier to perform the request on behalf of.").meta({
@@ -27653,7 +27787,6 @@ exports.createTeamStatus400Schema = createTeamStatus400Schema;
27653
27787
  exports.createTeamStatus401Schema = createTeamStatus401Schema;
27654
27788
  exports.createTeamStatus403Schema = createTeamStatus403Schema;
27655
27789
  exports.createTeamStatus404Schema = createTeamStatus404Schema;
27656
- exports.createTeamStatus409Schema = createTeamStatus409Schema;
27657
27790
  exports.createTeamStatus410Schema = createTeamStatus410Schema;
27658
27791
  exports.createTraceSessionErrorSchema = createTraceSessionErrorSchema;
27659
27792
  exports.createTraceSessionQuerySlugSchema = createTraceSessionQuerySlugSchema;
package/dist/schemas.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, '__esModule', { value: true });
2
2
 
3
- var schemas = require('./schemas-b217bkcw.cjs');
3
+ var schemas = require('./schemas-oqtb4s3h.cjs');
4
4
 
5
5
 
6
6
 
@@ -952,7 +952,6 @@ exports.createTeamStatus400Schema = schemas.createTeamStatus400Schema;
952
952
  exports.createTeamStatus401Schema = schemas.createTeamStatus401Schema;
953
953
  exports.createTeamStatus403Schema = schemas.createTeamStatus403Schema;
954
954
  exports.createTeamStatus404Schema = schemas.createTeamStatus404Schema;
955
- exports.createTeamStatus409Schema = schemas.createTeamStatus409Schema;
956
955
  exports.createTeamStatus410Schema = schemas.createTeamStatus410Schema;
957
956
  exports.createTraceSessionErrorSchema = schemas.createTraceSessionErrorSchema;
958
957
  exports.createTraceSessionQuerySlugSchema = schemas.createTraceSessionQuerySlugSchema;