@spacefast/common 0.2.2 → 0.4.1

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 (226) hide show
  1. package/dist/agents/marketplace-prompts.d.ts +1 -0
  2. package/dist/agents/marketplace-prompts.js +6 -0
  3. package/dist/agents/registry/core.d.ts +4 -12
  4. package/dist/agents/registry/core.js +7 -28
  5. package/dist/config/domains.d.ts +10 -8
  6. package/dist/config/domains.js +4 -7
  7. package/dist/contracts/access-core.d.ts +135 -0
  8. package/dist/contracts/access-core.js +242 -0
  9. package/dist/contracts/access-profiles.d.ts +8 -8
  10. package/dist/contracts/access-profiles.js +8 -8
  11. package/dist/contracts/access.d.ts +14 -103
  12. package/dist/contracts/access.js +10 -210
  13. package/dist/contracts/activity.d.ts +54 -55
  14. package/dist/contracts/activity.js +38 -9
  15. package/dist/contracts/api-keys.d.ts +69 -26
  16. package/dist/contracts/api-keys.js +29 -2
  17. package/dist/contracts/application-journal.d.ts +197 -4
  18. package/dist/contracts/application-journal.js +97 -16
  19. package/dist/contracts/auth.d.ts +20 -0
  20. package/dist/contracts/auth.js +18 -0
  21. package/dist/contracts/beta.d.ts +13 -0
  22. package/dist/contracts/beta.js +28 -0
  23. package/dist/contracts/billing.d.ts +2 -2
  24. package/dist/contracts/bootstrap.d.ts +23 -6
  25. package/dist/contracts/builds.d.ts +18 -4
  26. package/dist/contracts/builds.js +7 -4
  27. package/dist/contracts/channels.d.ts +43 -0
  28. package/dist/contracts/channels.js +22 -6
  29. package/dist/contracts/comments.d.ts +49 -0
  30. package/dist/contracts/comments.js +61 -2
  31. package/dist/contracts/commerce.d.ts +19 -13
  32. package/dist/contracts/connector-access.d.ts +28 -0
  33. package/dist/contracts/connector-access.js +31 -0
  34. package/dist/contracts/connectors.d.ts +2382 -0
  35. package/dist/contracts/connectors.js +941 -0
  36. package/dist/contracts/content-contract-verification.d.ts +112 -58
  37. package/dist/contracts/content-contract-verification.js +42 -54
  38. package/dist/contracts/content-model-emit.d.ts +97 -0
  39. package/dist/contracts/content-model-emit.js +306 -0
  40. package/dist/contracts/content-model-sdk.d.ts +101 -0
  41. package/dist/contracts/content-model-sdk.js +232 -0
  42. package/dist/contracts/{content-program.d.ts → content-model.d.ts} +338 -82
  43. package/dist/contracts/{content-program.js → content-model.js} +291 -63
  44. package/dist/contracts/content-platform-fixture.d.ts +380 -110
  45. package/dist/contracts/content-platform-fixture.js +8 -8
  46. package/dist/contracts/content-sync.d.ts +197 -74
  47. package/dist/contracts/content-sync.js +98 -37
  48. package/dist/contracts/content.d.ts +30 -422
  49. package/dist/contracts/content.js +34 -294
  50. package/dist/contracts/dashboard-prefs.d.ts +10 -3
  51. package/dist/contracts/dashboard-prefs.js +6 -3
  52. package/dist/contracts/data-location.d.ts +9 -0
  53. package/dist/contracts/data-location.js +7 -0
  54. package/dist/contracts/deployment-comparison.d.ts +67 -0
  55. package/dist/contracts/deployment-comparison.js +68 -0
  56. package/dist/contracts/device-auth.d.ts +55 -11
  57. package/dist/contracts/domains.d.ts +40 -16
  58. package/dist/contracts/domains.js +23 -0
  59. package/dist/contracts/enums.d.ts +1 -10
  60. package/dist/contracts/enums.js +0 -15
  61. package/dist/contracts/error-code-meta.d.ts +384 -20
  62. package/dist/contracts/error-code-meta.js +200 -5
  63. package/dist/contracts/error-codes.d.ts +17 -4
  64. package/dist/contracts/error-codes.js +108 -10
  65. package/dist/contracts/events.d.ts +5 -0
  66. package/dist/contracts/events.js +12 -3
  67. package/dist/contracts/execution.d.ts +5 -1
  68. package/dist/contracts/execution.js +4 -0
  69. package/dist/contracts/feature-lifecycle.d.ts +53 -20
  70. package/dist/contracts/feature-lifecycle.js +65 -23
  71. package/dist/contracts/features.d.ts +57 -31
  72. package/dist/contracts/features.js +0 -1
  73. package/dist/contracts/feedback.d.ts +124 -0
  74. package/dist/contracts/feedback.js +64 -0
  75. package/dist/contracts/fixtures/content-model-sdk-v1.generated.d.ts +129 -0
  76. package/dist/contracts/fixtures/content-model-sdk-v1.generated.js +48 -0
  77. package/dist/contracts/fixtures/content-platform-v1.json +101 -49
  78. package/dist/contracts/frame-session.d.ts +60 -10
  79. package/dist/contracts/frame-session.js +52 -12
  80. package/dist/contracts/functions.d.ts +28 -2
  81. package/dist/contracts/functions.js +25 -2
  82. package/dist/contracts/grant-copy.d.ts +2 -0
  83. package/dist/contracts/grant-copy.js +2 -0
  84. package/dist/contracts/grants-core.d.ts +95 -0
  85. package/dist/contracts/grants-core.js +435 -0
  86. package/dist/contracts/grants.d.ts +13 -84
  87. package/dist/contracts/grants.js +21 -369
  88. package/dist/contracts/ids-core.d.ts +11 -0
  89. package/dist/contracts/ids-core.js +14 -0
  90. package/dist/contracts/ids.d.ts +7 -4
  91. package/dist/contracts/ids.js +12 -4
  92. package/dist/contracts/internal.d.ts +18 -0
  93. package/dist/contracts/internal.js +19 -0
  94. package/dist/contracts/mcp.d.ts +8 -18
  95. package/dist/contracts/mcp.js +2 -23
  96. package/dist/contracts/notifications.d.ts +4 -1
  97. package/dist/contracts/notifications.js +1 -0
  98. package/dist/contracts/oauth-resources.d.ts +46 -9
  99. package/dist/contracts/oauth-resources.js +50 -1
  100. package/dist/contracts/oauth-scope-actions.d.ts +27 -3
  101. package/dist/contracts/oauth-scope-actions.js +18 -8
  102. package/dist/contracts/operations.d.ts +1 -1
  103. package/dist/contracts/partner-account.d.ts +629 -0
  104. package/dist/contracts/partner-account.js +18 -0
  105. package/dist/contracts/principal-assertion.d.ts +74 -1
  106. package/dist/contracts/principal-assertion.js +67 -3
  107. package/dist/contracts/publish-archive.d.ts +22 -1
  108. package/dist/contracts/push-new.d.ts +3 -3
  109. package/dist/contracts/push-new.js +1 -1
  110. package/dist/contracts/quotas.js +2 -1
  111. package/dist/contracts/repository-connections.d.ts +10 -6
  112. package/dist/contracts/repository-connections.js +15 -0
  113. package/dist/contracts/resources.d.ts +6 -5
  114. package/dist/contracts/resources.js +7 -0
  115. package/dist/contracts/route-inventory.d.ts +74 -19
  116. package/dist/contracts/route-inventory.js +20 -6
  117. package/dist/contracts/runtime-api.d.ts +415 -4
  118. package/dist/contracts/runtime-api.js +60 -15
  119. package/dist/contracts/runtime-app.d.ts +6 -1
  120. package/dist/contracts/runtime-components.d.ts +646 -18
  121. package/dist/contracts/runtime-components.js +304 -188
  122. package/dist/contracts/runtime-services.d.ts +15 -0
  123. package/dist/contracts/runtime-services.js +25 -0
  124. package/dist/contracts/runtime-storage.d.ts +32 -0
  125. package/dist/contracts/runtime-storage.js +37 -0
  126. package/dist/contracts/source-workspaces.d.ts +511 -0
  127. package/dist/contracts/source-workspaces.js +276 -0
  128. package/dist/contracts/space-config-spacefast.d.ts +394 -0
  129. package/dist/contracts/space-config-spacefast.js +70 -0
  130. package/dist/contracts/space-config.d.ts +177 -90
  131. package/dist/contracts/space-config.js +77 -92
  132. package/dist/contracts/spaces.d.ts +132 -24
  133. package/dist/contracts/spaces.js +77 -13
  134. package/dist/contracts/superadmin-connectors.d.ts +371 -0
  135. package/dist/contracts/superadmin-connectors.js +61 -0
  136. package/dist/contracts/superadmin-emails.d.ts +1 -1
  137. package/dist/contracts/superadmin-emails.js +1 -1
  138. package/dist/contracts/superadmin-entities.d.ts +105 -0
  139. package/dist/contracts/superadmin-entities.js +64 -0
  140. package/dist/contracts/superadmin-runtime.d.ts +35 -116
  141. package/dist/contracts/superadmin-runtime.js +13 -69
  142. package/dist/contracts/superadmin-search.d.ts +12 -14
  143. package/dist/contracts/superadmin-search.js +2 -2
  144. package/dist/contracts/superadmin-spaces.d.ts +15 -72
  145. package/dist/contracts/superadmin-spaces.js +2 -7
  146. package/dist/contracts/superadmin-teams.d.ts +12 -0
  147. package/dist/contracts/superadmin-teams.js +7 -1
  148. package/dist/contracts/superadmin-tenants.d.ts +44 -16
  149. package/dist/contracts/superadmin.d.ts +2 -2
  150. package/dist/contracts/tags.d.ts +12 -12
  151. package/dist/contracts/teams.d.ts +29 -1
  152. package/dist/contracts/teams.js +24 -2
  153. package/dist/contracts/tenants.d.ts +98 -0
  154. package/dist/contracts/tenants.js +20 -0
  155. package/dist/contracts/transfers.d.ts +92 -0
  156. package/dist/contracts/transfers.js +37 -0
  157. package/dist/contracts/usage.d.ts +9 -1
  158. package/dist/contracts/usage.js +2 -0
  159. package/dist/contracts/visual-review.d.ts +448 -0
  160. package/dist/contracts/visual-review.js +156 -0
  161. package/dist/contracts/wordpress-php-toolkit.json +9 -0
  162. package/dist/contracts/work-mode.d.ts +24 -0
  163. package/dist/contracts/work-mode.js +17 -0
  164. package/dist/contracts/wp-cli.d.ts +66 -0
  165. package/dist/contracts/wp-cli.js +68 -0
  166. package/dist/contracts/zero-catalog.d.ts +29 -0
  167. package/dist/contracts/zero-catalog.js +55 -0
  168. package/dist/contracts/zero-platform-abilities.generated.d.ts +31 -0
  169. package/dist/contracts/zero-platform-abilities.generated.js +373 -0
  170. package/dist/contracts/zero-spacefast.d.ts +444 -0
  171. package/dist/contracts/zero-spacefast.js +149 -0
  172. package/dist/contracts/zero-types.d.ts +47 -0
  173. package/dist/contracts/zero-types.js +263 -0
  174. package/dist/contracts/zero.d.ts +781 -14
  175. package/dist/contracts/zero.js +204 -10
  176. package/dist/dashboard-paths/index.d.ts +2 -2
  177. package/dist/dashboard-paths/route-reservations.generated.d.ts +2 -2
  178. package/dist/dashboard-paths/route-reservations.generated.js +5 -0
  179. package/dist/docs/agent-prose.d.ts +1 -1
  180. package/dist/docs/agent-prose.js +15 -18
  181. package/dist/docs/agent-setup.d.ts +1 -1
  182. package/dist/docs/agent-setup.js +5 -13
  183. package/dist/docs/catalog.d.ts +64 -28
  184. package/dist/docs/catalog.js +155 -28
  185. package/dist/docs/error-docs.d.ts +361 -17
  186. package/dist/docs/error-docs.js +365 -21
  187. package/dist/docs/reference-urls.js +1 -1
  188. package/dist/docs/skills.d.ts +84 -84
  189. package/dist/docs/skills.js +66 -47
  190. package/dist/docs/start-prompts.d.ts +14 -0
  191. package/dist/docs/start-prompts.js +20 -0
  192. package/dist/utils/account-labels.d.ts +7 -0
  193. package/dist/utils/account-labels.js +15 -0
  194. package/dist/utils/auth.d.ts +1 -0
  195. package/dist/utils/auth.js +1 -0
  196. package/dist/utils/credential-policy.d.ts +22 -1
  197. package/dist/utils/credential-policy.js +55 -6
  198. package/dist/utils/local-space-state.d.ts +7 -0
  199. package/dist/utils/local-space-state.js +7 -0
  200. package/dist/utils/logger.d.ts +34 -0
  201. package/dist/utils/logger.js +144 -0
  202. package/dist/utils/page-routes.d.ts +9 -0
  203. package/dist/utils/page-routes.js +82 -0
  204. package/dist/utils/pages.d.ts +2 -0
  205. package/dist/utils/pages.js +7 -0
  206. package/dist/utils/publish-form-data.d.ts +2 -0
  207. package/dist/utils/publish-form-data.js +2 -0
  208. package/dist/utils/publish-policy-spacefast.d.ts +13 -0
  209. package/dist/utils/publish-policy-spacefast.js +117 -0
  210. package/dist/utils/publish-policy.d.ts +22 -16
  211. package/dist/utils/publish-policy.fixtures.json +15 -0
  212. package/dist/utils/publish-policy.js +62 -139
  213. package/dist/utils/query-client.js +9 -1
  214. package/dist/utils/runtime-upload.d.ts +4 -0
  215. package/dist/utils/runtime-upload.js +5 -0
  216. package/dist/utils/space-config.d.ts +2 -3
  217. package/dist/utils/space-config.js +1 -1
  218. package/dist/utils/uploaded-source.d.ts +4 -0
  219. package/dist/utils/uploaded-source.js +12 -0
  220. package/dist/visual-review.d.ts +4 -0
  221. package/dist/visual-review.js +208 -0
  222. package/dist/vocabulary.d.ts +38 -0
  223. package/dist/vocabulary.js +55 -0
  224. package/package.json +7 -2
  225. package/dist/agents/registry/deeplink-probes.d.ts +0 -23
  226. package/dist/agents/registry/deeplink-probes.js +0 -18
@@ -304,6 +304,7 @@ export declare const runtimeAuthorizationProjectionSchema: z.ZodObject<{
304
304
  excludedCountries: z.ZodOptional<z.ZodArray<z.ZodString>>;
305
305
  excludedUserAgentSubstrings: z.ZodOptional<z.ZodArray<z.ZodString>>;
306
306
  }, z.core.$strict>>;
307
+ frameOrigin: z.ZodOptional<z.ZodString>;
307
308
  }, z.core.$strict>>;
308
309
  target: z.ZodDiscriminatedUnion<[z.ZodObject<{
309
310
  kind: z.ZodLiteral<"live">;
@@ -363,9 +364,9 @@ export declare const runtimeVersionFinalizeRequestSchema: z.ZodObject<{
363
364
  zero: z.ZodOptional<z.ZodObject<{
364
365
  auth: z.ZodDefault<z.ZodObject<{
365
366
  provider: z.ZodDefault<z.ZodLiteral<"gravatar">>;
366
- signInPath: z.ZodDefault<z.ZodNullable<z.ZodLiteral<"/__spacefast/zero/auth/gravatar/start">>>;
367
+ signInPath: z.ZodDefault<z.ZodNullable<z.ZodUnion<readonly [z.ZodLiteral<"/__zero/auth/start">, z.ZodLiteral<"/__spacefast/zero/auth/gravatar/start">]>>>;
367
368
  signInUrl: z.ZodDefault<z.ZodNullable<z.ZodString>>;
368
- signOutPath: z.ZodDefault<z.ZodNullable<z.ZodLiteral<"/__spacefast/zero/auth/sign-out">>>;
369
+ signOutPath: z.ZodDefault<z.ZodNullable<z.ZodUnion<readonly [z.ZodLiteral<"/__zero/auth/sign-out">, z.ZodLiteral<"/__spacefast/zero/auth/sign-out">]>>>;
369
370
  signOutUrl: z.ZodDefault<z.ZodNullable<z.ZodString>>;
370
371
  returnToParam: z.ZodDefault<z.ZodString>;
371
372
  }, z.core.$strict>>;
@@ -387,6 +388,31 @@ export declare const runtimeVersionFinalizeRequestSchema: z.ZodObject<{
387
388
  format: z.ZodLiteral<"stattic.zero.capsule.v1">;
388
389
  appName: z.ZodString;
389
390
  serverRuntime: z.ZodLiteral<"quickjs-rust">;
391
+ requiredRuntimeCapabilities: z.ZodOptional<z.ZodArray<z.core.$ZodBranded<z.ZodString, "RuntimeCapabilityId", "out">>>;
392
+ pages: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
393
+ render: z.ZodLiteral<"document">;
394
+ bindingId: z.ZodString;
395
+ id: z.ZodString;
396
+ path: z.ZodString;
397
+ file: z.ZodString;
398
+ params: z.ZodArray<z.ZodString>;
399
+ }, z.core.$strict>, z.ZodObject<{
400
+ render: z.ZodLiteral<"client">;
401
+ shell: z.ZodLiteral<"_spacefast/pages/client.html">;
402
+ id: z.ZodString;
403
+ path: z.ZodString;
404
+ file: z.ZodString;
405
+ params: z.ZodArray<z.ZodString>;
406
+ }, z.core.$strict>], "render">>>;
407
+ connectors: z.ZodDefault<z.ZodArray<z.ZodObject<{
408
+ role: z.ZodString;
409
+ as: z.ZodEnum<{
410
+ team: "team";
411
+ visitor: "visitor";
412
+ owner: "owner";
413
+ }>;
414
+ connector: z.ZodOptional<z.ZodString>;
415
+ }, z.core.$strip>>>;
390
416
  client: z.ZodObject<{
391
417
  bundlePath: z.ZodString;
392
418
  basePathAware: z.ZodDefault<z.ZodBoolean>;
@@ -413,8 +439,11 @@ export declare const runtimeVersionFinalizeRequestSchema: z.ZodObject<{
413
439
  }, z.core.$strict>>>;
414
440
  queries: z.ZodDefault<z.ZodArray<z.ZodString>>;
415
441
  mutations: z.ZodDefault<z.ZodArray<z.ZodString>>;
416
- actions: z.ZodDefault<z.ZodArray<z.ZodString>>;
417
442
  endpoints: z.ZodDefault<z.ZodArray<z.ZodObject<{
443
+ mode: z.ZodEnum<{
444
+ read: "read";
445
+ write: "write";
446
+ }>;
418
447
  method: z.ZodEnum<{
419
448
  POST: "POST";
420
449
  PUT: "PUT";
@@ -611,6 +640,9 @@ export declare const runtimeVersionFinalizeRequestSchema: z.ZodObject<{
611
640
  public: "public";
612
641
  }>>;
613
642
  }, z.core.$strict>>;
643
+ connectors: z.ZodOptional<z.ZodObject<{
644
+ token: z.ZodString;
645
+ }, z.core.$strip>>;
614
646
  variableValues: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
615
647
  databaseUrlSource: z.ZodDefault<z.ZodEnum<{
616
648
  provider: "provider";
@@ -662,6 +694,8 @@ export declare const runtimeVersionFinalizeRequestSchema: z.ZodObject<{
662
694
  spam: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
663
695
  email: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
664
696
  content: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
697
+ storage: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
698
+ connectors: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
665
699
  }, z.core.$strip>>;
666
700
  platform: z.ZodDefault<z.ZodObject<{
667
701
  nextCache: z.ZodDefault<z.ZodBoolean>;
@@ -676,6 +710,9 @@ export declare const runtimeVersionFinalizeRequestSchema: z.ZodObject<{
676
710
  bundleUrl: z.ZodString;
677
711
  seedUrl: z.ZodDefault<z.ZodNullable<z.ZodString>>;
678
712
  }, z.core.$strict>;
713
+ connectors: z.ZodOptional<z.ZodObject<{
714
+ token: z.ZodString;
715
+ }, z.core.$strict>>;
679
716
  grantedCapabilities: z.ZodDefault<z.ZodArray<z.ZodEnum<{
680
717
  fetch: "fetch";
681
718
  "storage.read": "storage.read";
@@ -687,6 +724,8 @@ export declare const runtimeVersionFinalizeRequestSchema: z.ZodObject<{
687
724
  "gravatar.profile": "gravatar.profile";
688
725
  "spam.check": "spam.check";
689
726
  "email.send": "email.send";
727
+ "connectors.call": "connectors.call";
728
+ "zero.call": "zero.call";
690
729
  }>>>;
691
730
  relay: z.ZodDefault<z.ZodNullable<z.ZodObject<{
692
731
  url: z.ZodString;
@@ -723,7 +762,9 @@ export declare const runtimeVersionFinalizeRequestSchema: z.ZodObject<{
723
762
  page_artifacts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
724
763
  serving: z.ZodOptional<z.ZodObject<{
725
764
  noindexHost: z.ZodOptional<z.ZodBoolean>;
765
+ theme_css: z.ZodOptional<z.ZodString>;
726
766
  config: z.ZodOptional<z.ZodObject<{
767
+ directory_index: z.ZodOptional<z.ZodString>;
727
768
  index: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<false>]>>;
728
769
  fallback: z.ZodOptional<z.ZodNullable<z.ZodObject<{
729
770
  path: z.ZodString;
@@ -763,7 +804,6 @@ export declare const runtimeVersionFinalizeRequestSchema: z.ZodObject<{
763
804
  }>, z.ZodString>>;
764
805
  collab: z.ZodOptional<z.ZodString>;
765
806
  }, z.core.$strip>>;
766
- experimental_gutenberg: z.ZodOptional<z.ZodBoolean>;
767
807
  platform_meta: z.ZodOptional<z.ZodBoolean>;
768
808
  inject: z.ZodOptional<z.ZodObject<{
769
809
  head: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -774,6 +814,10 @@ export declare const runtimeVersionFinalizeRequestSchema: z.ZodObject<{
774
814
  }, z.core.$strip>>;
775
815
  platform_csp_sources: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
776
816
  zero_endpoints: z.ZodOptional<z.ZodArray<z.ZodObject<{
817
+ execution_mode: z.ZodEnum<{
818
+ read: "read";
819
+ write: "write";
820
+ }>;
777
821
  method: z.ZodEnum<{
778
822
  POST: "POST";
779
823
  PUT: "PUT";
@@ -794,10 +838,19 @@ export declare const runtimeVersionFinalizeRequestSchema: z.ZodObject<{
794
838
  env: z.ZodOptional<z.ZodBoolean>;
795
839
  realtime: z.ZodOptional<z.ZodBoolean>;
796
840
  logging: z.ZodOptional<z.ZodBoolean>;
841
+ gravatar: z.ZodOptional<z.ZodBoolean>;
842
+ spam: z.ZodOptional<z.ZodBoolean>;
843
+ email: z.ZodOptional<z.ZodBoolean>;
844
+ content: z.ZodOptional<z.ZodBoolean>;
845
+ storage: z.ZodOptional<z.ZodBoolean>;
797
846
  }, z.core.$strip>>>;
798
847
  db: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
799
848
  }, z.core.$strip>>>;
800
849
  zero_runs: z.ZodOptional<z.ZodArray<z.ZodObject<{
850
+ execution_mode: z.ZodEnum<{
851
+ read: "read";
852
+ write: "write";
853
+ }>;
801
854
  run_id: z.ZodString;
802
855
  source: z.ZodString;
803
856
  schema_hash: z.ZodOptional<z.ZodString>;
@@ -808,6 +861,11 @@ export declare const runtimeVersionFinalizeRequestSchema: z.ZodObject<{
808
861
  env: z.ZodOptional<z.ZodBoolean>;
809
862
  realtime: z.ZodOptional<z.ZodBoolean>;
810
863
  logging: z.ZodOptional<z.ZodBoolean>;
864
+ gravatar: z.ZodOptional<z.ZodBoolean>;
865
+ spam: z.ZodOptional<z.ZodBoolean>;
866
+ email: z.ZodOptional<z.ZodBoolean>;
867
+ content: z.ZodOptional<z.ZodBoolean>;
868
+ storage: z.ZodOptional<z.ZodBoolean>;
811
869
  }, z.core.$strip>>>;
812
870
  db: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
813
871
  }, z.core.$strip>>>;
@@ -892,6 +950,7 @@ export declare const runtimeVersionFinalizeRequestSchema: z.ZodObject<{
892
950
  excludedCountries: z.ZodOptional<z.ZodArray<z.ZodString>>;
893
951
  excludedUserAgentSubstrings: z.ZodOptional<z.ZodArray<z.ZodString>>;
894
952
  }, z.core.$strict>>;
953
+ frameOrigin: z.ZodOptional<z.ZodString>;
895
954
  }, z.core.$strict>>;
896
955
  target: z.ZodDiscriminatedUnion<[z.ZodObject<{
897
956
  kind: z.ZodLiteral<"live">;
@@ -1018,6 +1077,7 @@ export declare const runtimeRouteInventorySchema: z.ZodObject<{
1018
1077
  routes: z.ZodArray<z.ZodObject<{
1019
1078
  id: z.ZodString;
1020
1079
  kind: z.ZodEnum<{
1080
+ page: "page";
1021
1081
  proxy: "proxy";
1022
1082
  functions: "functions";
1023
1083
  redirect: "redirect";
@@ -1112,6 +1172,7 @@ export declare const runtimeVersionFinalizeResponseSchema: z.ZodObject<{
1112
1172
  routes: z.ZodArray<z.ZodObject<{
1113
1173
  id: z.ZodString;
1114
1174
  kind: z.ZodEnum<{
1175
+ page: "page";
1115
1176
  proxy: "proxy";
1116
1177
  functions: "functions";
1117
1178
  redirect: "redirect";
@@ -1264,6 +1325,7 @@ export declare const runtimeRouteUpdateRequestSchema: z.ZodObject<{
1264
1325
  excludedCountries: z.ZodOptional<z.ZodArray<z.ZodString>>;
1265
1326
  excludedUserAgentSubstrings: z.ZodOptional<z.ZodArray<z.ZodString>>;
1266
1327
  }, z.core.$strict>>;
1328
+ frameOrigin: z.ZodOptional<z.ZodString>;
1267
1329
  }, z.core.$strict>>;
1268
1330
  target: z.ZodDiscriminatedUnion<[z.ZodObject<{
1269
1331
  kind: z.ZodLiteral<"live">;
@@ -1645,6 +1707,349 @@ export declare const runtimeEventsAckResponseSchema: z.ZodObject<{
1645
1707
  inode: z.ZodOptional<z.ZodNumber>;
1646
1708
  }, z.core.$strict>>;
1647
1709
  }, z.core.$strip>;
1710
+ export declare const runtimeApplicationJournalDrainRequestSchema: z.ZodObject<{
1711
+ sink: z.ZodString;
1712
+ limit: z.ZodOptional<z.ZodNumber>;
1713
+ lease_seconds: z.ZodOptional<z.ZodNumber>;
1714
+ }, z.core.$strict>;
1715
+ export declare const runtimeApplicationJournalDrainResponseSchema: z.ZodObject<{
1716
+ claims: z.ZodArray<z.ZodObject<{
1717
+ entry: z.ZodDiscriminatedUnion<[z.ZodObject<{
1718
+ kind: z.ZodLiteral<"application-event">;
1719
+ payload: z.ZodObject<{
1720
+ name: z.ZodString;
1721
+ body: z.ZodJSONSchema;
1722
+ }, z.core.$strict>;
1723
+ format: z.ZodLiteral<"spacefast.application-journal">;
1724
+ version: z.ZodLiteral<1>;
1725
+ id: z.core.$ZodBranded<z.ZodString, "ApplicationJournalEntryId", "out">;
1726
+ spaceId: z.ZodTemplateLiteral<`spc_${string}`>;
1727
+ operationId: z.ZodTemplateLiteral<`op_${string}`>;
1728
+ effectOrdinal: z.ZodNumber;
1729
+ store: z.ZodEnum<{
1730
+ wordpress: "wordpress";
1731
+ lakebed: "lakebed";
1732
+ }>;
1733
+ payloadDigest: z.core.$ZodBranded<z.ZodString, "ContentModelSha256", "out">;
1734
+ createdAt: z.ZodString;
1735
+ }, z.core.$strict>, z.ZodObject<{
1736
+ kind: z.ZodLiteral<"mail">;
1737
+ payload: z.ZodObject<{
1738
+ messageId: z.ZodString;
1739
+ from: z.ZodObject<{
1740
+ email: z.ZodString;
1741
+ name: z.ZodOptional<z.ZodString>;
1742
+ }, z.core.$strict>;
1743
+ to: z.ZodArray<z.ZodObject<{
1744
+ email: z.ZodString;
1745
+ name: z.ZodOptional<z.ZodString>;
1746
+ }, z.core.$strict>>;
1747
+ cc: z.ZodOptional<z.ZodArray<z.ZodObject<{
1748
+ email: z.ZodString;
1749
+ name: z.ZodOptional<z.ZodString>;
1750
+ }, z.core.$strict>>>;
1751
+ bcc: z.ZodOptional<z.ZodArray<z.ZodObject<{
1752
+ email: z.ZodString;
1753
+ name: z.ZodOptional<z.ZodString>;
1754
+ }, z.core.$strict>>>;
1755
+ subject: z.ZodString;
1756
+ body: z.ZodDiscriminatedUnion<[z.ZodObject<{
1757
+ kind: z.ZodLiteral<"text">;
1758
+ text: z.ZodString;
1759
+ }, z.core.$strict>, z.ZodObject<{
1760
+ kind: z.ZodLiteral<"html">;
1761
+ html: z.ZodString;
1762
+ }, z.core.$strict>, z.ZodObject<{
1763
+ kind: z.ZodLiteral<"multipart">;
1764
+ text: z.ZodString;
1765
+ html: z.ZodString;
1766
+ }, z.core.$strict>], "kind">;
1767
+ replyTo: z.ZodOptional<z.ZodObject<{
1768
+ email: z.ZodString;
1769
+ name: z.ZodOptional<z.ZodString>;
1770
+ }, z.core.$strict>>;
1771
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1772
+ }, z.core.$strict>;
1773
+ format: z.ZodLiteral<"spacefast.application-journal">;
1774
+ version: z.ZodLiteral<1>;
1775
+ id: z.core.$ZodBranded<z.ZodString, "ApplicationJournalEntryId", "out">;
1776
+ spaceId: z.ZodTemplateLiteral<`spc_${string}`>;
1777
+ operationId: z.ZodTemplateLiteral<`op_${string}`>;
1778
+ effectOrdinal: z.ZodNumber;
1779
+ store: z.ZodEnum<{
1780
+ wordpress: "wordpress";
1781
+ lakebed: "lakebed";
1782
+ }>;
1783
+ payloadDigest: z.core.$ZodBranded<z.ZodString, "ContentModelSha256", "out">;
1784
+ createdAt: z.ZodString;
1785
+ }, z.core.$strict>, z.ZodObject<{
1786
+ kind: z.ZodLiteral<"content-source-changed">;
1787
+ payload: z.ZodObject<{
1788
+ bindingId: z.core.$ZodBranded<z.ZodString, "ContentSyncBindingId", "out">;
1789
+ source: z.ZodString;
1790
+ postId: z.ZodNumber;
1791
+ wordpressRevisionId: z.ZodNumber;
1792
+ baseRevision: z.core.$ZodBranded<z.ZodString, "ContentModelSha256", "out">;
1793
+ author: z.ZodObject<{
1794
+ name: z.ZodString;
1795
+ email: z.ZodString;
1796
+ }, z.core.$strict>;
1797
+ }, z.core.$strict>;
1798
+ format: z.ZodLiteral<"spacefast.application-journal">;
1799
+ version: z.ZodLiteral<1>;
1800
+ id: z.core.$ZodBranded<z.ZodString, "ApplicationJournalEntryId", "out">;
1801
+ spaceId: z.ZodTemplateLiteral<`spc_${string}`>;
1802
+ operationId: z.ZodTemplateLiteral<`op_${string}`>;
1803
+ effectOrdinal: z.ZodNumber;
1804
+ store: z.ZodEnum<{
1805
+ wordpress: "wordpress";
1806
+ lakebed: "lakebed";
1807
+ }>;
1808
+ payloadDigest: z.core.$ZodBranded<z.ZodString, "ContentModelSha256", "out">;
1809
+ createdAt: z.ZodString;
1810
+ }, z.core.$strict>, z.ZodObject<{
1811
+ kind: z.ZodLiteral<"content-source-materialized">;
1812
+ payload: z.ZodObject<{
1813
+ resourceId: z.core.$ZodBranded<z.ZodString, "ContentResourceId", "out">;
1814
+ postId: z.ZodNumber;
1815
+ wordpressRevisionId: z.ZodNumber;
1816
+ author: z.ZodObject<{
1817
+ name: z.ZodString;
1818
+ email: z.ZodString;
1819
+ }, z.core.$strict>;
1820
+ }, z.core.$strict>;
1821
+ format: z.ZodLiteral<"spacefast.application-journal">;
1822
+ version: z.ZodLiteral<1>;
1823
+ id: z.core.$ZodBranded<z.ZodString, "ApplicationJournalEntryId", "out">;
1824
+ spaceId: z.ZodTemplateLiteral<`spc_${string}`>;
1825
+ operationId: z.ZodTemplateLiteral<`op_${string}`>;
1826
+ effectOrdinal: z.ZodNumber;
1827
+ store: z.ZodEnum<{
1828
+ wordpress: "wordpress";
1829
+ lakebed: "lakebed";
1830
+ }>;
1831
+ payloadDigest: z.core.$ZodBranded<z.ZodString, "ContentModelSha256", "out">;
1832
+ createdAt: z.ZodString;
1833
+ }, z.core.$strict>], "kind">;
1834
+ fence: z.ZodObject<{
1835
+ entryId: z.core.$ZodBranded<z.ZodString, "ApplicationJournalEntryId", "out">;
1836
+ sink: z.ZodString;
1837
+ attempt: z.ZodNumber;
1838
+ leaseId: z.ZodString;
1839
+ leaseExpiresAt: z.ZodString;
1840
+ }, z.core.$strict>;
1841
+ idempotencyKey: z.ZodString;
1842
+ }, z.core.$strict>>;
1843
+ }, z.core.$strict>;
1844
+ export declare const runtimeApplicationJournalCompleteRequestSchema: z.ZodObject<{
1845
+ receipts: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1846
+ status: z.ZodLiteral<"delivered">;
1847
+ downstreamReceipt: z.ZodString;
1848
+ format: z.ZodLiteral<"spacefast.application-delivery">;
1849
+ version: z.ZodLiteral<1>;
1850
+ fence: z.ZodObject<{
1851
+ entryId: z.core.$ZodBranded<z.ZodString, "ApplicationJournalEntryId", "out">;
1852
+ sink: z.ZodString;
1853
+ attempt: z.ZodNumber;
1854
+ leaseId: z.ZodString;
1855
+ leaseExpiresAt: z.ZodString;
1856
+ }, z.core.$strict>;
1857
+ idempotencyKey: z.ZodString;
1858
+ recordedAt: z.ZodString;
1859
+ }, z.core.$strict>, z.ZodObject<{
1860
+ status: z.ZodLiteral<"retry">;
1861
+ problem: z.ZodObject<{
1862
+ code: z.ZodString;
1863
+ detail: z.ZodString;
1864
+ retryable: z.ZodLiteral<true>;
1865
+ }, z.core.$strict>;
1866
+ retryAt: z.ZodString;
1867
+ format: z.ZodLiteral<"spacefast.application-delivery">;
1868
+ version: z.ZodLiteral<1>;
1869
+ fence: z.ZodObject<{
1870
+ entryId: z.core.$ZodBranded<z.ZodString, "ApplicationJournalEntryId", "out">;
1871
+ sink: z.ZodString;
1872
+ attempt: z.ZodNumber;
1873
+ leaseId: z.ZodString;
1874
+ leaseExpiresAt: z.ZodString;
1875
+ }, z.core.$strict>;
1876
+ idempotencyKey: z.ZodString;
1877
+ recordedAt: z.ZodString;
1878
+ }, z.core.$strict>, z.ZodObject<{
1879
+ status: z.ZodLiteral<"dead-letter">;
1880
+ problem: z.ZodObject<{
1881
+ code: z.ZodString;
1882
+ detail: z.ZodString;
1883
+ retryable: z.ZodLiteral<false>;
1884
+ }, z.core.$strict>;
1885
+ format: z.ZodLiteral<"spacefast.application-delivery">;
1886
+ version: z.ZodLiteral<1>;
1887
+ fence: z.ZodObject<{
1888
+ entryId: z.core.$ZodBranded<z.ZodString, "ApplicationJournalEntryId", "out">;
1889
+ sink: z.ZodString;
1890
+ attempt: z.ZodNumber;
1891
+ leaseId: z.ZodString;
1892
+ leaseExpiresAt: z.ZodString;
1893
+ }, z.core.$strict>;
1894
+ idempotencyKey: z.ZodString;
1895
+ recordedAt: z.ZodString;
1896
+ }, z.core.$strict>, z.ZodObject<{
1897
+ status: z.ZodLiteral<"ambiguous">;
1898
+ problem: z.ZodObject<{
1899
+ code: z.ZodString;
1900
+ detail: z.ZodString;
1901
+ retryable: z.ZodLiteral<false>;
1902
+ }, z.core.$strict>;
1903
+ operatorActionRequired: z.ZodLiteral<true>;
1904
+ format: z.ZodLiteral<"spacefast.application-delivery">;
1905
+ version: z.ZodLiteral<1>;
1906
+ fence: z.ZodObject<{
1907
+ entryId: z.core.$ZodBranded<z.ZodString, "ApplicationJournalEntryId", "out">;
1908
+ sink: z.ZodString;
1909
+ attempt: z.ZodNumber;
1910
+ leaseId: z.ZodString;
1911
+ leaseExpiresAt: z.ZodString;
1912
+ }, z.core.$strict>;
1913
+ idempotencyKey: z.ZodString;
1914
+ recordedAt: z.ZodString;
1915
+ }, z.core.$strict>], "status">>;
1916
+ }, z.core.$strict>;
1917
+ export declare const runtimeApplicationJournalCompleteResponseSchema: z.ZodObject<{
1918
+ recorded: z.ZodNumber;
1919
+ stale: z.ZodNumber;
1920
+ }, z.core.$strict>;
1921
+ export declare const runtimeApplicationJournalMailRequestSchema: z.ZodObject<{
1922
+ claim: z.ZodObject<{
1923
+ entry: z.ZodDiscriminatedUnion<[z.ZodObject<{
1924
+ kind: z.ZodLiteral<"application-event">;
1925
+ payload: z.ZodObject<{
1926
+ name: z.ZodString;
1927
+ body: z.ZodJSONSchema;
1928
+ }, z.core.$strict>;
1929
+ format: z.ZodLiteral<"spacefast.application-journal">;
1930
+ version: z.ZodLiteral<1>;
1931
+ id: z.core.$ZodBranded<z.ZodString, "ApplicationJournalEntryId", "out">;
1932
+ spaceId: z.ZodTemplateLiteral<`spc_${string}`>;
1933
+ operationId: z.ZodTemplateLiteral<`op_${string}`>;
1934
+ effectOrdinal: z.ZodNumber;
1935
+ store: z.ZodEnum<{
1936
+ wordpress: "wordpress";
1937
+ lakebed: "lakebed";
1938
+ }>;
1939
+ payloadDigest: z.core.$ZodBranded<z.ZodString, "ContentModelSha256", "out">;
1940
+ createdAt: z.ZodString;
1941
+ }, z.core.$strict>, z.ZodObject<{
1942
+ kind: z.ZodLiteral<"mail">;
1943
+ payload: z.ZodObject<{
1944
+ messageId: z.ZodString;
1945
+ from: z.ZodObject<{
1946
+ email: z.ZodString;
1947
+ name: z.ZodOptional<z.ZodString>;
1948
+ }, z.core.$strict>;
1949
+ to: z.ZodArray<z.ZodObject<{
1950
+ email: z.ZodString;
1951
+ name: z.ZodOptional<z.ZodString>;
1952
+ }, z.core.$strict>>;
1953
+ cc: z.ZodOptional<z.ZodArray<z.ZodObject<{
1954
+ email: z.ZodString;
1955
+ name: z.ZodOptional<z.ZodString>;
1956
+ }, z.core.$strict>>>;
1957
+ bcc: z.ZodOptional<z.ZodArray<z.ZodObject<{
1958
+ email: z.ZodString;
1959
+ name: z.ZodOptional<z.ZodString>;
1960
+ }, z.core.$strict>>>;
1961
+ subject: z.ZodString;
1962
+ body: z.ZodDiscriminatedUnion<[z.ZodObject<{
1963
+ kind: z.ZodLiteral<"text">;
1964
+ text: z.ZodString;
1965
+ }, z.core.$strict>, z.ZodObject<{
1966
+ kind: z.ZodLiteral<"html">;
1967
+ html: z.ZodString;
1968
+ }, z.core.$strict>, z.ZodObject<{
1969
+ kind: z.ZodLiteral<"multipart">;
1970
+ text: z.ZodString;
1971
+ html: z.ZodString;
1972
+ }, z.core.$strict>], "kind">;
1973
+ replyTo: z.ZodOptional<z.ZodObject<{
1974
+ email: z.ZodString;
1975
+ name: z.ZodOptional<z.ZodString>;
1976
+ }, z.core.$strict>>;
1977
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1978
+ }, z.core.$strict>;
1979
+ format: z.ZodLiteral<"spacefast.application-journal">;
1980
+ version: z.ZodLiteral<1>;
1981
+ id: z.core.$ZodBranded<z.ZodString, "ApplicationJournalEntryId", "out">;
1982
+ spaceId: z.ZodTemplateLiteral<`spc_${string}`>;
1983
+ operationId: z.ZodTemplateLiteral<`op_${string}`>;
1984
+ effectOrdinal: z.ZodNumber;
1985
+ store: z.ZodEnum<{
1986
+ wordpress: "wordpress";
1987
+ lakebed: "lakebed";
1988
+ }>;
1989
+ payloadDigest: z.core.$ZodBranded<z.ZodString, "ContentModelSha256", "out">;
1990
+ createdAt: z.ZodString;
1991
+ }, z.core.$strict>, z.ZodObject<{
1992
+ kind: z.ZodLiteral<"content-source-changed">;
1993
+ payload: z.ZodObject<{
1994
+ bindingId: z.core.$ZodBranded<z.ZodString, "ContentSyncBindingId", "out">;
1995
+ source: z.ZodString;
1996
+ postId: z.ZodNumber;
1997
+ wordpressRevisionId: z.ZodNumber;
1998
+ baseRevision: z.core.$ZodBranded<z.ZodString, "ContentModelSha256", "out">;
1999
+ author: z.ZodObject<{
2000
+ name: z.ZodString;
2001
+ email: z.ZodString;
2002
+ }, z.core.$strict>;
2003
+ }, z.core.$strict>;
2004
+ format: z.ZodLiteral<"spacefast.application-journal">;
2005
+ version: z.ZodLiteral<1>;
2006
+ id: z.core.$ZodBranded<z.ZodString, "ApplicationJournalEntryId", "out">;
2007
+ spaceId: z.ZodTemplateLiteral<`spc_${string}`>;
2008
+ operationId: z.ZodTemplateLiteral<`op_${string}`>;
2009
+ effectOrdinal: z.ZodNumber;
2010
+ store: z.ZodEnum<{
2011
+ wordpress: "wordpress";
2012
+ lakebed: "lakebed";
2013
+ }>;
2014
+ payloadDigest: z.core.$ZodBranded<z.ZodString, "ContentModelSha256", "out">;
2015
+ createdAt: z.ZodString;
2016
+ }, z.core.$strict>, z.ZodObject<{
2017
+ kind: z.ZodLiteral<"content-source-materialized">;
2018
+ payload: z.ZodObject<{
2019
+ resourceId: z.core.$ZodBranded<z.ZodString, "ContentResourceId", "out">;
2020
+ postId: z.ZodNumber;
2021
+ wordpressRevisionId: z.ZodNumber;
2022
+ author: z.ZodObject<{
2023
+ name: z.ZodString;
2024
+ email: z.ZodString;
2025
+ }, z.core.$strict>;
2026
+ }, z.core.$strict>;
2027
+ format: z.ZodLiteral<"spacefast.application-journal">;
2028
+ version: z.ZodLiteral<1>;
2029
+ id: z.core.$ZodBranded<z.ZodString, "ApplicationJournalEntryId", "out">;
2030
+ spaceId: z.ZodTemplateLiteral<`spc_${string}`>;
2031
+ operationId: z.ZodTemplateLiteral<`op_${string}`>;
2032
+ effectOrdinal: z.ZodNumber;
2033
+ store: z.ZodEnum<{
2034
+ wordpress: "wordpress";
2035
+ lakebed: "lakebed";
2036
+ }>;
2037
+ payloadDigest: z.core.$ZodBranded<z.ZodString, "ContentModelSha256", "out">;
2038
+ createdAt: z.ZodString;
2039
+ }, z.core.$strict>], "kind">;
2040
+ fence: z.ZodObject<{
2041
+ entryId: z.core.$ZodBranded<z.ZodString, "ApplicationJournalEntryId", "out">;
2042
+ sink: z.ZodString;
2043
+ attempt: z.ZodNumber;
2044
+ leaseId: z.ZodString;
2045
+ leaseExpiresAt: z.ZodString;
2046
+ }, z.core.$strict>;
2047
+ idempotencyKey: z.ZodString;
2048
+ }, z.core.$strict>;
2049
+ }, z.core.$strict>;
2050
+ export declare const runtimeApplicationJournalMailResponseSchema: z.ZodObject<{
2051
+ message_id: z.ZodString;
2052
+ }, z.core.$strict>;
1648
2053
  export declare const runtimeEngineJobLaneSchema: z.ZodLiteral<"bulk">;
1649
2054
  export declare const runtimeEngineJobStatusSchema: z.ZodEnum<{
1650
2055
  failed: "failed";
@@ -1761,6 +2166,12 @@ export type RuntimeDrainedEvent = NonNullable<RuntimeEventsDrainResponse["events
1761
2166
  export type RuntimeJournalCursor = z.infer<typeof runtimeJournalCursorSchema>;
1762
2167
  export type RuntimeEventsAckRequest = z.infer<typeof runtimeEventsAckRequestSchema>;
1763
2168
  export type RuntimeEventsAckResponse = z.infer<typeof runtimeEventsAckResponseSchema>;
2169
+ export type RuntimeApplicationJournalDrainRequest = z.infer<typeof runtimeApplicationJournalDrainRequestSchema>;
2170
+ export type RuntimeApplicationJournalDrainResponse = z.infer<typeof runtimeApplicationJournalDrainResponseSchema>;
2171
+ export type RuntimeApplicationJournalCompleteRequest = z.infer<typeof runtimeApplicationJournalCompleteRequestSchema>;
2172
+ export type RuntimeApplicationJournalCompleteResponse = z.infer<typeof runtimeApplicationJournalCompleteResponseSchema>;
2173
+ export type RuntimeApplicationJournalMailRequest = z.infer<typeof runtimeApplicationJournalMailRequestSchema>;
2174
+ export type RuntimeApplicationJournalMailResponse = z.infer<typeof runtimeApplicationJournalMailResponseSchema>;
1764
2175
  export type RuntimeEngineJobLane = z.infer<typeof runtimeEngineJobLaneSchema>;
1765
2176
  export type RuntimeEngineJobRecord = z.infer<typeof runtimeEngineJobRecordSchema>;
1766
2177
  export type RuntimeEngineJobCreateRequest = z.infer<typeof runtimeEngineJobCreateRequestSchema>;