@spacefast/common 0.0.24 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/brand-assets/LICENSE-Haskoy.txt +93 -0
- package/brand-assets/haskoy-latin-variable.woff2 +0 -0
- package/brand-assets/spacefast-favicon.svg +4 -4
- package/brand-assets/spacefast-sf-full-bleed.svg +3 -3
- package/brand-assets/spacefast-wordmark.svg +2 -4
- package/dist/agents/connect-targets.d.ts +6 -146
- package/dist/agents/connect-targets.js +63 -295
- package/dist/agents/private-key-oauth.d.ts +31 -2
- package/dist/agents/private-key-oauth.js +166 -92
- package/dist/agents/registry/core.d.ts +292 -0
- package/dist/agents/registry/core.js +1388 -0
- package/dist/agents/registry/deeplink-probes.d.ts +23 -0
- package/dist/agents/registry/deeplink-probes.js +18 -0
- package/dist/agents/registry/node.d.ts +56 -0
- package/dist/agents/registry/node.js +339 -0
- package/dist/brand-assets-build.js +3 -6
- package/dist/brand-assets.d.ts +5 -15
- package/dist/brand-assets.js +12 -14
- package/dist/brand.d.ts +17 -0
- package/dist/brand.js +24 -4
- package/dist/config/domains.d.ts +79 -12
- package/dist/config/domains.js +128 -29
- package/dist/config/index.js +1 -2
- package/dist/contracts/abuse.js +9 -24
- package/dist/contracts/access-profiles.d.ts +86 -0
- package/dist/contracts/access-profiles.js +89 -0
- package/dist/contracts/access.d.ts +24 -30
- package/dist/contracts/access.js +33 -64
- package/dist/contracts/activity.d.ts +18 -1
- package/dist/contracts/activity.js +72 -26
- package/dist/contracts/analytics.js +8 -10
- package/dist/contracts/api-keys.d.ts +77 -52
- package/dist/contracts/api-keys.js +44 -24
- package/dist/contracts/application-journal.d.ts +216 -0
- package/dist/contracts/application-journal.js +167 -0
- package/dist/contracts/auth.d.ts +90 -17
- package/dist/contracts/auth.js +86 -17
- package/dist/contracts/beta.d.ts +9 -4
- package/dist/contracts/beta.js +20 -16
- package/dist/contracts/billing.d.ts +2 -1
- package/dist/contracts/billing.js +37 -11
- package/dist/contracts/bootstrap.d.ts +791 -0
- package/dist/contracts/bootstrap.js +51 -0
- package/dist/contracts/builds.d.ts +209 -18
- package/dist/contracts/builds.js +93 -27
- package/dist/contracts/channels.d.ts +43 -0
- package/dist/contracts/channels.js +25 -9
- package/dist/contracts/cli.d.ts +7 -0
- package/dist/contracts/cli.js +6 -0
- package/dist/contracts/collab-public.d.ts +1 -1
- package/dist/contracts/collab-public.js +5 -8
- package/dist/contracts/comments.d.ts +44 -34
- package/dist/contracts/comments.js +107 -77
- package/dist/contracts/commerce.d.ts +165 -0
- package/dist/contracts/commerce.js +146 -0
- package/dist/contracts/common.d.ts +3 -3
- package/dist/contracts/common.js +20 -31
- package/dist/contracts/content-contract-verification.d.ts +521 -0
- package/dist/contracts/content-contract-verification.js +320 -0
- package/dist/contracts/content-platform-fixture.d.ts +1278 -0
- package/dist/contracts/content-platform-fixture.js +44 -0
- package/dist/contracts/content-program.d.ts +994 -0
- package/dist/contracts/content-program.js +658 -0
- package/dist/contracts/content-sync.d.ts +290 -0
- package/dist/contracts/content-sync.js +167 -0
- package/dist/contracts/content.d.ts +432 -0
- package/dist/contracts/content.js +303 -0
- package/dist/contracts/continuation.d.ts +17 -1
- package/dist/contracts/continuation.js +23 -23
- package/dist/contracts/countries.js +3 -4
- package/dist/contracts/crons.d.ts +52 -0
- package/dist/contracts/crons.js +60 -0
- package/dist/contracts/dashboard-prefs.d.ts +56 -0
- package/dist/contracts/dashboard-prefs.js +51 -0
- package/dist/contracts/device-auth.d.ts +234 -37
- package/dist/contracts/device-auth.js +267 -53
- package/dist/contracts/docs.d.ts +1 -5
- package/dist/contracts/docs.js +7 -15
- package/dist/contracts/domains.d.ts +501 -93
- package/dist/contracts/domains.js +193 -55
- package/dist/contracts/email-preferences.d.ts +3 -3
- package/dist/contracts/email-preferences.js +6 -7
- package/dist/contracts/enums.d.ts +27 -26
- package/dist/contracts/enums.js +68 -61
- package/dist/contracts/error-code-meta.d.ts +283 -7
- package/dist/contracts/error-code-meta.js +97 -5
- package/dist/contracts/error-codes.d.ts +5 -5
- package/dist/contracts/error-codes.js +82 -17
- package/dist/contracts/events.d.ts +100 -20
- package/dist/contracts/events.js +107 -20
- package/dist/contracts/execution.d.ts +48 -64
- package/dist/contracts/execution.js +52 -62
- package/dist/contracts/feature-lifecycle.d.ts +73 -27
- package/dist/contracts/feature-lifecycle.js +86 -26
- package/dist/contracts/features.d.ts +68 -19
- package/dist/contracts/features.js +42 -41
- package/dist/contracts/fixtures/content-platform-v1.json +1108 -0
- package/dist/contracts/frame-session.d.ts +192 -0
- package/dist/contracts/frame-session.js +164 -0
- package/dist/contracts/functions.d.ts +338 -164
- package/dist/contracts/functions.js +367 -198
- package/dist/contracts/git.d.ts +27 -33
- package/dist/contracts/git.js +10 -11
- package/dist/contracts/grant-copy.d.ts +43 -0
- package/dist/contracts/grant-copy.js +44 -0
- package/dist/contracts/grants.d.ts +62 -54
- package/dist/contracts/grants.js +124 -23
- package/dist/contracts/ids.d.ts +4 -1
- package/dist/contracts/ids.js +6 -3
- package/dist/contracts/internal.d.ts +8 -18
- package/dist/contracts/internal.js +13 -14
- package/dist/contracts/mcp.d.ts +28 -0
- package/dist/contracts/mcp.js +28 -0
- package/dist/contracts/me.d.ts +6 -1
- package/dist/contracts/me.js +12 -6
- package/dist/contracts/notifications.d.ts +27 -29
- package/dist/contracts/notifications.js +9 -4
- package/dist/contracts/oauth-resources.d.ts +112 -10
- package/dist/contracts/oauth-resources.js +116 -11
- package/dist/contracts/oauth-scope-actions.d.ts +90 -0
- package/dist/contracts/oauth-scope-actions.js +126 -0
- package/dist/contracts/operations.d.ts +27 -4
- package/dist/contracts/operations.js +12 -6
- package/dist/contracts/pages.d.ts +31 -7
- package/dist/contracts/pages.js +22 -5
- package/dist/contracts/partner-notifications.d.ts +3 -0
- package/dist/contracts/partner-notifications.js +65 -0
- package/dist/contracts/{platform.d.ts → partner.d.ts} +29 -42
- package/dist/contracts/{platform.js → partner.js} +27 -40
- package/dist/contracts/plan-policy.js +1 -1
- package/dist/contracts/principal-assertion.d.ts +43 -0
- package/dist/contracts/principal-assertion.js +67 -0
- package/dist/contracts/principals.d.ts +73 -0
- package/dist/contracts/principals.js +59 -0
- package/dist/contracts/privacy.d.ts +11 -0
- package/dist/contracts/privacy.js +17 -0
- package/dist/contracts/problem-document.js +3 -4
- package/dist/contracts/publish-archive.d.ts +269 -161
- package/dist/contracts/publish-archive.js +11 -1
- package/dist/contracts/push-new.d.ts +8 -8
- package/dist/contracts/quotas.js +5 -5
- package/dist/contracts/realtime.d.ts +52 -0
- package/dist/contracts/realtime.js +54 -0
- package/dist/contracts/repository-connections.d.ts +44 -31
- package/dist/contracts/repository-connections.js +17 -5
- package/dist/contracts/resources.d.ts +105 -14
- package/dist/contracts/resources.js +150 -26
- package/dist/contracts/route-inventory.d.ts +358 -0
- package/dist/contracts/route-inventory.js +141 -0
- package/dist/contracts/runtime-api.d.ts +206 -82
- package/dist/contracts/runtime-api.js +131 -70
- package/dist/contracts/runtime-app.d.ts +13 -23
- package/dist/contracts/runtime-app.js +39 -24
- package/dist/contracts/runtime-components.d.ts +143 -0
- package/dist/contracts/runtime-components.js +199 -0
- package/dist/contracts/runtime-db.d.ts +49 -23
- package/dist/contracts/runtime-db.js +87 -22
- package/dist/contracts/runtime-purge.d.ts +8 -0
- package/dist/contracts/runtime-purge.js +5 -0
- package/dist/contracts/runtime-services.d.ts +43 -75
- package/dist/contracts/runtime-services.js +29 -49
- package/dist/contracts/runtime-storage.d.ts +15 -14
- package/dist/contracts/runtime-storage.js +30 -14
- package/dist/contracts/sf-config-v1.d.ts +48 -14
- package/dist/contracts/slugs.js +13 -4
- package/dist/contracts/space-config.d.ts +283 -19
- package/dist/contracts/space-config.js +430 -80
- package/dist/contracts/spaces.d.ts +376 -290
- package/dist/contracts/spaces.js +200 -135
- package/dist/contracts/superadmin-activity.d.ts +3 -43
- package/dist/contracts/superadmin-activity.js +6 -30
- package/dist/contracts/superadmin-emails.d.ts +1 -0
- package/dist/contracts/superadmin-emails.js +17 -1
- package/dist/contracts/superadmin-runtime.d.ts +199 -0
- package/dist/contracts/superadmin-runtime.js +141 -0
- package/dist/contracts/superadmin-search.d.ts +22 -2
- package/dist/contracts/superadmin-search.js +14 -6
- package/dist/contracts/superadmin-spaces.d.ts +438 -189
- package/dist/contracts/superadmin-spaces.js +131 -25
- package/dist/contracts/superadmin-teams.d.ts +5 -2
- package/dist/contracts/superadmin-teams.js +1 -2
- package/dist/contracts/superadmin-tenants.d.ts +627 -12
- package/dist/contracts/superadmin-tenants.js +32 -13
- package/dist/contracts/superadmin.d.ts +232 -37
- package/dist/contracts/superadmin.js +106 -22
- package/dist/contracts/tags.d.ts +85 -58
- package/dist/contracts/tags.js +47 -37
- package/dist/contracts/teams.d.ts +86 -26
- package/dist/contracts/teams.js +90 -31
- package/dist/contracts/tenants.d.ts +135 -0
- package/dist/contracts/tenants.js +120 -0
- package/dist/contracts/test-triggers.d.ts +70 -0
- package/dist/contracts/test-triggers.js +116 -0
- package/dist/contracts/theme-json.js +3 -8
- package/dist/contracts/transfers.d.ts +1 -0
- package/dist/contracts/transfers.js +3 -2
- package/dist/contracts/usage.d.ts +209 -0
- package/dist/contracts/usage.js +124 -12
- package/dist/contracts/variables.d.ts +2 -2
- package/dist/contracts/variables.js +9 -13
- package/dist/contracts/webhooks.d.ts +13 -5
- package/dist/contracts/webhooks.js +3 -1
- package/dist/contracts/zero.d.ts +72 -81
- package/dist/contracts/zero.js +80 -78
- package/dist/dashboard-paths/index.d.ts +24 -21
- package/dist/dashboard-paths/index.js +35 -47
- package/dist/dashboard-paths/route-reservations.generated.d.ts +2 -0
- package/dist/dashboard-paths/route-reservations.generated.js +36 -0
- package/dist/docs/agent-arrival.d.ts +92 -0
- package/dist/docs/agent-arrival.js +227 -0
- package/dist/docs/agent-output-policy.d.ts +6 -0
- package/dist/docs/agent-output-policy.js +22 -0
- package/dist/docs/agent-prose.d.ts +12 -18
- package/dist/docs/agent-prose.js +73 -51
- package/dist/docs/agent-setup.d.ts +72 -41
- package/dist/docs/agent-setup.js +339 -436
- package/dist/docs/catalog.d.ts +153 -95
- package/dist/docs/catalog.js +163 -48
- package/dist/docs/error-docs.d.ts +2098 -1
- package/dist/docs/error-docs.js +421 -144
- package/dist/docs/index-build.d.ts +0 -1
- package/dist/docs/index-build.js +2 -3
- package/dist/docs/page-context-prompt.d.ts +77 -0
- package/dist/docs/page-context-prompt.js +131 -0
- package/dist/docs/reference-urls.d.ts +46 -0
- package/dist/docs/reference-urls.js +79 -0
- package/dist/docs/search.d.ts +6 -8
- package/dist/docs/search.js +10 -13
- package/dist/docs/skill-distribution.d.ts +4 -1
- package/dist/docs/skill-distribution.js +10 -5
- package/dist/docs/skills.d.ts +120 -120
- package/dist/docs/skills.js +121 -73
- package/dist/docs/start-prompts.d.ts +45 -0
- package/dist/docs/start-prompts.js +62 -0
- package/dist/domain-exploration.js +9 -13
- package/dist/og-template.d.ts +56 -0
- package/dist/og-template.js +56 -0
- package/dist/slug-policy/index.js +5 -11
- package/dist/test-helpers/fetch-stub.js +1 -0
- package/dist/utils/browser-credential.d.ts +13 -6
- package/dist/utils/browser-credential.js +14 -7
- package/dist/utils/build-settings.d.ts +21 -1
- package/dist/utils/build-settings.js +133 -15
- package/dist/utils/canonical-json.d.ts +3 -5
- package/dist/utils/canonical-json.js +4 -5
- package/dist/utils/cast-transport.d.ts +5 -17
- package/dist/utils/cast-transport.js +6 -19
- package/dist/utils/claim-token.js +1 -2
- package/dist/utils/comment-avatars.js +4 -6
- package/dist/utils/concurrency.js +3 -3
- package/dist/utils/content-type.d.ts +7 -6
- package/dist/utils/content-type.js +73 -51
- package/dist/utils/credential-policy.d.ts +50 -6
- package/dist/utils/credential-policy.js +126 -59
- package/dist/utils/dns-instructions.js +9 -9
- package/dist/utils/egress-policy.fixtures.json +1 -1
- package/dist/utils/error-code.js +1 -0
- package/dist/utils/generate-space-name.d.ts +3 -8
- package/dist/utils/generate-space-name.js +3 -8
- package/dist/utils/grant-decision.fixtures.json +2 -2
- package/dist/utils/grants.d.ts +0 -1
- package/dist/utils/grants.js +7 -8
- package/dist/utils/gravatar.d.ts +2 -4
- package/dist/utils/gravatar.js +6 -12
- package/dist/utils/id-hints.js +14 -23
- package/dist/utils/idempotency.d.ts +3 -3
- package/dist/utils/idempotency.js +6 -7
- package/dist/utils/local-space-state.d.ts +23 -26
- package/dist/utils/local-space-state.js +46 -46
- package/dist/utils/oauth-signed-query.d.ts +3 -5
- package/dist/utils/oauth-signed-query.js +6 -9
- package/dist/utils/one-shot-replay.d.ts +7 -6
- package/dist/utils/one-shot-replay.js +3 -5
- package/dist/utils/page-colors.d.ts +15 -19
- package/dist/utils/page-colors.js +23 -45
- package/dist/utils/page-fonts.d.ts +1 -1
- package/dist/utils/page-fonts.js +8 -20
- package/dist/utils/page-preview.d.ts +0 -1
- package/dist/utils/page-preview.js +0 -1
- package/dist/utils/pages.d.ts +33 -3
- package/dist/utils/pages.js +83 -30
- package/dist/utils/privacy-regions.d.ts +19 -0
- package/dist/utils/privacy-regions.js +91 -0
- package/dist/utils/publish-form-data.d.ts +4 -5
- package/dist/utils/publish-form-data.js +2 -3
- package/dist/utils/publish-policy.d.ts +11 -17
- package/dist/utils/publish-policy.fixtures.json +11 -5
- package/dist/utils/publish-policy.js +65 -110
- package/dist/utils/query-client.d.ts +2 -0
- package/dist/utils/query-client.js +10 -1
- package/dist/utils/runtime-paths.d.ts +4 -4
- package/dist/utils/runtime-paths.js +6 -8
- package/dist/utils/runtime-upload.d.ts +9 -0
- package/dist/utils/runtime-upload.js +12 -0
- package/dist/utils/secure-local-file.d.ts +3 -3
- package/dist/utils/secure-local-file.js +23 -40
- package/dist/utils/space-config.d.ts +12 -15
- package/dist/utils/space-config.js +13 -16
- package/dist/utils/static-runtime-policy.d.ts +10 -7
- package/dist/utils/static-runtime-policy.fixtures.json +38 -41
- package/dist/utils/static-runtime-policy.generated.d.ts +16 -0
- package/dist/utils/static-runtime-policy.generated.js +70 -0
- package/dist/utils/static-runtime-policy.js +31 -132
- package/dist/utils/storage-policy.js +1 -2
- package/dist/utils/upload-session.d.ts +4 -1
- package/dist/utils/upload-session.js +41 -19
- package/dist/utils/version-path.js +11 -19
- package/dist/utils/wpcom-auth-redirects.d.ts +5 -14
- package/dist/utils/wpcom-auth-redirects.js +1 -4
- package/dist/vocabulary.d.ts +13 -13
- package/dist/vocabulary.js +52 -27
- package/package.json +15 -18
- package/dist/agents/client-registry.d.ts +0 -22
- package/dist/agents/client-registry.js +0 -41
- package/dist/docs/agent-handoff-document.d.ts +0 -15
- package/dist/docs/agent-handoff-document.js +0 -180
- package/dist/docs/agent-solutions.d.ts +0 -110
- package/dist/docs/agent-solutions.js +0 -183
- package/dist/utils/query-keys.d.ts +0 -84
- package/dist/utils/query-keys.js +0 -108
|
@@ -1,4 +1,15 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
+
/**
|
|
3
|
+
* Whether a name is the registrable domain itself or a hostname beneath one.
|
|
4
|
+
* Only the server can answer it — the Public Suffix List is what separates
|
|
5
|
+
* `example.co.uk` (apex) from `www.example.com` (hostname), and shipping the
|
|
6
|
+
* list to a browser costs more than the answer is worth.
|
|
7
|
+
*/
|
|
8
|
+
export declare const domainKindSchema: z.ZodEnum<{
|
|
9
|
+
hostname: "hostname";
|
|
10
|
+
apex: "apex";
|
|
11
|
+
}>;
|
|
12
|
+
export type DomainKind = z.infer<typeof domainKindSchema>;
|
|
2
13
|
export declare const domainRegistrarFacetSchema: z.ZodObject<{
|
|
3
14
|
mode: z.ZodEnum<{
|
|
4
15
|
external: "external";
|
|
@@ -98,7 +109,7 @@ export declare const domainVerificationSchema: z.ZodObject<{
|
|
|
98
109
|
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
99
110
|
provider: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
100
111
|
registrar: "registrar";
|
|
101
|
-
|
|
112
|
+
infra: "infra";
|
|
102
113
|
dns: "dns";
|
|
103
114
|
runtime: "runtime";
|
|
104
115
|
}>>>;
|
|
@@ -117,8 +128,8 @@ export declare const domainHintSchema: z.ZodObject<{
|
|
|
117
128
|
}>;
|
|
118
129
|
painLevel: z.ZodEnum<{
|
|
119
130
|
info: "info";
|
|
120
|
-
needs_attention: "needs_attention";
|
|
121
131
|
blocked: "blocked";
|
|
132
|
+
needs_attention: "needs_attention";
|
|
122
133
|
broken: "broken";
|
|
123
134
|
dangerous: "dangerous";
|
|
124
135
|
}>;
|
|
@@ -147,8 +158,8 @@ export declare const domainHintSchema: z.ZodObject<{
|
|
|
147
158
|
status: z.ZodEnum<{
|
|
148
159
|
active: "active";
|
|
149
160
|
running: "running";
|
|
150
|
-
waiting: "waiting";
|
|
151
161
|
resolved: "resolved";
|
|
162
|
+
waiting: "waiting";
|
|
152
163
|
dismissed: "dismissed";
|
|
153
164
|
}>;
|
|
154
165
|
summary: z.ZodString;
|
|
@@ -225,6 +236,7 @@ export declare const domainRedirectTargetSchema: z.ZodUnion<readonly [z.ZodObjec
|
|
|
225
236
|
path: z.ZodOptional<z.ZodString>;
|
|
226
237
|
}, z.core.$strip>]>;
|
|
227
238
|
export declare const domainRedirectStatusSchema: z.ZodUnion<readonly [z.ZodLiteral<301>, z.ZodLiteral<302>, z.ZodLiteral<307>, z.ZodLiteral<308>]>;
|
|
239
|
+
export type DomainRedirectStatus = z.infer<typeof domainRedirectStatusSchema>;
|
|
228
240
|
export declare const domainRedirectSchema: z.ZodObject<{
|
|
229
241
|
to: z.ZodUnion<readonly [z.ZodObject<{
|
|
230
242
|
url: z.ZodString;
|
|
@@ -363,7 +375,7 @@ export declare const DomainSchema: z.ZodObject<{
|
|
|
363
375
|
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
364
376
|
provider: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
365
377
|
registrar: "registrar";
|
|
366
|
-
|
|
378
|
+
infra: "infra";
|
|
367
379
|
dns: "dns";
|
|
368
380
|
runtime: "runtime";
|
|
369
381
|
}>>>;
|
|
@@ -382,8 +394,8 @@ export declare const DomainSchema: z.ZodObject<{
|
|
|
382
394
|
}>;
|
|
383
395
|
painLevel: z.ZodEnum<{
|
|
384
396
|
info: "info";
|
|
385
|
-
needs_attention: "needs_attention";
|
|
386
397
|
blocked: "blocked";
|
|
398
|
+
needs_attention: "needs_attention";
|
|
387
399
|
broken: "broken";
|
|
388
400
|
dangerous: "dangerous";
|
|
389
401
|
}>;
|
|
@@ -412,8 +424,8 @@ export declare const DomainSchema: z.ZodObject<{
|
|
|
412
424
|
status: z.ZodEnum<{
|
|
413
425
|
active: "active";
|
|
414
426
|
running: "running";
|
|
415
|
-
waiting: "waiting";
|
|
416
427
|
resolved: "resolved";
|
|
428
|
+
waiting: "waiting";
|
|
417
429
|
dismissed: "dismissed";
|
|
418
430
|
}>;
|
|
419
431
|
summary: z.ZodString;
|
|
@@ -621,7 +633,7 @@ export declare const domainListResponseSchema: z.ZodObject<{
|
|
|
621
633
|
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
622
634
|
provider: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
623
635
|
registrar: "registrar";
|
|
624
|
-
|
|
636
|
+
infra: "infra";
|
|
625
637
|
dns: "dns";
|
|
626
638
|
runtime: "runtime";
|
|
627
639
|
}>>>;
|
|
@@ -640,8 +652,8 @@ export declare const domainListResponseSchema: z.ZodObject<{
|
|
|
640
652
|
}>;
|
|
641
653
|
painLevel: z.ZodEnum<{
|
|
642
654
|
info: "info";
|
|
643
|
-
needs_attention: "needs_attention";
|
|
644
655
|
blocked: "blocked";
|
|
656
|
+
needs_attention: "needs_attention";
|
|
645
657
|
broken: "broken";
|
|
646
658
|
dangerous: "dangerous";
|
|
647
659
|
}>;
|
|
@@ -670,8 +682,8 @@ export declare const domainListResponseSchema: z.ZodObject<{
|
|
|
670
682
|
status: z.ZodEnum<{
|
|
671
683
|
active: "active";
|
|
672
684
|
running: "running";
|
|
673
|
-
waiting: "waiting";
|
|
674
685
|
resolved: "resolved";
|
|
686
|
+
waiting: "waiting";
|
|
675
687
|
dismissed: "dismissed";
|
|
676
688
|
}>;
|
|
677
689
|
summary: z.ZodString;
|
|
@@ -876,7 +888,7 @@ export declare const spaceCustomDomainSchema: z.ZodObject<{
|
|
|
876
888
|
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
877
889
|
provider: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
878
890
|
registrar: "registrar";
|
|
879
|
-
|
|
891
|
+
infra: "infra";
|
|
880
892
|
dns: "dns";
|
|
881
893
|
runtime: "runtime";
|
|
882
894
|
}>>>;
|
|
@@ -895,8 +907,8 @@ export declare const spaceCustomDomainSchema: z.ZodObject<{
|
|
|
895
907
|
}>;
|
|
896
908
|
painLevel: z.ZodEnum<{
|
|
897
909
|
info: "info";
|
|
898
|
-
needs_attention: "needs_attention";
|
|
899
910
|
blocked: "blocked";
|
|
911
|
+
needs_attention: "needs_attention";
|
|
900
912
|
broken: "broken";
|
|
901
913
|
dangerous: "dangerous";
|
|
902
914
|
}>;
|
|
@@ -925,8 +937,8 @@ export declare const spaceCustomDomainSchema: z.ZodObject<{
|
|
|
925
937
|
status: z.ZodEnum<{
|
|
926
938
|
active: "active";
|
|
927
939
|
running: "running";
|
|
928
|
-
waiting: "waiting";
|
|
929
940
|
resolved: "resolved";
|
|
941
|
+
waiting: "waiting";
|
|
930
942
|
dismissed: "dismissed";
|
|
931
943
|
}>;
|
|
932
944
|
summary: z.ZodString;
|
|
@@ -1045,7 +1057,7 @@ export declare const spaceManagedDomainSchema: z.ZodObject<{
|
|
|
1045
1057
|
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1046
1058
|
provider: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1047
1059
|
registrar: "registrar";
|
|
1048
|
-
|
|
1060
|
+
infra: "infra";
|
|
1049
1061
|
dns: "dns";
|
|
1050
1062
|
runtime: "runtime";
|
|
1051
1063
|
}>>>;
|
|
@@ -1100,7 +1112,7 @@ export declare const spaceDomainSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1100
1112
|
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1101
1113
|
provider: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1102
1114
|
registrar: "registrar";
|
|
1103
|
-
|
|
1115
|
+
infra: "infra";
|
|
1104
1116
|
dns: "dns";
|
|
1105
1117
|
runtime: "runtime";
|
|
1106
1118
|
}>>>;
|
|
@@ -1240,7 +1252,7 @@ export declare const spaceDomainSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1240
1252
|
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1241
1253
|
provider: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1242
1254
|
registrar: "registrar";
|
|
1243
|
-
|
|
1255
|
+
infra: "infra";
|
|
1244
1256
|
dns: "dns";
|
|
1245
1257
|
runtime: "runtime";
|
|
1246
1258
|
}>>>;
|
|
@@ -1259,8 +1271,8 @@ export declare const spaceDomainSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1259
1271
|
}>;
|
|
1260
1272
|
painLevel: z.ZodEnum<{
|
|
1261
1273
|
info: "info";
|
|
1262
|
-
needs_attention: "needs_attention";
|
|
1263
1274
|
blocked: "blocked";
|
|
1275
|
+
needs_attention: "needs_attention";
|
|
1264
1276
|
broken: "broken";
|
|
1265
1277
|
dangerous: "dangerous";
|
|
1266
1278
|
}>;
|
|
@@ -1289,8 +1301,8 @@ export declare const spaceDomainSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1289
1301
|
status: z.ZodEnum<{
|
|
1290
1302
|
active: "active";
|
|
1291
1303
|
running: "running";
|
|
1292
|
-
waiting: "waiting";
|
|
1293
1304
|
resolved: "resolved";
|
|
1305
|
+
waiting: "waiting";
|
|
1294
1306
|
dismissed: "dismissed";
|
|
1295
1307
|
}>;
|
|
1296
1308
|
summary: z.ZodString;
|
|
@@ -1411,7 +1423,7 @@ export declare const spaceDomainListResponseSchema: z.ZodObject<{
|
|
|
1411
1423
|
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1412
1424
|
provider: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1413
1425
|
registrar: "registrar";
|
|
1414
|
-
|
|
1426
|
+
infra: "infra";
|
|
1415
1427
|
dns: "dns";
|
|
1416
1428
|
runtime: "runtime";
|
|
1417
1429
|
}>>>;
|
|
@@ -1551,7 +1563,7 @@ export declare const spaceDomainListResponseSchema: z.ZodObject<{
|
|
|
1551
1563
|
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1552
1564
|
provider: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1553
1565
|
registrar: "registrar";
|
|
1554
|
-
|
|
1566
|
+
infra: "infra";
|
|
1555
1567
|
dns: "dns";
|
|
1556
1568
|
runtime: "runtime";
|
|
1557
1569
|
}>>>;
|
|
@@ -1570,8 +1582,8 @@ export declare const spaceDomainListResponseSchema: z.ZodObject<{
|
|
|
1570
1582
|
}>;
|
|
1571
1583
|
painLevel: z.ZodEnum<{
|
|
1572
1584
|
info: "info";
|
|
1573
|
-
needs_attention: "needs_attention";
|
|
1574
1585
|
blocked: "blocked";
|
|
1586
|
+
needs_attention: "needs_attention";
|
|
1575
1587
|
broken: "broken";
|
|
1576
1588
|
dangerous: "dangerous";
|
|
1577
1589
|
}>;
|
|
@@ -1600,8 +1612,8 @@ export declare const spaceDomainListResponseSchema: z.ZodObject<{
|
|
|
1600
1612
|
status: z.ZodEnum<{
|
|
1601
1613
|
active: "active";
|
|
1602
1614
|
running: "running";
|
|
1603
|
-
waiting: "waiting";
|
|
1604
1615
|
resolved: "resolved";
|
|
1616
|
+
waiting: "waiting";
|
|
1605
1617
|
dismissed: "dismissed";
|
|
1606
1618
|
}>;
|
|
1607
1619
|
summary: z.ZodString;
|
|
@@ -1678,12 +1690,12 @@ export declare const spaceDomainListResponseSchema: z.ZodObject<{
|
|
|
1678
1690
|
assignable: z.ZodLiteral<true>;
|
|
1679
1691
|
primary: z.ZodBoolean;
|
|
1680
1692
|
}, z.core.$strip>], "source">>;
|
|
1681
|
-
pagination: z.ZodObject<{
|
|
1682
|
-
nextCursor: z.ZodNullable<z.ZodString>;
|
|
1683
|
-
hasMore: z.ZodBoolean;
|
|
1684
|
-
}, z.core.$strip>;
|
|
1685
1693
|
}, z.core.$strip>;
|
|
1686
|
-
export declare const
|
|
1694
|
+
export declare const spaceDomainCreateRequestSchema: z.ZodObject<{
|
|
1695
|
+
name: z.ZodString;
|
|
1696
|
+
primary: z.ZodDefault<z.ZodBoolean>;
|
|
1697
|
+
}, z.core.$strict>;
|
|
1698
|
+
export declare const managedDomainListItemSchema: z.ZodObject<{
|
|
1687
1699
|
id: z.ZodString;
|
|
1688
1700
|
source: z.ZodLiteral<"managed_view_fast">;
|
|
1689
1701
|
managed: z.ZodLiteral<true>;
|
|
@@ -1725,7 +1737,7 @@ export declare const teamManagedDomainSchema: z.ZodObject<{
|
|
|
1725
1737
|
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1726
1738
|
provider: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1727
1739
|
registrar: "registrar";
|
|
1728
|
-
|
|
1740
|
+
infra: "infra";
|
|
1729
1741
|
dns: "dns";
|
|
1730
1742
|
runtime: "runtime";
|
|
1731
1743
|
}>>>;
|
|
@@ -1741,8 +1753,8 @@ export declare const teamManagedDomainSchema: z.ZodObject<{
|
|
|
1741
1753
|
spaceSlug: z.ZodString;
|
|
1742
1754
|
spaceTitle: z.ZodString;
|
|
1743
1755
|
}, z.core.$strip>;
|
|
1744
|
-
export type
|
|
1745
|
-
export declare const
|
|
1756
|
+
export type ManagedDomainListItem = z.infer<typeof managedDomainListItemSchema>;
|
|
1757
|
+
export declare const managedDomainListResponseSchema: z.ZodObject<{
|
|
1746
1758
|
data: z.ZodArray<z.ZodObject<{
|
|
1747
1759
|
id: z.ZodString;
|
|
1748
1760
|
source: z.ZodLiteral<"managed_view_fast">;
|
|
@@ -1785,7 +1797,7 @@ export declare const teamManagedDomainListResponseSchema: z.ZodObject<{
|
|
|
1785
1797
|
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1786
1798
|
provider: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1787
1799
|
registrar: "registrar";
|
|
1788
|
-
|
|
1800
|
+
infra: "infra";
|
|
1789
1801
|
dns: "dns";
|
|
1790
1802
|
runtime: "runtime";
|
|
1791
1803
|
}>>>;
|
|
@@ -1801,18 +1813,104 @@ export declare const teamManagedDomainListResponseSchema: z.ZodObject<{
|
|
|
1801
1813
|
spaceSlug: z.ZodString;
|
|
1802
1814
|
spaceTitle: z.ZodString;
|
|
1803
1815
|
}, z.core.$strip>>;
|
|
1804
|
-
pagination: z.ZodObject<{
|
|
1805
|
-
nextCursor: z.ZodNullable<z.ZodString>;
|
|
1806
|
-
hasMore: z.ZodBoolean;
|
|
1807
|
-
}, z.core.$strip>;
|
|
1808
1816
|
}, z.core.$strip>;
|
|
1809
|
-
export declare const
|
|
1817
|
+
export declare const domainPreflightQuerySchema: z.ZodObject<{
|
|
1810
1818
|
name: z.ZodString;
|
|
1811
1819
|
teamId: z.ZodOptional<z.ZodString>;
|
|
1812
1820
|
}, z.core.$strip>;
|
|
1813
|
-
export declare const
|
|
1814
|
-
|
|
1821
|
+
export declare const domainPreflightSchema: z.ZodObject<{
|
|
1822
|
+
name: z.ZodString;
|
|
1823
|
+
unicodeName: z.ZodOptional<z.ZodString>;
|
|
1824
|
+
kind: z.ZodEnum<{
|
|
1825
|
+
hostname: "hostname";
|
|
1826
|
+
apex: "apex";
|
|
1827
|
+
}>;
|
|
1828
|
+
canHost: z.ZodNullable<z.ZodBoolean>;
|
|
1829
|
+
providerMessage: z.ZodNullable<z.ZodString>;
|
|
1830
|
+
}, z.core.$strip>;
|
|
1831
|
+
export type DomainPreflight = z.infer<typeof domainPreflightSchema>;
|
|
1832
|
+
export declare const domainCreateRequestSchema: z.ZodObject<{
|
|
1833
|
+
name: z.ZodString;
|
|
1834
|
+
teamId: z.ZodOptional<z.ZodString>;
|
|
1815
1835
|
}, z.core.$strip>;
|
|
1836
|
+
declare const domainMetadataPatchSchema: z.ZodObject<{
|
|
1837
|
+
wildcardEnabled: z.ZodBoolean;
|
|
1838
|
+
}, z.core.$strict>;
|
|
1839
|
+
declare const domainAssignPatchSchema: z.ZodObject<{
|
|
1840
|
+
spaceId: z.ZodString;
|
|
1841
|
+
primary: z.ZodBoolean;
|
|
1842
|
+
redirect: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1843
|
+
to: z.ZodUnion<readonly [z.ZodObject<{
|
|
1844
|
+
url: z.ZodString;
|
|
1845
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1846
|
+
spaceId: z.ZodString;
|
|
1847
|
+
path: z.ZodOptional<z.ZodString>;
|
|
1848
|
+
}, z.core.$strip>]>;
|
|
1849
|
+
status: z.ZodUnion<readonly [z.ZodLiteral<301>, z.ZodLiteral<302>, z.ZodLiteral<307>, z.ZodLiteral<308>]>;
|
|
1850
|
+
}, z.core.$strip>>>;
|
|
1851
|
+
}, z.core.$strict>;
|
|
1852
|
+
declare const domainRedirectPatchSchema: z.ZodObject<{
|
|
1853
|
+
redirect: z.ZodNullable<z.ZodObject<{
|
|
1854
|
+
to: z.ZodUnion<readonly [z.ZodObject<{
|
|
1855
|
+
url: z.ZodString;
|
|
1856
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1857
|
+
spaceId: z.ZodString;
|
|
1858
|
+
path: z.ZodOptional<z.ZodString>;
|
|
1859
|
+
}, z.core.$strip>]>;
|
|
1860
|
+
status: z.ZodUnion<readonly [z.ZodLiteral<301>, z.ZodLiteral<302>, z.ZodLiteral<307>, z.ZodLiteral<308>]>;
|
|
1861
|
+
}, z.core.$strip>>;
|
|
1862
|
+
}, z.core.$strict>;
|
|
1863
|
+
export declare const domainPatchSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
1864
|
+
wildcardEnabled: z.ZodBoolean;
|
|
1865
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1866
|
+
spaceId: z.ZodString;
|
|
1867
|
+
primary: z.ZodBoolean;
|
|
1868
|
+
redirect: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1869
|
+
to: z.ZodUnion<readonly [z.ZodObject<{
|
|
1870
|
+
url: z.ZodString;
|
|
1871
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1872
|
+
spaceId: z.ZodString;
|
|
1873
|
+
path: z.ZodOptional<z.ZodString>;
|
|
1874
|
+
}, z.core.$strip>]>;
|
|
1875
|
+
status: z.ZodUnion<readonly [z.ZodLiteral<301>, z.ZodLiteral<302>, z.ZodLiteral<307>, z.ZodLiteral<308>]>;
|
|
1876
|
+
}, z.core.$strip>>>;
|
|
1877
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1878
|
+
spaceId: z.ZodNull;
|
|
1879
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1880
|
+
redirect: z.ZodNullable<z.ZodObject<{
|
|
1881
|
+
to: z.ZodUnion<readonly [z.ZodObject<{
|
|
1882
|
+
url: z.ZodString;
|
|
1883
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1884
|
+
spaceId: z.ZodString;
|
|
1885
|
+
path: z.ZodOptional<z.ZodString>;
|
|
1886
|
+
}, z.core.$strip>]>;
|
|
1887
|
+
status: z.ZodUnion<readonly [z.ZodLiteral<301>, z.ZodLiteral<302>, z.ZodLiteral<307>, z.ZodLiteral<308>]>;
|
|
1888
|
+
}, z.core.$strip>>;
|
|
1889
|
+
}, z.core.$strict>]>;
|
|
1890
|
+
export type DomainPatch = z.infer<typeof domainPatchSchema>;
|
|
1891
|
+
/**
|
|
1892
|
+
* Which arm of `domainPatchSchema` a validated body took, with that arm's body
|
|
1893
|
+
* already narrowed.
|
|
1894
|
+
*
|
|
1895
|
+
* The union is the one place that decides what a PATCH means. Without this the
|
|
1896
|
+
* server re-derives the same classification by key-sniffing, in an order that
|
|
1897
|
+
* is itself load-bearing (`wildcardEnabled` must be tested before "no
|
|
1898
|
+
* `spaceId`", or a metadata body reads as a redirect intent) — two files
|
|
1899
|
+
* independently encoding the same rule, neither of them the source of truth.
|
|
1900
|
+
*/
|
|
1901
|
+
export type DomainPatchIntent = {
|
|
1902
|
+
kind: "metadata";
|
|
1903
|
+
body: z.infer<typeof domainMetadataPatchSchema>;
|
|
1904
|
+
} | {
|
|
1905
|
+
kind: "assign";
|
|
1906
|
+
body: z.infer<typeof domainAssignPatchSchema>;
|
|
1907
|
+
} | {
|
|
1908
|
+
kind: "unassign";
|
|
1909
|
+
} | {
|
|
1910
|
+
kind: "redirect";
|
|
1911
|
+
body: z.infer<typeof domainRedirectPatchSchema>;
|
|
1912
|
+
};
|
|
1913
|
+
export declare function domainPatchIntent(body: DomainPatch): DomainPatchIntent;
|
|
1816
1914
|
export declare const domainRegistrationSchema: z.ZodObject<{
|
|
1817
1915
|
id: z.ZodNullable<z.ZodString>;
|
|
1818
1916
|
domainId: z.ZodString;
|
|
@@ -1906,7 +2004,7 @@ export declare const domainRegistrationActionResponseSchema: z.ZodObject<{
|
|
|
1906
2004
|
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1907
2005
|
provider: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1908
2006
|
registrar: "registrar";
|
|
1909
|
-
|
|
2007
|
+
infra: "infra";
|
|
1910
2008
|
dns: "dns";
|
|
1911
2009
|
runtime: "runtime";
|
|
1912
2010
|
}>>>;
|
|
@@ -1949,7 +2047,7 @@ export declare const domainNameserverResponseSchema: z.ZodObject<{
|
|
|
1949
2047
|
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1950
2048
|
provider: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1951
2049
|
registrar: "registrar";
|
|
1952
|
-
|
|
2050
|
+
infra: "infra";
|
|
1953
2051
|
dns: "dns";
|
|
1954
2052
|
runtime: "runtime";
|
|
1955
2053
|
}>>>;
|
|
@@ -2098,7 +2196,7 @@ export declare const domainDnsModeResponseSchema: z.ZodObject<{
|
|
|
2098
2196
|
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2099
2197
|
provider: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
2100
2198
|
registrar: "registrar";
|
|
2101
|
-
|
|
2199
|
+
infra: "infra";
|
|
2102
2200
|
dns: "dns";
|
|
2103
2201
|
runtime: "runtime";
|
|
2104
2202
|
}>>>;
|
|
@@ -2117,8 +2215,8 @@ export declare const domainDnsModeResponseSchema: z.ZodObject<{
|
|
|
2117
2215
|
}>;
|
|
2118
2216
|
painLevel: z.ZodEnum<{
|
|
2119
2217
|
info: "info";
|
|
2120
|
-
needs_attention: "needs_attention";
|
|
2121
2218
|
blocked: "blocked";
|
|
2219
|
+
needs_attention: "needs_attention";
|
|
2122
2220
|
broken: "broken";
|
|
2123
2221
|
dangerous: "dangerous";
|
|
2124
2222
|
}>;
|
|
@@ -2147,8 +2245,8 @@ export declare const domainDnsModeResponseSchema: z.ZodObject<{
|
|
|
2147
2245
|
status: z.ZodEnum<{
|
|
2148
2246
|
active: "active";
|
|
2149
2247
|
running: "running";
|
|
2150
|
-
waiting: "waiting";
|
|
2151
2248
|
resolved: "resolved";
|
|
2249
|
+
waiting: "waiting";
|
|
2152
2250
|
dismissed: "dismissed";
|
|
2153
2251
|
}>;
|
|
2154
2252
|
summary: z.ZodString;
|
|
@@ -2231,7 +2329,7 @@ export declare const domainDnsModeResponseSchema: z.ZodObject<{
|
|
|
2231
2329
|
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2232
2330
|
provider: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
2233
2331
|
registrar: "registrar";
|
|
2234
|
-
|
|
2332
|
+
infra: "infra";
|
|
2235
2333
|
dns: "dns";
|
|
2236
2334
|
runtime: "runtime";
|
|
2237
2335
|
}>>>;
|
|
@@ -2299,7 +2397,7 @@ export declare const domainDnsModeResponseSchema: z.ZodObject<{
|
|
|
2299
2397
|
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2300
2398
|
provider: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
2301
2399
|
registrar: "registrar";
|
|
2302
|
-
|
|
2400
|
+
infra: "infra";
|
|
2303
2401
|
dns: "dns";
|
|
2304
2402
|
runtime: "runtime";
|
|
2305
2403
|
}>>>;
|
|
@@ -2798,7 +2896,7 @@ export declare const domainDnsCapabilitiesSchema: z.ZodPipe<z.ZodObject<{
|
|
|
2798
2896
|
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2799
2897
|
provider: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
2800
2898
|
registrar: "registrar";
|
|
2801
|
-
|
|
2899
|
+
infra: "infra";
|
|
2802
2900
|
dns: "dns";
|
|
2803
2901
|
runtime: "runtime";
|
|
2804
2902
|
}>>>;
|
|
@@ -2943,7 +3041,7 @@ export declare const domainDnsCapabilitiesSchema: z.ZodPipe<z.ZodObject<{
|
|
|
2943
3041
|
severity: "info" | "warning" | "error";
|
|
2944
3042
|
message: string;
|
|
2945
3043
|
path?: string | null | undefined;
|
|
2946
|
-
provider?: "registrar" | "
|
|
3044
|
+
provider?: "registrar" | "infra" | "dns" | "runtime" | null | undefined;
|
|
2947
3045
|
details?: Record<string, unknown> | null | undefined;
|
|
2948
3046
|
fix?: string | null | undefined;
|
|
2949
3047
|
retryable?: boolean | null | undefined;
|
|
@@ -3084,7 +3182,7 @@ export declare const domainDnsCapabilitiesSchema: z.ZodPipe<z.ZodObject<{
|
|
|
3084
3182
|
severity: "info" | "warning" | "error";
|
|
3085
3183
|
message: string;
|
|
3086
3184
|
path?: string | null | undefined;
|
|
3087
|
-
provider?: "registrar" | "
|
|
3185
|
+
provider?: "registrar" | "infra" | "dns" | "runtime" | null | undefined;
|
|
3088
3186
|
details?: Record<string, unknown> | null | undefined;
|
|
3089
3187
|
fix?: string | null | undefined;
|
|
3090
3188
|
retryable?: boolean | null | undefined;
|
|
@@ -3103,6 +3201,13 @@ export declare const domainProviderConnectionStatusSchema: z.ZodEnum<{
|
|
|
3103
3201
|
pending_relink: "pending_relink";
|
|
3104
3202
|
reconnect_required: "reconnect_required";
|
|
3105
3203
|
}>;
|
|
3204
|
+
/**
|
|
3205
|
+
* The DNS providers a Domain can name on the wire: the internal column
|
|
3206
|
+
* vocabulary (`domainDnsProviderValues`) minus the two values that never leave
|
|
3207
|
+
* the control plane — `none` (an unset column) and `dsapi` (our registrar's own
|
|
3208
|
+
* DNS, which surfaces as `stattic`).
|
|
3209
|
+
*/
|
|
3210
|
+
export declare const DOMAIN_DNS_PROVIDERS: readonly ["cloudflare", "vercel", "wpcom", "pressable", "route53", "stattic", "manual"];
|
|
3106
3211
|
export declare const domainDnsProviderSchema: z.ZodEnum<{
|
|
3107
3212
|
manual: "manual";
|
|
3108
3213
|
stattic: "stattic";
|
|
@@ -3286,29 +3391,125 @@ export declare const domainProviderZoneAttachSchema: z.ZodObject<{
|
|
|
3286
3391
|
providerZoneId: z.ZodString;
|
|
3287
3392
|
providerZoneName: z.ZodOptional<z.ZodString>;
|
|
3288
3393
|
}, z.core.$strip>;
|
|
3289
|
-
export declare const domainConnectDiscoverySchema: z.ZodObject<{
|
|
3290
|
-
|
|
3291
|
-
|
|
3394
|
+
export declare const domainConnectDiscoverySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3395
|
+
status: z.ZodLiteral<"available">;
|
|
3396
|
+
checkedAt: z.ZodString;
|
|
3397
|
+
provider: z.ZodObject<{
|
|
3398
|
+
id: z.ZodString;
|
|
3399
|
+
name: z.ZodString;
|
|
3400
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
3401
|
+
controlPanelUrl: z.ZodOptional<z.ZodString>;
|
|
3402
|
+
}, z.core.$strip>;
|
|
3403
|
+
template: z.ZodObject<{
|
|
3404
|
+
providerId: z.ZodString;
|
|
3405
|
+
serviceId: z.ZodString;
|
|
3406
|
+
version: z.ZodNullable<z.ZodNumber>;
|
|
3407
|
+
}, z.core.$strip>;
|
|
3408
|
+
applyUrl: z.ZodString;
|
|
3409
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3410
|
+
status: z.ZodLiteral<"unsupported">;
|
|
3411
|
+
reason: z.ZodEnum<{
|
|
3412
|
+
domain_not_bound: "domain_not_bound";
|
|
3413
|
+
configuration_unsupported: "configuration_unsupported";
|
|
3414
|
+
discovery_not_advertised: "discovery_not_advertised";
|
|
3415
|
+
discovery_ambiguous: "discovery_ambiguous";
|
|
3416
|
+
settings_not_found: "settings_not_found";
|
|
3417
|
+
settings_invalid: "settings_invalid";
|
|
3418
|
+
sync_flow_unsupported: "sync_flow_unsupported";
|
|
3419
|
+
template_unsupported: "template_unsupported";
|
|
3420
|
+
provider_unavailable: "provider_unavailable";
|
|
3421
|
+
signing_unavailable: "signing_unavailable";
|
|
3422
|
+
}>;
|
|
3423
|
+
checkedAt: z.ZodString;
|
|
3292
3424
|
provider: z.ZodOptional<z.ZodObject<{
|
|
3293
|
-
|
|
3294
|
-
|
|
3295
|
-
|
|
3296
|
-
|
|
3425
|
+
id: z.ZodString;
|
|
3426
|
+
name: z.ZodString;
|
|
3427
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
3428
|
+
controlPanelUrl: z.ZodOptional<z.ZodString>;
|
|
3297
3429
|
}, z.core.$strip>>;
|
|
3430
|
+
gated: z.ZodOptional<z.ZodBoolean>;
|
|
3431
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3432
|
+
status: z.ZodLiteral<"unavailable">;
|
|
3433
|
+
reason: z.ZodEnum<{
|
|
3434
|
+
domain_not_bound: "domain_not_bound";
|
|
3435
|
+
configuration_unsupported: "configuration_unsupported";
|
|
3436
|
+
discovery_not_advertised: "discovery_not_advertised";
|
|
3437
|
+
discovery_ambiguous: "discovery_ambiguous";
|
|
3438
|
+
settings_not_found: "settings_not_found";
|
|
3439
|
+
settings_invalid: "settings_invalid";
|
|
3440
|
+
sync_flow_unsupported: "sync_flow_unsupported";
|
|
3441
|
+
template_unsupported: "template_unsupported";
|
|
3442
|
+
provider_unavailable: "provider_unavailable";
|
|
3443
|
+
signing_unavailable: "signing_unavailable";
|
|
3444
|
+
}>;
|
|
3298
3445
|
checkedAt: z.ZodString;
|
|
3299
|
-
|
|
3446
|
+
provider: z.ZodOptional<z.ZodObject<{
|
|
3447
|
+
id: z.ZodString;
|
|
3448
|
+
name: z.ZodString;
|
|
3449
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
3450
|
+
controlPanelUrl: z.ZodOptional<z.ZodString>;
|
|
3451
|
+
}, z.core.$strip>>;
|
|
3452
|
+
}, z.core.$strip>], "status">;
|
|
3300
3453
|
export declare const domainConnectDiscoveryResponseSchema: z.ZodObject<{
|
|
3301
|
-
data: z.ZodObject<{
|
|
3302
|
-
|
|
3303
|
-
|
|
3454
|
+
data: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3455
|
+
status: z.ZodLiteral<"available">;
|
|
3456
|
+
checkedAt: z.ZodString;
|
|
3457
|
+
provider: z.ZodObject<{
|
|
3458
|
+
id: z.ZodString;
|
|
3459
|
+
name: z.ZodString;
|
|
3460
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
3461
|
+
controlPanelUrl: z.ZodOptional<z.ZodString>;
|
|
3462
|
+
}, z.core.$strip>;
|
|
3463
|
+
template: z.ZodObject<{
|
|
3464
|
+
providerId: z.ZodString;
|
|
3465
|
+
serviceId: z.ZodString;
|
|
3466
|
+
version: z.ZodNullable<z.ZodNumber>;
|
|
3467
|
+
}, z.core.$strip>;
|
|
3468
|
+
applyUrl: z.ZodString;
|
|
3469
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3470
|
+
status: z.ZodLiteral<"unsupported">;
|
|
3471
|
+
reason: z.ZodEnum<{
|
|
3472
|
+
domain_not_bound: "domain_not_bound";
|
|
3473
|
+
configuration_unsupported: "configuration_unsupported";
|
|
3474
|
+
discovery_not_advertised: "discovery_not_advertised";
|
|
3475
|
+
discovery_ambiguous: "discovery_ambiguous";
|
|
3476
|
+
settings_not_found: "settings_not_found";
|
|
3477
|
+
settings_invalid: "settings_invalid";
|
|
3478
|
+
sync_flow_unsupported: "sync_flow_unsupported";
|
|
3479
|
+
template_unsupported: "template_unsupported";
|
|
3480
|
+
provider_unavailable: "provider_unavailable";
|
|
3481
|
+
signing_unavailable: "signing_unavailable";
|
|
3482
|
+
}>;
|
|
3483
|
+
checkedAt: z.ZodString;
|
|
3304
3484
|
provider: z.ZodOptional<z.ZodObject<{
|
|
3305
|
-
|
|
3306
|
-
|
|
3307
|
-
|
|
3308
|
-
|
|
3485
|
+
id: z.ZodString;
|
|
3486
|
+
name: z.ZodString;
|
|
3487
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
3488
|
+
controlPanelUrl: z.ZodOptional<z.ZodString>;
|
|
3309
3489
|
}, z.core.$strip>>;
|
|
3490
|
+
gated: z.ZodOptional<z.ZodBoolean>;
|
|
3491
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3492
|
+
status: z.ZodLiteral<"unavailable">;
|
|
3493
|
+
reason: z.ZodEnum<{
|
|
3494
|
+
domain_not_bound: "domain_not_bound";
|
|
3495
|
+
configuration_unsupported: "configuration_unsupported";
|
|
3496
|
+
discovery_not_advertised: "discovery_not_advertised";
|
|
3497
|
+
discovery_ambiguous: "discovery_ambiguous";
|
|
3498
|
+
settings_not_found: "settings_not_found";
|
|
3499
|
+
settings_invalid: "settings_invalid";
|
|
3500
|
+
sync_flow_unsupported: "sync_flow_unsupported";
|
|
3501
|
+
template_unsupported: "template_unsupported";
|
|
3502
|
+
provider_unavailable: "provider_unavailable";
|
|
3503
|
+
signing_unavailable: "signing_unavailable";
|
|
3504
|
+
}>;
|
|
3310
3505
|
checkedAt: z.ZodString;
|
|
3311
|
-
|
|
3506
|
+
provider: z.ZodOptional<z.ZodObject<{
|
|
3507
|
+
id: z.ZodString;
|
|
3508
|
+
name: z.ZodString;
|
|
3509
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
3510
|
+
controlPanelUrl: z.ZodOptional<z.ZodString>;
|
|
3511
|
+
}, z.core.$strip>>;
|
|
3512
|
+
}, z.core.$strip>], "status">;
|
|
3312
3513
|
}, z.core.$strip>;
|
|
3313
3514
|
export type DomainConnectDiscovery = z.infer<typeof domainConnectDiscoverySchema>;
|
|
3314
3515
|
export declare const domainProviderSnapshotRefreshResponseSchema: z.ZodObject<{
|
|
@@ -3354,7 +3555,7 @@ export declare const domainProviderSnapshotRefreshResponseSchema: z.ZodObject<{
|
|
|
3354
3555
|
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3355
3556
|
provider: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
3356
3557
|
registrar: "registrar";
|
|
3357
|
-
|
|
3558
|
+
infra: "infra";
|
|
3358
3559
|
dns: "dns";
|
|
3359
3560
|
runtime: "runtime";
|
|
3360
3561
|
}>>>;
|
|
@@ -3426,7 +3627,7 @@ export declare const domainDnsOperationSchema: z.ZodObject<{
|
|
|
3426
3627
|
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3427
3628
|
provider: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
3428
3629
|
registrar: "registrar";
|
|
3429
|
-
|
|
3630
|
+
infra: "infra";
|
|
3430
3631
|
dns: "dns";
|
|
3431
3632
|
runtime: "runtime";
|
|
3432
3633
|
}>>>;
|
|
@@ -3478,8 +3679,8 @@ export declare const domainDnsOperationSchema: z.ZodObject<{
|
|
|
3478
3679
|
}>;
|
|
3479
3680
|
painLevel: z.ZodEnum<{
|
|
3480
3681
|
info: "info";
|
|
3481
|
-
needs_attention: "needs_attention";
|
|
3482
3682
|
blocked: "blocked";
|
|
3683
|
+
needs_attention: "needs_attention";
|
|
3483
3684
|
broken: "broken";
|
|
3484
3685
|
dangerous: "dangerous";
|
|
3485
3686
|
}>;
|
|
@@ -3508,8 +3709,8 @@ export declare const domainDnsOperationSchema: z.ZodObject<{
|
|
|
3508
3709
|
status: z.ZodEnum<{
|
|
3509
3710
|
active: "active";
|
|
3510
3711
|
running: "running";
|
|
3511
|
-
waiting: "waiting";
|
|
3512
3712
|
resolved: "resolved";
|
|
3713
|
+
waiting: "waiting";
|
|
3513
3714
|
dismissed: "dismissed";
|
|
3514
3715
|
}>;
|
|
3515
3716
|
summary: z.ZodString;
|
|
@@ -3627,7 +3828,7 @@ export declare const domainDnsOperationListResponseSchema: z.ZodObject<{
|
|
|
3627
3828
|
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3628
3829
|
provider: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
3629
3830
|
registrar: "registrar";
|
|
3630
|
-
|
|
3831
|
+
infra: "infra";
|
|
3631
3832
|
dns: "dns";
|
|
3632
3833
|
runtime: "runtime";
|
|
3633
3834
|
}>>>;
|
|
@@ -3679,8 +3880,8 @@ export declare const domainDnsOperationListResponseSchema: z.ZodObject<{
|
|
|
3679
3880
|
}>;
|
|
3680
3881
|
painLevel: z.ZodEnum<{
|
|
3681
3882
|
info: "info";
|
|
3682
|
-
needs_attention: "needs_attention";
|
|
3683
3883
|
blocked: "blocked";
|
|
3884
|
+
needs_attention: "needs_attention";
|
|
3684
3885
|
broken: "broken";
|
|
3685
3886
|
dangerous: "dangerous";
|
|
3686
3887
|
}>;
|
|
@@ -3709,8 +3910,8 @@ export declare const domainDnsOperationListResponseSchema: z.ZodObject<{
|
|
|
3709
3910
|
status: z.ZodEnum<{
|
|
3710
3911
|
active: "active";
|
|
3711
3912
|
running: "running";
|
|
3712
|
-
waiting: "waiting";
|
|
3713
3913
|
resolved: "resolved";
|
|
3914
|
+
waiting: "waiting";
|
|
3714
3915
|
dismissed: "dismissed";
|
|
3715
3916
|
}>;
|
|
3716
3917
|
summary: z.ZodString;
|
|
@@ -3811,14 +4012,14 @@ export declare const domainActionSubjectFacetSchema: z.ZodEnum<{
|
|
|
3811
4012
|
export declare const domainActionStatusSchema: z.ZodEnum<{
|
|
3812
4013
|
open: "open";
|
|
3813
4014
|
failed: "failed";
|
|
4015
|
+
planned: "planned";
|
|
3814
4016
|
canceled: "canceled";
|
|
3815
4017
|
expired: "expired";
|
|
3816
4018
|
running: "running";
|
|
3817
|
-
observing: "observing";
|
|
3818
4019
|
blocked: "blocked";
|
|
4020
|
+
observing: "observing";
|
|
3819
4021
|
dismissed: "dismissed";
|
|
3820
4022
|
reconnect_required: "reconnect_required";
|
|
3821
|
-
planned: "planned";
|
|
3822
4023
|
waiting_for_user: "waiting_for_user";
|
|
3823
4024
|
ready_to_run: "ready_to_run";
|
|
3824
4025
|
complete: "complete";
|
|
@@ -3831,8 +4032,8 @@ export declare const domainActionOwnerSchema: z.ZodEnum<{
|
|
|
3831
4032
|
registrar: "registrar";
|
|
3832
4033
|
stattic: "stattic";
|
|
3833
4034
|
provider: "provider";
|
|
3834
|
-
user: "user";
|
|
3835
4035
|
team_admin: "team_admin";
|
|
4036
|
+
user: "user";
|
|
3836
4037
|
waiting: "waiting";
|
|
3837
4038
|
}>;
|
|
3838
4039
|
export declare const domainActionSchema: z.ZodObject<{
|
|
@@ -3864,14 +4065,14 @@ export declare const domainActionSchema: z.ZodObject<{
|
|
|
3864
4065
|
status: z.ZodEnum<{
|
|
3865
4066
|
open: "open";
|
|
3866
4067
|
failed: "failed";
|
|
4068
|
+
planned: "planned";
|
|
3867
4069
|
canceled: "canceled";
|
|
3868
4070
|
expired: "expired";
|
|
3869
4071
|
running: "running";
|
|
3870
|
-
observing: "observing";
|
|
3871
4072
|
blocked: "blocked";
|
|
4073
|
+
observing: "observing";
|
|
3872
4074
|
dismissed: "dismissed";
|
|
3873
4075
|
reconnect_required: "reconnect_required";
|
|
3874
|
-
planned: "planned";
|
|
3875
4076
|
waiting_for_user: "waiting_for_user";
|
|
3876
4077
|
ready_to_run: "ready_to_run";
|
|
3877
4078
|
complete: "complete";
|
|
@@ -3884,8 +4085,8 @@ export declare const domainActionSchema: z.ZodObject<{
|
|
|
3884
4085
|
registrar: "registrar";
|
|
3885
4086
|
stattic: "stattic";
|
|
3886
4087
|
provider: "provider";
|
|
3887
|
-
user: "user";
|
|
3888
4088
|
team_admin: "team_admin";
|
|
4089
|
+
user: "user";
|
|
3889
4090
|
waiting: "waiting";
|
|
3890
4091
|
}>;
|
|
3891
4092
|
desiredOutcome: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
@@ -3928,14 +4129,14 @@ export declare const domainActionListResponseSchema: z.ZodObject<{
|
|
|
3928
4129
|
status: z.ZodEnum<{
|
|
3929
4130
|
open: "open";
|
|
3930
4131
|
failed: "failed";
|
|
4132
|
+
planned: "planned";
|
|
3931
4133
|
canceled: "canceled";
|
|
3932
4134
|
expired: "expired";
|
|
3933
4135
|
running: "running";
|
|
3934
|
-
observing: "observing";
|
|
3935
4136
|
blocked: "blocked";
|
|
4137
|
+
observing: "observing";
|
|
3936
4138
|
dismissed: "dismissed";
|
|
3937
4139
|
reconnect_required: "reconnect_required";
|
|
3938
|
-
planned: "planned";
|
|
3939
4140
|
waiting_for_user: "waiting_for_user";
|
|
3940
4141
|
ready_to_run: "ready_to_run";
|
|
3941
4142
|
complete: "complete";
|
|
@@ -3948,8 +4149,8 @@ export declare const domainActionListResponseSchema: z.ZodObject<{
|
|
|
3948
4149
|
registrar: "registrar";
|
|
3949
4150
|
stattic: "stattic";
|
|
3950
4151
|
provider: "provider";
|
|
3951
|
-
user: "user";
|
|
3952
4152
|
team_admin: "team_admin";
|
|
4153
|
+
user: "user";
|
|
3953
4154
|
waiting: "waiting";
|
|
3954
4155
|
}>;
|
|
3955
4156
|
desiredOutcome: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
@@ -3973,14 +4174,14 @@ export declare const domainActionListQuerySchema: z.ZodObject<{
|
|
|
3973
4174
|
status: z.ZodOptional<z.ZodEnum<{
|
|
3974
4175
|
open: "open";
|
|
3975
4176
|
failed: "failed";
|
|
4177
|
+
planned: "planned";
|
|
3976
4178
|
canceled: "canceled";
|
|
3977
4179
|
expired: "expired";
|
|
3978
4180
|
running: "running";
|
|
3979
|
-
observing: "observing";
|
|
3980
4181
|
blocked: "blocked";
|
|
4182
|
+
observing: "observing";
|
|
3981
4183
|
dismissed: "dismissed";
|
|
3982
4184
|
reconnect_required: "reconnect_required";
|
|
3983
|
-
planned: "planned";
|
|
3984
4185
|
waiting_for_user: "waiting_for_user";
|
|
3985
4186
|
ready_to_run: "ready_to_run";
|
|
3986
4187
|
complete: "complete";
|
|
@@ -4016,8 +4217,8 @@ export declare const domainActionPreviewRequestSchema: z.ZodObject<{
|
|
|
4016
4217
|
registrar: "registrar";
|
|
4017
4218
|
stattic: "stattic";
|
|
4018
4219
|
provider: "provider";
|
|
4019
|
-
user: "user";
|
|
4020
4220
|
team_admin: "team_admin";
|
|
4221
|
+
user: "user";
|
|
4021
4222
|
waiting: "waiting";
|
|
4022
4223
|
}>;
|
|
4023
4224
|
desiredOutcome: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
@@ -4054,8 +4255,8 @@ export declare const domainActionCreateRequestSchema: z.ZodObject<{
|
|
|
4054
4255
|
registrar: "registrar";
|
|
4055
4256
|
stattic: "stattic";
|
|
4056
4257
|
provider: "provider";
|
|
4057
|
-
user: "user";
|
|
4058
4258
|
team_admin: "team_admin";
|
|
4259
|
+
user: "user";
|
|
4059
4260
|
waiting: "waiting";
|
|
4060
4261
|
}>;
|
|
4061
4262
|
desiredOutcome: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
@@ -4096,14 +4297,14 @@ export declare const domainActionMutationResponseSchema: z.ZodObject<{
|
|
|
4096
4297
|
status: z.ZodEnum<{
|
|
4097
4298
|
open: "open";
|
|
4098
4299
|
failed: "failed";
|
|
4300
|
+
planned: "planned";
|
|
4099
4301
|
canceled: "canceled";
|
|
4100
4302
|
expired: "expired";
|
|
4101
4303
|
running: "running";
|
|
4102
|
-
observing: "observing";
|
|
4103
4304
|
blocked: "blocked";
|
|
4305
|
+
observing: "observing";
|
|
4104
4306
|
dismissed: "dismissed";
|
|
4105
4307
|
reconnect_required: "reconnect_required";
|
|
4106
|
-
planned: "planned";
|
|
4107
4308
|
waiting_for_user: "waiting_for_user";
|
|
4108
4309
|
ready_to_run: "ready_to_run";
|
|
4109
4310
|
complete: "complete";
|
|
@@ -4116,8 +4317,8 @@ export declare const domainActionMutationResponseSchema: z.ZodObject<{
|
|
|
4116
4317
|
registrar: "registrar";
|
|
4117
4318
|
stattic: "stattic";
|
|
4118
4319
|
provider: "provider";
|
|
4119
|
-
user: "user";
|
|
4120
4320
|
team_admin: "team_admin";
|
|
4321
|
+
user: "user";
|
|
4121
4322
|
waiting: "waiting";
|
|
4122
4323
|
}>;
|
|
4123
4324
|
desiredOutcome: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
@@ -4160,7 +4361,7 @@ export declare const domainActionMutationResponseSchema: z.ZodObject<{
|
|
|
4160
4361
|
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4161
4362
|
provider: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
4162
4363
|
registrar: "registrar";
|
|
4163
|
-
|
|
4364
|
+
infra: "infra";
|
|
4164
4365
|
dns: "dns";
|
|
4165
4366
|
runtime: "runtime";
|
|
4166
4367
|
}>>>;
|
|
@@ -4178,8 +4379,8 @@ export declare const domainDnsRecordSnapshotMetadataSchema: z.ZodObject<{
|
|
|
4178
4379
|
fresh: "fresh";
|
|
4179
4380
|
stale: "stale";
|
|
4180
4381
|
refresh_failed: "refresh_failed";
|
|
4181
|
-
refreshing: "refreshing";
|
|
4182
4382
|
provider_unavailable: "provider_unavailable";
|
|
4383
|
+
refreshing: "refreshing";
|
|
4183
4384
|
}>;
|
|
4184
4385
|
fetchedAt: z.ZodNullable<z.ZodString>;
|
|
4185
4386
|
expiresAt: z.ZodNullable<z.ZodString>;
|
|
@@ -4244,8 +4445,8 @@ export declare const domainDnsRecordListResponseSchema: z.ZodObject<{
|
|
|
4244
4445
|
fresh: "fresh";
|
|
4245
4446
|
stale: "stale";
|
|
4246
4447
|
refresh_failed: "refresh_failed";
|
|
4247
|
-
refreshing: "refreshing";
|
|
4248
4448
|
provider_unavailable: "provider_unavailable";
|
|
4449
|
+
refreshing: "refreshing";
|
|
4249
4450
|
}>;
|
|
4250
4451
|
fetchedAt: z.ZodNullable<z.ZodString>;
|
|
4251
4452
|
expiresAt: z.ZodNullable<z.ZodString>;
|
|
@@ -4490,7 +4691,7 @@ export declare const domainDnsRecordListResponseSchema: z.ZodObject<{
|
|
|
4490
4691
|
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4491
4692
|
provider: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
4492
4693
|
registrar: "registrar";
|
|
4493
|
-
|
|
4694
|
+
infra: "infra";
|
|
4494
4695
|
dns: "dns";
|
|
4495
4696
|
runtime: "runtime";
|
|
4496
4697
|
}>>>;
|
|
@@ -4635,7 +4836,7 @@ export declare const domainDnsRecordListResponseSchema: z.ZodObject<{
|
|
|
4635
4836
|
severity: "info" | "warning" | "error";
|
|
4636
4837
|
message: string;
|
|
4637
4838
|
path?: string | null | undefined;
|
|
4638
|
-
provider?: "registrar" | "
|
|
4839
|
+
provider?: "registrar" | "infra" | "dns" | "runtime" | null | undefined;
|
|
4639
4840
|
details?: Record<string, unknown> | null | undefined;
|
|
4640
4841
|
fix?: string | null | undefined;
|
|
4641
4842
|
retryable?: boolean | null | undefined;
|
|
@@ -4776,7 +4977,7 @@ export declare const domainDnsRecordListResponseSchema: z.ZodObject<{
|
|
|
4776
4977
|
severity: "info" | "warning" | "error";
|
|
4777
4978
|
message: string;
|
|
4778
4979
|
path?: string | null | undefined;
|
|
4779
|
-
provider?: "registrar" | "
|
|
4980
|
+
provider?: "registrar" | "infra" | "dns" | "runtime" | null | undefined;
|
|
4780
4981
|
details?: Record<string, unknown> | null | undefined;
|
|
4781
4982
|
fix?: string | null | undefined;
|
|
4782
4983
|
retryable?: boolean | null | undefined;
|
|
@@ -5004,7 +5205,7 @@ export declare const domainDiagnosticsResponseSchema: z.ZodObject<{
|
|
|
5004
5205
|
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5005
5206
|
provider: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
5006
5207
|
registrar: "registrar";
|
|
5007
|
-
|
|
5208
|
+
infra: "infra";
|
|
5008
5209
|
dns: "dns";
|
|
5009
5210
|
runtime: "runtime";
|
|
5010
5211
|
}>>>;
|
|
@@ -5085,4 +5286,211 @@ export declare const domainDiagnosticsResponseSchema: z.ZodObject<{
|
|
|
5085
5286
|
}, z.core.$strip>;
|
|
5086
5287
|
}, z.core.$strip>>;
|
|
5087
5288
|
}, z.core.$strip>;
|
|
5289
|
+
export declare const domainSslRetrySchema: z.ZodObject<{
|
|
5290
|
+
requestedAt: z.ZodString;
|
|
5291
|
+
retries: z.ZodArray<z.ZodObject<{
|
|
5292
|
+
hostname: z.ZodString;
|
|
5293
|
+
queued: z.ZodBoolean;
|
|
5294
|
+
error: z.ZodNullable<z.ZodEnum<{
|
|
5295
|
+
not_hosted_here: "not_hosted_here";
|
|
5296
|
+
}>>;
|
|
5297
|
+
}, z.core.$strip>>;
|
|
5298
|
+
hostnameDiagnostics: z.ZodArray<z.ZodObject<{
|
|
5299
|
+
hostname: z.ZodString;
|
|
5300
|
+
purpose: z.ZodEnum<{
|
|
5301
|
+
www: "www";
|
|
5302
|
+
apex: "apex";
|
|
5303
|
+
configured: "configured";
|
|
5304
|
+
}>;
|
|
5305
|
+
isConfiguredHostname: z.ZodBoolean;
|
|
5306
|
+
providerIps: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5307
|
+
verificationCode: z.ZodNullable<z.ZodString>;
|
|
5308
|
+
dnsInstructions: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5309
|
+
type: z.ZodEnum<{
|
|
5310
|
+
A: "A";
|
|
5311
|
+
AAAA: "AAAA";
|
|
5312
|
+
CNAME: "CNAME";
|
|
5313
|
+
TXT: "TXT";
|
|
5314
|
+
ALIAS: "ALIAS";
|
|
5315
|
+
}>;
|
|
5316
|
+
name: z.ZodString;
|
|
5317
|
+
value: z.ZodString;
|
|
5318
|
+
ttl: z.ZodOptional<z.ZodNumber>;
|
|
5319
|
+
purpose: z.ZodEnum<{
|
|
5320
|
+
verification: "verification";
|
|
5321
|
+
routing: "routing";
|
|
5322
|
+
ssl: "ssl";
|
|
5323
|
+
}>;
|
|
5324
|
+
}, z.core.$strip>>>;
|
|
5325
|
+
dns: z.ZodObject<{
|
|
5326
|
+
observedAt: z.ZodString;
|
|
5327
|
+
expectedTxtValue: z.ZodNullable<z.ZodString>;
|
|
5328
|
+
pointsToProvider: z.ZodBoolean;
|
|
5329
|
+
proxyDetected: z.ZodNullable<z.ZodBoolean>;
|
|
5330
|
+
txtVerified: z.ZodNullable<z.ZodBoolean>;
|
|
5331
|
+
hasAaaaRecords: z.ZodBoolean;
|
|
5332
|
+
hasCaaRecords: z.ZodBoolean;
|
|
5333
|
+
records: z.ZodObject<{
|
|
5334
|
+
a: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5335
|
+
aaaa: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5336
|
+
caa: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5337
|
+
cname: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5338
|
+
mx: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5339
|
+
txt: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5340
|
+
}, z.core.$strip>;
|
|
5341
|
+
byResolver: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5342
|
+
resolver: z.ZodString;
|
|
5343
|
+
a: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5344
|
+
aaaa: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5345
|
+
caa: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5346
|
+
cname: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5347
|
+
mx: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5348
|
+
txt: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5349
|
+
}, z.core.$strip>>>;
|
|
5350
|
+
}, z.core.$strip>;
|
|
5351
|
+
ssl: z.ZodObject<{
|
|
5352
|
+
status: z.ZodEnum<{
|
|
5353
|
+
active: "active";
|
|
5354
|
+
pending: "pending";
|
|
5355
|
+
missing: "missing";
|
|
5356
|
+
broken: "broken";
|
|
5357
|
+
}>;
|
|
5358
|
+
canRetry: z.ZodBoolean;
|
|
5359
|
+
certificateId: z.ZodNullable<z.ZodString>;
|
|
5360
|
+
validationExpiration: z.ZodNullable<z.ZodString>;
|
|
5361
|
+
authzUri: z.ZodNullable<z.ZodString>;
|
|
5362
|
+
brokenRecord: z.ZodNullable<z.ZodObject<{
|
|
5363
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
5364
|
+
lastError: z.ZodNullable<z.ZodString>;
|
|
5365
|
+
retryDate: z.ZodNullable<z.ZodString>;
|
|
5366
|
+
failCount: z.ZodNullable<z.ZodNumber>;
|
|
5367
|
+
}, z.core.$strip>>;
|
|
5368
|
+
}, z.core.$strip>;
|
|
5369
|
+
}, z.core.$strip>>;
|
|
5370
|
+
}, z.core.$strip>;
|
|
5371
|
+
export declare const domainSslRetryResponseSchema: z.ZodObject<{
|
|
5372
|
+
data: z.ZodObject<{
|
|
5373
|
+
requestedAt: z.ZodString;
|
|
5374
|
+
retries: z.ZodArray<z.ZodObject<{
|
|
5375
|
+
hostname: z.ZodString;
|
|
5376
|
+
queued: z.ZodBoolean;
|
|
5377
|
+
error: z.ZodNullable<z.ZodEnum<{
|
|
5378
|
+
not_hosted_here: "not_hosted_here";
|
|
5379
|
+
}>>;
|
|
5380
|
+
}, z.core.$strip>>;
|
|
5381
|
+
hostnameDiagnostics: z.ZodArray<z.ZodObject<{
|
|
5382
|
+
hostname: z.ZodString;
|
|
5383
|
+
purpose: z.ZodEnum<{
|
|
5384
|
+
www: "www";
|
|
5385
|
+
apex: "apex";
|
|
5386
|
+
configured: "configured";
|
|
5387
|
+
}>;
|
|
5388
|
+
isConfiguredHostname: z.ZodBoolean;
|
|
5389
|
+
providerIps: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5390
|
+
verificationCode: z.ZodNullable<z.ZodString>;
|
|
5391
|
+
dnsInstructions: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5392
|
+
type: z.ZodEnum<{
|
|
5393
|
+
A: "A";
|
|
5394
|
+
AAAA: "AAAA";
|
|
5395
|
+
CNAME: "CNAME";
|
|
5396
|
+
TXT: "TXT";
|
|
5397
|
+
ALIAS: "ALIAS";
|
|
5398
|
+
}>;
|
|
5399
|
+
name: z.ZodString;
|
|
5400
|
+
value: z.ZodString;
|
|
5401
|
+
ttl: z.ZodOptional<z.ZodNumber>;
|
|
5402
|
+
purpose: z.ZodEnum<{
|
|
5403
|
+
verification: "verification";
|
|
5404
|
+
routing: "routing";
|
|
5405
|
+
ssl: "ssl";
|
|
5406
|
+
}>;
|
|
5407
|
+
}, z.core.$strip>>>;
|
|
5408
|
+
dns: z.ZodObject<{
|
|
5409
|
+
observedAt: z.ZodString;
|
|
5410
|
+
expectedTxtValue: z.ZodNullable<z.ZodString>;
|
|
5411
|
+
pointsToProvider: z.ZodBoolean;
|
|
5412
|
+
proxyDetected: z.ZodNullable<z.ZodBoolean>;
|
|
5413
|
+
txtVerified: z.ZodNullable<z.ZodBoolean>;
|
|
5414
|
+
hasAaaaRecords: z.ZodBoolean;
|
|
5415
|
+
hasCaaRecords: z.ZodBoolean;
|
|
5416
|
+
records: z.ZodObject<{
|
|
5417
|
+
a: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5418
|
+
aaaa: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5419
|
+
caa: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5420
|
+
cname: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5421
|
+
mx: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5422
|
+
txt: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5423
|
+
}, z.core.$strip>;
|
|
5424
|
+
byResolver: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5425
|
+
resolver: z.ZodString;
|
|
5426
|
+
a: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5427
|
+
aaaa: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5428
|
+
caa: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5429
|
+
cname: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5430
|
+
mx: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5431
|
+
txt: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5432
|
+
}, z.core.$strip>>>;
|
|
5433
|
+
}, z.core.$strip>;
|
|
5434
|
+
ssl: z.ZodObject<{
|
|
5435
|
+
status: z.ZodEnum<{
|
|
5436
|
+
active: "active";
|
|
5437
|
+
pending: "pending";
|
|
5438
|
+
missing: "missing";
|
|
5439
|
+
broken: "broken";
|
|
5440
|
+
}>;
|
|
5441
|
+
canRetry: z.ZodBoolean;
|
|
5442
|
+
certificateId: z.ZodNullable<z.ZodString>;
|
|
5443
|
+
validationExpiration: z.ZodNullable<z.ZodString>;
|
|
5444
|
+
authzUri: z.ZodNullable<z.ZodString>;
|
|
5445
|
+
brokenRecord: z.ZodNullable<z.ZodObject<{
|
|
5446
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
5447
|
+
lastError: z.ZodNullable<z.ZodString>;
|
|
5448
|
+
retryDate: z.ZodNullable<z.ZodString>;
|
|
5449
|
+
failCount: z.ZodNullable<z.ZodNumber>;
|
|
5450
|
+
}, z.core.$strip>>;
|
|
5451
|
+
}, z.core.$strip>;
|
|
5452
|
+
}, z.core.$strip>>;
|
|
5453
|
+
}, z.core.$strip>;
|
|
5454
|
+
operation: z.ZodNullable<z.ZodObject<{
|
|
5455
|
+
id: z.ZodString;
|
|
5456
|
+
kind: z.ZodString;
|
|
5457
|
+
status: z.ZodEnum<{
|
|
5458
|
+
failed: "failed";
|
|
5459
|
+
canceled: "canceled";
|
|
5460
|
+
queued: "queued";
|
|
5461
|
+
running: "running";
|
|
5462
|
+
succeeded: "succeeded";
|
|
5463
|
+
}>;
|
|
5464
|
+
resources: z.ZodArray<z.ZodObject<{
|
|
5465
|
+
type: z.ZodString;
|
|
5466
|
+
id: z.ZodString;
|
|
5467
|
+
}, z.core.$strip>>;
|
|
5468
|
+
progress: z.ZodOptional<z.ZodObject<{
|
|
5469
|
+
total: z.ZodNumber;
|
|
5470
|
+
completed: z.ZodNumber;
|
|
5471
|
+
failed: z.ZodNumber;
|
|
5472
|
+
}, z.core.$strip>>;
|
|
5473
|
+
diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5474
|
+
code: z.ZodString;
|
|
5475
|
+
severity: z.ZodEnum<{
|
|
5476
|
+
info: "info";
|
|
5477
|
+
warning: "warning";
|
|
5478
|
+
error: "error";
|
|
5479
|
+
}>;
|
|
5480
|
+
message: z.ZodString;
|
|
5481
|
+
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5482
|
+
provider: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
5483
|
+
registrar: "registrar";
|
|
5484
|
+
infra: "infra";
|
|
5485
|
+
dns: "dns";
|
|
5486
|
+
runtime: "runtime";
|
|
5487
|
+
}>>>;
|
|
5488
|
+
details: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
5489
|
+
fix: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5490
|
+
retryable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
5491
|
+
}, z.core.$strip>>>;
|
|
5492
|
+
createdAt: z.ZodString;
|
|
5493
|
+
finishedAt: z.ZodOptional<z.ZodString>;
|
|
5494
|
+
}, z.core.$strip>>;
|
|
5495
|
+
}, z.core.$strip>;
|
|
5088
5496
|
export {};
|