vercel-api-js 1.8.1 → 1.8.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/components.d.mts.map +1 -1
- package/dist/effect.d.mts.map +1 -1
- package/dist/index.cjs +37 -1
- package/dist/index.d.ts +80 -5
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +37 -2
- package/dist/schemas.cjs +31 -1
- package/dist/schemas.d.mts +22 -2
- package/dist/schemas.d.mts.map +1 -1
- package/dist/schemas.mjs +31 -2
- package/dist/types.cjs +6 -0
- package/dist/types.d.mts +58 -3
- package/dist/types.d.mts.map +1 -1
- package/dist/types.mjs +6 -0
- package/package.json +1 -1
package/dist/schemas.cjs
CHANGED
|
@@ -704,6 +704,7 @@ const userEventSchema = z__namespace.object({
|
|
|
704
704
|
"log-drain-enabled",
|
|
705
705
|
"login",
|
|
706
706
|
"manual-deployment-promotion-created",
|
|
707
|
+
"marketplace-flex-commit-opt-in",
|
|
707
708
|
"marketplace-integration-allowlist-updated",
|
|
708
709
|
"microfrontend-group-added",
|
|
709
710
|
"microfrontend-group-deleted",
|
|
@@ -988,6 +989,7 @@ const userEventSchema = z__namespace.object({
|
|
|
988
989
|
"tracing-configured",
|
|
989
990
|
"tracing-disabled",
|
|
990
991
|
"unlink-login-connection",
|
|
992
|
+
"update-account-flow-triggered",
|
|
991
993
|
"user-delete",
|
|
992
994
|
"user-emu-account-archived",
|
|
993
995
|
"user-emu-account-deleted",
|
|
@@ -3755,6 +3757,7 @@ const userEventSchema = z__namespace.object({
|
|
|
3755
3757
|
edgeConfigSize: z__namespace.number().optional(),
|
|
3756
3758
|
edgeFunctionMaxSizeBytes: z__namespace.number().optional(),
|
|
3757
3759
|
edgeFunctionExecutionTimeoutMs: z__namespace.number().optional(),
|
|
3760
|
+
serverlessFunctionMaxDuration: z__namespace.number().optional(),
|
|
3758
3761
|
serverlessFunctionMaxMemorySize: z__namespace.number().optional(),
|
|
3759
3762
|
kvDatabases: z__namespace.number().optional(),
|
|
3760
3763
|
postgresDatabases: z__namespace.number().optional(),
|
|
@@ -4923,6 +4926,14 @@ const userEventSchema = z__namespace.object({
|
|
|
4923
4926
|
toDeploymentId: z__namespace.string(),
|
|
4924
4927
|
projectName: z__namespace.string()
|
|
4925
4928
|
}).strict(),
|
|
4929
|
+
z__namespace.object({
|
|
4930
|
+
periods: z__namespace.array(z__namespace.object({
|
|
4931
|
+
periodNumber: z__namespace.number(),
|
|
4932
|
+
percent: z__namespace.string(),
|
|
4933
|
+
startDate: z__namespace.string(),
|
|
4934
|
+
endDate: z__namespace.string()
|
|
4935
|
+
}))
|
|
4936
|
+
}).strict(),
|
|
4926
4937
|
z__namespace.object({
|
|
4927
4938
|
enabled: z__namespace.union([
|
|
4928
4939
|
z__namespace.literal(false),
|
|
@@ -5138,6 +5149,10 @@ const userEventSchema = z__namespace.object({
|
|
|
5138
5149
|
z__namespace.literal(false),
|
|
5139
5150
|
z__namespace.literal(true)
|
|
5140
5151
|
]).optional(),
|
|
5152
|
+
connectSrcNotificationsEnabled: z__namespace.union([
|
|
5153
|
+
z__namespace.literal(false),
|
|
5154
|
+
z__namespace.literal(true)
|
|
5155
|
+
]).optional(),
|
|
5141
5156
|
computedScriptSrc: z__namespace.string().optional(),
|
|
5142
5157
|
computedScriptSrcPreview: z__namespace.string().optional(),
|
|
5143
5158
|
computedConnectSrc: z__namespace.string().optional(),
|
|
@@ -5166,6 +5181,10 @@ const userEventSchema = z__namespace.object({
|
|
|
5166
5181
|
z__namespace.literal(false),
|
|
5167
5182
|
z__namespace.literal(true)
|
|
5168
5183
|
]).optional(),
|
|
5184
|
+
connectSrcNotificationsEnabled: z__namespace.union([
|
|
5185
|
+
z__namespace.literal(false),
|
|
5186
|
+
z__namespace.literal(true)
|
|
5187
|
+
]).optional(),
|
|
5169
5188
|
computedScriptSrc: z__namespace.string().optional(),
|
|
5170
5189
|
computedScriptSrcPreview: z__namespace.string().optional(),
|
|
5171
5190
|
computedConnectSrc: z__namespace.string().optional(),
|
|
@@ -7332,6 +7351,9 @@ const userEventSchema = z__namespace.object({
|
|
|
7332
7351
|
]),
|
|
7333
7352
|
login: z__namespace.string()
|
|
7334
7353
|
}).strict(),
|
|
7354
|
+
z__namespace.object({
|
|
7355
|
+
teamName: z__namespace.string().optional()
|
|
7356
|
+
}).strict(),
|
|
7335
7357
|
z__namespace.object({
|
|
7336
7358
|
totp: z__namespace.union([
|
|
7337
7359
|
z__namespace.literal(false),
|
|
@@ -8135,6 +8157,7 @@ const listEventTypeSchema = z__namespace.object({
|
|
|
8135
8157
|
"log-drain-enabled",
|
|
8136
8158
|
"login",
|
|
8137
8159
|
"manual-deployment-promotion-created",
|
|
8160
|
+
"marketplace-flex-commit-opt-in",
|
|
8138
8161
|
"marketplace-integration-allowlist-updated",
|
|
8139
8162
|
"microfrontend-group-added",
|
|
8140
8163
|
"microfrontend-group-deleted",
|
|
@@ -8419,6 +8442,7 @@ const listEventTypeSchema = z__namespace.object({
|
|
|
8419
8442
|
"tracing-configured",
|
|
8420
8443
|
"tracing-disabled",
|
|
8421
8444
|
"unlink-login-connection",
|
|
8445
|
+
"update-account-flow-triggered",
|
|
8422
8446
|
"user-delete",
|
|
8423
8447
|
"user-emu-account-archived",
|
|
8424
8448
|
"user-emu-account-deleted",
|
|
@@ -8750,6 +8774,7 @@ const listEventTypeSchema = z__namespace.object({
|
|
|
8750
8774
|
"log-drain-enabled",
|
|
8751
8775
|
"login",
|
|
8752
8776
|
"manual-deployment-promotion-created",
|
|
8777
|
+
"marketplace-flex-commit-opt-in",
|
|
8753
8778
|
"marketplace-integration-allowlist-updated",
|
|
8754
8779
|
"microfrontend-group-added",
|
|
8755
8780
|
"microfrontend-group-deleted",
|
|
@@ -9034,6 +9059,7 @@ const listEventTypeSchema = z__namespace.object({
|
|
|
9034
9059
|
"tracing-configured",
|
|
9035
9060
|
"tracing-disabled",
|
|
9036
9061
|
"unlink-login-connection",
|
|
9062
|
+
"update-account-flow-triggered",
|
|
9037
9063
|
"user-delete",
|
|
9038
9064
|
"user-emu-account-archived",
|
|
9039
9065
|
"user-emu-account-deleted",
|
|
@@ -9642,7 +9668,7 @@ const namedSandboxSchema = z__namespace.object({
|
|
|
9642
9668
|
z__namespace.literal(false),
|
|
9643
9669
|
z__namespace.literal(true)
|
|
9644
9670
|
]).describe("Whether the sandbox persists its state across restarts via automatic snapshots."),
|
|
9645
|
-
region: z__namespace.string().optional().describe("The region the sandbox
|
|
9671
|
+
region: z__namespace.string().optional().describe("The region the sandbox is configured to run in: the region set on the sandbox, otherwise the project-level default, then the platform default. Where a running session actually landed is reported by `session.region`."),
|
|
9646
9672
|
vcpus: z__namespace.number().optional().describe("Number of virtual CPUs allocated."),
|
|
9647
9673
|
memory: z__namespace.number().optional().describe("Memory allocated in MB."),
|
|
9648
9674
|
runtime: z__namespace.string().optional().describe("Runtime identifier."),
|
|
@@ -10587,6 +10613,7 @@ const authUserSchema = z__namespace.object({
|
|
|
10587
10613
|
edgeConfigSize: z__namespace.number().optional().describe("An object containing infomation related to the amount of platform resources may be allocated to the User account."),
|
|
10588
10614
|
edgeFunctionMaxSizeBytes: z__namespace.number().optional().describe("An object containing infomation related to the amount of platform resources may be allocated to the User account."),
|
|
10589
10615
|
edgeFunctionExecutionTimeoutMs: z__namespace.number().optional().describe("An object containing infomation related to the amount of platform resources may be allocated to the User account."),
|
|
10616
|
+
serverlessFunctionMaxDuration: z__namespace.number().optional().describe("An object containing infomation related to the amount of platform resources may be allocated to the User account."),
|
|
10590
10617
|
serverlessFunctionMaxMemorySize: z__namespace.number().optional().describe("An object containing infomation related to the amount of platform resources may be allocated to the User account."),
|
|
10591
10618
|
kvDatabases: z__namespace.number().optional().describe("An object containing infomation related to the amount of platform resources may be allocated to the User account."),
|
|
10592
10619
|
postgresDatabases: z__namespace.number().optional().describe("An object containing infomation related to the amount of platform resources may be allocated to the User account."),
|
|
@@ -11955,6 +11982,7 @@ const createConnectorStatus404Schema = z__namespace.unknown();
|
|
|
11955
11982
|
const createConnectorStatus409Schema = z__namespace.unknown();
|
|
11956
11983
|
const createConnectorStatus410Schema = z__namespace.unknown();
|
|
11957
11984
|
const createConnectorStatus422Schema = z__namespace.unknown();
|
|
11985
|
+
const createConnectorStatus500Schema = z__namespace.unknown();
|
|
11958
11986
|
const createConnectorStatus502Schema = z__namespace.unknown();
|
|
11959
11987
|
const createConnectorResponseSchema = z__namespace.union([
|
|
11960
11988
|
createConnectorStatus201Schema,
|
|
@@ -11965,6 +11993,7 @@ const createConnectorResponseSchema = z__namespace.union([
|
|
|
11965
11993
|
createConnectorStatus409Schema,
|
|
11966
11994
|
createConnectorStatus410Schema,
|
|
11967
11995
|
createConnectorStatus422Schema,
|
|
11996
|
+
createConnectorStatus500Schema,
|
|
11968
11997
|
createConnectorStatus502Schema
|
|
11969
11998
|
]);
|
|
11970
11999
|
const getConnectorTokenPathConnectorSchema = z__namespace.string();
|
|
@@ -18245,6 +18274,7 @@ exports.createConnectorStatus404Schema = createConnectorStatus404Schema;
|
|
|
18245
18274
|
exports.createConnectorStatus409Schema = createConnectorStatus409Schema;
|
|
18246
18275
|
exports.createConnectorStatus410Schema = createConnectorStatus410Schema;
|
|
18247
18276
|
exports.createConnectorStatus422Schema = createConnectorStatus422Schema;
|
|
18277
|
+
exports.createConnectorStatus500Schema = createConnectorStatus500Schema;
|
|
18248
18278
|
exports.createConnectorStatus502Schema = createConnectorStatus502Schema;
|
|
18249
18279
|
exports.createCustomEnvironmentPathIdOrNameSchema = createCustomEnvironmentPathIdOrNameSchema;
|
|
18250
18280
|
exports.createCustomEnvironmentQuerySlugSchema = createCustomEnvironmentQuerySlugSchema;
|