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.
package/dist/index.cjs CHANGED
@@ -1,7 +1,7 @@
1
1
  Object.defineProperty(exports, '__esModule', { value: true });
2
2
 
3
3
  var components = require('./components-pfe7zbum.cjs');
4
- var schemas = require('./schemas-kbkmflwt.cjs');
4
+ var schemas = require('./schemas-mrdopgdo.cjs');
5
5
  var types = require('./types.cjs');
6
6
 
7
7
  function formEncoded(data) {
package/dist/index.d.ts CHANGED
@@ -115,6 +115,11 @@ type AiGatewayVirtualModelConfig = {
115
115
  * @type number
116
116
  */
117
117
  createdAt: number;
118
+ /**
119
+ * @description User or app id that created this VMC.
120
+ * @type string | undefined
121
+ */
122
+ createdBy?: string | undefined;
118
123
  /**
119
124
  * @description Whether this VMC is soft-deleted.
120
125
  * @type boolean
@@ -281,7 +286,7 @@ type AiGatewayVirtualModelConfig = {
281
286
  */
282
287
  updatedAt: number;
283
288
  /**
284
- * @description User id that last updated this VMC.
289
+ * @description User or app id that last updated this VMC.
285
290
  * @type string | undefined
286
291
  */
287
292
  updatedBy?: string | undefined;
@@ -6085,10 +6090,13 @@ declare const userEventTypeEnum: {
6085
6090
  readonly "organization-emu-team-updated": "organization-emu-team-updated";
6086
6091
  readonly "organization-emu-updated": "organization-emu-updated";
6087
6092
  readonly "organization-slug-update": "organization-slug-update";
6093
+ readonly "organization-sso-enforced": "organization-sso-enforced";
6088
6094
  readonly "organization-team-add": "organization-team-add";
6089
6095
  readonly "organization-team-create": "organization-team-create";
6090
6096
  readonly "organization-team-delete": "organization-team-delete";
6091
6097
  readonly "organization-team-sso-update": "organization-team-sso-update";
6098
+ readonly "organization-update-account-flow-dismissed": "organization-update-account-flow-dismissed";
6099
+ readonly "organization-update-account-flow-triggered": "organization-update-account-flow-triggered";
6092
6100
  readonly "owner-blocked": "owner-blocked";
6093
6101
  readonly "owner-soft-blocked": "owner-soft-blocked";
6094
6102
  readonly "owner-soft-unblocked": "owner-soft-unblocked";
@@ -10281,6 +10289,11 @@ type UserEvent = {
10281
10289
  billingPlan: UserEventPayloadBillingPlanEnumKey;
10282
10290
  organizationId: string;
10283
10291
  teamId: string;
10292
+ } | {
10293
+ enforced: false | true;
10294
+ organizationId: string;
10295
+ organizationSlug: string;
10296
+ previousEnforced: false | true;
10284
10297
  } | {
10285
10298
  mode: UserEventPayloadModeEnumKey;
10286
10299
  organizationId: string;
@@ -12269,6 +12282,11 @@ type UserEvent = {
12269
12282
  }[] | undefined;
12270
12283
  } | {
12271
12284
  reason: "limits-exceeded";
12285
+ } | {
12286
+ organizationId: string;
12287
+ } | {
12288
+ organizationId: string;
12289
+ teamIds: string[];
12272
12290
  } | {
12273
12291
  teamName?: string | undefined;
12274
12292
  } | {
@@ -13424,10 +13442,13 @@ declare const listEventTypeNameEnum: {
13424
13442
  readonly "organization-emu-team-updated": "organization-emu-team-updated";
13425
13443
  readonly "organization-emu-updated": "organization-emu-updated";
13426
13444
  readonly "organization-slug-update": "organization-slug-update";
13445
+ readonly "organization-sso-enforced": "organization-sso-enforced";
13427
13446
  readonly "organization-team-add": "organization-team-add";
13428
13447
  readonly "organization-team-create": "organization-team-create";
13429
13448
  readonly "organization-team-delete": "organization-team-delete";
13430
13449
  readonly "organization-team-sso-update": "organization-team-sso-update";
13450
+ readonly "organization-update-account-flow-dismissed": "organization-update-account-flow-dismissed";
13451
+ readonly "organization-update-account-flow-triggered": "organization-update-account-flow-triggered";
13431
13452
  readonly "owner-blocked": "owner-blocked";
13432
13453
  readonly "owner-soft-blocked": "owner-soft-blocked";
13433
13454
  readonly "owner-soft-unblocked": "owner-soft-unblocked";
@@ -14109,10 +14130,13 @@ declare const listEventTypeReplacedByEnum: {
14109
14130
  readonly "organization-emu-team-updated": "organization-emu-team-updated";
14110
14131
  readonly "organization-emu-updated": "organization-emu-updated";
14111
14132
  readonly "organization-slug-update": "organization-slug-update";
14133
+ readonly "organization-sso-enforced": "organization-sso-enforced";
14112
14134
  readonly "organization-team-add": "organization-team-add";
14113
14135
  readonly "organization-team-create": "organization-team-create";
14114
14136
  readonly "organization-team-delete": "organization-team-delete";
14115
14137
  readonly "organization-team-sso-update": "organization-team-sso-update";
14138
+ readonly "organization-update-account-flow-dismissed": "organization-update-account-flow-dismissed";
14139
+ readonly "organization-update-account-flow-triggered": "organization-update-account-flow-triggered";
14116
14140
  readonly "owner-blocked": "owner-blocked";
14117
14141
  readonly "owner-soft-blocked": "owner-soft-blocked";
14118
14142
  readonly "owner-soft-unblocked": "owner-soft-unblocked";
@@ -46413,6 +46437,7 @@ declare const aiGatewayVirtualModelConfigSchema: z.ZodObject<{
46413
46437
  auto: "auto";
46414
46438
  }>>;
46415
46439
  createdAt: z.ZodNumber;
46440
+ createdBy: z.ZodOptional<z.ZodString>;
46416
46441
  deleted: z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>;
46417
46442
  description: z.ZodOptional<z.ZodString>;
46418
46443
  disallowPromptTraining: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>>;
@@ -51442,6 +51467,11 @@ declare const userEventSchema: z.ZodObject<{
51442
51467
  }>;
51443
51468
  organizationId: z.ZodString;
51444
51469
  teamId: z.ZodString;
51470
+ }, z.core.$strict>, z.ZodObject<{
51471
+ enforced: z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>;
51472
+ organizationId: z.ZodString;
51473
+ organizationSlug: z.ZodString;
51474
+ previousEnforced: z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>;
51445
51475
  }, z.core.$strict>, z.ZodObject<{
51446
51476
  mode: z.ZodEnum<{
51447
51477
  organization: "organization";
@@ -53549,6 +53579,11 @@ declare const userEventSchema: z.ZodObject<{
53549
53579
  reason: z.ZodEnum<{
53550
53580
  "limits-exceeded": "limits-exceeded";
53551
53581
  }>;
53582
+ }, z.core.$strict>, z.ZodObject<{
53583
+ organizationId: z.ZodString;
53584
+ }, z.core.$strict>, z.ZodObject<{
53585
+ organizationId: z.ZodString;
53586
+ teamIds: z.ZodArray<z.ZodString>;
53552
53587
  }, z.core.$strict>, z.ZodObject<{
53553
53588
  teamName: z.ZodOptional<z.ZodString>;
53554
53589
  }, z.core.$strict>, z.ZodObject<{
@@ -54500,10 +54535,13 @@ declare const userEventSchema: z.ZodObject<{
54500
54535
  "organization-emu-team-updated": "organization-emu-team-updated";
54501
54536
  "organization-emu-updated": "organization-emu-updated";
54502
54537
  "organization-slug-update": "organization-slug-update";
54538
+ "organization-sso-enforced": "organization-sso-enforced";
54503
54539
  "organization-team-add": "organization-team-add";
54504
54540
  "organization-team-create": "organization-team-create";
54505
54541
  "organization-team-delete": "organization-team-delete";
54506
54542
  "organization-team-sso-update": "organization-team-sso-update";
54543
+ "organization-update-account-flow-dismissed": "organization-update-account-flow-dismissed";
54544
+ "organization-update-account-flow-triggered": "organization-update-account-flow-triggered";
54507
54545
  "owner-blocked": "owner-blocked";
54508
54546
  "owner-soft-blocked": "owner-soft-blocked";
54509
54547
  "owner-soft-unblocked": "owner-soft-unblocked";
@@ -55250,10 +55288,13 @@ declare const listEventTypeSchema: z.ZodObject<{
55250
55288
  "organization-emu-team-updated": "organization-emu-team-updated";
55251
55289
  "organization-emu-updated": "organization-emu-updated";
55252
55290
  "organization-slug-update": "organization-slug-update";
55291
+ "organization-sso-enforced": "organization-sso-enforced";
55253
55292
  "organization-team-add": "organization-team-add";
55254
55293
  "organization-team-create": "organization-team-create";
55255
55294
  "organization-team-delete": "organization-team-delete";
55256
55295
  "organization-team-sso-update": "organization-team-sso-update";
55296
+ "organization-update-account-flow-dismissed": "organization-update-account-flow-dismissed";
55297
+ "organization-update-account-flow-triggered": "organization-update-account-flow-triggered";
55257
55298
  "owner-blocked": "owner-blocked";
55258
55299
  "owner-soft-blocked": "owner-soft-blocked";
55259
55300
  "owner-soft-unblocked": "owner-soft-unblocked";
@@ -55934,10 +55975,13 @@ declare const listEventTypeSchema: z.ZodObject<{
55934
55975
  "organization-emu-team-updated": "organization-emu-team-updated";
55935
55976
  "organization-emu-updated": "organization-emu-updated";
55936
55977
  "organization-slug-update": "organization-slug-update";
55978
+ "organization-sso-enforced": "organization-sso-enforced";
55937
55979
  "organization-team-add": "organization-team-add";
55938
55980
  "organization-team-create": "organization-team-create";
55939
55981
  "organization-team-delete": "organization-team-delete";
55940
55982
  "organization-team-sso-update": "organization-team-sso-update";
55983
+ "organization-update-account-flow-dismissed": "organization-update-account-flow-dismissed";
55984
+ "organization-update-account-flow-triggered": "organization-update-account-flow-triggered";
55941
55985
  "owner-blocked": "owner-blocked";
55942
55986
  "owner-soft-blocked": "owner-soft-blocked";
55943
55987
  "owner-soft-unblocked": "owner-soft-unblocked";