vercel-api-js 1.20.2 → 1.21.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.
@@ -3797,6 +3797,29 @@ const userEventSchema = z__namespace.object({
3797
3797
  ]).describe("Team-level or project-level rule."),
3798
3798
  source: z__namespace.string().describe("Classified deploy source, e.g. 'cli', 'git', 'integration'.")
3799
3799
  }).strict(),
3800
+ z__namespace.object({
3801
+ mode: z__namespace.enum([
3802
+ "none"
3803
+ ]).nullable(),
3804
+ previousMode: z__namespace.enum([
3805
+ "none"
3806
+ ]).nullable(),
3807
+ scope: z__namespace.enum([
3808
+ "organization"
3809
+ ])
3810
+ }).strict(),
3811
+ z__namespace.object({
3812
+ mode: z__namespace.enum([
3813
+ "all",
3814
+ "email-domain",
3815
+ "none"
3816
+ ]),
3817
+ previousMode: z__namespace.enum([
3818
+ "all",
3819
+ "email-domain",
3820
+ "none"
3821
+ ])
3822
+ }).strict(),
3800
3823
  z__namespace.object({
3801
3824
  deploymentId: z__namespace.string(),
3802
3825
  deploymentName: z__namespace.string().nullable(),
@@ -7733,6 +7756,9 @@ const userEventSchema = z__namespace.object({
7733
7756
  ]).nullable(),
7734
7757
  projectId: z__namespace.string().optional(),
7735
7758
  projectName: z__namespace.string().optional(),
7759
+ scope: z__namespace.enum([
7760
+ "organization"
7761
+ ]).optional(),
7736
7762
  ssoProtection: z__namespace.union([
7737
7763
  z__namespace.object({
7738
7764
  april2026SecurityIncidentMigrationAppliedFrom: z__namespace.enum([
@@ -8528,6 +8554,15 @@ const userEventSchema = z__namespace.object({
8528
8554
  teamId: z__namespace.string(),
8529
8555
  timestamp: z__namespace.number().optional()
8530
8556
  }).strict(),
8557
+ z__namespace.object({
8558
+ enabled: z__namespace.union([
8559
+ z__namespace.literal(false),
8560
+ z__namespace.literal(true)
8561
+ ]),
8562
+ scope: z__namespace.enum([
8563
+ "organization"
8564
+ ]).optional()
8565
+ }).strict(),
8531
8566
  z__namespace.object({
8532
8567
  next: z__namespace.object({
8533
8568
  deploymentSources: z__namespace.array(z__namespace.string()).nullish(),
@@ -9890,6 +9925,7 @@ const userEventSchema = z__namespace.object({
9890
9925
  "deployment-creation-blocked",
9891
9926
  "deployment-delete",
9892
9927
  "deployment-policy-blocked",
9928
+ "deployment-protection-access-requests",
9893
9929
  "deployment-undeleted",
9894
9930
  "disabled-integration-installation-removed",
9895
9931
  "disconnect-bitbucket-app",
@@ -10667,6 +10703,7 @@ const listEventTypeSchema = z__namespace.object({
10667
10703
  "deployment-creation-blocked",
10668
10704
  "deployment-delete",
10669
10705
  "deployment-policy-blocked",
10706
+ "deployment-protection-access-requests",
10670
10707
  "deployment-undeleted",
10671
10708
  "disabled-integration-installation-removed",
10672
10709
  "disconnect-bitbucket-app",
@@ -11360,6 +11397,7 @@ const listEventTypeSchema = z__namespace.object({
11360
11397
  "deployment-creation-blocked",
11361
11398
  "deployment-delete",
11362
11399
  "deployment-policy-blocked",
11400
+ "deployment-protection-access-requests",
11363
11401
  "deployment-undeleted",
11364
11402
  "disabled-integration-installation-removed",
11365
11403
  "disconnect-bitbucket-app",
@@ -3777,6 +3777,29 @@ const userEventSchema = z.object({
3777
3777
  ]).describe("Team-level or project-level rule."),
3778
3778
  source: z.string().describe("Classified deploy source, e.g. 'cli', 'git', 'integration'.")
3779
3779
  }).strict(),
3780
+ z.object({
3781
+ mode: z.enum([
3782
+ "none"
3783
+ ]).nullable(),
3784
+ previousMode: z.enum([
3785
+ "none"
3786
+ ]).nullable(),
3787
+ scope: z.enum([
3788
+ "organization"
3789
+ ])
3790
+ }).strict(),
3791
+ z.object({
3792
+ mode: z.enum([
3793
+ "all",
3794
+ "email-domain",
3795
+ "none"
3796
+ ]),
3797
+ previousMode: z.enum([
3798
+ "all",
3799
+ "email-domain",
3800
+ "none"
3801
+ ])
3802
+ }).strict(),
3780
3803
  z.object({
3781
3804
  deploymentId: z.string(),
3782
3805
  deploymentName: z.string().nullable(),
@@ -7713,6 +7736,9 @@ const userEventSchema = z.object({
7713
7736
  ]).nullable(),
7714
7737
  projectId: z.string().optional(),
7715
7738
  projectName: z.string().optional(),
7739
+ scope: z.enum([
7740
+ "organization"
7741
+ ]).optional(),
7716
7742
  ssoProtection: z.union([
7717
7743
  z.object({
7718
7744
  april2026SecurityIncidentMigrationAppliedFrom: z.enum([
@@ -8508,6 +8534,15 @@ const userEventSchema = z.object({
8508
8534
  teamId: z.string(),
8509
8535
  timestamp: z.number().optional()
8510
8536
  }).strict(),
8537
+ z.object({
8538
+ enabled: z.union([
8539
+ z.literal(false),
8540
+ z.literal(true)
8541
+ ]),
8542
+ scope: z.enum([
8543
+ "organization"
8544
+ ]).optional()
8545
+ }).strict(),
8511
8546
  z.object({
8512
8547
  next: z.object({
8513
8548
  deploymentSources: z.array(z.string()).nullish(),
@@ -9870,6 +9905,7 @@ const userEventSchema = z.object({
9870
9905
  "deployment-creation-blocked",
9871
9906
  "deployment-delete",
9872
9907
  "deployment-policy-blocked",
9908
+ "deployment-protection-access-requests",
9873
9909
  "deployment-undeleted",
9874
9910
  "disabled-integration-installation-removed",
9875
9911
  "disconnect-bitbucket-app",
@@ -10647,6 +10683,7 @@ const listEventTypeSchema = z.object({
10647
10683
  "deployment-creation-blocked",
10648
10684
  "deployment-delete",
10649
10685
  "deployment-policy-blocked",
10686
+ "deployment-protection-access-requests",
10650
10687
  "deployment-undeleted",
10651
10688
  "disabled-integration-installation-removed",
10652
10689
  "disconnect-bitbucket-app",
@@ -11340,6 +11377,7 @@ const listEventTypeSchema = z.object({
11340
11377
  "deployment-creation-blocked",
11341
11378
  "deployment-delete",
11342
11379
  "deployment-policy-blocked",
11380
+ "deployment-protection-access-requests",
11343
11381
  "deployment-undeleted",
11344
11382
  "disabled-integration-installation-removed",
11345
11383
  "disconnect-bitbucket-app",
package/dist/schemas.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, '__esModule', { value: true });
2
2
 
3
- var schemas = require('./schemas-ltom3qj0.cjs');
3
+ var schemas = require('./schemas-dssww1l5.cjs');
4
4
 
5
5
 
6
6
 
@@ -3079,6 +3079,27 @@ declare const userEventSchema: z.ZodObject<{
3079
3079
  team: "team";
3080
3080
  }>;
3081
3081
  source: z.ZodString;
3082
+ }, z.core.$strict>, z.ZodObject<{
3083
+ mode: z.ZodNullable<z.ZodEnum<{
3084
+ none: "none";
3085
+ }>>;
3086
+ previousMode: z.ZodNullable<z.ZodEnum<{
3087
+ none: "none";
3088
+ }>>;
3089
+ scope: z.ZodEnum<{
3090
+ organization: "organization";
3091
+ }>;
3092
+ }, z.core.$strict>, z.ZodObject<{
3093
+ mode: z.ZodEnum<{
3094
+ none: "none";
3095
+ all: "all";
3096
+ "email-domain": "email-domain";
3097
+ }>;
3098
+ previousMode: z.ZodEnum<{
3099
+ none: "none";
3100
+ all: "all";
3101
+ "email-domain": "email-domain";
3102
+ }>;
3082
3103
  }, z.core.$strict>, z.ZodObject<{
3083
3104
  deploymentId: z.ZodString;
3084
3105
  deploymentName: z.ZodNullable<z.ZodString>;
@@ -6195,6 +6216,9 @@ declare const userEventSchema: z.ZodObject<{
6195
6216
  }>]>>;
6196
6217
  projectId: z.ZodOptional<z.ZodString>;
6197
6218
  projectName: z.ZodOptional<z.ZodString>;
6219
+ scope: z.ZodOptional<z.ZodEnum<{
6220
+ organization: "organization";
6221
+ }>>;
6198
6222
  ssoProtection: z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
6199
6223
  april2026SecurityIncidentMigrationAppliedFrom: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
6200
6224
  preview: "preview";
@@ -6820,6 +6844,11 @@ declare const userEventSchema: z.ZodObject<{
6820
6844
  slug: z.ZodString;
6821
6845
  teamId: z.ZodString;
6822
6846
  timestamp: z.ZodOptional<z.ZodNumber>;
6847
+ }, z.core.$strict>, z.ZodObject<{
6848
+ enabled: z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>;
6849
+ scope: z.ZodOptional<z.ZodEnum<{
6850
+ organization: "organization";
6851
+ }>>;
6823
6852
  }, z.core.$strict>, z.ZodObject<{
6824
6853
  next: z.ZodNullable<z.ZodObject<{
6825
6854
  deploymentSources: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
@@ -7973,6 +8002,7 @@ declare const userEventSchema: z.ZodObject<{
7973
8002
  "deployment-creation-blocked": "deployment-creation-blocked";
7974
8003
  "deployment-delete": "deployment-delete";
7975
8004
  "deployment-policy-blocked": "deployment-policy-blocked";
8005
+ "deployment-protection-access-requests": "deployment-protection-access-requests";
7976
8006
  "deployment-undeleted": "deployment-undeleted";
7977
8007
  "disabled-integration-installation-removed": "disabled-integration-installation-removed";
7978
8008
  "disconnect-bitbucket-app": "disconnect-bitbucket-app";
@@ -8728,6 +8758,7 @@ declare const listEventTypeSchema: z.ZodObject<{
8728
8758
  "deployment-creation-blocked": "deployment-creation-blocked";
8729
8759
  "deployment-delete": "deployment-delete";
8730
8760
  "deployment-policy-blocked": "deployment-policy-blocked";
8761
+ "deployment-protection-access-requests": "deployment-protection-access-requests";
8731
8762
  "deployment-undeleted": "deployment-undeleted";
8732
8763
  "disabled-integration-installation-removed": "disabled-integration-installation-removed";
8733
8764
  "disconnect-bitbucket-app": "disconnect-bitbucket-app";
@@ -9417,6 +9448,7 @@ declare const listEventTypeSchema: z.ZodObject<{
9417
9448
  "deployment-creation-blocked": "deployment-creation-blocked";
9418
9449
  "deployment-delete": "deployment-delete";
9419
9450
  "deployment-policy-blocked": "deployment-policy-blocked";
9451
+ "deployment-protection-access-requests": "deployment-protection-access-requests";
9420
9452
  "deployment-undeleted": "deployment-undeleted";
9421
9453
  "disabled-integration-installation-removed": "disabled-integration-installation-removed";
9422
9454
  "disconnect-bitbucket-app": "disconnect-bitbucket-app";