vercel-api-js 1.9.1 → 1.9.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 +4 -4
- package/dist/index.d.ts +14 -10
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/{schemas-dkkesx73.cjs → schemas-in74gnjm.cjs} +8 -8
- package/dist/{schemas-ffrql7rd.js → schemas-jzkupi74.js} +6 -6
- package/dist/schemas.cjs +4 -4
- package/dist/schemas.d.mts +4 -4
- package/dist/schemas.d.mts.map +1 -1
- package/dist/schemas.mjs +1 -1
- package/dist/types.d.mts +10 -6
- package/dist/types.d.mts.map +1 -1
- package/package.json +1 -1
|
@@ -392,7 +392,7 @@ const registrantFieldSchema = z__namespace.union([
|
|
|
392
392
|
])
|
|
393
393
|
}).strict()
|
|
394
394
|
]).describe("Schema definition for registrant fields.");
|
|
395
|
-
const
|
|
395
|
+
const globalConfigItemValueSchema = z__namespace.union([
|
|
396
396
|
z__namespace.string(),
|
|
397
397
|
z__namespace.number(),
|
|
398
398
|
z__namespace.object({}).catchall(z__namespace.unknown()),
|
|
@@ -402,7 +402,7 @@ const edgeConfigItemValueSchema = z__namespace.union([
|
|
|
402
402
|
z__namespace.literal(true)
|
|
403
403
|
])
|
|
404
404
|
]).nullable();
|
|
405
|
-
const
|
|
405
|
+
const globalConfigItemSchema = z__namespace.object({
|
|
406
406
|
key: z__namespace.string(),
|
|
407
407
|
value: z__namespace.unknown(),
|
|
408
408
|
description: z__namespace.string().optional(),
|
|
@@ -410,7 +410,7 @@ const edgeConfigItemSchema = z__namespace.object({
|
|
|
410
410
|
createdAt: z__namespace.number(),
|
|
411
411
|
updatedAt: z__namespace.number()
|
|
412
412
|
}).describe("The Global Config.");
|
|
413
|
-
const
|
|
413
|
+
const globalConfigTokenSchema = z__namespace.object({
|
|
414
414
|
partialToken: z__namespace.string().describe("A partially-masked representation of the token, safe to display in UIs. The format is the first 3 characters of the token followed by a fixed 8-character `*` mask (e.g. `550e8400-e29b-41d4-a716-446655440000` → `550********`). The mask length is intentionally fixed (not proportional to the original token length) to avoid leaking the token length. Prefer this field for display/reference in UIs and logs. The full, plaintext token is only disclosed once at creation time via `POST /v1/edge-config/:edgeConfigId/token`; use `id` to reference a token in subsequent calls (e.g. when deleting)."),
|
|
415
415
|
label: z__namespace.string(),
|
|
416
416
|
id: z__namespace.string().describe("This is not the token itself, but rather an id to identify the token by"),
|
|
@@ -16530,7 +16530,7 @@ const listSessionSnapshotsResponseSchema = z__namespace.union([
|
|
|
16530
16530
|
listSessionSnapshotsStatus410Schema,
|
|
16531
16531
|
listSessionSnapshotsStatus429Schema
|
|
16532
16532
|
]);
|
|
16533
|
-
const getSessionSnapshotPathSnapshotIdSchema = z__namespace.string().describe("The unique identifier of the snapshot to retrieve.");
|
|
16533
|
+
const getSessionSnapshotPathSnapshotIdSchema = z__namespace.string().max(33).regex(/^(?:snap_[A-Za-z0-9]{28}|vhs_[a-z0-9]{28})$/).describe("The unique identifier of the snapshot to retrieve.");
|
|
16534
16534
|
const getSessionSnapshotQueryTeamIdSchema = z__namespace.string().optional().describe("The Team identifier to perform the request on behalf of.");
|
|
16535
16535
|
const getSessionSnapshotQuerySlugSchema = z__namespace.string().optional().describe("The Team slug to perform the request on behalf of.");
|
|
16536
16536
|
const getSessionSnapshotStatus200Schema = z__namespace.unknown();
|
|
@@ -16549,7 +16549,7 @@ const getSessionSnapshotResponseSchema = z__namespace.union([
|
|
|
16549
16549
|
getSessionSnapshotStatus410Schema,
|
|
16550
16550
|
getSessionSnapshotStatus429Schema
|
|
16551
16551
|
]);
|
|
16552
|
-
const deleteSessionSnapshotPathSnapshotIdSchema = z__namespace.string().describe("The unique identifier of the snapshot to delete.");
|
|
16552
|
+
const deleteSessionSnapshotPathSnapshotIdSchema = z__namespace.string().max(33).regex(/^(?:snap_[A-Za-z0-9]{28}|vhs_[a-z0-9]{28})$/).describe("The unique identifier of the snapshot to delete.");
|
|
16553
16553
|
const deleteSessionSnapshotQueryTeamIdSchema = z__namespace.string().optional().describe("The Team identifier to perform the request on behalf of.");
|
|
16554
16554
|
const deleteSessionSnapshotQuerySlugSchema = z__namespace.string().optional().describe("The Team slug to perform the request on behalf of.");
|
|
16555
16555
|
const deleteSessionSnapshotStatus200Schema = z__namespace.unknown();
|
|
@@ -19996,9 +19996,6 @@ exports.downloadArtifactStatus410Schema = downloadArtifactStatus410Schema;
|
|
|
19996
19996
|
exports.driveSchema = driveSchema;
|
|
19997
19997
|
exports.duplicateDomainsSchema = duplicateDomainsSchema;
|
|
19998
19998
|
exports.e164PhoneNumberSchema = e164PhoneNumberSchema;
|
|
19999
|
-
exports.edgeConfigItemSchema = edgeConfigItemSchema;
|
|
20000
|
-
exports.edgeConfigItemValueSchema = edgeConfigItemValueSchema;
|
|
20001
|
-
exports.edgeConfigTokenSchema = edgeConfigTokenSchema;
|
|
20002
19999
|
exports.editProjectEnvPathIdOrNameSchema = editProjectEnvPathIdOrNameSchema;
|
|
20003
20000
|
exports.editProjectEnvPathIdSchema = editProjectEnvPathIdSchema;
|
|
20004
20001
|
exports.editProjectEnvQuerySlugSchema = editProjectEnvQuerySlugSchema;
|
|
@@ -21364,6 +21361,9 @@ exports.gitNamespacesStatus404Schema = gitNamespacesStatus404Schema;
|
|
|
21364
21361
|
exports.gitNamespacesStatus410Schema = gitNamespacesStatus410Schema;
|
|
21365
21362
|
exports.gitNamespacesStatus429Schema = gitNamespacesStatus429Schema;
|
|
21366
21363
|
exports.gitNamespacesStatus500Schema = gitNamespacesStatus500Schema;
|
|
21364
|
+
exports.globalConfigItemSchema = globalConfigItemSchema;
|
|
21365
|
+
exports.globalConfigItemValueSchema = globalConfigItemValueSchema;
|
|
21366
|
+
exports.globalConfigTokenSchema = globalConfigTokenSchema;
|
|
21367
21367
|
exports.httpApiDecodeErrorSchema = httpApiDecodeErrorSchema;
|
|
21368
21368
|
exports.importConnectorTokensPathConnectorSchema = importConnectorTokensPathConnectorSchema;
|
|
21369
21369
|
exports.importConnectorTokensResponseSchema = importConnectorTokensResponseSchema;
|