@distilled.cloud/planetscale 0.19.2 → 0.20.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/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
|
@@ -70,64 +70,64 @@ export type DisableSafeMigrationsOutput = typeof DisableSafeMigrationsOutput.Typ
|
|
|
70
70
|
* @param branch - The name of the branch
|
|
71
71
|
*/
|
|
72
72
|
export declare const disableSafeMigrations: import("@distilled.cloud/core/client").OperationMethod<{
|
|
73
|
-
readonly branch: string;
|
|
74
|
-
readonly database: string;
|
|
75
73
|
readonly organization: string;
|
|
74
|
+
readonly database: string;
|
|
75
|
+
readonly branch: string;
|
|
76
76
|
}, {
|
|
77
|
-
readonly
|
|
78
|
-
|
|
79
|
-
readonly display_name: string;
|
|
80
|
-
readonly id: string;
|
|
81
|
-
};
|
|
82
|
-
readonly cluster_iops: number | null;
|
|
83
|
-
readonly cluster_name: string;
|
|
77
|
+
readonly id: string;
|
|
78
|
+
readonly name: string;
|
|
84
79
|
readonly created_at: string;
|
|
80
|
+
readonly updated_at: string;
|
|
85
81
|
readonly deleted_at: string | null;
|
|
86
|
-
readonly
|
|
87
|
-
readonly
|
|
88
|
-
readonly has_replicas: boolean;
|
|
89
|
-
readonly html_url: string;
|
|
90
|
-
readonly id: string;
|
|
82
|
+
readonly restore_checklist_completed_at: string | null;
|
|
83
|
+
readonly schema_last_updated_at: string;
|
|
91
84
|
readonly kind: "mysql" | "postgresql";
|
|
92
|
-
readonly metal: boolean;
|
|
93
85
|
readonly mysql_address?: string | undefined;
|
|
94
86
|
readonly mysql_edge_address?: string | undefined;
|
|
95
|
-
readonly
|
|
96
|
-
readonly
|
|
97
|
-
readonly
|
|
98
|
-
readonly
|
|
87
|
+
readonly state: "awakening" | "pending" | "ready" | "sleep_in_progress" | "sleeping";
|
|
88
|
+
readonly direct_vtgate?: boolean | undefined;
|
|
89
|
+
readonly vtgate_size?: string | undefined;
|
|
90
|
+
readonly vtgate_count?: number | undefined;
|
|
91
|
+
readonly cluster_name: string;
|
|
92
|
+
readonly cluster_iops: number | null;
|
|
99
93
|
readonly ready: boolean;
|
|
100
|
-
readonly
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
94
|
+
readonly schema_ready?: boolean | undefined;
|
|
95
|
+
readonly metal: boolean;
|
|
96
|
+
readonly production: boolean;
|
|
97
|
+
readonly safe_migrations: boolean;
|
|
98
|
+
readonly sharded?: boolean | undefined;
|
|
99
|
+
readonly shard_count?: number | undefined;
|
|
100
|
+
readonly stale_schema: boolean;
|
|
101
|
+
readonly actor: {
|
|
104
102
|
readonly id: string;
|
|
105
|
-
readonly
|
|
106
|
-
readonly
|
|
107
|
-
readonly public_ip_addresses: readonly string[];
|
|
108
|
-
readonly slug: string;
|
|
103
|
+
readonly display_name: string;
|
|
104
|
+
readonly avatar_url: string;
|
|
109
105
|
};
|
|
110
|
-
readonly restore_checklist_completed_at: string | null;
|
|
111
106
|
readonly restored_from_branch: {
|
|
112
|
-
readonly created_at: string;
|
|
113
|
-
readonly deleted_at: string;
|
|
114
107
|
readonly id: string;
|
|
115
108
|
readonly name: string;
|
|
109
|
+
readonly created_at: string;
|
|
116
110
|
readonly updated_at: string;
|
|
111
|
+
readonly deleted_at: string;
|
|
117
112
|
} | null;
|
|
118
|
-
readonly
|
|
119
|
-
readonly
|
|
120
|
-
readonly
|
|
121
|
-
readonly
|
|
122
|
-
readonly sharded?: boolean | undefined;
|
|
123
|
-
readonly stale_schema: boolean;
|
|
124
|
-
readonly state: "awakening" | "pending" | "ready" | "sleep_in_progress" | "sleeping";
|
|
125
|
-
readonly updated_at: string;
|
|
113
|
+
readonly private_edge_connectivity: boolean;
|
|
114
|
+
readonly has_replicas: boolean;
|
|
115
|
+
readonly has_read_only_replicas: boolean;
|
|
116
|
+
readonly html_url: string;
|
|
126
117
|
readonly url: string;
|
|
127
|
-
readonly
|
|
118
|
+
readonly region: {
|
|
119
|
+
readonly id: string;
|
|
120
|
+
readonly provider: string;
|
|
121
|
+
readonly enabled: boolean;
|
|
122
|
+
readonly public_ip_addresses: readonly string[];
|
|
123
|
+
readonly display_name: string;
|
|
124
|
+
readonly location: string;
|
|
125
|
+
readonly slug: string;
|
|
126
|
+
readonly current_default: boolean;
|
|
127
|
+
};
|
|
128
|
+
readonly parent_branch: string | null;
|
|
128
129
|
readonly vtgate_options?: {
|
|
129
130
|
readonly [x: string]: unknown;
|
|
130
131
|
} | undefined;
|
|
131
|
-
readonly vtgate_size?: string | undefined;
|
|
132
132
|
}, Forbidden | NotFound, import("../credentials.ts").Credentials>;
|
|
133
133
|
//# sourceMappingURL=disableSafeMigrations.d.ts.map
|
|
@@ -42,33 +42,33 @@ export type DismissSchemaRecommendationOutput = typeof DismissSchemaRecommendati
|
|
|
42
42
|
* @param reason - The reason for dismissing the recommendation (max 500 characters)
|
|
43
43
|
*/
|
|
44
44
|
export declare const dismissSchemaRecommendation: import("@distilled.cloud/core/client").OperationMethod<{
|
|
45
|
+
readonly organization: string;
|
|
45
46
|
readonly database: string;
|
|
46
47
|
readonly number: number;
|
|
47
|
-
readonly organization: string;
|
|
48
48
|
readonly reason?: string | undefined;
|
|
49
49
|
}, {
|
|
50
|
+
readonly id: string;
|
|
51
|
+
readonly html_url: string;
|
|
52
|
+
readonly title: string;
|
|
53
|
+
readonly table_name: string;
|
|
54
|
+
readonly keyspace: string;
|
|
55
|
+
readonly ddl_statement: string;
|
|
56
|
+
readonly number: number;
|
|
57
|
+
readonly state: "applied" | "dismissed" | "open" | "stale";
|
|
58
|
+
readonly recommendation_type: "bloated_index" | "bloated_table" | "duplicate_index" | "encoding_upgrade" | "new_index" | "sequence_overflow" | "sequence_overflow_foreign_key" | "unused_index" | "unused_table";
|
|
59
|
+
readonly created_at: string;
|
|
60
|
+
readonly updated_at: string;
|
|
50
61
|
readonly applied_at: string;
|
|
62
|
+
readonly dismissed_at: string;
|
|
51
63
|
readonly closed_by_deploy_request: {
|
|
52
|
-
readonly branch_id: string;
|
|
53
64
|
readonly id: string;
|
|
65
|
+
readonly branch_id: string;
|
|
54
66
|
readonly number: number;
|
|
55
67
|
};
|
|
56
|
-
readonly created_at: string;
|
|
57
|
-
readonly ddl_statement: string;
|
|
58
|
-
readonly dismissed_at: string;
|
|
59
68
|
readonly dismissed_by: {
|
|
60
|
-
readonly avatar_url: string;
|
|
61
|
-
readonly display_name: string;
|
|
62
69
|
readonly id: string;
|
|
70
|
+
readonly display_name: string;
|
|
71
|
+
readonly avatar_url: string;
|
|
63
72
|
};
|
|
64
|
-
readonly html_url: string;
|
|
65
|
-
readonly id: string;
|
|
66
|
-
readonly keyspace: string;
|
|
67
|
-
readonly number: number;
|
|
68
|
-
readonly recommendation_type: "bloated_index" | "bloated_table" | "duplicate_index" | "encoding_upgrade" | "new_index" | "sequence_overflow" | "sequence_overflow_foreign_key" | "unused_index" | "unused_table";
|
|
69
|
-
readonly state: "applied" | "dismissed" | "open" | "stale";
|
|
70
|
-
readonly table_name: string;
|
|
71
|
-
readonly title: string;
|
|
72
|
-
readonly updated_at: string;
|
|
73
73
|
}, Forbidden | NotFound, import("../credentials.ts").Credentials>;
|
|
74
74
|
//# sourceMappingURL=dismissSchemaRecommendation.d.ts.map
|
|
@@ -70,64 +70,64 @@ export type EnableSafeMigrationsOutput = typeof EnableSafeMigrationsOutput.Type;
|
|
|
70
70
|
* @param branch - The name of the branch
|
|
71
71
|
*/
|
|
72
72
|
export declare const enableSafeMigrations: import("@distilled.cloud/core/client").OperationMethod<{
|
|
73
|
-
readonly branch: string;
|
|
74
|
-
readonly database: string;
|
|
75
73
|
readonly organization: string;
|
|
74
|
+
readonly database: string;
|
|
75
|
+
readonly branch: string;
|
|
76
76
|
}, {
|
|
77
|
-
readonly
|
|
78
|
-
|
|
79
|
-
readonly display_name: string;
|
|
80
|
-
readonly id: string;
|
|
81
|
-
};
|
|
82
|
-
readonly cluster_iops: number | null;
|
|
83
|
-
readonly cluster_name: string;
|
|
77
|
+
readonly id: string;
|
|
78
|
+
readonly name: string;
|
|
84
79
|
readonly created_at: string;
|
|
80
|
+
readonly updated_at: string;
|
|
85
81
|
readonly deleted_at: string | null;
|
|
86
|
-
readonly
|
|
87
|
-
readonly
|
|
88
|
-
readonly has_replicas: boolean;
|
|
89
|
-
readonly html_url: string;
|
|
90
|
-
readonly id: string;
|
|
82
|
+
readonly restore_checklist_completed_at: string | null;
|
|
83
|
+
readonly schema_last_updated_at: string;
|
|
91
84
|
readonly kind: "mysql" | "postgresql";
|
|
92
|
-
readonly metal: boolean;
|
|
93
85
|
readonly mysql_address?: string | undefined;
|
|
94
86
|
readonly mysql_edge_address?: string | undefined;
|
|
95
|
-
readonly
|
|
96
|
-
readonly
|
|
97
|
-
readonly
|
|
98
|
-
readonly
|
|
87
|
+
readonly state: "awakening" | "pending" | "ready" | "sleep_in_progress" | "sleeping";
|
|
88
|
+
readonly direct_vtgate?: boolean | undefined;
|
|
89
|
+
readonly vtgate_size?: string | undefined;
|
|
90
|
+
readonly vtgate_count?: number | undefined;
|
|
91
|
+
readonly cluster_name: string;
|
|
92
|
+
readonly cluster_iops: number | null;
|
|
99
93
|
readonly ready: boolean;
|
|
100
|
-
readonly
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
94
|
+
readonly schema_ready?: boolean | undefined;
|
|
95
|
+
readonly metal: boolean;
|
|
96
|
+
readonly production: boolean;
|
|
97
|
+
readonly safe_migrations: boolean;
|
|
98
|
+
readonly sharded?: boolean | undefined;
|
|
99
|
+
readonly shard_count?: number | undefined;
|
|
100
|
+
readonly stale_schema: boolean;
|
|
101
|
+
readonly actor: {
|
|
104
102
|
readonly id: string;
|
|
105
|
-
readonly
|
|
106
|
-
readonly
|
|
107
|
-
readonly public_ip_addresses: readonly string[];
|
|
108
|
-
readonly slug: string;
|
|
103
|
+
readonly display_name: string;
|
|
104
|
+
readonly avatar_url: string;
|
|
109
105
|
};
|
|
110
|
-
readonly restore_checklist_completed_at: string | null;
|
|
111
106
|
readonly restored_from_branch: {
|
|
112
|
-
readonly created_at: string;
|
|
113
|
-
readonly deleted_at: string;
|
|
114
107
|
readonly id: string;
|
|
115
108
|
readonly name: string;
|
|
109
|
+
readonly created_at: string;
|
|
116
110
|
readonly updated_at: string;
|
|
111
|
+
readonly deleted_at: string;
|
|
117
112
|
} | null;
|
|
118
|
-
readonly
|
|
119
|
-
readonly
|
|
120
|
-
readonly
|
|
121
|
-
readonly
|
|
122
|
-
readonly sharded?: boolean | undefined;
|
|
123
|
-
readonly stale_schema: boolean;
|
|
124
|
-
readonly state: "awakening" | "pending" | "ready" | "sleep_in_progress" | "sleeping";
|
|
125
|
-
readonly updated_at: string;
|
|
113
|
+
readonly private_edge_connectivity: boolean;
|
|
114
|
+
readonly has_replicas: boolean;
|
|
115
|
+
readonly has_read_only_replicas: boolean;
|
|
116
|
+
readonly html_url: string;
|
|
126
117
|
readonly url: string;
|
|
127
|
-
readonly
|
|
118
|
+
readonly region: {
|
|
119
|
+
readonly id: string;
|
|
120
|
+
readonly provider: string;
|
|
121
|
+
readonly enabled: boolean;
|
|
122
|
+
readonly public_ip_addresses: readonly string[];
|
|
123
|
+
readonly display_name: string;
|
|
124
|
+
readonly location: string;
|
|
125
|
+
readonly slug: string;
|
|
126
|
+
readonly current_default: boolean;
|
|
127
|
+
};
|
|
128
|
+
readonly parent_branch: string | null;
|
|
128
129
|
readonly vtgate_options?: {
|
|
129
130
|
readonly [x: string]: unknown;
|
|
130
131
|
} | undefined;
|
|
131
|
-
readonly vtgate_size?: string | undefined;
|
|
132
132
|
}, Forbidden | NotFound, import("../credentials.ts").Credentials>;
|
|
133
133
|
//# sourceMappingURL=enableSafeMigrations.d.ts.map
|
|
@@ -78,69 +78,69 @@ export type GetBackupOutput = typeof GetBackupOutput.Type;
|
|
|
78
78
|
* @param branch - The name of the branch
|
|
79
79
|
*/
|
|
80
80
|
export declare const getBackup: import("@distilled.cloud/core/client").OperationMethod<{
|
|
81
|
-
readonly branch: string;
|
|
82
|
-
readonly database: string;
|
|
83
81
|
readonly id: string;
|
|
84
82
|
readonly organization: string;
|
|
83
|
+
readonly database: string;
|
|
84
|
+
readonly branch: string;
|
|
85
85
|
}, {
|
|
86
|
+
readonly id: string;
|
|
87
|
+
readonly name: string;
|
|
88
|
+
readonly state: "canceled" | "failed" | "ignored" | "pending" | "running" | "success";
|
|
89
|
+
readonly size: number;
|
|
90
|
+
readonly estimated_storage_cost: number;
|
|
91
|
+
readonly created_at: string;
|
|
92
|
+
readonly updated_at: string;
|
|
93
|
+
readonly started_at: string | null;
|
|
94
|
+
readonly expires_at: string | null;
|
|
95
|
+
readonly completed_at: string | null;
|
|
96
|
+
readonly deleted_at: string | null;
|
|
97
|
+
readonly pvc_size: number;
|
|
98
|
+
readonly protected: boolean;
|
|
99
|
+
readonly required: boolean;
|
|
100
|
+
readonly restored_branches: readonly {
|
|
101
|
+
readonly id: string;
|
|
102
|
+
readonly name: string;
|
|
103
|
+
readonly created_at: string;
|
|
104
|
+
readonly updated_at: string;
|
|
105
|
+
readonly deleted_at: string | null;
|
|
106
|
+
}[];
|
|
86
107
|
readonly actor: {
|
|
87
|
-
readonly avatar_url: string;
|
|
88
|
-
readonly display_name: string;
|
|
89
108
|
readonly id: string;
|
|
109
|
+
readonly display_name: string;
|
|
110
|
+
readonly avatar_url: string;
|
|
90
111
|
};
|
|
91
112
|
readonly backup_policy: {
|
|
92
|
-
readonly created_at: string;
|
|
93
|
-
readonly display_name: string;
|
|
94
|
-
readonly frequency_unit: string;
|
|
95
|
-
readonly frequency_value: number;
|
|
96
113
|
readonly id: string;
|
|
97
|
-
readonly
|
|
114
|
+
readonly display_name: string;
|
|
98
115
|
readonly name: string;
|
|
99
|
-
readonly
|
|
100
|
-
readonly required: boolean;
|
|
101
|
-
readonly retention_unit: string;
|
|
116
|
+
readonly target: "development" | "production";
|
|
102
117
|
readonly retention_value: number;
|
|
103
|
-
readonly
|
|
118
|
+
readonly retention_unit: string;
|
|
119
|
+
readonly frequency_value: number;
|
|
120
|
+
readonly frequency_unit: string;
|
|
104
121
|
readonly schedule_time: string | null;
|
|
122
|
+
readonly schedule_day: number;
|
|
105
123
|
readonly schedule_week: number;
|
|
106
|
-
readonly
|
|
124
|
+
readonly created_at: string;
|
|
107
125
|
readonly updated_at: string;
|
|
126
|
+
readonly last_ran_at: string | null;
|
|
127
|
+
readonly next_run_at: string | null;
|
|
128
|
+
readonly required: boolean;
|
|
108
129
|
} | null;
|
|
109
|
-
readonly
|
|
110
|
-
readonly created_at: string;
|
|
111
|
-
readonly database_branch: {
|
|
112
|
-
readonly created_at: string;
|
|
113
|
-
readonly deleted_at: string | null;
|
|
130
|
+
readonly schema_snapshot: {
|
|
114
131
|
readonly id: string;
|
|
115
132
|
readonly name: string;
|
|
133
|
+
readonly created_at: string;
|
|
116
134
|
readonly updated_at: string;
|
|
135
|
+
readonly linted_at: string | null;
|
|
136
|
+
readonly url: string;
|
|
117
137
|
};
|
|
118
|
-
readonly
|
|
119
|
-
readonly estimated_storage_cost: number;
|
|
120
|
-
readonly expires_at: string | null;
|
|
121
|
-
readonly id: string;
|
|
122
|
-
readonly name: string;
|
|
123
|
-
readonly protected: boolean;
|
|
124
|
-
readonly pvc_size: number;
|
|
125
|
-
readonly required: boolean;
|
|
126
|
-
readonly restored_branches: readonly {
|
|
127
|
-
readonly created_at: string;
|
|
128
|
-
readonly deleted_at: string | null;
|
|
138
|
+
readonly database_branch: {
|
|
129
139
|
readonly id: string;
|
|
130
140
|
readonly name: string;
|
|
131
|
-
readonly updated_at: string;
|
|
132
|
-
}[];
|
|
133
|
-
readonly schema_snapshot: {
|
|
134
141
|
readonly created_at: string;
|
|
135
|
-
readonly id: string;
|
|
136
|
-
readonly linted_at: string | null;
|
|
137
|
-
readonly name: string;
|
|
138
142
|
readonly updated_at: string;
|
|
139
|
-
readonly
|
|
143
|
+
readonly deleted_at: string | null;
|
|
140
144
|
};
|
|
141
|
-
readonly size: number;
|
|
142
|
-
readonly started_at: string | null;
|
|
143
|
-
readonly state: "canceled" | "failed" | "ignored" | "pending" | "running" | "success";
|
|
144
|
-
readonly updated_at: string;
|
|
145
145
|
}, Forbidden | NotFound, import("../credentials.ts").Credentials>;
|
|
146
146
|
//# sourceMappingURL=getBackup.d.ts.map
|
|
@@ -33,25 +33,25 @@ export type GetBackupPolicyOutput = typeof GetBackupPolicyOutput.Type;
|
|
|
33
33
|
* @param database - Database name slug from `list_databases`. Example: `app-db`.
|
|
34
34
|
*/
|
|
35
35
|
export declare const getBackupPolicy: import("@distilled.cloud/core/client").OperationMethod<{
|
|
36
|
-
readonly database: string;
|
|
37
36
|
readonly id: string;
|
|
38
37
|
readonly organization: string;
|
|
38
|
+
readonly database: string;
|
|
39
39
|
}, {
|
|
40
|
-
readonly created_at: string;
|
|
41
|
-
readonly display_name: string;
|
|
42
|
-
readonly frequency_unit: string;
|
|
43
|
-
readonly frequency_value: number;
|
|
44
40
|
readonly id: string;
|
|
45
|
-
readonly
|
|
41
|
+
readonly display_name: string;
|
|
46
42
|
readonly name: string;
|
|
47
|
-
readonly
|
|
48
|
-
readonly required: boolean;
|
|
49
|
-
readonly retention_unit: string;
|
|
43
|
+
readonly target: "development" | "production";
|
|
50
44
|
readonly retention_value: number;
|
|
51
|
-
readonly
|
|
45
|
+
readonly retention_unit: string;
|
|
46
|
+
readonly frequency_value: number;
|
|
47
|
+
readonly frequency_unit: string;
|
|
52
48
|
readonly schedule_time: string;
|
|
49
|
+
readonly schedule_day: number;
|
|
53
50
|
readonly schedule_week: number;
|
|
54
|
-
readonly
|
|
51
|
+
readonly created_at: string;
|
|
55
52
|
readonly updated_at: string;
|
|
53
|
+
readonly last_ran_at: string;
|
|
54
|
+
readonly next_run_at: string;
|
|
55
|
+
readonly required: boolean;
|
|
56
56
|
}, Forbidden | NotFound, import("../credentials.ts").Credentials>;
|
|
57
57
|
//# sourceMappingURL=getBackupPolicy.d.ts.map
|
|
@@ -71,62 +71,62 @@ export type GetBouncerOutput = typeof GetBouncerOutput.Type;
|
|
|
71
71
|
* @param bouncer - The name of the bouncer
|
|
72
72
|
*/
|
|
73
73
|
export declare const getBouncer: import("@distilled.cloud/core/client").OperationMethod<{
|
|
74
|
-
readonly bouncer: string;
|
|
75
|
-
readonly branch: string;
|
|
76
|
-
readonly database: string;
|
|
77
74
|
readonly organization: string;
|
|
75
|
+
readonly database: string;
|
|
76
|
+
readonly branch: string;
|
|
77
|
+
readonly bouncer: string;
|
|
78
78
|
}, {
|
|
79
|
-
readonly
|
|
80
|
-
|
|
79
|
+
readonly id: string;
|
|
80
|
+
readonly name: string;
|
|
81
|
+
readonly sku: {
|
|
82
|
+
readonly name: string;
|
|
81
83
|
readonly display_name: string;
|
|
84
|
+
readonly cpu: string;
|
|
85
|
+
readonly ram: number;
|
|
86
|
+
readonly sort_order: number;
|
|
87
|
+
};
|
|
88
|
+
readonly target: "primary" | "replica" | "replica_az_affinity";
|
|
89
|
+
readonly replicas_per_cell: number;
|
|
90
|
+
readonly created_at: string;
|
|
91
|
+
readonly updated_at: string;
|
|
92
|
+
readonly deleted_at: string;
|
|
93
|
+
readonly actor: {
|
|
82
94
|
readonly id: string;
|
|
95
|
+
readonly display_name: string;
|
|
96
|
+
readonly avatar_url: string;
|
|
83
97
|
};
|
|
84
98
|
readonly branch: {
|
|
85
|
-
readonly created_at: string;
|
|
86
|
-
readonly deleted_at: string;
|
|
87
99
|
readonly id: string;
|
|
88
100
|
readonly name: string;
|
|
101
|
+
readonly created_at: string;
|
|
89
102
|
readonly updated_at: string;
|
|
103
|
+
readonly deleted_at: string;
|
|
90
104
|
};
|
|
91
|
-
readonly created_at: string;
|
|
92
|
-
readonly deleted_at: string;
|
|
93
|
-
readonly id: string;
|
|
94
|
-
readonly name: string;
|
|
95
105
|
readonly parameters: readonly {
|
|
96
|
-
readonly
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
};
|
|
106
|
+
readonly id: string;
|
|
107
|
+
readonly namespace: "pgbouncer";
|
|
108
|
+
readonly name: string;
|
|
109
|
+
readonly display_name: string;
|
|
101
110
|
readonly category: string;
|
|
102
|
-
readonly created_at: string;
|
|
103
|
-
readonly default_value: string;
|
|
104
111
|
readonly description: string;
|
|
105
|
-
readonly display_name: string;
|
|
106
|
-
readonly id: string;
|
|
107
112
|
readonly immutable: boolean;
|
|
108
|
-
readonly max: number;
|
|
109
|
-
readonly min: number;
|
|
110
|
-
readonly name: string;
|
|
111
|
-
readonly namespace: "pgbouncer";
|
|
112
|
-
readonly options: readonly string[];
|
|
113
113
|
readonly parameter_type: "array" | "integer" | "seconds" | "select" | "string";
|
|
114
|
+
readonly default_value: string;
|
|
115
|
+
readonly value: string;
|
|
114
116
|
readonly required: boolean;
|
|
117
|
+
readonly created_at: string;
|
|
118
|
+
readonly updated_at: string;
|
|
115
119
|
readonly restart: boolean;
|
|
120
|
+
readonly max: number;
|
|
121
|
+
readonly min: number;
|
|
116
122
|
readonly step: number;
|
|
117
|
-
readonly updated_at: string;
|
|
118
123
|
readonly url: string;
|
|
119
|
-
readonly
|
|
124
|
+
readonly options: readonly string[];
|
|
125
|
+
readonly actor: {
|
|
126
|
+
readonly id: string;
|
|
127
|
+
readonly display_name: string;
|
|
128
|
+
readonly avatar_url: string;
|
|
129
|
+
};
|
|
120
130
|
}[];
|
|
121
|
-
readonly replicas_per_cell: number;
|
|
122
|
-
readonly sku: {
|
|
123
|
-
readonly cpu: string;
|
|
124
|
-
readonly display_name: string;
|
|
125
|
-
readonly name: string;
|
|
126
|
-
readonly ram: number;
|
|
127
|
-
readonly sort_order: number;
|
|
128
|
-
};
|
|
129
|
-
readonly target: "primary" | "replica" | "replica_az_affinity";
|
|
130
|
-
readonly updated_at: string;
|
|
131
131
|
}, Forbidden | NotFound, import("../credentials.ts").Credentials>;
|
|
132
132
|
//# sourceMappingURL=getBouncer.d.ts.map
|
|
@@ -70,64 +70,64 @@ export type GetBranchOutput = typeof GetBranchOutput.Type;
|
|
|
70
70
|
* @param branch - Branch name from `list_branches`. Example: `main`.
|
|
71
71
|
*/
|
|
72
72
|
export declare const getBranch: import("@distilled.cloud/core/client").OperationMethod<{
|
|
73
|
-
readonly branch: string;
|
|
74
|
-
readonly database: string;
|
|
75
73
|
readonly organization: string;
|
|
74
|
+
readonly database: string;
|
|
75
|
+
readonly branch: string;
|
|
76
76
|
}, {
|
|
77
|
-
readonly
|
|
78
|
-
|
|
79
|
-
readonly display_name: string;
|
|
80
|
-
readonly id: string;
|
|
81
|
-
};
|
|
82
|
-
readonly cluster_iops: number | null;
|
|
83
|
-
readonly cluster_name: string;
|
|
77
|
+
readonly id: string;
|
|
78
|
+
readonly name: string;
|
|
84
79
|
readonly created_at: string;
|
|
80
|
+
readonly updated_at: string;
|
|
85
81
|
readonly deleted_at: string | null;
|
|
86
|
-
readonly
|
|
87
|
-
readonly
|
|
88
|
-
readonly has_replicas: boolean;
|
|
89
|
-
readonly html_url: string;
|
|
90
|
-
readonly id: string;
|
|
82
|
+
readonly restore_checklist_completed_at: string | null;
|
|
83
|
+
readonly schema_last_updated_at: string;
|
|
91
84
|
readonly kind: "mysql" | "postgresql";
|
|
92
|
-
readonly metal: boolean;
|
|
93
85
|
readonly mysql_address?: string | undefined;
|
|
94
86
|
readonly mysql_edge_address?: string | undefined;
|
|
95
|
-
readonly
|
|
96
|
-
readonly
|
|
97
|
-
readonly
|
|
98
|
-
readonly
|
|
87
|
+
readonly state: "awakening" | "pending" | "ready" | "sleep_in_progress" | "sleeping";
|
|
88
|
+
readonly direct_vtgate?: boolean | undefined;
|
|
89
|
+
readonly vtgate_size?: string | undefined;
|
|
90
|
+
readonly vtgate_count?: number | undefined;
|
|
91
|
+
readonly cluster_name: string;
|
|
92
|
+
readonly cluster_iops: number | null;
|
|
99
93
|
readonly ready: boolean;
|
|
100
|
-
readonly
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
94
|
+
readonly schema_ready?: boolean | undefined;
|
|
95
|
+
readonly metal: boolean;
|
|
96
|
+
readonly production: boolean;
|
|
97
|
+
readonly safe_migrations: boolean;
|
|
98
|
+
readonly sharded?: boolean | undefined;
|
|
99
|
+
readonly shard_count?: number | undefined;
|
|
100
|
+
readonly stale_schema: boolean;
|
|
101
|
+
readonly actor: {
|
|
104
102
|
readonly id: string;
|
|
105
|
-
readonly
|
|
106
|
-
readonly
|
|
107
|
-
readonly public_ip_addresses: readonly string[];
|
|
108
|
-
readonly slug: string;
|
|
103
|
+
readonly display_name: string;
|
|
104
|
+
readonly avatar_url: string;
|
|
109
105
|
};
|
|
110
|
-
readonly restore_checklist_completed_at: string | null;
|
|
111
106
|
readonly restored_from_branch: {
|
|
112
|
-
readonly created_at: string;
|
|
113
|
-
readonly deleted_at: string;
|
|
114
107
|
readonly id: string;
|
|
115
108
|
readonly name: string;
|
|
109
|
+
readonly created_at: string;
|
|
116
110
|
readonly updated_at: string;
|
|
111
|
+
readonly deleted_at: string;
|
|
117
112
|
} | null;
|
|
118
|
-
readonly
|
|
119
|
-
readonly
|
|
120
|
-
readonly
|
|
121
|
-
readonly
|
|
122
|
-
readonly sharded?: boolean | undefined;
|
|
123
|
-
readonly stale_schema: boolean;
|
|
124
|
-
readonly state: "awakening" | "pending" | "ready" | "sleep_in_progress" | "sleeping";
|
|
125
|
-
readonly updated_at: string;
|
|
113
|
+
readonly private_edge_connectivity: boolean;
|
|
114
|
+
readonly has_replicas: boolean;
|
|
115
|
+
readonly has_read_only_replicas: boolean;
|
|
116
|
+
readonly html_url: string;
|
|
126
117
|
readonly url: string;
|
|
127
|
-
readonly
|
|
118
|
+
readonly region: {
|
|
119
|
+
readonly id: string;
|
|
120
|
+
readonly provider: string;
|
|
121
|
+
readonly enabled: boolean;
|
|
122
|
+
readonly public_ip_addresses: readonly string[];
|
|
123
|
+
readonly display_name: string;
|
|
124
|
+
readonly location: string;
|
|
125
|
+
readonly slug: string;
|
|
126
|
+
readonly current_default: boolean;
|
|
127
|
+
};
|
|
128
|
+
readonly parent_branch: string | null;
|
|
128
129
|
readonly vtgate_options?: {
|
|
129
130
|
readonly [x: string]: unknown;
|
|
130
131
|
} | undefined;
|
|
131
|
-
readonly vtgate_size?: string | undefined;
|
|
132
132
|
}, Forbidden | NotFound, import("../credentials.ts").Credentials>;
|
|
133
133
|
//# sourceMappingURL=getBranch.d.ts.map
|