@spacefast/common 0.0.5 → 0.0.6
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/agents/connect-targets.d.ts +133 -0
- package/dist/agents/connect-targets.js +224 -0
- package/dist/brand.d.ts +1 -0
- package/dist/brand.js +5 -0
- package/dist/config/domains.d.ts +12 -6
- package/dist/config/domains.js +30 -38
- package/dist/contracts/access.d.ts +825 -125
- package/dist/contracts/access.js +771 -148
- package/dist/contracts/activity.d.ts +1 -1
- package/dist/contracts/activity.js +28 -2
- package/dist/contracts/annotations.d.ts +2 -4
- package/dist/contracts/api-keys.d.ts +3 -4
- package/dist/contracts/api-keys.js +9 -6
- package/dist/contracts/archives.d.ts +8 -2
- package/dist/contracts/archives.js +11 -4
- package/dist/contracts/billing.d.ts +0 -9
- package/dist/contracts/builds.d.ts +25 -21
- package/dist/contracts/builds.js +12 -0
- package/dist/contracts/common.d.ts +2 -0
- package/dist/contracts/common.js +4 -0
- package/dist/contracts/continuation.d.ts +0 -3
- package/dist/contracts/countries.d.ts +2 -0
- package/dist/contracts/countries.js +261 -0
- package/dist/contracts/deployments.d.ts +34 -34
- package/dist/contracts/device-auth.d.ts +4 -11
- package/dist/contracts/device-auth.js +4 -0
- package/dist/contracts/docs.d.ts +119 -0
- package/dist/contracts/docs.js +51 -0
- package/dist/contracts/domains.d.ts +96 -54
- package/dist/contracts/domains.js +26 -4
- package/dist/contracts/enums.d.ts +15 -16
- package/dist/contracts/enums.js +25 -14
- package/dist/contracts/error-code-meta.d.ts +72 -0
- package/dist/contracts/error-code-meta.js +96 -10
- package/dist/contracts/error-codes.d.ts +1 -1
- package/dist/contracts/error-codes.js +14 -0
- package/dist/contracts/events.d.ts +1 -1
- package/dist/contracts/features.d.ts +76 -6
- package/dist/contracts/features.js +178 -13
- package/dist/contracts/git.d.ts +2 -8
- package/dist/contracts/ids.d.ts +5 -0
- package/dist/contracts/ids.js +5 -0
- package/dist/contracts/mcp.d.ts +8 -10
- package/dist/contracts/me.js +1 -1
- package/dist/contracts/oauth-resources.d.ts +19 -8
- package/dist/contracts/oauth-resources.js +44 -13
- package/dist/contracts/platform.d.ts +0 -102
- package/dist/contracts/platform.js +0 -50
- package/dist/contracts/push-new.d.ts +4 -4
- package/dist/contracts/quotas.d.ts +2 -0
- package/dist/contracts/quotas.js +8 -0
- package/dist/contracts/repository-connections.d.ts +6 -8
- package/dist/contracts/resources.d.ts +97 -13
- package/dist/contracts/resources.js +26 -2
- package/dist/contracts/routes.d.ts +0 -2
- package/dist/contracts/runtime-api.d.ts +361 -39
- package/dist/contracts/runtime-api.js +275 -6
- package/dist/contracts/sites.d.ts +19 -2
- package/dist/contracts/sites.js +21 -0
- package/dist/contracts/space-config.d.ts +201 -2
- package/dist/contracts/space-config.js +135 -5
- package/dist/contracts/spaces.d.ts +364 -193
- package/dist/contracts/spaces.js +40 -8
- package/dist/contracts/superadmin-emails.d.ts +4 -2
- package/dist/contracts/superadmin-emails.js +8 -0
- package/dist/contracts/superadmin-queues.d.ts +26 -26
- package/dist/contracts/superadmin-spaces.d.ts +170 -42
- package/dist/contracts/superadmin.d.ts +6 -93
- package/dist/contracts/superadmin.js +6 -14
- package/dist/contracts/tags.d.ts +10 -9
- package/dist/contracts/tags.js +2 -1
- package/dist/contracts/teams.d.ts +21 -22
- package/dist/contracts/teams.js +0 -1
- package/dist/contracts/theme-json.d.ts +30 -0
- package/dist/contracts/theme-json.js +48 -0
- package/dist/contracts/variables.d.ts +0 -2
- package/dist/contracts/variables.js +0 -5
- package/dist/contracts/webhooks.d.ts +2 -0
- package/dist/contracts/webhooks.js +1 -1
- package/dist/contracts/zero.d.ts +5 -10
- package/dist/docs/agent-prose.d.ts +43 -3
- package/dist/docs/agent-prose.js +146 -7
- package/dist/docs/agent-setup.js +45 -13
- package/dist/docs/agent-solutions.d.ts +5 -5
- package/dist/docs/agent-solutions.js +2 -2
- package/dist/docs/catalog.d.ts +650 -0
- package/dist/docs/catalog.js +758 -0
- package/dist/docs/error-docs.d.ts +0 -2
- package/dist/docs/error-docs.js +77 -35
- package/dist/docs/index-build.d.ts +17 -0
- package/dist/docs/index-build.js +24 -0
- package/dist/docs/search.d.ts +54 -0
- package/dist/docs/search.js +96 -0
- package/dist/docs/skill-distribution.d.ts +5 -3
- package/dist/docs/skill-distribution.js +8 -8
- package/dist/utils/access-match.d.ts +39 -0
- package/dist/utils/access-match.js +296 -0
- package/dist/utils/auth-redirect.d.ts +3 -1
- package/dist/utils/auth-redirect.js +21 -1
- package/dist/utils/build-settings.d.ts +6 -0
- package/dist/utils/build-settings.js +429 -46
- package/dist/utils/claim-token.d.ts +8 -0
- package/dist/utils/claim-token.js +23 -2
- package/dist/utils/content-type.d.ts +1 -0
- package/dist/utils/content-type.js +1 -1
- package/dist/utils/credential-policy.d.ts +54 -0
- package/dist/utils/{access-policy.js → credential-policy.js} +28 -2
- package/dist/utils/gate-theme.d.ts +61 -0
- package/dist/utils/gate-theme.js +217 -0
- package/dist/utils/git-repository.d.ts +0 -1
- package/dist/utils/git-repository.js +0 -3
- package/dist/utils/id-hints.d.ts +8 -0
- package/dist/utils/id-hints.js +61 -0
- package/dist/utils/local-space-state.d.ts +91 -0
- package/dist/utils/local-space-state.js +251 -0
- package/dist/utils/oauth-signed-query.d.ts +8 -0
- package/dist/utils/oauth-signed-query.js +26 -0
- package/dist/utils/publish-detection.d.ts +0 -8
- package/dist/utils/publish-detection.js +0 -93
- package/dist/utils/publish-policy.d.ts +6 -5
- package/dist/utils/publish-policy.js +71 -7
- package/dist/utils/query-keys.d.ts +15 -4
- package/dist/utils/query-keys.js +27 -4
- package/dist/utils/runtime-paths.d.ts +0 -1
- package/dist/utils/runtime-paths.js +0 -1
- package/dist/utils/runtime-upload-batch.d.ts +18 -0
- package/dist/utils/runtime-upload-batch.js +90 -0
- package/dist/utils/runtime-upload.d.ts +2 -0
- package/dist/utils/runtime-upload.js +5 -0
- package/dist/utils/space-config.d.ts +4 -0
- package/dist/utils/space-config.js +10 -1
- package/dist/utils/space-theme.d.ts +2 -0
- package/dist/utils/space-theme.js +9 -0
- package/dist/utils/static-runtime-policy.d.ts +0 -21
- package/dist/utils/static-runtime-policy.js +19 -103
- package/dist/utils/upload-session.d.ts +1 -1
- package/dist/utils/wpcom-auth-redirects.d.ts +32 -2
- package/dist/utils/wpcom-auth-redirects.js +26 -10
- package/dist/vocabulary.d.ts +130 -30
- package/dist/vocabulary.js +77 -36
- package/package.json +16 -1
- package/dist/contracts/account.d.ts +0 -28
- package/dist/contracts/account.js +0 -54
- package/dist/contracts/intercom.d.ts +0 -6
- package/dist/contracts/intercom.js +0 -5
- package/dist/contracts/telemetry.d.ts +0 -2
- package/dist/contracts/telemetry.js +0 -1
- package/dist/utils/access-policy.d.ts +0 -39
- package/dist/utils/error-display.d.ts +0 -7
- package/dist/utils/error-display.js +0 -42
|
@@ -57,8 +57,17 @@ export declare const runtimeUploadSessionResponseSchema: z.ZodObject<{
|
|
|
57
57
|
pending_paths: z.ZodArray<z.ZodString>;
|
|
58
58
|
chunks: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodNumber>>;
|
|
59
59
|
}, z.core.$strip>;
|
|
60
|
+
export declare const runtimeZeroModeSchema: z.ZodEnum<{
|
|
61
|
+
active: "active";
|
|
62
|
+
activating: "activating";
|
|
63
|
+
}>;
|
|
64
|
+
export type RuntimeZeroMode = z.infer<typeof runtimeZeroModeSchema>;
|
|
60
65
|
export declare const runtimeVersionFinalizeRequestSchema: z.ZodObject<{
|
|
61
66
|
upload_id: z.ZodString;
|
|
67
|
+
zero_mode: z.ZodOptional<z.ZodEnum<{
|
|
68
|
+
active: "active";
|
|
69
|
+
activating: "activating";
|
|
70
|
+
}>>;
|
|
62
71
|
ready_at: z.ZodOptional<z.ZodNumber>;
|
|
63
72
|
convention_files: z.ZodOptional<z.ZodObject<{
|
|
64
73
|
redirects: z.ZodOptional<z.ZodString>;
|
|
@@ -66,6 +75,11 @@ export declare const runtimeVersionFinalizeRequestSchema: z.ZodObject<{
|
|
|
66
75
|
}, z.core.$strict>>;
|
|
67
76
|
template_files: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
68
77
|
template_variants: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
78
|
+
access_pages: z.ZodOptional<z.ZodObject<{
|
|
79
|
+
challenge: z.ZodOptional<z.ZodString>;
|
|
80
|
+
deny: z.ZodOptional<z.ZodString>;
|
|
81
|
+
}, z.core.$strip>>;
|
|
82
|
+
layout_template: z.ZodOptional<z.ZodString>;
|
|
69
83
|
serving: z.ZodOptional<z.ZodObject<{
|
|
70
84
|
headers_exact: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
71
85
|
headers_pattern: z.ZodDefault<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
@@ -77,6 +91,7 @@ export declare const runtimeVersionFinalizeRequestSchema: z.ZodObject<{
|
|
|
77
91
|
path: z.ZodString;
|
|
78
92
|
status: z.ZodUnion<readonly [z.ZodLiteral<200>, z.ZodLiteral<404>]>;
|
|
79
93
|
}, z.core.$strip>>>;
|
|
94
|
+
clean_urls: z.ZodOptional<z.ZodBoolean>;
|
|
80
95
|
listing: z.ZodOptional<z.ZodBoolean>;
|
|
81
96
|
viewer: z.ZodOptional<z.ZodBoolean>;
|
|
82
97
|
meta: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -84,6 +99,17 @@ export declare const runtimeVersionFinalizeRequestSchema: z.ZodObject<{
|
|
|
84
99
|
description: z.ZodOptional<z.ZodString>;
|
|
85
100
|
image: z.ZodOptional<z.ZodString>;
|
|
86
101
|
}, z.core.$strip>>>;
|
|
102
|
+
pages: z.ZodOptional<z.ZodObject<{
|
|
103
|
+
theme: z.ZodOptional<z.ZodObject<{
|
|
104
|
+
accent: z.ZodOptional<z.ZodString>;
|
|
105
|
+
background: z.ZodOptional<z.ZodString>;
|
|
106
|
+
logo: z.ZodOptional<z.ZodString>;
|
|
107
|
+
name: z.ZodOptional<z.ZodString>;
|
|
108
|
+
fontFamily: z.ZodOptional<z.ZodString>;
|
|
109
|
+
}, z.core.$strip>>;
|
|
110
|
+
theme_vars: z.ZodOptional<z.ZodString>;
|
|
111
|
+
white_label: z.ZodOptional<z.ZodBoolean>;
|
|
112
|
+
}, z.core.$strip>>;
|
|
87
113
|
experimental_gutenberg: z.ZodOptional<z.ZodBoolean>;
|
|
88
114
|
platform_meta: z.ZodOptional<z.ZodBoolean>;
|
|
89
115
|
spacefast_sdk: z.ZodOptional<z.ZodObject<{
|
|
@@ -140,8 +166,11 @@ export declare const runtimeVersionFinalizeRequestSchema: z.ZodObject<{
|
|
|
140
166
|
config: z.ZodOptional<z.ZodObject<{
|
|
141
167
|
policy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
142
168
|
rules: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
169
|
+
id: z.ZodOptional<z.ZodString>;
|
|
143
170
|
match: z.ZodDefault<z.ZodObject<{
|
|
144
171
|
host: z.ZodOptional<z.ZodString>;
|
|
172
|
+
hostPattern: z.ZodOptional<z.ZodString>;
|
|
173
|
+
hostTemplate: z.ZodOptional<z.ZodString>;
|
|
145
174
|
pathPattern: z.ZodOptional<z.ZodString>;
|
|
146
175
|
channel: z.ZodOptional<z.ZodString>;
|
|
147
176
|
ipCidrs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -158,32 +187,60 @@ export declare const runtimeVersionFinalizeRequestSchema: z.ZodObject<{
|
|
|
158
187
|
challenge: "challenge";
|
|
159
188
|
}>;
|
|
160
189
|
auth: z.ZodOptional<z.ZodObject<{
|
|
161
|
-
|
|
190
|
+
requiredGrants: z.ZodArray<z.ZodString>;
|
|
191
|
+
issuers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
192
|
+
kid: z.ZodString;
|
|
193
|
+
alg: z.ZodLiteral<"EdDSA">;
|
|
194
|
+
publicKey: z.ZodString;
|
|
195
|
+
grantNamespaces: z.ZodArray<z.ZodString>;
|
|
196
|
+
}, z.core.$strip>>>;
|
|
197
|
+
acquire: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
198
|
+
type: z.ZodLiteral<"password">;
|
|
162
199
|
ref: z.ZodString;
|
|
163
200
|
transport: z.ZodEnum<{
|
|
164
201
|
basic: "basic";
|
|
165
202
|
form: "form";
|
|
166
203
|
}>;
|
|
167
204
|
username: z.ZodOptional<z.ZodString>;
|
|
168
|
-
}, z.core.$strip
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
alg: z.ZodLiteral<"EdDSA">;
|
|
174
|
-
publicKey: z.ZodString;
|
|
175
|
-
grantNamespaces: z.ZodArray<z.ZodString>;
|
|
176
|
-
}, z.core.$strip>>>;
|
|
177
|
-
loginUrl: z.ZodOptional<z.ZodString>;
|
|
178
|
-
cookieName: z.ZodOptional<z.ZodString>;
|
|
179
|
-
}, z.core.$strip>>;
|
|
205
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
206
|
+
type: z.ZodLiteral<"login">;
|
|
207
|
+
url: z.ZodString;
|
|
208
|
+
label: z.ZodOptional<z.ZodString>;
|
|
209
|
+
}, z.core.$strip>], "type">>>;
|
|
180
210
|
}, z.core.$strip>>;
|
|
211
|
+
managedBy: z.ZodOptional<z.ZodEnum<{
|
|
212
|
+
sharing: "sharing";
|
|
213
|
+
firewall: "firewall";
|
|
214
|
+
file_share: "file_share";
|
|
215
|
+
cast_reviewer: "cast_reviewer";
|
|
216
|
+
team_default: "team_default";
|
|
217
|
+
}>>;
|
|
218
|
+
expiresAt: z.ZodOptional<z.ZodNumber>;
|
|
181
219
|
reasonCode: z.ZodOptional<z.ZodString>;
|
|
182
220
|
message: z.ZodOptional<z.ZodString>;
|
|
183
221
|
}, z.core.$strip>>>;
|
|
222
|
+
issuers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
223
|
+
kid: z.ZodString;
|
|
224
|
+
alg: z.ZodLiteral<"EdDSA">;
|
|
225
|
+
publicKey: z.ZodString;
|
|
226
|
+
grantNamespaces: z.ZodArray<z.ZodString>;
|
|
227
|
+
}, z.core.$strip>>>;
|
|
228
|
+
sessionVersion: z.ZodOptional<z.ZodNumber>;
|
|
184
229
|
}, z.core.$strip>>>;
|
|
185
230
|
secrets: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
231
|
+
session_version: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
186
232
|
anonymous_expires_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
233
|
+
content_types: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
234
|
+
allowed: z.ZodArray<z.ZodString>;
|
|
235
|
+
blocked_message: z.ZodOptional<z.ZodString>;
|
|
236
|
+
}, z.core.$strip>>>;
|
|
237
|
+
admission: z.ZodOptional<z.ZodObject<{
|
|
238
|
+
concurrency: z.ZodNumber;
|
|
239
|
+
}, z.core.$strip>>;
|
|
240
|
+
revocations: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
241
|
+
entitlements: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
242
|
+
externalProxy: z.ZodBoolean;
|
|
243
|
+
}, z.core.$strip>>>;
|
|
187
244
|
}, z.core.$strip>>;
|
|
188
245
|
changed_paths: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
189
246
|
previous_version_id: z.ZodOptional<z.ZodString>;
|
|
@@ -210,6 +267,7 @@ export declare const runtimeVersionFinalizeResponseSchema: z.ZodObject<{
|
|
|
210
267
|
space_id: z.ZodString;
|
|
211
268
|
version_id: z.ZodString;
|
|
212
269
|
status: z.ZodLiteral<"ready">;
|
|
270
|
+
zero_endpoint_count: z.ZodOptional<z.ZodNumber>;
|
|
213
271
|
manifest: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
214
272
|
path: z.ZodString;
|
|
215
273
|
size: z.ZodNumber;
|
|
@@ -223,8 +281,11 @@ export declare const runtimeRouteUpdateRequestSchema: z.ZodObject<{
|
|
|
223
281
|
config: z.ZodOptional<z.ZodObject<{
|
|
224
282
|
policy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
225
283
|
rules: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
284
|
+
id: z.ZodOptional<z.ZodString>;
|
|
226
285
|
match: z.ZodDefault<z.ZodObject<{
|
|
227
286
|
host: z.ZodOptional<z.ZodString>;
|
|
287
|
+
hostPattern: z.ZodOptional<z.ZodString>;
|
|
288
|
+
hostTemplate: z.ZodOptional<z.ZodString>;
|
|
228
289
|
pathPattern: z.ZodOptional<z.ZodString>;
|
|
229
290
|
channel: z.ZodOptional<z.ZodString>;
|
|
230
291
|
ipCidrs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -241,32 +302,60 @@ export declare const runtimeRouteUpdateRequestSchema: z.ZodObject<{
|
|
|
241
302
|
challenge: "challenge";
|
|
242
303
|
}>;
|
|
243
304
|
auth: z.ZodOptional<z.ZodObject<{
|
|
244
|
-
|
|
305
|
+
requiredGrants: z.ZodArray<z.ZodString>;
|
|
306
|
+
issuers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
307
|
+
kid: z.ZodString;
|
|
308
|
+
alg: z.ZodLiteral<"EdDSA">;
|
|
309
|
+
publicKey: z.ZodString;
|
|
310
|
+
grantNamespaces: z.ZodArray<z.ZodString>;
|
|
311
|
+
}, z.core.$strip>>>;
|
|
312
|
+
acquire: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
313
|
+
type: z.ZodLiteral<"password">;
|
|
245
314
|
ref: z.ZodString;
|
|
246
315
|
transport: z.ZodEnum<{
|
|
247
316
|
basic: "basic";
|
|
248
317
|
form: "form";
|
|
249
318
|
}>;
|
|
250
319
|
username: z.ZodOptional<z.ZodString>;
|
|
251
|
-
}, z.core.$strip
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
alg: z.ZodLiteral<"EdDSA">;
|
|
257
|
-
publicKey: z.ZodString;
|
|
258
|
-
grantNamespaces: z.ZodArray<z.ZodString>;
|
|
259
|
-
}, z.core.$strip>>>;
|
|
260
|
-
loginUrl: z.ZodOptional<z.ZodString>;
|
|
261
|
-
cookieName: z.ZodOptional<z.ZodString>;
|
|
262
|
-
}, z.core.$strip>>;
|
|
320
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
321
|
+
type: z.ZodLiteral<"login">;
|
|
322
|
+
url: z.ZodString;
|
|
323
|
+
label: z.ZodOptional<z.ZodString>;
|
|
324
|
+
}, z.core.$strip>], "type">>>;
|
|
263
325
|
}, z.core.$strip>>;
|
|
326
|
+
managedBy: z.ZodOptional<z.ZodEnum<{
|
|
327
|
+
sharing: "sharing";
|
|
328
|
+
firewall: "firewall";
|
|
329
|
+
file_share: "file_share";
|
|
330
|
+
cast_reviewer: "cast_reviewer";
|
|
331
|
+
team_default: "team_default";
|
|
332
|
+
}>>;
|
|
333
|
+
expiresAt: z.ZodOptional<z.ZodNumber>;
|
|
264
334
|
reasonCode: z.ZodOptional<z.ZodString>;
|
|
265
335
|
message: z.ZodOptional<z.ZodString>;
|
|
266
336
|
}, z.core.$strip>>>;
|
|
337
|
+
issuers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
338
|
+
kid: z.ZodString;
|
|
339
|
+
alg: z.ZodLiteral<"EdDSA">;
|
|
340
|
+
publicKey: z.ZodString;
|
|
341
|
+
grantNamespaces: z.ZodArray<z.ZodString>;
|
|
342
|
+
}, z.core.$strip>>>;
|
|
343
|
+
sessionVersion: z.ZodOptional<z.ZodNumber>;
|
|
267
344
|
}, z.core.$strip>>>;
|
|
268
345
|
secrets: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
346
|
+
session_version: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
269
347
|
anonymous_expires_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
348
|
+
content_types: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
349
|
+
allowed: z.ZodArray<z.ZodString>;
|
|
350
|
+
blocked_message: z.ZodOptional<z.ZodString>;
|
|
351
|
+
}, z.core.$strip>>>;
|
|
352
|
+
admission: z.ZodOptional<z.ZodObject<{
|
|
353
|
+
concurrency: z.ZodNumber;
|
|
354
|
+
}, z.core.$strip>>;
|
|
355
|
+
revocations: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
356
|
+
entitlements: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
357
|
+
externalProxy: z.ZodBoolean;
|
|
358
|
+
}, z.core.$strip>>>;
|
|
270
359
|
}, z.core.$strip>>;
|
|
271
360
|
changed_paths: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
272
361
|
previous_version_id: z.ZodOptional<z.ZodString>;
|
|
@@ -288,11 +377,34 @@ export declare const runtimeRouteUpdateRequestSchema: z.ZodObject<{
|
|
|
288
377
|
noindex: z.ZodDefault<z.ZodBoolean>;
|
|
289
378
|
}, z.core.$strip>>>;
|
|
290
379
|
}, z.core.$strip>;
|
|
380
|
+
export declare const runtimeHostnameIntentUpdateRequestSchema: z.ZodObject<{
|
|
381
|
+
production_hostnames: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
382
|
+
noindex_production_hostnames: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
383
|
+
version_hostnames: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
384
|
+
hostname: z.ZodString;
|
|
385
|
+
version_id: z.ZodString;
|
|
386
|
+
}, z.core.$strip>>>;
|
|
387
|
+
host_canonical_redirects: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
388
|
+
from: z.ZodString;
|
|
389
|
+
to: z.ZodString;
|
|
390
|
+
status: z.ZodDefault<z.ZodLiteral<308>>;
|
|
391
|
+
}, z.core.$strip>>>;
|
|
392
|
+
proxy_host_routes: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
393
|
+
hostname: z.ZodString;
|
|
394
|
+
path_prefix: z.ZodDefault<z.ZodString>;
|
|
395
|
+
upstream: z.ZodString;
|
|
396
|
+
noindex: z.ZodDefault<z.ZodBoolean>;
|
|
397
|
+
}, z.core.$strip>>>;
|
|
398
|
+
}, z.core.$strip>;
|
|
291
399
|
export declare const runtimeRouteUpdateResponseSchema: z.ZodObject<{
|
|
292
400
|
space_id: z.ZodString;
|
|
293
401
|
route_name: z.ZodString;
|
|
294
402
|
version_id: z.ZodString;
|
|
295
403
|
}, z.core.$strip>;
|
|
404
|
+
export declare const runtimeHostnameIntentUpdateResponseSchema: z.ZodObject<{
|
|
405
|
+
space_id: z.ZodString;
|
|
406
|
+
route_count: z.ZodNumber;
|
|
407
|
+
}, z.core.$strip>;
|
|
296
408
|
export declare const runtimeTombstonesUpdateRequestSchema: z.ZodObject<{
|
|
297
409
|
hostnames: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
298
410
|
mode: z.ZodDefault<z.ZodEnum<{
|
|
@@ -307,6 +419,22 @@ export declare const runtimeTombstonesUpdateResponseSchema: z.ZodObject<{
|
|
|
307
419
|
space_id: z.ZodString;
|
|
308
420
|
tombstone_count: z.ZodNumber;
|
|
309
421
|
}, z.core.$strip>;
|
|
422
|
+
export declare const runtimeRetentionPolicyUpdateRequestSchema: z.ZodObject<{
|
|
423
|
+
prunable_version_ids: z.ZodArray<z.ZodString>;
|
|
424
|
+
}, z.core.$strip>;
|
|
425
|
+
export declare const runtimeRetentionPolicyUpdateResponseSchema: z.ZodObject<{
|
|
426
|
+
space_id: z.ZodString;
|
|
427
|
+
prunable_count: z.ZodNumber;
|
|
428
|
+
}, z.core.$strip>;
|
|
429
|
+
export declare const runtimeGrantRevocationRequestSchema: z.ZodObject<{
|
|
430
|
+
grant: z.ZodString;
|
|
431
|
+
}, z.core.$strip>;
|
|
432
|
+
export declare const runtimeGrantRevocationResponseSchema: z.ZodObject<{
|
|
433
|
+
space_id: z.ZodString;
|
|
434
|
+
target_type: z.ZodLiteral<"grant">;
|
|
435
|
+
grant: z.ZodString;
|
|
436
|
+
revoked: z.ZodBoolean;
|
|
437
|
+
}, z.core.$strip>;
|
|
310
438
|
export declare const runtimeSpaceDeleteResponseSchema: z.ZodObject<{
|
|
311
439
|
space_id: z.ZodString;
|
|
312
440
|
status: z.ZodLiteral<"deleted">;
|
|
@@ -347,9 +475,17 @@ export declare const runtimeSpaceExportResponseSchema: z.ZodObject<{
|
|
|
347
475
|
}, z.core.$strip>;
|
|
348
476
|
export declare const runtimeSpaceImportStartRequestSchema: z.ZodObject<{
|
|
349
477
|
version_id_map: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
478
|
+
zero_mode: z.ZodOptional<z.ZodEnum<{
|
|
479
|
+
active: "active";
|
|
480
|
+
activating: "activating";
|
|
481
|
+
}>>;
|
|
350
482
|
}, z.core.$strict>;
|
|
351
483
|
export declare const runtimeSpaceImportMapRequestSchema: z.ZodObject<{
|
|
352
484
|
version_id_map: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
485
|
+
zero_mode: z.ZodOptional<z.ZodEnum<{
|
|
486
|
+
active: "active";
|
|
487
|
+
activating: "activating";
|
|
488
|
+
}>>;
|
|
353
489
|
}, z.core.$strict>;
|
|
354
490
|
export declare const runtimeSpaceImportResponseSchema: z.ZodObject<{
|
|
355
491
|
type: z.ZodLiteral<"space_import">;
|
|
@@ -369,6 +505,46 @@ export declare const runtimeSpaceImportResponseSchema: z.ZodObject<{
|
|
|
369
505
|
updated_at: z.ZodString;
|
|
370
506
|
completed_at: z.ZodOptional<z.ZodString>;
|
|
371
507
|
}, z.core.$strip>;
|
|
508
|
+
export declare const runtimeTransferBundleSourceRequestSchema: z.ZodObject<{
|
|
509
|
+
space_id: z.ZodString;
|
|
510
|
+
version_ids: z.ZodArray<z.ZodString>;
|
|
511
|
+
cursor: z.ZodNullable<z.ZodString>;
|
|
512
|
+
}, z.core.$strip>;
|
|
513
|
+
export declare const runtimeTransferBundleTargetRequestSchema: z.ZodObject<{
|
|
514
|
+
space_id: z.ZodString;
|
|
515
|
+
store: z.ZodLiteral<true>;
|
|
516
|
+
files: z.ZodArray<z.ZodObject<{
|
|
517
|
+
path: z.ZodString;
|
|
518
|
+
content_b64: z.ZodString;
|
|
519
|
+
}, z.core.$strip>>;
|
|
520
|
+
done: z.ZodBoolean;
|
|
521
|
+
}, z.core.$strip>;
|
|
522
|
+
export declare const runtimeTransferBundleResponseSchema: z.ZodObject<{
|
|
523
|
+
chunk: z.ZodObject<{
|
|
524
|
+
files: z.ZodArray<z.ZodObject<{
|
|
525
|
+
path: z.ZodString;
|
|
526
|
+
content_b64: z.ZodString;
|
|
527
|
+
}, z.core.$strip>>;
|
|
528
|
+
}, z.core.$strip>;
|
|
529
|
+
next_cursor: z.ZodNullable<z.ZodString>;
|
|
530
|
+
}, z.core.$strip>;
|
|
531
|
+
export declare const runtimeTransferBundleStoredResponseSchema: z.ZodObject<{
|
|
532
|
+
stored: z.ZodLiteral<true>;
|
|
533
|
+
}, z.core.$strip>;
|
|
534
|
+
export declare const runtimeTransferCommitRequestSchema: z.ZodObject<{
|
|
535
|
+
space_id: z.ZodString;
|
|
536
|
+
version_ids: z.ZodArray<z.ZodString>;
|
|
537
|
+
live_version_id: z.ZodNullable<z.ZodString>;
|
|
538
|
+
}, z.core.$strip>;
|
|
539
|
+
export declare const runtimeTransferCommitResponseSchema: z.ZodObject<{
|
|
540
|
+
installed: z.ZodLiteral<true>;
|
|
541
|
+
}, z.core.$strip>;
|
|
542
|
+
export declare const runtimeTransferAbortRequestSchema: z.ZodObject<{
|
|
543
|
+
space_id: z.ZodString;
|
|
544
|
+
}, z.core.$strip>;
|
|
545
|
+
export declare const runtimeTransferAbortResponseSchema: z.ZodObject<{
|
|
546
|
+
aborted: z.ZodOptional<z.ZodBoolean>;
|
|
547
|
+
}, z.core.$strip>;
|
|
372
548
|
export declare const runtimeSpaceStateSchema: z.ZodObject<{
|
|
373
549
|
space_id: z.ZodString;
|
|
374
550
|
routes: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
@@ -425,25 +601,171 @@ export declare const runtimeEventsDrainResponseSchema: z.ZodObject<{
|
|
|
425
601
|
}, z.core.$loose>;
|
|
426
602
|
}, z.core.$strip>>>;
|
|
427
603
|
}, z.core.$strip>;
|
|
604
|
+
export declare const runtimeEngineJobLaneSchema: z.ZodEnum<{
|
|
605
|
+
interactive: "interactive";
|
|
606
|
+
bulk: "bulk";
|
|
607
|
+
}>;
|
|
608
|
+
export declare const runtimeEngineJobStatusSchema: z.ZodEnum<{
|
|
609
|
+
failed: "failed";
|
|
610
|
+
running: "running";
|
|
611
|
+
pending: "pending";
|
|
612
|
+
complete: "complete";
|
|
613
|
+
}>;
|
|
614
|
+
export declare const runtimeEngineJobErrorSchema: z.ZodObject<{
|
|
615
|
+
code: z.ZodString;
|
|
616
|
+
message: z.ZodString;
|
|
617
|
+
}, z.core.$strip>;
|
|
618
|
+
export declare const runtimeEngineJobRecordSchema: z.ZodObject<{
|
|
619
|
+
id: z.ZodString;
|
|
620
|
+
type: z.ZodString;
|
|
621
|
+
lane: z.ZodEnum<{
|
|
622
|
+
interactive: "interactive";
|
|
623
|
+
bulk: "bulk";
|
|
624
|
+
}>;
|
|
625
|
+
space_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
626
|
+
operation_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
627
|
+
status: z.ZodEnum<{
|
|
628
|
+
failed: "failed";
|
|
629
|
+
running: "running";
|
|
630
|
+
pending: "pending";
|
|
631
|
+
complete: "complete";
|
|
632
|
+
}>;
|
|
633
|
+
attempt: z.ZodDefault<z.ZodNumber>;
|
|
634
|
+
max_attempts: z.ZodOptional<z.ZodNumber>;
|
|
635
|
+
progress: z.ZodOptional<z.ZodObject<{
|
|
636
|
+
done: z.ZodDefault<z.ZodNumber>;
|
|
637
|
+
total: z.ZodDefault<z.ZodNumber>;
|
|
638
|
+
}, z.core.$strip>>;
|
|
639
|
+
result: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
640
|
+
error: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
641
|
+
code: z.ZodString;
|
|
642
|
+
message: z.ZodString;
|
|
643
|
+
}, z.core.$strip>>>;
|
|
644
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
645
|
+
updated_at: z.ZodOptional<z.ZodString>;
|
|
646
|
+
}, z.core.$strip>;
|
|
647
|
+
export declare const runtimeEngineJobCreateRequestSchema: z.ZodObject<{
|
|
648
|
+
type: z.ZodString;
|
|
649
|
+
payload: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
650
|
+
idempotency_key: z.ZodString;
|
|
651
|
+
}, z.core.$strip>;
|
|
652
|
+
export declare const runtimeEngineJobResponseSchema: z.ZodObject<{
|
|
653
|
+
job: z.ZodObject<{
|
|
654
|
+
id: z.ZodString;
|
|
655
|
+
type: z.ZodString;
|
|
656
|
+
lane: z.ZodEnum<{
|
|
657
|
+
interactive: "interactive";
|
|
658
|
+
bulk: "bulk";
|
|
659
|
+
}>;
|
|
660
|
+
space_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
661
|
+
operation_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
662
|
+
status: z.ZodEnum<{
|
|
663
|
+
failed: "failed";
|
|
664
|
+
running: "running";
|
|
665
|
+
pending: "pending";
|
|
666
|
+
complete: "complete";
|
|
667
|
+
}>;
|
|
668
|
+
attempt: z.ZodDefault<z.ZodNumber>;
|
|
669
|
+
max_attempts: z.ZodOptional<z.ZodNumber>;
|
|
670
|
+
progress: z.ZodOptional<z.ZodObject<{
|
|
671
|
+
done: z.ZodDefault<z.ZodNumber>;
|
|
672
|
+
total: z.ZodDefault<z.ZodNumber>;
|
|
673
|
+
}, z.core.$strip>>;
|
|
674
|
+
result: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
675
|
+
error: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
676
|
+
code: z.ZodString;
|
|
677
|
+
message: z.ZodString;
|
|
678
|
+
}, z.core.$strip>>>;
|
|
679
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
680
|
+
updated_at: z.ZodOptional<z.ZodString>;
|
|
681
|
+
}, z.core.$strip>;
|
|
682
|
+
}, z.core.$strip>;
|
|
683
|
+
export declare const runtimeEngineJobTickResponseSchema: z.ZodObject<{
|
|
684
|
+
lane: z.ZodEnum<{
|
|
685
|
+
interactive: "interactive";
|
|
686
|
+
bulk: "bulk";
|
|
687
|
+
}>;
|
|
688
|
+
job: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
689
|
+
id: z.ZodString;
|
|
690
|
+
type: z.ZodString;
|
|
691
|
+
lane: z.ZodEnum<{
|
|
692
|
+
interactive: "interactive";
|
|
693
|
+
bulk: "bulk";
|
|
694
|
+
}>;
|
|
695
|
+
space_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
696
|
+
operation_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
697
|
+
status: z.ZodEnum<{
|
|
698
|
+
failed: "failed";
|
|
699
|
+
running: "running";
|
|
700
|
+
pending: "pending";
|
|
701
|
+
complete: "complete";
|
|
702
|
+
}>;
|
|
703
|
+
attempt: z.ZodDefault<z.ZodNumber>;
|
|
704
|
+
max_attempts: z.ZodOptional<z.ZodNumber>;
|
|
705
|
+
progress: z.ZodOptional<z.ZodObject<{
|
|
706
|
+
done: z.ZodDefault<z.ZodNumber>;
|
|
707
|
+
total: z.ZodDefault<z.ZodNumber>;
|
|
708
|
+
}, z.core.$strip>>;
|
|
709
|
+
result: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
710
|
+
error: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
711
|
+
code: z.ZodString;
|
|
712
|
+
message: z.ZodString;
|
|
713
|
+
}, z.core.$strip>>>;
|
|
714
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
715
|
+
updated_at: z.ZodOptional<z.ZodString>;
|
|
716
|
+
}, z.core.$strip>>>;
|
|
717
|
+
drained: z.ZodOptional<z.ZodBoolean>;
|
|
718
|
+
}, z.core.$strip>;
|
|
719
|
+
export declare const runtimeAccessEventsCursorSchema: z.ZodObject<{
|
|
720
|
+
file: z.ZodNullable<z.ZodString>;
|
|
721
|
+
offset: z.ZodNumber;
|
|
722
|
+
}, z.core.$strip>;
|
|
723
|
+
export declare const runtimeAccessEventsResponseSchema: z.ZodObject<{
|
|
724
|
+
events: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
725
|
+
sub: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
726
|
+
grantsHash: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
727
|
+
ruleId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
728
|
+
effect: z.ZodEnum<{
|
|
729
|
+
allow: "allow";
|
|
730
|
+
deny: "deny";
|
|
731
|
+
challenge: "challenge";
|
|
732
|
+
}>;
|
|
733
|
+
reasonCode: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
734
|
+
host: z.ZodString;
|
|
735
|
+
path: z.ZodString;
|
|
736
|
+
ts: z.ZodNumber;
|
|
737
|
+
}, z.core.$strip>>>;
|
|
738
|
+
cursor: z.ZodObject<{
|
|
739
|
+
file: z.ZodNullable<z.ZodString>;
|
|
740
|
+
offset: z.ZodNumber;
|
|
741
|
+
}, z.core.$strip>;
|
|
742
|
+
done: z.ZodBoolean;
|
|
743
|
+
dropped: z.ZodDefault<z.ZodNumber>;
|
|
744
|
+
}, z.core.$strip>;
|
|
428
745
|
export type RuntimeVersionCreateRequest = z.infer<typeof runtimeVersionCreateRequestSchema>;
|
|
429
|
-
export type RuntimeVersionCreateResponse = z.infer<typeof runtimeVersionCreateResponseSchema>;
|
|
430
|
-
export type RuntimeUploadSessionResponse = z.infer<typeof runtimeUploadSessionResponseSchema>;
|
|
431
746
|
export type RuntimeVersionFinalizeRequest = z.infer<typeof runtimeVersionFinalizeRequestSchema>;
|
|
432
|
-
export type
|
|
747
|
+
export type RuntimeHostnameIntentUpdateRequest = z.infer<typeof runtimeHostnameIntentUpdateRequestSchema>;
|
|
433
748
|
export type RuntimeRouteUpdateRequest = z.infer<typeof runtimeRouteUpdateRequestSchema>;
|
|
434
|
-
export type RuntimeRouteUpdateResponse = z.infer<typeof runtimeRouteUpdateResponseSchema>;
|
|
435
749
|
export type RuntimeTombstonesUpdateRequest = z.infer<typeof runtimeTombstonesUpdateRequestSchema>;
|
|
436
|
-
export type
|
|
437
|
-
export type
|
|
438
|
-
export type
|
|
439
|
-
export type
|
|
750
|
+
export type RuntimeRetentionPolicyUpdateRequest = z.infer<typeof runtimeRetentionPolicyUpdateRequestSchema>;
|
|
751
|
+
export type RuntimeRetentionPolicyUpdateResponse = z.infer<typeof runtimeRetentionPolicyUpdateResponseSchema>;
|
|
752
|
+
export type RuntimeGrantRevocationRequest = z.infer<typeof runtimeGrantRevocationRequestSchema>;
|
|
753
|
+
export type RuntimeTransferBundleSourceRequest = z.infer<typeof runtimeTransferBundleSourceRequestSchema>;
|
|
754
|
+
export type RuntimeTransferBundleTargetRequest = z.infer<typeof runtimeTransferBundleTargetRequestSchema>;
|
|
755
|
+
export type RuntimeTransferBundleResponse = z.infer<typeof runtimeTransferBundleResponseSchema>;
|
|
756
|
+
export type RuntimeTransferBundleStoredResponse = z.infer<typeof runtimeTransferBundleStoredResponseSchema>;
|
|
757
|
+
export type RuntimeTransferCommitRequest = z.infer<typeof runtimeTransferCommitRequestSchema>;
|
|
758
|
+
export type RuntimeTransferCommitResponse = z.infer<typeof runtimeTransferCommitResponseSchema>;
|
|
759
|
+
export type RuntimeTransferAbortRequest = z.infer<typeof runtimeTransferAbortRequestSchema>;
|
|
760
|
+
export type RuntimeTransferAbortResponse = z.infer<typeof runtimeTransferAbortResponseSchema>;
|
|
440
761
|
export type RuntimeSpaceExportStartRequest = z.infer<typeof runtimeSpaceExportStartRequestSchema>;
|
|
441
|
-
export type RuntimeSpaceExportResponse = z.infer<typeof runtimeSpaceExportResponseSchema>;
|
|
442
762
|
export type RuntimeSpaceImportStartRequest = z.infer<typeof runtimeSpaceImportStartRequestSchema>;
|
|
443
763
|
export type RuntimeSpaceImportMapRequest = z.infer<typeof runtimeSpaceImportMapRequestSchema>;
|
|
444
|
-
export type RuntimeSpaceImportResponse = z.infer<typeof runtimeSpaceImportResponseSchema>;
|
|
445
|
-
export type RuntimeHealthResponse = z.infer<typeof runtimeHealthResponseSchema>;
|
|
446
|
-
export type RuntimeStateResponse = z.infer<typeof runtimeStateResponseSchema>;
|
|
447
764
|
export type RuntimeSpaceState = z.infer<typeof runtimeSpaceStateSchema>;
|
|
448
|
-
export type RuntimeEventsDrainResponse = z.infer<typeof runtimeEventsDrainResponseSchema>;
|
|
449
765
|
export type RuntimeCallbackEvent = z.infer<typeof runtimeCallbackEventSchema>;
|
|
766
|
+
export type RuntimeEngineJobLane = z.infer<typeof runtimeEngineJobLaneSchema>;
|
|
767
|
+
export type RuntimeEngineJobStatus = z.infer<typeof runtimeEngineJobStatusSchema>;
|
|
768
|
+
export type RuntimeEngineJobRecord = z.infer<typeof runtimeEngineJobRecordSchema>;
|
|
769
|
+
export type RuntimeEngineJobCreateRequest = z.infer<typeof runtimeEngineJobCreateRequestSchema>;
|
|
770
|
+
export type RuntimeEngineJobResponse = z.infer<typeof runtimeEngineJobResponseSchema>;
|
|
771
|
+
export type RuntimeEngineJobTickResponse = z.infer<typeof runtimeEngineJobTickResponseSchema>;
|