vercel-api-js 1.19.2 → 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.
@@ -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([
@@ -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",
@@ -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",
@@ -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([
@@ -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",
@@ -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",
package/dist/schemas.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, '__esModule', { value: true });
2
2
 
3
- var schemas = require('./schemas-kbkmflwt.cjs');
3
+ var schemas = require('./schemas-mrdopgdo.cjs');
4
4
 
5
5
 
6
6
 
@@ -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>]>>;
@@ -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";
@@ -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";