@spacefast/common 0.0.3 → 0.0.5

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 (54) hide show
  1. package/dist/contracts/access.d.ts +4 -4
  2. package/dist/contracts/activity.d.ts +4 -4
  3. package/dist/contracts/annotations.d.ts +1 -1
  4. package/dist/contracts/api-keys.d.ts +6 -6
  5. package/dist/contracts/archives.d.ts +14 -14
  6. package/dist/contracts/billing.d.ts +21 -21
  7. package/dist/contracts/builds.d.ts +8 -8
  8. package/dist/contracts/channels.d.ts +2 -2
  9. package/dist/contracts/common.d.ts +5 -5
  10. package/dist/contracts/continuation.d.ts +66 -0
  11. package/dist/contracts/continuation.js +91 -0
  12. package/dist/contracts/deployments.d.ts +18 -18
  13. package/dist/contracts/device-auth.d.ts +6 -6
  14. package/dist/contracts/domains.d.ts +247 -247
  15. package/dist/contracts/enums.d.ts +2 -2
  16. package/dist/contracts/error-code-meta.d.ts +12 -0
  17. package/dist/contracts/error-code-meta.js +3 -0
  18. package/dist/contracts/error-codes.d.ts +1 -1
  19. package/dist/contracts/error-codes.js +3 -0
  20. package/dist/contracts/events.d.ts +12 -12
  21. package/dist/contracts/features.d.ts +17 -17
  22. package/dist/contracts/git.d.ts +3 -3
  23. package/dist/contracts/internal.d.ts +3 -3
  24. package/dist/contracts/mcp.d.ts +34 -34
  25. package/dist/contracts/me.d.ts +8 -8
  26. package/dist/contracts/operations.d.ts +2 -2
  27. package/dist/contracts/plan-policy.d.ts +4 -4
  28. package/dist/contracts/platform.d.ts +3 -3
  29. package/dist/contracts/repository-connections.d.ts +5 -5
  30. package/dist/contracts/resources.d.ts +15 -15
  31. package/dist/contracts/runtime-api.d.ts +4 -4
  32. package/dist/contracts/sites.d.ts +26 -26
  33. package/dist/contracts/spaces.d.ts +179 -89
  34. package/dist/contracts/spaces.js +57 -3
  35. package/dist/contracts/superadmin-emails.d.ts +3 -3
  36. package/dist/contracts/superadmin-queues.d.ts +58 -58
  37. package/dist/contracts/superadmin-spaces.d.ts +275 -9
  38. package/dist/contracts/superadmin-spaces.js +24 -0
  39. package/dist/contracts/superadmin-tenants.d.ts +8 -8
  40. package/dist/contracts/superadmin.d.ts +12 -12
  41. package/dist/contracts/tags.d.ts +38 -38
  42. package/dist/contracts/teams.d.ts +26 -8
  43. package/dist/contracts/teams.js +20 -0
  44. package/dist/contracts/transfers.d.ts +9 -9
  45. package/dist/contracts/variables.d.ts +14 -14
  46. package/dist/contracts/webhooks.d.ts +4 -4
  47. package/dist/contracts/zero.d.ts +8 -8
  48. package/dist/docs/agent-prose.js +8 -4
  49. package/dist/docs/agent-setup.js +3 -2
  50. package/dist/docs/error-docs.js +12 -0
  51. package/dist/utils/query-keys.d.ts +2 -2
  52. package/dist/utils/static-runtime-policy.d.ts +21 -0
  53. package/dist/utils/static-runtime-policy.js +119 -3
  54. package/package.json +1 -1
@@ -1,8 +1,8 @@
1
1
  import { z } from "zod";
2
2
  export declare const hostedMcpSessionStatusSchema: z.ZodEnum<{
3
- closed: "closed";
4
- expired: "expired";
5
3
  active: "active";
4
+ expired: "expired";
5
+ closed: "closed";
6
6
  interrupted: "interrupted";
7
7
  }>;
8
8
  export declare const hostedMcpWorkspaceSummarySchema: z.ZodObject<{
@@ -22,9 +22,9 @@ export declare const hostedMcpSessionSchema: z.ZodObject<{
22
22
  tools: z.ZodString;
23
23
  }, z.core.$strip>;
24
24
  status: z.ZodEnum<{
25
- closed: "closed";
26
- expired: "expired";
27
25
  active: "active";
26
+ expired: "expired";
27
+ closed: "closed";
28
28
  interrupted: "interrupted";
29
29
  }>;
30
30
  metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -51,8 +51,8 @@ export declare const hostedMcpApprovalSchema: z.ZodObject<{
51
51
  status: z.ZodEnum<{
52
52
  expired: "expired";
53
53
  pending: "pending";
54
- approved: "approved";
55
54
  denied: "denied";
55
+ approved: "approved";
56
56
  consumed: "consumed";
57
57
  }>;
58
58
  decision: z.ZodNullable<z.ZodEnum<{
@@ -77,11 +77,11 @@ export declare const hostedMcpSessionEventSchema: z.ZodObject<{
77
77
  createdAt: z.ZodString;
78
78
  }, z.core.$strip>;
79
79
  export declare const hostedMcpExecutionRunStatusSchema: z.ZodEnum<{
80
- completed: "completed";
81
80
  failed: "failed";
81
+ completed: "completed";
82
+ canceled: "canceled";
82
83
  queued: "queued";
83
84
  running: "running";
84
- canceled: "canceled";
85
85
  approval_required: "approval_required";
86
86
  }>;
87
87
  export declare const hostedMcpExecutionStepSchema: z.ZodObject<{
@@ -104,8 +104,8 @@ export declare const hostedMcpExecutionArtifactSchema: z.ZodObject<{
104
104
  warning: "warning";
105
105
  resource: "resource";
106
106
  summary: "summary";
107
- log: "log";
108
107
  result: "result";
108
+ log: "log";
109
109
  }>;
110
110
  name: z.ZodString;
111
111
  mimeType: z.ZodNullable<z.ZodString>;
@@ -120,11 +120,11 @@ export declare const hostedMcpExecutionRunSchema: z.ZodObject<{
120
120
  tool: z.ZodString;
121
121
  mode: z.ZodNullable<z.ZodString>;
122
122
  status: z.ZodEnum<{
123
- completed: "completed";
124
123
  failed: "failed";
124
+ completed: "completed";
125
+ canceled: "canceled";
125
126
  queued: "queued";
126
127
  running: "running";
127
- canceled: "canceled";
128
128
  approval_required: "approval_required";
129
129
  }>;
130
130
  approvalId: z.ZodNullable<z.ZodString>;
@@ -154,8 +154,8 @@ export declare const hostedMcpExecutionRunSchema: z.ZodObject<{
154
154
  warning: "warning";
155
155
  resource: "resource";
156
156
  summary: "summary";
157
- log: "log";
158
157
  result: "result";
158
+ log: "log";
159
159
  }>;
160
160
  name: z.ZodString;
161
161
  mimeType: z.ZodNullable<z.ZodString>;
@@ -285,9 +285,9 @@ export declare const hostedMcpDashboardSchema: z.ZodObject<{
285
285
  tools: z.ZodString;
286
286
  }, z.core.$strip>;
287
287
  status: z.ZodEnum<{
288
- closed: "closed";
289
- expired: "expired";
290
288
  active: "active";
289
+ expired: "expired";
290
+ closed: "closed";
291
291
  interrupted: "interrupted";
292
292
  }>;
293
293
  metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -314,8 +314,8 @@ export declare const hostedMcpDashboardSchema: z.ZodObject<{
314
314
  status: z.ZodEnum<{
315
315
  expired: "expired";
316
316
  pending: "pending";
317
- approved: "approved";
318
317
  denied: "denied";
318
+ approved: "approved";
319
319
  consumed: "consumed";
320
320
  }>;
321
321
  decision: z.ZodNullable<z.ZodEnum<{
@@ -346,11 +346,11 @@ export declare const hostedMcpDashboardSchema: z.ZodObject<{
346
346
  tool: z.ZodString;
347
347
  mode: z.ZodNullable<z.ZodString>;
348
348
  status: z.ZodEnum<{
349
- completed: "completed";
350
349
  failed: "failed";
350
+ completed: "completed";
351
+ canceled: "canceled";
351
352
  queued: "queued";
352
353
  running: "running";
353
- canceled: "canceled";
354
354
  approval_required: "approval_required";
355
355
  }>;
356
356
  approvalId: z.ZodNullable<z.ZodString>;
@@ -380,8 +380,8 @@ export declare const hostedMcpDashboardSchema: z.ZodObject<{
380
380
  warning: "warning";
381
381
  resource: "resource";
382
382
  summary: "summary";
383
- log: "log";
384
383
  result: "result";
384
+ log: "log";
385
385
  }>;
386
386
  name: z.ZodString;
387
387
  mimeType: z.ZodNullable<z.ZodString>;
@@ -450,9 +450,9 @@ export declare const hostedMcpDashboardResponseSchema: z.ZodObject<{
450
450
  tools: z.ZodString;
451
451
  }, z.core.$strip>;
452
452
  status: z.ZodEnum<{
453
- closed: "closed";
454
- expired: "expired";
455
453
  active: "active";
454
+ expired: "expired";
455
+ closed: "closed";
456
456
  interrupted: "interrupted";
457
457
  }>;
458
458
  metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -479,8 +479,8 @@ export declare const hostedMcpDashboardResponseSchema: z.ZodObject<{
479
479
  status: z.ZodEnum<{
480
480
  expired: "expired";
481
481
  pending: "pending";
482
- approved: "approved";
483
482
  denied: "denied";
483
+ approved: "approved";
484
484
  consumed: "consumed";
485
485
  }>;
486
486
  decision: z.ZodNullable<z.ZodEnum<{
@@ -511,11 +511,11 @@ export declare const hostedMcpDashboardResponseSchema: z.ZodObject<{
511
511
  tool: z.ZodString;
512
512
  mode: z.ZodNullable<z.ZodString>;
513
513
  status: z.ZodEnum<{
514
- completed: "completed";
515
514
  failed: "failed";
515
+ completed: "completed";
516
+ canceled: "canceled";
516
517
  queued: "queued";
517
518
  running: "running";
518
- canceled: "canceled";
519
519
  approval_required: "approval_required";
520
520
  }>;
521
521
  approvalId: z.ZodNullable<z.ZodString>;
@@ -545,8 +545,8 @@ export declare const hostedMcpDashboardResponseSchema: z.ZodObject<{
545
545
  warning: "warning";
546
546
  resource: "resource";
547
547
  summary: "summary";
548
- log: "log";
549
548
  result: "result";
549
+ log: "log";
550
550
  }>;
551
551
  name: z.ZodString;
552
552
  mimeType: z.ZodNullable<z.ZodString>;
@@ -570,9 +570,9 @@ export declare const hostedMcpCloseSessionResponseSchema: z.ZodObject<{
570
570
  tools: z.ZodString;
571
571
  }, z.core.$strip>;
572
572
  status: z.ZodEnum<{
573
- closed: "closed";
574
- expired: "expired";
575
573
  active: "active";
574
+ expired: "expired";
575
+ closed: "closed";
576
576
  interrupted: "interrupted";
577
577
  }>;
578
578
  metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -608,8 +608,8 @@ export declare const hostedMcpApprovalResponseSchema: z.ZodObject<{
608
608
  status: z.ZodEnum<{
609
609
  expired: "expired";
610
610
  pending: "pending";
611
- approved: "approved";
612
611
  denied: "denied";
612
+ approved: "approved";
613
613
  consumed: "consumed";
614
614
  }>;
615
615
  decision: z.ZodNullable<z.ZodEnum<{
@@ -636,9 +636,9 @@ export declare const hostedMcpSessionEventsResponseSchema: z.ZodObject<{
636
636
  tools: z.ZodString;
637
637
  }, z.core.$strip>;
638
638
  status: z.ZodEnum<{
639
- closed: "closed";
640
- expired: "expired";
641
639
  active: "active";
640
+ expired: "expired";
641
+ closed: "closed";
642
642
  interrupted: "interrupted";
643
643
  }>;
644
644
  metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -676,11 +676,11 @@ export declare const hostedMcpExecutionRunsResponseSchema: z.ZodObject<{
676
676
  tool: z.ZodString;
677
677
  mode: z.ZodNullable<z.ZodString>;
678
678
  status: z.ZodEnum<{
679
- completed: "completed";
680
679
  failed: "failed";
680
+ completed: "completed";
681
+ canceled: "canceled";
681
682
  queued: "queued";
682
683
  running: "running";
683
- canceled: "canceled";
684
684
  approval_required: "approval_required";
685
685
  }>;
686
686
  approvalId: z.ZodNullable<z.ZodString>;
@@ -710,8 +710,8 @@ export declare const hostedMcpExecutionRunsResponseSchema: z.ZodObject<{
710
710
  warning: "warning";
711
711
  resource: "resource";
712
712
  summary: "summary";
713
- log: "log";
714
713
  result: "result";
714
+ log: "log";
715
715
  }>;
716
716
  name: z.ZodString;
717
717
  mimeType: z.ZodNullable<z.ZodString>;
@@ -730,11 +730,11 @@ export declare const hostedMcpExecutionRunResponseSchema: z.ZodObject<{
730
730
  tool: z.ZodString;
731
731
  mode: z.ZodNullable<z.ZodString>;
732
732
  status: z.ZodEnum<{
733
- completed: "completed";
734
733
  failed: "failed";
734
+ completed: "completed";
735
+ canceled: "canceled";
735
736
  queued: "queued";
736
737
  running: "running";
737
- canceled: "canceled";
738
738
  approval_required: "approval_required";
739
739
  }>;
740
740
  approvalId: z.ZodNullable<z.ZodString>;
@@ -764,8 +764,8 @@ export declare const hostedMcpExecutionRunResponseSchema: z.ZodObject<{
764
764
  warning: "warning";
765
765
  resource: "resource";
766
766
  summary: "summary";
767
- log: "log";
768
767
  result: "result";
768
+ log: "log";
769
769
  }>;
770
770
  name: z.ZodString;
771
771
  mimeType: z.ZodNullable<z.ZodString>;
@@ -2,10 +2,10 @@ import { z } from "zod";
2
2
  export declare const meResponseSchema: z.ZodObject<{
3
3
  subject: z.ZodObject<{
4
4
  type: z.ZodEnum<{
5
+ team: "team";
5
6
  external: "external";
6
- user: "user";
7
7
  system: "system";
8
- team: "team";
8
+ user: "user";
9
9
  }>;
10
10
  id: z.ZodString;
11
11
  }, z.core.$strip>;
@@ -33,11 +33,11 @@ export declare const meResponseSchema: z.ZodObject<{
33
33
  slug: z.ZodNullable<z.ZodString>;
34
34
  role: z.ZodNullable<z.ZodString>;
35
35
  plan: z.ZodEnum<{
36
- personal: "personal";
36
+ free: "free";
37
+ internal: "internal";
37
38
  work: "work";
39
+ personal: "personal";
38
40
  enterprise: "enterprise";
39
- internal: "internal";
40
- free: "free";
41
41
  }>;
42
42
  }, z.core.$strip>>;
43
43
  intercom: z.ZodNullable<z.ZodObject<{
@@ -51,11 +51,11 @@ export declare const meResponseSchema: z.ZodObject<{
51
51
  company_id: z.ZodString;
52
52
  name: z.ZodString;
53
53
  plan: z.ZodOptional<z.ZodEnum<{
54
- personal: "personal";
54
+ free: "free";
55
+ internal: "internal";
55
56
  work: "work";
57
+ personal: "personal";
56
58
  enterprise: "enterprise";
57
- internal: "internal";
58
- free: "free";
59
59
  }>>;
60
60
  }, z.core.$strip>>;
61
61
  intercom_user_jwt: z.ZodString;
@@ -11,10 +11,10 @@ export declare const operationListResponseSchema: z.ZodObject<{
11
11
  kind: z.ZodString;
12
12
  status: z.ZodEnum<{
13
13
  failed: "failed";
14
+ canceled: "canceled";
14
15
  queued: "queued";
15
16
  running: "running";
16
17
  succeeded: "succeeded";
17
- canceled: "canceled";
18
18
  }>;
19
19
  resources: z.ZodArray<z.ZodObject<{
20
20
  type: z.ZodString;
@@ -35,9 +35,9 @@ export declare const operationListResponseSchema: z.ZodObject<{
35
35
  message: z.ZodString;
36
36
  path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
37
37
  provider: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
38
+ registrar: "registrar";
38
39
  wpcloud: "wpcloud";
39
40
  dns: "dns";
40
- registrar: "registrar";
41
41
  runtime: "runtime";
42
42
  }>>>;
43
43
  details: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
@@ -19,8 +19,8 @@ export type PlanDisabledBehavior = z.infer<typeof planDisabledBehaviorSchema>;
19
19
  export declare const PlanPolicyResponseSchema: z.ZodObject<{
20
20
  principal: z.ZodObject<{
21
21
  type: z.ZodEnum<{
22
- space: "space";
23
22
  site: "site";
23
+ space: "space";
24
24
  team: "team";
25
25
  external_principal: "external_principal";
26
26
  }>;
@@ -30,10 +30,10 @@ export declare const PlanPolicyResponseSchema: z.ZodObject<{
30
30
  spaceId: z.ZodOptional<z.ZodString>;
31
31
  plan: z.ZodEnum<{
32
32
  free: "free";
33
- personal: "personal";
33
+ internal: "internal";
34
34
  work: "work";
35
+ personal: "personal";
35
36
  enterprise: "enterprise";
36
- internal: "internal";
37
37
  }>;
38
38
  limits: z.ZodObject<{
39
39
  storageBytes: z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"unlimited">]>;
@@ -59,9 +59,9 @@ export declare const PlanPolicyResponseSchema: z.ZodObject<{
59
59
  }, z.core.$strip>>;
60
60
  warnings: z.ZodOptional<z.ZodArray<z.ZodObject<{
61
61
  severity: z.ZodEnum<{
62
- error: "error";
63
62
  info: "info";
64
63
  warning: "warning";
64
+ error: "error";
65
65
  }>;
66
66
  code: z.ZodString;
67
67
  message: z.ZodString;
@@ -157,9 +157,9 @@ export declare const accessLogListResponseSchema: z.ZodObject<{
157
157
  message: z.ZodString;
158
158
  path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
159
159
  provider: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
160
+ registrar: "registrar";
160
161
  wpcloud: "wpcloud";
161
162
  dns: "dns";
162
- registrar: "registrar";
163
163
  runtime: "runtime";
164
164
  }>>>;
165
165
  details: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
@@ -191,9 +191,9 @@ export declare const runtimeLogListResponseSchema: z.ZodObject<{
191
191
  message: z.ZodString;
192
192
  path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
193
193
  provider: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
194
+ registrar: "registrar";
194
195
  wpcloud: "wpcloud";
195
196
  dns: "dns";
196
- registrar: "registrar";
197
197
  runtime: "runtime";
198
198
  }>>>;
199
199
  details: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
@@ -262,9 +262,9 @@ export declare const analyticsResponseSchema: z.ZodObject<{
262
262
  message: z.ZodString;
263
263
  path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
264
264
  provider: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
265
+ registrar: "registrar";
265
266
  wpcloud: "wpcloud";
266
267
  dns: "dns";
267
- registrar: "registrar";
268
268
  runtime: "runtime";
269
269
  }>>>;
270
270
  details: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
@@ -1,7 +1,7 @@
1
1
  import { z } from "zod";
2
2
  export declare const repositoryConnectionTypeSchema: z.ZodEnum<{
3
- hosted: "hosted";
4
3
  connected: "connected";
4
+ hosted: "hosted";
5
5
  }>;
6
6
  export declare const repositoryConnectionSyncStatusSchema: z.ZodEnum<{
7
7
  failed: "failed";
@@ -19,8 +19,8 @@ export declare const RepositoryConnectionSchema: z.ZodObject<{
19
19
  generic: "generic";
20
20
  }>;
21
21
  connectionType: z.ZodEnum<{
22
- hosted: "hosted";
23
22
  connected: "connected";
23
+ hosted: "hosted";
24
24
  }>;
25
25
  repositoryId: z.ZodNullable<z.ZodString>;
26
26
  repositoryName: z.ZodString;
@@ -63,8 +63,8 @@ export declare const repositoryConnectionCreateSchema: z.ZodObject<{
63
63
  generic: "generic";
64
64
  }>>;
65
65
  connectionType: z.ZodDefault<z.ZodEnum<{
66
- hosted: "hosted";
67
66
  connected: "connected";
67
+ hosted: "hosted";
68
68
  }>>;
69
69
  repositoryId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
70
70
  repositoryName: z.ZodOptional<z.ZodString>;
@@ -92,8 +92,8 @@ export declare const repositoryConnectionCreateSchema: z.ZodObject<{
92
92
  }, z.core.$strip>;
93
93
  export declare const repositoryConnectionPatchSchema: z.ZodObject<{
94
94
  connectionType: z.ZodOptional<z.ZodEnum<{
95
- hosted: "hosted";
96
95
  connected: "connected";
96
+ hosted: "hosted";
97
97
  }>>;
98
98
  productionBranch: z.ZodOptional<z.ZodString>;
99
99
  cloneUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -181,8 +181,8 @@ export declare const repositoryWebhookDeliveryListQuerySchema: z.ZodObject<{
181
181
  limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
182
182
  cursor: z.ZodOptional<z.ZodString>;
183
183
  connectionType: z.ZodOptional<z.ZodEnum<{
184
- hosted: "hosted";
185
184
  connected: "connected";
185
+ hosted: "hosted";
186
186
  }>>;
187
187
  status: z.ZodOptional<z.ZodEnum<{
188
188
  failed: "failed";
@@ -9,9 +9,9 @@ export declare const DiagnosticSchema: z.ZodObject<{
9
9
  message: z.ZodString;
10
10
  path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
11
  provider: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
12
+ registrar: "registrar";
12
13
  wpcloud: "wpcloud";
13
14
  dns: "dns";
14
- registrar: "registrar";
15
15
  runtime: "runtime";
16
16
  }>>>;
17
17
  details: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
@@ -24,8 +24,8 @@ export declare const DiagnosticSchema: z.ZodObject<{
24
24
  export declare const PrincipalRefSchema: z.ZodObject<{
25
25
  tenantId: z.ZodString;
26
26
  principalType: z.ZodEnum<{
27
- external: "external";
28
27
  team: "team";
28
+ external: "external";
29
29
  }>;
30
30
  principalId: z.ZodString;
31
31
  }, z.core.$strip>;
@@ -47,8 +47,8 @@ export declare const SpaceSchema: z.ZodObject<{
47
47
  principal: z.ZodNullable<z.ZodObject<{
48
48
  tenantId: z.ZodString;
49
49
  principalType: z.ZodEnum<{
50
- external: "external";
51
50
  team: "team";
51
+ external: "external";
52
52
  }>;
53
53
  principalId: z.ZodString;
54
54
  }, z.core.$strip>>;
@@ -56,20 +56,20 @@ export declare const SpaceSchema: z.ZodObject<{
56
56
  slug: z.ZodString;
57
57
  title: z.ZodString;
58
58
  status: z.ZodEnum<{
59
- failed: "failed";
60
59
  active: "active";
61
60
  provisioning: "provisioning";
62
61
  updating: "updating";
63
62
  moving: "moving";
64
63
  deleting: "deleting";
64
+ failed: "failed";
65
65
  }>;
66
66
  disabled: z.ZodNullable<z.ZodObject<{
67
67
  at: z.ZodNullable<z.ZodString>;
68
68
  reasonCode: z.ZodEnum<{
69
- abuse_takedown: "abuse_takedown";
70
69
  anonymous_expired: "anonymous_expired";
71
- site_suspended: "site_suspended";
70
+ abuse_takedown: "abuse_takedown";
72
71
  tenant_suspended: "tenant_suspended";
72
+ site_suspended: "site_suspended";
73
73
  }>;
74
74
  }, z.core.$strip>>;
75
75
  claimState: z.ZodNullable<z.ZodObject<{
@@ -226,10 +226,10 @@ export declare const SpaceSchema: z.ZodObject<{
226
226
  kind: z.ZodString;
227
227
  status: z.ZodEnum<{
228
228
  failed: "failed";
229
+ canceled: "canceled";
229
230
  queued: "queued";
230
231
  running: "running";
231
232
  succeeded: "succeeded";
232
- canceled: "canceled";
233
233
  }>;
234
234
  resources: z.ZodArray<z.ZodObject<{
235
235
  type: z.ZodString;
@@ -250,9 +250,9 @@ export declare const SpaceSchema: z.ZodObject<{
250
250
  message: z.ZodString;
251
251
  path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
252
252
  provider: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
253
+ registrar: "registrar";
253
254
  wpcloud: "wpcloud";
254
255
  dns: "dns";
255
- registrar: "registrar";
256
256
  runtime: "runtime";
257
257
  }>>>;
258
258
  details: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
@@ -269,10 +269,10 @@ export declare const PublishSourceSchema: z.ZodObject<{
269
269
  kind: z.ZodEnum<{
270
270
  api: "api";
271
271
  dashboard: "dashboard";
272
- cli: "cli";
273
272
  build: "build";
274
273
  agent: "agent";
275
274
  direct_upload: "direct_upload";
275
+ cli: "cli";
276
276
  git: "git";
277
277
  import: "import";
278
278
  variable_update: "variable_update";
@@ -306,10 +306,10 @@ export declare const VersionSchema: z.ZodObject<{
306
306
  kind: z.ZodEnum<{
307
307
  api: "api";
308
308
  dashboard: "dashboard";
309
- cli: "cli";
310
309
  build: "build";
311
310
  agent: "agent";
312
311
  direct_upload: "direct_upload";
312
+ cli: "cli";
313
313
  git: "git";
314
314
  import: "import";
315
315
  variable_update: "variable_update";
@@ -336,14 +336,14 @@ export declare const VersionSchema: z.ZodObject<{
336
336
  status: z.ZodEnum<{
337
337
  failed: "failed";
338
338
  canceled: "canceled";
339
- ready: "ready";
340
339
  expired: "expired";
341
- created: "created";
342
340
  building: "building";
343
341
  prepared: "prepared";
342
+ created: "created";
344
343
  uploading: "uploading";
345
344
  uploaded: "uploaded";
346
345
  finalizing: "finalizing";
346
+ ready: "ready";
347
347
  }>;
348
348
  failureCode: z.ZodNullable<z.ZodString>;
349
349
  failureMessage: z.ZodNullable<z.ZodString>;
@@ -456,10 +456,10 @@ export declare const VersionSchema: z.ZodObject<{
456
456
  kind: z.ZodString;
457
457
  status: z.ZodEnum<{
458
458
  failed: "failed";
459
+ canceled: "canceled";
459
460
  queued: "queued";
460
461
  running: "running";
461
462
  succeeded: "succeeded";
462
- canceled: "canceled";
463
463
  }>;
464
464
  resources: z.ZodArray<z.ZodObject<{
465
465
  type: z.ZodString;
@@ -480,9 +480,9 @@ export declare const VersionSchema: z.ZodObject<{
480
480
  message: z.ZodString;
481
481
  path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
482
482
  provider: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
483
+ registrar: "registrar";
483
484
  wpcloud: "wpcloud";
484
485
  dns: "dns";
485
- registrar: "registrar";
486
486
  runtime: "runtime";
487
487
  }>>>;
488
488
  details: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
@@ -507,9 +507,9 @@ export declare const VersionSchema: z.ZodObject<{
507
507
  message: z.ZodString;
508
508
  path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
509
509
  provider: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
510
+ registrar: "registrar";
510
511
  wpcloud: "wpcloud";
511
512
  dns: "dns";
512
- registrar: "registrar";
513
513
  runtime: "runtime";
514
514
  }>>>;
515
515
  details: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
@@ -296,9 +296,9 @@ export declare const runtimeRouteUpdateResponseSchema: z.ZodObject<{
296
296
  export declare const runtimeTombstonesUpdateRequestSchema: z.ZodObject<{
297
297
  hostnames: z.ZodDefault<z.ZodArray<z.ZodString>>;
298
298
  mode: z.ZodDefault<z.ZodEnum<{
299
- replace: "replace";
300
- add: "add";
301
299
  remove: "remove";
300
+ add: "add";
301
+ replace: "replace";
302
302
  }>>;
303
303
  reason: z.ZodOptional<z.ZodString>;
304
304
  category: z.ZodOptional<z.ZodString>;
@@ -331,8 +331,8 @@ export declare const runtimeSpaceExportResponseSchema: z.ZodObject<{
331
331
  space_id: z.ZodString;
332
332
  status: z.ZodEnum<{
333
333
  running: "running";
334
- waiting_for_archive: "waiting_for_archive";
335
334
  pending: "pending";
335
+ waiting_for_archive: "waiting_for_archive";
336
336
  complete: "complete";
337
337
  }>;
338
338
  cursor: z.ZodNumber;
@@ -357,8 +357,8 @@ export declare const runtimeSpaceImportResponseSchema: z.ZodObject<{
357
357
  space_id: z.ZodString;
358
358
  status: z.ZodEnum<{
359
359
  running: "running";
360
- waiting_for_archive: "waiting_for_archive";
361
360
  pending: "pending";
361
+ waiting_for_archive: "waiting_for_archive";
362
362
  complete: "complete";
363
363
  }>;
364
364
  cursor: z.ZodNumber;