@spacefast/common 0.0.24 → 0.2.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 (320) hide show
  1. package/brand-assets/LICENSE-Haskoy.txt +93 -0
  2. package/brand-assets/haskoy-latin-variable.woff2 +0 -0
  3. package/brand-assets/spacefast-favicon.svg +4 -4
  4. package/brand-assets/spacefast-sf-full-bleed.svg +3 -3
  5. package/brand-assets/spacefast-wordmark.svg +2 -4
  6. package/dist/agents/connect-targets.d.ts +6 -146
  7. package/dist/agents/connect-targets.js +63 -295
  8. package/dist/agents/private-key-oauth.d.ts +31 -2
  9. package/dist/agents/private-key-oauth.js +166 -92
  10. package/dist/agents/registry/core.d.ts +292 -0
  11. package/dist/agents/registry/core.js +1388 -0
  12. package/dist/agents/registry/deeplink-probes.d.ts +23 -0
  13. package/dist/agents/registry/deeplink-probes.js +18 -0
  14. package/dist/agents/registry/node.d.ts +56 -0
  15. package/dist/agents/registry/node.js +339 -0
  16. package/dist/brand-assets-build.js +3 -6
  17. package/dist/brand-assets.d.ts +5 -15
  18. package/dist/brand-assets.js +12 -14
  19. package/dist/brand.d.ts +17 -0
  20. package/dist/brand.js +24 -4
  21. package/dist/config/domains.d.ts +79 -12
  22. package/dist/config/domains.js +128 -29
  23. package/dist/config/index.js +1 -2
  24. package/dist/contracts/abuse.js +9 -24
  25. package/dist/contracts/access-profiles.d.ts +86 -0
  26. package/dist/contracts/access-profiles.js +89 -0
  27. package/dist/contracts/access.d.ts +24 -30
  28. package/dist/contracts/access.js +33 -64
  29. package/dist/contracts/activity.d.ts +18 -1
  30. package/dist/contracts/activity.js +72 -26
  31. package/dist/contracts/analytics.js +8 -10
  32. package/dist/contracts/api-keys.d.ts +77 -52
  33. package/dist/contracts/api-keys.js +44 -24
  34. package/dist/contracts/application-journal.d.ts +216 -0
  35. package/dist/contracts/application-journal.js +167 -0
  36. package/dist/contracts/auth.d.ts +90 -17
  37. package/dist/contracts/auth.js +86 -17
  38. package/dist/contracts/beta.d.ts +9 -4
  39. package/dist/contracts/beta.js +20 -16
  40. package/dist/contracts/billing.d.ts +2 -1
  41. package/dist/contracts/billing.js +37 -11
  42. package/dist/contracts/bootstrap.d.ts +791 -0
  43. package/dist/contracts/bootstrap.js +51 -0
  44. package/dist/contracts/builds.d.ts +209 -18
  45. package/dist/contracts/builds.js +93 -27
  46. package/dist/contracts/channels.d.ts +43 -0
  47. package/dist/contracts/channels.js +25 -9
  48. package/dist/contracts/cli.d.ts +7 -0
  49. package/dist/contracts/cli.js +6 -0
  50. package/dist/contracts/collab-public.d.ts +1 -1
  51. package/dist/contracts/collab-public.js +5 -8
  52. package/dist/contracts/comments.d.ts +44 -34
  53. package/dist/contracts/comments.js +107 -77
  54. package/dist/contracts/commerce.d.ts +165 -0
  55. package/dist/contracts/commerce.js +146 -0
  56. package/dist/contracts/common.d.ts +3 -3
  57. package/dist/contracts/common.js +20 -31
  58. package/dist/contracts/content-contract-verification.d.ts +521 -0
  59. package/dist/contracts/content-contract-verification.js +320 -0
  60. package/dist/contracts/content-platform-fixture.d.ts +1278 -0
  61. package/dist/contracts/content-platform-fixture.js +44 -0
  62. package/dist/contracts/content-program.d.ts +994 -0
  63. package/dist/contracts/content-program.js +658 -0
  64. package/dist/contracts/content-sync.d.ts +290 -0
  65. package/dist/contracts/content-sync.js +167 -0
  66. package/dist/contracts/content.d.ts +432 -0
  67. package/dist/contracts/content.js +303 -0
  68. package/dist/contracts/continuation.d.ts +17 -1
  69. package/dist/contracts/continuation.js +23 -23
  70. package/dist/contracts/countries.js +3 -4
  71. package/dist/contracts/crons.d.ts +52 -0
  72. package/dist/contracts/crons.js +60 -0
  73. package/dist/contracts/dashboard-prefs.d.ts +56 -0
  74. package/dist/contracts/dashboard-prefs.js +51 -0
  75. package/dist/contracts/device-auth.d.ts +234 -37
  76. package/dist/contracts/device-auth.js +267 -53
  77. package/dist/contracts/docs.d.ts +1 -5
  78. package/dist/contracts/docs.js +7 -15
  79. package/dist/contracts/domains.d.ts +501 -93
  80. package/dist/contracts/domains.js +193 -55
  81. package/dist/contracts/email-preferences.d.ts +3 -3
  82. package/dist/contracts/email-preferences.js +6 -7
  83. package/dist/contracts/enums.d.ts +27 -26
  84. package/dist/contracts/enums.js +68 -61
  85. package/dist/contracts/error-code-meta.d.ts +283 -7
  86. package/dist/contracts/error-code-meta.js +97 -5
  87. package/dist/contracts/error-codes.d.ts +5 -5
  88. package/dist/contracts/error-codes.js +82 -17
  89. package/dist/contracts/events.d.ts +100 -20
  90. package/dist/contracts/events.js +107 -20
  91. package/dist/contracts/execution.d.ts +48 -64
  92. package/dist/contracts/execution.js +52 -62
  93. package/dist/contracts/feature-lifecycle.d.ts +73 -27
  94. package/dist/contracts/feature-lifecycle.js +86 -26
  95. package/dist/contracts/features.d.ts +68 -19
  96. package/dist/contracts/features.js +42 -41
  97. package/dist/contracts/fixtures/content-platform-v1.json +1108 -0
  98. package/dist/contracts/frame-session.d.ts +192 -0
  99. package/dist/contracts/frame-session.js +164 -0
  100. package/dist/contracts/functions.d.ts +338 -164
  101. package/dist/contracts/functions.js +367 -198
  102. package/dist/contracts/git.d.ts +27 -33
  103. package/dist/contracts/git.js +10 -11
  104. package/dist/contracts/grant-copy.d.ts +43 -0
  105. package/dist/contracts/grant-copy.js +44 -0
  106. package/dist/contracts/grants.d.ts +62 -54
  107. package/dist/contracts/grants.js +124 -23
  108. package/dist/contracts/ids.d.ts +4 -1
  109. package/dist/contracts/ids.js +6 -3
  110. package/dist/contracts/internal.d.ts +8 -18
  111. package/dist/contracts/internal.js +13 -14
  112. package/dist/contracts/mcp.d.ts +28 -0
  113. package/dist/contracts/mcp.js +28 -0
  114. package/dist/contracts/me.d.ts +6 -1
  115. package/dist/contracts/me.js +12 -6
  116. package/dist/contracts/notifications.d.ts +27 -29
  117. package/dist/contracts/notifications.js +9 -4
  118. package/dist/contracts/oauth-resources.d.ts +112 -10
  119. package/dist/contracts/oauth-resources.js +116 -11
  120. package/dist/contracts/oauth-scope-actions.d.ts +90 -0
  121. package/dist/contracts/oauth-scope-actions.js +126 -0
  122. package/dist/contracts/operations.d.ts +27 -4
  123. package/dist/contracts/operations.js +12 -6
  124. package/dist/contracts/pages.d.ts +31 -7
  125. package/dist/contracts/pages.js +22 -5
  126. package/dist/contracts/partner-notifications.d.ts +3 -0
  127. package/dist/contracts/partner-notifications.js +65 -0
  128. package/dist/contracts/{platform.d.ts → partner.d.ts} +29 -42
  129. package/dist/contracts/{platform.js → partner.js} +27 -40
  130. package/dist/contracts/plan-policy.js +1 -1
  131. package/dist/contracts/principal-assertion.d.ts +43 -0
  132. package/dist/contracts/principal-assertion.js +67 -0
  133. package/dist/contracts/principals.d.ts +73 -0
  134. package/dist/contracts/principals.js +59 -0
  135. package/dist/contracts/privacy.d.ts +11 -0
  136. package/dist/contracts/privacy.js +17 -0
  137. package/dist/contracts/problem-document.js +3 -4
  138. package/dist/contracts/publish-archive.d.ts +269 -161
  139. package/dist/contracts/publish-archive.js +11 -1
  140. package/dist/contracts/push-new.d.ts +8 -8
  141. package/dist/contracts/quotas.js +5 -5
  142. package/dist/contracts/realtime.d.ts +52 -0
  143. package/dist/contracts/realtime.js +54 -0
  144. package/dist/contracts/repository-connections.d.ts +44 -31
  145. package/dist/contracts/repository-connections.js +17 -5
  146. package/dist/contracts/resources.d.ts +105 -14
  147. package/dist/contracts/resources.js +150 -26
  148. package/dist/contracts/route-inventory.d.ts +358 -0
  149. package/dist/contracts/route-inventory.js +141 -0
  150. package/dist/contracts/runtime-api.d.ts +206 -82
  151. package/dist/contracts/runtime-api.js +131 -70
  152. package/dist/contracts/runtime-app.d.ts +13 -23
  153. package/dist/contracts/runtime-app.js +39 -24
  154. package/dist/contracts/runtime-components.d.ts +143 -0
  155. package/dist/contracts/runtime-components.js +199 -0
  156. package/dist/contracts/runtime-db.d.ts +49 -23
  157. package/dist/contracts/runtime-db.js +87 -22
  158. package/dist/contracts/runtime-purge.d.ts +8 -0
  159. package/dist/contracts/runtime-purge.js +5 -0
  160. package/dist/contracts/runtime-services.d.ts +43 -75
  161. package/dist/contracts/runtime-services.js +29 -49
  162. package/dist/contracts/runtime-storage.d.ts +15 -14
  163. package/dist/contracts/runtime-storage.js +30 -14
  164. package/dist/contracts/sf-config-v1.d.ts +48 -14
  165. package/dist/contracts/slugs.js +13 -4
  166. package/dist/contracts/space-config.d.ts +283 -19
  167. package/dist/contracts/space-config.js +430 -80
  168. package/dist/contracts/spaces.d.ts +376 -290
  169. package/dist/contracts/spaces.js +200 -135
  170. package/dist/contracts/superadmin-activity.d.ts +3 -43
  171. package/dist/contracts/superadmin-activity.js +6 -30
  172. package/dist/contracts/superadmin-emails.d.ts +1 -0
  173. package/dist/contracts/superadmin-emails.js +17 -1
  174. package/dist/contracts/superadmin-runtime.d.ts +199 -0
  175. package/dist/contracts/superadmin-runtime.js +141 -0
  176. package/dist/contracts/superadmin-search.d.ts +22 -2
  177. package/dist/contracts/superadmin-search.js +14 -6
  178. package/dist/contracts/superadmin-spaces.d.ts +438 -189
  179. package/dist/contracts/superadmin-spaces.js +131 -25
  180. package/dist/contracts/superadmin-teams.d.ts +5 -2
  181. package/dist/contracts/superadmin-teams.js +1 -2
  182. package/dist/contracts/superadmin-tenants.d.ts +627 -12
  183. package/dist/contracts/superadmin-tenants.js +32 -13
  184. package/dist/contracts/superadmin.d.ts +232 -37
  185. package/dist/contracts/superadmin.js +106 -22
  186. package/dist/contracts/tags.d.ts +85 -58
  187. package/dist/contracts/tags.js +47 -37
  188. package/dist/contracts/teams.d.ts +86 -26
  189. package/dist/contracts/teams.js +90 -31
  190. package/dist/contracts/tenants.d.ts +135 -0
  191. package/dist/contracts/tenants.js +120 -0
  192. package/dist/contracts/test-triggers.d.ts +70 -0
  193. package/dist/contracts/test-triggers.js +116 -0
  194. package/dist/contracts/theme-json.js +3 -8
  195. package/dist/contracts/transfers.d.ts +1 -0
  196. package/dist/contracts/transfers.js +3 -2
  197. package/dist/contracts/usage.d.ts +209 -0
  198. package/dist/contracts/usage.js +124 -12
  199. package/dist/contracts/variables.d.ts +2 -2
  200. package/dist/contracts/variables.js +9 -13
  201. package/dist/contracts/webhooks.d.ts +13 -5
  202. package/dist/contracts/webhooks.js +3 -1
  203. package/dist/contracts/zero.d.ts +72 -81
  204. package/dist/contracts/zero.js +80 -78
  205. package/dist/dashboard-paths/index.d.ts +24 -21
  206. package/dist/dashboard-paths/index.js +35 -47
  207. package/dist/dashboard-paths/route-reservations.generated.d.ts +2 -0
  208. package/dist/dashboard-paths/route-reservations.generated.js +36 -0
  209. package/dist/docs/agent-arrival.d.ts +92 -0
  210. package/dist/docs/agent-arrival.js +227 -0
  211. package/dist/docs/agent-output-policy.d.ts +6 -0
  212. package/dist/docs/agent-output-policy.js +22 -0
  213. package/dist/docs/agent-prose.d.ts +12 -18
  214. package/dist/docs/agent-prose.js +73 -51
  215. package/dist/docs/agent-setup.d.ts +72 -41
  216. package/dist/docs/agent-setup.js +339 -436
  217. package/dist/docs/catalog.d.ts +153 -95
  218. package/dist/docs/catalog.js +163 -48
  219. package/dist/docs/error-docs.d.ts +2098 -1
  220. package/dist/docs/error-docs.js +421 -144
  221. package/dist/docs/index-build.d.ts +0 -1
  222. package/dist/docs/index-build.js +2 -3
  223. package/dist/docs/page-context-prompt.d.ts +77 -0
  224. package/dist/docs/page-context-prompt.js +131 -0
  225. package/dist/docs/reference-urls.d.ts +46 -0
  226. package/dist/docs/reference-urls.js +79 -0
  227. package/dist/docs/search.d.ts +6 -8
  228. package/dist/docs/search.js +10 -13
  229. package/dist/docs/skill-distribution.d.ts +4 -1
  230. package/dist/docs/skill-distribution.js +10 -5
  231. package/dist/docs/skills.d.ts +120 -120
  232. package/dist/docs/skills.js +121 -73
  233. package/dist/docs/start-prompts.d.ts +45 -0
  234. package/dist/docs/start-prompts.js +62 -0
  235. package/dist/domain-exploration.js +9 -13
  236. package/dist/og-template.d.ts +56 -0
  237. package/dist/og-template.js +56 -0
  238. package/dist/slug-policy/index.js +5 -11
  239. package/dist/test-helpers/fetch-stub.js +1 -0
  240. package/dist/utils/browser-credential.d.ts +13 -6
  241. package/dist/utils/browser-credential.js +14 -7
  242. package/dist/utils/build-settings.d.ts +21 -1
  243. package/dist/utils/build-settings.js +133 -15
  244. package/dist/utils/canonical-json.d.ts +3 -5
  245. package/dist/utils/canonical-json.js +4 -5
  246. package/dist/utils/cast-transport.d.ts +5 -17
  247. package/dist/utils/cast-transport.js +6 -19
  248. package/dist/utils/claim-token.js +1 -2
  249. package/dist/utils/comment-avatars.js +4 -6
  250. package/dist/utils/concurrency.js +3 -3
  251. package/dist/utils/content-type.d.ts +7 -6
  252. package/dist/utils/content-type.js +73 -51
  253. package/dist/utils/credential-policy.d.ts +50 -6
  254. package/dist/utils/credential-policy.js +126 -59
  255. package/dist/utils/dns-instructions.js +9 -9
  256. package/dist/utils/egress-policy.fixtures.json +1 -1
  257. package/dist/utils/error-code.js +1 -0
  258. package/dist/utils/generate-space-name.d.ts +3 -8
  259. package/dist/utils/generate-space-name.js +3 -8
  260. package/dist/utils/grant-decision.fixtures.json +2 -2
  261. package/dist/utils/grants.d.ts +0 -1
  262. package/dist/utils/grants.js +7 -8
  263. package/dist/utils/gravatar.d.ts +2 -4
  264. package/dist/utils/gravatar.js +6 -12
  265. package/dist/utils/id-hints.js +14 -23
  266. package/dist/utils/idempotency.d.ts +3 -3
  267. package/dist/utils/idempotency.js +6 -7
  268. package/dist/utils/local-space-state.d.ts +23 -26
  269. package/dist/utils/local-space-state.js +46 -46
  270. package/dist/utils/oauth-signed-query.d.ts +3 -5
  271. package/dist/utils/oauth-signed-query.js +6 -9
  272. package/dist/utils/one-shot-replay.d.ts +7 -6
  273. package/dist/utils/one-shot-replay.js +3 -5
  274. package/dist/utils/page-colors.d.ts +15 -19
  275. package/dist/utils/page-colors.js +23 -45
  276. package/dist/utils/page-fonts.d.ts +1 -1
  277. package/dist/utils/page-fonts.js +8 -20
  278. package/dist/utils/page-preview.d.ts +0 -1
  279. package/dist/utils/page-preview.js +0 -1
  280. package/dist/utils/pages.d.ts +33 -3
  281. package/dist/utils/pages.js +83 -30
  282. package/dist/utils/privacy-regions.d.ts +19 -0
  283. package/dist/utils/privacy-regions.js +91 -0
  284. package/dist/utils/publish-form-data.d.ts +4 -5
  285. package/dist/utils/publish-form-data.js +2 -3
  286. package/dist/utils/publish-policy.d.ts +11 -17
  287. package/dist/utils/publish-policy.fixtures.json +11 -5
  288. package/dist/utils/publish-policy.js +65 -110
  289. package/dist/utils/query-client.d.ts +2 -0
  290. package/dist/utils/query-client.js +10 -1
  291. package/dist/utils/runtime-paths.d.ts +4 -4
  292. package/dist/utils/runtime-paths.js +6 -8
  293. package/dist/utils/runtime-upload.d.ts +9 -0
  294. package/dist/utils/runtime-upload.js +12 -0
  295. package/dist/utils/secure-local-file.d.ts +3 -3
  296. package/dist/utils/secure-local-file.js +23 -40
  297. package/dist/utils/space-config.d.ts +12 -15
  298. package/dist/utils/space-config.js +13 -16
  299. package/dist/utils/static-runtime-policy.d.ts +10 -7
  300. package/dist/utils/static-runtime-policy.fixtures.json +38 -41
  301. package/dist/utils/static-runtime-policy.generated.d.ts +16 -0
  302. package/dist/utils/static-runtime-policy.generated.js +70 -0
  303. package/dist/utils/static-runtime-policy.js +31 -132
  304. package/dist/utils/storage-policy.js +1 -2
  305. package/dist/utils/upload-session.d.ts +4 -1
  306. package/dist/utils/upload-session.js +41 -19
  307. package/dist/utils/version-path.js +11 -19
  308. package/dist/utils/wpcom-auth-redirects.d.ts +5 -14
  309. package/dist/utils/wpcom-auth-redirects.js +1 -4
  310. package/dist/vocabulary.d.ts +13 -13
  311. package/dist/vocabulary.js +52 -27
  312. package/package.json +15 -18
  313. package/dist/agents/client-registry.d.ts +0 -22
  314. package/dist/agents/client-registry.js +0 -41
  315. package/dist/docs/agent-handoff-document.d.ts +0 -15
  316. package/dist/docs/agent-handoff-document.js +0 -180
  317. package/dist/docs/agent-solutions.d.ts +0 -110
  318. package/dist/docs/agent-solutions.js +0 -183
  319. package/dist/utils/query-keys.d.ts +0 -84
  320. package/dist/utils/query-keys.js +0 -108
@@ -1,9 +1,9 @@
1
1
  import { z } from "zod";
2
- export declare const tagVersionStatusSchema: z.ZodEnum<{
2
+ export declare const tagRevisionStatusSchema: z.ZodEnum<{
3
3
  approved: "approved";
4
4
  published: "published";
5
- publishing: "publishing";
6
5
  draft: "draft";
6
+ publishing: "publishing";
7
7
  in_review: "in_review";
8
8
  abandoned: "abandoned";
9
9
  }>;
@@ -28,6 +28,7 @@ export declare const TAG_CONSENT_CATEGORY_DEFINITIONS: [{
28
28
  readonly defaultGranted: true;
29
29
  readonly required: true;
30
30
  readonly privacySignalDefaultDenied: false;
31
+ readonly requiresConsentInGdprCountries: false;
31
32
  }, {
32
33
  readonly id: "functional";
33
34
  readonly label: "Functional";
@@ -35,6 +36,7 @@ export declare const TAG_CONSENT_CATEGORY_DEFINITIONS: [{
35
36
  readonly defaultGranted: true;
36
37
  readonly required: false;
37
38
  readonly privacySignalDefaultDenied: false;
39
+ readonly requiresConsentInGdprCountries: false;
38
40
  }, {
39
41
  readonly id: "analytics";
40
42
  readonly label: "Analytics";
@@ -42,6 +44,7 @@ export declare const TAG_CONSENT_CATEGORY_DEFINITIONS: [{
42
44
  readonly defaultGranted: true;
43
45
  readonly required: false;
44
46
  readonly privacySignalDefaultDenied: true;
47
+ readonly requiresConsentInGdprCountries: true;
45
48
  }, {
46
49
  readonly id: "marketing";
47
50
  readonly label: "Marketing";
@@ -49,6 +52,7 @@ export declare const TAG_CONSENT_CATEGORY_DEFINITIONS: [{
49
52
  readonly defaultGranted: true;
50
53
  readonly required: false;
51
54
  readonly privacySignalDefaultDenied: true;
55
+ readonly requiresConsentInGdprCountries: true;
52
56
  }, {
53
57
  readonly id: "personalization";
54
58
  readonly label: "Personalization";
@@ -56,6 +60,7 @@ export declare const TAG_CONSENT_CATEGORY_DEFINITIONS: [{
56
60
  readonly defaultGranted: true;
57
61
  readonly required: false;
58
62
  readonly privacySignalDefaultDenied: true;
63
+ readonly requiresConsentInGdprCountries: true;
59
64
  }];
60
65
  export declare const TAG_CONSENT_CATEGORY_IDS: ("analytics" | "marketing" | "necessary" | "functional" | "personalization")[];
61
66
  export declare const DEFAULT_TAG_CONSENT_DEFAULTS: Record<TagConsentCategory, boolean>;
@@ -68,6 +73,7 @@ export declare const tagConsentPolicySchema: z.ZodObject<{
68
73
  defaultGranted: z.ZodBoolean;
69
74
  required: z.ZodDefault<z.ZodBoolean>;
70
75
  privacySignalDefaultDenied: z.ZodDefault<z.ZodBoolean>;
76
+ requiresConsentInGdprCountries: z.ZodDefault<z.ZodBoolean>;
71
77
  }, z.core.$strip>>>;
72
78
  defaultByCategory: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
73
79
  regionDefaults: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodBoolean>>>;
@@ -88,7 +94,7 @@ export declare const tagConsentPolicySchema: z.ZodObject<{
88
94
  path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
89
95
  provider: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
90
96
  registrar: "registrar";
91
- wpcloud: "wpcloud";
97
+ infra: "infra";
92
98
  dns: "dns";
93
99
  runtime: "runtime";
94
100
  }>>>;
@@ -149,7 +155,7 @@ export declare const tagValidationResultSchema: z.ZodObject<{
149
155
  path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
150
156
  provider: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
151
157
  registrar: "registrar";
152
- wpcloud: "wpcloud";
158
+ infra: "infra";
153
159
  dns: "dns";
154
160
  runtime: "runtime";
155
161
  }>>>;
@@ -161,16 +167,16 @@ export declare const tagValidationResultSchema: z.ZodObject<{
161
167
  graphRevision: z.ZodNumber;
162
168
  }, z.core.$strip>;
163
169
  export type TagValidationResult = z.infer<typeof tagValidationResultSchema>;
164
- export declare const tagVersionSchema: z.ZodObject<{
170
+ export declare const tagRevisionSchema: z.ZodObject<{
165
171
  id: z.ZodString;
166
172
  tagSetId: z.ZodString;
167
- versionNumber: z.ZodNumber;
168
- baseVersionId: z.ZodNullable<z.ZodString>;
173
+ revisionNumber: z.ZodNumber;
174
+ baseRevisionId: z.ZodNullable<z.ZodString>;
169
175
  status: z.ZodEnum<{
170
176
  approved: "approved";
171
177
  published: "published";
172
- publishing: "publishing";
173
178
  draft: "draft";
179
+ publishing: "publishing";
174
180
  in_review: "in_review";
175
181
  abandoned: "abandoned";
176
182
  }>;
@@ -198,7 +204,7 @@ export declare const tagVersionSchema: z.ZodObject<{
198
204
  path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
199
205
  provider: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
200
206
  registrar: "registrar";
201
- wpcloud: "wpcloud";
207
+ infra: "infra";
202
208
  dns: "dns";
203
209
  runtime: "runtime";
204
210
  }>>>;
@@ -218,29 +224,29 @@ export declare const tagVersionSchema: z.ZodObject<{
218
224
  publishedAt: z.ZodNullable<z.ZodString>;
219
225
  immutableAt: z.ZodNullable<z.ZodString>;
220
226
  }, z.core.$strip>;
221
- export declare const tagVersionListQuerySchema: z.ZodObject<{
227
+ export declare const tagRevisionListQuerySchema: z.ZodObject<{
222
228
  limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
223
229
  cursor: z.ZodOptional<z.ZodString>;
224
230
  status: z.ZodOptional<z.ZodEnum<{
225
231
  approved: "approved";
226
232
  published: "published";
227
- publishing: "publishing";
228
233
  draft: "draft";
234
+ publishing: "publishing";
229
235
  in_review: "in_review";
230
236
  abandoned: "abandoned";
231
237
  }>>;
232
238
  }, z.core.$strip>;
233
- export declare const tagVersionListResponseSchema: z.ZodObject<{
239
+ export declare const tagRevisionListResponseSchema: z.ZodObject<{
234
240
  data: z.ZodArray<z.ZodObject<{
235
241
  id: z.ZodString;
236
242
  tagSetId: z.ZodString;
237
- versionNumber: z.ZodNumber;
238
- baseVersionId: z.ZodNullable<z.ZodString>;
243
+ revisionNumber: z.ZodNumber;
244
+ baseRevisionId: z.ZodNullable<z.ZodString>;
239
245
  status: z.ZodEnum<{
240
246
  approved: "approved";
241
247
  published: "published";
242
- publishing: "publishing";
243
248
  draft: "draft";
249
+ publishing: "publishing";
244
250
  in_review: "in_review";
245
251
  abandoned: "abandoned";
246
252
  }>;
@@ -268,7 +274,7 @@ export declare const tagVersionListResponseSchema: z.ZodObject<{
268
274
  path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
269
275
  provider: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
270
276
  registrar: "registrar";
271
- wpcloud: "wpcloud";
277
+ infra: "infra";
272
278
  dns: "dns";
273
279
  runtime: "runtime";
274
280
  }>>>;
@@ -293,17 +299,17 @@ export declare const tagVersionListResponseSchema: z.ZodObject<{
293
299
  hasMore: z.ZodBoolean;
294
300
  }, z.core.$strip>;
295
301
  }, z.core.$strip>;
296
- export declare const tagVersionResponseSchema: z.ZodObject<{
302
+ export declare const tagRevisionResponseSchema: z.ZodObject<{
297
303
  data: z.ZodObject<{
298
304
  id: z.ZodString;
299
305
  tagSetId: z.ZodString;
300
- versionNumber: z.ZodNumber;
301
- baseVersionId: z.ZodNullable<z.ZodString>;
306
+ revisionNumber: z.ZodNumber;
307
+ baseRevisionId: z.ZodNullable<z.ZodString>;
302
308
  status: z.ZodEnum<{
303
309
  approved: "approved";
304
310
  published: "published";
305
- publishing: "publishing";
306
311
  draft: "draft";
312
+ publishing: "publishing";
307
313
  in_review: "in_review";
308
314
  abandoned: "abandoned";
309
315
  }>;
@@ -331,7 +337,7 @@ export declare const tagVersionResponseSchema: z.ZodObject<{
331
337
  path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
332
338
  provider: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
333
339
  registrar: "registrar";
334
- wpcloud: "wpcloud";
340
+ infra: "infra";
335
341
  dns: "dns";
336
342
  runtime: "runtime";
337
343
  }>>>;
@@ -352,10 +358,10 @@ export declare const tagVersionResponseSchema: z.ZodObject<{
352
358
  immutableAt: z.ZodNullable<z.ZodString>;
353
359
  }, z.core.$strip>;
354
360
  }, z.core.$strip>;
355
- export declare const tagVersionCreateSchema: z.ZodObject<{
361
+ export declare const tagRevisionCreateSchema: z.ZodObject<{
356
362
  title: z.ZodDefault<z.ZodString>;
357
363
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
358
- baseVersionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
364
+ baseRevisionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
359
365
  graph: z.ZodOptional<z.ZodObject<{
360
366
  format: z.ZodDefault<z.ZodLiteral<"spacefast.tag_graph.v1">>;
361
367
  tags: z.ZodDefault<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
@@ -365,13 +371,13 @@ export declare const tagVersionCreateSchema: z.ZodObject<{
365
371
  consentPolicy: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
366
372
  }, z.core.$strict>>;
367
373
  }, z.core.$strip>;
368
- export declare const tagVersionPatchSchema: z.ZodObject<{
374
+ export declare const tagRevisionPatchSchema: z.ZodObject<{
369
375
  title: z.ZodOptional<z.ZodString>;
370
376
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
371
377
  }, z.core.$strip>;
372
378
  export declare const tagGraphResponseSchema: z.ZodObject<{
373
379
  data: z.ZodObject<{
374
- versionId: z.ZodString;
380
+ revisionId: z.ZodString;
375
381
  graph: z.ZodObject<{
376
382
  format: z.ZodDefault<z.ZodLiteral<"spacefast.tag_graph.v1">>;
377
383
  tags: z.ZodDefault<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
@@ -426,7 +432,7 @@ export declare const tagValidateResponseSchema: z.ZodObject<{
426
432
  path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
427
433
  provider: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
428
434
  registrar: "registrar";
429
- wpcloud: "wpcloud";
435
+ infra: "infra";
430
436
  dns: "dns";
431
437
  runtime: "runtime";
432
438
  }>>>;
@@ -439,8 +445,8 @@ export declare const tagValidateResponseSchema: z.ZodObject<{
439
445
  }, z.core.$strip>;
440
446
  }, z.core.$strip>;
441
447
  export declare const tagDiffSchema: z.ZodObject<{
442
- baseVersionId: z.ZodNullable<z.ZodString>;
443
- targetVersionId: z.ZodString;
448
+ baseRevisionId: z.ZodNullable<z.ZodString>;
449
+ targetRevisionId: z.ZodString;
444
450
  addedTagIds: z.ZodArray<z.ZodString>;
445
451
  removedTagIds: z.ZodArray<z.ZodString>;
446
452
  changedTagIds: z.ZodArray<z.ZodString>;
@@ -448,8 +454,8 @@ export declare const tagDiffSchema: z.ZodObject<{
448
454
  }, z.core.$strip>;
449
455
  export declare const tagDiffResponseSchema: z.ZodObject<{
450
456
  data: z.ZodObject<{
451
- baseVersionId: z.ZodNullable<z.ZodString>;
452
- targetVersionId: z.ZodString;
457
+ baseRevisionId: z.ZodNullable<z.ZodString>;
458
+ targetRevisionId: z.ZodString;
453
459
  addedTagIds: z.ZodArray<z.ZodString>;
454
460
  removedTagIds: z.ZodArray<z.ZodString>;
455
461
  changedTagIds: z.ZodArray<z.ZodString>;
@@ -464,8 +470,8 @@ export declare const tagReleaseSchema: z.ZodObject<{
464
470
  preview: "preview";
465
471
  development: "development";
466
472
  }>;
467
- versionId: z.ZodString;
468
- previousVersionId: z.ZodNullable<z.ZodString>;
473
+ revisionId: z.ZodString;
474
+ previousRevisionId: z.ZodNullable<z.ZodString>;
469
475
  sdkRevision: z.ZodString;
470
476
  staticDigest: z.ZodString;
471
477
  releaseNotes: z.ZodNullable<z.ZodString>;
@@ -480,8 +486,8 @@ export declare const tagReleaseListResponseSchema: z.ZodObject<{
480
486
  preview: "preview";
481
487
  development: "development";
482
488
  }>;
483
- versionId: z.ZodString;
484
- previousVersionId: z.ZodNullable<z.ZodString>;
489
+ revisionId: z.ZodString;
490
+ previousRevisionId: z.ZodNullable<z.ZodString>;
485
491
  sdkRevision: z.ZodString;
486
492
  staticDigest: z.ZodString;
487
493
  releaseNotes: z.ZodNullable<z.ZodString>;
@@ -497,8 +503,8 @@ export declare const tagReleaseResponseSchema: z.ZodObject<{
497
503
  preview: "preview";
498
504
  development: "development";
499
505
  }>;
500
- versionId: z.ZodString;
501
- previousVersionId: z.ZodNullable<z.ZodString>;
506
+ revisionId: z.ZodString;
507
+ previousRevisionId: z.ZodNullable<z.ZodString>;
502
508
  sdkRevision: z.ZodString;
503
509
  staticDigest: z.ZodString;
504
510
  releaseNotes: z.ZodNullable<z.ZodString>;
@@ -550,7 +556,7 @@ export declare const tagInheritancePatchSchema: z.ZodObject<{
550
556
  export declare const tagActivityEventSchema: z.ZodObject<{
551
557
  id: z.ZodString;
552
558
  type: z.ZodString;
553
- versionId: z.ZodNullable<z.ZodString>;
559
+ revisionId: z.ZodNullable<z.ZodString>;
554
560
  environment: z.ZodNullable<z.ZodEnum<{
555
561
  production: "production";
556
562
  preview: "preview";
@@ -564,7 +570,7 @@ export declare const tagActivityResponseSchema: z.ZodObject<{
564
570
  data: z.ZodArray<z.ZodObject<{
565
571
  id: z.ZodString;
566
572
  type: z.ZodString;
567
- versionId: z.ZodNullable<z.ZodString>;
573
+ revisionId: z.ZodNullable<z.ZodString>;
568
574
  environment: z.ZodNullable<z.ZodEnum<{
569
575
  production: "production";
570
576
  preview: "preview";
@@ -592,8 +598,8 @@ export declare const tagEffectiveTagResponseSchema: z.ZodObject<{
592
598
  }, z.core.$strip>;
593
599
  }, z.core.$strip>;
594
600
  export declare const tagReleasePutSchema: z.ZodObject<{
595
- versionId: z.ZodString;
596
- expectedCurrentVersionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
601
+ revisionId: z.ZodString;
602
+ expectedCurrentRevisionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
597
603
  releaseNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
598
604
  }, z.core.$strip>;
599
605
  export declare const tagApplySchema: z.ZodObject<{
@@ -606,20 +612,20 @@ export declare const tagApplySchema: z.ZodObject<{
606
612
  preview: "preview";
607
613
  development: "development";
608
614
  }>>;
609
- expectedCurrentVersionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
615
+ expectedCurrentRevisionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
610
616
  }, z.core.$strip>;
611
617
  export declare const tagApplyResponseSchema: z.ZodObject<{
612
618
  data: z.ZodObject<{
613
- version: z.ZodObject<{
619
+ revision: z.ZodObject<{
614
620
  id: z.ZodString;
615
621
  tagSetId: z.ZodString;
616
- versionNumber: z.ZodNumber;
617
- baseVersionId: z.ZodNullable<z.ZodString>;
622
+ revisionNumber: z.ZodNumber;
623
+ baseRevisionId: z.ZodNullable<z.ZodString>;
618
624
  status: z.ZodEnum<{
619
625
  approved: "approved";
620
626
  published: "published";
621
- publishing: "publishing";
622
627
  draft: "draft";
628
+ publishing: "publishing";
623
629
  in_review: "in_review";
624
630
  abandoned: "abandoned";
625
631
  }>;
@@ -647,7 +653,7 @@ export declare const tagApplyResponseSchema: z.ZodObject<{
647
653
  path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
648
654
  provider: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
649
655
  registrar: "registrar";
650
- wpcloud: "wpcloud";
656
+ infra: "infra";
651
657
  dns: "dns";
652
658
  runtime: "runtime";
653
659
  }>>>;
@@ -680,7 +686,7 @@ export declare const tagApplyResponseSchema: z.ZodObject<{
680
686
  path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
681
687
  provider: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
682
688
  registrar: "registrar";
683
- wpcloud: "wpcloud";
689
+ infra: "infra";
684
690
  dns: "dns";
685
691
  runtime: "runtime";
686
692
  }>>>;
@@ -699,8 +705,8 @@ export declare const tagApplyResponseSchema: z.ZodObject<{
699
705
  preview: "preview";
700
706
  development: "development";
701
707
  }>;
702
- versionId: z.ZodString;
703
- previousVersionId: z.ZodNullable<z.ZodString>;
708
+ revisionId: z.ZodString;
709
+ previousRevisionId: z.ZodNullable<z.ZodString>;
704
710
  sdkRevision: z.ZodString;
705
711
  staticDigest: z.ZodString;
706
712
  releaseNotes: z.ZodNullable<z.ZodString>;
@@ -720,7 +726,7 @@ export declare const tagApplyResponseSchema: z.ZodObject<{
720
726
  }, z.core.$strip>;
721
727
  export declare const tagPreviewSessionSchema: z.ZodObject<{
722
728
  id: z.ZodString;
723
- versionId: z.ZodString;
729
+ revisionId: z.ZodString;
724
730
  environment: z.ZodEnum<{
725
731
  production: "production";
726
732
  preview: "preview";
@@ -739,7 +745,7 @@ export declare const tagPreviewSessionSchema: z.ZodObject<{
739
745
  export declare const tagPreviewSessionResponseSchema: z.ZodObject<{
740
746
  data: z.ZodObject<{
741
747
  id: z.ZodString;
742
- versionId: z.ZodString;
748
+ revisionId: z.ZodString;
743
749
  environment: z.ZodEnum<{
744
750
  production: "production";
745
751
  preview: "preview";
@@ -756,6 +762,26 @@ export declare const tagPreviewSessionResponseSchema: z.ZodObject<{
756
762
  revokedAt: z.ZodNullable<z.ZodString>;
757
763
  }, z.core.$strip>;
758
764
  }, z.core.$strip>;
765
+ export declare const tagPreviewSessionListResponseSchema: z.ZodObject<{
766
+ data: z.ZodArray<z.ZodObject<{
767
+ id: z.ZodString;
768
+ revisionId: z.ZodString;
769
+ environment: z.ZodEnum<{
770
+ production: "production";
771
+ preview: "preview";
772
+ development: "development";
773
+ }>;
774
+ previewUrl: z.ZodString;
775
+ sdkRevision: z.ZodString;
776
+ cacheMode: z.ZodLiteral<"public, max-age=0, s-maxage=60, must-revalidate">;
777
+ websocket: z.ZodObject<{
778
+ enabled: z.ZodBoolean;
779
+ }, z.core.$strip>;
780
+ createdAt: z.ZodString;
781
+ expiresAt: z.ZodString;
782
+ revokedAt: z.ZodNullable<z.ZodString>;
783
+ }, z.core.$strip>>;
784
+ }, z.core.$strip>;
759
785
  export declare const tagPreviewSessionCreateSchema: z.ZodObject<{
760
786
  url: z.ZodOptional<z.ZodString>;
761
787
  ttlSeconds: z.ZodDefault<z.ZodNumber>;
@@ -855,8 +881,8 @@ export declare const tagTemplateDefinitionSchema: z.ZodObject<{
855
881
  label: z.ZodString;
856
882
  kind: z.ZodDefault<z.ZodEnum<{
857
883
  boolean: "boolean";
858
- text: "text";
859
884
  url: "url";
885
+ text: "text";
860
886
  secret: "secret";
861
887
  textarea: "textarea";
862
888
  }>>;
@@ -964,8 +990,8 @@ export declare const tagTemplateListResponseSchema: z.ZodObject<{
964
990
  label: z.ZodString;
965
991
  kind: z.ZodDefault<z.ZodEnum<{
966
992
  boolean: "boolean";
967
- text: "text";
968
993
  url: "url";
994
+ text: "text";
969
995
  secret: "secret";
970
996
  textarea: "textarea";
971
997
  }>>;
@@ -998,7 +1024,7 @@ export declare const tagConsentPolicyResponseSchema: z.ZodObject<{
998
1024
  preview: "preview";
999
1025
  development: "development";
1000
1026
  }>;
1001
- versionId: z.ZodNullable<z.ZodString>;
1027
+ revisionId: z.ZodNullable<z.ZodString>;
1002
1028
  graphRevision: z.ZodNumber;
1003
1029
  policy: z.ZodObject<{
1004
1030
  version: z.ZodDefault<z.ZodLiteral<1>>;
@@ -1009,6 +1035,7 @@ export declare const tagConsentPolicyResponseSchema: z.ZodObject<{
1009
1035
  defaultGranted: z.ZodBoolean;
1010
1036
  required: z.ZodDefault<z.ZodBoolean>;
1011
1037
  privacySignalDefaultDenied: z.ZodDefault<z.ZodBoolean>;
1038
+ requiresConsentInGdprCountries: z.ZodDefault<z.ZodBoolean>;
1012
1039
  }, z.core.$strip>>>;
1013
1040
  defaultByCategory: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
1014
1041
  regionDefaults: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodBoolean>>>;
@@ -1029,7 +1056,7 @@ export declare const tagConsentPolicyResponseSchema: z.ZodObject<{
1029
1056
  path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1030
1057
  provider: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1031
1058
  registrar: "registrar";
1032
- wpcloud: "wpcloud";
1059
+ infra: "infra";
1033
1060
  dns: "dns";
1034
1061
  runtime: "runtime";
1035
1062
  }>>>;
@@ -1114,7 +1141,7 @@ export declare function listTagTemplates(): {
1114
1141
  fields: {
1115
1142
  key: string;
1116
1143
  label: string;
1117
- kind: "boolean" | "text" | "url" | "secret" | "textarea";
1144
+ kind: "boolean" | "url" | "text" | "secret" | "textarea";
1118
1145
  required: boolean;
1119
1146
  placeholder?: string | undefined;
1120
1147
  help?: string | undefined;
@@ -1148,7 +1175,7 @@ export declare const tagEffectiveResponseSchema: z.ZodObject<{
1148
1175
  preview: "preview";
1149
1176
  development: "development";
1150
1177
  }>;
1151
- versionId: z.ZodNullable<z.ZodString>;
1178
+ revisionId: z.ZodNullable<z.ZodString>;
1152
1179
  graph: z.ZodObject<{
1153
1180
  format: z.ZodDefault<z.ZodLiteral<"spacefast.tag_graph.v1">>;
1154
1181
  tags: z.ZodDefault<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
@@ -1165,7 +1192,7 @@ export declare const tagEffectiveResponseSchema: z.ZodObject<{
1165
1192
  team: "team";
1166
1193
  system: "system";
1167
1194
  }>;
1168
- versionId: z.ZodNullable<z.ZodString>;
1195
+ revisionId: z.ZodNullable<z.ZodString>;
1169
1196
  }, z.core.$strip>>;
1170
1197
  }, z.core.$strip>;
1171
1198
  }, z.core.$strip>;