@spacefast/common 0.0.21 → 0.0.24

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 (182) hide show
  1. package/dist/agents/connect-targets.d.ts +9 -6
  2. package/dist/agents/connect-targets.js +9 -6
  3. package/dist/config/domains.d.ts +1 -1
  4. package/dist/config/domains.js +1 -0
  5. package/dist/config/index.d.ts +0 -1
  6. package/dist/config/index.js +0 -1
  7. package/dist/contracts/abuse.d.ts +2 -0
  8. package/dist/contracts/abuse.js +12 -0
  9. package/dist/contracts/access.d.ts +121 -9
  10. package/dist/contracts/access.js +73 -9
  11. package/dist/contracts/activity.d.ts +1 -1
  12. package/dist/contracts/activity.js +0 -9
  13. package/dist/contracts/api-keys.d.ts +21 -21
  14. package/dist/contracts/beta.js +1 -1
  15. package/dist/contracts/billing.d.ts +1 -34
  16. package/dist/contracts/billing.js +4 -53
  17. package/dist/contracts/builds.d.ts +8 -8
  18. package/dist/contracts/builds.js +10 -3
  19. package/dist/contracts/cli.d.ts +10 -0
  20. package/dist/contracts/cli.js +10 -0
  21. package/dist/contracts/collab-public.d.ts +63 -0
  22. package/dist/contracts/collab-public.js +46 -0
  23. package/dist/contracts/comments.d.ts +283 -54
  24. package/dist/contracts/comments.js +173 -52
  25. package/dist/contracts/common.d.ts +3 -3
  26. package/dist/contracts/device-auth.d.ts +6 -6
  27. package/dist/contracts/device-auth.js +1 -1
  28. package/dist/contracts/docs.d.ts +5 -5
  29. package/dist/contracts/domains.d.ts +36 -36
  30. package/dist/contracts/enums.d.ts +33 -30
  31. package/dist/contracts/enums.js +52 -38
  32. package/dist/contracts/error-code-meta.d.ts +37 -126
  33. package/dist/contracts/error-code-meta.js +12 -41
  34. package/dist/contracts/error-codes.d.ts +1 -1
  35. package/dist/contracts/error-codes.js +10 -32
  36. package/dist/contracts/execution.d.ts +35 -57
  37. package/dist/contracts/execution.js +41 -40
  38. package/dist/contracts/feature-lifecycle-core.d.ts +0 -6
  39. package/dist/contracts/feature-lifecycle-core.js +2 -31
  40. package/dist/contracts/feature-lifecycle.d.ts +8 -38
  41. package/dist/contracts/feature-lifecycle.js +16 -48
  42. package/dist/contracts/features.d.ts +15 -13
  43. package/dist/contracts/features.js +39 -38
  44. package/dist/contracts/functions.d.ts +97 -70
  45. package/dist/contracts/functions.js +101 -34
  46. package/dist/contracts/git.d.ts +1 -1
  47. package/dist/contracts/grants.d.ts +7 -3
  48. package/dist/contracts/grants.js +18 -9
  49. package/dist/contracts/internal.d.ts +14 -1
  50. package/dist/contracts/internal.js +17 -7
  51. package/dist/contracts/oauth-resources.d.ts +4 -3
  52. package/dist/contracts/oauth-resources.js +12 -3
  53. package/dist/contracts/operations.d.ts +90 -5
  54. package/dist/contracts/operations.js +75 -1
  55. package/dist/contracts/pages.d.ts +6 -1
  56. package/dist/contracts/pages.js +24 -1
  57. package/dist/contracts/plan-policy.d.ts +1 -3
  58. package/dist/contracts/plan-policy.js +1 -2
  59. package/dist/contracts/platform.d.ts +61 -148
  60. package/dist/contracts/platform.js +70 -126
  61. package/dist/contracts/publish-archive.d.ts +498 -0
  62. package/dist/contracts/publish-archive.js +25 -0
  63. package/dist/contracts/resources.d.ts +12 -24
  64. package/dist/contracts/resources.js +32 -12
  65. package/dist/contracts/runtime-api.d.ts +369 -175
  66. package/dist/contracts/runtime-api.js +372 -348
  67. package/dist/contracts/runtime-app.d.ts +127 -120
  68. package/dist/contracts/runtime-app.js +19 -10
  69. package/dist/contracts/runtime-db.d.ts +1 -1
  70. package/dist/contracts/runtime-services.d.ts +219 -0
  71. package/dist/contracts/runtime-services.js +437 -0
  72. package/dist/contracts/runtime-storage.d.ts +45 -32
  73. package/dist/contracts/runtime-storage.js +30 -8
  74. package/dist/contracts/space-config.d.ts +10 -16
  75. package/dist/contracts/space-config.js +14 -10
  76. package/dist/contracts/spaces.d.ts +241 -436
  77. package/dist/contracts/spaces.js +128 -145
  78. package/dist/contracts/superadmin-activity.d.ts +57 -4
  79. package/dist/contracts/superadmin-activity.js +48 -2
  80. package/dist/contracts/superadmin-search.d.ts +126 -0
  81. package/dist/contracts/superadmin-search.js +61 -0
  82. package/dist/contracts/superadmin-spaces.d.ts +358 -89
  83. package/dist/contracts/superadmin-spaces.js +97 -24
  84. package/dist/contracts/superadmin-teams.d.ts +28 -10
  85. package/dist/contracts/superadmin-teams.js +5 -8
  86. package/dist/contracts/superadmin.d.ts +0 -32
  87. package/dist/contracts/superadmin.js +3 -11
  88. package/dist/contracts/tags.d.ts +9 -9
  89. package/dist/contracts/teams.d.ts +44 -2
  90. package/dist/contracts/teams.js +43 -23
  91. package/dist/contracts/transfers.d.ts +0 -49
  92. package/dist/contracts/transfers.js +2 -6
  93. package/dist/contracts/usage.d.ts +61 -0
  94. package/dist/contracts/usage.js +64 -0
  95. package/dist/contracts/variables.d.ts +2 -7
  96. package/dist/contracts/variables.js +6 -5
  97. package/dist/contracts/webhooks.d.ts +2 -2
  98. package/dist/contracts/zero.d.ts +87 -56
  99. package/dist/contracts/zero.js +82 -20
  100. package/dist/dashboard-paths/index.d.ts +1 -1
  101. package/dist/dashboard-paths/index.js +1 -0
  102. package/dist/docs/agent-prose.d.ts +1 -1
  103. package/dist/docs/agent-prose.js +62 -66
  104. package/dist/docs/agent-setup.js +49 -23
  105. package/dist/docs/agent-solutions.d.ts +4 -4
  106. package/dist/docs/agent-solutions.js +8 -8
  107. package/dist/docs/catalog.d.ts +19 -19
  108. package/dist/docs/catalog.js +30 -19
  109. package/dist/docs/error-docs.js +63 -151
  110. package/dist/docs/skills.d.ts +3 -3
  111. package/dist/docs/skills.js +1 -1
  112. package/dist/test-helpers/fetch-stub.d.ts +16 -0
  113. package/dist/test-helpers/fetch-stub.js +24 -0
  114. package/dist/utils/build-settings.js +9 -3
  115. package/dist/utils/canonical-json.d.ts +10 -0
  116. package/dist/utils/canonical-json.js +21 -0
  117. package/dist/utils/cast-transport.d.ts +28 -0
  118. package/dist/utils/cast-transport.js +52 -0
  119. package/dist/utils/claim-token.d.ts +0 -8
  120. package/dist/utils/claim-token.js +3 -15
  121. package/dist/utils/credential-policy.d.ts +1 -1
  122. package/dist/utils/env-file.d.ts +17 -0
  123. package/dist/utils/env-file.js +96 -0
  124. package/dist/utils/error-code.d.ts +2 -0
  125. package/dist/utils/error-code.js +7 -0
  126. package/dist/utils/generate-space-name.d.ts +8 -10
  127. package/dist/utils/generate-space-name.js +206 -21
  128. package/dist/utils/grant-decision.fixtures.json +2938 -0
  129. package/dist/utils/grants.d.ts +2 -0
  130. package/dist/utils/grants.js +25 -2
  131. package/dist/utils/gravatar.d.ts +9 -0
  132. package/dist/utils/gravatar.js +31 -0
  133. package/dist/utils/idempotency.d.ts +6 -0
  134. package/dist/utils/idempotency.js +28 -0
  135. package/dist/utils/local-space-state.d.ts +1 -5
  136. package/dist/utils/local-space-state.js +7 -26
  137. package/dist/utils/page-fonts.d.ts +2 -2
  138. package/dist/utils/page-fonts.js +22 -4
  139. package/dist/utils/pages.d.ts +1 -2
  140. package/dist/utils/pages.js +21 -5
  141. package/dist/utils/publish-form-data.d.ts +12 -0
  142. package/dist/utils/publish-form-data.js +10 -0
  143. package/dist/utils/publish-policy.d.ts +20 -0
  144. package/dist/utils/publish-policy.fixtures.json +397 -0
  145. package/dist/utils/publish-policy.js +36 -19
  146. package/dist/utils/push-new.d.ts +7 -0
  147. package/dist/utils/push-new.js +7 -0
  148. package/dist/utils/query-keys.d.ts +0 -1
  149. package/dist/utils/query-keys.js +0 -1
  150. package/dist/utils/runtime-paths.d.ts +5 -0
  151. package/dist/utils/runtime-paths.js +5 -0
  152. package/dist/utils/runtime-upload-batch.d.ts +0 -5
  153. package/dist/utils/runtime-upload-batch.js +1 -27
  154. package/dist/utils/runtime-upload.d.ts +3 -13
  155. package/dist/utils/runtime-upload.js +4 -14
  156. package/dist/utils/space-config.d.ts +0 -33
  157. package/dist/utils/space-config.js +5 -326
  158. package/dist/utils/storage-policy.d.ts +1 -1
  159. package/dist/utils/storage-policy.js +3 -1
  160. package/dist/utils/structured-error.d.ts +14 -0
  161. package/dist/utils/structured-error.js +22 -0
  162. package/dist/utils/version-path.js +12 -3
  163. package/dist/vocabulary.d.ts +5 -3
  164. package/dist/vocabulary.js +13 -10
  165. package/package.json +10 -5
  166. package/dist/config/postgres-budget.d.ts +0 -129
  167. package/dist/config/postgres-budget.js +0 -140
  168. package/dist/config/postgres-budget.json +0 -51
  169. package/dist/contracts/archives.d.ts +0 -331
  170. package/dist/contracts/archives.js +0 -120
  171. package/dist/contracts/deployments.d.ts +0 -574
  172. package/dist/contracts/deployments.js +0 -97
  173. package/dist/contracts/sites.d.ts +0 -416
  174. package/dist/contracts/sites.js +0 -168
  175. package/dist/contracts/superadmin-queues.d.ts +0 -414
  176. package/dist/contracts/superadmin-queues.js +0 -202
  177. package/dist/contracts/superadmin-runtime.d.ts +0 -27
  178. package/dist/contracts/superadmin-runtime.js +0 -38
  179. package/dist/index.d.ts +0 -1
  180. package/dist/index.js +0 -1
  181. package/dist/utils/api.d.ts +0 -4
  182. package/dist/utils/api.js +0 -13
@@ -1,5 +1,52 @@
1
1
  import { z } from "zod";
2
2
  export declare const RUNTIME_CHANGED_PATHS_MAX = 900;
3
+ export declare const runtimePurgeReceiptSchema: z.ZodObject<{
4
+ status: z.ZodEnum<{
5
+ failed: "failed";
6
+ pending: "pending";
7
+ ok: "ok";
8
+ }>;
9
+ mode: z.ZodEnum<{
10
+ domain: "domain";
11
+ urls: "urls";
12
+ }>;
13
+ urls: z.ZodOptional<z.ZodNumber>;
14
+ }, z.core.$strip>;
15
+ export declare const runtimeSpacePurgeRequestSchema: z.ZodObject<{
16
+ urls: z.ZodOptional<z.ZodArray<z.ZodString>>;
17
+ }, z.core.$strip>;
18
+ export declare const runtimeSpacePurgeResponseSchema: z.ZodObject<{
19
+ space_id: z.ZodString;
20
+ purge: z.ZodObject<{
21
+ status: z.ZodEnum<{
22
+ failed: "failed";
23
+ pending: "pending";
24
+ ok: "ok";
25
+ }>;
26
+ mode: z.ZodEnum<{
27
+ domain: "domain";
28
+ urls: "urls";
29
+ }>;
30
+ urls: z.ZodOptional<z.ZodNumber>;
31
+ }, z.core.$strip>;
32
+ }, z.core.$strip>;
33
+ export declare const runtimeVersionFilesResponseSchema: z.ZodObject<{
34
+ space_id: z.ZodString;
35
+ version_id: z.ZodString;
36
+ view: z.ZodEnum<{
37
+ source: "source";
38
+ served: "served";
39
+ }>;
40
+ files: z.ZodArray<z.ZodObject<{
41
+ path: z.ZodString;
42
+ size: z.ZodNumber;
43
+ sha256: z.ZodString;
44
+ content_type: z.ZodOptional<z.ZodString>;
45
+ public: z.ZodBoolean;
46
+ variant_route: z.ZodOptional<z.ZodString>;
47
+ }, z.core.$strip>>;
48
+ next_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
49
+ }, z.core.$strip>;
3
50
  export declare const runtimeVersionCreateRequestSchema: z.ZodObject<{
4
51
  version_id: z.ZodOptional<z.ZodString>;
5
52
  files: z.ZodArray<z.ZodObject<{
@@ -9,7 +56,7 @@ export declare const runtimeVersionCreateRequestSchema: z.ZodObject<{
9
56
  contentType: z.ZodOptional<z.ZodString>;
10
57
  sourceUrl: z.ZodOptional<z.ZodString>;
11
58
  }, z.core.$strip>>;
12
- retained_files: z.ZodDefault<z.ZodArray<z.ZodObject<{
59
+ retained_files: z.ZodOptional<z.ZodArray<z.ZodObject<{
13
60
  path: z.ZodString;
14
61
  size: z.ZodNumber;
15
62
  sha256: z.ZodOptional<z.ZodString>;
@@ -20,10 +67,6 @@ export declare const runtimeVersionCreateRequestSchema: z.ZodObject<{
20
67
  manifest_hash: z.ZodOptional<z.ZodString>;
21
68
  expires_at: z.ZodOptional<z.ZodString>;
22
69
  metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
23
- convention_files: z.ZodDefault<z.ZodObject<{
24
- redirects: z.ZodOptional<z.ZodString>;
25
- headers: z.ZodOptional<z.ZodString>;
26
- }, z.core.$strict>>;
27
70
  }, z.core.$strip>;
28
71
  export declare const runtimeVersionCreateResponseSchema: z.ZodObject<{
29
72
  space_id: z.ZodString;
@@ -53,10 +96,6 @@ export declare const runtimeUploadSessionDescriptorSchema: z.ZodObject<{
53
96
  }, z.core.$strip>>>;
54
97
  reusable_version_id: z.ZodOptional<z.ZodString>;
55
98
  metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
56
- convention_files: z.ZodDefault<z.ZodObject<{
57
- redirects: z.ZodOptional<z.ZodString>;
58
- headers: z.ZodOptional<z.ZodString>;
59
- }, z.core.$strict>>;
60
99
  }, z.core.$strip>;
61
100
  export type RuntimeUploadSessionDescriptor = z.infer<typeof runtimeUploadSessionDescriptorSchema>;
62
101
  export declare const RUNTIME_UPLOAD_SESSION_DESCRIPTOR_MAX_BYTES = 4096;
@@ -76,7 +115,6 @@ export declare const runtimeUploadSessionResponseSchema: z.ZodObject<{
76
115
  uploaded: z.ZodBoolean;
77
116
  }, z.core.$strip>>;
78
117
  pending_paths: z.ZodArray<z.ZodString>;
79
- chunks: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodNumber>>;
80
118
  }, z.core.$strip>;
81
119
  export declare const visitorJwkSchema: z.ZodObject<{
82
120
  kty: z.ZodLiteral<"OKP">;
@@ -120,7 +158,6 @@ export declare const runtimeAccessPageDescriptorSchema: z.ZodObject<{
120
158
  emailUrl: z.ZodString;
121
159
  requestUrl: z.ZodString;
122
160
  logoutUrl: z.ZodString;
123
- commentsConfigUrl: z.ZodOptional<z.ZodString>;
124
161
  commentsTicketUrl: z.ZodOptional<z.ZodString>;
125
162
  commentsVersionUrlsUrl: z.ZodOptional<z.ZodString>;
126
163
  zeroRealtimeTicketUrl: z.ZodOptional<z.ZodString>;
@@ -153,7 +190,6 @@ export declare const runtimeAuthorizationProjectionSchema: z.ZodObject<{
153
190
  emailUrl: z.ZodString;
154
191
  requestUrl: z.ZodString;
155
192
  logoutUrl: z.ZodString;
156
- commentsConfigUrl: z.ZodOptional<z.ZodString>;
157
193
  commentsTicketUrl: z.ZodOptional<z.ZodString>;
158
194
  commentsVersionUrlsUrl: z.ZodOptional<z.ZodString>;
159
195
  zeroRealtimeTicketUrl: z.ZodOptional<z.ZodString>;
@@ -232,11 +268,6 @@ export declare const runtimeAuthorizationProjectionSchema: z.ZodObject<{
232
268
  }, z.core.$strict>>;
233
269
  }, z.core.$strict>;
234
270
  export type RuntimeAuthorizationProjection = z.infer<typeof runtimeAuthorizationProjectionSchema>;
235
- export declare const runtimeZeroModeSchema: z.ZodEnum<{
236
- active: "active";
237
- activating: "activating";
238
- }>;
239
- export type RuntimeZeroMode = z.infer<typeof runtimeZeroModeSchema>;
240
271
  export declare const runtimeVersionFinalizeRequestSchema: z.ZodObject<{
241
272
  upload_id: z.ZodString;
242
273
  session: z.ZodOptional<z.ZodObject<{
@@ -261,15 +292,7 @@ export declare const runtimeVersionFinalizeRequestSchema: z.ZodObject<{
261
292
  }, z.core.$strip>>>;
262
293
  reusable_version_id: z.ZodOptional<z.ZodString>;
263
294
  metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
264
- convention_files: z.ZodDefault<z.ZodObject<{
265
- redirects: z.ZodOptional<z.ZodString>;
266
- headers: z.ZodOptional<z.ZodString>;
267
- }, z.core.$strict>>;
268
295
  }, z.core.$strip>>;
269
- zero_mode: z.ZodOptional<z.ZodEnum<{
270
- active: "active";
271
- activating: "activating";
272
- }>>;
273
296
  zero: z.ZodOptional<z.ZodObject<{
274
297
  auth: z.ZodDefault<z.ZodObject<{
275
298
  provider: z.ZodDefault<z.ZodLiteral<"gravatar">>;
@@ -279,6 +302,10 @@ export declare const runtimeVersionFinalizeRequestSchema: z.ZodObject<{
279
302
  signOutUrl: z.ZodDefault<z.ZodNullable<z.ZodString>>;
280
303
  returnToParam: z.ZodDefault<z.ZodString>;
281
304
  }, z.core.$strict>>;
305
+ variables: z.ZodObject<{
306
+ source: z.ZodLiteral<"stattic-variables">;
307
+ names: z.ZodDefault<z.ZodArray<z.ZodString>>;
308
+ }, z.core.$strict>;
282
309
  realtime: z.ZodObject<{
283
310
  mode: z.ZodEnum<{
284
311
  local: "local";
@@ -293,10 +320,6 @@ export declare const runtimeVersionFinalizeRequestSchema: z.ZodObject<{
293
320
  token: z.ZodString;
294
321
  }, z.core.$strict>>;
295
322
  }, z.core.$strict>;
296
- variables: z.ZodObject<{
297
- source: z.ZodLiteral<"stattic-variables">;
298
- names: z.ZodDefault<z.ZodArray<z.ZodString>>;
299
- }, z.core.$strict>;
300
323
  artifact: z.ZodObject<{
301
324
  format: z.ZodLiteral<"stattic.zero.capsule.v1">;
302
325
  appName: z.ZodString;
@@ -561,7 +584,13 @@ export declare const runtimeVersionFinalizeRequestSchema: z.ZodObject<{
561
584
  env: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
562
585
  realtime: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
563
586
  logging: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
587
+ gravatar: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
588
+ spam: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
589
+ email: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
564
590
  }, z.core.$strip>>;
591
+ platform: z.ZodDefault<z.ZodObject<{
592
+ nextCache: z.ZodDefault<z.ZodBoolean>;
593
+ }, z.core.$strict>>;
565
594
  }, z.core.$strict>;
566
595
  variables: z.ZodDefault<z.ZodObject<{
567
596
  source: z.ZodLiteral<"spacefast-variables">;
@@ -573,9 +602,15 @@ export declare const runtimeVersionFinalizeRequestSchema: z.ZodObject<{
573
602
  }, z.core.$strict>;
574
603
  grantedCapabilities: z.ZodDefault<z.ZodArray<z.ZodEnum<{
575
604
  fetch: "fetch";
605
+ "storage.read": "storage.read";
606
+ "storage.write": "storage.write";
576
607
  "db.read": "db.read";
577
608
  "db.write": "db.write";
578
609
  log: "log";
610
+ "next.cache": "next.cache";
611
+ "gravatar.profile": "gravatar.profile";
612
+ "spam.check": "spam.check";
613
+ "email.send": "email.send";
579
614
  }>>>;
580
615
  relay: z.ZodDefault<z.ZodNullable<z.ZodObject<{
581
616
  url: z.ZodString;
@@ -583,20 +618,32 @@ export declare const runtimeVersionFinalizeRequestSchema: z.ZodObject<{
583
618
  maxBatchStatements: z.ZodNumber;
584
619
  maxConcurrentCalls: z.ZodNumber;
585
620
  }, z.core.$strict>>>;
621
+ usage: z.ZodDefault<z.ZodNullable<z.ZodObject<{
622
+ url: z.ZodString;
623
+ token: z.ZodString;
624
+ }, z.core.$strict>>>;
586
625
  variableValues: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
587
626
  }, z.core.$strict>>;
588
- convention_files: z.ZodOptional<z.ZodObject<{
589
- redirects: z.ZodOptional<z.ZodString>;
590
- headers: z.ZodOptional<z.ZodString>;
591
- }, z.core.$strict>>;
592
- template_files: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
593
- template_variants: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
627
+ variable_scopes: z.ZodOptional<z.ZodArray<z.ZodObject<{
628
+ kind: z.ZodEnum<{
629
+ space: "space";
630
+ principal: "principal";
631
+ }>;
632
+ values: z.ZodRecord<z.ZodString, z.ZodObject<{
633
+ value: z.ZodOptional<z.ZodString>;
634
+ secret: z.ZodBoolean;
635
+ channelValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
636
+ }, z.core.$strip>>;
637
+ }, z.core.$strip>>>;
638
+ system_variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
639
+ channels: z.ZodOptional<z.ZodArray<z.ZodObject<{
640
+ name: z.ZodString;
641
+ route_name: z.ZodString;
642
+ }, z.core.$strip>>>;
643
+ routing_assigned_hostnames: z.ZodOptional<z.ZodArray<z.ZodString>>;
594
644
  page_artifacts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
595
645
  serving: z.ZodOptional<z.ZodObject<{
596
- headers_exact: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
597
- headers_pattern: z.ZodDefault<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
598
- redirects_exact: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
599
- redirects_pattern: z.ZodDefault<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
646
+ noindexHost: z.ZodOptional<z.ZodBoolean>;
600
647
  config: z.ZodOptional<z.ZodObject<{
601
648
  index: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<false>]>>;
602
649
  fallback: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -610,6 +657,7 @@ export declare const runtimeVersionFinalizeRequestSchema: z.ZodObject<{
610
657
  title: z.ZodOptional<z.ZodString>;
611
658
  description: z.ZodOptional<z.ZodString>;
612
659
  image: z.ZodOptional<z.ZodString>;
660
+ favicon: z.ZodOptional<z.ZodString>;
613
661
  }, z.core.$strip>>>;
614
662
  pages: z.ZodOptional<z.ZodObject<{
615
663
  routes: z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -621,15 +669,10 @@ export declare const runtimeVersionFinalizeRequestSchema: z.ZodObject<{
621
669
  index: z.ZodOptional<z.ZodString>;
622
670
  }, z.core.$strip>>;
623
671
  previews: z.ZodRecord<z.ZodString, z.ZodString>;
672
+ collab: z.ZodOptional<z.ZodString>;
624
673
  }, z.core.$strip>>;
625
674
  experimental_gutenberg: z.ZodOptional<z.ZodBoolean>;
626
675
  platform_meta: z.ZodOptional<z.ZodBoolean>;
627
- spacefast_sdk: z.ZodOptional<z.ZodObject<{
628
- cast_api_base: z.ZodOptional<z.ZodNullable<z.ZodString>>;
629
- cast_ws_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
630
- cast_resource_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
631
- published_comments: z.ZodOptional<z.ZodBoolean>;
632
- }, z.core.$strip>>;
633
676
  inject: z.ZodOptional<z.ZodObject<{
634
677
  head: z.ZodOptional<z.ZodArray<z.ZodString>>;
635
678
  bodyStart: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -637,6 +680,7 @@ export declare const runtimeVersionFinalizeRequestSchema: z.ZodObject<{
637
680
  noscript: z.ZodOptional<z.ZodArray<z.ZodString>>;
638
681
  }, z.core.$strip>>;
639
682
  }, z.core.$strip>>;
683
+ platform_csp_sources: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
640
684
  zero_endpoints: z.ZodOptional<z.ZodArray<z.ZodObject<{
641
685
  method: z.ZodEnum<{
642
686
  POST: "POST";
@@ -703,7 +747,6 @@ export declare const runtimeVersionFinalizeRequestSchema: z.ZodObject<{
703
747
  emailUrl: z.ZodString;
704
748
  requestUrl: z.ZodString;
705
749
  logoutUrl: z.ZodString;
706
- commentsConfigUrl: z.ZodOptional<z.ZodString>;
707
750
  commentsTicketUrl: z.ZodOptional<z.ZodString>;
708
751
  commentsVersionUrlsUrl: z.ZodOptional<z.ZodString>;
709
752
  zeroRealtimeTicketUrl: z.ZodOptional<z.ZodString>;
@@ -810,16 +853,36 @@ export declare const runtimeVersionFinalizeRequestSchema: z.ZodObject<{
810
853
  admission: z.ZodOptional<z.ZodObject<{
811
854
  concurrency: z.ZodNumber;
812
855
  }, z.core.$strip>>;
813
- tag_sdk: z.ZodOptional<z.ZodNullable<z.ZodObject<{
856
+ sdk: z.ZodOptional<z.ZodNullable<z.ZodObject<{
814
857
  revision: z.ZodString;
815
- body: z.ZodString;
858
+ config: z.ZodObject<{
859
+ cast_api_base: z.ZodOptional<z.ZodNullable<z.ZodString>>;
860
+ cast_ws_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
861
+ cast_resource_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
862
+ comments: z.ZodOptional<z.ZodNullable<z.ZodObject<{
863
+ live: z.ZodBoolean;
864
+ preview: z.ZodBoolean;
865
+ live_url: z.ZodNullable<z.ZodString>;
866
+ theme: z.ZodObject<{
867
+ accent: z.ZodNullable<z.ZodString>;
868
+ hide_branding: z.ZodBoolean;
869
+ }, z.core.$strip>;
870
+ features: z.ZodObject<{
871
+ picker: z.ZodBoolean;
872
+ drawing: z.ZodBoolean;
873
+ capture: z.ZodBoolean;
874
+ attachments: z.ZodBoolean;
875
+ notices: z.ZodBoolean;
876
+ }, z.core.$strip>;
877
+ }, z.core.$strip>>>;
878
+ }, z.core.$strip>;
879
+ body: z.ZodOptional<z.ZodNullable<z.ZodString>>;
816
880
  }, z.core.$strip>>>;
817
881
  entitlements: z.ZodOptional<z.ZodNullable<z.ZodObject<{
818
882
  externalProxy: z.ZodBoolean;
819
883
  }, z.core.$strip>>>;
820
884
  }, z.core.$strip>>;
821
885
  config_digest: z.ZodOptional<z.ZodString>;
822
- changed_paths: z.ZodOptional<z.ZodArray<z.ZodString>>;
823
886
  previous_version_id: z.ZodOptional<z.ZodString>;
824
887
  production_hostnames: z.ZodDefault<z.ZodArray<z.ZodString>>;
825
888
  noindex_production_hostnames: z.ZodDefault<z.ZodArray<z.ZodString>>;
@@ -838,11 +901,74 @@ export declare const runtimeReadinessTargetSchema: z.ZodObject<{
838
901
  path: z.ZodString;
839
902
  expected_statuses: z.ZodArray<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodLiteral<200>, z.ZodLiteral<301>, z.ZodLiteral<302>, z.ZodLiteral<303>, z.ZodLiteral<307>, z.ZodLiteral<308>, z.ZodLiteral<401>, z.ZodLiteral<403>]>, z.ZodLiteral<404>]>>;
840
903
  }, z.core.$strip>;
904
+ export declare const runtimeCatalogDigestsSchema: z.ZodObject<{
905
+ source: z.ZodString;
906
+ served: z.ZodString;
907
+ }, z.core.$strip>;
908
+ export declare const runtimeCatalogDeltaSchema: z.ZodObject<{
909
+ added: z.ZodNumber;
910
+ changed: z.ZodNumber;
911
+ removed: z.ZodNumber;
912
+ }, z.core.$strip>;
913
+ export declare const runtimeCompileDiagnosticSchema: z.ZodObject<{
914
+ severity: z.ZodEnum<{
915
+ info: "info";
916
+ warning: "warning";
917
+ error: "error";
918
+ }>;
919
+ code: z.ZodString;
920
+ message: z.ZodString;
921
+ path: z.ZodOptional<z.ZodString>;
922
+ details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
923
+ }, z.core.$strip>;
924
+ export declare const runtimeCompiledRoutingSchema: z.ZodObject<{
925
+ redirect_rule_count: z.ZodNumber;
926
+ header_rule_count: z.ZodNumber;
927
+ proxy_rule_count: z.ZodNumber;
928
+ proxy_rules: z.ZodDefault<z.ZodArray<z.ZodObject<{
929
+ source: z.ZodString;
930
+ destination: z.ZodString;
931
+ }, z.core.$strip>>>;
932
+ }, z.core.$strip>;
841
933
  export declare const runtimeVersionFinalizeResponseSchema: z.ZodObject<{
934
+ purge: z.ZodOptional<z.ZodObject<{
935
+ status: z.ZodEnum<{
936
+ failed: "failed";
937
+ pending: "pending";
938
+ ok: "ok";
939
+ }>;
940
+ mode: z.ZodEnum<{
941
+ domain: "domain";
942
+ urls: "urls";
943
+ }>;
944
+ urls: z.ZodOptional<z.ZodNumber>;
945
+ }, z.core.$strip>>;
842
946
  space_id: z.ZodString;
843
947
  version_id: z.ZodString;
844
948
  status: z.ZodLiteral<"ready">;
845
949
  zero_endpoint_count: z.ZodOptional<z.ZodNumber>;
950
+ diagnostics: z.ZodDefault<z.ZodArray<z.ZodObject<{
951
+ severity: z.ZodEnum<{
952
+ info: "info";
953
+ warning: "warning";
954
+ error: "error";
955
+ }>;
956
+ code: z.ZodString;
957
+ message: z.ZodString;
958
+ path: z.ZodOptional<z.ZodString>;
959
+ details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
960
+ }, z.core.$strip>>>;
961
+ routing: z.ZodOptional<z.ZodObject<{
962
+ redirect_rule_count: z.ZodNumber;
963
+ header_rule_count: z.ZodNumber;
964
+ proxy_rule_count: z.ZodNumber;
965
+ proxy_rules: z.ZodDefault<z.ZodArray<z.ZodObject<{
966
+ source: z.ZodString;
967
+ destination: z.ZodString;
968
+ }, z.core.$strip>>>;
969
+ }, z.core.$strip>>;
970
+ variable_digests: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
971
+ system_variable_dependencies: z.ZodDefault<z.ZodArray<z.ZodString>>;
846
972
  manifest: z.ZodOptional<z.ZodArray<z.ZodObject<{
847
973
  path: z.ZodString;
848
974
  size: z.ZodNumber;
@@ -850,6 +976,16 @@ export declare const runtimeVersionFinalizeResponseSchema: z.ZodObject<{
850
976
  contentType: z.ZodOptional<z.ZodString>;
851
977
  sourceUrl: z.ZodOptional<z.ZodString>;
852
978
  }, z.core.$strip>>>;
979
+ catalog_digests: z.ZodOptional<z.ZodObject<{
980
+ source: z.ZodString;
981
+ served: z.ZodString;
982
+ }, z.core.$strip>>;
983
+ delta: z.ZodOptional<z.ZodObject<{
984
+ added: z.ZodNumber;
985
+ changed: z.ZodNumber;
986
+ removed: z.ZodNumber;
987
+ }, z.core.$strip>>;
988
+ preview_image_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
853
989
  readiness_target: z.ZodObject<{
854
990
  path: z.ZodString;
855
991
  expected_statuses: z.ZodArray<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodLiteral<200>, z.ZodLiteral<301>, z.ZodLiteral<302>, z.ZodLiteral<303>, z.ZodLiteral<307>, z.ZodLiteral<308>, z.ZodLiteral<401>, z.ZodLiteral<403>]>, z.ZodLiteral<404>]>>;
@@ -888,7 +1024,6 @@ export declare const runtimeRouteUpdateRequestSchema: z.ZodObject<{
888
1024
  emailUrl: z.ZodString;
889
1025
  requestUrl: z.ZodString;
890
1026
  logoutUrl: z.ZodString;
891
- commentsConfigUrl: z.ZodOptional<z.ZodString>;
892
1027
  commentsTicketUrl: z.ZodOptional<z.ZodString>;
893
1028
  commentsVersionUrlsUrl: z.ZodOptional<z.ZodString>;
894
1029
  zeroRealtimeTicketUrl: z.ZodOptional<z.ZodString>;
@@ -995,16 +1130,36 @@ export declare const runtimeRouteUpdateRequestSchema: z.ZodObject<{
995
1130
  admission: z.ZodOptional<z.ZodObject<{
996
1131
  concurrency: z.ZodNumber;
997
1132
  }, z.core.$strip>>;
998
- tag_sdk: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1133
+ sdk: z.ZodOptional<z.ZodNullable<z.ZodObject<{
999
1134
  revision: z.ZodString;
1000
- body: z.ZodString;
1135
+ config: z.ZodObject<{
1136
+ cast_api_base: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1137
+ cast_ws_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1138
+ cast_resource_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1139
+ comments: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1140
+ live: z.ZodBoolean;
1141
+ preview: z.ZodBoolean;
1142
+ live_url: z.ZodNullable<z.ZodString>;
1143
+ theme: z.ZodObject<{
1144
+ accent: z.ZodNullable<z.ZodString>;
1145
+ hide_branding: z.ZodBoolean;
1146
+ }, z.core.$strip>;
1147
+ features: z.ZodObject<{
1148
+ picker: z.ZodBoolean;
1149
+ drawing: z.ZodBoolean;
1150
+ capture: z.ZodBoolean;
1151
+ attachments: z.ZodBoolean;
1152
+ notices: z.ZodBoolean;
1153
+ }, z.core.$strip>;
1154
+ }, z.core.$strip>>>;
1155
+ }, z.core.$strip>;
1156
+ body: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1001
1157
  }, z.core.$strip>>>;
1002
1158
  entitlements: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1003
1159
  externalProxy: z.ZodBoolean;
1004
1160
  }, z.core.$strip>>>;
1005
1161
  }, z.core.$strip>>;
1006
1162
  config_digest: z.ZodOptional<z.ZodString>;
1007
- changed_paths: z.ZodOptional<z.ZodArray<z.ZodString>>;
1008
1163
  previous_version_id: z.ZodOptional<z.ZodString>;
1009
1164
  production_hostnames: z.ZodDefault<z.ZodArray<z.ZodString>>;
1010
1165
  noindex_production_hostnames: z.ZodDefault<z.ZodArray<z.ZodString>>;
@@ -1032,6 +1187,18 @@ export declare const runtimeHostnameIntentUpdateRequestSchema: z.ZodObject<{
1032
1187
  }, z.core.$strip>>>;
1033
1188
  }, z.core.$strip>;
1034
1189
  export declare const runtimeRouteUpdateResponseSchema: z.ZodObject<{
1190
+ purge: z.ZodOptional<z.ZodObject<{
1191
+ status: z.ZodEnum<{
1192
+ failed: "failed";
1193
+ pending: "pending";
1194
+ ok: "ok";
1195
+ }>;
1196
+ mode: z.ZodEnum<{
1197
+ domain: "domain";
1198
+ urls: "urls";
1199
+ }>;
1200
+ urls: z.ZodOptional<z.ZodNumber>;
1201
+ }, z.core.$strip>>;
1035
1202
  space_id: z.ZodString;
1036
1203
  route_name: z.ZodString;
1037
1204
  version_id: z.ZodString;
@@ -1039,6 +1206,18 @@ export declare const runtimeRouteUpdateResponseSchema: z.ZodObject<{
1039
1206
  activation_event_id: z.ZodOptional<z.ZodString>;
1040
1207
  }, z.core.$strip>;
1041
1208
  export declare const runtimeHostnameIntentUpdateResponseSchema: z.ZodObject<{
1209
+ purge: z.ZodOptional<z.ZodObject<{
1210
+ status: z.ZodEnum<{
1211
+ failed: "failed";
1212
+ pending: "pending";
1213
+ ok: "ok";
1214
+ }>;
1215
+ mode: z.ZodEnum<{
1216
+ domain: "domain";
1217
+ urls: "urls";
1218
+ }>;
1219
+ urls: z.ZodOptional<z.ZodNumber>;
1220
+ }, z.core.$strip>>;
1042
1221
  space_id: z.ZodString;
1043
1222
  route_count: z.ZodNumber;
1044
1223
  }, z.core.$strip>;
@@ -1053,6 +1232,18 @@ export declare const runtimeTombstonesUpdateRequestSchema: z.ZodObject<{
1053
1232
  category: z.ZodOptional<z.ZodString>;
1054
1233
  }, z.core.$strip>;
1055
1234
  export declare const runtimeTombstonesUpdateResponseSchema: z.ZodObject<{
1235
+ purge: z.ZodOptional<z.ZodObject<{
1236
+ status: z.ZodEnum<{
1237
+ failed: "failed";
1238
+ pending: "pending";
1239
+ ok: "ok";
1240
+ }>;
1241
+ mode: z.ZodEnum<{
1242
+ domain: "domain";
1243
+ urls: "urls";
1244
+ }>;
1245
+ urls: z.ZodOptional<z.ZodNumber>;
1246
+ }, z.core.$strip>>;
1056
1247
  space_id: z.ZodString;
1057
1248
  tombstone_count: z.ZodNumber;
1058
1249
  }, z.core.$strip>;
@@ -1060,119 +1251,113 @@ export declare const runtimeRetentionPolicyUpdateRequestSchema: z.ZodObject<{
1060
1251
  prunable_version_ids: z.ZodArray<z.ZodString>;
1061
1252
  }, z.core.$strip>;
1062
1253
  export declare const runtimeRetentionPolicyUpdateResponseSchema: z.ZodObject<{
1254
+ purge: z.ZodOptional<z.ZodObject<{
1255
+ status: z.ZodEnum<{
1256
+ failed: "failed";
1257
+ pending: "pending";
1258
+ ok: "ok";
1259
+ }>;
1260
+ mode: z.ZodEnum<{
1261
+ domain: "domain";
1262
+ urls: "urls";
1263
+ }>;
1264
+ urls: z.ZodOptional<z.ZodNumber>;
1265
+ }, z.core.$strip>>;
1063
1266
  space_id: z.ZodString;
1064
1267
  prunable_count: z.ZodNumber;
1065
1268
  }, z.core.$strip>;
1066
1269
  export declare const runtimeSpaceDeleteResponseSchema: z.ZodObject<{
1270
+ purge: z.ZodOptional<z.ZodObject<{
1271
+ status: z.ZodEnum<{
1272
+ failed: "failed";
1273
+ pending: "pending";
1274
+ ok: "ok";
1275
+ }>;
1276
+ mode: z.ZodEnum<{
1277
+ domain: "domain";
1278
+ urls: "urls";
1279
+ }>;
1280
+ urls: z.ZodOptional<z.ZodNumber>;
1281
+ }, z.core.$strip>>;
1067
1282
  space_id: z.ZodString;
1068
1283
  status: z.ZodLiteral<"deleted">;
1069
1284
  }, z.core.$strip>;
1070
1285
  export declare const runtimeVersionDeleteResponseSchema: z.ZodObject<{
1286
+ purge: z.ZodOptional<z.ZodObject<{
1287
+ status: z.ZodEnum<{
1288
+ failed: "failed";
1289
+ pending: "pending";
1290
+ ok: "ok";
1291
+ }>;
1292
+ mode: z.ZodEnum<{
1293
+ domain: "domain";
1294
+ urls: "urls";
1295
+ }>;
1296
+ urls: z.ZodOptional<z.ZodNumber>;
1297
+ }, z.core.$strip>>;
1071
1298
  space_id: z.ZodString;
1072
1299
  version_id: z.ZodString;
1073
1300
  status: z.ZodLiteral<"deleted">;
1074
1301
  }, z.core.$strip>;
1075
1302
  export declare const runtimeSpaceRepairResponseSchema: z.ZodObject<{
1303
+ purge: z.ZodOptional<z.ZodObject<{
1304
+ status: z.ZodEnum<{
1305
+ failed: "failed";
1306
+ pending: "pending";
1307
+ ok: "ok";
1308
+ }>;
1309
+ mode: z.ZodEnum<{
1310
+ domain: "domain";
1311
+ urls: "urls";
1312
+ }>;
1313
+ urls: z.ZodOptional<z.ZodNumber>;
1314
+ }, z.core.$strip>>;
1076
1315
  space_id: z.ZodString;
1077
1316
  status: z.ZodLiteral<"repaired">;
1078
1317
  }, z.core.$strip>;
1079
- export declare const runtimeSpaceExportStartRequestSchema: z.ZodObject<{
1080
- version_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
1081
- include_files: z.ZodOptional<z.ZodBoolean>;
1082
- }, z.core.$strict>;
1083
- export declare const runtimeSpaceExportResponseSchema: z.ZodObject<{
1084
- type: z.ZodLiteral<"space_export">;
1085
- export_id: z.ZodString;
1086
- space_id: z.ZodString;
1087
- status: z.ZodEnum<{
1088
- running: "running";
1089
- pending: "pending";
1090
- waiting_for_archive: "waiting_for_archive";
1091
- complete: "complete";
1092
- }>;
1093
- cursor: z.ZodNumber;
1094
- processed_files: z.ZodNumber;
1095
- total_files: z.ZodNumber;
1318
+ export declare const runtimePinCreateRequestSchema: z.ZodUnion<readonly [z.ZodObject<{
1319
+ mode: z.ZodLiteral<"snapshot">;
1096
1320
  version_ids: z.ZodArray<z.ZodString>;
1097
- archive_size: z.ZodOptional<z.ZodNumber>;
1098
- archive_sha256: z.ZodOptional<z.ZodString>;
1099
- created_at: z.ZodString;
1100
- updated_at: z.ZodString;
1101
- completed_at: z.ZodOptional<z.ZodString>;
1102
- }, z.core.$strip>;
1103
- export declare const runtimeSpaceImportStartRequestSchema: z.ZodObject<{
1104
- version_id_map: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1105
- zero_mode: z.ZodOptional<z.ZodEnum<{
1106
- active: "active";
1107
- activating: "activating";
1108
- }>>;
1109
- }, z.core.$strict>;
1110
- export declare const runtimeSpaceImportMapRequestSchema: z.ZodObject<{
1111
- version_id_map: z.ZodRecord<z.ZodString, z.ZodString>;
1112
- zero_mode: z.ZodOptional<z.ZodEnum<{
1113
- active: "active";
1114
- activating: "activating";
1115
- }>>;
1116
- }, z.core.$strict>;
1117
- export declare const runtimeSpaceImportResponseSchema: z.ZodObject<{
1118
- type: z.ZodLiteral<"space_import">;
1119
- import_id: z.ZodString;
1321
+ include_uploads: z.ZodDefault<z.ZodBoolean>;
1322
+ ttl_seconds: z.ZodNumber;
1323
+ }, z.core.$strip>, z.ZodObject<{
1324
+ mode: z.ZodLiteral<"shas">;
1325
+ shas: z.ZodArray<z.ZodString>;
1326
+ ttl_seconds: z.ZodNumber;
1327
+ }, z.core.$strip>]>;
1328
+ export declare const runtimePinCreateResponseSchema: z.ZodObject<{
1120
1329
  space_id: z.ZodString;
1121
- status: z.ZodEnum<{
1122
- running: "running";
1123
- pending: "pending";
1124
- waiting_for_archive: "waiting_for_archive";
1125
- complete: "complete";
1126
- }>;
1127
- cursor: z.ZodNumber;
1128
- processed_files: z.ZodNumber;
1129
- total_files: z.ZodNumber;
1130
- version_ids: z.ZodArray<z.ZodString>;
1131
- created_at: z.ZodString;
1132
- updated_at: z.ZodString;
1133
- completed_at: z.ZodOptional<z.ZodString>;
1134
- }, z.core.$strip>;
1135
- export declare const runtimeTransferBundleSourceRequestSchema: z.ZodObject<{
1136
- space_id: z.ZodString;
1137
- version_ids: z.ZodArray<z.ZodString>;
1138
- cursor: z.ZodNullable<z.ZodString>;
1139
- include_serving_state: z.ZodOptional<z.ZodBoolean>;
1330
+ pin_id: z.ZodString;
1331
+ expires_at: z.ZodString;
1332
+ sha_count: z.ZodNumber;
1140
1333
  }, z.core.$strip>;
1141
- export declare const runtimeTransferBundleTargetRequestSchema: z.ZodObject<{
1334
+ export declare const runtimePinReleaseResponseSchema: z.ZodObject<{
1142
1335
  space_id: z.ZodString;
1143
- store: z.ZodLiteral<true>;
1144
- files: z.ZodArray<z.ZodObject<{
1145
- path: z.ZodString;
1146
- content_b64: z.ZodString;
1147
- }, z.core.$strip>>;
1148
- done: z.ZodBoolean;
1336
+ pin_id: z.ZodString;
1337
+ released: z.ZodBoolean;
1149
1338
  }, z.core.$strip>;
1150
- export declare const runtimeTransferBundleResponseSchema: z.ZodObject<{
1151
- chunk: z.ZodObject<{
1152
- files: z.ZodArray<z.ZodObject<{
1153
- path: z.ZodString;
1154
- content_b64: z.ZodString;
1155
- }, z.core.$strip>>;
1156
- }, z.core.$strip>;
1157
- next_cursor: z.ZodNullable<z.ZodString>;
1339
+ export declare const runtimeBlobsHaveRequestSchema: z.ZodObject<{
1340
+ shas: z.ZodArray<z.ZodString>;
1158
1341
  }, z.core.$strip>;
1159
- export declare const runtimeTransferBundleStoredResponseSchema: z.ZodObject<{
1160
- stored: z.ZodLiteral<true>;
1342
+ export declare const runtimeBlobsHaveResponseSchema: z.ZodObject<{
1343
+ missing: z.ZodArray<z.ZodString>;
1161
1344
  }, z.core.$strip>;
1162
- export declare const runtimeTransferCommitRequestSchema: z.ZodObject<{
1163
- space_id: z.ZodString;
1164
- version_ids: z.ZodArray<z.ZodString>;
1165
- live_version_id: z.ZodNullable<z.ZodString>;
1166
- install_serving_state: z.ZodOptional<z.ZodBoolean>;
1345
+ export declare const runtimeBlobPutResponseSchema: z.ZodObject<{
1346
+ sha256: z.ZodString;
1347
+ size: z.ZodNumber;
1348
+ stored: z.ZodBoolean;
1167
1349
  }, z.core.$strip>;
1168
- export declare const runtimeTransferCommitResponseSchema: z.ZodObject<{
1169
- installed: z.ZodLiteral<true>;
1350
+ export declare const runtimeZeroDbImportRequestSchema: z.ZodObject<{
1351
+ schema_hash: z.ZodString;
1352
+ table: z.ZodString;
1353
+ rows: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1354
+ done: z.ZodBoolean;
1170
1355
  }, z.core.$strip>;
1171
- export declare const runtimeTransferAbortRequestSchema: z.ZodObject<{
1356
+ export declare const runtimeZeroDbImportResponseSchema: z.ZodObject<{
1172
1357
  space_id: z.ZodString;
1173
- }, z.core.$strip>;
1174
- export declare const runtimeTransferAbortResponseSchema: z.ZodObject<{
1175
- aborted: z.ZodOptional<z.ZodBoolean>;
1358
+ version_id: z.ZodString;
1359
+ table: z.ZodString;
1360
+ imported: z.ZodNumber;
1176
1361
  }, z.core.$strip>;
1177
1362
  export declare const runtimeSpaceStateSchema: z.ZodObject<{
1178
1363
  space_id: z.ZodString;
@@ -1234,6 +1419,11 @@ export declare const runtimeCallbackEventSchema: z.ZodObject<{
1234
1419
  unmodeled: z.ZodString;
1235
1420
  }, z.core.$strip>>>;
1236
1421
  }, z.core.$loose>;
1422
+ export declare const runtimeJournalCursorSchema: z.ZodObject<{
1423
+ file: z.ZodString;
1424
+ offset: z.ZodNumber;
1425
+ inode: z.ZodOptional<z.ZodNumber>;
1426
+ }, z.core.$strict>;
1237
1427
  export declare const runtimeEventsDrainRequestSchema: z.ZodObject<{
1238
1428
  session_id: z.ZodString;
1239
1429
  page_id: z.ZodOptional<z.ZodString>;
@@ -1253,7 +1443,6 @@ export declare const runtimeEventsDrainResponseSchema: z.ZodObject<{
1253
1443
  events: z.ZodOptional<z.ZodArray<z.ZodObject<{
1254
1444
  delivery_id: z.ZodString;
1255
1445
  operation_id: z.ZodOptional<z.ZodString>;
1256
- callback_token: z.ZodString;
1257
1446
  event: z.ZodObject<{
1258
1447
  event: z.ZodString;
1259
1448
  event_id: z.ZodOptional<z.ZodString>;
@@ -1286,23 +1475,35 @@ export declare const runtimeEventsDrainResponseSchema: z.ZodObject<{
1286
1475
  }, z.core.$strip>>>;
1287
1476
  }, z.core.$loose>;
1288
1477
  }, z.core.$strip>>>;
1478
+ cursor: z.ZodOptional<z.ZodObject<{
1479
+ file: z.ZodString;
1480
+ offset: z.ZodNumber;
1481
+ inode: z.ZodOptional<z.ZodNumber>;
1482
+ }, z.core.$strict>>;
1289
1483
  }, z.core.$strip>;
1290
1484
  export declare const runtimeEventsAckRequestSchema: z.ZodObject<{
1291
- session_id: z.ZodString;
1292
- deliveries: z.ZodArray<z.ZodObject<{
1485
+ cursor: z.ZodOptional<z.ZodObject<{
1486
+ file: z.ZodString;
1487
+ offset: z.ZodNumber;
1488
+ inode: z.ZodOptional<z.ZodNumber>;
1489
+ }, z.core.$strict>>;
1490
+ session_id: z.ZodOptional<z.ZodString>;
1491
+ deliveries: z.ZodDefault<z.ZodArray<z.ZodObject<{
1293
1492
  event_id: z.ZodString;
1294
1493
  delivery_id: z.ZodString;
1295
- }, z.core.$strip>>;
1494
+ }, z.core.$strip>>>;
1296
1495
  }, z.core.$strip>;
1297
1496
  export declare const runtimeEventsAckResponseSchema: z.ZodObject<{
1298
1497
  acknowledged_count: z.ZodNumber;
1299
1498
  idempotent_count: z.ZodNumber;
1300
1499
  stale_count: z.ZodNumber;
1500
+ cursor: z.ZodOptional<z.ZodObject<{
1501
+ file: z.ZodString;
1502
+ offset: z.ZodNumber;
1503
+ inode: z.ZodOptional<z.ZodNumber>;
1504
+ }, z.core.$strict>>;
1301
1505
  }, z.core.$strip>;
1302
- export declare const runtimeEngineJobLaneSchema: z.ZodEnum<{
1303
- interactive: "interactive";
1304
- bulk: "bulk";
1305
- }>;
1506
+ export declare const runtimeEngineJobLaneSchema: z.ZodLiteral<"bulk">;
1306
1507
  export declare const runtimeEngineJobStatusSchema: z.ZodEnum<{
1307
1508
  failed: "failed";
1308
1509
  running: "running";
@@ -1316,10 +1517,7 @@ export declare const runtimeEngineJobErrorSchema: z.ZodObject<{
1316
1517
  export declare const runtimeEngineJobRecordSchema: z.ZodObject<{
1317
1518
  id: z.ZodString;
1318
1519
  type: z.ZodString;
1319
- lane: z.ZodEnum<{
1320
- interactive: "interactive";
1321
- bulk: "bulk";
1322
- }>;
1520
+ lane: z.ZodLiteral<"bulk">;
1323
1521
  space_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1324
1522
  operation_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1325
1523
  status: z.ZodEnum<{
@@ -1351,10 +1549,7 @@ export declare const runtimeEngineJobResponseSchema: z.ZodObject<{
1351
1549
  job: z.ZodObject<{
1352
1550
  id: z.ZodString;
1353
1551
  type: z.ZodString;
1354
- lane: z.ZodEnum<{
1355
- interactive: "interactive";
1356
- bulk: "bulk";
1357
- }>;
1552
+ lane: z.ZodLiteral<"bulk">;
1358
1553
  space_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1359
1554
  operation_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1360
1555
  status: z.ZodEnum<{
@@ -1379,17 +1574,11 @@ export declare const runtimeEngineJobResponseSchema: z.ZodObject<{
1379
1574
  }, z.core.$strip>;
1380
1575
  }, z.core.$strip>;
1381
1576
  export declare const runtimeEngineJobTickResponseSchema: z.ZodObject<{
1382
- lane: z.ZodEnum<{
1383
- interactive: "interactive";
1384
- bulk: "bulk";
1385
- }>;
1577
+ lane: z.ZodLiteral<"bulk">;
1386
1578
  job: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1387
1579
  id: z.ZodString;
1388
1580
  type: z.ZodString;
1389
- lane: z.ZodEnum<{
1390
- interactive: "interactive";
1391
- bulk: "bulk";
1392
- }>;
1581
+ lane: z.ZodLiteral<"bulk">;
1393
1582
  space_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1394
1583
  operation_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1395
1584
  status: z.ZodEnum<{
@@ -1415,29 +1604,34 @@ export declare const runtimeEngineJobTickResponseSchema: z.ZodObject<{
1415
1604
  drained: z.ZodOptional<z.ZodBoolean>;
1416
1605
  }, z.core.$strip>;
1417
1606
  export type RuntimeVersionCreateRequest = z.infer<typeof runtimeVersionCreateRequestSchema>;
1607
+ export type RuntimePurgeReceipt = z.infer<typeof runtimePurgeReceiptSchema>;
1608
+ export type RuntimeSpacePurgeRequest = z.infer<typeof runtimeSpacePurgeRequestSchema>;
1609
+ export type RuntimeSpacePurgeResponse = z.infer<typeof runtimeSpacePurgeResponseSchema>;
1610
+ export type RuntimeVersionFilesResponse = z.infer<typeof runtimeVersionFilesResponseSchema>;
1418
1611
  export type RuntimeVersionFinalizeRequest = z.infer<typeof runtimeVersionFinalizeRequestSchema>;
1612
+ export type RuntimeVersionFinalizeResponse = z.infer<typeof runtimeVersionFinalizeResponseSchema>;
1613
+ export type RuntimeCatalogDigests = z.infer<typeof runtimeCatalogDigestsSchema>;
1614
+ export type RuntimeCatalogDelta = z.infer<typeof runtimeCatalogDeltaSchema>;
1419
1615
  export type RuntimeReadinessTarget = z.infer<typeof runtimeReadinessTargetSchema>;
1420
1616
  export type RuntimeHostnameIntentUpdateRequest = z.infer<typeof runtimeHostnameIntentUpdateRequestSchema>;
1421
1617
  export type RuntimeRouteUpdateRequest = z.infer<typeof runtimeRouteUpdateRequestSchema>;
1422
1618
  export type RuntimeTombstonesUpdateRequest = z.infer<typeof runtimeTombstonesUpdateRequestSchema>;
1423
1619
  export type RuntimeRetentionPolicyUpdateRequest = z.infer<typeof runtimeRetentionPolicyUpdateRequestSchema>;
1424
1620
  export type RuntimeRetentionPolicyUpdateResponse = z.infer<typeof runtimeRetentionPolicyUpdateResponseSchema>;
1425
- export type RuntimeTransferBundleSourceRequest = z.infer<typeof runtimeTransferBundleSourceRequestSchema>;
1426
- export type RuntimeTransferBundleTargetRequest = z.infer<typeof runtimeTransferBundleTargetRequestSchema>;
1427
- export type RuntimeTransferBundleResponse = z.infer<typeof runtimeTransferBundleResponseSchema>;
1428
- export type RuntimeTransferBundleStoredResponse = z.infer<typeof runtimeTransferBundleStoredResponseSchema>;
1429
- export type RuntimeTransferCommitRequest = z.infer<typeof runtimeTransferCommitRequestSchema>;
1430
- export type RuntimeTransferCommitResponse = z.infer<typeof runtimeTransferCommitResponseSchema>;
1431
- export type RuntimeTransferAbortRequest = z.infer<typeof runtimeTransferAbortRequestSchema>;
1432
- export type RuntimeTransferAbortResponse = z.infer<typeof runtimeTransferAbortResponseSchema>;
1433
- export type RuntimeSpaceExportStartRequest = z.infer<typeof runtimeSpaceExportStartRequestSchema>;
1434
- export type RuntimeSpaceImportStartRequest = z.infer<typeof runtimeSpaceImportStartRequestSchema>;
1435
- export type RuntimeSpaceImportMapRequest = z.infer<typeof runtimeSpaceImportMapRequestSchema>;
1621
+ export type RuntimePinCreateRequest = z.infer<typeof runtimePinCreateRequestSchema>;
1622
+ export type RuntimePinCreateResponse = z.infer<typeof runtimePinCreateResponseSchema>;
1623
+ export type RuntimePinReleaseResponse = z.infer<typeof runtimePinReleaseResponseSchema>;
1624
+ export type RuntimeBlobsHaveRequest = z.infer<typeof runtimeBlobsHaveRequestSchema>;
1625
+ export type RuntimeBlobsHaveResponse = z.infer<typeof runtimeBlobsHaveResponseSchema>;
1626
+ export type RuntimeBlobPutResponse = z.infer<typeof runtimeBlobPutResponseSchema>;
1627
+ export type RuntimeZeroDbImportRequest = z.infer<typeof runtimeZeroDbImportRequestSchema>;
1628
+ export type RuntimeZeroDbImportResponse = z.infer<typeof runtimeZeroDbImportResponseSchema>;
1436
1629
  export type RuntimeSpaceState = z.infer<typeof runtimeSpaceStateSchema>;
1437
1630
  export type RuntimeCallbackEvent = z.infer<typeof runtimeCallbackEventSchema>;
1438
1631
  export type RuntimeEventsDrainRequest = z.infer<typeof runtimeEventsDrainRequestSchema>;
1439
1632
  export type RuntimeEventsDrainResponse = z.infer<typeof runtimeEventsDrainResponseSchema>;
1440
1633
  export type RuntimeDrainedEvent = NonNullable<RuntimeEventsDrainResponse["events"]>[number];
1634
+ export type RuntimeJournalCursor = z.infer<typeof runtimeJournalCursorSchema>;
1441
1635
  export type RuntimeEventsAckRequest = z.infer<typeof runtimeEventsAckRequestSchema>;
1442
1636
  export type RuntimeEventsAckResponse = z.infer<typeof runtimeEventsAckResponseSchema>;
1443
1637
  export type RuntimeEngineJobLane = z.infer<typeof runtimeEngineJobLaneSchema>;