@spacefast/common 0.0.5 → 0.0.7

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.
Files changed (183) hide show
  1. package/brand-assets/spacefast-favicon.svg +16 -0
  2. package/brand-assets/spacefast-sf-full-bleed.svg +13 -0
  3. package/brand-assets/spacefast-wordmark.svg +5 -0
  4. package/dist/agents/connect-targets.d.ts +138 -0
  5. package/dist/agents/connect-targets.js +243 -0
  6. package/dist/brand-assets-build.d.ts +26 -0
  7. package/dist/brand-assets-build.js +81 -0
  8. package/dist/brand-assets.d.ts +42 -0
  9. package/dist/brand-assets.js +30 -0
  10. package/dist/brand.d.ts +1 -0
  11. package/dist/brand.js +5 -0
  12. package/dist/config/domains.d.ts +12 -6
  13. package/dist/config/domains.js +30 -38
  14. package/dist/contracts/access.d.ts +967 -124
  15. package/dist/contracts/access.js +804 -148
  16. package/dist/contracts/activity.d.ts +1 -1
  17. package/dist/contracts/activity.js +28 -2
  18. package/dist/contracts/annotations.d.ts +2 -4
  19. package/dist/contracts/api-keys.d.ts +126 -4
  20. package/dist/contracts/api-keys.js +74 -6
  21. package/dist/contracts/archives.d.ts +8 -2
  22. package/dist/contracts/archives.js +11 -4
  23. package/dist/contracts/billing.d.ts +0 -9
  24. package/dist/contracts/builds.d.ts +65 -21
  25. package/dist/contracts/builds.js +29 -0
  26. package/dist/contracts/common.d.ts +2 -0
  27. package/dist/contracts/common.js +4 -0
  28. package/dist/contracts/continuation.d.ts +0 -3
  29. package/dist/contracts/countries.d.ts +2 -0
  30. package/dist/contracts/countries.js +261 -0
  31. package/dist/contracts/deployments.d.ts +34 -34
  32. package/dist/contracts/device-auth.d.ts +4 -11
  33. package/dist/contracts/device-auth.js +4 -0
  34. package/dist/contracts/docs.d.ts +119 -0
  35. package/dist/contracts/docs.js +51 -0
  36. package/dist/contracts/domains.d.ts +96 -54
  37. package/dist/contracts/domains.js +26 -4
  38. package/dist/contracts/enums.d.ts +15 -16
  39. package/dist/contracts/enums.js +26 -14
  40. package/dist/contracts/error-code-meta.d.ts +184 -0
  41. package/dist/contracts/error-code-meta.js +124 -10
  42. package/dist/contracts/error-codes.d.ts +1 -1
  43. package/dist/contracts/error-codes.js +42 -0
  44. package/dist/contracts/events.d.ts +1 -1
  45. package/dist/contracts/feature-lifecycle-core.d.ts +36 -0
  46. package/dist/contracts/feature-lifecycle-core.js +220 -0
  47. package/dist/contracts/feature-lifecycle.d.ts +7 -0
  48. package/dist/contracts/feature-lifecycle.js +31 -0
  49. package/dist/contracts/features.d.ts +76 -6
  50. package/dist/contracts/features.js +178 -13
  51. package/dist/contracts/generated-feature-launch-entries.d.ts +2 -0
  52. package/dist/contracts/generated-feature-launch-entries.js +518 -0
  53. package/dist/contracts/git.d.ts +2 -8
  54. package/dist/contracts/ids.d.ts +9 -0
  55. package/dist/contracts/ids.js +13 -0
  56. package/dist/contracts/mcp.d.ts +8 -10
  57. package/dist/contracts/me.js +1 -1
  58. package/dist/contracts/oauth-resources.d.ts +19 -8
  59. package/dist/contracts/oauth-resources.js +44 -13
  60. package/dist/contracts/operations.d.ts +161 -1
  61. package/dist/contracts/operations.js +49 -1
  62. package/dist/contracts/platform.d.ts +6 -102
  63. package/dist/contracts/platform.js +6 -50
  64. package/dist/contracts/publishes.d.ts +130 -0
  65. package/dist/contracts/publishes.js +145 -0
  66. package/dist/contracts/push-new.d.ts +4 -4
  67. package/dist/contracts/quotas.d.ts +2 -0
  68. package/dist/contracts/quotas.js +8 -0
  69. package/dist/contracts/repository-connections.d.ts +9 -8
  70. package/dist/contracts/repository-connections.js +13 -0
  71. package/dist/contracts/resources.d.ts +99 -13
  72. package/dist/contracts/resources.js +36 -4
  73. package/dist/contracts/routes.d.ts +0 -2
  74. package/dist/contracts/runtime-api.d.ts +363 -39
  75. package/dist/contracts/runtime-api.js +276 -6
  76. package/dist/contracts/sf-config-v1.d.ts +75 -0
  77. package/dist/contracts/sf-config-v1.js +6 -0
  78. package/dist/contracts/sites.d.ts +19 -2
  79. package/dist/contracts/sites.js +21 -0
  80. package/dist/contracts/space-config.d.ts +201 -2
  81. package/dist/contracts/space-config.js +135 -5
  82. package/dist/contracts/spaces.d.ts +376 -196
  83. package/dist/contracts/spaces.js +62 -10
  84. package/dist/contracts/superadmin-emails.d.ts +4 -2
  85. package/dist/contracts/superadmin-emails.js +8 -0
  86. package/dist/contracts/superadmin-queues.d.ts +26 -26
  87. package/dist/contracts/superadmin-spaces.d.ts +172 -42
  88. package/dist/contracts/superadmin-tenants.d.ts +6 -6
  89. package/dist/contracts/superadmin-tenants.js +6 -11
  90. package/dist/contracts/superadmin.d.ts +6 -93
  91. package/dist/contracts/superadmin.js +6 -14
  92. package/dist/contracts/tags.d.ts +10 -9
  93. package/dist/contracts/tags.js +2 -1
  94. package/dist/contracts/teams.d.ts +26 -30
  95. package/dist/contracts/teams.js +11 -17
  96. package/dist/contracts/theme-json.d.ts +30 -0
  97. package/dist/contracts/theme-json.js +48 -0
  98. package/dist/contracts/variables.d.ts +0 -2
  99. package/dist/contracts/variables.js +0 -5
  100. package/dist/contracts/webhooks.d.ts +2 -0
  101. package/dist/contracts/webhooks.js +1 -1
  102. package/dist/contracts/zero.d.ts +5 -10
  103. package/dist/docs/agent-prose.d.ts +43 -3
  104. package/dist/docs/agent-prose.js +146 -7
  105. package/dist/docs/agent-setup.d.ts +51 -0
  106. package/dist/docs/agent-setup.js +211 -14
  107. package/dist/docs/agent-solutions.d.ts +5 -5
  108. package/dist/docs/agent-solutions.js +2 -2
  109. package/dist/docs/catalog.d.ts +650 -0
  110. package/dist/docs/catalog.js +758 -0
  111. package/dist/docs/error-docs.d.ts +0 -2
  112. package/dist/docs/error-docs.js +189 -35
  113. package/dist/docs/index-build.d.ts +17 -0
  114. package/dist/docs/index-build.js +24 -0
  115. package/dist/docs/search.d.ts +54 -0
  116. package/dist/docs/search.js +96 -0
  117. package/dist/docs/skill-distribution.d.ts +5 -3
  118. package/dist/docs/skill-distribution.js +8 -8
  119. package/dist/slug-policy/blocklist.d.ts +4 -0
  120. package/dist/slug-policy/blocklist.js +122 -0
  121. package/dist/slug-policy/index.d.ts +17 -0
  122. package/dist/slug-policy/index.js +86 -0
  123. package/dist/utils/access-match.d.ts +39 -0
  124. package/dist/utils/access-match.js +296 -0
  125. package/dist/utils/auth-redirect.d.ts +3 -1
  126. package/dist/utils/auth-redirect.js +21 -1
  127. package/dist/utils/build-settings.d.ts +6 -0
  128. package/dist/utils/build-settings.js +429 -46
  129. package/dist/utils/claim-token.d.ts +8 -0
  130. package/dist/utils/claim-token.js +23 -2
  131. package/dist/utils/concurrency.d.ts +1 -0
  132. package/dist/utils/concurrency.js +22 -0
  133. package/dist/utils/content-type.d.ts +1 -0
  134. package/dist/utils/content-type.js +1 -1
  135. package/dist/utils/credential-policy.d.ts +54 -0
  136. package/dist/utils/{access-policy.js → credential-policy.js} +28 -2
  137. package/dist/utils/email.d.ts +1 -0
  138. package/dist/utils/email.js +3 -0
  139. package/dist/utils/gate-theme.d.ts +61 -0
  140. package/dist/utils/gate-theme.js +217 -0
  141. package/dist/utils/git-repository.d.ts +0 -1
  142. package/dist/utils/git-repository.js +0 -3
  143. package/dist/utils/id-hints.d.ts +8 -0
  144. package/dist/utils/id-hints.js +61 -0
  145. package/dist/utils/local-space-state.d.ts +91 -0
  146. package/dist/utils/local-space-state.js +251 -0
  147. package/dist/utils/oauth-signed-query.d.ts +8 -0
  148. package/dist/utils/oauth-signed-query.js +26 -0
  149. package/dist/utils/publish-detection.d.ts +0 -8
  150. package/dist/utils/publish-detection.js +0 -93
  151. package/dist/utils/publish-policy.d.ts +6 -5
  152. package/dist/utils/publish-policy.js +71 -7
  153. package/dist/utils/query-keys.d.ts +16 -4
  154. package/dist/utils/query-keys.js +31 -4
  155. package/dist/utils/runtime-paths.d.ts +0 -1
  156. package/dist/utils/runtime-paths.js +0 -1
  157. package/dist/utils/runtime-upload-batch.d.ts +18 -0
  158. package/dist/utils/runtime-upload-batch.js +90 -0
  159. package/dist/utils/runtime-upload.d.ts +2 -0
  160. package/dist/utils/runtime-upload.js +5 -0
  161. package/dist/utils/sf-config-v1.d.ts +2 -0
  162. package/dist/utils/sf-config-v1.js +542 -0
  163. package/dist/utils/space-config.d.ts +4 -0
  164. package/dist/utils/space-config.js +10 -1
  165. package/dist/utils/space-theme.d.ts +2 -0
  166. package/dist/utils/space-theme.js +9 -0
  167. package/dist/utils/static-runtime-policy.d.ts +0 -21
  168. package/dist/utils/static-runtime-policy.js +19 -103
  169. package/dist/utils/upload-session.d.ts +1 -1
  170. package/dist/utils/wpcom-auth-redirects.d.ts +32 -2
  171. package/dist/utils/wpcom-auth-redirects.js +26 -10
  172. package/dist/vocabulary.d.ts +130 -30
  173. package/dist/vocabulary.js +77 -36
  174. package/package.json +35 -1
  175. package/dist/contracts/account.d.ts +0 -28
  176. package/dist/contracts/account.js +0 -54
  177. package/dist/contracts/intercom.d.ts +0 -6
  178. package/dist/contracts/intercom.js +0 -5
  179. package/dist/contracts/telemetry.d.ts +0 -2
  180. package/dist/contracts/telemetry.js +0 -1
  181. package/dist/utils/access-policy.d.ts +0 -39
  182. package/dist/utils/error-display.d.ts +0 -7
  183. package/dist/utils/error-display.js +0 -42
@@ -1,7 +1,7 @@
1
1
  import { z } from "zod";
2
2
  import { policyDocSchema } from "./access.js";
3
3
  import { AsyncOperationSchema, baseDiagnosticSchema } from "./common.js";
4
- import { publishSourceKind, versionStatus, spaceDisabledReasonCode, spaceStatus } from "./enums.js";
4
+ import { normalizedSiteClass, publishSourceKind, versionStatus, spaceDisabledReasonCode, spaceStatus, } from "./enums.js";
5
5
  import { pendingUploadSchema } from "./internal.js";
6
6
  import { spaceConfigSchema } from "./space-config.js";
7
7
  export const DiagnosticSchema = baseDiagnosticSchema.extend({
@@ -49,6 +49,13 @@ export const ChannelPointerSchema = z
49
49
  });
50
50
  }
51
51
  });
52
+ // The versioned-settings CAS token: always the lowercase hex sha256 the
53
+ // control plane computes over canonical {config, title}. Shared by the Space
54
+ // resource (`settingsDigest`) and the PATCH guard (`baseSettingsDigest`) so a
55
+ // caller can never persist an arbitrary string as a "digest".
56
+ export const spaceSettingsDigestSchema = z
57
+ .string()
58
+ .regex(/^[0-9a-f]{64}$/, "must be a 64-character lowercase hex sha256 digest");
52
59
  export const SpaceSchema = z.object({
53
60
  id: z.string(),
54
61
  tenantId: z.string(),
@@ -61,8 +68,8 @@ export const SpaceSchema = z.object({
61
68
  title: z.string(),
62
69
  status: spaceStatus.describe("Operation-lifecycle status. Serving state is the separate `disabled` axis."),
63
70
  // Serving axis, distinct from the operation-lifecycle state: set whenever
64
- // the space is dark. A disabled space can still be moving. Malware takedowns
65
- // are `abuse_takedown` with `details.source = "malware_scan"`.
71
+ // the space is dark. A disabled space can still be moving. Confirmed scan
72
+ // takedowns use `abuse_takedown`; verdict and claim state are separate axes.
66
73
  disabled: z
67
74
  .object({
68
75
  at: z.string().datetime().nullable(),
@@ -89,15 +96,40 @@ export const SpaceSchema = z.object({
89
96
  liveUrl: z
90
97
  .string()
91
98
  .describe("Live space URL: the primary bound domain when one exists, else the default hostname. Always present on non-deleted spaces."),
99
+ thumbnail: z
100
+ .object({
101
+ kind: z.enum(["screenshot", "image"]),
102
+ provider: z.enum(["wpcom-mshots", "wpcom-site-accelerator"]),
103
+ url: z.string().url(),
104
+ sourceUrl: z.string().url(),
105
+ })
106
+ .nullable()
107
+ .describe("Server-selected dashboard thumbnail. Screenshots use WordPress.com mShots; image thumbnails use WordPress.com Site Accelerator."),
92
108
  dataLocation: z
93
109
  .string()
94
- .describe('Resolved data-location region; immutable after ownership exists. "auto" only while no concrete region is known yet.'),
110
+ .describe('Resolved data-location region. PATCH may queue a move to change it; "auto" only while no concrete region is known yet.'),
111
+ region: z
112
+ .string()
113
+ .describe('Alias of dataLocation for placement dashboards; "auto" only while no concrete region is known yet.'),
114
+ placementMode: normalizedSiteClass.describe("Requested placement mode for this space."),
115
+ burstable: z
116
+ .boolean()
117
+ .nullable()
118
+ .describe("Whether a dedicated placement may burst provider PHP workers."),
119
+ archivedBytes: z
120
+ .number()
121
+ .int()
122
+ .nonnegative()
123
+ .describe("Bytes currently archived out of the hot runtime store."),
124
+ tierPolicy: z.enum(["auto", "always_hot"]).describe("Storage tiering policy for this space."),
125
+ moving: z.boolean().describe("True while a placement or transfer move is queued or running."),
95
126
  channels: z
96
127
  .record(z.string(), ChannelPointerSchema)
97
128
  .describe('Channel pointers by name; "live" is present once a version has been promoted.'),
98
129
  config: spaceConfigSchema
99
130
  .nullable()
100
131
  .describe("Stored SpaceConfig overlay applied over the live version's sf.jsonc; null when nothing is overridden."),
132
+ settingsDigest: spaceSettingsDigestSchema.describe("CAS token for versioned settings writes (digest over title + config overlay). Send it back as baseSettingsDigest on PATCH to get compare-and-swap semantics."),
101
133
  noindex: z
102
134
  .boolean()
103
135
  .describe("When true, the live production hostnames serve platform noindex directives. Immutable version and preview hostnames are always noindex regardless of this setting."),
@@ -41,5 +41,3 @@ export declare const websiteRoutesConfigSchema: z.ZodObject<{
41
41
  }, z.core.$strip>>;
42
42
  }, z.core.$strict>>>;
43
43
  }, z.core.$strict>;
44
- export type WebsiteRoute = z.infer<typeof websiteRouteSchema>;
45
- export type WebsiteRoutesConfig = z.infer<typeof websiteRoutesConfigSchema>;
@@ -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<{
@@ -118,6 +144,7 @@ export declare const runtimeVersionFinalizeRequestSchema: z.ZodObject<{
118
144
  auth: z.ZodOptional<z.ZodBoolean>;
119
145
  env: z.ZodOptional<z.ZodBoolean>;
120
146
  realtime: z.ZodOptional<z.ZodBoolean>;
147
+ logging: z.ZodOptional<z.ZodBoolean>;
121
148
  }, z.core.$strip>>>;
122
149
  db: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
123
150
  }, z.core.$strip>>>;
@@ -131,6 +158,7 @@ export declare const runtimeVersionFinalizeRequestSchema: z.ZodObject<{
131
158
  auth: z.ZodOptional<z.ZodBoolean>;
132
159
  env: z.ZodOptional<z.ZodBoolean>;
133
160
  realtime: z.ZodOptional<z.ZodBoolean>;
161
+ logging: z.ZodOptional<z.ZodBoolean>;
134
162
  }, z.core.$strip>>>;
135
163
  db: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
136
164
  }, z.core.$strip>>>;
@@ -140,8 +168,11 @@ export declare const runtimeVersionFinalizeRequestSchema: z.ZodObject<{
140
168
  config: z.ZodOptional<z.ZodObject<{
141
169
  policy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
142
170
  rules: z.ZodDefault<z.ZodArray<z.ZodObject<{
171
+ id: z.ZodOptional<z.ZodString>;
143
172
  match: z.ZodDefault<z.ZodObject<{
144
173
  host: z.ZodOptional<z.ZodString>;
174
+ hostPattern: z.ZodOptional<z.ZodString>;
175
+ hostTemplate: z.ZodOptional<z.ZodString>;
145
176
  pathPattern: z.ZodOptional<z.ZodString>;
146
177
  channel: z.ZodOptional<z.ZodString>;
147
178
  ipCidrs: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -158,32 +189,60 @@ export declare const runtimeVersionFinalizeRequestSchema: z.ZodObject<{
158
189
  challenge: "challenge";
159
190
  }>;
160
191
  auth: z.ZodOptional<z.ZodObject<{
161
- password: z.ZodOptional<z.ZodObject<{
192
+ requiredGrants: z.ZodArray<z.ZodString>;
193
+ issuers: z.ZodOptional<z.ZodArray<z.ZodObject<{
194
+ kid: z.ZodString;
195
+ alg: z.ZodLiteral<"EdDSA">;
196
+ publicKey: z.ZodString;
197
+ grantNamespaces: z.ZodArray<z.ZodString>;
198
+ }, z.core.$strip>>>;
199
+ acquire: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
200
+ type: z.ZodLiteral<"password">;
162
201
  ref: z.ZodString;
163
202
  transport: z.ZodEnum<{
164
203
  basic: "basic";
165
204
  form: "form";
166
205
  }>;
167
206
  username: z.ZodOptional<z.ZodString>;
168
- }, z.core.$strip>>;
169
- token: z.ZodOptional<z.ZodObject<{
170
- requiredGrants: z.ZodArray<z.ZodString>;
171
- issuers: z.ZodOptional<z.ZodArray<z.ZodObject<{
172
- kid: z.ZodString;
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>>;
207
+ }, z.core.$strip>, z.ZodObject<{
208
+ type: z.ZodLiteral<"login">;
209
+ url: z.ZodString;
210
+ label: z.ZodOptional<z.ZodString>;
211
+ }, z.core.$strip>], "type">>>;
180
212
  }, z.core.$strip>>;
213
+ managedBy: z.ZodOptional<z.ZodEnum<{
214
+ sharing: "sharing";
215
+ firewall: "firewall";
216
+ file_share: "file_share";
217
+ cast_reviewer: "cast_reviewer";
218
+ team_default: "team_default";
219
+ }>>;
220
+ expiresAt: z.ZodOptional<z.ZodNumber>;
181
221
  reasonCode: z.ZodOptional<z.ZodString>;
182
222
  message: z.ZodOptional<z.ZodString>;
183
223
  }, z.core.$strip>>>;
224
+ issuers: z.ZodOptional<z.ZodArray<z.ZodObject<{
225
+ kid: z.ZodString;
226
+ alg: z.ZodLiteral<"EdDSA">;
227
+ publicKey: z.ZodString;
228
+ grantNamespaces: z.ZodArray<z.ZodString>;
229
+ }, z.core.$strip>>>;
230
+ sessionVersion: z.ZodOptional<z.ZodNumber>;
184
231
  }, z.core.$strip>>>;
185
232
  secrets: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
233
+ session_version: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
186
234
  anonymous_expires_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
235
+ content_types: z.ZodOptional<z.ZodNullable<z.ZodObject<{
236
+ allowed: z.ZodArray<z.ZodString>;
237
+ blocked_message: z.ZodOptional<z.ZodString>;
238
+ }, z.core.$strip>>>;
239
+ admission: z.ZodOptional<z.ZodObject<{
240
+ concurrency: z.ZodNumber;
241
+ }, z.core.$strip>>;
242
+ revocations: z.ZodOptional<z.ZodArray<z.ZodString>>;
243
+ entitlements: z.ZodOptional<z.ZodNullable<z.ZodObject<{
244
+ externalProxy: z.ZodBoolean;
245
+ }, z.core.$strip>>>;
187
246
  }, z.core.$strip>>;
188
247
  changed_paths: z.ZodOptional<z.ZodArray<z.ZodString>>;
189
248
  previous_version_id: z.ZodOptional<z.ZodString>;
@@ -210,6 +269,7 @@ export declare const runtimeVersionFinalizeResponseSchema: z.ZodObject<{
210
269
  space_id: z.ZodString;
211
270
  version_id: z.ZodString;
212
271
  status: z.ZodLiteral<"ready">;
272
+ zero_endpoint_count: z.ZodOptional<z.ZodNumber>;
213
273
  manifest: z.ZodOptional<z.ZodArray<z.ZodObject<{
214
274
  path: z.ZodString;
215
275
  size: z.ZodNumber;
@@ -223,8 +283,11 @@ export declare const runtimeRouteUpdateRequestSchema: z.ZodObject<{
223
283
  config: z.ZodOptional<z.ZodObject<{
224
284
  policy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
225
285
  rules: z.ZodDefault<z.ZodArray<z.ZodObject<{
286
+ id: z.ZodOptional<z.ZodString>;
226
287
  match: z.ZodDefault<z.ZodObject<{
227
288
  host: z.ZodOptional<z.ZodString>;
289
+ hostPattern: z.ZodOptional<z.ZodString>;
290
+ hostTemplate: z.ZodOptional<z.ZodString>;
228
291
  pathPattern: z.ZodOptional<z.ZodString>;
229
292
  channel: z.ZodOptional<z.ZodString>;
230
293
  ipCidrs: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -241,32 +304,60 @@ export declare const runtimeRouteUpdateRequestSchema: z.ZodObject<{
241
304
  challenge: "challenge";
242
305
  }>;
243
306
  auth: z.ZodOptional<z.ZodObject<{
244
- password: z.ZodOptional<z.ZodObject<{
307
+ requiredGrants: z.ZodArray<z.ZodString>;
308
+ issuers: z.ZodOptional<z.ZodArray<z.ZodObject<{
309
+ kid: z.ZodString;
310
+ alg: z.ZodLiteral<"EdDSA">;
311
+ publicKey: z.ZodString;
312
+ grantNamespaces: z.ZodArray<z.ZodString>;
313
+ }, z.core.$strip>>>;
314
+ acquire: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
315
+ type: z.ZodLiteral<"password">;
245
316
  ref: z.ZodString;
246
317
  transport: z.ZodEnum<{
247
318
  basic: "basic";
248
319
  form: "form";
249
320
  }>;
250
321
  username: z.ZodOptional<z.ZodString>;
251
- }, z.core.$strip>>;
252
- token: z.ZodOptional<z.ZodObject<{
253
- requiredGrants: z.ZodArray<z.ZodString>;
254
- issuers: z.ZodOptional<z.ZodArray<z.ZodObject<{
255
- kid: z.ZodString;
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>>;
322
+ }, z.core.$strip>, z.ZodObject<{
323
+ type: z.ZodLiteral<"login">;
324
+ url: z.ZodString;
325
+ label: z.ZodOptional<z.ZodString>;
326
+ }, z.core.$strip>], "type">>>;
263
327
  }, z.core.$strip>>;
328
+ managedBy: z.ZodOptional<z.ZodEnum<{
329
+ sharing: "sharing";
330
+ firewall: "firewall";
331
+ file_share: "file_share";
332
+ cast_reviewer: "cast_reviewer";
333
+ team_default: "team_default";
334
+ }>>;
335
+ expiresAt: z.ZodOptional<z.ZodNumber>;
264
336
  reasonCode: z.ZodOptional<z.ZodString>;
265
337
  message: z.ZodOptional<z.ZodString>;
266
338
  }, z.core.$strip>>>;
339
+ issuers: z.ZodOptional<z.ZodArray<z.ZodObject<{
340
+ kid: z.ZodString;
341
+ alg: z.ZodLiteral<"EdDSA">;
342
+ publicKey: z.ZodString;
343
+ grantNamespaces: z.ZodArray<z.ZodString>;
344
+ }, z.core.$strip>>>;
345
+ sessionVersion: z.ZodOptional<z.ZodNumber>;
267
346
  }, z.core.$strip>>>;
268
347
  secrets: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
348
+ session_version: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
269
349
  anonymous_expires_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
350
+ content_types: z.ZodOptional<z.ZodNullable<z.ZodObject<{
351
+ allowed: z.ZodArray<z.ZodString>;
352
+ blocked_message: z.ZodOptional<z.ZodString>;
353
+ }, z.core.$strip>>>;
354
+ admission: z.ZodOptional<z.ZodObject<{
355
+ concurrency: z.ZodNumber;
356
+ }, z.core.$strip>>;
357
+ revocations: z.ZodOptional<z.ZodArray<z.ZodString>>;
358
+ entitlements: z.ZodOptional<z.ZodNullable<z.ZodObject<{
359
+ externalProxy: z.ZodBoolean;
360
+ }, z.core.$strip>>>;
270
361
  }, z.core.$strip>>;
271
362
  changed_paths: z.ZodOptional<z.ZodArray<z.ZodString>>;
272
363
  previous_version_id: z.ZodOptional<z.ZodString>;
@@ -288,11 +379,34 @@ export declare const runtimeRouteUpdateRequestSchema: z.ZodObject<{
288
379
  noindex: z.ZodDefault<z.ZodBoolean>;
289
380
  }, z.core.$strip>>>;
290
381
  }, z.core.$strip>;
382
+ export declare const runtimeHostnameIntentUpdateRequestSchema: z.ZodObject<{
383
+ production_hostnames: z.ZodDefault<z.ZodArray<z.ZodString>>;
384
+ noindex_production_hostnames: z.ZodDefault<z.ZodArray<z.ZodString>>;
385
+ version_hostnames: z.ZodDefault<z.ZodArray<z.ZodObject<{
386
+ hostname: z.ZodString;
387
+ version_id: z.ZodString;
388
+ }, z.core.$strip>>>;
389
+ host_canonical_redirects: z.ZodDefault<z.ZodArray<z.ZodObject<{
390
+ from: z.ZodString;
391
+ to: z.ZodString;
392
+ status: z.ZodDefault<z.ZodLiteral<308>>;
393
+ }, z.core.$strip>>>;
394
+ proxy_host_routes: z.ZodDefault<z.ZodArray<z.ZodObject<{
395
+ hostname: z.ZodString;
396
+ path_prefix: z.ZodDefault<z.ZodString>;
397
+ upstream: z.ZodString;
398
+ noindex: z.ZodDefault<z.ZodBoolean>;
399
+ }, z.core.$strip>>>;
400
+ }, z.core.$strip>;
291
401
  export declare const runtimeRouteUpdateResponseSchema: z.ZodObject<{
292
402
  space_id: z.ZodString;
293
403
  route_name: z.ZodString;
294
404
  version_id: z.ZodString;
295
405
  }, z.core.$strip>;
406
+ export declare const runtimeHostnameIntentUpdateResponseSchema: z.ZodObject<{
407
+ space_id: z.ZodString;
408
+ route_count: z.ZodNumber;
409
+ }, z.core.$strip>;
296
410
  export declare const runtimeTombstonesUpdateRequestSchema: z.ZodObject<{
297
411
  hostnames: z.ZodDefault<z.ZodArray<z.ZodString>>;
298
412
  mode: z.ZodDefault<z.ZodEnum<{
@@ -307,6 +421,22 @@ export declare const runtimeTombstonesUpdateResponseSchema: z.ZodObject<{
307
421
  space_id: z.ZodString;
308
422
  tombstone_count: z.ZodNumber;
309
423
  }, z.core.$strip>;
424
+ export declare const runtimeRetentionPolicyUpdateRequestSchema: z.ZodObject<{
425
+ prunable_version_ids: z.ZodArray<z.ZodString>;
426
+ }, z.core.$strip>;
427
+ export declare const runtimeRetentionPolicyUpdateResponseSchema: z.ZodObject<{
428
+ space_id: z.ZodString;
429
+ prunable_count: z.ZodNumber;
430
+ }, z.core.$strip>;
431
+ export declare const runtimeGrantRevocationRequestSchema: z.ZodObject<{
432
+ grant: z.ZodString;
433
+ }, z.core.$strip>;
434
+ export declare const runtimeGrantRevocationResponseSchema: z.ZodObject<{
435
+ space_id: z.ZodString;
436
+ target_type: z.ZodLiteral<"grant">;
437
+ grant: z.ZodString;
438
+ revoked: z.ZodBoolean;
439
+ }, z.core.$strip>;
310
440
  export declare const runtimeSpaceDeleteResponseSchema: z.ZodObject<{
311
441
  space_id: z.ZodString;
312
442
  status: z.ZodLiteral<"deleted">;
@@ -347,9 +477,17 @@ export declare const runtimeSpaceExportResponseSchema: z.ZodObject<{
347
477
  }, z.core.$strip>;
348
478
  export declare const runtimeSpaceImportStartRequestSchema: z.ZodObject<{
349
479
  version_id_map: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
480
+ zero_mode: z.ZodOptional<z.ZodEnum<{
481
+ active: "active";
482
+ activating: "activating";
483
+ }>>;
350
484
  }, z.core.$strict>;
351
485
  export declare const runtimeSpaceImportMapRequestSchema: z.ZodObject<{
352
486
  version_id_map: z.ZodRecord<z.ZodString, z.ZodString>;
487
+ zero_mode: z.ZodOptional<z.ZodEnum<{
488
+ active: "active";
489
+ activating: "activating";
490
+ }>>;
353
491
  }, z.core.$strict>;
354
492
  export declare const runtimeSpaceImportResponseSchema: z.ZodObject<{
355
493
  type: z.ZodLiteral<"space_import">;
@@ -369,6 +507,46 @@ export declare const runtimeSpaceImportResponseSchema: z.ZodObject<{
369
507
  updated_at: z.ZodString;
370
508
  completed_at: z.ZodOptional<z.ZodString>;
371
509
  }, z.core.$strip>;
510
+ export declare const runtimeTransferBundleSourceRequestSchema: z.ZodObject<{
511
+ space_id: z.ZodString;
512
+ version_ids: z.ZodArray<z.ZodString>;
513
+ cursor: z.ZodNullable<z.ZodString>;
514
+ }, z.core.$strip>;
515
+ export declare const runtimeTransferBundleTargetRequestSchema: z.ZodObject<{
516
+ space_id: z.ZodString;
517
+ store: z.ZodLiteral<true>;
518
+ files: z.ZodArray<z.ZodObject<{
519
+ path: z.ZodString;
520
+ content_b64: z.ZodString;
521
+ }, z.core.$strip>>;
522
+ done: z.ZodBoolean;
523
+ }, z.core.$strip>;
524
+ export declare const runtimeTransferBundleResponseSchema: z.ZodObject<{
525
+ chunk: z.ZodObject<{
526
+ files: z.ZodArray<z.ZodObject<{
527
+ path: z.ZodString;
528
+ content_b64: z.ZodString;
529
+ }, z.core.$strip>>;
530
+ }, z.core.$strip>;
531
+ next_cursor: z.ZodNullable<z.ZodString>;
532
+ }, z.core.$strip>;
533
+ export declare const runtimeTransferBundleStoredResponseSchema: z.ZodObject<{
534
+ stored: z.ZodLiteral<true>;
535
+ }, z.core.$strip>;
536
+ export declare const runtimeTransferCommitRequestSchema: z.ZodObject<{
537
+ space_id: z.ZodString;
538
+ version_ids: z.ZodArray<z.ZodString>;
539
+ live_version_id: z.ZodNullable<z.ZodString>;
540
+ }, z.core.$strip>;
541
+ export declare const runtimeTransferCommitResponseSchema: z.ZodObject<{
542
+ installed: z.ZodLiteral<true>;
543
+ }, z.core.$strip>;
544
+ export declare const runtimeTransferAbortRequestSchema: z.ZodObject<{
545
+ space_id: z.ZodString;
546
+ }, z.core.$strip>;
547
+ export declare const runtimeTransferAbortResponseSchema: z.ZodObject<{
548
+ aborted: z.ZodOptional<z.ZodBoolean>;
549
+ }, z.core.$strip>;
372
550
  export declare const runtimeSpaceStateSchema: z.ZodObject<{
373
551
  space_id: z.ZodString;
374
552
  routes: z.ZodRecord<z.ZodString, z.ZodString>;
@@ -425,25 +603,171 @@ export declare const runtimeEventsDrainResponseSchema: z.ZodObject<{
425
603
  }, z.core.$loose>;
426
604
  }, z.core.$strip>>>;
427
605
  }, z.core.$strip>;
606
+ export declare const runtimeEngineJobLaneSchema: z.ZodEnum<{
607
+ interactive: "interactive";
608
+ bulk: "bulk";
609
+ }>;
610
+ export declare const runtimeEngineJobStatusSchema: z.ZodEnum<{
611
+ failed: "failed";
612
+ running: "running";
613
+ pending: "pending";
614
+ complete: "complete";
615
+ }>;
616
+ export declare const runtimeEngineJobErrorSchema: z.ZodObject<{
617
+ code: z.ZodString;
618
+ message: z.ZodString;
619
+ }, z.core.$strip>;
620
+ export declare const runtimeEngineJobRecordSchema: z.ZodObject<{
621
+ id: z.ZodString;
622
+ type: z.ZodString;
623
+ lane: z.ZodEnum<{
624
+ interactive: "interactive";
625
+ bulk: "bulk";
626
+ }>;
627
+ space_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
628
+ operation_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
629
+ status: z.ZodEnum<{
630
+ failed: "failed";
631
+ running: "running";
632
+ pending: "pending";
633
+ complete: "complete";
634
+ }>;
635
+ attempt: z.ZodDefault<z.ZodNumber>;
636
+ max_attempts: z.ZodOptional<z.ZodNumber>;
637
+ progress: z.ZodOptional<z.ZodObject<{
638
+ done: z.ZodDefault<z.ZodNumber>;
639
+ total: z.ZodDefault<z.ZodNumber>;
640
+ }, z.core.$strip>>;
641
+ result: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
642
+ error: z.ZodOptional<z.ZodNullable<z.ZodObject<{
643
+ code: z.ZodString;
644
+ message: z.ZodString;
645
+ }, z.core.$strip>>>;
646
+ created_at: z.ZodOptional<z.ZodString>;
647
+ updated_at: z.ZodOptional<z.ZodString>;
648
+ }, z.core.$strip>;
649
+ export declare const runtimeEngineJobCreateRequestSchema: z.ZodObject<{
650
+ type: z.ZodString;
651
+ payload: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
652
+ idempotency_key: z.ZodString;
653
+ }, z.core.$strip>;
654
+ export declare const runtimeEngineJobResponseSchema: z.ZodObject<{
655
+ job: z.ZodObject<{
656
+ id: z.ZodString;
657
+ type: z.ZodString;
658
+ lane: z.ZodEnum<{
659
+ interactive: "interactive";
660
+ bulk: "bulk";
661
+ }>;
662
+ space_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
663
+ operation_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
664
+ status: z.ZodEnum<{
665
+ failed: "failed";
666
+ running: "running";
667
+ pending: "pending";
668
+ complete: "complete";
669
+ }>;
670
+ attempt: z.ZodDefault<z.ZodNumber>;
671
+ max_attempts: z.ZodOptional<z.ZodNumber>;
672
+ progress: z.ZodOptional<z.ZodObject<{
673
+ done: z.ZodDefault<z.ZodNumber>;
674
+ total: z.ZodDefault<z.ZodNumber>;
675
+ }, z.core.$strip>>;
676
+ result: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
677
+ error: z.ZodOptional<z.ZodNullable<z.ZodObject<{
678
+ code: z.ZodString;
679
+ message: z.ZodString;
680
+ }, z.core.$strip>>>;
681
+ created_at: z.ZodOptional<z.ZodString>;
682
+ updated_at: z.ZodOptional<z.ZodString>;
683
+ }, z.core.$strip>;
684
+ }, z.core.$strip>;
685
+ export declare const runtimeEngineJobTickResponseSchema: z.ZodObject<{
686
+ lane: z.ZodEnum<{
687
+ interactive: "interactive";
688
+ bulk: "bulk";
689
+ }>;
690
+ job: z.ZodOptional<z.ZodNullable<z.ZodObject<{
691
+ id: z.ZodString;
692
+ type: z.ZodString;
693
+ lane: z.ZodEnum<{
694
+ interactive: "interactive";
695
+ bulk: "bulk";
696
+ }>;
697
+ space_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
698
+ operation_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
699
+ status: z.ZodEnum<{
700
+ failed: "failed";
701
+ running: "running";
702
+ pending: "pending";
703
+ complete: "complete";
704
+ }>;
705
+ attempt: z.ZodDefault<z.ZodNumber>;
706
+ max_attempts: z.ZodOptional<z.ZodNumber>;
707
+ progress: z.ZodOptional<z.ZodObject<{
708
+ done: z.ZodDefault<z.ZodNumber>;
709
+ total: z.ZodDefault<z.ZodNumber>;
710
+ }, z.core.$strip>>;
711
+ result: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
712
+ error: z.ZodOptional<z.ZodNullable<z.ZodObject<{
713
+ code: z.ZodString;
714
+ message: z.ZodString;
715
+ }, z.core.$strip>>>;
716
+ created_at: z.ZodOptional<z.ZodString>;
717
+ updated_at: z.ZodOptional<z.ZodString>;
718
+ }, z.core.$strip>>>;
719
+ drained: z.ZodOptional<z.ZodBoolean>;
720
+ }, z.core.$strip>;
721
+ export declare const runtimeAccessEventsCursorSchema: z.ZodObject<{
722
+ file: z.ZodNullable<z.ZodString>;
723
+ offset: z.ZodNumber;
724
+ }, z.core.$strip>;
725
+ export declare const runtimeAccessEventsResponseSchema: z.ZodObject<{
726
+ events: z.ZodDefault<z.ZodArray<z.ZodObject<{
727
+ sub: z.ZodDefault<z.ZodNullable<z.ZodString>>;
728
+ grantsHash: z.ZodDefault<z.ZodNullable<z.ZodString>>;
729
+ ruleId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
730
+ effect: z.ZodEnum<{
731
+ allow: "allow";
732
+ deny: "deny";
733
+ challenge: "challenge";
734
+ }>;
735
+ reasonCode: z.ZodDefault<z.ZodNullable<z.ZodString>>;
736
+ host: z.ZodString;
737
+ path: z.ZodString;
738
+ ts: z.ZodNumber;
739
+ }, z.core.$strip>>>;
740
+ cursor: z.ZodObject<{
741
+ file: z.ZodNullable<z.ZodString>;
742
+ offset: z.ZodNumber;
743
+ }, z.core.$strip>;
744
+ done: z.ZodBoolean;
745
+ dropped: z.ZodDefault<z.ZodNumber>;
746
+ }, z.core.$strip>;
428
747
  export type RuntimeVersionCreateRequest = z.infer<typeof runtimeVersionCreateRequestSchema>;
429
- export type RuntimeVersionCreateResponse = z.infer<typeof runtimeVersionCreateResponseSchema>;
430
- export type RuntimeUploadSessionResponse = z.infer<typeof runtimeUploadSessionResponseSchema>;
431
748
  export type RuntimeVersionFinalizeRequest = z.infer<typeof runtimeVersionFinalizeRequestSchema>;
432
- export type RuntimeVersionFinalizeResponse = z.infer<typeof runtimeVersionFinalizeResponseSchema>;
749
+ export type RuntimeHostnameIntentUpdateRequest = z.infer<typeof runtimeHostnameIntentUpdateRequestSchema>;
433
750
  export type RuntimeRouteUpdateRequest = z.infer<typeof runtimeRouteUpdateRequestSchema>;
434
- export type RuntimeRouteUpdateResponse = z.infer<typeof runtimeRouteUpdateResponseSchema>;
435
751
  export type RuntimeTombstonesUpdateRequest = z.infer<typeof runtimeTombstonesUpdateRequestSchema>;
436
- export type RuntimeTombstonesUpdateResponse = z.infer<typeof runtimeTombstonesUpdateResponseSchema>;
437
- export type RuntimeSpaceDeleteResponse = z.infer<typeof runtimeSpaceDeleteResponseSchema>;
438
- export type RuntimeVersionDeleteResponse = z.infer<typeof runtimeVersionDeleteResponseSchema>;
439
- export type RuntimeSpaceRepairResponse = z.infer<typeof runtimeSpaceRepairResponseSchema>;
752
+ export type RuntimeRetentionPolicyUpdateRequest = z.infer<typeof runtimeRetentionPolicyUpdateRequestSchema>;
753
+ export type RuntimeRetentionPolicyUpdateResponse = z.infer<typeof runtimeRetentionPolicyUpdateResponseSchema>;
754
+ export type RuntimeGrantRevocationRequest = z.infer<typeof runtimeGrantRevocationRequestSchema>;
755
+ export type RuntimeTransferBundleSourceRequest = z.infer<typeof runtimeTransferBundleSourceRequestSchema>;
756
+ export type RuntimeTransferBundleTargetRequest = z.infer<typeof runtimeTransferBundleTargetRequestSchema>;
757
+ export type RuntimeTransferBundleResponse = z.infer<typeof runtimeTransferBundleResponseSchema>;
758
+ export type RuntimeTransferBundleStoredResponse = z.infer<typeof runtimeTransferBundleStoredResponseSchema>;
759
+ export type RuntimeTransferCommitRequest = z.infer<typeof runtimeTransferCommitRequestSchema>;
760
+ export type RuntimeTransferCommitResponse = z.infer<typeof runtimeTransferCommitResponseSchema>;
761
+ export type RuntimeTransferAbortRequest = z.infer<typeof runtimeTransferAbortRequestSchema>;
762
+ export type RuntimeTransferAbortResponse = z.infer<typeof runtimeTransferAbortResponseSchema>;
440
763
  export type RuntimeSpaceExportStartRequest = z.infer<typeof runtimeSpaceExportStartRequestSchema>;
441
- export type RuntimeSpaceExportResponse = z.infer<typeof runtimeSpaceExportResponseSchema>;
442
764
  export type RuntimeSpaceImportStartRequest = z.infer<typeof runtimeSpaceImportStartRequestSchema>;
443
765
  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
766
  export type RuntimeSpaceState = z.infer<typeof runtimeSpaceStateSchema>;
448
- export type RuntimeEventsDrainResponse = z.infer<typeof runtimeEventsDrainResponseSchema>;
449
767
  export type RuntimeCallbackEvent = z.infer<typeof runtimeCallbackEventSchema>;
768
+ export type RuntimeEngineJobLane = z.infer<typeof runtimeEngineJobLaneSchema>;
769
+ export type RuntimeEngineJobStatus = z.infer<typeof runtimeEngineJobStatusSchema>;
770
+ export type RuntimeEngineJobRecord = z.infer<typeof runtimeEngineJobRecordSchema>;
771
+ export type RuntimeEngineJobCreateRequest = z.infer<typeof runtimeEngineJobCreateRequestSchema>;
772
+ export type RuntimeEngineJobResponse = z.infer<typeof runtimeEngineJobResponseSchema>;
773
+ export type RuntimeEngineJobTickResponse = z.infer<typeof runtimeEngineJobTickResponseSchema>;