@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.
Files changed (169) hide show
  1. package/lib/credentials.d.ts +1 -1
  2. package/lib/credentials.d.ts.map +1 -1
  3. package/lib/credentials.js +2 -2
  4. package/lib/credentials.js.map +1 -1
  5. package/lib/operations/addOrganizationTeamMember.d.ts +53 -53
  6. package/lib/operations/cancelBouncerResizeRequest.d.ts +3 -3
  7. package/lib/operations/cancelBranchChangeRequest.d.ts +2 -2
  8. package/lib/operations/cancelDeployRequest.d.ts +92 -92
  9. package/lib/operations/checkDeployRequestStorage.d.ts +5 -5
  10. package/lib/operations/closeDeployRequest.d.ts +92 -92
  11. package/lib/operations/completeErroredDeploy.d.ts +92 -92
  12. package/lib/operations/completeGatedDeployRequest.d.ts +92 -92
  13. package/lib/operations/completeRevert.d.ts +92 -92
  14. package/lib/operations/createBackup.d.ts +42 -42
  15. package/lib/operations/createBackupPolicy.d.ts +16 -16
  16. package/lib/operations/createBouncer.d.ts +38 -38
  17. package/lib/operations/createBranch.d.ts +43 -43
  18. package/lib/operations/createDatabase.d.ts +47 -47
  19. package/lib/operations/createDatabasePostgresCidr.d.ts +12 -12
  20. package/lib/operations/createDeployRequest.d.ts +95 -95
  21. package/lib/operations/createKeyspace.d.ts +21 -21
  22. package/lib/operations/createOauthToken.d.ts +48 -48
  23. package/lib/operations/createOrganizationTeam.d.ts +22 -22
  24. package/lib/operations/createPassword.d.ts +34 -34
  25. package/lib/operations/createQueryPatternsReport.d.ts +10 -10
  26. package/lib/operations/createRole.d.ts +28 -28
  27. package/lib/operations/createServiceToken.d.ts +46 -46
  28. package/lib/operations/createTrafficBudget.d.ts +29 -29
  29. package/lib/operations/createTrafficRule.d.ts +15 -15
  30. package/lib/operations/createWebhook.d.ts +8 -8
  31. package/lib/operations/createWorkflow.d.ts +75 -75
  32. package/lib/operations/deleteBackup.d.ts +2 -2
  33. package/lib/operations/deleteBackupPolicy.d.ts +1 -1
  34. package/lib/operations/deleteBouncer.d.ts +3 -3
  35. package/lib/operations/deleteBranch.d.ts +2 -2
  36. package/lib/operations/deleteDatabase.d.ts +1 -1
  37. package/lib/operations/deleteDatabasePostgresCidr.d.ts +1 -1
  38. package/lib/operations/deleteKeyspace.d.ts +2 -2
  39. package/lib/operations/deleteOauthToken.d.ts +1 -1
  40. package/lib/operations/deletePassword.d.ts +2 -2
  41. package/lib/operations/deleteQueryPatternsReport.d.ts +2 -2
  42. package/lib/operations/deleteRole.d.ts +2 -2
  43. package/lib/operations/deleteServiceToken.d.ts +1 -1
  44. package/lib/operations/deleteTrafficBudget.d.ts +2 -2
  45. package/lib/operations/deleteTrafficRule.d.ts +2 -2
  46. package/lib/operations/deleteWebhook.d.ts +1 -1
  47. package/lib/operations/demoteBranch.d.ts +40 -40
  48. package/lib/operations/disableSafeMigrations.d.ts +40 -40
  49. package/lib/operations/dismissSchemaRecommendation.d.ts +16 -16
  50. package/lib/operations/enableSafeMigrations.d.ts +40 -40
  51. package/lib/operations/getBackup.d.ts +41 -41
  52. package/lib/operations/getBackupPolicy.d.ts +11 -11
  53. package/lib/operations/getBouncer.d.ts +37 -37
  54. package/lib/operations/getBranch.d.ts +40 -40
  55. package/lib/operations/getBranchChangeRequest.d.ts +26 -26
  56. package/lib/operations/getBranchSchema.d.ts +3 -3
  57. package/lib/operations/getCurrentUser.d.ts +10 -10
  58. package/lib/operations/getDatabase.d.ts +43 -43
  59. package/lib/operations/getDatabasePostgresCidr.d.ts +10 -10
  60. package/lib/operations/getDatabaseThrottler.d.ts +4 -4
  61. package/lib/operations/getDefaultRole.d.ts +26 -26
  62. package/lib/operations/getDeployQueue.d.ts +74 -74
  63. package/lib/operations/getDeployRequest.d.ts +92 -92
  64. package/lib/operations/getDeployRequestThrottler.d.ts +4 -4
  65. package/lib/operations/getDeployment.d.ts +70 -70
  66. package/lib/operations/getInvoice.d.ts +5 -5
  67. package/lib/operations/getInvoiceLineItems.d.ts +11 -11
  68. package/lib/operations/getKeyspace.d.ts +20 -20
  69. package/lib/operations/getKeyspaceRolloutStatus.d.ts +5 -5
  70. package/lib/operations/getKeyspaceVschema.d.ts +2 -2
  71. package/lib/operations/getMaintenanceSchedule.d.ts +14 -14
  72. package/lib/operations/getOauthApplication.d.ts +12 -12
  73. package/lib/operations/getOauthToken.d.ts +46 -46
  74. package/lib/operations/getOrganization.d.ts +12 -12
  75. package/lib/operations/getOrganizationMembership.d.ts +14 -14
  76. package/lib/operations/getOrganizationTeam.d.ts +20 -20
  77. package/lib/operations/getOrganizationTeamMember.d.ts +54 -54
  78. package/lib/operations/getPassword.d.ts +31 -31
  79. package/lib/operations/getQueryPatternsReport.d.ts +2 -2
  80. package/lib/operations/getQueryPatternsReportStatus.d.ts +10 -10
  81. package/lib/operations/getRole.d.ts +26 -26
  82. package/lib/operations/getSchemaRecommendation.d.ts +16 -16
  83. package/lib/operations/getServiceToken.d.ts +46 -46
  84. package/lib/operations/getTrafficBudget.d.ts +24 -24
  85. package/lib/operations/getWebhook.d.ts +7 -7
  86. package/lib/operations/getWorkflow.d.ts +71 -71
  87. package/lib/operations/lintBranchSchema.d.ts +18 -18
  88. package/lib/operations/listAuditLogs.d.ts +16 -16
  89. package/lib/operations/listBackupPolicies.d.ts +15 -15
  90. package/lib/operations/listBackups.d.ts +51 -51
  91. package/lib/operations/listBouncerResizeRequests.d.ts +31 -31
  92. package/lib/operations/listBouncers.d.ts +40 -40
  93. package/lib/operations/listBranchBouncerResizeRequests.d.ts +30 -30
  94. package/lib/operations/listBranchChangeRequests.d.ts +30 -30
  95. package/lib/operations/listBranches.d.ts +46 -46
  96. package/lib/operations/listClusterSizeSkus.d.ts +12 -12
  97. package/lib/operations/listDatabasePostgresCidrs.d.ts +14 -14
  98. package/lib/operations/listDatabaseRegions.d.ts +9 -9
  99. package/lib/operations/listDatabases.d.ts +47 -47
  100. package/lib/operations/listDeployOperations.d.ts +16 -16
  101. package/lib/operations/listDeployRequestReviews.d.ts +12 -12
  102. package/lib/operations/listDeployRequests.d.ts +100 -100
  103. package/lib/operations/listExtensions.d.ts +24 -24
  104. package/lib/operations/listGeneratedQueryPatternsReports.d.ts +14 -14
  105. package/lib/operations/listInvoices.d.ts +8 -8
  106. package/lib/operations/listKeyspaces.d.ts +24 -24
  107. package/lib/operations/listMaintenanceSchedules.d.ts +18 -18
  108. package/lib/operations/listMaintenanceWindows.d.ts +8 -8
  109. package/lib/operations/listOauthApplications.d.ts +15 -15
  110. package/lib/operations/listOauthTokens.d.ts +50 -50
  111. package/lib/operations/listOrganizationMembers.d.ts +18 -18
  112. package/lib/operations/listOrganizationTeamMembers.d.ts +58 -58
  113. package/lib/operations/listOrganizationTeams.d.ts +25 -25
  114. package/lib/operations/listOrganizations.d.ts +16 -16
  115. package/lib/operations/listParameters.d.ts +18 -18
  116. package/lib/operations/listPasswords.d.ts +36 -36
  117. package/lib/operations/listPublicRegions.d.ts +7 -7
  118. package/lib/operations/listReadOnlyRegions.d.ts +17 -17
  119. package/lib/operations/listRegionsForOrganization.d.ts +8 -8
  120. package/lib/operations/listRoles.d.ts +30 -30
  121. package/lib/operations/listSchemaRecommendations.d.ts +21 -21
  122. package/lib/operations/listServiceTokens.d.ts +49 -49
  123. package/lib/operations/listTrafficBudgets.d.ts +30 -30
  124. package/lib/operations/listWebhooks.d.ts +11 -11
  125. package/lib/operations/listWorkflows.d.ts +76 -76
  126. package/lib/operations/promoteBranch.d.ts +40 -40
  127. package/lib/operations/queueDeployRequest.d.ts +93 -93
  128. package/lib/operations/reassignRoleObjects.d.ts +2 -2
  129. package/lib/operations/removeOrganizationMember.d.ts +2 -2
  130. package/lib/operations/removeOrganizationTeamMember.d.ts +2 -2
  131. package/lib/operations/renewPassword.d.ts +31 -31
  132. package/lib/operations/renewRole.d.ts +26 -26
  133. package/lib/operations/resetDefaultRole.d.ts +26 -26
  134. package/lib/operations/resetRole.d.ts +26 -26
  135. package/lib/operations/reviewDeployRequest.d.ts +9 -9
  136. package/lib/operations/skipRevertPeriod.d.ts +92 -92
  137. package/lib/operations/testWebhook.d.ts +1 -1
  138. package/lib/operations/updateAutoApply.d.ts +93 -93
  139. package/lib/operations/updateAutoDeleteBranch.d.ts +93 -93
  140. package/lib/operations/updateBackup.d.ts +41 -41
  141. package/lib/operations/updateBackupPolicy.d.ts +17 -17
  142. package/lib/operations/updateBouncerResizeRequest.d.ts +28 -28
  143. package/lib/operations/updateBranch.d.ts +40 -40
  144. package/lib/operations/updateBranchChangeRequest.d.ts +27 -27
  145. package/lib/operations/updateBranchClusterConfig.d.ts +2 -2
  146. package/lib/operations/updateDatabasePostgresCidr.d.ts +12 -12
  147. package/lib/operations/updateDatabaseSettings.d.ts +50 -50
  148. package/lib/operations/updateDatabaseThrottler.d.ts +5 -5
  149. package/lib/operations/updateDeployRequestThrottler.d.ts +5 -5
  150. package/lib/operations/updateKeyspace.d.ts +20 -20
  151. package/lib/operations/updateKeyspaceVschema.d.ts +2 -2
  152. package/lib/operations/updateOrganization.d.ts +13 -13
  153. package/lib/operations/updateOrganizationMembership.d.ts +14 -14
  154. package/lib/operations/updateOrganizationTeam.d.ts +22 -22
  155. package/lib/operations/updatePassword.d.ts +32 -32
  156. package/lib/operations/updateRole.d.ts +26 -26
  157. package/lib/operations/updateTrafficBudget.d.ts +29 -29
  158. package/lib/operations/updateWebhook.d.ts +9 -9
  159. package/lib/operations/verifyWorkflow.d.ts +71 -71
  160. package/lib/operations/workflowCancel.d.ts +71 -71
  161. package/lib/operations/workflowComplete.d.ts +71 -71
  162. package/lib/operations/workflowCutover.d.ts +71 -71
  163. package/lib/operations/workflowRetry.d.ts +71 -71
  164. package/lib/operations/workflowReverseCutover.d.ts +71 -71
  165. package/lib/operations/workflowReverseTraffic.d.ts +71 -71
  166. package/lib/operations/workflowSwitchPrimaries.d.ts +71 -71
  167. package/lib/operations/workflowSwitchReplicas.d.ts +71 -71
  168. package/package.json +3 -3
  169. package/src/credentials.ts +2 -2
@@ -77,65 +77,65 @@ export type CreateBouncerOutput = typeof CreateBouncerOutput.Type;
77
77
  * @param replicas_per_cell - The number of replica servers per cell
78
78
  */
79
79
  export declare const createBouncer: import("@distilled.cloud/core/client").OperationMethod<{
80
- readonly bouncer_size?: string | undefined;
81
- readonly branch: string;
80
+ readonly organization: string;
82
81
  readonly database: string;
82
+ readonly branch: string;
83
83
  readonly name?: string | undefined;
84
- readonly organization: string;
85
- readonly replicas_per_cell?: number | undefined;
86
84
  readonly target?: string | undefined;
85
+ readonly bouncer_size?: string | undefined;
86
+ readonly replicas_per_cell?: number | undefined;
87
87
  }, {
88
- readonly actor: {
89
- readonly avatar_url: string;
88
+ readonly id: string;
89
+ readonly name: string;
90
+ readonly sku: {
91
+ readonly name: string;
90
92
  readonly display_name: string;
93
+ readonly cpu: string;
94
+ readonly ram: number;
95
+ readonly sort_order: number;
96
+ };
97
+ readonly target: "primary" | "replica" | "replica_az_affinity";
98
+ readonly replicas_per_cell: number;
99
+ readonly created_at: string;
100
+ readonly updated_at: string;
101
+ readonly deleted_at: string;
102
+ readonly actor: {
91
103
  readonly id: string;
104
+ readonly display_name: string;
105
+ readonly avatar_url: string;
92
106
  };
93
107
  readonly branch: {
94
- readonly created_at: string;
95
- readonly deleted_at: string;
96
108
  readonly id: string;
97
109
  readonly name: string;
110
+ readonly created_at: string;
98
111
  readonly updated_at: string;
112
+ readonly deleted_at: string;
99
113
  };
100
- readonly created_at: string;
101
- readonly deleted_at: string;
102
- readonly id: string;
103
- readonly name: string;
104
114
  readonly parameters: readonly {
105
- readonly actor: {
106
- readonly avatar_url: string;
107
- readonly display_name: string;
108
- readonly id: string;
109
- };
115
+ readonly id: string;
116
+ readonly namespace: "pgbouncer";
117
+ readonly name: string;
118
+ readonly display_name: string;
110
119
  readonly category: string;
111
- readonly created_at: string;
112
- readonly default_value: string;
113
120
  readonly description: string;
114
- readonly display_name: string;
115
- readonly id: string;
116
121
  readonly immutable: boolean;
117
- readonly max: number;
118
- readonly min: number;
119
- readonly name: string;
120
- readonly namespace: "pgbouncer";
121
- readonly options: readonly string[];
122
122
  readonly parameter_type: "array" | "integer" | "seconds" | "select" | "string";
123
+ readonly default_value: string;
124
+ readonly value: string;
123
125
  readonly required: boolean;
126
+ readonly created_at: string;
127
+ readonly updated_at: string;
124
128
  readonly restart: boolean;
129
+ readonly max: number;
130
+ readonly min: number;
125
131
  readonly step: number;
126
- readonly updated_at: string;
127
132
  readonly url: string;
128
- readonly value: string;
133
+ readonly options: readonly string[];
134
+ readonly actor: {
135
+ readonly id: string;
136
+ readonly display_name: string;
137
+ readonly avatar_url: string;
138
+ };
129
139
  }[];
130
- readonly replicas_per_cell: number;
131
- readonly sku: {
132
- readonly cpu: string;
133
- readonly display_name: string;
134
- readonly name: string;
135
- readonly ram: number;
136
- readonly sort_order: number;
137
- };
138
- readonly target: "primary" | "replica" | "replica_az_affinity";
139
- readonly updated_at: string;
140
140
  }, Forbidden | NotFound, import("../credentials.ts").Credentials>;
141
141
  //# sourceMappingURL=createBouncer.d.ts.map
@@ -88,75 +88,75 @@ export type CreateBranchOutput = typeof CreateBranchOutput.Type;
88
88
  * @param major_version - For PostgreSQL databases, the PostgreSQL major version to use for the branch. Defaults to the major version of the parent branch if it exists or the database's default branch major version. Ignored for branches restored from backups.
89
89
  */
90
90
  export declare const createBranch: import("@distilled.cloud/core/client").OperationMethod<{
91
- readonly backup_id?: string | undefined;
92
- readonly cluster_size?: string | undefined;
91
+ readonly organization: string;
93
92
  readonly database: string;
94
- readonly major_version?: string | undefined;
95
93
  readonly name: string;
96
- readonly organization: string;
97
94
  readonly parent_branch?: string | undefined;
95
+ readonly backup_id?: string | undefined;
98
96
  readonly region?: string | undefined;
99
97
  readonly restore_point?: string | undefined;
100
98
  readonly seed_data?: "last_successful_backup" | undefined;
99
+ readonly cluster_size?: string | undefined;
101
100
  readonly storage?: {
102
- readonly maximum_storage_bytes?: number | undefined;
103
101
  readonly minimum_storage_bytes?: number | undefined;
102
+ readonly maximum_storage_bytes?: number | undefined;
104
103
  } | undefined;
104
+ readonly major_version?: string | undefined;
105
105
  }, {
106
- readonly actor: {
107
- readonly avatar_url: string;
108
- readonly display_name: string;
109
- readonly id: string;
110
- };
111
- readonly cluster_iops: number | null;
112
- readonly cluster_name: string;
106
+ readonly id: string;
107
+ readonly name: string;
113
108
  readonly created_at: string;
109
+ readonly updated_at: string;
114
110
  readonly deleted_at: string | null;
115
- readonly direct_vtgate?: boolean | undefined;
116
- readonly has_read_only_replicas: boolean;
117
- readonly has_replicas: boolean;
118
- readonly html_url: string;
119
- readonly id: string;
111
+ readonly restore_checklist_completed_at: string | null;
112
+ readonly schema_last_updated_at: string;
120
113
  readonly kind: "mysql" | "postgresql";
121
- readonly metal: boolean;
122
114
  readonly mysql_address?: string | undefined;
123
115
  readonly mysql_edge_address?: string | undefined;
124
- readonly name: string;
125
- readonly parent_branch: string | null;
126
- readonly private_edge_connectivity: boolean;
127
- readonly production: boolean;
116
+ readonly state: "awakening" | "pending" | "ready" | "sleep_in_progress" | "sleeping";
117
+ readonly direct_vtgate?: boolean | undefined;
118
+ readonly vtgate_size?: string | undefined;
119
+ readonly vtgate_count?: number | undefined;
120
+ readonly cluster_name: string;
121
+ readonly cluster_iops: number | null;
128
122
  readonly ready: boolean;
129
- readonly region: {
130
- readonly current_default: boolean;
131
- readonly display_name: string;
132
- readonly enabled: boolean;
123
+ readonly schema_ready?: boolean | undefined;
124
+ readonly metal: boolean;
125
+ readonly production: boolean;
126
+ readonly safe_migrations: boolean;
127
+ readonly sharded?: boolean | undefined;
128
+ readonly shard_count?: number | undefined;
129
+ readonly stale_schema: boolean;
130
+ readonly actor: {
133
131
  readonly id: string;
134
- readonly location: string;
135
- readonly provider: string;
136
- readonly public_ip_addresses: readonly string[];
137
- readonly slug: string;
132
+ readonly display_name: string;
133
+ readonly avatar_url: string;
138
134
  };
139
- readonly restore_checklist_completed_at: string | null;
140
135
  readonly restored_from_branch: {
141
- readonly created_at: string;
142
- readonly deleted_at: string;
143
136
  readonly id: string;
144
137
  readonly name: string;
138
+ readonly created_at: string;
145
139
  readonly updated_at: string;
140
+ readonly deleted_at: string;
146
141
  } | null;
147
- readonly safe_migrations: boolean;
148
- readonly schema_last_updated_at: string;
149
- readonly schema_ready?: boolean | undefined;
150
- readonly shard_count?: number | undefined;
151
- readonly sharded?: boolean | undefined;
152
- readonly stale_schema: boolean;
153
- readonly state: "awakening" | "pending" | "ready" | "sleep_in_progress" | "sleeping";
154
- readonly updated_at: string;
142
+ readonly private_edge_connectivity: boolean;
143
+ readonly has_replicas: boolean;
144
+ readonly has_read_only_replicas: boolean;
145
+ readonly html_url: string;
155
146
  readonly url: string;
156
- readonly vtgate_count?: number | undefined;
147
+ readonly region: {
148
+ readonly id: string;
149
+ readonly provider: string;
150
+ readonly enabled: boolean;
151
+ readonly public_ip_addresses: readonly string[];
152
+ readonly display_name: string;
153
+ readonly location: string;
154
+ readonly slug: string;
155
+ readonly current_default: boolean;
156
+ };
157
+ readonly parent_branch: string | null;
157
158
  readonly vtgate_options?: {
158
159
  readonly [x: string]: unknown;
159
160
  } | undefined;
160
- readonly vtgate_size?: string | undefined;
161
161
  }, Forbidden | NotFound, import("../credentials.ts").Credentials>;
162
162
  //# sourceMappingURL=createBranch.d.ts.map
@@ -89,77 +89,77 @@ export type CreateDatabaseOutput = typeof CreateDatabaseOutput.Type;
89
89
  * @param major_version - For PostgreSQL databases, the PostgreSQL major version to use for the database. Defaults to the latest available major version.
90
90
  */
91
91
  export declare const createDatabase: import("@distilled.cloud/core/client").OperationMethod<{
92
- readonly cluster_size: string;
93
- readonly kind?: "mysql" | "postgresql" | undefined;
94
- readonly major_version?: string | undefined;
95
- readonly name: string;
96
92
  readonly organization: string;
93
+ readonly name: string;
97
94
  readonly region?: string | undefined;
95
+ readonly cluster_size: string;
98
96
  readonly replicas?: number | undefined;
97
+ readonly kind?: "mysql" | "postgresql" | undefined;
98
+ readonly major_version?: string | undefined;
99
99
  readonly storage?: {
100
- readonly maximum_storage_bytes?: number | undefined;
101
100
  readonly minimum_storage_bytes?: number | undefined;
101
+ readonly maximum_storage_bytes?: number | undefined;
102
102
  } | undefined;
103
103
  }, {
104
- readonly allow_data_branching?: boolean | undefined;
104
+ readonly id: string;
105
+ readonly url: string;
106
+ readonly branches_url: string;
107
+ readonly branches_count?: number | undefined;
108
+ readonly open_schema_recommendations_count?: number | undefined;
109
+ readonly development_branches_count?: number | undefined;
110
+ readonly production_branches_count?: number | undefined;
111
+ readonly issues_count?: number | undefined;
112
+ readonly multiple_admins_required_for_deletion?: boolean | undefined;
113
+ readonly ready: boolean;
105
114
  readonly at_backup_restore_branches_limit?: boolean | undefined;
106
115
  readonly at_development_branch_usage_limit?: boolean | undefined;
107
- readonly automatic_migrations?: boolean | null | undefined;
108
- readonly branches_count?: number | undefined;
109
- readonly branches_url: string;
110
- readonly config_change_queued?: boolean | undefined;
111
- readonly config_changing?: boolean | undefined;
112
- readonly created_at: string;
113
116
  readonly data_import?: {
117
+ readonly state: string;
118
+ readonly import_check_errors: string;
119
+ readonly started_at: string;
120
+ readonly finished_at: string;
114
121
  readonly data_source: {
115
- readonly database: string;
116
122
  readonly hostname: string;
117
123
  readonly port: number;
124
+ readonly database: string;
118
125
  };
119
- readonly finished_at: string;
120
- readonly import_check_errors: string;
121
- readonly started_at: string;
122
- readonly state: string;
123
126
  } | null | undefined;
124
- readonly default_branch?: string | undefined;
125
- readonly default_branch_read_only_regions_count?: number | undefined;
126
- readonly default_branch_shard_count?: number | undefined;
127
- readonly default_branch_table_count?: number | undefined;
128
- readonly development_branches_count?: number | undefined;
129
- readonly foreign_keys_enabled?: boolean | undefined;
130
- readonly html_url: string;
131
- readonly id: string;
132
- readonly insights_enabled?: boolean | undefined;
133
- readonly insights_raw_queries?: boolean | undefined;
134
- readonly issues_count?: number | undefined;
135
- readonly kind: "mysql" | "postgresql";
136
- readonly migration_framework?: string | null | undefined;
137
- readonly migration_table_name?: string | null | undefined;
138
- readonly multiple_admins_required_for_deletion?: boolean | undefined;
139
- readonly name: string;
140
- readonly open_schema_recommendations_count?: number | undefined;
141
- readonly plan?: string | undefined;
142
- readonly production_branch_web_console?: boolean | undefined;
143
- readonly production_branches_count?: number | undefined;
144
- readonly ready: boolean;
145
127
  readonly region: {
146
- readonly current_default: boolean;
147
- readonly display_name: string;
148
- readonly enabled: boolean;
149
128
  readonly id: string;
150
- readonly location: string;
151
129
  readonly provider: string;
130
+ readonly enabled: boolean;
152
131
  readonly public_ip_addresses: readonly string[];
132
+ readonly display_name: string;
133
+ readonly location: string;
153
134
  readonly slug: string;
135
+ readonly current_default: boolean;
154
136
  };
137
+ readonly html_url: string;
138
+ readonly name: string;
139
+ readonly state: "awakening" | "import_ready" | "importing" | "pending" | "ready" | "sleep_in_progress" | "sleeping";
140
+ readonly sharded?: boolean | undefined;
141
+ readonly default_branch_shard_count?: number | undefined;
142
+ readonly default_branch_read_only_regions_count?: number | undefined;
143
+ readonly default_branch_table_count?: number | undefined;
144
+ readonly default_branch?: string | undefined;
155
145
  readonly require_approval_for_deploy?: boolean | undefined;
156
- readonly resize_queued?: boolean | undefined;
157
146
  readonly resizing?: boolean | undefined;
147
+ readonly resize_queued?: boolean | undefined;
148
+ readonly config_changing?: boolean | undefined;
149
+ readonly config_change_queued?: boolean | undefined;
150
+ readonly allow_data_branching?: boolean | undefined;
151
+ readonly foreign_keys_enabled?: boolean | undefined;
152
+ readonly automatic_migrations?: boolean | null | undefined;
158
153
  readonly restrict_branch_region?: boolean | undefined;
159
- readonly schema_last_updated_at?: string | undefined;
160
- readonly sharded?: boolean | undefined;
161
- readonly state: "awakening" | "import_ready" | "importing" | "pending" | "ready" | "sleep_in_progress" | "sleeping";
154
+ readonly insights_raw_queries?: boolean | undefined;
155
+ readonly plan?: string | undefined;
156
+ readonly insights_enabled?: boolean | undefined;
157
+ readonly production_branch_web_console?: boolean | undefined;
158
+ readonly migration_table_name?: string | null | undefined;
159
+ readonly migration_framework?: string | null | undefined;
160
+ readonly created_at: string;
162
161
  readonly updated_at: string;
163
- readonly url: string;
162
+ readonly schema_last_updated_at?: string | undefined;
163
+ readonly kind: "mysql" | "postgresql";
164
164
  }, Forbidden | NotFound | UnprocessableEntity, import("../credentials.ts").Credentials>;
165
165
  //# sourceMappingURL=createDatabase.d.ts.map
@@ -33,23 +33,23 @@ export type CreateDatabasePostgresCidrOutput = typeof CreateDatabasePostgresCidr
33
33
  * @param cidrs - List of IPv4 CIDR ranges (e.g., ['192.168.1.0/24', '192.168.1.1/32']). Must contain at least one valid IPv4 address or range.
34
34
  */
35
35
  export declare const createDatabasePostgresCidr: import("@distilled.cloud/core/client").OperationMethod<{
36
- readonly cidrs: readonly string[];
37
- readonly database: string;
38
36
  readonly organization: string;
39
- readonly role?: string | undefined;
37
+ readonly database: string;
40
38
  readonly schema?: string | undefined;
41
- }, {
42
- readonly actor: {
43
- readonly avatar_url: string;
44
- readonly display_name: string;
45
- readonly id: string;
46
- };
39
+ readonly role?: string | undefined;
47
40
  readonly cidrs: readonly string[];
48
- readonly created_at: string;
49
- readonly deleted_at: string;
41
+ }, {
50
42
  readonly id: string;
51
- readonly role: string;
52
43
  readonly schema: string;
44
+ readonly role: string;
45
+ readonly cidrs: readonly string[];
46
+ readonly created_at: string;
53
47
  readonly updated_at: string;
48
+ readonly deleted_at: string;
49
+ readonly actor: {
50
+ readonly id: string;
51
+ readonly display_name: string;
52
+ readonly avatar_url: string;
53
+ };
54
54
  }, Forbidden | NotFound | UnprocessableEntity, import("../credentials.ts").Credentials>;
55
55
  //# sourceMappingURL=createDatabasePostgresCidr.d.ts.map
@@ -154,154 +154,154 @@ export type CreateDeployRequestOutput = typeof CreateDeployRequestOutput.Type;
154
154
  * @param auto_delete_branch - Whether or not to enable auto_delete_branch for the deploy request. When enabled, will delete the branch once the DR successfully completes.
155
155
  */
156
156
  export declare const createDeployRequest: import("@distilled.cloud/core/client").OperationMethod<{
157
- readonly auto_cutover?: boolean | undefined;
158
- readonly auto_delete_branch?: boolean | undefined;
159
- readonly branch: string;
157
+ readonly organization: string;
160
158
  readonly database: string;
159
+ readonly branch: string;
161
160
  readonly into_branch: string;
162
161
  readonly notes?: string | undefined;
163
- readonly organization: string;
162
+ readonly auto_cutover?: boolean | undefined;
163
+ readonly auto_delete_branch?: boolean | undefined;
164
164
  }, {
165
+ readonly id: string;
166
+ readonly number: number;
165
167
  readonly actor: {
166
- readonly avatar_url: string;
168
+ readonly id: string;
167
169
  readonly display_name: string;
170
+ readonly avatar_url: string;
171
+ };
172
+ readonly closed_by: {
168
173
  readonly id: string;
174
+ readonly display_name: string;
175
+ readonly avatar_url: string;
169
176
  };
170
- readonly approved: boolean;
171
177
  readonly branch: string;
178
+ readonly branch_id: string;
172
179
  readonly branch_deleted: boolean;
173
- readonly branch_deleted_at: string;
174
180
  readonly branch_deleted_by: {
175
- readonly avatar_url: string;
176
- readonly display_name: string;
177
181
  readonly id: string;
178
- };
179
- readonly branch_id: string;
180
- readonly closed_at: string;
181
- readonly closed_by: {
182
- readonly avatar_url: string;
183
182
  readonly display_name: string;
184
- readonly id: string;
183
+ readonly avatar_url: string;
185
184
  };
186
- readonly created_at: string;
187
- readonly deployed_at: string;
185
+ readonly branch_deleted_at: string;
186
+ readonly into_branch: string;
187
+ readonly into_branch_sharded: boolean;
188
+ readonly into_branch_shard_count: number;
189
+ readonly approved: boolean;
190
+ readonly state: "closed" | "open";
191
+ 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";
188
192
  readonly deployment: {
189
- readonly actor: {
190
- readonly avatar_url: string;
191
- readonly display_name: string;
192
- readonly id: string;
193
- };
193
+ readonly id: string;
194
194
  readonly auto_cutover: boolean;
195
195
  readonly auto_delete_branch: boolean;
196
- readonly cancelled_actor: {
197
- readonly avatar_url: string;
198
- readonly display_name: string;
199
- readonly id: string;
200
- };
201
196
  readonly created_at: string;
202
- readonly cutover_actor: {
203
- readonly avatar_url: string;
204
- readonly display_name: string;
205
- readonly id: string;
206
- };
207
197
  readonly cutover_at: string;
208
198
  readonly cutover_expiring: boolean;
209
199
  readonly deploy_check_errors: string;
210
- readonly deploy_operation_summaries: readonly {
211
- readonly can_drop_data: boolean;
212
- readonly created_at: string;
213
- readonly ddl_statement: string;
214
- readonly deploy_errors: string;
215
- readonly eta_seconds: number;
200
+ readonly finished_at: string;
201
+ readonly queued_at: string;
202
+ readonly ready_to_cutover_at: string;
203
+ readonly started_at: string;
204
+ 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";
205
+ readonly submitted_at: string;
206
+ readonly updated_at: string;
207
+ readonly into_branch: string;
208
+ readonly deploy_request_number: number;
209
+ readonly deployable: boolean;
210
+ readonly preceding_deployments: readonly {
211
+ readonly [x: string]: unknown;
212
+ }[];
213
+ readonly deploy_operations: readonly {
216
214
  readonly id: string;
215
+ readonly state: "cancelled" | "complete" | "error" | "in_progress" | "pending" | "queued";
217
216
  readonly keyspace_name: string;
217
+ readonly table_name: string;
218
218
  readonly operation_name: string;
219
- readonly operations: readonly {
220
- readonly eta_seconds: number;
221
- readonly id: string;
222
- readonly progress_percentage: number;
223
- readonly shard: string;
224
- readonly state: "cancelled" | "complete" | "error" | "in_progress" | "pending" | "queued";
225
- }[];
219
+ readonly eta_seconds: number;
226
220
  readonly progress_percentage: number;
227
- readonly removed_foreign_key_names: readonly string[];
228
- readonly shard_count: number;
229
- readonly shard_names: readonly string[];
230
- readonly sharded: boolean;
231
- readonly state: "cancelled" | "complete" | "error" | "in_progress" | "pending";
221
+ readonly deploy_error_docs_url: string;
222
+ readonly ddl_statement: string;
232
223
  readonly syntax_highlighted_ddl: string;
233
- readonly table_name: string;
224
+ readonly created_at: string;
225
+ readonly updated_at: string;
226
+ readonly throttled_at: string;
227
+ readonly can_drop_data: boolean;
228
+ readonly table_locked: boolean;
234
229
  readonly table_recently_used: boolean;
235
230
  readonly table_recently_used_at: string;
236
- readonly throttled_at: string;
231
+ readonly removed_foreign_key_names: readonly string[];
232
+ readonly deploy_errors: string;
237
233
  }[];
238
- readonly deploy_operations: readonly {
239
- readonly can_drop_data: boolean;
234
+ readonly deploy_operation_summaries: readonly {
235
+ readonly id: string;
240
236
  readonly created_at: string;
241
- readonly ddl_statement: string;
242
- readonly deploy_error_docs_url: string;
243
237
  readonly deploy_errors: string;
238
+ readonly ddl_statement: string;
244
239
  readonly eta_seconds: number;
245
- readonly id: string;
246
240
  readonly keyspace_name: string;
247
241
  readonly operation_name: string;
248
242
  readonly progress_percentage: number;
249
- readonly removed_foreign_key_names: readonly string[];
250
- readonly state: "cancelled" | "complete" | "error" | "in_progress" | "pending" | "queued";
243
+ readonly state: "cancelled" | "complete" | "error" | "in_progress" | "pending";
251
244
  readonly syntax_highlighted_ddl: string;
252
- readonly table_locked: boolean;
253
245
  readonly table_name: string;
254
- readonly table_recently_used: boolean;
255
246
  readonly table_recently_used_at: string;
256
247
  readonly throttled_at: string;
257
- readonly updated_at: string;
248
+ readonly removed_foreign_key_names: readonly string[];
249
+ readonly shard_count: number;
250
+ readonly shard_names: readonly string[];
251
+ readonly can_drop_data: boolean;
252
+ readonly table_recently_used: boolean;
253
+ readonly sharded: boolean;
254
+ readonly operations: readonly {
255
+ readonly id: string;
256
+ readonly shard: string;
257
+ readonly state: "cancelled" | "complete" | "error" | "in_progress" | "pending" | "queued";
258
+ readonly progress_percentage: number;
259
+ readonly eta_seconds: number;
260
+ }[];
258
261
  }[];
259
- readonly deploy_request_number: number;
260
- readonly deployable: boolean;
261
- readonly deployment_revert_request: {
262
- readonly [x: string]: unknown;
263
- };
264
- readonly finished_at: string;
265
- readonly id: string;
266
- readonly instant_ddl: boolean;
267
- readonly instant_ddl_eligible: boolean;
268
- readonly into_branch: string;
269
262
  readonly lint_errors: readonly {
270
263
  readonly [x: string]: unknown;
271
264
  }[];
272
- readonly locked_table_name: string;
273
- readonly lookup_vindex_operations: readonly {
274
- readonly [x: string]: unknown;
275
- }[];
276
- readonly preceding_deployments: readonly {
265
+ readonly sequential_diff_dependencies: readonly {
277
266
  readonly [x: string]: unknown;
278
267
  }[];
279
- readonly queued_at: string;
280
- readonly ready_to_cutover_at: string;
281
- readonly schema_last_updated_at: string;
282
- readonly sequential_diff_dependencies: readonly {
268
+ readonly lookup_vindex_operations: readonly {
283
269
  readonly [x: string]: unknown;
284
270
  }[];
285
- readonly started_at: string;
286
- 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";
287
- readonly submitted_at: string;
288
- readonly table_locked: boolean;
289
271
  readonly throttler_configurations: readonly {
290
272
  readonly [x: string]: unknown;
291
273
  }[];
292
- readonly updated_at: string;
274
+ readonly deployment_revert_request: {
275
+ readonly [x: string]: unknown;
276
+ };
277
+ readonly actor: {
278
+ readonly id: string;
279
+ readonly display_name: string;
280
+ readonly avatar_url: string;
281
+ };
282
+ readonly cutover_actor: {
283
+ readonly id: string;
284
+ readonly display_name: string;
285
+ readonly avatar_url: string;
286
+ };
287
+ readonly cancelled_actor: {
288
+ readonly id: string;
289
+ readonly display_name: string;
290
+ readonly avatar_url: string;
291
+ };
292
+ readonly schema_last_updated_at: string;
293
+ readonly table_locked: boolean;
294
+ readonly locked_table_name: string;
295
+ readonly instant_ddl: boolean;
296
+ readonly instant_ddl_eligible: boolean;
293
297
  };
294
- 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";
295
- readonly html_body: string;
298
+ readonly num_comments: number;
296
299
  readonly html_url: string;
297
- readonly id: string;
298
- readonly into_branch: string;
299
- readonly into_branch_shard_count: number;
300
- readonly into_branch_sharded: boolean;
301
300
  readonly notes: string;
302
- readonly num_comments: number;
303
- readonly number: number;
304
- readonly state: "closed" | "open";
301
+ readonly html_body: string;
302
+ readonly created_at: string;
305
303
  readonly updated_at: string;
304
+ readonly closed_at: string;
305
+ readonly deployed_at: string;
306
306
  }, Forbidden | NotFound, import("../credentials.ts").Credentials>;
307
307
  //# sourceMappingURL=createDeployRequest.d.ts.map