vercel-api-js 1.28.0 → 1.28.2
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 +1 -1
- package/dist/index.d.ts +17 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/{schemas-lr23duqy.cjs → schemas-bz0xlleo.cjs} +8 -1
- package/dist/{schemas-renm7hw6.js → schemas-kudyayn3.js} +8 -1
- package/dist/schemas.cjs +1 -1
- package/dist/schemas.d.mts +8 -1
- package/dist/schemas.d.mts.map +1 -1
- package/dist/schemas.mjs +1 -1
- package/dist/types.cjs +7 -0
- package/dist/types.d.mts +9 -2
- package/dist/types.d.mts.map +1 -1
- package/dist/types.mjs +7 -0
- package/package.json +1 -1
|
@@ -70,6 +70,7 @@ const aiGatewayVirtualModelConfigSchema = z__namespace.object({
|
|
|
70
70
|
has: z__namespace.array(z__namespace.enum([
|
|
71
71
|
"implicit-caching",
|
|
72
72
|
"reasoning",
|
|
73
|
+
"structured-output",
|
|
73
74
|
"tool-use",
|
|
74
75
|
"vision"
|
|
75
76
|
])).optional().describe("Limit providers to those with these features."),
|
|
@@ -100,7 +101,7 @@ const aiGatewayVirtualModelConfigSchema = z__namespace.object({
|
|
|
100
101
|
models: z__namespace.array(z__namespace.union([
|
|
101
102
|
z__namespace.string(),
|
|
102
103
|
z__namespace.object({
|
|
103
|
-
|
|
104
|
+
intelligence: z__namespace.number().optional().describe("Highest task level the member handles, in [0, 1]. Read by the intelligence selector."),
|
|
104
105
|
slug: z__namespace.string()
|
|
105
106
|
}).strict(),
|
|
106
107
|
z__namespace.object({
|
|
@@ -10282,6 +10283,8 @@ const userEventSchema = z__namespace.object({
|
|
|
10282
10283
|
"marketplace-flex-commit-opt-in",
|
|
10283
10284
|
"marketplace-integration-allowlist-updated",
|
|
10284
10285
|
"messageboard-created",
|
|
10286
|
+
"messageboard-private-created",
|
|
10287
|
+
"messageboard-private-space-created",
|
|
10285
10288
|
"messageboard-space-created",
|
|
10286
10289
|
"microfrontend-group-added",
|
|
10287
10290
|
"microfrontend-group-deleted",
|
|
@@ -11067,6 +11070,8 @@ const listEventTypeSchema = z__namespace.object({
|
|
|
11067
11070
|
"marketplace-flex-commit-opt-in",
|
|
11068
11071
|
"marketplace-integration-allowlist-updated",
|
|
11069
11072
|
"messageboard-created",
|
|
11073
|
+
"messageboard-private-created",
|
|
11074
|
+
"messageboard-private-space-created",
|
|
11070
11075
|
"messageboard-space-created",
|
|
11071
11076
|
"microfrontend-group-added",
|
|
11072
11077
|
"microfrontend-group-deleted",
|
|
@@ -11768,6 +11773,8 @@ const listEventTypeSchema = z__namespace.object({
|
|
|
11768
11773
|
"marketplace-flex-commit-opt-in",
|
|
11769
11774
|
"marketplace-integration-allowlist-updated",
|
|
11770
11775
|
"messageboard-created",
|
|
11776
|
+
"messageboard-private-created",
|
|
11777
|
+
"messageboard-private-space-created",
|
|
11771
11778
|
"messageboard-space-created",
|
|
11772
11779
|
"microfrontend-group-added",
|
|
11773
11780
|
"microfrontend-group-deleted",
|
|
@@ -50,6 +50,7 @@ const aiGatewayVirtualModelConfigSchema = z.object({
|
|
|
50
50
|
has: z.array(z.enum([
|
|
51
51
|
"implicit-caching",
|
|
52
52
|
"reasoning",
|
|
53
|
+
"structured-output",
|
|
53
54
|
"tool-use",
|
|
54
55
|
"vision"
|
|
55
56
|
])).optional().describe("Limit providers to those with these features."),
|
|
@@ -80,7 +81,7 @@ const aiGatewayVirtualModelConfigSchema = z.object({
|
|
|
80
81
|
models: z.array(z.union([
|
|
81
82
|
z.string(),
|
|
82
83
|
z.object({
|
|
83
|
-
|
|
84
|
+
intelligence: z.number().optional().describe("Highest task level the member handles, in [0, 1]. Read by the intelligence selector."),
|
|
84
85
|
slug: z.string()
|
|
85
86
|
}).strict(),
|
|
86
87
|
z.object({
|
|
@@ -10262,6 +10263,8 @@ const userEventSchema = z.object({
|
|
|
10262
10263
|
"marketplace-flex-commit-opt-in",
|
|
10263
10264
|
"marketplace-integration-allowlist-updated",
|
|
10264
10265
|
"messageboard-created",
|
|
10266
|
+
"messageboard-private-created",
|
|
10267
|
+
"messageboard-private-space-created",
|
|
10265
10268
|
"messageboard-space-created",
|
|
10266
10269
|
"microfrontend-group-added",
|
|
10267
10270
|
"microfrontend-group-deleted",
|
|
@@ -11047,6 +11050,8 @@ const listEventTypeSchema = z.object({
|
|
|
11047
11050
|
"marketplace-flex-commit-opt-in",
|
|
11048
11051
|
"marketplace-integration-allowlist-updated",
|
|
11049
11052
|
"messageboard-created",
|
|
11053
|
+
"messageboard-private-created",
|
|
11054
|
+
"messageboard-private-space-created",
|
|
11050
11055
|
"messageboard-space-created",
|
|
11051
11056
|
"microfrontend-group-added",
|
|
11052
11057
|
"microfrontend-group-deleted",
|
|
@@ -11748,6 +11753,8 @@ const listEventTypeSchema = z.object({
|
|
|
11748
11753
|
"marketplace-flex-commit-opt-in",
|
|
11749
11754
|
"marketplace-integration-allowlist-updated",
|
|
11750
11755
|
"messageboard-created",
|
|
11756
|
+
"messageboard-private-created",
|
|
11757
|
+
"messageboard-private-space-created",
|
|
11751
11758
|
"messageboard-space-created",
|
|
11752
11759
|
"microfrontend-group-added",
|
|
11753
11760
|
"microfrontend-group-deleted",
|
package/dist/schemas.cjs
CHANGED
package/dist/schemas.d.mts
CHANGED
|
@@ -34,6 +34,7 @@ declare const aiGatewayVirtualModelConfigSchema: z.ZodObject<{
|
|
|
34
34
|
has: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
35
35
|
"implicit-caching": "implicit-caching";
|
|
36
36
|
reasoning: "reasoning";
|
|
37
|
+
"structured-output": "structured-output";
|
|
37
38
|
"tool-use": "tool-use";
|
|
38
39
|
vision: "vision";
|
|
39
40
|
}>>>;
|
|
@@ -59,7 +60,7 @@ declare const aiGatewayVirtualModelConfigSchema: z.ZodObject<{
|
|
|
59
60
|
instanceId: z.ZodOptional<z.ZodString>;
|
|
60
61
|
kind: z.ZodString;
|
|
61
62
|
models: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
62
|
-
|
|
63
|
+
intelligence: z.ZodOptional<z.ZodNumber>;
|
|
63
64
|
slug: z.ZodString;
|
|
64
65
|
}, z.core.$strict>, z.ZodObject<{
|
|
65
66
|
model: z.ZodString;
|
|
@@ -8352,6 +8353,8 @@ declare const userEventSchema: z.ZodObject<{
|
|
|
8352
8353
|
"marketplace-flex-commit-opt-in": "marketplace-flex-commit-opt-in";
|
|
8353
8354
|
"marketplace-integration-allowlist-updated": "marketplace-integration-allowlist-updated";
|
|
8354
8355
|
"messageboard-created": "messageboard-created";
|
|
8356
|
+
"messageboard-private-created": "messageboard-private-created";
|
|
8357
|
+
"messageboard-private-space-created": "messageboard-private-space-created";
|
|
8355
8358
|
"messageboard-space-created": "messageboard-space-created";
|
|
8356
8359
|
"microfrontend-group-added": "microfrontend-group-added";
|
|
8357
8360
|
"microfrontend-group-deleted": "microfrontend-group-deleted";
|
|
@@ -9115,6 +9118,8 @@ declare const listEventTypeSchema: z.ZodObject<{
|
|
|
9115
9118
|
"marketplace-flex-commit-opt-in": "marketplace-flex-commit-opt-in";
|
|
9116
9119
|
"marketplace-integration-allowlist-updated": "marketplace-integration-allowlist-updated";
|
|
9117
9120
|
"messageboard-created": "messageboard-created";
|
|
9121
|
+
"messageboard-private-created": "messageboard-private-created";
|
|
9122
|
+
"messageboard-private-space-created": "messageboard-private-space-created";
|
|
9118
9123
|
"messageboard-space-created": "messageboard-space-created";
|
|
9119
9124
|
"microfrontend-group-added": "microfrontend-group-added";
|
|
9120
9125
|
"microfrontend-group-deleted": "microfrontend-group-deleted";
|
|
@@ -9812,6 +9817,8 @@ declare const listEventTypeSchema: z.ZodObject<{
|
|
|
9812
9817
|
"marketplace-flex-commit-opt-in": "marketplace-flex-commit-opt-in";
|
|
9813
9818
|
"marketplace-integration-allowlist-updated": "marketplace-integration-allowlist-updated";
|
|
9814
9819
|
"messageboard-created": "messageboard-created";
|
|
9820
|
+
"messageboard-private-created": "messageboard-private-created";
|
|
9821
|
+
"messageboard-private-space-created": "messageboard-private-space-created";
|
|
9815
9822
|
"messageboard-space-created": "messageboard-space-created";
|
|
9816
9823
|
"microfrontend-group-added": "microfrontend-group-added";
|
|
9817
9824
|
"microfrontend-group-deleted": "microfrontend-group-deleted";
|