@spacefast/common 0.0.2 → 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 +16 -4
  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 +2 -1
@@ -15,8 +15,8 @@ export declare const SpaceCreateResponseSchema: z.ZodObject<{
15
15
  principal: z.ZodNullable<z.ZodObject<{
16
16
  tenantId: z.ZodString;
17
17
  principalType: z.ZodEnum<{
18
- external: "external";
19
18
  team: "team";
19
+ external: "external";
20
20
  }>;
21
21
  principalId: z.ZodString;
22
22
  }, z.core.$strip>>;
@@ -24,20 +24,20 @@ export declare const SpaceCreateResponseSchema: z.ZodObject<{
24
24
  slug: z.ZodString;
25
25
  title: z.ZodString;
26
26
  status: z.ZodEnum<{
27
- failed: "failed";
28
- active: "active";
29
27
  provisioning: "provisioning";
28
+ active: "active";
30
29
  updating: "updating";
31
30
  moving: "moving";
32
31
  deleting: "deleting";
32
+ failed: "failed";
33
33
  }>;
34
34
  disabled: z.ZodNullable<z.ZodObject<{
35
35
  at: z.ZodNullable<z.ZodString>;
36
36
  reasonCode: z.ZodEnum<{
37
- abuse_takedown: "abuse_takedown";
38
37
  anonymous_expired: "anonymous_expired";
39
- site_suspended: "site_suspended";
38
+ abuse_takedown: "abuse_takedown";
40
39
  tenant_suspended: "tenant_suspended";
40
+ site_suspended: "site_suspended";
41
41
  }>;
42
42
  }, z.core.$strip>>;
43
43
  claimState: z.ZodNullable<z.ZodObject<{
@@ -211,9 +211,9 @@ export declare const SpaceCreateResponseSchema: z.ZodObject<{
211
211
  diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
212
212
  code: z.ZodString;
213
213
  severity: z.ZodEnum<{
214
- info: "info";
215
214
  warning: "warning";
216
215
  error: "error";
216
+ info: "info";
217
217
  }>;
218
218
  message: z.ZodString;
219
219
  path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -243,9 +243,9 @@ export declare const SpaceCreateResponseSchema: z.ZodObject<{
243
243
  export declare const spaceDiagnosticSchema: z.ZodObject<{
244
244
  code: z.ZodString;
245
245
  severity: z.ZodEnum<{
246
- info: "info";
247
246
  warning: "warning";
248
247
  error: "error";
248
+ info: "info";
249
249
  }>;
250
250
  message: z.ZodString;
251
251
  path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -267,9 +267,9 @@ export declare const spaceDiagnosticListResponseSchema: z.ZodObject<{
267
267
  data: z.ZodArray<z.ZodObject<{
268
268
  code: z.ZodString;
269
269
  severity: z.ZodEnum<{
270
- info: "info";
271
270
  warning: "warning";
272
271
  error: "error";
272
+ info: "info";
273
273
  }>;
274
274
  message: z.ZodString;
275
275
  path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -293,8 +293,8 @@ export declare const spaceDiagnosticListResponseSchema: z.ZodObject<{
293
293
  }, z.core.$strip>;
294
294
  export declare const principalRefInputSchema: z.ZodObject<{
295
295
  type: z.ZodEnum<{
296
- external: "external";
297
296
  team: "team";
297
+ external: "external";
298
298
  }>;
299
299
  id: z.ZodString;
300
300
  }, z.core.$strip>;
@@ -303,8 +303,8 @@ export declare const spaceCreateSchema: z.ZodDefault<z.ZodOptional<z.ZodObject<{
303
303
  teamId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
304
304
  principal: z.ZodOptional<z.ZodObject<{
305
305
  type: z.ZodEnum<{
306
- external: "external";
307
306
  team: "team";
307
+ external: "external";
308
308
  }>;
309
309
  id: z.ZodString;
310
310
  }, z.core.$strip>>;
@@ -491,6 +491,90 @@ export declare const spaceClaimSchema: z.ZodObject<{
491
491
  teamId: z.ZodOptional<z.ZodString>;
492
492
  targetTeamId: z.ZodOptional<z.ZodString>;
493
493
  }, z.core.$strip>;
494
+ export declare const anonymousClaimAssignSchema: z.ZodObject<{
495
+ teamId: z.ZodOptional<z.ZodString>;
496
+ }, z.core.$strip>;
497
+ export declare const anonymousClaimTeamSchema: z.ZodObject<{
498
+ id: z.ZodString;
499
+ slug: z.ZodString;
500
+ name: z.ZodString;
501
+ }, z.core.$strip>;
502
+ export declare const anonymousClaimSpacePreviewSchema: z.ZodObject<{
503
+ id: z.ZodString;
504
+ title: z.ZodString;
505
+ liveUrl: z.ZodNullable<z.ZodString>;
506
+ createdAt: z.ZodNullable<z.ZodString>;
507
+ }, z.core.$strip>;
508
+ export declare const anonymousClaimResponseSchema: z.ZodObject<{
509
+ state: z.ZodEnum<{
510
+ unclaimed: "unclaimed";
511
+ claimed: "claimed";
512
+ }>;
513
+ action: z.ZodEnum<{
514
+ claimed: "claimed";
515
+ login_required: "login_required";
516
+ team_required: "team_required";
517
+ confirm_assign: "confirm_assign";
518
+ }>;
519
+ space: z.ZodObject<{
520
+ id: z.ZodString;
521
+ title: z.ZodString;
522
+ liveUrl: z.ZodNullable<z.ZodString>;
523
+ createdAt: z.ZodNullable<z.ZodString>;
524
+ }, z.core.$strip>;
525
+ claim: z.ZodObject<{
526
+ expiresAt: z.ZodNullable<z.ZodString>;
527
+ claimedAt: z.ZodNullable<z.ZodString>;
528
+ }, z.core.$strip>;
529
+ teams: z.ZodOptional<z.ZodArray<z.ZodObject<{
530
+ id: z.ZodString;
531
+ slug: z.ZodString;
532
+ name: z.ZodString;
533
+ }, z.core.$strip>>>;
534
+ }, z.core.$strip>;
535
+ export declare const anonymousClaimStatusResponseSchema: z.ZodObject<{
536
+ publish: z.ZodObject<{
537
+ status: z.ZodEnum<{
538
+ failed: "failed";
539
+ claimed: "claimed";
540
+ pending: "pending";
541
+ ready: "ready";
542
+ expired: "expired";
543
+ }>;
544
+ operationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
545
+ }, z.core.$strip>;
546
+ space: z.ZodObject<{
547
+ id: z.ZodString;
548
+ liveUrl: z.ZodNullable<z.ZodString>;
549
+ }, z.core.$strip>;
550
+ version: z.ZodObject<{
551
+ id: z.ZodString;
552
+ ref: z.ZodNullable<z.ZodString>;
553
+ number: z.ZodNullable<z.ZodNumber>;
554
+ status: z.ZodEnum<{
555
+ failed: "failed";
556
+ canceled: "canceled";
557
+ ready: "ready";
558
+ expired: "expired";
559
+ building: "building";
560
+ prepared: "prepared";
561
+ created: "created";
562
+ uploading: "uploading";
563
+ uploaded: "uploaded";
564
+ finalizing: "finalizing";
565
+ }>;
566
+ immutableUrl: z.ZodString;
567
+ manifestHash: z.ZodNullable<z.ZodString>;
568
+ }, z.core.$strip>;
569
+ claim: z.ZodObject<{
570
+ state: z.ZodEnum<{
571
+ unclaimed: "unclaimed";
572
+ claimed: "claimed";
573
+ }>;
574
+ url: z.ZodNullable<z.ZodString>;
575
+ expiresAt: z.ZodNullable<z.ZodString>;
576
+ }, z.core.$strip>;
577
+ }, z.core.$strip>;
494
578
  export declare const spaceClaimReminderSchema: z.ZodObject<{
495
579
  email: z.ZodString;
496
580
  }, z.core.$strip>;
@@ -500,12 +584,12 @@ export declare const spaceClaimReminderResponseSchema: z.ZodObject<{
500
584
  export declare const spaceVersionCreateSchema: z.ZodObject<{
501
585
  source: z.ZodOptional<z.ZodObject<{
502
586
  kind: z.ZodEnum<{
503
- api: "api";
504
- dashboard: "dashboard";
505
- cli: "cli";
506
587
  build: "build";
507
588
  agent: "agent";
508
589
  direct_upload: "direct_upload";
590
+ cli: "cli";
591
+ dashboard: "dashboard";
592
+ api: "api";
509
593
  git: "git";
510
594
  import: "import";
511
595
  variable_update: "variable_update";
@@ -552,12 +636,12 @@ export declare const spaceVersionListSchema: z.ZodObject<{
552
636
  spaceId: z.ZodString;
553
637
  source: z.ZodNullable<z.ZodObject<{
554
638
  kind: z.ZodEnum<{
555
- api: "api";
556
- dashboard: "dashboard";
557
- cli: "cli";
558
639
  build: "build";
559
640
  agent: "agent";
560
641
  direct_upload: "direct_upload";
642
+ cli: "cli";
643
+ dashboard: "dashboard";
644
+ api: "api";
561
645
  git: "git";
562
646
  import: "import";
563
647
  variable_update: "variable_update";
@@ -586,9 +670,9 @@ export declare const spaceVersionListSchema: z.ZodObject<{
586
670
  canceled: "canceled";
587
671
  ready: "ready";
588
672
  expired: "expired";
589
- created: "created";
590
673
  building: "building";
591
674
  prepared: "prepared";
675
+ created: "created";
592
676
  uploading: "uploading";
593
677
  uploaded: "uploaded";
594
678
  finalizing: "finalizing";
@@ -721,9 +805,9 @@ export declare const spaceVersionListSchema: z.ZodObject<{
721
805
  diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
722
806
  code: z.ZodString;
723
807
  severity: z.ZodEnum<{
724
- info: "info";
725
808
  warning: "warning";
726
809
  error: "error";
810
+ info: "info";
727
811
  }>;
728
812
  message: z.ZodString;
729
813
  path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -748,9 +832,9 @@ export declare const spaceVersionListSchema: z.ZodObject<{
748
832
  diagnostics: z.ZodDefault<z.ZodArray<z.ZodObject<{
749
833
  code: z.ZodString;
750
834
  severity: z.ZodEnum<{
751
- info: "info";
752
835
  warning: "warning";
753
836
  error: "error";
837
+ info: "info";
754
838
  }>;
755
839
  message: z.ZodString;
756
840
  path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -788,8 +872,8 @@ export declare const spaceListSchema: z.ZodObject<{
788
872
  principal: z.ZodNullable<z.ZodObject<{
789
873
  tenantId: z.ZodString;
790
874
  principalType: z.ZodEnum<{
791
- external: "external";
792
875
  team: "team";
876
+ external: "external";
793
877
  }>;
794
878
  principalId: z.ZodString;
795
879
  }, z.core.$strip>>;
@@ -797,20 +881,20 @@ export declare const spaceListSchema: z.ZodObject<{
797
881
  slug: z.ZodString;
798
882
  title: z.ZodString;
799
883
  status: z.ZodEnum<{
800
- failed: "failed";
801
- active: "active";
802
884
  provisioning: "provisioning";
885
+ active: "active";
803
886
  updating: "updating";
804
887
  moving: "moving";
805
888
  deleting: "deleting";
889
+ failed: "failed";
806
890
  }>;
807
891
  disabled: z.ZodNullable<z.ZodObject<{
808
892
  at: z.ZodNullable<z.ZodString>;
809
893
  reasonCode: z.ZodEnum<{
810
- abuse_takedown: "abuse_takedown";
811
894
  anonymous_expired: "anonymous_expired";
812
- site_suspended: "site_suspended";
895
+ abuse_takedown: "abuse_takedown";
813
896
  tenant_suspended: "tenant_suspended";
897
+ site_suspended: "site_suspended";
814
898
  }>;
815
899
  }, z.core.$strip>>;
816
900
  claimState: z.ZodNullable<z.ZodObject<{
@@ -984,9 +1068,9 @@ export declare const spaceListSchema: z.ZodObject<{
984
1068
  diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
985
1069
  code: z.ZodString;
986
1070
  severity: z.ZodEnum<{
987
- info: "info";
988
1071
  warning: "warning";
989
1072
  error: "error";
1073
+ info: "info";
990
1074
  }>;
991
1075
  message: z.ZodString;
992
1076
  path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -1043,8 +1127,8 @@ export declare const versionLogListResponseSchema: z.ZodObject<{
1043
1127
  export declare const spaceVersionGeneratedPreviewSchema: z.ZodObject<{
1044
1128
  kind: z.ZodLiteral<"image">;
1045
1129
  status: z.ZodEnum<{
1046
- ready: "ready";
1047
1130
  pending: "pending";
1131
+ ready: "ready";
1048
1132
  }>;
1049
1133
  key: z.ZodString;
1050
1134
  cacheScope: z.ZodEnum<{
@@ -1065,8 +1149,8 @@ export declare const spaceVersionFileSchema: z.ZodObject<{
1065
1149
  generatedPreview: z.ZodNullable<z.ZodObject<{
1066
1150
  kind: z.ZodLiteral<"image">;
1067
1151
  status: z.ZodEnum<{
1068
- ready: "ready";
1069
1152
  pending: "pending";
1153
+ ready: "ready";
1070
1154
  }>;
1071
1155
  key: z.ZodString;
1072
1156
  cacheScope: z.ZodEnum<{
@@ -1097,8 +1181,8 @@ export declare const spaceVersionFileIndexEntrySchema: z.ZodObject<{
1097
1181
  generatedPreview: z.ZodNullable<z.ZodObject<{
1098
1182
  kind: z.ZodLiteral<"image">;
1099
1183
  status: z.ZodEnum<{
1100
- ready: "ready";
1101
1184
  pending: "pending";
1185
+ ready: "ready";
1102
1186
  }>;
1103
1187
  key: z.ZodString;
1104
1188
  cacheScope: z.ZodEnum<{
@@ -1131,8 +1215,8 @@ export declare const spaceVersionFileIndexSchema: z.ZodObject<{
1131
1215
  generatedPreview: z.ZodNullable<z.ZodObject<{
1132
1216
  kind: z.ZodLiteral<"image">;
1133
1217
  status: z.ZodEnum<{
1134
- ready: "ready";
1135
1218
  pending: "pending";
1219
+ ready: "ready";
1136
1220
  }>;
1137
1221
  key: z.ZodString;
1138
1222
  cacheScope: z.ZodEnum<{
@@ -1164,8 +1248,8 @@ export declare const spaceVersionFileIndexSchema: z.ZodObject<{
1164
1248
  generatedPreview: z.ZodNullable<z.ZodObject<{
1165
1249
  kind: z.ZodLiteral<"image">;
1166
1250
  status: z.ZodEnum<{
1167
- ready: "ready";
1168
1251
  pending: "pending";
1252
+ ready: "ready";
1169
1253
  }>;
1170
1254
  key: z.ZodString;
1171
1255
  cacheScope: z.ZodEnum<{
@@ -1197,8 +1281,8 @@ export declare const spaceVersionFileIndexSchema: z.ZodObject<{
1197
1281
  generatedPreview: z.ZodNullable<z.ZodObject<{
1198
1282
  kind: z.ZodLiteral<"image">;
1199
1283
  status: z.ZodEnum<{
1200
- ready: "ready";
1201
1284
  pending: "pending";
1285
+ ready: "ready";
1202
1286
  }>;
1203
1287
  key: z.ZodString;
1204
1288
  cacheScope: z.ZodEnum<{
@@ -1232,8 +1316,8 @@ export declare const spaceVersionFilesResponseSchema: z.ZodObject<{
1232
1316
  generatedPreview: z.ZodNullable<z.ZodObject<{
1233
1317
  kind: z.ZodLiteral<"image">;
1234
1318
  status: z.ZodEnum<{
1235
- ready: "ready";
1236
1319
  pending: "pending";
1320
+ ready: "ready";
1237
1321
  }>;
1238
1322
  key: z.ZodString;
1239
1323
  cacheScope: z.ZodEnum<{
@@ -1265,8 +1349,8 @@ export declare const spaceVersionFilesResponseSchema: z.ZodObject<{
1265
1349
  generatedPreview: z.ZodNullable<z.ZodObject<{
1266
1350
  kind: z.ZodLiteral<"image">;
1267
1351
  status: z.ZodEnum<{
1268
- ready: "ready";
1269
1352
  pending: "pending";
1353
+ ready: "ready";
1270
1354
  }>;
1271
1355
  key: z.ZodString;
1272
1356
  cacheScope: z.ZodEnum<{
@@ -1298,8 +1382,8 @@ export declare const spaceVersionFilesResponseSchema: z.ZodObject<{
1298
1382
  generatedPreview: z.ZodNullable<z.ZodObject<{
1299
1383
  kind: z.ZodLiteral<"image">;
1300
1384
  status: z.ZodEnum<{
1301
- ready: "ready";
1302
1385
  pending: "pending";
1386
+ ready: "ready";
1303
1387
  }>;
1304
1388
  key: z.ZodString;
1305
1389
  cacheScope: z.ZodEnum<{
@@ -1331,8 +1415,8 @@ export declare const spaceVersionFilesResponseSchema: z.ZodObject<{
1331
1415
  generatedPreview: z.ZodNullable<z.ZodObject<{
1332
1416
  kind: z.ZodLiteral<"image">;
1333
1417
  status: z.ZodEnum<{
1334
- ready: "ready";
1335
1418
  pending: "pending";
1419
+ ready: "ready";
1336
1420
  }>;
1337
1421
  key: z.ZodString;
1338
1422
  cacheScope: z.ZodEnum<{
@@ -1365,8 +1449,8 @@ export declare const spaceFilesResponseSchema: z.ZodObject<{
1365
1449
  generatedPreview: z.ZodNullable<z.ZodObject<{
1366
1450
  kind: z.ZodLiteral<"image">;
1367
1451
  status: z.ZodEnum<{
1368
- ready: "ready";
1369
1452
  pending: "pending";
1453
+ ready: "ready";
1370
1454
  }>;
1371
1455
  key: z.ZodString;
1372
1456
  cacheScope: z.ZodEnum<{
@@ -1398,8 +1482,8 @@ export declare const spaceFilesResponseSchema: z.ZodObject<{
1398
1482
  generatedPreview: z.ZodNullable<z.ZodObject<{
1399
1483
  kind: z.ZodLiteral<"image">;
1400
1484
  status: z.ZodEnum<{
1401
- ready: "ready";
1402
1485
  pending: "pending";
1486
+ ready: "ready";
1403
1487
  }>;
1404
1488
  key: z.ZodString;
1405
1489
  cacheScope: z.ZodEnum<{
@@ -1431,8 +1515,8 @@ export declare const spaceFilesResponseSchema: z.ZodObject<{
1431
1515
  generatedPreview: z.ZodNullable<z.ZodObject<{
1432
1516
  kind: z.ZodLiteral<"image">;
1433
1517
  status: z.ZodEnum<{
1434
- ready: "ready";
1435
1518
  pending: "pending";
1519
+ ready: "ready";
1436
1520
  }>;
1437
1521
  key: z.ZodString;
1438
1522
  cacheScope: z.ZodEnum<{
@@ -1464,8 +1548,8 @@ export declare const spaceFilesResponseSchema: z.ZodObject<{
1464
1548
  generatedPreview: z.ZodNullable<z.ZodObject<{
1465
1549
  kind: z.ZodLiteral<"image">;
1466
1550
  status: z.ZodEnum<{
1467
- ready: "ready";
1468
1551
  pending: "pending";
1552
+ ready: "ready";
1469
1553
  }>;
1470
1554
  key: z.ZodString;
1471
1555
  cacheScope: z.ZodEnum<{
@@ -1496,8 +1580,8 @@ export declare const spaceVersionFileResponseSchema: z.ZodObject<{
1496
1580
  contentType: z.ZodNullable<z.ZodString>;
1497
1581
  sha256: z.ZodNullable<z.ZodString>;
1498
1582
  encoding: z.ZodEnum<{
1499
- base64: "base64";
1500
1583
  utf8: "utf8";
1584
+ base64: "base64";
1501
1585
  }>;
1502
1586
  content: z.ZodString;
1503
1587
  truncated: z.ZodBoolean;
@@ -1543,9 +1627,9 @@ export declare const spaceVersionConventionArtifactPathSchema: z.ZodEnum<{
1543
1627
  _headers: "_headers";
1544
1628
  }>;
1545
1629
  export declare const spaceVersionConventionArtifactSourceSchema: z.ZodEnum<{
1546
- override: "override";
1547
1630
  inherited: "inherited";
1548
1631
  uploaded: "uploaded";
1632
+ override: "override";
1549
1633
  generated: "generated";
1550
1634
  missing: "missing";
1551
1635
  }>;
@@ -1559,9 +1643,9 @@ export declare const spaceVersionConventionArtifactMetadataSchema: z.ZodObject<{
1559
1643
  _headers: "_headers";
1560
1644
  }>;
1561
1645
  source: z.ZodEnum<{
1562
- override: "override";
1563
1646
  inherited: "inherited";
1564
1647
  uploaded: "uploaded";
1648
+ override: "override";
1565
1649
  generated: "generated";
1566
1650
  missing: "missing";
1567
1651
  }>;
@@ -1585,9 +1669,9 @@ export declare const spaceVersionConventionArtifactsResponseSchema: z.ZodObject<
1585
1669
  _headers: "_headers";
1586
1670
  }>;
1587
1671
  source: z.ZodEnum<{
1588
- override: "override";
1589
1672
  inherited: "inherited";
1590
1673
  uploaded: "uploaded";
1674
+ override: "override";
1591
1675
  generated: "generated";
1592
1676
  missing: "missing";
1593
1677
  }>;
@@ -1620,9 +1704,9 @@ export declare const spaceVersionConventionArtifactContentResponseSchema: z.ZodO
1620
1704
  _headers: "_headers";
1621
1705
  }>;
1622
1706
  source: z.ZodEnum<{
1623
- override: "override";
1624
1707
  inherited: "inherited";
1625
1708
  uploaded: "uploaded";
1709
+ override: "override";
1626
1710
  generated: "generated";
1627
1711
  missing: "missing";
1628
1712
  }>;
@@ -1634,8 +1718,8 @@ export declare const spaceVersionConventionArtifactContentResponseSchema: z.ZodO
1634
1718
  warningCount: z.ZodNumber;
1635
1719
  errorCount: z.ZodNumber;
1636
1720
  encoding: z.ZodEnum<{
1637
- base64: "base64";
1638
1721
  utf8: "utf8";
1722
+ base64: "base64";
1639
1723
  }>;
1640
1724
  content: z.ZodString;
1641
1725
  truncated: z.ZodBoolean;
@@ -1667,9 +1751,9 @@ export declare const spaceVersionComputedRoutingSummarySchema: z.ZodObject<{
1667
1751
  _headers: "_headers";
1668
1752
  }>;
1669
1753
  source: z.ZodEnum<{
1670
- override: "override";
1671
1754
  inherited: "inherited";
1672
1755
  uploaded: "uploaded";
1756
+ override: "override";
1673
1757
  generated: "generated";
1674
1758
  missing: "missing";
1675
1759
  }>;
@@ -1706,24 +1790,24 @@ export declare const spaceVersionComputedRoutingSummarySchema: z.ZodObject<{
1706
1790
  }, z.core.$strip>>;
1707
1791
  }, z.core.$strip>;
1708
1792
  export declare const spaceVersionFileDiffStatusSchema: z.ZodEnum<{
1709
- binary: "binary";
1710
1793
  added: "added";
1711
1794
  modified: "modified";
1712
1795
  deleted: "deleted";
1713
1796
  renamed: "renamed";
1714
1797
  unchanged: "unchanged";
1798
+ binary: "binary";
1715
1799
  too_large: "too_large";
1716
1800
  }>;
1717
1801
  export declare const spaceVersionFileDiffEntrySchema: z.ZodObject<{
1718
1802
  path: z.ZodString;
1719
1803
  oldPath: z.ZodNullable<z.ZodString>;
1720
1804
  status: z.ZodEnum<{
1721
- binary: "binary";
1722
1805
  added: "added";
1723
1806
  modified: "modified";
1724
1807
  deleted: "deleted";
1725
1808
  renamed: "renamed";
1726
1809
  unchanged: "unchanged";
1810
+ binary: "binary";
1727
1811
  too_large: "too_large";
1728
1812
  }>;
1729
1813
  before: z.ZodNullable<z.ZodObject<{
@@ -1736,8 +1820,8 @@ export declare const spaceVersionFileDiffEntrySchema: z.ZodObject<{
1736
1820
  generatedPreview: z.ZodNullable<z.ZodObject<{
1737
1821
  kind: z.ZodLiteral<"image">;
1738
1822
  status: z.ZodEnum<{
1739
- ready: "ready";
1740
1823
  pending: "pending";
1824
+ ready: "ready";
1741
1825
  }>;
1742
1826
  key: z.ZodString;
1743
1827
  cacheScope: z.ZodEnum<{
@@ -1759,8 +1843,8 @@ export declare const spaceVersionFileDiffEntrySchema: z.ZodObject<{
1759
1843
  generatedPreview: z.ZodNullable<z.ZodObject<{
1760
1844
  kind: z.ZodLiteral<"image">;
1761
1845
  status: z.ZodEnum<{
1762
- ready: "ready";
1763
1846
  pending: "pending";
1847
+ ready: "ready";
1764
1848
  }>;
1765
1849
  key: z.ZodString;
1766
1850
  cacheScope: z.ZodEnum<{
@@ -1788,12 +1872,12 @@ export declare const spaceVersionFileDiffResponseSchema: z.ZodObject<{
1788
1872
  path: z.ZodString;
1789
1873
  oldPath: z.ZodNullable<z.ZodString>;
1790
1874
  status: z.ZodEnum<{
1791
- binary: "binary";
1792
1875
  added: "added";
1793
1876
  modified: "modified";
1794
1877
  deleted: "deleted";
1795
1878
  renamed: "renamed";
1796
1879
  unchanged: "unchanged";
1880
+ binary: "binary";
1797
1881
  too_large: "too_large";
1798
1882
  }>;
1799
1883
  before: z.ZodNullable<z.ZodObject<{
@@ -1806,8 +1890,8 @@ export declare const spaceVersionFileDiffResponseSchema: z.ZodObject<{
1806
1890
  generatedPreview: z.ZodNullable<z.ZodObject<{
1807
1891
  kind: z.ZodLiteral<"image">;
1808
1892
  status: z.ZodEnum<{
1809
- ready: "ready";
1810
1893
  pending: "pending";
1894
+ ready: "ready";
1811
1895
  }>;
1812
1896
  key: z.ZodString;
1813
1897
  cacheScope: z.ZodEnum<{
@@ -1829,8 +1913,8 @@ export declare const spaceVersionFileDiffResponseSchema: z.ZodObject<{
1829
1913
  generatedPreview: z.ZodNullable<z.ZodObject<{
1830
1914
  kind: z.ZodLiteral<"image">;
1831
1915
  status: z.ZodEnum<{
1832
- ready: "ready";
1833
1916
  pending: "pending";
1917
+ ready: "ready";
1834
1918
  }>;
1835
1919
  key: z.ZodString;
1836
1920
  cacheScope: z.ZodEnum<{
@@ -1854,8 +1938,8 @@ export declare const spaceVersionIntentResponseSchema: z.ZodObject<{
1854
1938
  upload: z.ZodNullable<z.ZodObject<{
1855
1939
  id: z.ZodString;
1856
1940
  mode: z.ZodEnum<{
1857
- dist: "dist";
1858
1941
  source: "source";
1942
+ dist: "dist";
1859
1943
  }>;
1860
1944
  expiresAt: z.ZodString;
1861
1945
  summary: z.ZodObject<{
@@ -1896,9 +1980,9 @@ export declare const spaceVersionIntentResponseSchema: z.ZodObject<{
1896
1980
  diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
1897
1981
  code: z.ZodString;
1898
1982
  severity: z.ZodEnum<{
1899
- info: "info";
1900
1983
  warning: "warning";
1901
1984
  error: "error";
1985
+ info: "info";
1902
1986
  }>;
1903
1987
  message: z.ZodString;
1904
1988
  path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -1922,8 +2006,8 @@ export declare const publishRequestSchema: z.ZodObject<{
1922
2006
  teamId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1923
2007
  principal: z.ZodOptional<z.ZodObject<{
1924
2008
  type: z.ZodEnum<{
1925
- external: "external";
1926
2009
  team: "team";
2010
+ external: "external";
1927
2011
  }>;
1928
2012
  id: z.ZodString;
1929
2013
  }, z.core.$strip>>;
@@ -1937,12 +2021,12 @@ export declare const publishRequestSchema: z.ZodObject<{
1937
2021
  deletePaths: z.ZodDefault<z.ZodArray<z.ZodString>>;
1938
2022
  source: z.ZodOptional<z.ZodObject<{
1939
2023
  kind: z.ZodEnum<{
1940
- api: "api";
1941
- dashboard: "dashboard";
1942
- cli: "cli";
1943
2024
  build: "build";
1944
2025
  agent: "agent";
1945
2026
  direct_upload: "direct_upload";
2027
+ cli: "cli";
2028
+ dashboard: "dashboard";
2029
+ api: "api";
1946
2030
  git: "git";
1947
2031
  import: "import";
1948
2032
  variable_update: "variable_update";
@@ -2067,8 +2151,8 @@ export declare const publishRequestSchema: z.ZodObject<{
2067
2151
  export declare const publishUploadReceiptSchema: z.ZodObject<{
2068
2152
  id: z.ZodString;
2069
2153
  mode: z.ZodEnum<{
2070
- dist: "dist";
2071
2154
  source: "source";
2155
+ dist: "dist";
2072
2156
  }>;
2073
2157
  expiresAt: z.ZodString;
2074
2158
  summary: z.ZodObject<{
@@ -2109,9 +2193,9 @@ export declare const publishUploadReceiptSchema: z.ZodObject<{
2109
2193
  diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
2110
2194
  code: z.ZodString;
2111
2195
  severity: z.ZodEnum<{
2112
- info: "info";
2113
2196
  warning: "warning";
2114
2197
  error: "error";
2198
+ info: "info";
2115
2199
  }>;
2116
2200
  message: z.ZodString;
2117
2201
  path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -2141,14 +2225,16 @@ export declare const publishReceiptVersionSchema: z.ZodObject<{
2141
2225
  canceled: "canceled";
2142
2226
  ready: "ready";
2143
2227
  expired: "expired";
2144
- created: "created";
2145
2228
  building: "building";
2146
2229
  prepared: "prepared";
2230
+ created: "created";
2147
2231
  uploading: "uploading";
2148
2232
  uploaded: "uploaded";
2149
2233
  finalizing: "finalizing";
2150
2234
  }>;
2151
- immutableUrl: z.ZodNullable<z.ZodString>;
2235
+ immutableUrl: z.ZodString;
2236
+ ref: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2237
+ number: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2152
2238
  manifestHash: z.ZodNullable<z.ZodString>;
2153
2239
  }, z.core.$strip>;
2154
2240
  export declare const publishReceiptSchema: z.ZodObject<{
@@ -2166,14 +2252,16 @@ export declare const publishReceiptSchema: z.ZodObject<{
2166
2252
  canceled: "canceled";
2167
2253
  ready: "ready";
2168
2254
  expired: "expired";
2169
- created: "created";
2170
2255
  building: "building";
2171
2256
  prepared: "prepared";
2257
+ created: "created";
2172
2258
  uploading: "uploading";
2173
2259
  uploaded: "uploaded";
2174
2260
  finalizing: "finalizing";
2175
2261
  }>;
2176
- immutableUrl: z.ZodNullable<z.ZodString>;
2262
+ immutableUrl: z.ZodString;
2263
+ ref: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2264
+ number: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2177
2265
  manifestHash: z.ZodNullable<z.ZodString>;
2178
2266
  }, z.core.$strip>;
2179
2267
  operation: z.ZodOptional<z.ZodObject<{
@@ -2198,9 +2286,9 @@ export declare const publishReceiptSchema: z.ZodObject<{
2198
2286
  diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
2199
2287
  code: z.ZodString;
2200
2288
  severity: z.ZodEnum<{
2201
- info: "info";
2202
2289
  warning: "warning";
2203
2290
  error: "error";
2291
+ info: "info";
2204
2292
  }>;
2205
2293
  message: z.ZodString;
2206
2294
  path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -2221,8 +2309,8 @@ export declare const publishReceiptSchema: z.ZodObject<{
2221
2309
  upload: z.ZodOptional<z.ZodObject<{
2222
2310
  id: z.ZodString;
2223
2311
  mode: z.ZodEnum<{
2224
- dist: "dist";
2225
2312
  source: "source";
2313
+ dist: "dist";
2226
2314
  }>;
2227
2315
  expiresAt: z.ZodString;
2228
2316
  summary: z.ZodObject<{
@@ -2263,9 +2351,9 @@ export declare const publishReceiptSchema: z.ZodObject<{
2263
2351
  diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
2264
2352
  code: z.ZodString;
2265
2353
  severity: z.ZodEnum<{
2266
- info: "info";
2267
2354
  warning: "warning";
2268
2355
  error: "error";
2356
+ info: "info";
2269
2357
  }>;
2270
2358
  message: z.ZodString;
2271
2359
  path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -2289,9 +2377,9 @@ export declare const publishReceiptSchema: z.ZodObject<{
2289
2377
  diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
2290
2378
  code: z.ZodString;
2291
2379
  severity: z.ZodEnum<{
2292
- info: "info";
2293
2380
  warning: "warning";
2294
2381
  error: "error";
2382
+ info: "info";
2295
2383
  }>;
2296
2384
  message: z.ZodString;
2297
2385
  path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -2311,6 +2399,8 @@ export declare const publishReceiptSchema: z.ZodObject<{
2311
2399
  promote: z.ZodOptional<z.ZodString>;
2312
2400
  operation: z.ZodOptional<z.ZodString>;
2313
2401
  inspect: z.ZodOptional<z.ZodString>;
2402
+ version: z.ZodOptional<z.ZodString>;
2403
+ status: z.ZodOptional<z.ZodString>;
2314
2404
  }, z.core.$strip>>;
2315
2405
  }, z.core.$strip>;
2316
2406
  export declare const spaceVersionResumeResponseSchema: z.ZodObject<{
@@ -2318,8 +2408,8 @@ export declare const spaceVersionResumeResponseSchema: z.ZodObject<{
2318
2408
  upload: z.ZodNullable<z.ZodObject<{
2319
2409
  id: z.ZodString;
2320
2410
  mode: z.ZodEnum<{
2321
- dist: "dist";
2322
2411
  source: "source";
2412
+ dist: "dist";
2323
2413
  }>;
2324
2414
  expiresAt: z.ZodString;
2325
2415
  summary: z.ZodObject<{
@@ -2360,9 +2450,9 @@ export declare const spaceVersionResumeResponseSchema: z.ZodObject<{
2360
2450
  diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
2361
2451
  code: z.ZodString;
2362
2452
  severity: z.ZodEnum<{
2363
- info: "info";
2364
2453
  warning: "warning";
2365
2454
  error: "error";
2455
+ info: "info";
2366
2456
  }>;
2367
2457
  message: z.ZodString;
2368
2458
  path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -2385,8 +2475,8 @@ export declare const spaceVersionRefreshResponseSchema: z.ZodObject<{
2385
2475
  upload: z.ZodNullable<z.ZodObject<{
2386
2476
  id: z.ZodString;
2387
2477
  mode: z.ZodEnum<{
2388
- dist: "dist";
2389
2478
  source: "source";
2479
+ dist: "dist";
2390
2480
  }>;
2391
2481
  expiresAt: z.ZodString;
2392
2482
  summary: z.ZodObject<{
@@ -2427,9 +2517,9 @@ export declare const spaceVersionRefreshResponseSchema: z.ZodObject<{
2427
2517
  diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
2428
2518
  code: z.ZodString;
2429
2519
  severity: z.ZodEnum<{
2430
- info: "info";
2431
2520
  warning: "warning";
2432
2521
  error: "error";
2522
+ info: "info";
2433
2523
  }>;
2434
2524
  message: z.ZodString;
2435
2525
  path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -2465,28 +2555,28 @@ export declare const spaceRuntimeStatusSchema: z.ZodObject<{
2465
2555
  pendingVersionId: z.ZodNullable<z.ZodString>;
2466
2556
  liveUrl: z.ZodNullable<z.ZodString>;
2467
2557
  runtimeState: z.ZodEnum<{
2468
- failed: "failed";
2469
- active: "active";
2470
2558
  provisioning: "provisioning";
2559
+ active: "active";
2471
2560
  updating: "updating";
2472
2561
  moving: "moving";
2473
2562
  deleting: "deleting";
2563
+ failed: "failed";
2474
2564
  }>;
2475
2565
  liveVersionStatus: z.ZodNullable<z.ZodEnum<{
2476
2566
  failed: "failed";
2477
2567
  canceled: "canceled";
2478
2568
  ready: "ready";
2479
2569
  expired: "expired";
2480
- created: "created";
2481
2570
  building: "building";
2482
2571
  prepared: "prepared";
2572
+ created: "created";
2483
2573
  uploading: "uploading";
2484
2574
  uploaded: "uploaded";
2485
2575
  finalizing: "finalizing";
2486
2576
  }>>;
2487
2577
  liveRuntimeKind: z.ZodNullable<z.ZodEnum<{
2488
- zero: "zero";
2489
2578
  static: "static";
2579
+ zero: "zero";
2490
2580
  php: "php";
2491
2581
  node: "node";
2492
2582
  workers: "workers";
@@ -2496,9 +2586,9 @@ export declare const spaceRuntimeStatusSchema: z.ZodObject<{
2496
2586
  canceled: "canceled";
2497
2587
  ready: "ready";
2498
2588
  expired: "expired";
2499
- created: "created";
2500
2589
  building: "building";
2501
2590
  prepared: "prepared";
2591
+ created: "created";
2502
2592
  uploading: "uploading";
2503
2593
  uploaded: "uploaded";
2504
2594
  finalizing: "finalizing";
@@ -2525,9 +2615,9 @@ export declare const spaceRuntimeStatusSchema: z.ZodObject<{
2525
2615
  diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
2526
2616
  code: z.ZodString;
2527
2617
  severity: z.ZodEnum<{
2528
- info: "info";
2529
2618
  warning: "warning";
2530
2619
  error: "error";
2620
+ info: "info";
2531
2621
  }>;
2532
2622
  message: z.ZodString;
2533
2623
  path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -2575,10 +2665,10 @@ export declare const spaceChannelListResponseSchema: z.ZodObject<{
2575
2665
  }, z.core.$strip>;
2576
2666
  export declare const spaceApplyChangeBaseSchema: z.ZodObject<{
2577
2667
  kind: z.ZodEnum<{
2578
- routing: "routing";
2579
- settings: "settings";
2580
2668
  password: "password";
2581
2669
  variable: "variable";
2670
+ routing: "routing";
2671
+ settings: "settings";
2582
2672
  }>;
2583
2673
  name: z.ZodString;
2584
2674
  label: z.ZodString;
@@ -2589,10 +2679,10 @@ export declare const spaceApplyModeSchema: z.ZodEnum<{
2589
2679
  }>;
2590
2680
  export declare const spaceApplyChangeSchema: z.ZodObject<{
2591
2681
  kind: z.ZodEnum<{
2592
- routing: "routing";
2593
- settings: "settings";
2594
2682
  password: "password";
2595
2683
  variable: "variable";
2684
+ routing: "routing";
2685
+ settings: "settings";
2596
2686
  }>;
2597
2687
  name: z.ZodString;
2598
2688
  label: z.ZodString;
@@ -2619,10 +2709,10 @@ export declare const spaceApplyStateSchema: z.ZodObject<{
2619
2709
  pendingChangeCount: z.ZodNumber;
2620
2710
  changes: z.ZodArray<z.ZodObject<{
2621
2711
  kind: z.ZodEnum<{
2622
- routing: "routing";
2623
- settings: "settings";
2624
2712
  password: "password";
2625
2713
  variable: "variable";
2714
+ routing: "routing";
2715
+ settings: "settings";
2626
2716
  }>;
2627
2717
  name: z.ZodString;
2628
2718
  label: z.ZodString;
@@ -2659,9 +2749,9 @@ export declare const spaceApplyStateSchema: z.ZodObject<{
2659
2749
  diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
2660
2750
  code: z.ZodString;
2661
2751
  severity: z.ZodEnum<{
2662
- info: "info";
2663
2752
  warning: "warning";
2664
2753
  error: "error";
2754
+ info: "info";
2665
2755
  }>;
2666
2756
  message: z.ZodString;
2667
2757
  path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -2695,10 +2785,10 @@ export declare const spaceApplyResponseSchema: z.ZodObject<{
2695
2785
  pendingChangeCount: z.ZodNumber;
2696
2786
  changes: z.ZodArray<z.ZodObject<{
2697
2787
  kind: z.ZodEnum<{
2698
- routing: "routing";
2699
- settings: "settings";
2700
2788
  password: "password";
2701
2789
  variable: "variable";
2790
+ routing: "routing";
2791
+ settings: "settings";
2702
2792
  }>;
2703
2793
  name: z.ZodString;
2704
2794
  label: z.ZodString;
@@ -2735,9 +2825,9 @@ export declare const spaceApplyResponseSchema: z.ZodObject<{
2735
2825
  diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
2736
2826
  code: z.ZodString;
2737
2827
  severity: z.ZodEnum<{
2738
- info: "info";
2739
2828
  warning: "warning";
2740
2829
  error: "error";
2830
+ info: "info";
2741
2831
  }>;
2742
2832
  message: z.ZodString;
2743
2833
  path: z.ZodOptional<z.ZodNullable<z.ZodString>>;