vercel-api-js 1.19.2 → 1.20.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.
@@ -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([
@@ -1960,6 +1961,40 @@ const userEventSchema = z__namespace.object({
1960
1961
  modelSlug: z__namespace.string().optional()
1961
1962
  })
1962
1963
  }).strict(),
1964
+ z__namespace.object({
1965
+ changedFields: z__namespace.array(z__namespace.enum([
1966
+ "allowFallbackFromFast",
1967
+ "baseUrl",
1968
+ "byokCredentialIds",
1969
+ "caching",
1970
+ "description",
1971
+ "disallowPromptTraining",
1972
+ "displayName",
1973
+ "has",
1974
+ "hipaaCompliant",
1975
+ "inferenceRegion",
1976
+ "modelSlug",
1977
+ "models",
1978
+ "observabilityTags",
1979
+ "providerOnly",
1980
+ "providerOptions",
1981
+ "providerOrder",
1982
+ "providerTimeouts",
1983
+ "requires",
1984
+ "selector",
1985
+ "serviceTier",
1986
+ "sort",
1987
+ "speed",
1988
+ "status",
1989
+ "visibility",
1990
+ "zeroDataRetention"
1991
+ ])).optional(),
1992
+ virtualModelConfig: z__namespace.object({
1993
+ displayName: z__namespace.string().optional(),
1994
+ id: z__namespace.string(),
1995
+ modelSlug: z__namespace.string().optional()
1996
+ })
1997
+ }).strict(),
1963
1998
  z__namespace.object({
1964
1999
  accessGroup: z__namespace.object({
1965
2000
  id: z__namespace.string(),
@@ -6264,6 +6299,18 @@ const userEventSchema = z__namespace.object({
6264
6299
  organizationId: z__namespace.string(),
6265
6300
  teamId: z__namespace.string()
6266
6301
  }).strict(),
6302
+ z__namespace.object({
6303
+ enforced: z__namespace.union([
6304
+ z__namespace.literal(false),
6305
+ z__namespace.literal(true)
6306
+ ]),
6307
+ organizationId: z__namespace.string(),
6308
+ organizationSlug: z__namespace.string(),
6309
+ previousEnforced: z__namespace.union([
6310
+ z__namespace.literal(false),
6311
+ z__namespace.literal(true)
6312
+ ])
6313
+ }).strict(),
6267
6314
  z__namespace.object({
6268
6315
  mode: z__namespace.enum([
6269
6316
  "organization",
@@ -8910,6 +8957,13 @@ const userEventSchema = z__namespace.object({
8910
8957
  "limits-exceeded"
8911
8958
  ])
8912
8959
  }).strict(),
8960
+ z__namespace.object({
8961
+ organizationId: z__namespace.string()
8962
+ }).strict(),
8963
+ z__namespace.object({
8964
+ organizationId: z__namespace.string(),
8965
+ teamIds: z__namespace.array(z__namespace.string())
8966
+ }).strict(),
8913
8967
  z__namespace.object({
8914
8968
  teamName: z__namespace.string().optional()
8915
8969
  }).strict(),
@@ -10004,10 +10058,13 @@ const userEventSchema = z__namespace.object({
10004
10058
  "organization-emu-team-updated",
10005
10059
  "organization-emu-updated",
10006
10060
  "organization-slug-update",
10061
+ "organization-sso-enforced",
10007
10062
  "organization-team-add",
10008
10063
  "organization-team-create",
10009
10064
  "organization-team-delete",
10010
10065
  "organization-team-sso-update",
10066
+ "organization-update-account-flow-dismissed",
10067
+ "organization-update-account-flow-triggered",
10011
10068
  "owner-blocked",
10012
10069
  "owner-soft-blocked",
10013
10070
  "owner-soft-unblocked",
@@ -10776,10 +10833,13 @@ const listEventTypeSchema = z__namespace.object({
10776
10833
  "organization-emu-team-updated",
10777
10834
  "organization-emu-updated",
10778
10835
  "organization-slug-update",
10836
+ "organization-sso-enforced",
10779
10837
  "organization-team-add",
10780
10838
  "organization-team-create",
10781
10839
  "organization-team-delete",
10782
10840
  "organization-team-sso-update",
10841
+ "organization-update-account-flow-dismissed",
10842
+ "organization-update-account-flow-triggered",
10783
10843
  "owner-blocked",
10784
10844
  "owner-soft-blocked",
10785
10845
  "owner-soft-unblocked",
@@ -11464,10 +11524,13 @@ const listEventTypeSchema = z__namespace.object({
11464
11524
  "organization-emu-team-updated",
11465
11525
  "organization-emu-updated",
11466
11526
  "organization-slug-update",
11527
+ "organization-sso-enforced",
11467
11528
  "organization-team-add",
11468
11529
  "organization-team-create",
11469
11530
  "organization-team-delete",
11470
11531
  "organization-team-sso-update",
11532
+ "organization-update-account-flow-dismissed",
11533
+ "organization-update-account-flow-triggered",
11471
11534
  "owner-blocked",
11472
11535
  "owner-soft-blocked",
11473
11536
  "owner-soft-unblocked",
@@ -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([
@@ -1940,6 +1941,40 @@ const userEventSchema = z.object({
1940
1941
  modelSlug: z.string().optional()
1941
1942
  })
1942
1943
  }).strict(),
1944
+ z.object({
1945
+ changedFields: z.array(z.enum([
1946
+ "allowFallbackFromFast",
1947
+ "baseUrl",
1948
+ "byokCredentialIds",
1949
+ "caching",
1950
+ "description",
1951
+ "disallowPromptTraining",
1952
+ "displayName",
1953
+ "has",
1954
+ "hipaaCompliant",
1955
+ "inferenceRegion",
1956
+ "modelSlug",
1957
+ "models",
1958
+ "observabilityTags",
1959
+ "providerOnly",
1960
+ "providerOptions",
1961
+ "providerOrder",
1962
+ "providerTimeouts",
1963
+ "requires",
1964
+ "selector",
1965
+ "serviceTier",
1966
+ "sort",
1967
+ "speed",
1968
+ "status",
1969
+ "visibility",
1970
+ "zeroDataRetention"
1971
+ ])).optional(),
1972
+ virtualModelConfig: z.object({
1973
+ displayName: z.string().optional(),
1974
+ id: z.string(),
1975
+ modelSlug: z.string().optional()
1976
+ })
1977
+ }).strict(),
1943
1978
  z.object({
1944
1979
  accessGroup: z.object({
1945
1980
  id: z.string(),
@@ -6244,6 +6279,18 @@ const userEventSchema = z.object({
6244
6279
  organizationId: z.string(),
6245
6280
  teamId: z.string()
6246
6281
  }).strict(),
6282
+ z.object({
6283
+ enforced: z.union([
6284
+ z.literal(false),
6285
+ z.literal(true)
6286
+ ]),
6287
+ organizationId: z.string(),
6288
+ organizationSlug: z.string(),
6289
+ previousEnforced: z.union([
6290
+ z.literal(false),
6291
+ z.literal(true)
6292
+ ])
6293
+ }).strict(),
6247
6294
  z.object({
6248
6295
  mode: z.enum([
6249
6296
  "organization",
@@ -8890,6 +8937,13 @@ const userEventSchema = z.object({
8890
8937
  "limits-exceeded"
8891
8938
  ])
8892
8939
  }).strict(),
8940
+ z.object({
8941
+ organizationId: z.string()
8942
+ }).strict(),
8943
+ z.object({
8944
+ organizationId: z.string(),
8945
+ teamIds: z.array(z.string())
8946
+ }).strict(),
8893
8947
  z.object({
8894
8948
  teamName: z.string().optional()
8895
8949
  }).strict(),
@@ -9984,10 +10038,13 @@ const userEventSchema = z.object({
9984
10038
  "organization-emu-team-updated",
9985
10039
  "organization-emu-updated",
9986
10040
  "organization-slug-update",
10041
+ "organization-sso-enforced",
9987
10042
  "organization-team-add",
9988
10043
  "organization-team-create",
9989
10044
  "organization-team-delete",
9990
10045
  "organization-team-sso-update",
10046
+ "organization-update-account-flow-dismissed",
10047
+ "organization-update-account-flow-triggered",
9991
10048
  "owner-blocked",
9992
10049
  "owner-soft-blocked",
9993
10050
  "owner-soft-unblocked",
@@ -10756,10 +10813,13 @@ const listEventTypeSchema = z.object({
10756
10813
  "organization-emu-team-updated",
10757
10814
  "organization-emu-updated",
10758
10815
  "organization-slug-update",
10816
+ "organization-sso-enforced",
10759
10817
  "organization-team-add",
10760
10818
  "organization-team-create",
10761
10819
  "organization-team-delete",
10762
10820
  "organization-team-sso-update",
10821
+ "organization-update-account-flow-dismissed",
10822
+ "organization-update-account-flow-triggered",
10763
10823
  "owner-blocked",
10764
10824
  "owner-soft-blocked",
10765
10825
  "owner-soft-unblocked",
@@ -11444,10 +11504,13 @@ const listEventTypeSchema = z.object({
11444
11504
  "organization-emu-team-updated",
11445
11505
  "organization-emu-updated",
11446
11506
  "organization-slug-update",
11507
+ "organization-sso-enforced",
11447
11508
  "organization-team-add",
11448
11509
  "organization-team-create",
11449
11510
  "organization-team-delete",
11450
11511
  "organization-team-sso-update",
11512
+ "organization-update-account-flow-dismissed",
11513
+ "organization-update-account-flow-triggered",
11451
11514
  "owner-blocked",
11452
11515
  "owner-soft-blocked",
11453
11516
  "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-b636kgje.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>]>>;
@@ -1579,6 +1580,39 @@ declare const userEventSchema: z.ZodObject<{
1579
1580
  id: z.ZodString;
1580
1581
  modelSlug: z.ZodOptional<z.ZodString>;
1581
1582
  }, z.core.$strip>;
1583
+ }, z.core.$strict>, z.ZodObject<{
1584
+ changedFields: z.ZodOptional<z.ZodArray<z.ZodEnum<{
1585
+ status: "status";
1586
+ baseUrl: "baseUrl";
1587
+ sort: "sort";
1588
+ allowFallbackFromFast: "allowFallbackFromFast";
1589
+ byokCredentialIds: "byokCredentialIds";
1590
+ caching: "caching";
1591
+ description: "description";
1592
+ disallowPromptTraining: "disallowPromptTraining";
1593
+ displayName: "displayName";
1594
+ has: "has";
1595
+ hipaaCompliant: "hipaaCompliant";
1596
+ inferenceRegion: "inferenceRegion";
1597
+ models: "models";
1598
+ modelSlug: "modelSlug";
1599
+ observabilityTags: "observabilityTags";
1600
+ providerOnly: "providerOnly";
1601
+ providerOptions: "providerOptions";
1602
+ providerOrder: "providerOrder";
1603
+ providerTimeouts: "providerTimeouts";
1604
+ requires: "requires";
1605
+ selector: "selector";
1606
+ serviceTier: "serviceTier";
1607
+ speed: "speed";
1608
+ visibility: "visibility";
1609
+ zeroDataRetention: "zeroDataRetention";
1610
+ }>>>;
1611
+ virtualModelConfig: z.ZodObject<{
1612
+ displayName: z.ZodOptional<z.ZodString>;
1613
+ id: z.ZodString;
1614
+ modelSlug: z.ZodOptional<z.ZodString>;
1615
+ }, z.core.$strip>;
1582
1616
  }, z.core.$strict>, z.ZodObject<{
1583
1617
  accessGroup: z.ZodObject<{
1584
1618
  id: z.ZodString;
@@ -5038,6 +5072,11 @@ declare const userEventSchema: z.ZodObject<{
5038
5072
  }>;
5039
5073
  organizationId: z.ZodString;
5040
5074
  teamId: z.ZodString;
5075
+ }, z.core.$strict>, z.ZodObject<{
5076
+ enforced: z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>;
5077
+ organizationId: z.ZodString;
5078
+ organizationSlug: z.ZodString;
5079
+ previousEnforced: z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodLiteral<true>]>;
5041
5080
  }, z.core.$strict>, z.ZodObject<{
5042
5081
  mode: z.ZodEnum<{
5043
5082
  organization: "organization";
@@ -7145,6 +7184,11 @@ declare const userEventSchema: z.ZodObject<{
7145
7184
  reason: z.ZodEnum<{
7146
7185
  "limits-exceeded": "limits-exceeded";
7147
7186
  }>;
7187
+ }, z.core.$strict>, z.ZodObject<{
7188
+ organizationId: z.ZodString;
7189
+ }, z.core.$strict>, z.ZodObject<{
7190
+ organizationId: z.ZodString;
7191
+ teamIds: z.ZodArray<z.ZodString>;
7148
7192
  }, z.core.$strict>, z.ZodObject<{
7149
7193
  teamName: z.ZodOptional<z.ZodString>;
7150
7194
  }, z.core.$strict>, z.ZodObject<{
@@ -8096,10 +8140,13 @@ declare const userEventSchema: z.ZodObject<{
8096
8140
  "organization-emu-team-updated": "organization-emu-team-updated";
8097
8141
  "organization-emu-updated": "organization-emu-updated";
8098
8142
  "organization-slug-update": "organization-slug-update";
8143
+ "organization-sso-enforced": "organization-sso-enforced";
8099
8144
  "organization-team-add": "organization-team-add";
8100
8145
  "organization-team-create": "organization-team-create";
8101
8146
  "organization-team-delete": "organization-team-delete";
8102
8147
  "organization-team-sso-update": "organization-team-sso-update";
8148
+ "organization-update-account-flow-dismissed": "organization-update-account-flow-dismissed";
8149
+ "organization-update-account-flow-triggered": "organization-update-account-flow-triggered";
8103
8150
  "owner-blocked": "owner-blocked";
8104
8151
  "owner-soft-blocked": "owner-soft-blocked";
8105
8152
  "owner-soft-unblocked": "owner-soft-unblocked";
@@ -8846,10 +8893,13 @@ declare const listEventTypeSchema: z.ZodObject<{
8846
8893
  "organization-emu-team-updated": "organization-emu-team-updated";
8847
8894
  "organization-emu-updated": "organization-emu-updated";
8848
8895
  "organization-slug-update": "organization-slug-update";
8896
+ "organization-sso-enforced": "organization-sso-enforced";
8849
8897
  "organization-team-add": "organization-team-add";
8850
8898
  "organization-team-create": "organization-team-create";
8851
8899
  "organization-team-delete": "organization-team-delete";
8852
8900
  "organization-team-sso-update": "organization-team-sso-update";
8901
+ "organization-update-account-flow-dismissed": "organization-update-account-flow-dismissed";
8902
+ "organization-update-account-flow-triggered": "organization-update-account-flow-triggered";
8853
8903
  "owner-blocked": "owner-blocked";
8854
8904
  "owner-soft-blocked": "owner-soft-blocked";
8855
8905
  "owner-soft-unblocked": "owner-soft-unblocked";
@@ -9530,10 +9580,13 @@ declare const listEventTypeSchema: z.ZodObject<{
9530
9580
  "organization-emu-team-updated": "organization-emu-team-updated";
9531
9581
  "organization-emu-updated": "organization-emu-updated";
9532
9582
  "organization-slug-update": "organization-slug-update";
9583
+ "organization-sso-enforced": "organization-sso-enforced";
9533
9584
  "organization-team-add": "organization-team-add";
9534
9585
  "organization-team-create": "organization-team-create";
9535
9586
  "organization-team-delete": "organization-team-delete";
9536
9587
  "organization-team-sso-update": "organization-team-sso-update";
9588
+ "organization-update-account-flow-dismissed": "organization-update-account-flow-dismissed";
9589
+ "organization-update-account-flow-triggered": "organization-update-account-flow-triggered";
9537
9590
  "owner-blocked": "owner-blocked";
9538
9591
  "owner-soft-blocked": "owner-soft-blocked";
9539
9592
  "owner-soft-unblocked": "owner-soft-unblocked";