@tunasand/sdk 0.7.0 → 0.11.0
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/CHANGELOG.md +233 -88
- package/README.md +296 -273
- package/dist/analytics.js +657 -10
- package/dist/app.js +323 -96
- package/dist/apps-DIxAWBSZ.js +318 -0
- package/dist/astro-image.d.ts +1 -0
- package/dist/astro-image.js +33 -0
- package/dist/astro-server-Bwau8F6d.js +99 -0
- package/dist/astro-server.d.ts +1 -0
- package/dist/astro-server.js +1 -0
- package/dist/astro.d.ts +1 -0
- package/dist/astro.js +306 -0
- package/dist/bridge-Dv4NxGZ7.js +81 -0
- package/dist/bridge.js +2 -14
- package/dist/build-file-DNi0PHC5.js +31 -0
- package/dist/cli.js +6214 -9
- package/dist/{client-Derrexwr.js → client-C8STAw9T.js} +43 -24
- package/dist/code-N8pBUDbq.js +30 -0
- package/dist/code.d.ts +1 -0
- package/dist/code.js +1 -0
- package/dist/collection-nUz1RetA.js +264 -0
- package/dist/{declared-C_GvPiGF.js → declared-CE4a61qb.js} +124 -36
- package/dist/delivery.js +124 -132
- package/dist/dev-operations-Tutwi1On.js +46 -0
- package/dist/dev.js +9 -16
- package/dist/embeds-B-Dbn64k.js +29 -0
- package/dist/end-users.d.ts +1 -0
- package/dist/end-users.js +185 -0
- package/dist/{customers-C_vJY2_v.js → endUsers-DODfjnv1.js} +31 -38
- package/dist/{errorLabels-CPKiPabZ.js → errorLabels-aT2bnMsO.js} +593 -460
- package/dist/i18n.js +4 -4
- package/dist/ids-DmtIoqBX.js +109 -0
- package/dist/integrations.js +95 -49
- package/dist/{ja-C6lX0CeJ.js → ja-CrY_72Tn.js} +99 -54
- package/dist/{ja-C1HEWWTQ.js → ja-axQPxMJ-.js} +6 -6
- package/dist/operations-CIB99rIY.js +95 -0
- package/dist/operations.d.ts +1 -0
- package/dist/operations.js +1 -0
- package/dist/{page-E_cYgZx-.js → page-yo1cw1kW.js} +5 -5
- package/dist/preview.js +8 -1
- package/dist/{profile-D6t1QMQh.js → profile-DBsXLvvI.js} +52 -52
- package/dist/rich-text.d.ts +1 -0
- package/dist/{body.js → rich-text.js} +20 -21
- package/dist/schema-Dcg1ajnW.js +1267 -0
- package/dist/schema.js +324 -1
- package/dist/types/access/src/handoff.d.ts +22 -17
- package/dist/types/access/src/index.d.ts +2 -2
- package/dist/types/access/src/jws.d.ts +41 -0
- package/dist/types/access/src/jwt.d.ts +1 -1
- package/dist/types/access/src/oidc.d.ts +11 -3
- package/dist/types/access/src/signed.d.ts +0 -2
- package/dist/types/adapter-cloudflare/src/eventLog/viewSchema.d.ts +11 -0
- package/dist/types/contract/src/accountProfile.d.ts +7 -0
- package/dist/types/{cms-contract → contract}/src/apiKeys.d.ts +7 -3
- package/dist/types/contract/src/app.d.ts +38 -0
- package/dist/types/contract/src/appChannels.d.ts +114 -0
- package/dist/types/contract/src/appDefinition.d.ts +133 -0
- package/dist/types/{cms-contract → contract}/src/appDependencies.d.ts +91 -35
- package/dist/types/contract/src/appIdentities.d.ts +21 -0
- package/dist/types/contract/src/appInbound.d.ts +28 -0
- package/dist/types/contract/src/appMail.d.ts +106 -0
- package/dist/types/contract/src/appSecrets.d.ts +45 -0
- package/dist/types/contract/src/appServer.d.ts +501 -0
- package/dist/types/contract/src/approvalLabels.d.ts +26 -0
- package/dist/types/contract/src/approvals.d.ts +63 -0
- package/dist/types/contract/src/apps.d.ts +295 -0
- package/dist/types/contract/src/auditActions.d.ts +18 -0
- package/dist/types/contract/src/auditLabels.d.ts +223 -0
- package/dist/types/contract/src/authorize.d.ts +133 -0
- package/dist/types/{cms-contract → contract}/src/bridge.d.ts +39 -40
- package/dist/types/{cms-contract → contract}/src/consents.d.ts +32 -25
- package/dist/types/contract/src/deletion.d.ts +18 -0
- package/dist/types/contract/src/embeds.d.ts +105 -0
- package/dist/types/{cms-contract/src/customerLabels.d.ts → contract/src/endUserLabels.d.ts} +6 -9
- package/dist/types/contract/src/endUsers.d.ts +241 -0
- package/dist/types/{cms-contract → contract}/src/errorLabels.d.ts +76 -47
- package/dist/types/{cms-contract → contract}/src/errorLabelsEn.d.ts +52 -36
- package/dist/types/contract/src/errors.d.ts +117 -0
- package/dist/types/contract/src/eventSchemas.d.ts +70 -0
- package/dist/types/contract/src/eventTraces.d.ts +43 -0
- package/dist/types/{cms-contract → contract}/src/failureStatus.d.ts +16 -23
- package/dist/types/contract/src/fieldAccess.d.ts +45 -0
- package/dist/types/contract/src/fieldRules.d.ts +41 -0
- package/dist/types/{cms-contract/src/assets.d.ts → contract/src/files.d.ts} +5 -5
- package/dist/types/contract/src/formLabels.d.ts +3 -0
- package/dist/types/contract/src/forms.d.ts +4 -0
- package/dist/types/{cms-contract → contract}/src/functions.d.ts +3 -3
- package/dist/types/contract/src/grants.d.ts +26 -0
- package/dist/types/contract/src/headers.d.ts +5 -0
- package/dist/types/contract/src/hostingRpc.d.ts +149 -0
- package/dist/types/contract/src/hostnames.d.ts +30 -0
- package/dist/types/contract/src/identifiers.d.ts +148 -0
- package/dist/types/contract/src/ids.d.ts +112 -0
- package/dist/types/{cms-contract → contract}/src/import.d.ts +20 -19
- package/dist/types/contract/src/importLabels.d.ts +3 -0
- package/dist/types/contract/src/index.d.ts +92 -0
- package/dist/types/contract/src/integrationGraph.d.ts +83 -0
- package/dist/types/{cms-contract → contract}/src/issueLabels.d.ts +135 -99
- package/dist/types/{cms-contract → contract}/src/issueLabelsEn.d.ts +70 -52
- package/dist/types/contract/src/labels.d.ts +11 -0
- package/dist/types/contract/src/legacyAuditLabels.d.ts +10 -0
- package/dist/types/contract/src/livePeriods.d.ts +18 -0
- package/dist/types/contract/src/manage.d.ts +51 -0
- package/dist/types/contract/src/manageLabels.d.ts +11 -0
- package/dist/types/contract/src/manifestText.d.ts +66 -0
- package/dist/types/contract/src/mcpAuth.d.ts +139 -0
- package/dist/types/contract/src/mcpLabels.d.ts +5 -0
- package/dist/types/contract/src/messagePort.d.ts +208 -0
- package/dist/types/{cms-contract → contract}/src/migration.d.ts +3 -3
- package/dist/types/contract/src/notices.d.ts +38 -0
- package/dist/types/contract/src/operatorOperations.d.ts +640 -0
- package/dist/types/contract/src/operators.d.ts +33 -0
- package/dist/types/contract/src/outbound.d.ts +29 -0
- package/dist/types/contract/src/paths.d.ts +34 -0
- package/dist/types/contract/src/pending.d.ts +6 -0
- package/dist/types/{cms-contract → contract}/src/permissions.d.ts +9 -11
- package/dist/types/contract/src/perspective.d.ts +26 -0
- package/dist/types/contract/src/powers.d.ts +5 -0
- package/dist/types/contract/src/principal.d.ts +181 -0
- package/dist/types/{cms-contract → contract}/src/problems.d.ts +4 -4
- package/dist/types/contract/src/projectRole.d.ts +6 -0
- package/dist/types/contract/src/recordLabels.d.ts +6 -0
- package/dist/types/{cms-contract → contract}/src/roles.d.ts +10 -6
- package/dist/types/contract/src/ruleLabels.d.ts +16 -0
- package/dist/types/contract/src/ruleProblems.d.ts +16 -0
- package/dist/types/contract/src/schemaLabels.d.ts +8 -0
- package/dist/types/{cms-contract → contract}/src/settingProblems.d.ts +3 -3
- package/dist/types/{cms-contract → contract}/src/settings.d.ts +6 -8
- package/dist/types/contract/src/settingsLabels.d.ts +3 -0
- package/dist/types/{cms-contract → contract}/src/siteDeclaration.d.ts +7 -7
- package/dist/types/contract/src/siteIndex.d.ts +76 -0
- package/dist/types/contract/src/slugs.d.ts +6 -0
- package/dist/types/{cms-contract → contract}/src/transfer.d.ts +4 -4
- package/dist/types/contract/src/trial.d.ts +13 -0
- package/dist/types/contract/src/versions.d.ts +7 -0
- package/dist/types/{analytics/src/view.d.ts → contract/src/viewEvent.d.ts} +0 -9
- package/dist/types/contract/src/webhooks.d.ts +135 -0
- package/dist/types/contract/src/workflow.d.ts +43 -0
- package/dist/types/contract/src/workspaceItems.d.ts +87 -0
- package/dist/types/contract/src/workspacePaths.d.ts +4 -0
- package/dist/types/{body → rich-text}/src/declared.d.ts +2 -2
- package/dist/types/{body → rich-text}/src/embed.d.ts +1 -1
- package/dist/types/{body → rich-text}/src/html.d.ts +1 -1
- package/dist/types/{body → rich-text}/src/index.d.ts +8 -7
- package/dist/types/{body → rich-text}/src/labels/en.d.ts +1 -1
- package/dist/types/{body → rich-text}/src/labels/ja.d.ts +4 -4
- package/dist/types/{body → rich-text}/src/library.d.ts +1 -1
- package/dist/types/rich-text/src/media.d.ts +2 -0
- package/dist/types/{body → rich-text}/src/normalize.d.ts +1 -1
- package/dist/types/{body → rich-text}/src/problems.d.ts +5 -5
- package/dist/types/{body → rich-text}/src/profile.d.ts +11 -11
- package/dist/types/{body → rich-text}/src/render.d.ts +1 -1
- package/dist/types/{body → rich-text}/src/schema.d.ts +2 -2
- package/dist/types/{body → rich-text}/src/standard.d.ts +4 -4
- package/dist/types/{body → rich-text}/src/types.d.ts +2 -2
- package/dist/types/schema/src/audience.d.ts +36 -0
- package/dist/types/schema/src/brand.d.ts +5 -0
- package/dist/types/schema/src/capabilities.d.ts +19 -0
- package/dist/types/{model → schema}/src/changes.d.ts +9 -7
- package/dist/types/{model → schema}/src/check.d.ts +2 -2
- package/dist/types/{model/src/model.d.ts → schema/src/collection.d.ts} +150 -121
- package/dist/types/schema/src/defaultSchema.d.ts +15 -0
- package/dist/types/schema/src/fieldIds.d.ts +18 -0
- package/dist/types/{model/src/asset.d.ts → schema/src/file.d.ts} +36 -25
- package/dist/types/schema/src/fileRefs.d.ts +14 -0
- package/dist/types/schema/src/fileSignature.d.ts +20 -0
- package/dist/types/schema/src/filesCollection.d.ts +7 -0
- package/dist/types/schema/src/forms.d.ts +43 -0
- package/dist/types/{model → schema}/src/image.d.ts +3 -3
- package/dist/types/schema/src/imageMetadata.d.ts +9 -0
- package/dist/types/schema/src/index.d.ts +35 -0
- package/dist/types/{model → schema}/src/input.d.ts +3 -3
- package/dist/types/{model → schema}/src/integrity.d.ts +9 -8
- package/dist/types/schema/src/kinds.d.ts +26 -0
- package/dist/types/{model → schema}/src/labels/en.d.ts +93 -51
- package/dist/types/{model → schema}/src/labels/ja.d.ts +97 -52
- package/dist/types/schema/src/mediaUrl.d.ts +60 -0
- package/dist/types/{model → schema}/src/page.d.ts +6 -6
- package/dist/types/{model → schema}/src/problems.d.ts +95 -53
- package/dist/types/{model → schema}/src/refs.d.ts +1 -10
- package/dist/types/{model → schema}/src/rules.d.ts +2 -2
- package/dist/types/{model → schema}/src/schema.d.ts +25 -20
- package/dist/types/schema/src/selfOps.d.ts +31 -0
- package/dist/types/{model/src/capabilities.d.ts → schema/src/traits.d.ts} +6 -6
- package/dist/types/schema/src/typesSource.d.ts +16 -0
- package/dist/types/{model → schema}/src/values.d.ts +7 -4
- package/dist/types/schema/src/widening.d.ts +3 -0
- package/dist/types/sdk/src/analytics.d.ts +3 -2
- package/dist/types/sdk/src/app.d.ts +70 -16
- package/dist/types/sdk/src/astro-image.d.ts +19 -0
- package/dist/types/sdk/src/astro-response.d.ts +6 -0
- package/dist/types/sdk/src/astro-server.d.ts +16 -0
- package/dist/types/sdk/src/astro.d.ts +19 -0
- package/dist/types/sdk/src/bridge.d.ts +13 -15
- package/dist/types/sdk/src/code.d.ts +61 -0
- package/dist/types/sdk/src/delegation.d.ts +49 -0
- package/dist/types/sdk/src/delivery/changes.d.ts +4 -4
- package/dist/types/sdk/src/delivery/client.d.ts +40 -28
- package/dist/types/sdk/src/delivery/fields.d.ts +5 -5
- package/dist/types/sdk/src/delivery/index.d.ts +3 -3
- package/dist/types/sdk/src/delivery/media.d.ts +8 -11
- package/dist/types/sdk/src/delivery/query.d.ts +16 -12
- package/dist/types/sdk/src/delivery/schema.d.ts +5 -5
- package/dist/types/sdk/src/delivery/values.d.ts +16 -20
- package/dist/types/sdk/src/delivery.d.ts +3 -3
- package/dist/types/sdk/src/dev-operations.d.ts +20 -0
- package/dist/types/sdk/src/dev.d.ts +6 -5
- package/dist/types/sdk/src/end-users.d.ts +190 -0
- package/dist/types/sdk/src/i18n.d.ts +11 -11
- package/dist/types/sdk/src/integrations.d.ts +20 -27
- package/dist/types/sdk/src/operations.d.ts +17 -0
- package/dist/types/sdk/src/preview.d.ts +2 -1
- package/dist/types/sdk/src/rich-text.d.ts +2 -0
- package/dist/types/sdk/src/schema.d.ts +5 -21
- package/dist/types/sdk/src/site/artifact.d.ts +64 -0
- package/dist/types/sdk/src/site/build-file.d.ts +30 -0
- package/dist/types/sdk/src/site/check-code.d.ts +14 -0
- package/dist/types/sdk/src/site/check-text.d.ts +19 -0
- package/dist/types/sdk/src/site/cli.d.ts +52 -0
- package/dist/types/sdk/src/site/content-type.d.ts +2 -0
- package/dist/types/sdk/src/site/labels.d.ts +14 -0
- package/dist/types/sdk/src/site.d.ts +1 -1
- package/dist/types/sdk/src/types.d.ts +21 -0
- package/dist/{schema-BPHL7Qr-.js → types-DkO2N7u2.js} +9 -9
- package/dist/types.d.ts +1 -0
- package/dist/types.js +1 -0
- package/dist/typesSource-VJIxtN9b.js +136 -0
- package/dist/workflow-CUpl6hO_.js +148 -0
- package/package.json +42 -16
- package/dist/apps-9u4XMi7E.js +0 -114
- package/dist/body.d.ts +0 -1
- package/dist/bridge-DYAYGV7t.js +0 -74
- package/dist/customers.d.ts +0 -1
- package/dist/customers.js +0 -185
- package/dist/embed-R-OvDYAw.js +0 -90
- package/dist/model-pmXzGX12.js +0 -152
- package/dist/model.d.ts +0 -1
- package/dist/model.js +0 -345
- package/dist/schema-UQJWRyfJ.js +0 -995
- package/dist/src-sazhzYui.js +0 -71
- package/dist/types/analytics/src/index.d.ts +0 -5
- package/dist/types/analytics/src/schedule.d.ts +0 -2
- package/dist/types/analytics/src/shared.d.ts +0 -21
- package/dist/types/analytics/src/source.d.ts +0 -19
- package/dist/types/analytics/src/store.d.ts +0 -24
- package/dist/types/cms-contract/src/app.d.ts +0 -35
- package/dist/types/cms-contract/src/apps.d.ts +0 -195
- package/dist/types/cms-contract/src/authorize.d.ts +0 -146
- package/dist/types/cms-contract/src/customers.d.ts +0 -266
- package/dist/types/cms-contract/src/embeds.d.ts +0 -165
- package/dist/types/cms-contract/src/errors.d.ts +0 -105
- package/dist/types/cms-contract/src/identifiers.d.ts +0 -117
- package/dist/types/cms-contract/src/paths.d.ts +0 -23
- package/dist/types/cms-contract/src/urlLabel.d.ts +0 -13
- package/dist/types/cms-contract/src/webhooks.d.ts +0 -139
- package/dist/types/model/src/audience.d.ts +0 -38
- package/dist/types/model/src/brand.d.ts +0 -25
- package/dist/types/model/src/index.d.ts +0 -26
- package/dist/types/model/src/legacy.d.ts +0 -2
- package/dist/types/model/src/media.d.ts +0 -5
- package/dist/types/model/src/mediaUrl.d.ts +0 -67
- package/dist/types/model/src/selfOps.d.ts +0 -30
- package/dist/types/model/src/typesSource.d.ts +0 -8
- package/dist/types/platform/src/defaultModel.d.ts +0 -8
- package/dist/types/sdk/src/body.d.ts +0 -2
- package/dist/types/sdk/src/customers.d.ts +0 -190
- package/dist/types/sdk/src/model.d.ts +0 -5
- package/dist/typesSource-bO0jFw1I.js +0 -88
- /package/dist/types/{cms-contract → contract}/src/appProblems.d.ts +0 -0
- /package/dist/types/{analytics → contract}/src/day.d.ts +0 -0
- /package/dist/types/{cms-contract → contract}/src/functionLabels.d.ts +0 -0
- /package/dist/types/{cms-contract → contract}/src/permissionLabels.d.ts +0 -0
- /package/dist/types/{cms-contract → contract}/src/siteArtifact.d.ts +0 -0
- /package/dist/types/{cms-contract → contract}/src/views.d.ts +0 -0
- /package/dist/types/{cms-contract → contract}/src/webhookLabels.d.ts +0 -0
- /package/dist/types/{body → rich-text}/src/components.d.ts +0 -0
- /package/dist/types/{body → rich-text}/src/derive.d.ts +0 -0
- /package/dist/types/{body → rich-text}/src/description.d.ts +0 -0
- /package/dist/types/{body → rich-text}/src/href.d.ts +0 -0
- /package/dist/types/{body → rich-text}/src/inline.d.ts +0 -0
- /package/dist/types/{body → rich-text}/src/markdown.d.ts +0 -0
- /package/dist/types/{model → schema}/src/contact.d.ts +0 -0
- /package/dist/types/{model → schema}/src/json.d.ts +0 -0
- /package/dist/types/{model → schema}/src/screens.d.ts +0 -0
- /package/dist/types/{model → schema}/src/time.d.ts +0 -0
|
@@ -0,0 +1,640 @@
|
|
|
1
|
+
/** Admin 画面の API の経路の頭(画面はこの外のパス) */
|
|
2
|
+
export declare const OPERATOR_API_PREFIX = "/api";
|
|
3
|
+
/** 確かめの段 */
|
|
4
|
+
export type OperatorLevel = 'read' | 'reversible' | 'heavy' | 'irreversible';
|
|
5
|
+
/** Admin 画面の画面 */
|
|
6
|
+
export type OperatorScreen = 'overview' | 'organizations' | 'organization' | 'projects' | 'project' | 'hosting' | 'apps' | 'support' | 'monitoring' | 'maintenance' | 'history' | 'account';
|
|
7
|
+
/** プロジェクトの詳細のタブ */
|
|
8
|
+
export type OperatorProjectTab = 'overview' | 'environments' | 'backups' | 'hosts' | 'access' | 'trial';
|
|
9
|
+
/** 表示の条件(trial はお試しのプロジェクトだけ、legacy は旧い形のプロジェクトだけ、notLive は本番以外の環境を選んでいるときだけ) */
|
|
10
|
+
export type OperatorWhen = 'trial' | 'legacy' | 'notLive';
|
|
11
|
+
/** 操作の行 */
|
|
12
|
+
export type OperatorOperation = Readonly<{
|
|
13
|
+
id: string;
|
|
14
|
+
cli?: string;
|
|
15
|
+
method?: 'GET' | 'POST';
|
|
16
|
+
path?: string;
|
|
17
|
+
level: OperatorLevel;
|
|
18
|
+
secret?: boolean;
|
|
19
|
+
place: Readonly<{
|
|
20
|
+
screen: OperatorScreen;
|
|
21
|
+
tab?: OperatorProjectTab;
|
|
22
|
+
}>;
|
|
23
|
+
when?: OperatorWhen;
|
|
24
|
+
/** 選んだ環境を ?environment= で渡す */
|
|
25
|
+
environment?: boolean;
|
|
26
|
+
/** 先にテスト実行(dryRun: true)を流し、結果を見てから実行する */
|
|
27
|
+
dryRun?: boolean;
|
|
28
|
+
available: boolean;
|
|
29
|
+
}>;
|
|
30
|
+
/** 操作の全部 */
|
|
31
|
+
export declare const OPERATOR_OPERATIONS: readonly [{
|
|
32
|
+
readonly id: "health";
|
|
33
|
+
readonly cli: "health";
|
|
34
|
+
readonly method: "GET";
|
|
35
|
+
readonly path: "/health";
|
|
36
|
+
readonly level: "read";
|
|
37
|
+
readonly place: {
|
|
38
|
+
readonly screen: "monitoring";
|
|
39
|
+
};
|
|
40
|
+
readonly available: true;
|
|
41
|
+
}, {
|
|
42
|
+
readonly id: "secrets";
|
|
43
|
+
readonly cli: "secrets";
|
|
44
|
+
readonly method: "GET";
|
|
45
|
+
readonly path: "/secrets";
|
|
46
|
+
readonly level: "read";
|
|
47
|
+
readonly place: {
|
|
48
|
+
readonly screen: "maintenance";
|
|
49
|
+
};
|
|
50
|
+
readonly available: true;
|
|
51
|
+
}, {
|
|
52
|
+
readonly id: "migrate";
|
|
53
|
+
readonly cli: "migrate";
|
|
54
|
+
readonly method: "POST";
|
|
55
|
+
readonly path: "/migrate";
|
|
56
|
+
readonly level: "reversible";
|
|
57
|
+
readonly place: {
|
|
58
|
+
readonly screen: "maintenance";
|
|
59
|
+
};
|
|
60
|
+
readonly available: true;
|
|
61
|
+
}, {
|
|
62
|
+
readonly id: "session";
|
|
63
|
+
readonly cli: "session";
|
|
64
|
+
readonly method: "GET";
|
|
65
|
+
readonly path: "/session";
|
|
66
|
+
readonly level: "read";
|
|
67
|
+
readonly place: {
|
|
68
|
+
readonly screen: "account";
|
|
69
|
+
};
|
|
70
|
+
readonly available: true;
|
|
71
|
+
}, {
|
|
72
|
+
readonly id: "paused";
|
|
73
|
+
readonly cli: "paused";
|
|
74
|
+
readonly method: "GET";
|
|
75
|
+
readonly path: "/paused";
|
|
76
|
+
readonly level: "read";
|
|
77
|
+
readonly place: {
|
|
78
|
+
readonly screen: "maintenance";
|
|
79
|
+
};
|
|
80
|
+
readonly available: true;
|
|
81
|
+
}, {
|
|
82
|
+
readonly id: "pause";
|
|
83
|
+
readonly cli: "pause";
|
|
84
|
+
readonly method: "POST";
|
|
85
|
+
readonly path: "/pause";
|
|
86
|
+
readonly level: "heavy";
|
|
87
|
+
readonly place: {
|
|
88
|
+
readonly screen: "maintenance";
|
|
89
|
+
};
|
|
90
|
+
readonly available: true;
|
|
91
|
+
}, {
|
|
92
|
+
readonly id: "resume";
|
|
93
|
+
readonly cli: "resume";
|
|
94
|
+
readonly method: "POST";
|
|
95
|
+
readonly path: "/resume";
|
|
96
|
+
readonly level: "reversible";
|
|
97
|
+
readonly place: {
|
|
98
|
+
readonly screen: "maintenance";
|
|
99
|
+
};
|
|
100
|
+
readonly available: true;
|
|
101
|
+
}, {
|
|
102
|
+
readonly id: "projects";
|
|
103
|
+
readonly cli: "projects";
|
|
104
|
+
readonly method: "GET";
|
|
105
|
+
readonly path: "/projects";
|
|
106
|
+
readonly level: "read";
|
|
107
|
+
readonly place: {
|
|
108
|
+
readonly screen: "projects";
|
|
109
|
+
};
|
|
110
|
+
readonly available: true;
|
|
111
|
+
}, {
|
|
112
|
+
readonly id: "create";
|
|
113
|
+
readonly cli: "create";
|
|
114
|
+
readonly method: "POST";
|
|
115
|
+
readonly path: "/projects";
|
|
116
|
+
readonly level: "reversible";
|
|
117
|
+
readonly place: {
|
|
118
|
+
readonly screen: "projects";
|
|
119
|
+
};
|
|
120
|
+
readonly available: true;
|
|
121
|
+
}, {
|
|
122
|
+
readonly id: "hosting";
|
|
123
|
+
readonly cli: "hosting";
|
|
124
|
+
readonly method: "POST";
|
|
125
|
+
readonly path: "/hosting";
|
|
126
|
+
readonly level: "heavy";
|
|
127
|
+
readonly place: {
|
|
128
|
+
readonly screen: "hosting";
|
|
129
|
+
};
|
|
130
|
+
readonly available: true;
|
|
131
|
+
}, {
|
|
132
|
+
readonly id: "history";
|
|
133
|
+
readonly cli: "history";
|
|
134
|
+
readonly method: "GET";
|
|
135
|
+
readonly path: "/history";
|
|
136
|
+
readonly level: "read";
|
|
137
|
+
readonly place: {
|
|
138
|
+
readonly screen: "history";
|
|
139
|
+
};
|
|
140
|
+
readonly available: true;
|
|
141
|
+
}, {
|
|
142
|
+
readonly id: "standard-apps";
|
|
143
|
+
readonly cli: "standard-apps";
|
|
144
|
+
readonly method: "GET";
|
|
145
|
+
readonly path: "/standard-apps";
|
|
146
|
+
readonly level: "read";
|
|
147
|
+
readonly place: {
|
|
148
|
+
readonly screen: "apps";
|
|
149
|
+
};
|
|
150
|
+
readonly available: true;
|
|
151
|
+
}, {
|
|
152
|
+
readonly id: "standard-app-set";
|
|
153
|
+
readonly cli: "standard-app-set";
|
|
154
|
+
readonly method: "POST";
|
|
155
|
+
readonly path: "/standard-apps/{app}";
|
|
156
|
+
readonly level: "heavy";
|
|
157
|
+
readonly place: {
|
|
158
|
+
readonly screen: "apps";
|
|
159
|
+
};
|
|
160
|
+
readonly available: true;
|
|
161
|
+
}, {
|
|
162
|
+
readonly id: "standard-app-remove";
|
|
163
|
+
readonly cli: "standard-app-remove";
|
|
164
|
+
readonly method: "POST";
|
|
165
|
+
readonly path: "/standard-apps/{app}/remove";
|
|
166
|
+
readonly level: "heavy";
|
|
167
|
+
readonly place: {
|
|
168
|
+
readonly screen: "apps";
|
|
169
|
+
};
|
|
170
|
+
readonly available: true;
|
|
171
|
+
}, {
|
|
172
|
+
readonly id: "apps";
|
|
173
|
+
readonly cli: "apps";
|
|
174
|
+
readonly method: "GET";
|
|
175
|
+
readonly path: "/apps";
|
|
176
|
+
readonly level: "read";
|
|
177
|
+
readonly place: {
|
|
178
|
+
readonly screen: "apps";
|
|
179
|
+
};
|
|
180
|
+
readonly available: true;
|
|
181
|
+
}, {
|
|
182
|
+
readonly id: "app-register";
|
|
183
|
+
readonly cli: "app-register";
|
|
184
|
+
readonly method: "POST";
|
|
185
|
+
readonly path: "/apps/{app}";
|
|
186
|
+
readonly level: "heavy";
|
|
187
|
+
readonly place: {
|
|
188
|
+
readonly screen: "apps";
|
|
189
|
+
};
|
|
190
|
+
readonly available: true;
|
|
191
|
+
}, {
|
|
192
|
+
readonly id: "app-publish";
|
|
193
|
+
readonly cli: "app-publish";
|
|
194
|
+
readonly method: "POST";
|
|
195
|
+
readonly path: "/apps/{app}/versions";
|
|
196
|
+
readonly level: "heavy";
|
|
197
|
+
readonly place: {
|
|
198
|
+
readonly screen: "apps";
|
|
199
|
+
};
|
|
200
|
+
readonly available: true;
|
|
201
|
+
}, {
|
|
202
|
+
readonly id: "app-keys";
|
|
203
|
+
readonly cli: "app-keys";
|
|
204
|
+
readonly method: "POST";
|
|
205
|
+
readonly path: "/apps/{app}/keys";
|
|
206
|
+
readonly level: "heavy";
|
|
207
|
+
readonly place: {
|
|
208
|
+
readonly screen: "apps";
|
|
209
|
+
};
|
|
210
|
+
readonly available: true;
|
|
211
|
+
}, {
|
|
212
|
+
readonly id: "registry-backups";
|
|
213
|
+
readonly cli: "backups";
|
|
214
|
+
readonly method: "GET";
|
|
215
|
+
readonly path: "/backups?registry";
|
|
216
|
+
readonly level: "read";
|
|
217
|
+
readonly place: {
|
|
218
|
+
readonly screen: "maintenance";
|
|
219
|
+
};
|
|
220
|
+
readonly available: true;
|
|
221
|
+
}, {
|
|
222
|
+
readonly id: "registry-backup";
|
|
223
|
+
readonly cli: "backup";
|
|
224
|
+
readonly method: "POST";
|
|
225
|
+
readonly path: "/backups/registry";
|
|
226
|
+
readonly level: "reversible";
|
|
227
|
+
readonly place: {
|
|
228
|
+
readonly screen: "maintenance";
|
|
229
|
+
};
|
|
230
|
+
readonly available: true;
|
|
231
|
+
}, {
|
|
232
|
+
readonly id: "registry-download";
|
|
233
|
+
readonly cli: "backup:download";
|
|
234
|
+
readonly method: "GET";
|
|
235
|
+
readonly path: "/backups/download?registry";
|
|
236
|
+
readonly level: "read";
|
|
237
|
+
readonly place: {
|
|
238
|
+
readonly screen: "maintenance";
|
|
239
|
+
};
|
|
240
|
+
readonly available: true;
|
|
241
|
+
}, {
|
|
242
|
+
readonly id: "project";
|
|
243
|
+
readonly cli: "project";
|
|
244
|
+
readonly method: "GET";
|
|
245
|
+
readonly path: "/projects/{project}";
|
|
246
|
+
readonly level: "read";
|
|
247
|
+
readonly place: {
|
|
248
|
+
readonly screen: "project";
|
|
249
|
+
readonly tab: OperatorProjectTab;
|
|
250
|
+
};
|
|
251
|
+
readonly available: true;
|
|
252
|
+
}, {
|
|
253
|
+
readonly id: "sites";
|
|
254
|
+
readonly method: "GET";
|
|
255
|
+
readonly path: "/projects/{project}/sites";
|
|
256
|
+
readonly level: "read";
|
|
257
|
+
readonly place: {
|
|
258
|
+
readonly screen: "project";
|
|
259
|
+
readonly tab: OperatorProjectTab;
|
|
260
|
+
};
|
|
261
|
+
readonly available: true;
|
|
262
|
+
}, {
|
|
263
|
+
readonly id: "project-history";
|
|
264
|
+
readonly cli: "history";
|
|
265
|
+
readonly method: "GET";
|
|
266
|
+
readonly path: "/history?project={project}";
|
|
267
|
+
readonly level: "read";
|
|
268
|
+
readonly place: {
|
|
269
|
+
readonly screen: "project";
|
|
270
|
+
readonly tab: OperatorProjectTab;
|
|
271
|
+
};
|
|
272
|
+
readonly available: true;
|
|
273
|
+
}, {
|
|
274
|
+
readonly id: "delete-project";
|
|
275
|
+
readonly cli: "delete-project";
|
|
276
|
+
readonly method: "POST";
|
|
277
|
+
readonly path: "/projects/{project}/delete-project";
|
|
278
|
+
readonly level: "irreversible";
|
|
279
|
+
readonly place: {
|
|
280
|
+
readonly screen: "project";
|
|
281
|
+
readonly tab: OperatorProjectTab;
|
|
282
|
+
};
|
|
283
|
+
readonly available: true;
|
|
284
|
+
}, {
|
|
285
|
+
readonly id: "delete-trial";
|
|
286
|
+
readonly cli: "delete-trial";
|
|
287
|
+
readonly method: "POST";
|
|
288
|
+
readonly path: "/projects/{project}/delete-trial";
|
|
289
|
+
readonly level: "irreversible";
|
|
290
|
+
readonly place: {
|
|
291
|
+
readonly screen: "project";
|
|
292
|
+
readonly tab: OperatorProjectTab;
|
|
293
|
+
};
|
|
294
|
+
readonly when: "trial";
|
|
295
|
+
readonly available: true;
|
|
296
|
+
}, {
|
|
297
|
+
readonly id: "create-env";
|
|
298
|
+
readonly cli: "create-env";
|
|
299
|
+
readonly method: "POST";
|
|
300
|
+
readonly path: "/projects/{project}/environments";
|
|
301
|
+
readonly level: "reversible";
|
|
302
|
+
readonly place: {
|
|
303
|
+
readonly screen: "project";
|
|
304
|
+
readonly tab: OperatorProjectTab;
|
|
305
|
+
};
|
|
306
|
+
readonly available: true;
|
|
307
|
+
}, {
|
|
308
|
+
readonly id: "copy-env";
|
|
309
|
+
readonly cli: "copy-env";
|
|
310
|
+
readonly method: "POST";
|
|
311
|
+
readonly path: "/projects/{project}/copy-environment";
|
|
312
|
+
readonly level: "heavy";
|
|
313
|
+
readonly place: {
|
|
314
|
+
readonly screen: "project";
|
|
315
|
+
readonly tab: OperatorProjectTab;
|
|
316
|
+
};
|
|
317
|
+
readonly available: true;
|
|
318
|
+
}, {
|
|
319
|
+
readonly id: "delete-env";
|
|
320
|
+
readonly cli: "delete-env";
|
|
321
|
+
readonly method: "POST";
|
|
322
|
+
readonly path: "/projects/{project}/delete-environment";
|
|
323
|
+
readonly level: "irreversible";
|
|
324
|
+
readonly place: {
|
|
325
|
+
readonly screen: "project";
|
|
326
|
+
readonly tab: OperatorProjectTab;
|
|
327
|
+
};
|
|
328
|
+
readonly when: "notLive";
|
|
329
|
+
readonly available: true;
|
|
330
|
+
}, {
|
|
331
|
+
readonly id: "freeze";
|
|
332
|
+
readonly cli: "freeze";
|
|
333
|
+
readonly method: "POST";
|
|
334
|
+
readonly path: "/projects/{project}/freeze";
|
|
335
|
+
readonly level: "heavy";
|
|
336
|
+
readonly place: {
|
|
337
|
+
readonly screen: "project";
|
|
338
|
+
readonly tab: OperatorProjectTab;
|
|
339
|
+
};
|
|
340
|
+
readonly available: true;
|
|
341
|
+
}, {
|
|
342
|
+
readonly id: "unfreeze";
|
|
343
|
+
readonly cli: "unfreeze";
|
|
344
|
+
readonly method: "POST";
|
|
345
|
+
readonly path: "/projects/{project}/unfreeze";
|
|
346
|
+
readonly level: "reversible";
|
|
347
|
+
readonly place: {
|
|
348
|
+
readonly screen: "project";
|
|
349
|
+
readonly tab: OperatorProjectTab;
|
|
350
|
+
};
|
|
351
|
+
readonly available: true;
|
|
352
|
+
}, {
|
|
353
|
+
readonly id: "promote-plan";
|
|
354
|
+
readonly cli: "promote-plan";
|
|
355
|
+
readonly method: "POST";
|
|
356
|
+
readonly path: "/projects/{project}/promote-plan";
|
|
357
|
+
readonly level: "read";
|
|
358
|
+
readonly place: {
|
|
359
|
+
readonly screen: "project";
|
|
360
|
+
readonly tab: OperatorProjectTab;
|
|
361
|
+
};
|
|
362
|
+
readonly when: "notLive";
|
|
363
|
+
readonly available: true;
|
|
364
|
+
}, {
|
|
365
|
+
readonly id: "promote-commit";
|
|
366
|
+
readonly cli: "promote-commit";
|
|
367
|
+
readonly method: "POST";
|
|
368
|
+
readonly path: "/projects/{project}/promote-commit";
|
|
369
|
+
readonly level: "heavy";
|
|
370
|
+
readonly place: {
|
|
371
|
+
readonly screen: "project";
|
|
372
|
+
readonly tab: OperatorProjectTab;
|
|
373
|
+
};
|
|
374
|
+
readonly when: "notLive";
|
|
375
|
+
readonly available: true;
|
|
376
|
+
}, {
|
|
377
|
+
readonly id: "prune";
|
|
378
|
+
readonly cli: "prune";
|
|
379
|
+
readonly method: "POST";
|
|
380
|
+
readonly path: "/projects/{project}/prune";
|
|
381
|
+
readonly level: "irreversible";
|
|
382
|
+
readonly place: {
|
|
383
|
+
readonly screen: "project";
|
|
384
|
+
readonly tab: OperatorProjectTab;
|
|
385
|
+
};
|
|
386
|
+
readonly environment: true;
|
|
387
|
+
readonly dryRun: true;
|
|
388
|
+
readonly available: true;
|
|
389
|
+
}, {
|
|
390
|
+
readonly id: "backups";
|
|
391
|
+
readonly cli: "backups";
|
|
392
|
+
readonly method: "GET";
|
|
393
|
+
readonly path: "/backups?project={project}";
|
|
394
|
+
readonly level: "read";
|
|
395
|
+
readonly place: {
|
|
396
|
+
readonly screen: "project";
|
|
397
|
+
readonly tab: OperatorProjectTab;
|
|
398
|
+
};
|
|
399
|
+
readonly environment: true;
|
|
400
|
+
readonly available: true;
|
|
401
|
+
}, {
|
|
402
|
+
readonly id: "download";
|
|
403
|
+
readonly cli: "backup:download";
|
|
404
|
+
readonly method: "GET";
|
|
405
|
+
readonly path: "/backups/download?project={project}";
|
|
406
|
+
readonly level: "read";
|
|
407
|
+
readonly place: {
|
|
408
|
+
readonly screen: "project";
|
|
409
|
+
readonly tab: OperatorProjectTab;
|
|
410
|
+
};
|
|
411
|
+
readonly environment: true;
|
|
412
|
+
readonly available: true;
|
|
413
|
+
}, {
|
|
414
|
+
readonly id: "backup";
|
|
415
|
+
readonly cli: "backup";
|
|
416
|
+
readonly method: "POST";
|
|
417
|
+
readonly path: "/projects/{project}/backup";
|
|
418
|
+
readonly level: "reversible";
|
|
419
|
+
readonly place: {
|
|
420
|
+
readonly screen: "project";
|
|
421
|
+
readonly tab: OperatorProjectTab;
|
|
422
|
+
};
|
|
423
|
+
readonly environment: true;
|
|
424
|
+
readonly available: true;
|
|
425
|
+
}, {
|
|
426
|
+
readonly id: "restore";
|
|
427
|
+
readonly cli: "restore";
|
|
428
|
+
readonly method: "POST";
|
|
429
|
+
readonly path: "/projects/{project}/restore";
|
|
430
|
+
readonly level: "irreversible";
|
|
431
|
+
readonly place: {
|
|
432
|
+
readonly screen: "project";
|
|
433
|
+
readonly tab: OperatorProjectTab;
|
|
434
|
+
};
|
|
435
|
+
readonly environment: true;
|
|
436
|
+
readonly dryRun: true;
|
|
437
|
+
readonly available: true;
|
|
438
|
+
}, {
|
|
439
|
+
readonly id: "import";
|
|
440
|
+
readonly cli: "import";
|
|
441
|
+
readonly method: "POST";
|
|
442
|
+
readonly path: "/projects/{project}/import";
|
|
443
|
+
readonly level: "irreversible";
|
|
444
|
+
readonly place: {
|
|
445
|
+
readonly screen: "project";
|
|
446
|
+
readonly tab: OperatorProjectTab;
|
|
447
|
+
};
|
|
448
|
+
readonly environment: true;
|
|
449
|
+
readonly dryRun: true;
|
|
450
|
+
readonly available: true;
|
|
451
|
+
}, {
|
|
452
|
+
readonly id: "switch-host";
|
|
453
|
+
readonly cli: "switch-host";
|
|
454
|
+
readonly method: "POST";
|
|
455
|
+
readonly path: "/projects/{project}/hosts";
|
|
456
|
+
readonly level: "heavy";
|
|
457
|
+
readonly place: {
|
|
458
|
+
readonly screen: "project";
|
|
459
|
+
readonly tab: OperatorProjectTab;
|
|
460
|
+
};
|
|
461
|
+
readonly available: true;
|
|
462
|
+
}, {
|
|
463
|
+
readonly id: "set-host";
|
|
464
|
+
readonly cli: "set-host";
|
|
465
|
+
readonly method: "POST";
|
|
466
|
+
readonly path: "/projects/{project}/hosts";
|
|
467
|
+
readonly level: "heavy";
|
|
468
|
+
readonly place: {
|
|
469
|
+
readonly screen: "project";
|
|
470
|
+
readonly tab: OperatorProjectTab;
|
|
471
|
+
};
|
|
472
|
+
readonly available: true;
|
|
473
|
+
}, {
|
|
474
|
+
readonly id: "remove-alias";
|
|
475
|
+
readonly cli: "remove-alias";
|
|
476
|
+
readonly method: "POST";
|
|
477
|
+
readonly path: "/projects/{project}/hosts";
|
|
478
|
+
readonly level: "heavy";
|
|
479
|
+
readonly place: {
|
|
480
|
+
readonly screen: "project";
|
|
481
|
+
readonly tab: OperatorProjectTab;
|
|
482
|
+
};
|
|
483
|
+
readonly available: true;
|
|
484
|
+
}, {
|
|
485
|
+
readonly id: "emergency";
|
|
486
|
+
readonly cli: "emergency";
|
|
487
|
+
readonly method: "POST";
|
|
488
|
+
readonly path: "/projects/{project}/emergency";
|
|
489
|
+
readonly level: "heavy";
|
|
490
|
+
readonly place: {
|
|
491
|
+
readonly screen: "project";
|
|
492
|
+
readonly tab: OperatorProjectTab;
|
|
493
|
+
};
|
|
494
|
+
readonly available: true;
|
|
495
|
+
}, {
|
|
496
|
+
readonly id: "revoke-grants";
|
|
497
|
+
readonly cli: "revoke-grants";
|
|
498
|
+
readonly method: "POST";
|
|
499
|
+
readonly path: "/projects/{project}/revoke-grants";
|
|
500
|
+
readonly level: "reversible";
|
|
501
|
+
readonly place: {
|
|
502
|
+
readonly screen: "project";
|
|
503
|
+
readonly tab: OperatorProjectTab;
|
|
504
|
+
};
|
|
505
|
+
readonly environment: true;
|
|
506
|
+
readonly available: true;
|
|
507
|
+
}, {
|
|
508
|
+
readonly id: "api-key-create";
|
|
509
|
+
readonly cli: "api-key-create";
|
|
510
|
+
readonly method: "POST";
|
|
511
|
+
readonly path: "/projects/{project}/api-key-create";
|
|
512
|
+
readonly level: "heavy";
|
|
513
|
+
readonly secret: true;
|
|
514
|
+
readonly place: {
|
|
515
|
+
readonly screen: "project";
|
|
516
|
+
readonly tab: OperatorProjectTab;
|
|
517
|
+
};
|
|
518
|
+
readonly available: true;
|
|
519
|
+
}, {
|
|
520
|
+
readonly id: "test-integration";
|
|
521
|
+
readonly cli: "test-integration";
|
|
522
|
+
readonly method: "POST";
|
|
523
|
+
readonly path: "/projects/{project}/integrations/{registration}/test";
|
|
524
|
+
readonly level: "reversible";
|
|
525
|
+
readonly place: {
|
|
526
|
+
readonly screen: "project";
|
|
527
|
+
readonly tab: OperatorProjectTab;
|
|
528
|
+
};
|
|
529
|
+
readonly available: true;
|
|
530
|
+
}, {
|
|
531
|
+
readonly id: "trial-session";
|
|
532
|
+
readonly cli: "trial-session";
|
|
533
|
+
readonly method: "POST";
|
|
534
|
+
readonly path: "/projects/{project}/trial-session";
|
|
535
|
+
readonly level: "reversible";
|
|
536
|
+
readonly secret: true;
|
|
537
|
+
readonly place: {
|
|
538
|
+
readonly screen: "project";
|
|
539
|
+
readonly tab: OperatorProjectTab;
|
|
540
|
+
};
|
|
541
|
+
readonly when: "trial";
|
|
542
|
+
readonly environment: true;
|
|
543
|
+
readonly available: true;
|
|
544
|
+
}, {
|
|
545
|
+
readonly id: "organization-create";
|
|
546
|
+
readonly level: "reversible";
|
|
547
|
+
readonly place: {
|
|
548
|
+
readonly screen: "organizations";
|
|
549
|
+
};
|
|
550
|
+
readonly available: false;
|
|
551
|
+
}, {
|
|
552
|
+
readonly id: "organization-approve";
|
|
553
|
+
readonly level: "reversible";
|
|
554
|
+
readonly place: {
|
|
555
|
+
readonly screen: "organizations";
|
|
556
|
+
};
|
|
557
|
+
readonly available: false;
|
|
558
|
+
}, {
|
|
559
|
+
readonly id: "organization-reject";
|
|
560
|
+
readonly level: "reversible";
|
|
561
|
+
readonly place: {
|
|
562
|
+
readonly screen: "organizations";
|
|
563
|
+
};
|
|
564
|
+
readonly available: false;
|
|
565
|
+
}, {
|
|
566
|
+
readonly id: "organization-suspend";
|
|
567
|
+
readonly level: "heavy";
|
|
568
|
+
readonly place: {
|
|
569
|
+
readonly screen: "organization";
|
|
570
|
+
};
|
|
571
|
+
readonly available: false;
|
|
572
|
+
}, {
|
|
573
|
+
readonly id: "account-search";
|
|
574
|
+
readonly level: "read";
|
|
575
|
+
readonly place: {
|
|
576
|
+
readonly screen: "overview";
|
|
577
|
+
};
|
|
578
|
+
readonly available: false;
|
|
579
|
+
}, {
|
|
580
|
+
readonly id: "app-verify";
|
|
581
|
+
readonly level: "reversible";
|
|
582
|
+
readonly place: {
|
|
583
|
+
readonly screen: "apps";
|
|
584
|
+
};
|
|
585
|
+
readonly available: false;
|
|
586
|
+
}, {
|
|
587
|
+
readonly id: "app-unverify";
|
|
588
|
+
readonly level: "reversible";
|
|
589
|
+
readonly place: {
|
|
590
|
+
readonly screen: "apps";
|
|
591
|
+
};
|
|
592
|
+
readonly available: false;
|
|
593
|
+
}, {
|
|
594
|
+
readonly id: "app-suspend";
|
|
595
|
+
readonly level: "heavy";
|
|
596
|
+
readonly place: {
|
|
597
|
+
readonly screen: "apps";
|
|
598
|
+
};
|
|
599
|
+
readonly available: false;
|
|
600
|
+
}, {
|
|
601
|
+
readonly id: "feature-flags";
|
|
602
|
+
readonly level: "reversible";
|
|
603
|
+
readonly place: {
|
|
604
|
+
readonly screen: "maintenance";
|
|
605
|
+
};
|
|
606
|
+
readonly available: false;
|
|
607
|
+
}, {
|
|
608
|
+
readonly id: "history-export";
|
|
609
|
+
readonly level: "read";
|
|
610
|
+
readonly place: {
|
|
611
|
+
readonly screen: "history";
|
|
612
|
+
};
|
|
613
|
+
readonly available: false;
|
|
614
|
+
}];
|
|
615
|
+
/** 操作の ID */
|
|
616
|
+
export type OperatorOperationId = (typeof OPERATOR_OPERATIONS)[number]['id'];
|
|
617
|
+
/** 本文に固定で足す値(ホスト名の操作の mode) */
|
|
618
|
+
export declare const OPERATOR_FIXED_BODY: Readonly<Partial<Record<OperatorOperationId, Readonly<Record<string, unknown>>>>>;
|
|
619
|
+
/** ホスティングするサイトの操作の段(purge はサイトの削除、stop と reattach は直近のログイン、ほかは確かめない) */
|
|
620
|
+
export declare const HOSTING_LEVELS: {
|
|
621
|
+
readonly stop: "heavy";
|
|
622
|
+
readonly resume: "reversible";
|
|
623
|
+
readonly reattach: "heavy";
|
|
624
|
+
readonly purge: "irreversible";
|
|
625
|
+
readonly hostname_request: "reversible";
|
|
626
|
+
readonly hostname_verify: "reversible";
|
|
627
|
+
readonly hostname_status: "read";
|
|
628
|
+
readonly hostname_remove: "heavy";
|
|
629
|
+
readonly trial_hostname: "reversible";
|
|
630
|
+
readonly ack: "read";
|
|
631
|
+
};
|
|
632
|
+
/** ID の操作 */
|
|
633
|
+
export declare const operatorOperation: (id: OperatorOperationId) => OperatorOperation;
|
|
634
|
+
/** 直近のログインを確かめる段か */
|
|
635
|
+
export declare const needsRecentLogin: (level: OperatorLevel) => boolean;
|
|
636
|
+
/**
|
|
637
|
+
* 変更の要求(POST、/api を外したパス)の段(表にない経路は null)
|
|
638
|
+
* - 同じ経路の操作(ホスト名の3つ)は同じ段。hosting は本文の action ごと(不明な action は heavy)
|
|
639
|
+
*/
|
|
640
|
+
export declare function levelOfRequest(pathname: string, body: Readonly<Record<string, unknown>> | null): OperatorLevel | null;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/** 許可の種類(grant は管理者の許可、emergency は管理者のいないプロジェクトの非常の手順) */
|
|
2
|
+
export declare const SUPPORT_ACCESS_KINDS: readonly ["grant", "emergency"];
|
|
3
|
+
/** 許可の種類 */
|
|
4
|
+
export type SupportAccessKind = (typeof SUPPORT_ACCESS_KINDS)[number];
|
|
5
|
+
/** 許可の操作の範囲(read は閲覧だけ、admin は管理者と同じ。どちらも期限の後に残る入口は作れない) */
|
|
6
|
+
export declare const SUPPORT_ACCESS_SCOPES: readonly ["read", "admin"];
|
|
7
|
+
/** 許可の操作の範囲 */
|
|
8
|
+
export type SupportAccessScope = (typeof SUPPORT_ACCESS_SCOPES)[number];
|
|
9
|
+
/**
|
|
10
|
+
* 許可の値の範囲
|
|
11
|
+
* - maxDays: 期限の最長の日数、purposeMax: 目的の文字数
|
|
12
|
+
* - emergencyDelayHours: 非常の手順が効くまでの時間、emergencyDays: 非常の手順の期限の日数
|
|
13
|
+
*/
|
|
14
|
+
export declare const SUPPORT_ACCESS_LIMITS: {
|
|
15
|
+
readonly maxDays: 7;
|
|
16
|
+
readonly purposeMax: 200;
|
|
17
|
+
readonly emergencyDelayHours: 24;
|
|
18
|
+
readonly emergencyDays: 1;
|
|
19
|
+
};
|
|
20
|
+
/** 許可(active は今効いているか) */
|
|
21
|
+
export type SupportAccess = Readonly<{
|
|
22
|
+
id: string;
|
|
23
|
+
operatorEmail: string;
|
|
24
|
+
purpose: string;
|
|
25
|
+
kind: SupportAccessKind;
|
|
26
|
+
scope: SupportAccessScope;
|
|
27
|
+
grantedBy: string;
|
|
28
|
+
createdAt: string;
|
|
29
|
+
startsAt: string;
|
|
30
|
+
expiresAt: string;
|
|
31
|
+
revokedAt: string | null;
|
|
32
|
+
active: boolean;
|
|
33
|
+
}>;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/** 外への要求のメソッド */
|
|
2
|
+
export declare const APP_OUTBOUND_METHODS: readonly ["GET", "HEAD", "POST", "PUT", "PATCH", "DELETE"];
|
|
3
|
+
export type AppOutboundMethod = (typeof APP_OUTBOUND_METHODS)[number];
|
|
4
|
+
/**
|
|
5
|
+
* 外への要求に秘密値を載せる指定
|
|
6
|
+
* - secret: アプリの秘密値のキー、header: 載せるヘッダーの名前(小文字)、scheme: 値の前に空白で付ける語(Bearer など)
|
|
7
|
+
*/
|
|
8
|
+
export type AppOutboundAuth = Readonly<{
|
|
9
|
+
secret: string;
|
|
10
|
+
header: string;
|
|
11
|
+
scheme?: string;
|
|
12
|
+
}>;
|
|
13
|
+
/** 外への要求の宣言(origin は https のオリジン、path は / から始まる経路の前方一致) */
|
|
14
|
+
export type AppOutbound = Readonly<{
|
|
15
|
+
origin: string;
|
|
16
|
+
method: AppOutboundMethod;
|
|
17
|
+
path: string;
|
|
18
|
+
auth?: AppOutboundAuth;
|
|
19
|
+
}>;
|
|
20
|
+
/** 宣言の上限(経路の字数) */
|
|
21
|
+
export declare const APP_OUTBOUND_LIMITS: {
|
|
22
|
+
readonly pathMaxChars: 200;
|
|
23
|
+
};
|
|
24
|
+
/** 宣言の1件の誤りの箇所(なければ null) */
|
|
25
|
+
export declare function outboundProblem(input: unknown): string | null;
|
|
26
|
+
/** 宣言の能力の要素 */
|
|
27
|
+
export declare const outboundCapabilityOf: (o: AppOutbound) => string;
|
|
28
|
+
/** 要求に当たる宣言(https でポートの指定なし、資格を含まない URL だけ。なければ null) */
|
|
29
|
+
export declare function outboundFor(declared: readonly AppOutbound[], method: string, url: URL): AppOutbound | null;
|