@spacefast/common 0.0.10 → 0.0.12

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 (122) hide show
  1. package/dist/agents/connect-targets.d.ts +4 -4
  2. package/dist/agents/connect-targets.js +3 -3
  3. package/dist/agents/private-key-oauth.d.ts +37 -0
  4. package/dist/agents/private-key-oauth.js +158 -0
  5. package/dist/config/domains.js +1 -1
  6. package/dist/config/index.d.ts +1 -0
  7. package/dist/config/index.js +1 -0
  8. package/dist/config/postgres-budget.d.ts +126 -0
  9. package/dist/config/postgres-budget.js +135 -0
  10. package/dist/config/postgres-budget.json +50 -0
  11. package/dist/contracts/access.d.ts +42 -24
  12. package/dist/contracts/access.js +73 -34
  13. package/dist/contracts/activity.d.ts +1 -1
  14. package/dist/contracts/activity.js +5 -5
  15. package/dist/contracts/api-keys.d.ts +53 -45
  16. package/dist/contracts/api-keys.js +1 -0
  17. package/dist/contracts/archives.d.ts +8 -8
  18. package/dist/contracts/builds.d.ts +8 -8
  19. package/dist/contracts/builds.js +28 -48
  20. package/dist/contracts/channels.js +1 -2
  21. package/dist/contracts/comments.d.ts +55 -19
  22. package/dist/contracts/comments.js +56 -17
  23. package/dist/contracts/common.d.ts +4 -3
  24. package/dist/contracts/common.js +2 -0
  25. package/dist/contracts/deployments.d.ts +3 -3
  26. package/dist/contracts/device-auth.d.ts +14 -12
  27. package/dist/contracts/docs.d.ts +5 -5
  28. package/dist/contracts/domains.d.ts +261 -1330
  29. package/dist/contracts/domains.js +39 -301
  30. package/dist/contracts/email-preferences.d.ts +50 -0
  31. package/dist/contracts/email-preferences.js +44 -0
  32. package/dist/contracts/enums.d.ts +1 -1
  33. package/dist/contracts/error-code-meta.d.ts +84 -15
  34. package/dist/contracts/error-code-meta.js +28 -4
  35. package/dist/contracts/error-codes.d.ts +1 -1
  36. package/dist/contracts/error-codes.js +24 -6
  37. package/dist/contracts/events.d.ts +13 -13
  38. package/dist/contracts/feature-lifecycle.d.ts +644 -2
  39. package/dist/contracts/feature-lifecycle.js +685 -2
  40. package/dist/contracts/features.d.ts +236 -24
  41. package/dist/contracts/features.js +3 -272
  42. package/dist/contracts/ids.d.ts +1 -2
  43. package/dist/contracts/ids.js +1 -2
  44. package/dist/contracts/internal.d.ts +3 -3
  45. package/dist/contracts/mcp.d.ts +6 -6
  46. package/dist/contracts/me.js +1 -1
  47. package/dist/contracts/mounts.d.ts +142 -0
  48. package/dist/contracts/mounts.js +56 -0
  49. package/dist/contracts/oauth-resources.d.ts +5 -5
  50. package/dist/contracts/oauth-resources.js +1 -0
  51. package/dist/contracts/operations.d.ts +2 -2
  52. package/dist/contracts/pages.d.ts +2 -2
  53. package/dist/contracts/pages.js +8 -3
  54. package/dist/contracts/plan-policy.d.ts +1 -1
  55. package/dist/contracts/platform.d.ts +3 -3
  56. package/dist/contracts/resources.d.ts +12 -20
  57. package/dist/contracts/resources.js +13 -37
  58. package/dist/contracts/runtime-api.d.ts +330 -16
  59. package/dist/contracts/runtime-api.js +58 -14
  60. package/dist/contracts/sf-config-v1.js +1 -1
  61. package/dist/contracts/sites.d.ts +12 -12
  62. package/dist/contracts/sites.js +18 -11
  63. package/dist/contracts/space-config.d.ts +2 -3
  64. package/dist/contracts/space-config.js +3 -1
  65. package/dist/contracts/spaces.d.ts +143 -102
  66. package/dist/contracts/spaces.js +109 -43
  67. package/dist/contracts/superadmin-emails.d.ts +25 -1
  68. package/dist/contracts/superadmin-emails.js +10 -15
  69. package/dist/contracts/superadmin-runtime.d.ts +2 -2
  70. package/dist/contracts/superadmin-spaces.d.ts +6 -14
  71. package/dist/contracts/tags.d.ts +43 -13
  72. package/dist/contracts/tags.js +195 -11
  73. package/dist/contracts/transfers.d.ts +1 -1
  74. package/dist/contracts/variables.d.ts +4 -4
  75. package/dist/contracts/variables.js +4 -3
  76. package/dist/contracts/webhooks.d.ts +2 -2
  77. package/dist/contracts/zero.d.ts +329 -7
  78. package/dist/contracts/zero.js +121 -2
  79. package/dist/dashboard-paths/index.d.ts +1 -1
  80. package/dist/docs/agent-setup.d.ts +4 -2
  81. package/dist/docs/agent-setup.js +15 -7
  82. package/dist/docs/agent-solutions.js +1 -1
  83. package/dist/docs/catalog.d.ts +8 -10
  84. package/dist/docs/catalog.js +8 -10
  85. package/dist/docs/error-docs.js +86 -18
  86. package/dist/utils/access-grant.d.ts +14 -0
  87. package/dist/utils/access-grant.js +88 -0
  88. package/dist/utils/access-match.d.ts +7 -0
  89. package/dist/utils/access-match.fixtures.json +513 -0
  90. package/dist/utils/access-match.js +32 -16
  91. package/dist/utils/access-verdict.fixtures.json +421 -0
  92. package/dist/utils/credential-policy.d.ts +1 -1
  93. package/dist/utils/dns-instructions.d.ts +29 -0
  94. package/dist/utils/dns-instructions.js +78 -0
  95. package/dist/utils/domain-diagnostics.d.ts +29 -0
  96. package/dist/utils/domain-diagnostics.js +63 -0
  97. package/dist/utils/egress-policy.fixtures.json +51 -0
  98. package/dist/utils/id-hints.d.ts +1 -0
  99. package/dist/utils/id-hints.js +55 -13
  100. package/dist/utils/page-colors.d.ts +50 -0
  101. package/dist/utils/page-colors.js +167 -0
  102. package/dist/utils/page-fonts.d.ts +2 -0
  103. package/dist/utils/page-fonts.js +4 -0
  104. package/dist/utils/pages.d.ts +8 -1
  105. package/dist/utils/pages.js +123 -37
  106. package/dist/utils/production-runtime.d.ts +18 -0
  107. package/dist/utils/production-runtime.js +28 -0
  108. package/dist/utils/query-keys.d.ts +6 -7
  109. package/dist/utils/query-keys.js +11 -12
  110. package/dist/utils/sf-config-v1.fixtures.json +9 -0
  111. package/dist/utils/sf-config-v1.js +28 -19
  112. package/dist/utils/source-archive-policy.d.ts +2 -0
  113. package/dist/utils/source-archive-policy.js +2 -0
  114. package/dist/utils/static-runtime-policy.fixtures.json +57 -0
  115. package/dist/utils/static-runtime-policy.js +1 -1
  116. package/package.json +5 -4
  117. package/dist/contracts/annotations.d.ts +0 -327
  118. package/dist/contracts/annotations.js +0 -235
  119. package/dist/contracts/generated-feature-launch-entries.d.ts +0 -2
  120. package/dist/contracts/generated-feature-launch-entries.js +0 -518
  121. package/dist/contracts/publishes.d.ts +0 -135
  122. package/dist/contracts/publishes.js +0 -162
@@ -91,8 +91,8 @@ export declare const domainVerificationSchema: z.ZodObject<{
91
91
  code: z.ZodString;
92
92
  severity: z.ZodEnum<{
93
93
  info: "info";
94
- warning: "warning";
95
94
  error: "error";
95
+ warning: "warning";
96
96
  }>;
97
97
  message: z.ZodString;
98
98
  path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -112,8 +112,8 @@ export declare const domainHintSchema: z.ZodObject<{
112
112
  code: z.ZodString;
113
113
  severity: z.ZodEnum<{
114
114
  info: "info";
115
- warning: "warning";
116
115
  error: "error";
116
+ warning: "warning";
117
117
  }>;
118
118
  painLevel: z.ZodEnum<{
119
119
  info: "info";
@@ -147,8 +147,8 @@ export declare const domainHintSchema: z.ZodObject<{
147
147
  status: z.ZodEnum<{
148
148
  active: "active";
149
149
  running: "running";
150
- resolved: "resolved";
151
150
  waiting: "waiting";
151
+ resolved: "resolved";
152
152
  dismissed: "dismissed";
153
153
  }>;
154
154
  summary: z.ZodString;
@@ -218,6 +218,22 @@ export declare const domainHintSchema: z.ZodObject<{
218
218
  expiresAt: z.ZodOptional<z.ZodString>;
219
219
  }, z.core.$strip>;
220
220
  export type DomainHint = z.infer<typeof domainHintSchema>;
221
+ export declare const domainRedirectTargetSchema: z.ZodUnion<readonly [z.ZodObject<{
222
+ url: z.ZodString;
223
+ }, z.core.$strip>, z.ZodObject<{
224
+ spaceId: z.ZodString;
225
+ path: z.ZodOptional<z.ZodString>;
226
+ }, z.core.$strip>]>;
227
+ export declare const domainRedirectStatusSchema: z.ZodUnion<readonly [z.ZodLiteral<301>, z.ZodLiteral<302>, z.ZodLiteral<307>, z.ZodLiteral<308>]>;
228
+ export declare const domainRedirectSchema: z.ZodObject<{
229
+ to: z.ZodUnion<readonly [z.ZodObject<{
230
+ url: z.ZodString;
231
+ }, z.core.$strip>, z.ZodObject<{
232
+ spaceId: z.ZodString;
233
+ path: z.ZodOptional<z.ZodString>;
234
+ }, z.core.$strip>]>;
235
+ status: z.ZodUnion<readonly [z.ZodLiteral<301>, z.ZodLiteral<302>, z.ZodLiteral<307>, z.ZodLiteral<308>]>;
236
+ }, z.core.$strip>;
221
237
  export declare const DomainSchema: z.ZodObject<{
222
238
  id: z.ZodString;
223
239
  tenantId: z.ZodString;
@@ -236,6 +252,17 @@ export declare const DomainSchema: z.ZodObject<{
236
252
  apex: "apex";
237
253
  }>;
238
254
  wildcardEnabled: z.ZodBoolean;
255
+ spaceId: z.ZodNullable<z.ZodString>;
256
+ primary: z.ZodBoolean;
257
+ redirect: z.ZodOptional<z.ZodObject<{
258
+ to: z.ZodUnion<readonly [z.ZodObject<{
259
+ url: z.ZodString;
260
+ }, z.core.$strip>, z.ZodObject<{
261
+ spaceId: z.ZodString;
262
+ path: z.ZodOptional<z.ZodString>;
263
+ }, z.core.$strip>]>;
264
+ status: z.ZodUnion<readonly [z.ZodLiteral<301>, z.ZodLiteral<302>, z.ZodLiteral<307>, z.ZodLiteral<308>]>;
265
+ }, z.core.$strip>>;
239
266
  derivedGroup: z.ZodString;
240
267
  registrar: z.ZodOptional<z.ZodObject<{
241
268
  mode: z.ZodEnum<{
@@ -329,8 +356,8 @@ export declare const DomainSchema: z.ZodObject<{
329
356
  code: z.ZodString;
330
357
  severity: z.ZodEnum<{
331
358
  info: "info";
332
- warning: "warning";
333
359
  error: "error";
360
+ warning: "warning";
334
361
  }>;
335
362
  message: z.ZodString;
336
363
  path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -350,8 +377,8 @@ export declare const DomainSchema: z.ZodObject<{
350
377
  code: z.ZodString;
351
378
  severity: z.ZodEnum<{
352
379
  info: "info";
353
- warning: "warning";
354
380
  error: "error";
381
+ warning: "warning";
355
382
  }>;
356
383
  painLevel: z.ZodEnum<{
357
384
  info: "info";
@@ -385,8 +412,8 @@ export declare const DomainSchema: z.ZodObject<{
385
412
  status: z.ZodEnum<{
386
413
  active: "active";
387
414
  running: "running";
388
- resolved: "resolved";
389
415
  waiting: "waiting";
416
+ resolved: "resolved";
390
417
  dismissed: "dismissed";
391
418
  }>;
392
419
  summary: z.ZodString;
@@ -483,6 +510,17 @@ export declare const domainListResponseSchema: z.ZodObject<{
483
510
  apex: "apex";
484
511
  }>;
485
512
  wildcardEnabled: z.ZodBoolean;
513
+ spaceId: z.ZodNullable<z.ZodString>;
514
+ primary: z.ZodBoolean;
515
+ redirect: z.ZodOptional<z.ZodObject<{
516
+ to: z.ZodUnion<readonly [z.ZodObject<{
517
+ url: z.ZodString;
518
+ }, z.core.$strip>, z.ZodObject<{
519
+ spaceId: z.ZodString;
520
+ path: z.ZodOptional<z.ZodString>;
521
+ }, z.core.$strip>]>;
522
+ status: z.ZodUnion<readonly [z.ZodLiteral<301>, z.ZodLiteral<302>, z.ZodLiteral<307>, z.ZodLiteral<308>]>;
523
+ }, z.core.$strip>>;
486
524
  derivedGroup: z.ZodString;
487
525
  registrar: z.ZodOptional<z.ZodObject<{
488
526
  mode: z.ZodEnum<{
@@ -576,8 +614,8 @@ export declare const domainListResponseSchema: z.ZodObject<{
576
614
  code: z.ZodString;
577
615
  severity: z.ZodEnum<{
578
616
  info: "info";
579
- warning: "warning";
580
617
  error: "error";
618
+ warning: "warning";
581
619
  }>;
582
620
  message: z.ZodString;
583
621
  path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -597,8 +635,8 @@ export declare const domainListResponseSchema: z.ZodObject<{
597
635
  code: z.ZodString;
598
636
  severity: z.ZodEnum<{
599
637
  info: "info";
600
- warning: "warning";
601
638
  error: "error";
639
+ warning: "warning";
602
640
  }>;
603
641
  painLevel: z.ZodEnum<{
604
642
  info: "info";
@@ -632,8 +670,8 @@ export declare const domainListResponseSchema: z.ZodObject<{
632
670
  status: z.ZodEnum<{
633
671
  active: "active";
634
672
  running: "running";
635
- resolved: "resolved";
636
673
  waiting: "waiting";
674
+ resolved: "resolved";
637
675
  dismissed: "dismissed";
638
676
  }>;
639
677
  summary: z.ZodString;
@@ -728,6 +766,16 @@ export declare const spaceCustomDomainSchema: z.ZodObject<{
728
766
  apex: "apex";
729
767
  }>;
730
768
  wildcardEnabled: z.ZodBoolean;
769
+ spaceId: z.ZodNullable<z.ZodString>;
770
+ redirect: z.ZodOptional<z.ZodObject<{
771
+ to: z.ZodUnion<readonly [z.ZodObject<{
772
+ url: z.ZodString;
773
+ }, z.core.$strip>, z.ZodObject<{
774
+ spaceId: z.ZodString;
775
+ path: z.ZodOptional<z.ZodString>;
776
+ }, z.core.$strip>]>;
777
+ status: z.ZodUnion<readonly [z.ZodLiteral<301>, z.ZodLiteral<302>, z.ZodLiteral<307>, z.ZodLiteral<308>]>;
778
+ }, z.core.$strip>>;
731
779
  derivedGroup: z.ZodString;
732
780
  registrar: z.ZodOptional<z.ZodObject<{
733
781
  mode: z.ZodEnum<{
@@ -821,8 +869,8 @@ export declare const spaceCustomDomainSchema: z.ZodObject<{
821
869
  code: z.ZodString;
822
870
  severity: z.ZodEnum<{
823
871
  info: "info";
824
- warning: "warning";
825
872
  error: "error";
873
+ warning: "warning";
826
874
  }>;
827
875
  message: z.ZodString;
828
876
  path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -842,8 +890,8 @@ export declare const spaceCustomDomainSchema: z.ZodObject<{
842
890
  code: z.ZodString;
843
891
  severity: z.ZodEnum<{
844
892
  info: "info";
845
- warning: "warning";
846
893
  error: "error";
894
+ warning: "warning";
847
895
  }>;
848
896
  painLevel: z.ZodEnum<{
849
897
  info: "info";
@@ -877,8 +925,8 @@ export declare const spaceCustomDomainSchema: z.ZodObject<{
877
925
  status: z.ZodEnum<{
878
926
  active: "active";
879
927
  running: "running";
880
- resolved: "resolved";
881
928
  waiting: "waiting";
929
+ resolved: "resolved";
882
930
  dismissed: "dismissed";
883
931
  }>;
884
932
  summary: z.ZodString;
@@ -990,8 +1038,8 @@ export declare const spaceManagedDomainSchema: z.ZodObject<{
990
1038
  code: z.ZodString;
991
1039
  severity: z.ZodEnum<{
992
1040
  info: "info";
993
- warning: "warning";
994
1041
  error: "error";
1042
+ warning: "warning";
995
1043
  }>;
996
1044
  message: z.ZodString;
997
1045
  path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -1045,8 +1093,8 @@ export declare const spaceDomainSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1045
1093
  code: z.ZodString;
1046
1094
  severity: z.ZodEnum<{
1047
1095
  info: "info";
1048
- warning: "warning";
1049
1096
  error: "error";
1097
+ warning: "warning";
1050
1098
  }>;
1051
1099
  message: z.ZodString;
1052
1100
  path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -1082,6 +1130,16 @@ export declare const spaceDomainSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1082
1130
  apex: "apex";
1083
1131
  }>;
1084
1132
  wildcardEnabled: z.ZodBoolean;
1133
+ spaceId: z.ZodNullable<z.ZodString>;
1134
+ redirect: z.ZodOptional<z.ZodObject<{
1135
+ to: z.ZodUnion<readonly [z.ZodObject<{
1136
+ url: z.ZodString;
1137
+ }, z.core.$strip>, z.ZodObject<{
1138
+ spaceId: z.ZodString;
1139
+ path: z.ZodOptional<z.ZodString>;
1140
+ }, z.core.$strip>]>;
1141
+ status: z.ZodUnion<readonly [z.ZodLiteral<301>, z.ZodLiteral<302>, z.ZodLiteral<307>, z.ZodLiteral<308>]>;
1142
+ }, z.core.$strip>>;
1085
1143
  derivedGroup: z.ZodString;
1086
1144
  registrar: z.ZodOptional<z.ZodObject<{
1087
1145
  mode: z.ZodEnum<{
@@ -1175,8 +1233,8 @@ export declare const spaceDomainSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1175
1233
  code: z.ZodString;
1176
1234
  severity: z.ZodEnum<{
1177
1235
  info: "info";
1178
- warning: "warning";
1179
1236
  error: "error";
1237
+ warning: "warning";
1180
1238
  }>;
1181
1239
  message: z.ZodString;
1182
1240
  path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -1196,8 +1254,8 @@ export declare const spaceDomainSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1196
1254
  code: z.ZodString;
1197
1255
  severity: z.ZodEnum<{
1198
1256
  info: "info";
1199
- warning: "warning";
1200
1257
  error: "error";
1258
+ warning: "warning";
1201
1259
  }>;
1202
1260
  painLevel: z.ZodEnum<{
1203
1261
  info: "info";
@@ -1231,8 +1289,8 @@ export declare const spaceDomainSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1231
1289
  status: z.ZodEnum<{
1232
1290
  active: "active";
1233
1291
  running: "running";
1234
- resolved: "resolved";
1235
1292
  waiting: "waiting";
1293
+ resolved: "resolved";
1236
1294
  dismissed: "dismissed";
1237
1295
  }>;
1238
1296
  summary: z.ZodString;
@@ -1346,8 +1404,8 @@ export declare const spaceDomainListResponseSchema: z.ZodObject<{
1346
1404
  code: z.ZodString;
1347
1405
  severity: z.ZodEnum<{
1348
1406
  info: "info";
1349
- warning: "warning";
1350
1407
  error: "error";
1408
+ warning: "warning";
1351
1409
  }>;
1352
1410
  message: z.ZodString;
1353
1411
  path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -1383,6 +1441,16 @@ export declare const spaceDomainListResponseSchema: z.ZodObject<{
1383
1441
  apex: "apex";
1384
1442
  }>;
1385
1443
  wildcardEnabled: z.ZodBoolean;
1444
+ spaceId: z.ZodNullable<z.ZodString>;
1445
+ redirect: z.ZodOptional<z.ZodObject<{
1446
+ to: z.ZodUnion<readonly [z.ZodObject<{
1447
+ url: z.ZodString;
1448
+ }, z.core.$strip>, z.ZodObject<{
1449
+ spaceId: z.ZodString;
1450
+ path: z.ZodOptional<z.ZodString>;
1451
+ }, z.core.$strip>]>;
1452
+ status: z.ZodUnion<readonly [z.ZodLiteral<301>, z.ZodLiteral<302>, z.ZodLiteral<307>, z.ZodLiteral<308>]>;
1453
+ }, z.core.$strip>>;
1386
1454
  derivedGroup: z.ZodString;
1387
1455
  registrar: z.ZodOptional<z.ZodObject<{
1388
1456
  mode: z.ZodEnum<{
@@ -1476,8 +1544,8 @@ export declare const spaceDomainListResponseSchema: z.ZodObject<{
1476
1544
  code: z.ZodString;
1477
1545
  severity: z.ZodEnum<{
1478
1546
  info: "info";
1479
- warning: "warning";
1480
1547
  error: "error";
1548
+ warning: "warning";
1481
1549
  }>;
1482
1550
  message: z.ZodString;
1483
1551
  path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -1497,8 +1565,8 @@ export declare const spaceDomainListResponseSchema: z.ZodObject<{
1497
1565
  code: z.ZodString;
1498
1566
  severity: z.ZodEnum<{
1499
1567
  info: "info";
1500
- warning: "warning";
1501
1568
  error: "error";
1569
+ warning: "warning";
1502
1570
  }>;
1503
1571
  painLevel: z.ZodEnum<{
1504
1572
  info: "info";
@@ -1532,8 +1600,8 @@ export declare const spaceDomainListResponseSchema: z.ZodObject<{
1532
1600
  status: z.ZodEnum<{
1533
1601
  active: "active";
1534
1602
  running: "running";
1535
- resolved: "resolved";
1536
1603
  waiting: "waiting";
1604
+ resolved: "resolved";
1537
1605
  dismissed: "dismissed";
1538
1606
  }>;
1539
1607
  summary: z.ZodString;
@@ -1592,1295 +1660,42 @@ export declare const spaceDomainListResponseSchema: z.ZodObject<{
1592
1660
  }, z.core.$strip>, z.ZodObject<{
1593
1661
  type: z.ZodLiteral<"wait">;
1594
1662
  retryAfter: z.ZodString;
1595
- }, z.core.$strip>], "type">;
1596
- primary: z.ZodOptional<z.ZodBoolean>;
1597
- destructive: z.ZodOptional<z.ZodBoolean>;
1598
- }, z.core.$strip>>;
1599
- docsUrl: z.ZodOptional<z.ZodString>;
1600
- operationId: z.ZodOptional<z.ZodString>;
1601
- requestId: z.ZodOptional<z.ZodString>;
1602
- providerRequestId: z.ZodOptional<z.ZodString>;
1603
- expiresAt: z.ZodOptional<z.ZodString>;
1604
- }, z.core.$strip>>>;
1605
- createdAt: z.ZodString;
1606
- updatedAt: z.ZodString;
1607
- source: z.ZodLiteral<"custom">;
1608
- managed: z.ZodLiteral<false>;
1609
- deletable: z.ZodLiteral<true>;
1610
- assignable: z.ZodLiteral<true>;
1611
- primary: z.ZodBoolean;
1612
- }, z.core.$strip>], "source">>;
1613
- pagination: z.ZodObject<{
1614
- nextCursor: z.ZodNullable<z.ZodString>;
1615
- hasMore: z.ZodBoolean;
1616
- }, z.core.$strip>;
1617
- }, z.core.$strip>;
1618
- export declare const teamManagedDomainSchema: z.ZodObject<{
1619
- id: z.ZodString;
1620
- source: z.ZodLiteral<"managed_view_fast">;
1621
- managed: z.ZodLiteral<true>;
1622
- deletable: z.ZodLiteral<false>;
1623
- assignable: z.ZodLiteral<false>;
1624
- primary: z.ZodBoolean;
1625
- name: z.ZodString;
1626
- unicodeName: z.ZodOptional<z.ZodString>;
1627
- kind: z.ZodLiteral<"hostname">;
1628
- publicName: z.ZodString;
1629
- verification: z.ZodObject<{
1630
- requiredRecords: z.ZodOptional<z.ZodArray<z.ZodObject<{
1631
- type: z.ZodEnum<{
1632
- A: "A";
1633
- AAAA: "AAAA";
1634
- CNAME: "CNAME";
1635
- TXT: "TXT";
1636
- ALIAS: "ALIAS";
1637
- }>;
1638
- name: z.ZodString;
1639
- value: z.ZodString;
1640
- ttl: z.ZodOptional<z.ZodNumber>;
1641
- purpose: z.ZodEnum<{
1642
- verification: "verification";
1643
- routing: "routing";
1644
- ssl: "ssl";
1645
- }>;
1646
- }, z.core.$strip>>>;
1647
- lastCheckedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1648
- lastVerifiedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1649
- diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
1650
- code: z.ZodString;
1651
- severity: z.ZodEnum<{
1652
- info: "info";
1653
- warning: "warning";
1654
- error: "error";
1655
- }>;
1656
- message: z.ZodString;
1657
- path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1658
- provider: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1659
- registrar: "registrar";
1660
- wpcloud: "wpcloud";
1661
- dns: "dns";
1662
- runtime: "runtime";
1663
- }>>>;
1664
- details: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
1665
- fix: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1666
- retryable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1667
- }, z.core.$strip>>>;
1668
- status: z.ZodLiteral<"not_required">;
1669
- }, z.core.$strip>;
1670
- createdAt: z.ZodString;
1671
- updatedAt: z.ZodString;
1672
- spaceId: z.ZodString;
1673
- spaceSlug: z.ZodString;
1674
- spaceTitle: z.ZodString;
1675
- }, z.core.$strip>;
1676
- export type TeamManagedDomain = z.infer<typeof teamManagedDomainSchema>;
1677
- export declare const teamManagedDomainListResponseSchema: z.ZodObject<{
1678
- data: z.ZodArray<z.ZodObject<{
1679
- id: z.ZodString;
1680
- source: z.ZodLiteral<"managed_view_fast">;
1681
- managed: z.ZodLiteral<true>;
1682
- deletable: z.ZodLiteral<false>;
1683
- assignable: z.ZodLiteral<false>;
1684
- primary: z.ZodBoolean;
1685
- name: z.ZodString;
1686
- unicodeName: z.ZodOptional<z.ZodString>;
1687
- kind: z.ZodLiteral<"hostname">;
1688
- publicName: z.ZodString;
1689
- verification: z.ZodObject<{
1690
- requiredRecords: z.ZodOptional<z.ZodArray<z.ZodObject<{
1691
- type: z.ZodEnum<{
1692
- A: "A";
1693
- AAAA: "AAAA";
1694
- CNAME: "CNAME";
1695
- TXT: "TXT";
1696
- ALIAS: "ALIAS";
1697
- }>;
1698
- name: z.ZodString;
1699
- value: z.ZodString;
1700
- ttl: z.ZodOptional<z.ZodNumber>;
1701
- purpose: z.ZodEnum<{
1702
- verification: "verification";
1703
- routing: "routing";
1704
- ssl: "ssl";
1705
- }>;
1706
- }, z.core.$strip>>>;
1707
- lastCheckedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1708
- lastVerifiedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1709
- diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
1710
- code: z.ZodString;
1711
- severity: z.ZodEnum<{
1712
- info: "info";
1713
- warning: "warning";
1714
- error: "error";
1715
- }>;
1716
- message: z.ZodString;
1717
- path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1718
- provider: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1719
- registrar: "registrar";
1720
- wpcloud: "wpcloud";
1721
- dns: "dns";
1722
- runtime: "runtime";
1723
- }>>>;
1724
- details: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
1725
- fix: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1726
- retryable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1727
- }, z.core.$strip>>>;
1728
- status: z.ZodLiteral<"not_required">;
1729
- }, z.core.$strip>;
1730
- createdAt: z.ZodString;
1731
- updatedAt: z.ZodString;
1732
- spaceId: z.ZodString;
1733
- spaceSlug: z.ZodString;
1734
- spaceTitle: z.ZodString;
1735
- }, z.core.$strip>>;
1736
- pagination: z.ZodObject<{
1737
- nextCursor: z.ZodNullable<z.ZodString>;
1738
- hasMore: z.ZodBoolean;
1739
- }, z.core.$strip>;
1740
- }, z.core.$strip>;
1741
- export declare const domainCreateRequestSchema: z.ZodObject<{
1742
- name: z.ZodString;
1743
- teamId: z.ZodOptional<z.ZodString>;
1744
- }, z.core.$strip>;
1745
- export declare const domainPatchSchema: z.ZodObject<{
1746
- wildcardEnabled: z.ZodOptional<z.ZodBoolean>;
1747
- }, z.core.$strip>;
1748
- export declare const domainBindingDiagnosticSchema: z.ZodObject<{
1749
- code: z.ZodString;
1750
- severity: z.ZodEnum<{
1751
- info: "info";
1752
- warning: "warning";
1753
- error: "error";
1754
- }>;
1755
- message: z.ZodString;
1756
- path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1757
- provider: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1758
- registrar: "registrar";
1759
- wpcloud: "wpcloud";
1760
- dns: "dns";
1761
- runtime: "runtime";
1762
- }>>>;
1763
- details: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
1764
- fix: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1765
- retryable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1766
- action: z.ZodOptional<z.ZodEnum<{
1767
- confirm_move: "confirm_move";
1768
- wait: "wait";
1769
- add_dns: "add_dns";
1770
- verify: "verify";
1771
- remove_conflict: "remove_conflict";
1772
- contact_support: "contact_support";
1773
- }>>;
1774
- }, z.core.$strip>;
1775
- export declare const domainBindingConflictSchema: z.ZodObject<{
1776
- id: z.ZodString;
1777
- scope: z.ZodEnum<{
1778
- external: "external";
1779
- same_space: "same_space";
1780
- same_principal: "same_principal";
1781
- same_tenant: "same_tenant";
1782
- }>;
1783
- hostname: z.ZodString;
1784
- pathPrefix: z.ZodOptional<z.ZodString>;
1785
- existingBindingId: z.ZodOptional<z.ZodString>;
1786
- resolution: z.ZodOptional<z.ZodEnum<{
1787
- activate_moves_existing: "activate_moves_existing";
1788
- choose_different_path: "choose_different_path";
1789
- verify_to_takeover: "verify_to_takeover";
1790
- cannot_resolve: "cannot_resolve";
1791
- }>>;
1792
- }, z.core.$strip>;
1793
- export declare const domainBindingStatusSchema: z.ZodEnum<{
1794
- active: "active";
1795
- failed: "failed";
1796
- deleted: "deleted";
1797
- pending: "pending";
1798
- blocked: "blocked";
1799
- draft: "draft";
1800
- activating: "activating";
1801
- }>;
1802
- export declare const domainBindingRedirectTargetSchema: z.ZodUnion<readonly [z.ZodObject<{
1803
- url: z.ZodString;
1804
- }, z.core.$strip>, z.ZodObject<{
1805
- spaceId: z.ZodString;
1806
- path: z.ZodOptional<z.ZodString>;
1807
- }, z.core.$strip>]>;
1808
- export declare const domainBindingRedirectStatusSchema: z.ZodUnion<readonly [z.ZodLiteral<301>, z.ZodLiteral<302>, z.ZodLiteral<307>, z.ZodLiteral<308>]>;
1809
- export declare const domainBindingSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1810
- mode: z.ZodLiteral<"serve">;
1811
- spaceId: z.ZodString;
1812
- channel: z.ZodString;
1813
- primary: z.ZodBoolean;
1814
- id: z.ZodString;
1815
- tenantId: z.ZodString;
1816
- domainId: z.ZodString;
1817
- siteDomainAssignmentId: z.ZodNullable<z.ZodString>;
1818
- hostname: z.ZodString;
1819
- pathPrefix: z.ZodNullable<z.ZodString>;
1820
- wildcard: z.ZodBoolean;
1821
- status: z.ZodEnum<{
1822
- active: "active";
1823
- failed: "failed";
1824
- deleted: "deleted";
1825
- pending: "pending";
1826
- blocked: "blocked";
1827
- draft: "draft";
1828
- activating: "activating";
1829
- }>;
1830
- diagnostics: z.ZodArray<z.ZodObject<{
1831
- code: z.ZodString;
1832
- severity: z.ZodEnum<{
1833
- info: "info";
1834
- warning: "warning";
1835
- error: "error";
1836
- }>;
1837
- message: z.ZodString;
1838
- path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1839
- provider: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1840
- registrar: "registrar";
1841
- wpcloud: "wpcloud";
1842
- dns: "dns";
1843
- runtime: "runtime";
1844
- }>>>;
1845
- details: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
1846
- fix: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1847
- retryable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1848
- action: z.ZodOptional<z.ZodEnum<{
1849
- confirm_move: "confirm_move";
1850
- wait: "wait";
1851
- add_dns: "add_dns";
1852
- verify: "verify";
1853
- remove_conflict: "remove_conflict";
1854
- contact_support: "contact_support";
1855
- }>>;
1856
- }, z.core.$strip>>;
1857
- requiredActions: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1858
- type: z.ZodLiteral<"dns">;
1859
- instructions: z.ZodArray<z.ZodObject<{
1860
- type: z.ZodEnum<{
1861
- A: "A";
1862
- AAAA: "AAAA";
1863
- CNAME: "CNAME";
1864
- TXT: "TXT";
1865
- ALIAS: "ALIAS";
1866
- }>;
1867
- name: z.ZodString;
1868
- value: z.ZodString;
1869
- ttl: z.ZodOptional<z.ZodNumber>;
1870
- purpose: z.ZodEnum<{
1871
- verification: "verification";
1872
- routing: "routing";
1873
- ssl: "ssl";
1874
- }>;
1875
- }, z.core.$strip>>;
1876
- }, z.core.$strip>, z.ZodObject<{
1877
- type: z.ZodLiteral<"confirm_move">;
1878
- conflictId: z.ZodString;
1879
- }, z.core.$strip>, z.ZodObject<{
1880
- type: z.ZodLiteral<"verify_domain">;
1881
- domainId: z.ZodString;
1882
- }, z.core.$strip>, z.ZodObject<{
1883
- type: z.ZodLiteral<"renew">;
1884
- domainId: z.ZodString;
1885
- }, z.core.$strip>], "type">>;
1886
- conflicts: z.ZodArray<z.ZodObject<{
1887
- id: z.ZodString;
1888
- scope: z.ZodEnum<{
1889
- external: "external";
1890
- same_space: "same_space";
1891
- same_principal: "same_principal";
1892
- same_tenant: "same_tenant";
1893
- }>;
1894
- hostname: z.ZodString;
1895
- pathPrefix: z.ZodOptional<z.ZodString>;
1896
- existingBindingId: z.ZodOptional<z.ZodString>;
1897
- resolution: z.ZodOptional<z.ZodEnum<{
1898
- activate_moves_existing: "activate_moves_existing";
1899
- choose_different_path: "choose_different_path";
1900
- verify_to_takeover: "verify_to_takeover";
1901
- cannot_resolve: "cannot_resolve";
1902
- }>>;
1903
- }, z.core.$strip>>;
1904
- providerState: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1905
- createdAt: z.ZodString;
1906
- updatedAt: z.ZodString;
1907
- }, z.core.$strip>, z.ZodObject<{
1908
- mode: z.ZodLiteral<"redirect">;
1909
- to: z.ZodUnion<readonly [z.ZodObject<{
1910
- url: z.ZodString;
1911
- }, z.core.$strip>, z.ZodObject<{
1912
- spaceId: z.ZodString;
1913
- path: z.ZodOptional<z.ZodString>;
1914
- }, z.core.$strip>]>;
1915
- redirectStatus: z.ZodUnion<readonly [z.ZodLiteral<301>, z.ZodLiteral<302>, z.ZodLiteral<307>, z.ZodLiteral<308>]>;
1916
- id: z.ZodString;
1917
- tenantId: z.ZodString;
1918
- domainId: z.ZodString;
1919
- siteDomainAssignmentId: z.ZodNullable<z.ZodString>;
1920
- hostname: z.ZodString;
1921
- pathPrefix: z.ZodNullable<z.ZodString>;
1922
- wildcard: z.ZodBoolean;
1923
- status: z.ZodEnum<{
1924
- active: "active";
1925
- failed: "failed";
1926
- deleted: "deleted";
1927
- pending: "pending";
1928
- blocked: "blocked";
1929
- draft: "draft";
1930
- activating: "activating";
1931
- }>;
1932
- diagnostics: z.ZodArray<z.ZodObject<{
1933
- code: z.ZodString;
1934
- severity: z.ZodEnum<{
1935
- info: "info";
1936
- warning: "warning";
1937
- error: "error";
1938
- }>;
1939
- message: z.ZodString;
1940
- path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1941
- provider: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1942
- registrar: "registrar";
1943
- wpcloud: "wpcloud";
1944
- dns: "dns";
1945
- runtime: "runtime";
1946
- }>>>;
1947
- details: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
1948
- fix: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1949
- retryable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1950
- action: z.ZodOptional<z.ZodEnum<{
1951
- confirm_move: "confirm_move";
1952
- wait: "wait";
1953
- add_dns: "add_dns";
1954
- verify: "verify";
1955
- remove_conflict: "remove_conflict";
1956
- contact_support: "contact_support";
1957
- }>>;
1958
- }, z.core.$strip>>;
1959
- requiredActions: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1960
- type: z.ZodLiteral<"dns">;
1961
- instructions: z.ZodArray<z.ZodObject<{
1962
- type: z.ZodEnum<{
1963
- A: "A";
1964
- AAAA: "AAAA";
1965
- CNAME: "CNAME";
1966
- TXT: "TXT";
1967
- ALIAS: "ALIAS";
1968
- }>;
1969
- name: z.ZodString;
1970
- value: z.ZodString;
1971
- ttl: z.ZodOptional<z.ZodNumber>;
1972
- purpose: z.ZodEnum<{
1973
- verification: "verification";
1974
- routing: "routing";
1975
- ssl: "ssl";
1976
- }>;
1977
- }, z.core.$strip>>;
1978
- }, z.core.$strip>, z.ZodObject<{
1979
- type: z.ZodLiteral<"confirm_move">;
1980
- conflictId: z.ZodString;
1981
- }, z.core.$strip>, z.ZodObject<{
1982
- type: z.ZodLiteral<"verify_domain">;
1983
- domainId: z.ZodString;
1984
- }, z.core.$strip>, z.ZodObject<{
1985
- type: z.ZodLiteral<"renew">;
1986
- domainId: z.ZodString;
1987
- }, z.core.$strip>], "type">>;
1988
- conflicts: z.ZodArray<z.ZodObject<{
1989
- id: z.ZodString;
1990
- scope: z.ZodEnum<{
1991
- external: "external";
1992
- same_space: "same_space";
1993
- same_principal: "same_principal";
1994
- same_tenant: "same_tenant";
1995
- }>;
1996
- hostname: z.ZodString;
1997
- pathPrefix: z.ZodOptional<z.ZodString>;
1998
- existingBindingId: z.ZodOptional<z.ZodString>;
1999
- resolution: z.ZodOptional<z.ZodEnum<{
2000
- activate_moves_existing: "activate_moves_existing";
2001
- choose_different_path: "choose_different_path";
2002
- verify_to_takeover: "verify_to_takeover";
2003
- cannot_resolve: "cannot_resolve";
2004
- }>>;
2005
- }, z.core.$strip>>;
2006
- providerState: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2007
- createdAt: z.ZodString;
2008
- updatedAt: z.ZodString;
2009
- }, z.core.$strip>, z.ZodObject<{
2010
- mode: z.ZodLiteral<"proxy">;
2011
- upstream: z.ZodObject<{
2012
- url: z.ZodString;
2013
- }, z.core.$strip>;
2014
- id: z.ZodString;
2015
- tenantId: z.ZodString;
2016
- domainId: z.ZodString;
2017
- siteDomainAssignmentId: z.ZodNullable<z.ZodString>;
2018
- hostname: z.ZodString;
2019
- pathPrefix: z.ZodNullable<z.ZodString>;
2020
- wildcard: z.ZodBoolean;
2021
- status: z.ZodEnum<{
2022
- active: "active";
2023
- failed: "failed";
2024
- deleted: "deleted";
2025
- pending: "pending";
2026
- blocked: "blocked";
2027
- draft: "draft";
2028
- activating: "activating";
2029
- }>;
2030
- diagnostics: z.ZodArray<z.ZodObject<{
2031
- code: z.ZodString;
2032
- severity: z.ZodEnum<{
2033
- info: "info";
2034
- warning: "warning";
2035
- error: "error";
2036
- }>;
2037
- message: z.ZodString;
2038
- path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2039
- provider: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
2040
- registrar: "registrar";
2041
- wpcloud: "wpcloud";
2042
- dns: "dns";
2043
- runtime: "runtime";
2044
- }>>>;
2045
- details: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
2046
- fix: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2047
- retryable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
2048
- action: z.ZodOptional<z.ZodEnum<{
2049
- confirm_move: "confirm_move";
2050
- wait: "wait";
2051
- add_dns: "add_dns";
2052
- verify: "verify";
2053
- remove_conflict: "remove_conflict";
2054
- contact_support: "contact_support";
2055
- }>>;
2056
- }, z.core.$strip>>;
2057
- requiredActions: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
2058
- type: z.ZodLiteral<"dns">;
2059
- instructions: z.ZodArray<z.ZodObject<{
2060
- type: z.ZodEnum<{
2061
- A: "A";
2062
- AAAA: "AAAA";
2063
- CNAME: "CNAME";
2064
- TXT: "TXT";
2065
- ALIAS: "ALIAS";
2066
- }>;
2067
- name: z.ZodString;
2068
- value: z.ZodString;
2069
- ttl: z.ZodOptional<z.ZodNumber>;
2070
- purpose: z.ZodEnum<{
2071
- verification: "verification";
2072
- routing: "routing";
2073
- ssl: "ssl";
2074
- }>;
2075
- }, z.core.$strip>>;
2076
- }, z.core.$strip>, z.ZodObject<{
2077
- type: z.ZodLiteral<"confirm_move">;
2078
- conflictId: z.ZodString;
2079
- }, z.core.$strip>, z.ZodObject<{
2080
- type: z.ZodLiteral<"verify_domain">;
2081
- domainId: z.ZodString;
2082
- }, z.core.$strip>, z.ZodObject<{
2083
- type: z.ZodLiteral<"renew">;
2084
- domainId: z.ZodString;
2085
- }, z.core.$strip>], "type">>;
2086
- conflicts: z.ZodArray<z.ZodObject<{
2087
- id: z.ZodString;
2088
- scope: z.ZodEnum<{
2089
- external: "external";
2090
- same_space: "same_space";
2091
- same_principal: "same_principal";
2092
- same_tenant: "same_tenant";
2093
- }>;
2094
- hostname: z.ZodString;
2095
- pathPrefix: z.ZodOptional<z.ZodString>;
2096
- existingBindingId: z.ZodOptional<z.ZodString>;
2097
- resolution: z.ZodOptional<z.ZodEnum<{
2098
- activate_moves_existing: "activate_moves_existing";
2099
- choose_different_path: "choose_different_path";
2100
- verify_to_takeover: "verify_to_takeover";
2101
- cannot_resolve: "cannot_resolve";
2102
- }>>;
2103
- }, z.core.$strip>>;
2104
- providerState: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2105
- createdAt: z.ZodString;
2106
- updatedAt: z.ZodString;
2107
- }, z.core.$strip>], "mode">;
2108
- export type DomainBinding = z.infer<typeof domainBindingSchema>;
2109
- export declare const domainBindingCreateSchema: z.ZodObject<{
2110
- domainId: z.ZodOptional<z.ZodString>;
2111
- hostname: z.ZodOptional<z.ZodString>;
2112
- spaceId: z.ZodString;
2113
- mode: z.ZodDefault<z.ZodEnum<{
2114
- redirect: "redirect";
2115
- proxy: "proxy";
2116
- serve: "serve";
2117
- }>>;
2118
- pathPrefix: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2119
- wildcard: z.ZodOptional<z.ZodBoolean>;
2120
- channel: z.ZodOptional<z.ZodString>;
2121
- primary: z.ZodOptional<z.ZodBoolean>;
2122
- to: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
2123
- url: z.ZodString;
2124
- }, z.core.$strip>, z.ZodObject<{
2125
- spaceId: z.ZodString;
2126
- path: z.ZodOptional<z.ZodString>;
2127
- }, z.core.$strip>]>>;
2128
- redirectStatus: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<301>, z.ZodLiteral<302>, z.ZodLiteral<307>, z.ZodLiteral<308>]>>;
2129
- upstream: z.ZodOptional<z.ZodObject<{
2130
- url: z.ZodString;
2131
- }, z.core.$strip>>;
2132
- }, z.core.$strip>;
2133
- export declare const domainBindingPatchSchema: z.ZodObject<{
2134
- mode: z.ZodOptional<z.ZodEnum<{
2135
- redirect: "redirect";
2136
- proxy: "proxy";
2137
- serve: "serve";
2138
- }>>;
2139
- pathPrefix: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2140
- wildcard: z.ZodOptional<z.ZodBoolean>;
2141
- channel: z.ZodOptional<z.ZodString>;
2142
- primary: z.ZodOptional<z.ZodBoolean>;
2143
- to: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
2144
- url: z.ZodString;
2145
- }, z.core.$strip>, z.ZodObject<{
2146
- spaceId: z.ZodString;
2147
- path: z.ZodOptional<z.ZodString>;
2148
- }, z.core.$strip>]>>;
2149
- redirectStatus: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<301>, z.ZodLiteral<302>, z.ZodLiteral<307>, z.ZodLiteral<308>]>>;
2150
- upstream: z.ZodOptional<z.ZodObject<{
2151
- url: z.ZodString;
2152
- }, z.core.$strip>>;
2153
- }, z.core.$strip>;
2154
- export declare const domainBindingActivateSchema: z.ZodObject<{
2155
- confirm: z.ZodDefault<z.ZodArray<z.ZodString>>;
2156
- }, z.core.$strip>;
2157
- export declare const domainBindingActivateResponseSchema: z.ZodObject<{
2158
- data: z.ZodDiscriminatedUnion<[z.ZodObject<{
2159
- mode: z.ZodLiteral<"serve">;
2160
- spaceId: z.ZodString;
2161
- channel: z.ZodString;
2162
- primary: z.ZodBoolean;
2163
- id: z.ZodString;
2164
- tenantId: z.ZodString;
2165
- domainId: z.ZodString;
2166
- siteDomainAssignmentId: z.ZodNullable<z.ZodString>;
2167
- hostname: z.ZodString;
2168
- pathPrefix: z.ZodNullable<z.ZodString>;
2169
- wildcard: z.ZodBoolean;
2170
- status: z.ZodEnum<{
2171
- active: "active";
2172
- failed: "failed";
2173
- deleted: "deleted";
2174
- pending: "pending";
2175
- blocked: "blocked";
2176
- draft: "draft";
2177
- activating: "activating";
2178
- }>;
2179
- diagnostics: z.ZodArray<z.ZodObject<{
2180
- code: z.ZodString;
2181
- severity: z.ZodEnum<{
2182
- info: "info";
2183
- warning: "warning";
2184
- error: "error";
2185
- }>;
2186
- message: z.ZodString;
2187
- path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2188
- provider: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
2189
- registrar: "registrar";
2190
- wpcloud: "wpcloud";
2191
- dns: "dns";
2192
- runtime: "runtime";
2193
- }>>>;
2194
- details: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
2195
- fix: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2196
- retryable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
2197
- action: z.ZodOptional<z.ZodEnum<{
2198
- confirm_move: "confirm_move";
2199
- wait: "wait";
2200
- add_dns: "add_dns";
2201
- verify: "verify";
2202
- remove_conflict: "remove_conflict";
2203
- contact_support: "contact_support";
2204
- }>>;
2205
- }, z.core.$strip>>;
2206
- requiredActions: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
2207
- type: z.ZodLiteral<"dns">;
2208
- instructions: z.ZodArray<z.ZodObject<{
2209
- type: z.ZodEnum<{
2210
- A: "A";
2211
- AAAA: "AAAA";
2212
- CNAME: "CNAME";
2213
- TXT: "TXT";
2214
- ALIAS: "ALIAS";
2215
- }>;
2216
- name: z.ZodString;
2217
- value: z.ZodString;
2218
- ttl: z.ZodOptional<z.ZodNumber>;
2219
- purpose: z.ZodEnum<{
2220
- verification: "verification";
2221
- routing: "routing";
2222
- ssl: "ssl";
2223
- }>;
2224
- }, z.core.$strip>>;
2225
- }, z.core.$strip>, z.ZodObject<{
2226
- type: z.ZodLiteral<"confirm_move">;
2227
- conflictId: z.ZodString;
2228
- }, z.core.$strip>, z.ZodObject<{
2229
- type: z.ZodLiteral<"verify_domain">;
2230
- domainId: z.ZodString;
2231
- }, z.core.$strip>, z.ZodObject<{
2232
- type: z.ZodLiteral<"renew">;
2233
- domainId: z.ZodString;
2234
- }, z.core.$strip>], "type">>;
2235
- conflicts: z.ZodArray<z.ZodObject<{
2236
- id: z.ZodString;
2237
- scope: z.ZodEnum<{
2238
- external: "external";
2239
- same_space: "same_space";
2240
- same_principal: "same_principal";
2241
- same_tenant: "same_tenant";
2242
- }>;
2243
- hostname: z.ZodString;
2244
- pathPrefix: z.ZodOptional<z.ZodString>;
2245
- existingBindingId: z.ZodOptional<z.ZodString>;
2246
- resolution: z.ZodOptional<z.ZodEnum<{
2247
- activate_moves_existing: "activate_moves_existing";
2248
- choose_different_path: "choose_different_path";
2249
- verify_to_takeover: "verify_to_takeover";
2250
- cannot_resolve: "cannot_resolve";
2251
- }>>;
2252
- }, z.core.$strip>>;
2253
- providerState: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2254
- createdAt: z.ZodString;
2255
- updatedAt: z.ZodString;
2256
- }, z.core.$strip>, z.ZodObject<{
2257
- mode: z.ZodLiteral<"redirect">;
2258
- to: z.ZodUnion<readonly [z.ZodObject<{
2259
- url: z.ZodString;
2260
- }, z.core.$strip>, z.ZodObject<{
2261
- spaceId: z.ZodString;
2262
- path: z.ZodOptional<z.ZodString>;
2263
- }, z.core.$strip>]>;
2264
- redirectStatus: z.ZodUnion<readonly [z.ZodLiteral<301>, z.ZodLiteral<302>, z.ZodLiteral<307>, z.ZodLiteral<308>]>;
2265
- id: z.ZodString;
2266
- tenantId: z.ZodString;
2267
- domainId: z.ZodString;
2268
- siteDomainAssignmentId: z.ZodNullable<z.ZodString>;
2269
- hostname: z.ZodString;
2270
- pathPrefix: z.ZodNullable<z.ZodString>;
2271
- wildcard: z.ZodBoolean;
2272
- status: z.ZodEnum<{
2273
- active: "active";
2274
- failed: "failed";
2275
- deleted: "deleted";
2276
- pending: "pending";
2277
- blocked: "blocked";
2278
- draft: "draft";
2279
- activating: "activating";
2280
- }>;
2281
- diagnostics: z.ZodArray<z.ZodObject<{
2282
- code: z.ZodString;
2283
- severity: z.ZodEnum<{
2284
- info: "info";
2285
- warning: "warning";
2286
- error: "error";
2287
- }>;
2288
- message: z.ZodString;
2289
- path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2290
- provider: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
2291
- registrar: "registrar";
2292
- wpcloud: "wpcloud";
2293
- dns: "dns";
2294
- runtime: "runtime";
2295
- }>>>;
2296
- details: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
2297
- fix: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2298
- retryable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
2299
- action: z.ZodOptional<z.ZodEnum<{
2300
- confirm_move: "confirm_move";
2301
- wait: "wait";
2302
- add_dns: "add_dns";
2303
- verify: "verify";
2304
- remove_conflict: "remove_conflict";
2305
- contact_support: "contact_support";
2306
- }>>;
2307
- }, z.core.$strip>>;
2308
- requiredActions: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
2309
- type: z.ZodLiteral<"dns">;
2310
- instructions: z.ZodArray<z.ZodObject<{
2311
- type: z.ZodEnum<{
2312
- A: "A";
2313
- AAAA: "AAAA";
2314
- CNAME: "CNAME";
2315
- TXT: "TXT";
2316
- ALIAS: "ALIAS";
2317
- }>;
2318
- name: z.ZodString;
2319
- value: z.ZodString;
2320
- ttl: z.ZodOptional<z.ZodNumber>;
2321
- purpose: z.ZodEnum<{
2322
- verification: "verification";
2323
- routing: "routing";
2324
- ssl: "ssl";
2325
- }>;
2326
- }, z.core.$strip>>;
2327
- }, z.core.$strip>, z.ZodObject<{
2328
- type: z.ZodLiteral<"confirm_move">;
2329
- conflictId: z.ZodString;
2330
- }, z.core.$strip>, z.ZodObject<{
2331
- type: z.ZodLiteral<"verify_domain">;
2332
- domainId: z.ZodString;
2333
- }, z.core.$strip>, z.ZodObject<{
2334
- type: z.ZodLiteral<"renew">;
2335
- domainId: z.ZodString;
2336
- }, z.core.$strip>], "type">>;
2337
- conflicts: z.ZodArray<z.ZodObject<{
2338
- id: z.ZodString;
2339
- scope: z.ZodEnum<{
2340
- external: "external";
2341
- same_space: "same_space";
2342
- same_principal: "same_principal";
2343
- same_tenant: "same_tenant";
2344
- }>;
2345
- hostname: z.ZodString;
2346
- pathPrefix: z.ZodOptional<z.ZodString>;
2347
- existingBindingId: z.ZodOptional<z.ZodString>;
2348
- resolution: z.ZodOptional<z.ZodEnum<{
2349
- activate_moves_existing: "activate_moves_existing";
2350
- choose_different_path: "choose_different_path";
2351
- verify_to_takeover: "verify_to_takeover";
2352
- cannot_resolve: "cannot_resolve";
2353
- }>>;
2354
- }, z.core.$strip>>;
2355
- providerState: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2356
- createdAt: z.ZodString;
2357
- updatedAt: z.ZodString;
2358
- }, z.core.$strip>, z.ZodObject<{
2359
- mode: z.ZodLiteral<"proxy">;
2360
- upstream: z.ZodObject<{
2361
- url: z.ZodString;
2362
- }, z.core.$strip>;
2363
- id: z.ZodString;
2364
- tenantId: z.ZodString;
2365
- domainId: z.ZodString;
2366
- siteDomainAssignmentId: z.ZodNullable<z.ZodString>;
2367
- hostname: z.ZodString;
2368
- pathPrefix: z.ZodNullable<z.ZodString>;
2369
- wildcard: z.ZodBoolean;
2370
- status: z.ZodEnum<{
2371
- active: "active";
2372
- failed: "failed";
2373
- deleted: "deleted";
2374
- pending: "pending";
2375
- blocked: "blocked";
2376
- draft: "draft";
2377
- activating: "activating";
2378
- }>;
2379
- diagnostics: z.ZodArray<z.ZodObject<{
2380
- code: z.ZodString;
2381
- severity: z.ZodEnum<{
2382
- info: "info";
2383
- warning: "warning";
2384
- error: "error";
2385
- }>;
2386
- message: z.ZodString;
2387
- path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2388
- provider: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
2389
- registrar: "registrar";
2390
- wpcloud: "wpcloud";
2391
- dns: "dns";
2392
- runtime: "runtime";
2393
- }>>>;
2394
- details: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
2395
- fix: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2396
- retryable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
2397
- action: z.ZodOptional<z.ZodEnum<{
2398
- confirm_move: "confirm_move";
2399
- wait: "wait";
2400
- add_dns: "add_dns";
2401
- verify: "verify";
2402
- remove_conflict: "remove_conflict";
2403
- contact_support: "contact_support";
2404
- }>>;
2405
- }, z.core.$strip>>;
2406
- requiredActions: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
2407
- type: z.ZodLiteral<"dns">;
2408
- instructions: z.ZodArray<z.ZodObject<{
2409
- type: z.ZodEnum<{
2410
- A: "A";
2411
- AAAA: "AAAA";
2412
- CNAME: "CNAME";
2413
- TXT: "TXT";
2414
- ALIAS: "ALIAS";
2415
- }>;
2416
- name: z.ZodString;
2417
- value: z.ZodString;
2418
- ttl: z.ZodOptional<z.ZodNumber>;
2419
- purpose: z.ZodEnum<{
2420
- verification: "verification";
2421
- routing: "routing";
2422
- ssl: "ssl";
2423
- }>;
2424
- }, z.core.$strip>>;
2425
- }, z.core.$strip>, z.ZodObject<{
2426
- type: z.ZodLiteral<"confirm_move">;
2427
- conflictId: z.ZodString;
2428
- }, z.core.$strip>, z.ZodObject<{
2429
- type: z.ZodLiteral<"verify_domain">;
2430
- domainId: z.ZodString;
2431
- }, z.core.$strip>, z.ZodObject<{
2432
- type: z.ZodLiteral<"renew">;
2433
- domainId: z.ZodString;
2434
- }, z.core.$strip>], "type">>;
2435
- conflicts: z.ZodArray<z.ZodObject<{
2436
- id: z.ZodString;
2437
- scope: z.ZodEnum<{
2438
- external: "external";
2439
- same_space: "same_space";
2440
- same_principal: "same_principal";
2441
- same_tenant: "same_tenant";
2442
- }>;
2443
- hostname: z.ZodString;
2444
- pathPrefix: z.ZodOptional<z.ZodString>;
2445
- existingBindingId: z.ZodOptional<z.ZodString>;
2446
- resolution: z.ZodOptional<z.ZodEnum<{
2447
- activate_moves_existing: "activate_moves_existing";
2448
- choose_different_path: "choose_different_path";
2449
- verify_to_takeover: "verify_to_takeover";
2450
- cannot_resolve: "cannot_resolve";
2451
- }>>;
2452
- }, z.core.$strip>>;
2453
- providerState: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2454
- createdAt: z.ZodString;
2455
- updatedAt: z.ZodString;
2456
- }, z.core.$strip>], "mode">;
2457
- operation: z.ZodNullable<z.ZodObject<{
2458
- id: z.ZodString;
2459
- kind: z.ZodString;
2460
- status: z.ZodEnum<{
2461
- failed: "failed";
2462
- canceled: "canceled";
2463
- queued: "queued";
2464
- running: "running";
2465
- succeeded: "succeeded";
2466
- }>;
2467
- resources: z.ZodArray<z.ZodObject<{
2468
- type: z.ZodString;
2469
- id: z.ZodString;
2470
- }, z.core.$strip>>;
2471
- progress: z.ZodOptional<z.ZodObject<{
2472
- total: z.ZodNumber;
2473
- completed: z.ZodNumber;
2474
- failed: z.ZodNumber;
2475
- }, z.core.$strip>>;
2476
- diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
2477
- code: z.ZodString;
2478
- severity: z.ZodEnum<{
2479
- info: "info";
2480
- warning: "warning";
2481
- error: "error";
2482
- }>;
2483
- message: z.ZodString;
2484
- path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2485
- provider: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
2486
- registrar: "registrar";
2487
- wpcloud: "wpcloud";
2488
- dns: "dns";
2489
- runtime: "runtime";
2490
- }>>>;
2491
- details: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
2492
- fix: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2493
- retryable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
2494
- }, z.core.$strip>>>;
2495
- createdAt: z.ZodString;
2496
- finishedAt: z.ZodOptional<z.ZodString>;
2497
- }, z.core.$strip>>;
2498
- }, z.core.$strip>;
2499
- export declare const domainBindingListResponseSchema: z.ZodObject<{
2500
- data: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
2501
- mode: z.ZodLiteral<"serve">;
2502
- spaceId: z.ZodString;
2503
- channel: z.ZodString;
2504
- primary: z.ZodBoolean;
2505
- id: z.ZodString;
2506
- tenantId: z.ZodString;
2507
- domainId: z.ZodString;
2508
- siteDomainAssignmentId: z.ZodNullable<z.ZodString>;
2509
- hostname: z.ZodString;
2510
- pathPrefix: z.ZodNullable<z.ZodString>;
2511
- wildcard: z.ZodBoolean;
2512
- status: z.ZodEnum<{
2513
- active: "active";
2514
- failed: "failed";
2515
- deleted: "deleted";
2516
- pending: "pending";
2517
- blocked: "blocked";
2518
- draft: "draft";
2519
- activating: "activating";
2520
- }>;
2521
- diagnostics: z.ZodArray<z.ZodObject<{
2522
- code: z.ZodString;
2523
- severity: z.ZodEnum<{
2524
- info: "info";
2525
- warning: "warning";
2526
- error: "error";
2527
- }>;
2528
- message: z.ZodString;
2529
- path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2530
- provider: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
2531
- registrar: "registrar";
2532
- wpcloud: "wpcloud";
2533
- dns: "dns";
2534
- runtime: "runtime";
2535
- }>>>;
2536
- details: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
2537
- fix: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2538
- retryable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
2539
- action: z.ZodOptional<z.ZodEnum<{
2540
- confirm_move: "confirm_move";
2541
- wait: "wait";
2542
- add_dns: "add_dns";
2543
- verify: "verify";
2544
- remove_conflict: "remove_conflict";
2545
- contact_support: "contact_support";
2546
- }>>;
2547
- }, z.core.$strip>>;
2548
- requiredActions: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
2549
- type: z.ZodLiteral<"dns">;
2550
- instructions: z.ZodArray<z.ZodObject<{
2551
- type: z.ZodEnum<{
2552
- A: "A";
2553
- AAAA: "AAAA";
2554
- CNAME: "CNAME";
2555
- TXT: "TXT";
2556
- ALIAS: "ALIAS";
2557
- }>;
2558
- name: z.ZodString;
2559
- value: z.ZodString;
2560
- ttl: z.ZodOptional<z.ZodNumber>;
2561
- purpose: z.ZodEnum<{
2562
- verification: "verification";
2563
- routing: "routing";
2564
- ssl: "ssl";
2565
- }>;
2566
- }, z.core.$strip>>;
2567
- }, z.core.$strip>, z.ZodObject<{
2568
- type: z.ZodLiteral<"confirm_move">;
2569
- conflictId: z.ZodString;
2570
- }, z.core.$strip>, z.ZodObject<{
2571
- type: z.ZodLiteral<"verify_domain">;
2572
- domainId: z.ZodString;
2573
- }, z.core.$strip>, z.ZodObject<{
2574
- type: z.ZodLiteral<"renew">;
2575
- domainId: z.ZodString;
2576
- }, z.core.$strip>], "type">>;
2577
- conflicts: z.ZodArray<z.ZodObject<{
2578
- id: z.ZodString;
2579
- scope: z.ZodEnum<{
2580
- external: "external";
2581
- same_space: "same_space";
2582
- same_principal: "same_principal";
2583
- same_tenant: "same_tenant";
2584
- }>;
2585
- hostname: z.ZodString;
2586
- pathPrefix: z.ZodOptional<z.ZodString>;
2587
- existingBindingId: z.ZodOptional<z.ZodString>;
2588
- resolution: z.ZodOptional<z.ZodEnum<{
2589
- activate_moves_existing: "activate_moves_existing";
2590
- choose_different_path: "choose_different_path";
2591
- verify_to_takeover: "verify_to_takeover";
2592
- cannot_resolve: "cannot_resolve";
2593
- }>>;
2594
- }, z.core.$strip>>;
2595
- providerState: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2596
- createdAt: z.ZodString;
2597
- updatedAt: z.ZodString;
2598
- }, z.core.$strip>, z.ZodObject<{
2599
- mode: z.ZodLiteral<"redirect">;
2600
- to: z.ZodUnion<readonly [z.ZodObject<{
2601
- url: z.ZodString;
2602
- }, z.core.$strip>, z.ZodObject<{
2603
- spaceId: z.ZodString;
2604
- path: z.ZodOptional<z.ZodString>;
2605
- }, z.core.$strip>]>;
2606
- redirectStatus: z.ZodUnion<readonly [z.ZodLiteral<301>, z.ZodLiteral<302>, z.ZodLiteral<307>, z.ZodLiteral<308>]>;
2607
- id: z.ZodString;
2608
- tenantId: z.ZodString;
2609
- domainId: z.ZodString;
2610
- siteDomainAssignmentId: z.ZodNullable<z.ZodString>;
2611
- hostname: z.ZodString;
2612
- pathPrefix: z.ZodNullable<z.ZodString>;
2613
- wildcard: z.ZodBoolean;
2614
- status: z.ZodEnum<{
2615
- active: "active";
2616
- failed: "failed";
2617
- deleted: "deleted";
2618
- pending: "pending";
2619
- blocked: "blocked";
2620
- draft: "draft";
2621
- activating: "activating";
2622
- }>;
2623
- diagnostics: z.ZodArray<z.ZodObject<{
2624
- code: z.ZodString;
2625
- severity: z.ZodEnum<{
2626
- info: "info";
2627
- warning: "warning";
2628
- error: "error";
2629
- }>;
2630
- message: z.ZodString;
2631
- path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2632
- provider: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
2633
- registrar: "registrar";
2634
- wpcloud: "wpcloud";
2635
- dns: "dns";
2636
- runtime: "runtime";
2637
- }>>>;
2638
- details: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
2639
- fix: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2640
- retryable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
2641
- action: z.ZodOptional<z.ZodEnum<{
2642
- confirm_move: "confirm_move";
2643
- wait: "wait";
2644
- add_dns: "add_dns";
2645
- verify: "verify";
2646
- remove_conflict: "remove_conflict";
2647
- contact_support: "contact_support";
2648
- }>>;
2649
- }, z.core.$strip>>;
2650
- requiredActions: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
2651
- type: z.ZodLiteral<"dns">;
2652
- instructions: z.ZodArray<z.ZodObject<{
2653
- type: z.ZodEnum<{
2654
- A: "A";
2655
- AAAA: "AAAA";
2656
- CNAME: "CNAME";
2657
- TXT: "TXT";
2658
- ALIAS: "ALIAS";
2659
- }>;
2660
- name: z.ZodString;
2661
- value: z.ZodString;
2662
- ttl: z.ZodOptional<z.ZodNumber>;
2663
- purpose: z.ZodEnum<{
2664
- verification: "verification";
2665
- routing: "routing";
2666
- ssl: "ssl";
2667
- }>;
2668
- }, z.core.$strip>>;
2669
- }, z.core.$strip>, z.ZodObject<{
2670
- type: z.ZodLiteral<"confirm_move">;
2671
- conflictId: z.ZodString;
2672
- }, z.core.$strip>, z.ZodObject<{
2673
- type: z.ZodLiteral<"verify_domain">;
2674
- domainId: z.ZodString;
2675
- }, z.core.$strip>, z.ZodObject<{
2676
- type: z.ZodLiteral<"renew">;
2677
- domainId: z.ZodString;
2678
- }, z.core.$strip>], "type">>;
2679
- conflicts: z.ZodArray<z.ZodObject<{
2680
- id: z.ZodString;
2681
- scope: z.ZodEnum<{
2682
- external: "external";
2683
- same_space: "same_space";
2684
- same_principal: "same_principal";
2685
- same_tenant: "same_tenant";
2686
- }>;
2687
- hostname: z.ZodString;
2688
- pathPrefix: z.ZodOptional<z.ZodString>;
2689
- existingBindingId: z.ZodOptional<z.ZodString>;
2690
- resolution: z.ZodOptional<z.ZodEnum<{
2691
- activate_moves_existing: "activate_moves_existing";
2692
- choose_different_path: "choose_different_path";
2693
- verify_to_takeover: "verify_to_takeover";
2694
- cannot_resolve: "cannot_resolve";
2695
- }>>;
2696
- }, z.core.$strip>>;
2697
- providerState: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2698
- createdAt: z.ZodString;
2699
- updatedAt: z.ZodString;
2700
- }, z.core.$strip>, z.ZodObject<{
2701
- mode: z.ZodLiteral<"proxy">;
2702
- upstream: z.ZodObject<{
2703
- url: z.ZodString;
2704
- }, z.core.$strip>;
2705
- id: z.ZodString;
2706
- tenantId: z.ZodString;
2707
- domainId: z.ZodString;
2708
- siteDomainAssignmentId: z.ZodNullable<z.ZodString>;
2709
- hostname: z.ZodString;
2710
- pathPrefix: z.ZodNullable<z.ZodString>;
2711
- wildcard: z.ZodBoolean;
2712
- status: z.ZodEnum<{
2713
- active: "active";
2714
- failed: "failed";
2715
- deleted: "deleted";
2716
- pending: "pending";
2717
- blocked: "blocked";
2718
- draft: "draft";
2719
- activating: "activating";
2720
- }>;
2721
- diagnostics: z.ZodArray<z.ZodObject<{
2722
- code: z.ZodString;
2723
- severity: z.ZodEnum<{
2724
- info: "info";
2725
- warning: "warning";
2726
- error: "error";
2727
- }>;
2728
- message: z.ZodString;
2729
- path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2730
- provider: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
2731
- registrar: "registrar";
2732
- wpcloud: "wpcloud";
2733
- dns: "dns";
2734
- runtime: "runtime";
2735
- }>>>;
2736
- details: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
2737
- fix: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2738
- retryable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
2739
- action: z.ZodOptional<z.ZodEnum<{
2740
- confirm_move: "confirm_move";
2741
- wait: "wait";
2742
- add_dns: "add_dns";
2743
- verify: "verify";
2744
- remove_conflict: "remove_conflict";
2745
- contact_support: "contact_support";
2746
- }>>;
2747
- }, z.core.$strip>>;
2748
- requiredActions: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
2749
- type: z.ZodLiteral<"dns">;
2750
- instructions: z.ZodArray<z.ZodObject<{
2751
- type: z.ZodEnum<{
2752
- A: "A";
2753
- AAAA: "AAAA";
2754
- CNAME: "CNAME";
2755
- TXT: "TXT";
2756
- ALIAS: "ALIAS";
2757
- }>;
2758
- name: z.ZodString;
2759
- value: z.ZodString;
2760
- ttl: z.ZodOptional<z.ZodNumber>;
2761
- purpose: z.ZodEnum<{
2762
- verification: "verification";
2763
- routing: "routing";
2764
- ssl: "ssl";
2765
- }>;
1663
+ }, z.core.$strip>], "type">;
1664
+ primary: z.ZodOptional<z.ZodBoolean>;
1665
+ destructive: z.ZodOptional<z.ZodBoolean>;
2766
1666
  }, z.core.$strip>>;
2767
- }, z.core.$strip>, z.ZodObject<{
2768
- type: z.ZodLiteral<"confirm_move">;
2769
- conflictId: z.ZodString;
2770
- }, z.core.$strip>, z.ZodObject<{
2771
- type: z.ZodLiteral<"verify_domain">;
2772
- domainId: z.ZodString;
2773
- }, z.core.$strip>, z.ZodObject<{
2774
- type: z.ZodLiteral<"renew">;
2775
- domainId: z.ZodString;
2776
- }, z.core.$strip>], "type">>;
2777
- conflicts: z.ZodArray<z.ZodObject<{
2778
- id: z.ZodString;
2779
- scope: z.ZodEnum<{
2780
- external: "external";
2781
- same_space: "same_space";
2782
- same_principal: "same_principal";
2783
- same_tenant: "same_tenant";
2784
- }>;
2785
- hostname: z.ZodString;
2786
- pathPrefix: z.ZodOptional<z.ZodString>;
2787
- existingBindingId: z.ZodOptional<z.ZodString>;
2788
- resolution: z.ZodOptional<z.ZodEnum<{
2789
- activate_moves_existing: "activate_moves_existing";
2790
- choose_different_path: "choose_different_path";
2791
- verify_to_takeover: "verify_to_takeover";
2792
- cannot_resolve: "cannot_resolve";
2793
- }>>;
2794
- }, z.core.$strip>>;
2795
- providerState: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1667
+ docsUrl: z.ZodOptional<z.ZodString>;
1668
+ operationId: z.ZodOptional<z.ZodString>;
1669
+ requestId: z.ZodOptional<z.ZodString>;
1670
+ providerRequestId: z.ZodOptional<z.ZodString>;
1671
+ expiresAt: z.ZodOptional<z.ZodString>;
1672
+ }, z.core.$strip>>>;
2796
1673
  createdAt: z.ZodString;
2797
1674
  updatedAt: z.ZodString;
2798
- }, z.core.$strip>], "mode">>;
1675
+ source: z.ZodLiteral<"custom">;
1676
+ managed: z.ZodLiteral<false>;
1677
+ deletable: z.ZodLiteral<true>;
1678
+ assignable: z.ZodLiteral<true>;
1679
+ primary: z.ZodBoolean;
1680
+ }, z.core.$strip>], "source">>;
2799
1681
  pagination: z.ZodObject<{
2800
1682
  nextCursor: z.ZodNullable<z.ZodString>;
2801
1683
  hasMore: z.ZodBoolean;
2802
1684
  }, z.core.$strip>;
2803
1685
  }, z.core.$strip>;
2804
- export declare const domainBindingListQuerySchema: z.ZodObject<{
2805
- limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
2806
- cursor: z.ZodOptional<z.ZodString>;
2807
- }, z.core.$strip>;
2808
- export declare const siteDomainAssignmentSchema: z.ZodObject<{
1686
+ export declare const teamManagedDomainSchema: z.ZodObject<{
2809
1687
  id: z.ZodString;
2810
- tenantId: z.ZodString;
2811
- domainId: z.ZodString;
2812
- siteId: z.ZodNullable<z.ZodString>;
2813
- hostname: z.ZodString;
2814
- status: z.ZodEnum<{
2815
- active: "active";
2816
- failed: "failed";
2817
- blocked: "blocked";
2818
- unassigned: "unassigned";
2819
- pending_provider: "pending_provider";
2820
- pending_dns: "pending_dns";
2821
- pending_ssl: "pending_ssl";
2822
- }>;
2823
- dnsInstructions: z.ZodArray<z.ZodObject<{
2824
- type: z.ZodEnum<{
2825
- A: "A";
2826
- AAAA: "AAAA";
2827
- CNAME: "CNAME";
2828
- TXT: "TXT";
2829
- ALIAS: "ALIAS";
2830
- }>;
2831
- name: z.ZodString;
2832
- value: z.ZodString;
2833
- ttl: z.ZodOptional<z.ZodNumber>;
2834
- purpose: z.ZodEnum<{
2835
- verification: "verification";
2836
- routing: "routing";
2837
- ssl: "ssl";
2838
- }>;
2839
- }, z.core.$strip>>;
2840
- providerState: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2841
- diagnostics: z.ZodArray<z.ZodObject<{
2842
- code: z.ZodString;
2843
- severity: z.ZodEnum<{
2844
- info: "info";
2845
- warning: "warning";
2846
- error: "error";
2847
- }>;
2848
- message: z.ZodString;
2849
- path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2850
- provider: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
2851
- registrar: "registrar";
2852
- wpcloud: "wpcloud";
2853
- dns: "dns";
2854
- runtime: "runtime";
2855
- }>>>;
2856
- details: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
2857
- fix: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2858
- retryable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
2859
- }, z.core.$strip>>;
2860
- createdAt: z.ZodString;
2861
- updatedAt: z.ZodString;
2862
- }, z.core.$strip>;
2863
- export type SiteDomainAssignment = z.infer<typeof siteDomainAssignmentSchema>;
2864
- export declare const siteDomainAssignmentCreateSchema: z.ZodObject<{
2865
- spaceId: z.ZodString;
2866
- }, z.core.$strip>;
2867
- export declare const siteDomainAssignmentListResponseSchema: z.ZodObject<{
2868
- data: z.ZodArray<z.ZodObject<{
2869
- id: z.ZodString;
2870
- tenantId: z.ZodString;
2871
- domainId: z.ZodString;
2872
- siteId: z.ZodNullable<z.ZodString>;
2873
- hostname: z.ZodString;
2874
- status: z.ZodEnum<{
2875
- active: "active";
2876
- failed: "failed";
2877
- blocked: "blocked";
2878
- unassigned: "unassigned";
2879
- pending_provider: "pending_provider";
2880
- pending_dns: "pending_dns";
2881
- pending_ssl: "pending_ssl";
2882
- }>;
2883
- dnsInstructions: z.ZodArray<z.ZodObject<{
1688
+ source: z.ZodLiteral<"managed_view_fast">;
1689
+ managed: z.ZodLiteral<true>;
1690
+ deletable: z.ZodLiteral<false>;
1691
+ assignable: z.ZodLiteral<false>;
1692
+ primary: z.ZodBoolean;
1693
+ name: z.ZodString;
1694
+ unicodeName: z.ZodOptional<z.ZodString>;
1695
+ kind: z.ZodLiteral<"hostname">;
1696
+ publicName: z.ZodString;
1697
+ verification: z.ZodObject<{
1698
+ requiredRecords: z.ZodOptional<z.ZodArray<z.ZodObject<{
2884
1699
  type: z.ZodEnum<{
2885
1700
  A: "A";
2886
1701
  AAAA: "AAAA";
@@ -2896,14 +1711,15 @@ export declare const siteDomainAssignmentListResponseSchema: z.ZodObject<{
2896
1711
  routing: "routing";
2897
1712
  ssl: "ssl";
2898
1713
  }>;
2899
- }, z.core.$strip>>;
2900
- providerState: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2901
- diagnostics: z.ZodArray<z.ZodObject<{
1714
+ }, z.core.$strip>>>;
1715
+ lastCheckedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1716
+ lastVerifiedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1717
+ diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
2902
1718
  code: z.ZodString;
2903
1719
  severity: z.ZodEnum<{
2904
1720
  info: "info";
2905
- warning: "warning";
2906
1721
  error: "error";
1722
+ warning: "warning";
2907
1723
  }>;
2908
1724
  message: z.ZodString;
2909
1725
  path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -2916,15 +1732,87 @@ export declare const siteDomainAssignmentListResponseSchema: z.ZodObject<{
2916
1732
  details: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
2917
1733
  fix: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2918
1734
  retryable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
2919
- }, z.core.$strip>>;
1735
+ }, z.core.$strip>>>;
1736
+ status: z.ZodLiteral<"not_required">;
1737
+ }, z.core.$strip>;
1738
+ createdAt: z.ZodString;
1739
+ updatedAt: z.ZodString;
1740
+ spaceId: z.ZodString;
1741
+ spaceSlug: z.ZodString;
1742
+ spaceTitle: z.ZodString;
1743
+ }, z.core.$strip>;
1744
+ export type TeamManagedDomain = z.infer<typeof teamManagedDomainSchema>;
1745
+ export declare const teamManagedDomainListResponseSchema: z.ZodObject<{
1746
+ data: z.ZodArray<z.ZodObject<{
1747
+ id: z.ZodString;
1748
+ source: z.ZodLiteral<"managed_view_fast">;
1749
+ managed: z.ZodLiteral<true>;
1750
+ deletable: z.ZodLiteral<false>;
1751
+ assignable: z.ZodLiteral<false>;
1752
+ primary: z.ZodBoolean;
1753
+ name: z.ZodString;
1754
+ unicodeName: z.ZodOptional<z.ZodString>;
1755
+ kind: z.ZodLiteral<"hostname">;
1756
+ publicName: z.ZodString;
1757
+ verification: z.ZodObject<{
1758
+ requiredRecords: z.ZodOptional<z.ZodArray<z.ZodObject<{
1759
+ type: z.ZodEnum<{
1760
+ A: "A";
1761
+ AAAA: "AAAA";
1762
+ CNAME: "CNAME";
1763
+ TXT: "TXT";
1764
+ ALIAS: "ALIAS";
1765
+ }>;
1766
+ name: z.ZodString;
1767
+ value: z.ZodString;
1768
+ ttl: z.ZodOptional<z.ZodNumber>;
1769
+ purpose: z.ZodEnum<{
1770
+ verification: "verification";
1771
+ routing: "routing";
1772
+ ssl: "ssl";
1773
+ }>;
1774
+ }, z.core.$strip>>>;
1775
+ lastCheckedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1776
+ lastVerifiedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1777
+ diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
1778
+ code: z.ZodString;
1779
+ severity: z.ZodEnum<{
1780
+ info: "info";
1781
+ error: "error";
1782
+ warning: "warning";
1783
+ }>;
1784
+ message: z.ZodString;
1785
+ path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1786
+ provider: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1787
+ registrar: "registrar";
1788
+ wpcloud: "wpcloud";
1789
+ dns: "dns";
1790
+ runtime: "runtime";
1791
+ }>>>;
1792
+ details: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
1793
+ fix: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1794
+ retryable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1795
+ }, z.core.$strip>>>;
1796
+ status: z.ZodLiteral<"not_required">;
1797
+ }, z.core.$strip>;
2920
1798
  createdAt: z.ZodString;
2921
1799
  updatedAt: z.ZodString;
1800
+ spaceId: z.ZodString;
1801
+ spaceSlug: z.ZodString;
1802
+ spaceTitle: z.ZodString;
2922
1803
  }, z.core.$strip>>;
2923
1804
  pagination: z.ZodObject<{
2924
1805
  nextCursor: z.ZodNullable<z.ZodString>;
2925
1806
  hasMore: z.ZodBoolean;
2926
1807
  }, z.core.$strip>;
2927
1808
  }, z.core.$strip>;
1809
+ export declare const domainCreateRequestSchema: z.ZodObject<{
1810
+ name: z.ZodString;
1811
+ teamId: z.ZodOptional<z.ZodString>;
1812
+ }, z.core.$strip>;
1813
+ export declare const domainPatchSchema: z.ZodObject<{
1814
+ wildcardEnabled: z.ZodOptional<z.ZodBoolean>;
1815
+ }, z.core.$strip>;
2928
1816
  export declare const domainRegistrationSchema: z.ZodObject<{
2929
1817
  id: z.ZodNullable<z.ZodString>;
2930
1818
  domainId: z.ZodString;
@@ -3011,8 +1899,8 @@ export declare const domainRegistrationActionResponseSchema: z.ZodObject<{
3011
1899
  code: z.ZodString;
3012
1900
  severity: z.ZodEnum<{
3013
1901
  info: "info";
3014
- warning: "warning";
3015
1902
  error: "error";
1903
+ warning: "warning";
3016
1904
  }>;
3017
1905
  message: z.ZodString;
3018
1906
  path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -3054,8 +1942,8 @@ export declare const domainNameserverResponseSchema: z.ZodObject<{
3054
1942
  code: z.ZodString;
3055
1943
  severity: z.ZodEnum<{
3056
1944
  info: "info";
3057
- warning: "warning";
3058
1945
  error: "error";
1946
+ warning: "warning";
3059
1947
  }>;
3060
1948
  message: z.ZodString;
3061
1949
  path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -3099,6 +1987,17 @@ export declare const domainDnsModeResponseSchema: z.ZodObject<{
3099
1987
  apex: "apex";
3100
1988
  }>;
3101
1989
  wildcardEnabled: z.ZodBoolean;
1990
+ spaceId: z.ZodNullable<z.ZodString>;
1991
+ primary: z.ZodBoolean;
1992
+ redirect: z.ZodOptional<z.ZodObject<{
1993
+ to: z.ZodUnion<readonly [z.ZodObject<{
1994
+ url: z.ZodString;
1995
+ }, z.core.$strip>, z.ZodObject<{
1996
+ spaceId: z.ZodString;
1997
+ path: z.ZodOptional<z.ZodString>;
1998
+ }, z.core.$strip>]>;
1999
+ status: z.ZodUnion<readonly [z.ZodLiteral<301>, z.ZodLiteral<302>, z.ZodLiteral<307>, z.ZodLiteral<308>]>;
2000
+ }, z.core.$strip>>;
3102
2001
  derivedGroup: z.ZodString;
3103
2002
  registrar: z.ZodOptional<z.ZodObject<{
3104
2003
  mode: z.ZodEnum<{
@@ -3192,8 +2091,8 @@ export declare const domainDnsModeResponseSchema: z.ZodObject<{
3192
2091
  code: z.ZodString;
3193
2092
  severity: z.ZodEnum<{
3194
2093
  info: "info";
3195
- warning: "warning";
3196
2094
  error: "error";
2095
+ warning: "warning";
3197
2096
  }>;
3198
2097
  message: z.ZodString;
3199
2098
  path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -3213,8 +2112,8 @@ export declare const domainDnsModeResponseSchema: z.ZodObject<{
3213
2112
  code: z.ZodString;
3214
2113
  severity: z.ZodEnum<{
3215
2114
  info: "info";
3216
- warning: "warning";
3217
2115
  error: "error";
2116
+ warning: "warning";
3218
2117
  }>;
3219
2118
  painLevel: z.ZodEnum<{
3220
2119
  info: "info";
@@ -3248,8 +2147,8 @@ export declare const domainDnsModeResponseSchema: z.ZodObject<{
3248
2147
  status: z.ZodEnum<{
3249
2148
  active: "active";
3250
2149
  running: "running";
3251
- resolved: "resolved";
3252
2150
  waiting: "waiting";
2151
+ resolved: "resolved";
3253
2152
  dismissed: "dismissed";
3254
2153
  }>;
3255
2154
  summary: z.ZodString;
@@ -3325,8 +2224,8 @@ export declare const domainDnsModeResponseSchema: z.ZodObject<{
3325
2224
  code: z.ZodString;
3326
2225
  severity: z.ZodEnum<{
3327
2226
  info: "info";
3328
- warning: "warning";
3329
2227
  error: "error";
2228
+ warning: "warning";
3330
2229
  }>;
3331
2230
  message: z.ZodString;
3332
2231
  path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -3393,8 +2292,8 @@ export declare const domainDnsModeResponseSchema: z.ZodObject<{
3393
2292
  code: z.ZodString;
3394
2293
  severity: z.ZodEnum<{
3395
2294
  info: "info";
3396
- warning: "warning";
3397
2295
  error: "error";
2296
+ warning: "warning";
3398
2297
  }>;
3399
2298
  message: z.ZodString;
3400
2299
  path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -3892,8 +2791,8 @@ export declare const domainDnsCapabilitiesSchema: z.ZodPipe<z.ZodObject<{
3892
2791
  code: z.ZodString;
3893
2792
  severity: z.ZodEnum<{
3894
2793
  info: "info";
3895
- warning: "warning";
3896
2794
  error: "error";
2795
+ warning: "warning";
3897
2796
  }>;
3898
2797
  message: z.ZodString;
3899
2798
  path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -4041,7 +2940,7 @@ export declare const domainDnsCapabilitiesSchema: z.ZodPipe<z.ZodObject<{
4041
2940
  };
4042
2941
  diagnostics: {
4043
2942
  code: string;
4044
- severity: "info" | "warning" | "error";
2943
+ severity: "info" | "error" | "warning";
4045
2944
  message: string;
4046
2945
  path?: string | null | undefined;
4047
2946
  provider?: "registrar" | "wpcloud" | "dns" | "runtime" | null | undefined;
@@ -4182,7 +3081,7 @@ export declare const domainDnsCapabilitiesSchema: z.ZodPipe<z.ZodObject<{
4182
3081
  };
4183
3082
  diagnostics: {
4184
3083
  code: string;
4185
- severity: "info" | "warning" | "error";
3084
+ severity: "info" | "error" | "warning";
4186
3085
  message: string;
4187
3086
  path?: string | null | undefined;
4188
3087
  provider?: "registrar" | "wpcloud" | "dns" | "runtime" | null | undefined;
@@ -4448,8 +3347,8 @@ export declare const domainProviderSnapshotRefreshResponseSchema: z.ZodObject<{
4448
3347
  code: z.ZodString;
4449
3348
  severity: z.ZodEnum<{
4450
3349
  info: "info";
4451
- warning: "warning";
4452
3350
  error: "error";
3351
+ warning: "warning";
4453
3352
  }>;
4454
3353
  message: z.ZodString;
4455
3354
  path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -4520,8 +3419,8 @@ export declare const domainDnsOperationSchema: z.ZodObject<{
4520
3419
  code: z.ZodString;
4521
3420
  severity: z.ZodEnum<{
4522
3421
  info: "info";
4523
- warning: "warning";
4524
3422
  error: "error";
3423
+ warning: "warning";
4525
3424
  }>;
4526
3425
  message: z.ZodString;
4527
3426
  path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -4574,8 +3473,8 @@ export declare const domainDnsOperationSchema: z.ZodObject<{
4574
3473
  code: z.ZodString;
4575
3474
  severity: z.ZodEnum<{
4576
3475
  info: "info";
4577
- warning: "warning";
4578
3476
  error: "error";
3477
+ warning: "warning";
4579
3478
  }>;
4580
3479
  painLevel: z.ZodEnum<{
4581
3480
  info: "info";
@@ -4609,8 +3508,8 @@ export declare const domainDnsOperationSchema: z.ZodObject<{
4609
3508
  status: z.ZodEnum<{
4610
3509
  active: "active";
4611
3510
  running: "running";
4612
- resolved: "resolved";
4613
3511
  waiting: "waiting";
3512
+ resolved: "resolved";
4614
3513
  dismissed: "dismissed";
4615
3514
  }>;
4616
3515
  summary: z.ZodString;
@@ -4721,8 +3620,8 @@ export declare const domainDnsOperationListResponseSchema: z.ZodObject<{
4721
3620
  code: z.ZodString;
4722
3621
  severity: z.ZodEnum<{
4723
3622
  info: "info";
4724
- warning: "warning";
4725
3623
  error: "error";
3624
+ warning: "warning";
4726
3625
  }>;
4727
3626
  message: z.ZodString;
4728
3627
  path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -4775,8 +3674,8 @@ export declare const domainDnsOperationListResponseSchema: z.ZodObject<{
4775
3674
  code: z.ZodString;
4776
3675
  severity: z.ZodEnum<{
4777
3676
  info: "info";
4778
- warning: "warning";
4779
3677
  error: "error";
3678
+ warning: "warning";
4780
3679
  }>;
4781
3680
  painLevel: z.ZodEnum<{
4782
3681
  info: "info";
@@ -4810,8 +3709,8 @@ export declare const domainDnsOperationListResponseSchema: z.ZodObject<{
4810
3709
  status: z.ZodEnum<{
4811
3710
  active: "active";
4812
3711
  running: "running";
4813
- resolved: "resolved";
4814
3712
  waiting: "waiting";
3713
+ resolved: "resolved";
4815
3714
  dismissed: "dismissed";
4816
3715
  }>;
4817
3716
  summary: z.ZodString;
@@ -5254,8 +4153,8 @@ export declare const domainActionMutationResponseSchema: z.ZodObject<{
5254
4153
  code: z.ZodString;
5255
4154
  severity: z.ZodEnum<{
5256
4155
  info: "info";
5257
- warning: "warning";
5258
4156
  error: "error";
4157
+ warning: "warning";
5259
4158
  }>;
5260
4159
  message: z.ZodString;
5261
4160
  path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -5584,8 +4483,8 @@ export declare const domainDnsRecordListResponseSchema: z.ZodObject<{
5584
4483
  code: z.ZodString;
5585
4484
  severity: z.ZodEnum<{
5586
4485
  info: "info";
5587
- warning: "warning";
5588
4486
  error: "error";
4487
+ warning: "warning";
5589
4488
  }>;
5590
4489
  message: z.ZodString;
5591
4490
  path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -5733,7 +4632,7 @@ export declare const domainDnsRecordListResponseSchema: z.ZodObject<{
5733
4632
  };
5734
4633
  diagnostics: {
5735
4634
  code: string;
5736
- severity: "info" | "warning" | "error";
4635
+ severity: "info" | "error" | "warning";
5737
4636
  message: string;
5738
4637
  path?: string | null | undefined;
5739
4638
  provider?: "registrar" | "wpcloud" | "dns" | "runtime" | null | undefined;
@@ -5874,7 +4773,7 @@ export declare const domainDnsRecordListResponseSchema: z.ZodObject<{
5874
4773
  };
5875
4774
  diagnostics: {
5876
4775
  code: string;
5877
- severity: "info" | "warning" | "error";
4776
+ severity: "info" | "error" | "warning";
5878
4777
  message: string;
5879
4778
  path?: string | null | undefined;
5880
4779
  provider?: "registrar" | "wpcloud" | "dns" | "runtime" | null | undefined;
@@ -6028,7 +4927,23 @@ export declare const domainHostnameDiagnosticsSchema: z.ZodObject<{
6028
4927
  isConfiguredHostname: z.ZodBoolean;
6029
4928
  providerIps: z.ZodDefault<z.ZodArray<z.ZodString>>;
6030
4929
  verificationCode: z.ZodNullable<z.ZodString>;
6031
- dnsInstructions: z.ZodDefault<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
4930
+ dnsInstructions: z.ZodDefault<z.ZodArray<z.ZodObject<{
4931
+ type: z.ZodEnum<{
4932
+ A: "A";
4933
+ AAAA: "AAAA";
4934
+ CNAME: "CNAME";
4935
+ TXT: "TXT";
4936
+ ALIAS: "ALIAS";
4937
+ }>;
4938
+ name: z.ZodString;
4939
+ value: z.ZodString;
4940
+ ttl: z.ZodOptional<z.ZodNumber>;
4941
+ purpose: z.ZodEnum<{
4942
+ verification: "verification";
4943
+ routing: "routing";
4944
+ ssl: "ssl";
4945
+ }>;
4946
+ }, z.core.$strip>>>;
6032
4947
  dns: z.ZodObject<{
6033
4948
  observedAt: z.ZodString;
6034
4949
  expectedTxtValue: z.ZodNullable<z.ZodString>;
@@ -6082,8 +4997,8 @@ export declare const domainDiagnosticsResponseSchema: z.ZodObject<{
6082
4997
  code: z.ZodString;
6083
4998
  severity: z.ZodEnum<{
6084
4999
  info: "info";
6085
- warning: "warning";
6086
5000
  error: "error";
5001
+ warning: "warning";
6087
5002
  }>;
6088
5003
  message: z.ZodString;
6089
5004
  path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -6107,7 +5022,23 @@ export declare const domainDiagnosticsResponseSchema: z.ZodObject<{
6107
5022
  isConfiguredHostname: z.ZodBoolean;
6108
5023
  providerIps: z.ZodDefault<z.ZodArray<z.ZodString>>;
6109
5024
  verificationCode: z.ZodNullable<z.ZodString>;
6110
- dnsInstructions: z.ZodDefault<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
5025
+ dnsInstructions: z.ZodDefault<z.ZodArray<z.ZodObject<{
5026
+ type: z.ZodEnum<{
5027
+ A: "A";
5028
+ AAAA: "AAAA";
5029
+ CNAME: "CNAME";
5030
+ TXT: "TXT";
5031
+ ALIAS: "ALIAS";
5032
+ }>;
5033
+ name: z.ZodString;
5034
+ value: z.ZodString;
5035
+ ttl: z.ZodOptional<z.ZodNumber>;
5036
+ purpose: z.ZodEnum<{
5037
+ verification: "verification";
5038
+ routing: "routing";
5039
+ ssl: "ssl";
5040
+ }>;
5041
+ }, z.core.$strip>>>;
6111
5042
  dns: z.ZodObject<{
6112
5043
  observedAt: z.ZodString;
6113
5044
  expectedTxtValue: z.ZodNullable<z.ZodString>;