@distilled.cloud/planetscale 0.19.1 → 0.20.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/lib/credentials.d.ts +1 -1
- package/lib/credentials.d.ts.map +1 -1
- package/lib/credentials.js +2 -2
- package/lib/credentials.js.map +1 -1
- package/lib/operations/addOrganizationTeamMember.d.ts +53 -53
- package/lib/operations/cancelBouncerResizeRequest.d.ts +3 -3
- package/lib/operations/cancelBranchChangeRequest.d.ts +2 -2
- package/lib/operations/cancelDeployRequest.d.ts +92 -92
- package/lib/operations/checkDeployRequestStorage.d.ts +5 -5
- package/lib/operations/closeDeployRequest.d.ts +92 -92
- package/lib/operations/completeErroredDeploy.d.ts +92 -92
- package/lib/operations/completeGatedDeployRequest.d.ts +92 -92
- package/lib/operations/completeRevert.d.ts +92 -92
- package/lib/operations/createBackup.d.ts +42 -42
- package/lib/operations/createBackupPolicy.d.ts +16 -16
- package/lib/operations/createBouncer.d.ts +38 -38
- package/lib/operations/createBranch.d.ts +43 -43
- package/lib/operations/createDatabase.d.ts +47 -47
- package/lib/operations/createDatabasePostgresCidr.d.ts +12 -12
- package/lib/operations/createDeployRequest.d.ts +95 -95
- package/lib/operations/createKeyspace.d.ts +21 -21
- package/lib/operations/createOauthToken.d.ts +48 -48
- package/lib/operations/createOrganizationTeam.d.ts +22 -22
- package/lib/operations/createPassword.d.ts +34 -34
- package/lib/operations/createQueryPatternsReport.d.ts +10 -10
- package/lib/operations/createRole.d.ts +28 -28
- package/lib/operations/createServiceToken.d.ts +46 -46
- package/lib/operations/createTrafficBudget.d.ts +29 -29
- package/lib/operations/createTrafficRule.d.ts +15 -15
- package/lib/operations/createWebhook.d.ts +8 -8
- package/lib/operations/createWorkflow.d.ts +75 -75
- package/lib/operations/deleteBackup.d.ts +2 -2
- package/lib/operations/deleteBackupPolicy.d.ts +1 -1
- package/lib/operations/deleteBouncer.d.ts +3 -3
- package/lib/operations/deleteBranch.d.ts +2 -2
- package/lib/operations/deleteDatabase.d.ts +1 -1
- package/lib/operations/deleteDatabasePostgresCidr.d.ts +1 -1
- package/lib/operations/deleteKeyspace.d.ts +2 -2
- package/lib/operations/deleteOauthToken.d.ts +1 -1
- package/lib/operations/deletePassword.d.ts +2 -2
- package/lib/operations/deleteQueryPatternsReport.d.ts +2 -2
- package/lib/operations/deleteRole.d.ts +2 -2
- package/lib/operations/deleteServiceToken.d.ts +1 -1
- package/lib/operations/deleteTrafficBudget.d.ts +2 -2
- package/lib/operations/deleteTrafficRule.d.ts +2 -2
- package/lib/operations/deleteWebhook.d.ts +1 -1
- package/lib/operations/demoteBranch.d.ts +40 -40
- package/lib/operations/disableSafeMigrations.d.ts +40 -40
- package/lib/operations/dismissSchemaRecommendation.d.ts +16 -16
- package/lib/operations/enableSafeMigrations.d.ts +40 -40
- package/lib/operations/getBackup.d.ts +41 -41
- package/lib/operations/getBackupPolicy.d.ts +11 -11
- package/lib/operations/getBouncer.d.ts +37 -37
- package/lib/operations/getBranch.d.ts +40 -40
- package/lib/operations/getBranchChangeRequest.d.ts +26 -26
- package/lib/operations/getBranchSchema.d.ts +3 -3
- package/lib/operations/getCurrentUser.d.ts +10 -10
- package/lib/operations/getDatabase.d.ts +43 -43
- package/lib/operations/getDatabasePostgresCidr.d.ts +10 -10
- package/lib/operations/getDatabaseThrottler.d.ts +4 -4
- package/lib/operations/getDefaultRole.d.ts +26 -26
- package/lib/operations/getDeployQueue.d.ts +74 -74
- package/lib/operations/getDeployRequest.d.ts +92 -92
- package/lib/operations/getDeployRequestThrottler.d.ts +4 -4
- package/lib/operations/getDeployment.d.ts +70 -70
- package/lib/operations/getInvoice.d.ts +5 -5
- package/lib/operations/getInvoiceLineItems.d.ts +11 -11
- package/lib/operations/getKeyspace.d.ts +20 -20
- package/lib/operations/getKeyspaceRolloutStatus.d.ts +5 -5
- package/lib/operations/getKeyspaceVschema.d.ts +2 -2
- package/lib/operations/getMaintenanceSchedule.d.ts +14 -14
- package/lib/operations/getOauthApplication.d.ts +12 -12
- package/lib/operations/getOauthToken.d.ts +46 -46
- package/lib/operations/getOrganization.d.ts +12 -12
- package/lib/operations/getOrganizationMembership.d.ts +14 -14
- package/lib/operations/getOrganizationTeam.d.ts +20 -20
- package/lib/operations/getOrganizationTeamMember.d.ts +54 -54
- package/lib/operations/getPassword.d.ts +31 -31
- package/lib/operations/getQueryPatternsReport.d.ts +2 -2
- package/lib/operations/getQueryPatternsReportStatus.d.ts +10 -10
- package/lib/operations/getRole.d.ts +26 -26
- package/lib/operations/getSchemaRecommendation.d.ts +16 -16
- package/lib/operations/getServiceToken.d.ts +46 -46
- package/lib/operations/getTrafficBudget.d.ts +24 -24
- package/lib/operations/getWebhook.d.ts +7 -7
- package/lib/operations/getWorkflow.d.ts +71 -71
- package/lib/operations/lintBranchSchema.d.ts +18 -18
- package/lib/operations/listAuditLogs.d.ts +16 -16
- package/lib/operations/listBackupPolicies.d.ts +15 -15
- package/lib/operations/listBackups.d.ts +51 -51
- package/lib/operations/listBouncerResizeRequests.d.ts +31 -31
- package/lib/operations/listBouncers.d.ts +40 -40
- package/lib/operations/listBranchBouncerResizeRequests.d.ts +30 -30
- package/lib/operations/listBranchChangeRequests.d.ts +30 -30
- package/lib/operations/listBranches.d.ts +46 -46
- package/lib/operations/listClusterSizeSkus.d.ts +12 -12
- package/lib/operations/listDatabasePostgresCidrs.d.ts +14 -14
- package/lib/operations/listDatabaseRegions.d.ts +9 -9
- package/lib/operations/listDatabases.d.ts +47 -47
- package/lib/operations/listDeployOperations.d.ts +16 -16
- package/lib/operations/listDeployRequestReviews.d.ts +12 -12
- package/lib/operations/listDeployRequests.d.ts +100 -100
- package/lib/operations/listExtensions.d.ts +24 -24
- package/lib/operations/listGeneratedQueryPatternsReports.d.ts +14 -14
- package/lib/operations/listInvoices.d.ts +8 -8
- package/lib/operations/listKeyspaces.d.ts +24 -24
- package/lib/operations/listMaintenanceSchedules.d.ts +18 -18
- package/lib/operations/listMaintenanceWindows.d.ts +8 -8
- package/lib/operations/listOauthApplications.d.ts +15 -15
- package/lib/operations/listOauthTokens.d.ts +50 -50
- package/lib/operations/listOrganizationMembers.d.ts +18 -18
- package/lib/operations/listOrganizationTeamMembers.d.ts +58 -58
- package/lib/operations/listOrganizationTeams.d.ts +25 -25
- package/lib/operations/listOrganizations.d.ts +16 -16
- package/lib/operations/listParameters.d.ts +18 -18
- package/lib/operations/listPasswords.d.ts +36 -36
- package/lib/operations/listPublicRegions.d.ts +7 -7
- package/lib/operations/listReadOnlyRegions.d.ts +17 -17
- package/lib/operations/listRegionsForOrganization.d.ts +8 -8
- package/lib/operations/listRoles.d.ts +30 -30
- package/lib/operations/listSchemaRecommendations.d.ts +21 -21
- package/lib/operations/listServiceTokens.d.ts +49 -49
- package/lib/operations/listTrafficBudgets.d.ts +30 -30
- package/lib/operations/listWebhooks.d.ts +11 -11
- package/lib/operations/listWorkflows.d.ts +76 -76
- package/lib/operations/promoteBranch.d.ts +40 -40
- package/lib/operations/queueDeployRequest.d.ts +93 -93
- package/lib/operations/reassignRoleObjects.d.ts +2 -2
- package/lib/operations/removeOrganizationMember.d.ts +2 -2
- package/lib/operations/removeOrganizationTeamMember.d.ts +2 -2
- package/lib/operations/renewPassword.d.ts +31 -31
- package/lib/operations/renewRole.d.ts +26 -26
- package/lib/operations/resetDefaultRole.d.ts +26 -26
- package/lib/operations/resetRole.d.ts +26 -26
- package/lib/operations/reviewDeployRequest.d.ts +9 -9
- package/lib/operations/skipRevertPeriod.d.ts +92 -92
- package/lib/operations/testWebhook.d.ts +1 -1
- package/lib/operations/updateAutoApply.d.ts +93 -93
- package/lib/operations/updateAutoDeleteBranch.d.ts +93 -93
- package/lib/operations/updateBackup.d.ts +41 -41
- package/lib/operations/updateBackupPolicy.d.ts +17 -17
- package/lib/operations/updateBouncerResizeRequest.d.ts +28 -28
- package/lib/operations/updateBranch.d.ts +40 -40
- package/lib/operations/updateBranchChangeRequest.d.ts +27 -27
- package/lib/operations/updateBranchClusterConfig.d.ts +2 -2
- package/lib/operations/updateDatabasePostgresCidr.d.ts +12 -12
- package/lib/operations/updateDatabaseSettings.d.ts +50 -50
- package/lib/operations/updateDatabaseThrottler.d.ts +5 -5
- package/lib/operations/updateDeployRequestThrottler.d.ts +5 -5
- package/lib/operations/updateKeyspace.d.ts +20 -20
- package/lib/operations/updateKeyspaceVschema.d.ts +2 -2
- package/lib/operations/updateOrganization.d.ts +13 -13
- package/lib/operations/updateOrganizationMembership.d.ts +14 -14
- package/lib/operations/updateOrganizationTeam.d.ts +22 -22
- package/lib/operations/updatePassword.d.ts +32 -32
- package/lib/operations/updateRole.d.ts +26 -26
- package/lib/operations/updateTrafficBudget.d.ts +29 -29
- package/lib/operations/updateWebhook.d.ts +9 -9
- package/lib/operations/verifyWorkflow.d.ts +71 -71
- package/lib/operations/workflowCancel.d.ts +71 -71
- package/lib/operations/workflowComplete.d.ts +71 -71
- package/lib/operations/workflowCutover.d.ts +71 -71
- package/lib/operations/workflowRetry.d.ts +71 -71
- package/lib/operations/workflowReverseCutover.d.ts +71 -71
- package/lib/operations/workflowReverseTraffic.d.ts +71 -71
- package/lib/operations/workflowSwitchPrimaries.d.ts +71 -71
- package/lib/operations/workflowSwitchReplicas.d.ts +71 -71
- package/package.json +3 -3
- package/src/credentials.ts +2 -2
package/lib/credentials.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import { ConfigError } from "@distilled.cloud/core/errors";
|
|
1
2
|
import * as Context from "effect/Context";
|
|
2
3
|
import * as Layer from "effect/Layer";
|
|
3
4
|
import * as Redacted from "effect/Redacted";
|
|
4
|
-
import { ConfigError } from "@distilled.cloud/core/errors";
|
|
5
5
|
export declare const DEFAULT_API_BASE_URL = "https://api.planetscale.com/v1";
|
|
6
6
|
export interface Config {
|
|
7
7
|
readonly tokenId: string;
|
package/lib/credentials.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"credentials.d.ts","sourceRoot":"","sources":["../src/credentials.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"credentials.d.ts","sourceRoot":"","sources":["../src/credentials.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAE3D,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAE1C,OAAO,KAAK,KAAK,MAAM,cAAc,CAAC;AACtC,OAAO,KAAK,QAAQ,MAAM,iBAAiB,CAAC;AAE5C,eAAO,MAAM,oBAAoB,mCAAmC,CAAC;AAErE,MAAM,WAAW,MAAM;IACrB,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,KAAK,EAAE,QAAQ,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;IAC1C,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;IAC9B,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;CAC7B;;AAED,qBAAa,WAAY,SAAQ,gBAEhC;CAAG;AAQJ,eAAO,MAAM,kBAAkB,8CAiB9B,CAAC"}
|
package/lib/credentials.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
+
import { ConfigError } from "@distilled.cloud/core/errors";
|
|
1
2
|
import * as EffectConfig from "effect/Config";
|
|
2
3
|
import * as Context from "effect/Context";
|
|
3
4
|
import * as Effect from "effect/Effect";
|
|
4
5
|
import * as Layer from "effect/Layer";
|
|
5
6
|
import * as Redacted from "effect/Redacted";
|
|
6
|
-
import { ConfigError } from "@distilled.cloud/core/errors";
|
|
7
7
|
export const DEFAULT_API_BASE_URL = "https://api.planetscale.com/v1";
|
|
8
8
|
export class Credentials extends Context.Service()("PlanetScaleCredentials") {
|
|
9
9
|
}
|
|
@@ -12,7 +12,7 @@ const envConfig = EffectConfig.all({
|
|
|
12
12
|
token: EffectConfig.string("PLANETSCALE_API_TOKEN"),
|
|
13
13
|
organization: EffectConfig.string("PLANETSCALE_ORGANIZATION"),
|
|
14
14
|
});
|
|
15
|
-
export const CredentialsFromEnv = Layer.effect(Credentials, envConfig.
|
|
15
|
+
export const CredentialsFromEnv = Layer.effect(Credentials, envConfig.pipe(Effect.mapError(() => new ConfigError({
|
|
16
16
|
message: "PLANETSCALE_API_TOKEN_ID, PLANETSCALE_API_TOKEN, and PLANETSCALE_ORGANIZATION environment variables are required",
|
|
17
17
|
})), Effect.map(({ tokenId, token, organization }) => ({
|
|
18
18
|
tokenId,
|
package/lib/credentials.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"credentials.js","sourceRoot":"","sources":["../src/credentials.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,YAAY,MAAM,eAAe,CAAC;AAC9C,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAC1C,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,KAAK,MAAM,cAAc,CAAC;AACtC,OAAO,KAAK,QAAQ,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"credentials.js","sourceRoot":"","sources":["../src/credentials.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAC3D,OAAO,KAAK,YAAY,MAAM,eAAe,CAAC;AAC9C,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAC1C,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,KAAK,MAAM,cAAc,CAAC;AACtC,OAAO,KAAK,QAAQ,MAAM,iBAAiB,CAAC;AAE5C,MAAM,CAAC,MAAM,oBAAoB,GAAG,gCAAgC,CAAC;AASrE,MAAM,OAAO,WAAY,SAAQ,OAAO,CAAC,OAAO,EAAuB,CACrE,wBAAwB,CACzB;CAAG;AAEJ,MAAM,SAAS,GAAG,YAAY,CAAC,GAAG,CAAC;IACjC,OAAO,EAAE,YAAY,CAAC,MAAM,CAAC,0BAA0B,CAAC;IACxD,KAAK,EAAE,YAAY,CAAC,MAAM,CAAC,uBAAuB,CAAC;IACnD,YAAY,EAAE,YAAY,CAAC,MAAM,CAAC,0BAA0B,CAAC;CAC9D,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,kBAAkB,GAAG,KAAK,CAAC,MAAM,CAC5C,WAAW,EACX,SAAS,CAAC,IAAI,CACZ,MAAM,CAAC,QAAQ,CACb,GAAG,EAAE,CACH,IAAI,WAAW,CAAC;IACd,OAAO,EACL,kHAAkH;CACrH,CAAC,CACL,EACD,MAAM,CAAC,GAAG,CAAC,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,YAAY,EAAE,EAAE,EAAE,CAAC,CAAC;IAChD,OAAO;IACP,KAAK,EAAE,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC;IAC3B,YAAY;IACZ,UAAU,EAAE,oBAAoB;CACjC,CAAC,CAAC,CACJ,CACF,CAAC"}
|
|
@@ -93,77 +93,77 @@ export declare const addOrganizationTeamMember: import("@distilled.cloud/core/cl
|
|
|
93
93
|
readonly team: string;
|
|
94
94
|
readonly user_id: string;
|
|
95
95
|
}, {
|
|
96
|
-
readonly
|
|
97
|
-
|
|
96
|
+
readonly id: string;
|
|
97
|
+
readonly user: {
|
|
98
|
+
readonly id: string;
|
|
98
99
|
readonly display_name: string;
|
|
100
|
+
readonly name: string;
|
|
101
|
+
readonly email: string;
|
|
102
|
+
readonly avatar_url: string;
|
|
103
|
+
readonly created_at: string;
|
|
104
|
+
readonly updated_at: string;
|
|
105
|
+
readonly two_factor_auth_configured: boolean;
|
|
106
|
+
readonly default_organization: {
|
|
107
|
+
readonly id: string;
|
|
108
|
+
readonly name: string;
|
|
109
|
+
readonly created_at: string;
|
|
110
|
+
readonly updated_at: string;
|
|
111
|
+
readonly deleted_at: string;
|
|
112
|
+
};
|
|
113
|
+
readonly sso: boolean;
|
|
114
|
+
readonly managed: boolean;
|
|
115
|
+
readonly directory_managed: boolean;
|
|
116
|
+
readonly email_verified: boolean;
|
|
117
|
+
};
|
|
118
|
+
readonly actor: {
|
|
99
119
|
readonly id: string;
|
|
120
|
+
readonly display_name: string;
|
|
121
|
+
readonly avatar_url: string;
|
|
100
122
|
};
|
|
101
123
|
readonly created_at: string;
|
|
102
|
-
readonly
|
|
124
|
+
readonly updated_at: string;
|
|
103
125
|
readonly passwords: readonly {
|
|
104
|
-
readonly
|
|
105
|
-
readonly
|
|
106
|
-
readonly
|
|
107
|
-
readonly actor: {
|
|
108
|
-
readonly avatar_url: string;
|
|
109
|
-
readonly display_name: string;
|
|
110
|
-
readonly id: string;
|
|
111
|
-
};
|
|
126
|
+
readonly id: string;
|
|
127
|
+
readonly name: string;
|
|
128
|
+
readonly role: "admin" | "reader" | "readwriter" | "writer";
|
|
112
129
|
readonly cidrs: readonly string[];
|
|
113
130
|
readonly created_at: string;
|
|
114
|
-
readonly database_branch: {
|
|
115
|
-
readonly id: string;
|
|
116
|
-
readonly mysql_edge_address: string;
|
|
117
|
-
readonly name: string;
|
|
118
|
-
readonly private_edge_connectivity: boolean;
|
|
119
|
-
readonly production: boolean;
|
|
120
|
-
};
|
|
121
131
|
readonly deleted_at: string;
|
|
122
|
-
readonly direct_vtgate: boolean;
|
|
123
|
-
readonly direct_vtgate_addresses: readonly string[];
|
|
124
|
-
readonly expired: boolean;
|
|
125
132
|
readonly expires_at: string;
|
|
126
|
-
readonly id: string;
|
|
127
133
|
readonly last_used_at: string;
|
|
128
|
-
readonly
|
|
129
|
-
readonly
|
|
130
|
-
readonly
|
|
131
|
-
|
|
134
|
+
readonly expired: boolean;
|
|
135
|
+
readonly direct_vtgate: boolean;
|
|
136
|
+
readonly direct_vtgate_addresses: readonly string[];
|
|
137
|
+
readonly ttl_seconds: number;
|
|
138
|
+
readonly access_host_url: string;
|
|
139
|
+
readonly access_host_regional_url: string;
|
|
140
|
+
readonly access_host_regional_urls: readonly string[];
|
|
141
|
+
readonly actor: {
|
|
142
|
+
readonly id: string;
|
|
132
143
|
readonly display_name: string;
|
|
133
|
-
readonly
|
|
144
|
+
readonly avatar_url: string;
|
|
145
|
+
};
|
|
146
|
+
readonly region: {
|
|
134
147
|
readonly id: string;
|
|
135
|
-
readonly location: string;
|
|
136
148
|
readonly provider: string;
|
|
149
|
+
readonly enabled: boolean;
|
|
137
150
|
readonly public_ip_addresses: readonly string[];
|
|
151
|
+
readonly display_name: string;
|
|
152
|
+
readonly location: string;
|
|
138
153
|
readonly slug: string;
|
|
154
|
+
readonly current_default: boolean;
|
|
139
155
|
};
|
|
140
|
-
readonly renewable: boolean;
|
|
141
|
-
readonly replica: boolean;
|
|
142
|
-
readonly role: "admin" | "reader" | "readwriter" | "writer";
|
|
143
|
-
readonly ttl_seconds: number;
|
|
144
156
|
readonly username: string;
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
readonly
|
|
149
|
-
readonly created_at: string;
|
|
150
|
-
readonly default_organization: {
|
|
151
|
-
readonly created_at: string;
|
|
152
|
-
readonly deleted_at: string;
|
|
153
|
-
readonly id: string;
|
|
157
|
+
readonly plain_text: string | import("effect/Redacted").Redacted<string>;
|
|
158
|
+
readonly replica: boolean;
|
|
159
|
+
readonly renewable: boolean;
|
|
160
|
+
readonly database_branch: {
|
|
154
161
|
readonly name: string;
|
|
155
|
-
readonly
|
|
162
|
+
readonly id: string;
|
|
163
|
+
readonly production: boolean;
|
|
164
|
+
readonly mysql_edge_address: string;
|
|
165
|
+
readonly private_edge_connectivity: boolean;
|
|
156
166
|
};
|
|
157
|
-
|
|
158
|
-
readonly display_name: string;
|
|
159
|
-
readonly email: string;
|
|
160
|
-
readonly email_verified: boolean;
|
|
161
|
-
readonly id: string;
|
|
162
|
-
readonly managed: boolean;
|
|
163
|
-
readonly name: string;
|
|
164
|
-
readonly sso: boolean;
|
|
165
|
-
readonly two_factor_auth_configured: boolean;
|
|
166
|
-
readonly updated_at: string;
|
|
167
|
-
};
|
|
167
|
+
}[];
|
|
168
168
|
}, BadRequest | Forbidden | NotFound | UnprocessableEntity, import("../credentials.ts").Credentials>;
|
|
169
169
|
//# sourceMappingURL=addOrganizationTeamMember.d.ts.map
|
|
@@ -18,9 +18,9 @@ export type CancelBouncerResizeRequestOutput = typeof CancelBouncerResizeRequest
|
|
|
18
18
|
* @param bouncer - The name of the bouncer
|
|
19
19
|
*/
|
|
20
20
|
export declare const cancelBouncerResizeRequest: import("@distilled.cloud/core/client").OperationMethod<{
|
|
21
|
-
readonly bouncer: string;
|
|
22
|
-
readonly branch: string;
|
|
23
|
-
readonly database: string;
|
|
24
21
|
readonly organization: string;
|
|
22
|
+
readonly database: string;
|
|
23
|
+
readonly branch: string;
|
|
24
|
+
readonly bouncer: string;
|
|
25
25
|
}, void, Forbidden | NotFound, import("../credentials.ts").Credentials>;
|
|
26
26
|
//# sourceMappingURL=cancelBouncerResizeRequest.d.ts.map
|
|
@@ -16,8 +16,8 @@ export type CancelBranchChangeRequestOutput = typeof CancelBranchChangeRequestOu
|
|
|
16
16
|
* @param branch - Branch name from `list_branches`. Example: `main`.
|
|
17
17
|
*/
|
|
18
18
|
export declare const cancelBranchChangeRequest: import("@distilled.cloud/core/client").OperationMethod<{
|
|
19
|
-
readonly branch: string;
|
|
20
|
-
readonly database: string;
|
|
21
19
|
readonly organization: string;
|
|
20
|
+
readonly database: string;
|
|
21
|
+
readonly branch: string;
|
|
22
22
|
}, void, Forbidden | NotFound, import("../credentials.ts").Credentials>;
|
|
23
23
|
//# sourceMappingURL=cancelBranchChangeRequest.d.ts.map
|
|
@@ -146,150 +146,150 @@ export type CancelDeployRequestOutput = typeof CancelDeployRequestOutput.Type;
|
|
|
146
146
|
* @param number - The number of the deploy request
|
|
147
147
|
*/
|
|
148
148
|
export declare const cancelDeployRequest: import("@distilled.cloud/core/client").OperationMethod<{
|
|
149
|
+
readonly organization: string;
|
|
149
150
|
readonly database: string;
|
|
150
151
|
readonly number: number;
|
|
151
|
-
readonly organization: string;
|
|
152
152
|
}, {
|
|
153
|
+
readonly id: string;
|
|
154
|
+
readonly number: number;
|
|
153
155
|
readonly actor: {
|
|
154
|
-
readonly
|
|
156
|
+
readonly id: string;
|
|
155
157
|
readonly display_name: string;
|
|
158
|
+
readonly avatar_url: string;
|
|
159
|
+
};
|
|
160
|
+
readonly closed_by: {
|
|
156
161
|
readonly id: string;
|
|
162
|
+
readonly display_name: string;
|
|
163
|
+
readonly avatar_url: string;
|
|
157
164
|
};
|
|
158
|
-
readonly approved: boolean;
|
|
159
165
|
readonly branch: string;
|
|
166
|
+
readonly branch_id: string;
|
|
160
167
|
readonly branch_deleted: boolean;
|
|
161
|
-
readonly branch_deleted_at: string;
|
|
162
168
|
readonly branch_deleted_by: {
|
|
163
|
-
readonly avatar_url: string;
|
|
164
|
-
readonly display_name: string;
|
|
165
169
|
readonly id: string;
|
|
166
|
-
};
|
|
167
|
-
readonly branch_id: string;
|
|
168
|
-
readonly closed_at: string;
|
|
169
|
-
readonly closed_by: {
|
|
170
|
-
readonly avatar_url: string;
|
|
171
170
|
readonly display_name: string;
|
|
172
|
-
readonly
|
|
171
|
+
readonly avatar_url: string;
|
|
173
172
|
};
|
|
174
|
-
readonly
|
|
175
|
-
readonly
|
|
173
|
+
readonly branch_deleted_at: string;
|
|
174
|
+
readonly into_branch: string;
|
|
175
|
+
readonly into_branch_sharded: boolean;
|
|
176
|
+
readonly into_branch_shard_count: number;
|
|
177
|
+
readonly approved: boolean;
|
|
178
|
+
readonly state: "closed" | "open";
|
|
179
|
+
readonly deployment_state: "cancelled" | "complete" | "complete_cancel" | "complete_error" | "complete_pending_revert" | "complete_revert" | "complete_revert_error" | "error" | "in_progress" | "in_progress_cancel" | "in_progress_cutover" | "in_progress_revert" | "in_progress_revert_vschema" | "in_progress_vschema" | "no_changes" | "pending" | "pending_cutover" | "queued" | "ready" | "submitting";
|
|
176
180
|
readonly deployment: {
|
|
177
|
-
readonly
|
|
178
|
-
readonly avatar_url: string;
|
|
179
|
-
readonly display_name: string;
|
|
180
|
-
readonly id: string;
|
|
181
|
-
};
|
|
181
|
+
readonly id: string;
|
|
182
182
|
readonly auto_cutover: boolean;
|
|
183
183
|
readonly auto_delete_branch: boolean;
|
|
184
|
-
readonly cancelled_actor: {
|
|
185
|
-
readonly avatar_url: string;
|
|
186
|
-
readonly display_name: string;
|
|
187
|
-
readonly id: string;
|
|
188
|
-
};
|
|
189
184
|
readonly created_at: string;
|
|
190
|
-
readonly cutover_actor: {
|
|
191
|
-
readonly avatar_url: string;
|
|
192
|
-
readonly display_name: string;
|
|
193
|
-
readonly id: string;
|
|
194
|
-
};
|
|
195
185
|
readonly cutover_at: string;
|
|
196
186
|
readonly cutover_expiring: boolean;
|
|
197
187
|
readonly deploy_check_errors: string;
|
|
198
|
-
readonly
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
188
|
+
readonly finished_at: string;
|
|
189
|
+
readonly queued_at: string;
|
|
190
|
+
readonly ready_to_cutover_at: string;
|
|
191
|
+
readonly started_at: string;
|
|
192
|
+
readonly state: "cancelled" | "complete" | "complete_cancel" | "complete_error" | "complete_pending_revert" | "complete_revert" | "complete_revert_error" | "error" | "in_progress" | "in_progress_cancel" | "in_progress_cutover" | "in_progress_revert" | "in_progress_revert_vschema" | "in_progress_vschema" | "no_changes" | "pending" | "pending_cutover" | "queued" | "ready" | "submitting";
|
|
193
|
+
readonly submitted_at: string;
|
|
194
|
+
readonly updated_at: string;
|
|
195
|
+
readonly into_branch: string;
|
|
196
|
+
readonly deploy_request_number: number;
|
|
197
|
+
readonly deployable: boolean;
|
|
198
|
+
readonly preceding_deployments: readonly {
|
|
199
|
+
readonly [x: string]: unknown;
|
|
200
|
+
}[];
|
|
201
|
+
readonly deploy_operations: readonly {
|
|
204
202
|
readonly id: string;
|
|
203
|
+
readonly state: "cancelled" | "complete" | "error" | "in_progress" | "pending" | "queued";
|
|
205
204
|
readonly keyspace_name: string;
|
|
205
|
+
readonly table_name: string;
|
|
206
206
|
readonly operation_name: string;
|
|
207
|
-
readonly
|
|
208
|
-
readonly eta_seconds: number;
|
|
209
|
-
readonly id: string;
|
|
210
|
-
readonly progress_percentage: number;
|
|
211
|
-
readonly shard: string;
|
|
212
|
-
readonly state: "cancelled" | "complete" | "error" | "in_progress" | "pending" | "queued";
|
|
213
|
-
}[];
|
|
207
|
+
readonly eta_seconds: number;
|
|
214
208
|
readonly progress_percentage: number;
|
|
215
|
-
readonly
|
|
216
|
-
readonly
|
|
217
|
-
readonly shard_names: readonly string[];
|
|
218
|
-
readonly sharded: boolean;
|
|
219
|
-
readonly state: "cancelled" | "complete" | "error" | "in_progress" | "pending";
|
|
209
|
+
readonly deploy_error_docs_url: string;
|
|
210
|
+
readonly ddl_statement: string;
|
|
220
211
|
readonly syntax_highlighted_ddl: string;
|
|
221
|
-
readonly
|
|
212
|
+
readonly created_at: string;
|
|
213
|
+
readonly updated_at: string;
|
|
214
|
+
readonly throttled_at: string;
|
|
215
|
+
readonly can_drop_data: boolean;
|
|
216
|
+
readonly table_locked: boolean;
|
|
222
217
|
readonly table_recently_used: boolean;
|
|
223
218
|
readonly table_recently_used_at: string;
|
|
224
|
-
readonly
|
|
219
|
+
readonly removed_foreign_key_names: readonly string[];
|
|
220
|
+
readonly deploy_errors: string;
|
|
225
221
|
}[];
|
|
226
|
-
readonly
|
|
227
|
-
readonly
|
|
222
|
+
readonly deploy_operation_summaries: readonly {
|
|
223
|
+
readonly id: string;
|
|
228
224
|
readonly created_at: string;
|
|
229
|
-
readonly ddl_statement: string;
|
|
230
|
-
readonly deploy_error_docs_url: string;
|
|
231
225
|
readonly deploy_errors: string;
|
|
226
|
+
readonly ddl_statement: string;
|
|
232
227
|
readonly eta_seconds: number;
|
|
233
|
-
readonly id: string;
|
|
234
228
|
readonly keyspace_name: string;
|
|
235
229
|
readonly operation_name: string;
|
|
236
230
|
readonly progress_percentage: number;
|
|
237
|
-
readonly
|
|
238
|
-
readonly state: "cancelled" | "complete" | "error" | "in_progress" | "pending" | "queued";
|
|
231
|
+
readonly state: "cancelled" | "complete" | "error" | "in_progress" | "pending";
|
|
239
232
|
readonly syntax_highlighted_ddl: string;
|
|
240
|
-
readonly table_locked: boolean;
|
|
241
233
|
readonly table_name: string;
|
|
242
|
-
readonly table_recently_used: boolean;
|
|
243
234
|
readonly table_recently_used_at: string;
|
|
244
235
|
readonly throttled_at: string;
|
|
245
|
-
readonly
|
|
236
|
+
readonly removed_foreign_key_names: readonly string[];
|
|
237
|
+
readonly shard_count: number;
|
|
238
|
+
readonly shard_names: readonly string[];
|
|
239
|
+
readonly can_drop_data: boolean;
|
|
240
|
+
readonly table_recently_used: boolean;
|
|
241
|
+
readonly sharded: boolean;
|
|
242
|
+
readonly operations: readonly {
|
|
243
|
+
readonly id: string;
|
|
244
|
+
readonly shard: string;
|
|
245
|
+
readonly state: "cancelled" | "complete" | "error" | "in_progress" | "pending" | "queued";
|
|
246
|
+
readonly progress_percentage: number;
|
|
247
|
+
readonly eta_seconds: number;
|
|
248
|
+
}[];
|
|
246
249
|
}[];
|
|
247
|
-
readonly deploy_request_number: number;
|
|
248
|
-
readonly deployable: boolean;
|
|
249
|
-
readonly deployment_revert_request: {
|
|
250
|
-
readonly [x: string]: unknown;
|
|
251
|
-
};
|
|
252
|
-
readonly finished_at: string;
|
|
253
|
-
readonly id: string;
|
|
254
|
-
readonly instant_ddl: boolean;
|
|
255
|
-
readonly instant_ddl_eligible: boolean;
|
|
256
|
-
readonly into_branch: string;
|
|
257
250
|
readonly lint_errors: readonly {
|
|
258
251
|
readonly [x: string]: unknown;
|
|
259
252
|
}[];
|
|
260
|
-
readonly
|
|
261
|
-
readonly lookup_vindex_operations: readonly {
|
|
262
|
-
readonly [x: string]: unknown;
|
|
263
|
-
}[];
|
|
264
|
-
readonly preceding_deployments: readonly {
|
|
253
|
+
readonly sequential_diff_dependencies: readonly {
|
|
265
254
|
readonly [x: string]: unknown;
|
|
266
255
|
}[];
|
|
267
|
-
readonly
|
|
268
|
-
readonly ready_to_cutover_at: string;
|
|
269
|
-
readonly schema_last_updated_at: string;
|
|
270
|
-
readonly sequential_diff_dependencies: readonly {
|
|
256
|
+
readonly lookup_vindex_operations: readonly {
|
|
271
257
|
readonly [x: string]: unknown;
|
|
272
258
|
}[];
|
|
273
|
-
readonly started_at: string;
|
|
274
|
-
readonly state: "cancelled" | "complete" | "complete_cancel" | "complete_error" | "complete_pending_revert" | "complete_revert" | "complete_revert_error" | "error" | "in_progress" | "in_progress_cancel" | "in_progress_cutover" | "in_progress_revert" | "in_progress_revert_vschema" | "in_progress_vschema" | "no_changes" | "pending" | "pending_cutover" | "queued" | "ready" | "submitting";
|
|
275
|
-
readonly submitted_at: string;
|
|
276
|
-
readonly table_locked: boolean;
|
|
277
259
|
readonly throttler_configurations: readonly {
|
|
278
260
|
readonly [x: string]: unknown;
|
|
279
261
|
}[];
|
|
280
|
-
readonly
|
|
262
|
+
readonly deployment_revert_request: {
|
|
263
|
+
readonly [x: string]: unknown;
|
|
264
|
+
};
|
|
265
|
+
readonly actor: {
|
|
266
|
+
readonly id: string;
|
|
267
|
+
readonly display_name: string;
|
|
268
|
+
readonly avatar_url: string;
|
|
269
|
+
};
|
|
270
|
+
readonly cutover_actor: {
|
|
271
|
+
readonly id: string;
|
|
272
|
+
readonly display_name: string;
|
|
273
|
+
readonly avatar_url: string;
|
|
274
|
+
};
|
|
275
|
+
readonly cancelled_actor: {
|
|
276
|
+
readonly id: string;
|
|
277
|
+
readonly display_name: string;
|
|
278
|
+
readonly avatar_url: string;
|
|
279
|
+
};
|
|
280
|
+
readonly schema_last_updated_at: string;
|
|
281
|
+
readonly table_locked: boolean;
|
|
282
|
+
readonly locked_table_name: string;
|
|
283
|
+
readonly instant_ddl: boolean;
|
|
284
|
+
readonly instant_ddl_eligible: boolean;
|
|
281
285
|
};
|
|
282
|
-
readonly
|
|
283
|
-
readonly html_body: string;
|
|
286
|
+
readonly num_comments: number;
|
|
284
287
|
readonly html_url: string;
|
|
285
|
-
readonly id: string;
|
|
286
|
-
readonly into_branch: string;
|
|
287
|
-
readonly into_branch_shard_count: number;
|
|
288
|
-
readonly into_branch_sharded: boolean;
|
|
289
288
|
readonly notes: string;
|
|
290
|
-
readonly
|
|
291
|
-
readonly
|
|
292
|
-
readonly state: "closed" | "open";
|
|
289
|
+
readonly html_body: string;
|
|
290
|
+
readonly created_at: string;
|
|
293
291
|
readonly updated_at: string;
|
|
292
|
+
readonly closed_at: string;
|
|
293
|
+
readonly deployed_at: string;
|
|
294
294
|
}, Forbidden | NotFound, import("../credentials.ts").Credentials>;
|
|
295
295
|
//# sourceMappingURL=cancelDeployRequest.d.ts.map
|
|
@@ -30,24 +30,24 @@ export type CheckDeployRequestStorageOutput = typeof CheckDeployRequestStorageOu
|
|
|
30
30
|
* @param number - The number of the deploy request
|
|
31
31
|
*/
|
|
32
32
|
export declare const checkDeployRequestStorage: import("@distilled.cloud/core/client").OperationMethod<{
|
|
33
|
+
readonly organization: string;
|
|
33
34
|
readonly database: string;
|
|
34
35
|
readonly number: number;
|
|
35
|
-
readonly organization: string;
|
|
36
36
|
}, {
|
|
37
37
|
readonly enough_storage: boolean;
|
|
38
|
+
readonly upgradeable: boolean;
|
|
38
39
|
readonly storage_bytes_needed: number;
|
|
39
40
|
readonly storage_report: {
|
|
40
41
|
readonly [x: string]: {
|
|
41
42
|
readonly [x: string]: {
|
|
43
|
+
readonly used?: number | undefined;
|
|
42
44
|
readonly capacity?: number | undefined;
|
|
43
|
-
readonly has_enough?: boolean | undefined;
|
|
44
|
-
readonly percentage_used?: number | undefined;
|
|
45
45
|
readonly remaining?: number | undefined;
|
|
46
|
+
readonly percentage_used?: number | undefined;
|
|
46
47
|
readonly storage_needed?: number | undefined;
|
|
47
|
-
readonly
|
|
48
|
+
readonly has_enough?: boolean | undefined;
|
|
48
49
|
};
|
|
49
50
|
};
|
|
50
51
|
};
|
|
51
|
-
readonly upgradeable: boolean;
|
|
52
52
|
}, Forbidden | NotFound, import("../credentials.ts").Credentials>;
|
|
53
53
|
//# sourceMappingURL=checkDeployRequestStorage.d.ts.map
|