@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
|
@@ -2,7 +2,6 @@ export type ErrorRecovery = "retry" | "re_auth" | "fix_input" | "wait" | "contac
|
|
|
2
2
|
export interface ErrorCodeMeta {
|
|
3
3
|
/** True when an identical request may succeed on a later attempt without caller changes. */
|
|
4
4
|
retryable: boolean;
|
|
5
|
-
/** The single actionable recovery hint for this code. */
|
|
6
5
|
recovery: ErrorRecovery;
|
|
7
6
|
/** Copy-pasteable commands or requests an agent can run next. */
|
|
8
7
|
next?: readonly string[];
|
|
@@ -74,6 +73,10 @@ export declare const ERROR_CODE_META: {
|
|
|
74
73
|
readonly retryable: false;
|
|
75
74
|
readonly recovery: "re_auth";
|
|
76
75
|
};
|
|
76
|
+
readonly authorization_level_not_allowed: {
|
|
77
|
+
readonly retryable: false;
|
|
78
|
+
readonly recovery: "contact_support";
|
|
79
|
+
};
|
|
77
80
|
readonly authorization_pending: {
|
|
78
81
|
readonly retryable: true;
|
|
79
82
|
readonly recovery: "wait";
|
|
@@ -114,6 +117,11 @@ export declare const ERROR_CODE_META: {
|
|
|
114
117
|
readonly retryable: false;
|
|
115
118
|
readonly recovery: "fix_input";
|
|
116
119
|
};
|
|
120
|
+
readonly build_output_contains_server_bundle: {
|
|
121
|
+
readonly retryable: false;
|
|
122
|
+
readonly recovery: "fix_input";
|
|
123
|
+
readonly next: readonly ["sf publish (the Spacefast CLI runs the Functions pipeline for server apps)", "Or point the output directory at a browser-ready export"];
|
|
124
|
+
};
|
|
117
125
|
readonly build_output_dir_missing: {
|
|
118
126
|
readonly retryable: false;
|
|
119
127
|
readonly recovery: "fix_input";
|
|
@@ -190,6 +198,27 @@ export declare const ERROR_CODE_META: {
|
|
|
190
198
|
readonly retryable: false;
|
|
191
199
|
readonly recovery: "fix_input";
|
|
192
200
|
};
|
|
201
|
+
readonly confirmation_denied: {
|
|
202
|
+
readonly retryable: false;
|
|
203
|
+
readonly recovery: "contact_support";
|
|
204
|
+
};
|
|
205
|
+
readonly confirmation_expired: {
|
|
206
|
+
readonly retryable: false;
|
|
207
|
+
readonly recovery: "fix_input";
|
|
208
|
+
};
|
|
209
|
+
readonly confirmation_mismatch: {
|
|
210
|
+
readonly retryable: false;
|
|
211
|
+
readonly recovery: "fix_input";
|
|
212
|
+
};
|
|
213
|
+
readonly confirmation_required: {
|
|
214
|
+
readonly retryable: false;
|
|
215
|
+
readonly recovery: "wait";
|
|
216
|
+
readonly next: readonly ["Open the `url` in the error details so a person can approve or deny it", "POST the `continuationToken` to /v1/actions/resume every 5 seconds", "Give up after 10 minutes, report to your human, and stop"];
|
|
217
|
+
};
|
|
218
|
+
readonly confirmation_token_required: {
|
|
219
|
+
readonly retryable: false;
|
|
220
|
+
readonly recovery: "fix_input";
|
|
221
|
+
};
|
|
193
222
|
readonly continuation_unavailable: {
|
|
194
223
|
readonly retryable: false;
|
|
195
224
|
readonly recovery: "re_auth";
|
|
@@ -216,6 +245,10 @@ export declare const ERROR_CODE_META: {
|
|
|
216
245
|
readonly retryable: false;
|
|
217
246
|
readonly recovery: "re_auth";
|
|
218
247
|
};
|
|
248
|
+
readonly credential_sponsor_inactive: {
|
|
249
|
+
readonly retryable: false;
|
|
250
|
+
readonly recovery: "contact_support";
|
|
251
|
+
};
|
|
219
252
|
readonly csam_blocked: {
|
|
220
253
|
readonly retryable: false;
|
|
221
254
|
readonly recovery: "contact_support";
|
|
@@ -224,6 +257,18 @@ export declare const ERROR_CODE_META: {
|
|
|
224
257
|
readonly retryable: false;
|
|
225
258
|
readonly recovery: "contact_support";
|
|
226
259
|
};
|
|
260
|
+
readonly dashboard_prefs_key_invalid: {
|
|
261
|
+
readonly retryable: false;
|
|
262
|
+
readonly recovery: "fix_input";
|
|
263
|
+
};
|
|
264
|
+
readonly dashboard_prefs_too_large: {
|
|
265
|
+
readonly retryable: false;
|
|
266
|
+
readonly recovery: "fix_input";
|
|
267
|
+
};
|
|
268
|
+
readonly dashboard_prefs_too_many_keys: {
|
|
269
|
+
readonly retryable: false;
|
|
270
|
+
readonly recovery: "fix_input";
|
|
271
|
+
};
|
|
227
272
|
readonly data_location_immutable: {
|
|
228
273
|
readonly retryable: false;
|
|
229
274
|
readonly recovery: "fix_input";
|
|
@@ -232,6 +277,15 @@ export declare const ERROR_CODE_META: {
|
|
|
232
277
|
readonly retryable: false;
|
|
233
278
|
readonly recovery: "fix_input";
|
|
234
279
|
};
|
|
280
|
+
readonly decision_execution_lost: {
|
|
281
|
+
readonly retryable: false;
|
|
282
|
+
readonly recovery: "fix_input";
|
|
283
|
+
};
|
|
284
|
+
readonly decision_in_progress: {
|
|
285
|
+
readonly retryable: true;
|
|
286
|
+
readonly recovery: "wait";
|
|
287
|
+
readonly next: readonly ["POST the continuationToken to /v1/actions/resume"];
|
|
288
|
+
};
|
|
235
289
|
readonly device_authorization_failed: {
|
|
236
290
|
readonly retryable: false;
|
|
237
291
|
readonly recovery: "re_auth";
|
|
@@ -447,6 +501,18 @@ export declare const ERROR_CODE_META: {
|
|
|
447
501
|
readonly retryable: false;
|
|
448
502
|
readonly recovery: "fix_input";
|
|
449
503
|
};
|
|
504
|
+
readonly elevation_not_required: {
|
|
505
|
+
readonly retryable: false;
|
|
506
|
+
readonly recovery: "fix_input";
|
|
507
|
+
};
|
|
508
|
+
readonly email_already_claimed: {
|
|
509
|
+
readonly retryable: false;
|
|
510
|
+
readonly recovery: "fix_input";
|
|
511
|
+
};
|
|
512
|
+
readonly email_verification_code_invalid: {
|
|
513
|
+
readonly retryable: false;
|
|
514
|
+
readonly recovery: "fix_input";
|
|
515
|
+
};
|
|
450
516
|
readonly enforcement_policy_overlap: {
|
|
451
517
|
readonly retryable: false;
|
|
452
518
|
readonly recovery: "fix_input";
|
|
@@ -504,6 +570,10 @@ export declare const ERROR_CODE_META: {
|
|
|
504
570
|
readonly retryable: true;
|
|
505
571
|
readonly recovery: "wait";
|
|
506
572
|
};
|
|
573
|
+
readonly insufficient_scope: {
|
|
574
|
+
readonly retryable: false;
|
|
575
|
+
readonly recovery: "re_auth";
|
|
576
|
+
};
|
|
507
577
|
readonly internal_error: {
|
|
508
578
|
readonly retryable: true;
|
|
509
579
|
readonly recovery: "retry";
|
|
@@ -520,6 +590,10 @@ export declare const ERROR_CODE_META: {
|
|
|
520
590
|
readonly retryable: false;
|
|
521
591
|
readonly recovery: "fix_input";
|
|
522
592
|
};
|
|
593
|
+
readonly invalid_decision_state: {
|
|
594
|
+
readonly retryable: false;
|
|
595
|
+
readonly recovery: "contact_support";
|
|
596
|
+
};
|
|
523
597
|
readonly invalid_device_code: {
|
|
524
598
|
readonly retryable: false;
|
|
525
599
|
readonly recovery: "re_auth";
|
|
@@ -532,6 +606,10 @@ export declare const ERROR_CODE_META: {
|
|
|
532
606
|
readonly retryable: false;
|
|
533
607
|
readonly recovery: "fix_input";
|
|
534
608
|
};
|
|
609
|
+
readonly invalid_elevation_request: {
|
|
610
|
+
readonly retryable: false;
|
|
611
|
+
readonly recovery: "fix_input";
|
|
612
|
+
};
|
|
535
613
|
readonly invalid_file_path: {
|
|
536
614
|
readonly retryable: false;
|
|
537
615
|
readonly recovery: "fix_input";
|
|
@@ -576,6 +654,18 @@ export declare const ERROR_CODE_META: {
|
|
|
576
654
|
readonly retryable: false;
|
|
577
655
|
readonly recovery: "re_auth";
|
|
578
656
|
};
|
|
657
|
+
readonly invalid_usage_bucket: {
|
|
658
|
+
readonly retryable: false;
|
|
659
|
+
readonly recovery: "fix_input";
|
|
660
|
+
};
|
|
661
|
+
readonly invalid_usage_correction: {
|
|
662
|
+
readonly retryable: false;
|
|
663
|
+
readonly recovery: "fix_input";
|
|
664
|
+
};
|
|
665
|
+
readonly invalid_usage_window: {
|
|
666
|
+
readonly retryable: false;
|
|
667
|
+
readonly recovery: "fix_input";
|
|
668
|
+
};
|
|
579
669
|
readonly invalid_version_path: {
|
|
580
670
|
readonly retryable: false;
|
|
581
671
|
readonly recovery: "fix_input";
|
|
@@ -624,6 +714,26 @@ export declare const ERROR_CODE_META: {
|
|
|
624
714
|
readonly retryable: false;
|
|
625
715
|
readonly recovery: "contact_support";
|
|
626
716
|
};
|
|
717
|
+
readonly issuer_exists: {
|
|
718
|
+
readonly retryable: false;
|
|
719
|
+
readonly recovery: "fix_input";
|
|
720
|
+
};
|
|
721
|
+
readonly issuer_not_active: {
|
|
722
|
+
readonly retryable: false;
|
|
723
|
+
readonly recovery: "re_auth";
|
|
724
|
+
};
|
|
725
|
+
readonly issuer_proof_invalid: {
|
|
726
|
+
readonly retryable: false;
|
|
727
|
+
readonly recovery: "fix_input";
|
|
728
|
+
};
|
|
729
|
+
readonly issuer_tenant_occupied: {
|
|
730
|
+
readonly retryable: false;
|
|
731
|
+
readonly recovery: "fix_input";
|
|
732
|
+
};
|
|
733
|
+
readonly issuer_unknown: {
|
|
734
|
+
readonly retryable: false;
|
|
735
|
+
readonly recovery: "re_auth";
|
|
736
|
+
};
|
|
627
737
|
readonly job_not_found: {
|
|
628
738
|
readonly retryable: false;
|
|
629
739
|
readonly recovery: "fix_input";
|
|
@@ -705,6 +815,10 @@ export declare const ERROR_CODE_META: {
|
|
|
705
815
|
readonly retryable: false;
|
|
706
816
|
readonly recovery: "fix_input";
|
|
707
817
|
};
|
|
818
|
+
readonly no_space_selected: {
|
|
819
|
+
readonly retryable: false;
|
|
820
|
+
readonly recovery: "fix_input";
|
|
821
|
+
};
|
|
708
822
|
readonly noop_publish: {
|
|
709
823
|
readonly retryable: false;
|
|
710
824
|
readonly recovery: "fix_input";
|
|
@@ -717,6 +831,22 @@ export declare const ERROR_CODE_META: {
|
|
|
717
831
|
readonly retryable: false;
|
|
718
832
|
readonly recovery: "fix_input";
|
|
719
833
|
};
|
|
834
|
+
readonly partner_preset_not_grantable: {
|
|
835
|
+
readonly retryable: false;
|
|
836
|
+
readonly recovery: "fix_input";
|
|
837
|
+
};
|
|
838
|
+
readonly partner_tenant_immutable_client: {
|
|
839
|
+
readonly retryable: false;
|
|
840
|
+
readonly recovery: "fix_input";
|
|
841
|
+
};
|
|
842
|
+
readonly password_already_set: {
|
|
843
|
+
readonly retryable: false;
|
|
844
|
+
readonly recovery: "fix_input";
|
|
845
|
+
};
|
|
846
|
+
readonly password_compromised: {
|
|
847
|
+
readonly retryable: false;
|
|
848
|
+
readonly recovery: "fix_input";
|
|
849
|
+
};
|
|
720
850
|
readonly path_case_collision: {
|
|
721
851
|
readonly retryable: false;
|
|
722
852
|
readonly recovery: "fix_input";
|
|
@@ -733,11 +863,11 @@ export declare const ERROR_CODE_META: {
|
|
|
733
863
|
readonly retryable: false;
|
|
734
864
|
readonly recovery: "fix_input";
|
|
735
865
|
};
|
|
736
|
-
readonly
|
|
866
|
+
readonly plan_unknown: {
|
|
737
867
|
readonly retryable: false;
|
|
738
868
|
readonly recovery: "fix_input";
|
|
739
869
|
};
|
|
740
|
-
readonly
|
|
870
|
+
readonly placement_invalid_burstable: {
|
|
741
871
|
readonly retryable: false;
|
|
742
872
|
readonly recovery: "fix_input";
|
|
743
873
|
};
|
|
@@ -745,10 +875,39 @@ export declare const ERROR_CODE_META: {
|
|
|
745
875
|
readonly retryable: false;
|
|
746
876
|
readonly recovery: "fix_input";
|
|
747
877
|
};
|
|
878
|
+
readonly prebuilt_metadata_invalid: {
|
|
879
|
+
readonly retryable: false;
|
|
880
|
+
readonly recovery: "fix_input";
|
|
881
|
+
readonly next: readonly ["sf build", "Delete the archive's .meta.json sidecar if the archive contains plain files"];
|
|
882
|
+
};
|
|
883
|
+
readonly primary_email_not_removable: {
|
|
884
|
+
readonly retryable: false;
|
|
885
|
+
readonly recovery: "fix_input";
|
|
886
|
+
};
|
|
887
|
+
readonly principal_closed: {
|
|
888
|
+
readonly retryable: false;
|
|
889
|
+
readonly recovery: "contact_support";
|
|
890
|
+
};
|
|
891
|
+
readonly principal_has_active_spaces: {
|
|
892
|
+
readonly retryable: false;
|
|
893
|
+
readonly recovery: "fix_input";
|
|
894
|
+
};
|
|
895
|
+
readonly principal_not_found: {
|
|
896
|
+
readonly retryable: false;
|
|
897
|
+
readonly recovery: "fix_input";
|
|
898
|
+
};
|
|
748
899
|
readonly principal_space_mismatch: {
|
|
749
900
|
readonly retryable: false;
|
|
750
901
|
readonly recovery: "fix_input";
|
|
751
902
|
};
|
|
903
|
+
readonly principal_suspended: {
|
|
904
|
+
readonly retryable: false;
|
|
905
|
+
readonly recovery: "contact_support";
|
|
906
|
+
};
|
|
907
|
+
readonly principal_suspension_locked: {
|
|
908
|
+
readonly retryable: false;
|
|
909
|
+
readonly recovery: "contact_support";
|
|
910
|
+
};
|
|
752
911
|
readonly provider_error: {
|
|
753
912
|
readonly retryable: true;
|
|
754
913
|
readonly recovery: "retry";
|
|
@@ -777,6 +936,34 @@ export declare const ERROR_CODE_META: {
|
|
|
777
936
|
readonly retryable: true;
|
|
778
937
|
readonly recovery: "wait";
|
|
779
938
|
};
|
|
939
|
+
readonly promotion_live_content_missing: {
|
|
940
|
+
readonly retryable: false;
|
|
941
|
+
readonly recovery: "fix_input";
|
|
942
|
+
};
|
|
943
|
+
readonly promotion_live_system_space_invalid: {
|
|
944
|
+
readonly retryable: false;
|
|
945
|
+
readonly recovery: "fix_input";
|
|
946
|
+
};
|
|
947
|
+
readonly promotion_live_system_space_not_designated: {
|
|
948
|
+
readonly retryable: false;
|
|
949
|
+
readonly recovery: "fix_input";
|
|
950
|
+
};
|
|
951
|
+
readonly promotion_not_live_tenant: {
|
|
952
|
+
readonly retryable: false;
|
|
953
|
+
readonly recovery: "fix_input";
|
|
954
|
+
};
|
|
955
|
+
readonly promotion_nothing_to_promote: {
|
|
956
|
+
readonly retryable: false;
|
|
957
|
+
readonly recovery: "fix_input";
|
|
958
|
+
};
|
|
959
|
+
readonly promotion_runtime_publish_incomplete: {
|
|
960
|
+
readonly retryable: true;
|
|
961
|
+
readonly recovery: "retry";
|
|
962
|
+
};
|
|
963
|
+
readonly promotion_test_twin_missing: {
|
|
964
|
+
readonly retryable: false;
|
|
965
|
+
readonly recovery: "fix_input";
|
|
966
|
+
};
|
|
780
967
|
readonly proxy_upstream_denied: {
|
|
781
968
|
readonly retryable: false;
|
|
782
969
|
readonly recovery: "fix_input";
|
|
@@ -865,6 +1052,10 @@ export declare const ERROR_CODE_META: {
|
|
|
865
1052
|
readonly retryable: false;
|
|
866
1053
|
readonly recovery: "fix_input";
|
|
867
1054
|
};
|
|
1055
|
+
readonly quota_exceeded: {
|
|
1056
|
+
readonly retryable: false;
|
|
1057
|
+
readonly recovery: "fix_input";
|
|
1058
|
+
};
|
|
868
1059
|
readonly rate_limited: {
|
|
869
1060
|
readonly retryable: true;
|
|
870
1061
|
readonly recovery: "wait";
|
|
@@ -954,6 +1145,10 @@ export declare const ERROR_CODE_META: {
|
|
|
954
1145
|
readonly retryable: true;
|
|
955
1146
|
readonly recovery: "retry";
|
|
956
1147
|
};
|
|
1148
|
+
readonly runtime_release_unverifiable: {
|
|
1149
|
+
readonly retryable: false;
|
|
1150
|
+
readonly recovery: "fix_input";
|
|
1151
|
+
};
|
|
957
1152
|
readonly runtime_scope_forbidden: {
|
|
958
1153
|
readonly retryable: false;
|
|
959
1154
|
readonly recovery: "re_auth";
|
|
@@ -999,6 +1194,10 @@ export declare const ERROR_CODE_META: {
|
|
|
999
1194
|
readonly retryable: false;
|
|
1000
1195
|
readonly recovery: "re_auth";
|
|
1001
1196
|
};
|
|
1197
|
+
readonly session_not_fresh: {
|
|
1198
|
+
readonly retryable: false;
|
|
1199
|
+
readonly recovery: "re_auth";
|
|
1200
|
+
};
|
|
1002
1201
|
readonly site_already_deleted: {
|
|
1003
1202
|
readonly retryable: false;
|
|
1004
1203
|
readonly recovery: "fix_input";
|
|
@@ -1114,6 +1313,10 @@ export declare const ERROR_CODE_META: {
|
|
|
1114
1313
|
readonly retryable: false;
|
|
1115
1314
|
readonly recovery: "fix_input";
|
|
1116
1315
|
};
|
|
1316
|
+
readonly space_selection_conflict: {
|
|
1317
|
+
readonly retryable: false;
|
|
1318
|
+
readonly recovery: "fix_input";
|
|
1319
|
+
};
|
|
1117
1320
|
readonly space_transferring: {
|
|
1118
1321
|
readonly retryable: false;
|
|
1119
1322
|
readonly recovery: "fix_input";
|
|
@@ -1190,10 +1393,26 @@ export declare const ERROR_CODE_META: {
|
|
|
1190
1393
|
readonly retryable: true;
|
|
1191
1394
|
readonly recovery: "retry";
|
|
1192
1395
|
};
|
|
1396
|
+
readonly superadmin_two_factor_required: {
|
|
1397
|
+
readonly retryable: false;
|
|
1398
|
+
readonly recovery: "fix_input";
|
|
1399
|
+
};
|
|
1400
|
+
readonly superadmin_wpcom_account_required: {
|
|
1401
|
+
readonly retryable: false;
|
|
1402
|
+
readonly recovery: "fix_input";
|
|
1403
|
+
};
|
|
1193
1404
|
readonly superseded_by_publish: {
|
|
1194
1405
|
readonly retryable: false;
|
|
1195
1406
|
readonly recovery: "fix_input";
|
|
1196
1407
|
};
|
|
1408
|
+
readonly system_space_conflict: {
|
|
1409
|
+
readonly retryable: false;
|
|
1410
|
+
readonly recovery: "fix_input";
|
|
1411
|
+
};
|
|
1412
|
+
readonly system_space_invalid: {
|
|
1413
|
+
readonly retryable: false;
|
|
1414
|
+
readonly recovery: "fix_input";
|
|
1415
|
+
};
|
|
1197
1416
|
readonly takeover_notice_window: {
|
|
1198
1417
|
readonly retryable: true;
|
|
1199
1418
|
readonly recovery: "wait";
|
|
@@ -1210,6 +1429,10 @@ export declare const ERROR_CODE_META: {
|
|
|
1210
1429
|
readonly retryable: false;
|
|
1211
1430
|
readonly recovery: "fix_input";
|
|
1212
1431
|
};
|
|
1432
|
+
readonly team_scope_mismatch: {
|
|
1433
|
+
readonly retryable: false;
|
|
1434
|
+
readonly recovery: "fix_input";
|
|
1435
|
+
};
|
|
1213
1436
|
readonly team_slug_conflict: {
|
|
1214
1437
|
readonly retryable: false;
|
|
1215
1438
|
readonly recovery: "fix_input";
|
|
@@ -1254,6 +1477,42 @@ export declare const ERROR_CODE_META: {
|
|
|
1254
1477
|
readonly retryable: false;
|
|
1255
1478
|
readonly recovery: "fix_input";
|
|
1256
1479
|
};
|
|
1480
|
+
readonly token_alg_invalid: {
|
|
1481
|
+
readonly retryable: false;
|
|
1482
|
+
readonly recovery: "re_auth";
|
|
1483
|
+
};
|
|
1484
|
+
readonly token_audience_mismatch: {
|
|
1485
|
+
readonly retryable: false;
|
|
1486
|
+
readonly recovery: "re_auth";
|
|
1487
|
+
};
|
|
1488
|
+
readonly token_claims_invalid: {
|
|
1489
|
+
readonly retryable: false;
|
|
1490
|
+
readonly recovery: "re_auth";
|
|
1491
|
+
};
|
|
1492
|
+
readonly token_header_forbidden: {
|
|
1493
|
+
readonly retryable: false;
|
|
1494
|
+
readonly recovery: "re_auth";
|
|
1495
|
+
};
|
|
1496
|
+
readonly token_malformed: {
|
|
1497
|
+
readonly retryable: false;
|
|
1498
|
+
readonly recovery: "re_auth";
|
|
1499
|
+
};
|
|
1500
|
+
readonly token_signature_invalid: {
|
|
1501
|
+
readonly retryable: false;
|
|
1502
|
+
readonly recovery: "re_auth";
|
|
1503
|
+
};
|
|
1504
|
+
readonly token_subject_invalid: {
|
|
1505
|
+
readonly retryable: false;
|
|
1506
|
+
readonly recovery: "re_auth";
|
|
1507
|
+
};
|
|
1508
|
+
readonly token_ttl_invalid: {
|
|
1509
|
+
readonly retryable: false;
|
|
1510
|
+
readonly recovery: "re_auth";
|
|
1511
|
+
};
|
|
1512
|
+
readonly token_type_invalid: {
|
|
1513
|
+
readonly retryable: false;
|
|
1514
|
+
readonly recovery: "re_auth";
|
|
1515
|
+
};
|
|
1257
1516
|
readonly transfer_cross_tenant_unsupported: {
|
|
1258
1517
|
readonly retryable: false;
|
|
1259
1518
|
readonly recovery: "fix_input";
|
|
@@ -1302,6 +1561,10 @@ export declare const ERROR_CODE_META: {
|
|
|
1302
1561
|
readonly retryable: false;
|
|
1303
1562
|
readonly recovery: "fix_input";
|
|
1304
1563
|
};
|
|
1564
|
+
readonly usage_period_not_found: {
|
|
1565
|
+
readonly retryable: false;
|
|
1566
|
+
readonly recovery: "fix_input";
|
|
1567
|
+
};
|
|
1305
1568
|
readonly user_banned: {
|
|
1306
1569
|
readonly retryable: false;
|
|
1307
1570
|
readonly recovery: "contact_support";
|
|
@@ -1402,6 +1665,10 @@ export declare const ERROR_CODE_META: {
|
|
|
1402
1665
|
readonly retryable: false;
|
|
1403
1666
|
readonly recovery: "fix_input";
|
|
1404
1667
|
};
|
|
1668
|
+
readonly webhook_managed_by_manifest: {
|
|
1669
|
+
readonly retryable: false;
|
|
1670
|
+
readonly recovery: "fix_input";
|
|
1671
|
+
};
|
|
1405
1672
|
readonly whois_unavailable: {
|
|
1406
1673
|
readonly retryable: true;
|
|
1407
1674
|
readonly recovery: "retry";
|
|
@@ -1674,10 +1941,18 @@ export declare const ERROR_CODE_META: {
|
|
|
1674
1941
|
readonly retryable: false;
|
|
1675
1942
|
readonly recovery: "fix_input";
|
|
1676
1943
|
};
|
|
1944
|
+
readonly zero_email_unavailable: {
|
|
1945
|
+
readonly retryable: false;
|
|
1946
|
+
readonly recovery: "fix_input";
|
|
1947
|
+
};
|
|
1677
1948
|
readonly zero_envelope_encode_failed: {
|
|
1678
1949
|
readonly retryable: true;
|
|
1679
1950
|
readonly recovery: "retry";
|
|
1680
1951
|
};
|
|
1952
|
+
readonly zero_gravatar_unavailable: {
|
|
1953
|
+
readonly retryable: false;
|
|
1954
|
+
readonly recovery: "fix_input";
|
|
1955
|
+
};
|
|
1681
1956
|
readonly zero_js_context_init_failed: {
|
|
1682
1957
|
readonly retryable: true;
|
|
1683
1958
|
readonly recovery: "retry";
|
|
@@ -1842,13 +2117,14 @@ export declare const ERROR_CODE_META: {
|
|
|
1842
2117
|
readonly retryable: false;
|
|
1843
2118
|
readonly recovery: "fix_input";
|
|
1844
2119
|
};
|
|
2120
|
+
readonly zero_spam_unavailable: {
|
|
2121
|
+
readonly retryable: false;
|
|
2122
|
+
readonly recovery: "fix_input";
|
|
2123
|
+
};
|
|
1845
2124
|
readonly zero_runs_too_many: {
|
|
1846
2125
|
readonly retryable: false;
|
|
1847
2126
|
readonly recovery: "fix_input";
|
|
1848
2127
|
};
|
|
1849
2128
|
};
|
|
1850
|
-
/**
|
|
1851
|
-
* Resolve the metadata for an error code, degrading to a safe `contact_support` default for
|
|
1852
|
-
* codes outside the table (dynamic provider passthrough, codes from a newer control plane).
|
|
1853
|
-
*/
|
|
2129
|
+
/** Metadata for an error code, or `DEFAULT_ERROR_CODE_META` when it is outside the table. */
|
|
1854
2130
|
export declare function errorCodeMeta(code: string): ErrorCodeMeta;
|