@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
@@ -55,50 +55,50 @@ export type GetBranchChangeRequestOutput = typeof GetBranchChangeRequestOutput.T
55
55
  * @param id - The ID of the change request
56
56
  */
57
57
  export declare const getBranchChangeRequest: import("@distilled.cloud/core/client").OperationMethod<{
58
- readonly branch: string;
58
+ readonly organization: string;
59
59
  readonly database: string;
60
+ readonly branch: string;
60
61
  readonly id: string;
61
- readonly organization: string;
62
62
  }, {
63
+ readonly id: string;
64
+ readonly restart: readonly number[];
65
+ readonly state: "canceled" | "completed" | "pending" | "queued" | "resizing";
66
+ readonly started_at: string;
67
+ readonly completed_at: string;
68
+ readonly created_at: string;
69
+ readonly updated_at: string;
63
70
  readonly actor: {
64
- readonly avatar_url: string;
65
- readonly display_name: string;
66
71
  readonly id: string;
72
+ readonly display_name: string;
73
+ readonly avatar_url: string;
67
74
  };
75
+ readonly cluster_name: string;
68
76
  readonly cluster_display_name: string;
69
77
  readonly cluster_metal: boolean;
70
- readonly cluster_name: string;
71
- readonly completed_at: string;
72
- readonly created_at: string;
73
- readonly id: string;
74
- readonly maximum_storage_bytes: number;
75
- readonly minimum_storage_bytes: number;
78
+ readonly replicas: number;
76
79
  readonly parameters: {
77
80
  readonly [x: string]: unknown;
78
81
  };
82
+ readonly previous_cluster_name: string;
79
83
  readonly previous_cluster_display_name: string;
80
84
  readonly previous_cluster_metal: boolean;
81
- readonly previous_cluster_name: string;
82
- readonly previous_maximum_storage_bytes: number;
83
- readonly previous_minimum_storage_bytes: number;
85
+ readonly previous_replicas: number;
84
86
  readonly previous_parameters: {
85
87
  readonly [x: string]: unknown;
86
88
  };
87
- readonly previous_replicas: number;
88
- readonly previous_storage_autoscaling: boolean;
89
- readonly previous_storage_iops: number;
90
- readonly previous_storage_shrinking: boolean;
91
- readonly previous_storage_throughput_mibs: number;
92
- readonly previous_storage_type: string;
93
- readonly replicas: number;
94
- readonly restart: readonly number[];
95
- readonly started_at: string;
96
- readonly state: "canceled" | "completed" | "pending" | "queued" | "resizing";
89
+ readonly minimum_storage_bytes: number;
90
+ readonly maximum_storage_bytes: number;
97
91
  readonly storage_autoscaling: boolean;
98
- readonly storage_iops: number;
99
92
  readonly storage_shrinking: boolean;
100
- readonly storage_throughput_mibs: number;
101
93
  readonly storage_type: "gp3" | "io2" | "pd_ssd";
102
- readonly updated_at: string;
94
+ readonly storage_iops: number;
95
+ readonly storage_throughput_mibs: number;
96
+ readonly previous_minimum_storage_bytes: number;
97
+ readonly previous_maximum_storage_bytes: number;
98
+ readonly previous_storage_autoscaling: boolean;
99
+ readonly previous_storage_shrinking: boolean;
100
+ readonly previous_storage_type: string;
101
+ readonly previous_storage_iops: number;
102
+ readonly previous_storage_throughput_mibs: number;
103
103
  }, Forbidden | NotFound, import("../credentials.ts").Credentials>;
104
104
  //# sourceMappingURL=getBranchChangeRequest.d.ts.map
@@ -26,15 +26,15 @@ export type GetBranchSchemaOutput = typeof GetBranchSchemaOutput.Type;
26
26
  * @param namespace - Return the schema for a PostgreSQL catalog namespace in `<database>.<schema>` format (e.g. public.schema1)
27
27
  */
28
28
  export declare const getBranchSchema: import("@distilled.cloud/core/client").OperationMethod<{
29
- readonly branch: string;
29
+ readonly organization: string;
30
30
  readonly database: string;
31
+ readonly branch: string;
31
32
  readonly keyspace?: string | undefined;
32
33
  readonly namespace?: string | undefined;
33
- readonly organization: string;
34
34
  }, {
35
35
  readonly data: readonly {
36
- readonly html: string;
37
36
  readonly name: string;
37
+ readonly html: string;
38
38
  readonly raw: string;
39
39
  }[];
40
40
  }, Forbidden | NotFound, import("../credentials.ts").Credentials>;
@@ -30,24 +30,24 @@ export type GetCurrentUserOutput = typeof GetCurrentUserOutput.Type;
30
30
  * Get the user associated with this service token
31
31
  */
32
32
  export declare const getCurrentUser: import("@distilled.cloud/core/client").OperationMethod<{}, {
33
+ readonly id: string;
34
+ readonly display_name: string;
35
+ readonly name?: string | null | undefined;
36
+ readonly email: string;
33
37
  readonly avatar_url: string;
34
38
  readonly created_at: string;
39
+ readonly updated_at: string;
40
+ readonly two_factor_auth_configured: boolean;
35
41
  readonly default_organization?: {
36
- readonly created_at: string;
37
- readonly deleted_at: string;
38
42
  readonly id: string;
39
43
  readonly name: string;
44
+ readonly created_at: string;
40
45
  readonly updated_at: string;
46
+ readonly deleted_at: string;
41
47
  } | undefined;
48
+ readonly sso?: boolean | undefined;
49
+ readonly managed?: boolean | undefined;
42
50
  readonly directory_managed?: boolean | undefined;
43
- readonly display_name: string;
44
- readonly email: string;
45
51
  readonly email_verified?: boolean | undefined;
46
- readonly id: string;
47
- readonly managed?: boolean | undefined;
48
- readonly name?: string | null | undefined;
49
- readonly sso?: boolean | undefined;
50
- readonly two_factor_auth_configured: boolean;
51
- readonly updated_at: string;
52
52
  }, Forbidden | NotFound, import("../credentials.ts").Credentials>;
53
53
  //# sourceMappingURL=getCurrentUser.d.ts.map
@@ -75,68 +75,68 @@ export type GetDatabaseOutput = typeof GetDatabaseOutput.Type;
75
75
  * @param database - Database name slug from `list_databases`. Example: `app-db`.
76
76
  */
77
77
  export declare const getDatabase: import("@distilled.cloud/core/client").OperationMethod<{
78
- readonly database: string;
79
78
  readonly organization: string;
79
+ readonly database: string;
80
80
  }, {
81
- readonly allow_data_branching?: boolean | undefined;
81
+ readonly id: string;
82
+ readonly url: string;
83
+ readonly branches_url: string;
84
+ readonly branches_count?: number | undefined;
85
+ readonly open_schema_recommendations_count?: number | undefined;
86
+ readonly development_branches_count?: number | undefined;
87
+ readonly production_branches_count?: number | undefined;
88
+ readonly issues_count?: number | undefined;
89
+ readonly multiple_admins_required_for_deletion?: boolean | undefined;
90
+ readonly ready: boolean;
82
91
  readonly at_backup_restore_branches_limit?: boolean | undefined;
83
92
  readonly at_development_branch_usage_limit?: boolean | undefined;
84
- readonly automatic_migrations?: boolean | null | undefined;
85
- readonly branches_count?: number | undefined;
86
- readonly branches_url: string;
87
- readonly config_change_queued?: boolean | undefined;
88
- readonly config_changing?: boolean | undefined;
89
- readonly created_at: string;
90
93
  readonly data_import?: {
94
+ readonly state: string;
95
+ readonly import_check_errors: string;
96
+ readonly started_at: string;
97
+ readonly finished_at: string;
91
98
  readonly data_source: {
92
- readonly database: string;
93
99
  readonly hostname: string;
94
100
  readonly port: number;
101
+ readonly database: string;
95
102
  };
96
- readonly finished_at: string;
97
- readonly import_check_errors: string;
98
- readonly started_at: string;
99
- readonly state: string;
100
103
  } | null | undefined;
101
- readonly default_branch?: string | undefined;
102
- readonly default_branch_read_only_regions_count?: number | undefined;
103
- readonly default_branch_shard_count?: number | undefined;
104
- readonly default_branch_table_count?: number | undefined;
105
- readonly development_branches_count?: number | undefined;
106
- readonly foreign_keys_enabled?: boolean | undefined;
107
- readonly html_url: string;
108
- readonly id: string;
109
- readonly insights_enabled?: boolean | undefined;
110
- readonly insights_raw_queries?: boolean | undefined;
111
- readonly issues_count?: number | undefined;
112
- readonly kind: "mysql" | "postgresql";
113
- readonly migration_framework?: string | null | undefined;
114
- readonly migration_table_name?: string | null | undefined;
115
- readonly multiple_admins_required_for_deletion?: boolean | undefined;
116
- readonly name: string;
117
- readonly open_schema_recommendations_count?: number | undefined;
118
- readonly plan?: string | undefined;
119
- readonly production_branch_web_console?: boolean | undefined;
120
- readonly production_branches_count?: number | undefined;
121
- readonly ready: boolean;
122
104
  readonly region: {
123
- readonly current_default: boolean;
124
- readonly display_name: string;
125
- readonly enabled: boolean;
126
105
  readonly id: string;
127
- readonly location: string;
128
106
  readonly provider: string;
107
+ readonly enabled: boolean;
129
108
  readonly public_ip_addresses: readonly string[];
109
+ readonly display_name: string;
110
+ readonly location: string;
130
111
  readonly slug: string;
112
+ readonly current_default: boolean;
131
113
  };
114
+ readonly html_url: string;
115
+ readonly name: string;
116
+ readonly state: "awakening" | "import_ready" | "importing" | "pending" | "ready" | "sleep_in_progress" | "sleeping";
117
+ readonly sharded?: boolean | undefined;
118
+ readonly default_branch_shard_count?: number | undefined;
119
+ readonly default_branch_read_only_regions_count?: number | undefined;
120
+ readonly default_branch_table_count?: number | undefined;
121
+ readonly default_branch?: string | undefined;
132
122
  readonly require_approval_for_deploy?: boolean | undefined;
133
- readonly resize_queued?: boolean | undefined;
134
123
  readonly resizing?: boolean | undefined;
124
+ readonly resize_queued?: boolean | undefined;
125
+ readonly config_changing?: boolean | undefined;
126
+ readonly config_change_queued?: boolean | undefined;
127
+ readonly allow_data_branching?: boolean | undefined;
128
+ readonly foreign_keys_enabled?: boolean | undefined;
129
+ readonly automatic_migrations?: boolean | null | undefined;
135
130
  readonly restrict_branch_region?: boolean | undefined;
136
- readonly schema_last_updated_at?: string | undefined;
137
- readonly sharded?: boolean | undefined;
138
- readonly state: "awakening" | "import_ready" | "importing" | "pending" | "ready" | "sleep_in_progress" | "sleeping";
131
+ readonly insights_raw_queries?: boolean | undefined;
132
+ readonly plan?: string | undefined;
133
+ readonly insights_enabled?: boolean | undefined;
134
+ readonly production_branch_web_console?: boolean | undefined;
135
+ readonly migration_table_name?: string | null | undefined;
136
+ readonly migration_framework?: string | null | undefined;
137
+ readonly created_at: string;
139
138
  readonly updated_at: string;
140
- readonly url: string;
139
+ readonly schema_last_updated_at?: string | undefined;
140
+ readonly kind: "mysql" | "postgresql";
141
141
  }, Forbidden | NotFound, import("../credentials.ts").Credentials>;
142
142
  //# sourceMappingURL=getDatabase.d.ts.map
@@ -29,21 +29,21 @@ export type GetDatabasePostgresCidrOutput = typeof GetDatabasePostgresCidrOutput
29
29
  * @param id - The ID of the IP restriction entry
30
30
  */
31
31
  export declare const getDatabasePostgresCidr: import("@distilled.cloud/core/client").OperationMethod<{
32
+ readonly organization: string;
32
33
  readonly database: string;
33
34
  readonly id: string;
34
- readonly organization: string;
35
35
  }, {
36
- readonly actor: {
37
- readonly avatar_url: string;
38
- readonly display_name: string;
39
- readonly id: string;
40
- };
41
- readonly cidrs: readonly string[];
42
- readonly created_at: string;
43
- readonly deleted_at: string;
44
36
  readonly id: string;
45
- readonly role: string;
46
37
  readonly schema: string;
38
+ readonly role: string;
39
+ readonly cidrs: readonly string[];
40
+ readonly created_at: string;
47
41
  readonly updated_at: string;
42
+ readonly deleted_at: string;
43
+ readonly actor: {
44
+ readonly id: string;
45
+ readonly display_name: string;
46
+ readonly avatar_url: string;
47
+ };
48
48
  }, Forbidden | NotFound | UnprocessableEntity, import("../credentials.ts").Credentials>;
49
49
  //# sourceMappingURL=getDatabasePostgresCidr.d.ts.map
@@ -27,20 +27,20 @@ export type GetDatabaseThrottlerOutput = typeof GetDatabaseThrottlerOutput.Type;
27
27
  * @param database - The name of the database that the throttled deploy requests belong to
28
28
  */
29
29
  export declare const getDatabaseThrottler: import("@distilled.cloud/core/client").OperationMethod<{
30
- readonly database: string;
31
30
  readonly organization: string;
31
+ readonly database: string;
32
32
  }, {
33
+ readonly keyspaces: readonly string[];
33
34
  readonly configurable: {
34
- readonly created_at: string;
35
- readonly deleted_at: string;
36
35
  readonly id: string;
37
36
  readonly name: string;
37
+ readonly created_at: string;
38
38
  readonly updated_at: string;
39
+ readonly deleted_at: string;
39
40
  };
40
41
  readonly configurations: readonly {
41
42
  readonly keyspace_name: string;
42
43
  readonly ratio: number;
43
44
  }[];
44
- readonly keyspaces: readonly string[];
45
45
  }, Forbidden | NotFound, import("../credentials.ts").Credentials>;
46
46
  //# sourceMappingURL=getDatabaseThrottler.d.ts.map
@@ -52,44 +52,44 @@ export type GetDefaultRoleOutput = typeof GetDefaultRoleOutput.Type;
52
52
  * @param branch - Branch name from `list_branches`. Example: `main`.
53
53
  */
54
54
  export declare const getDefaultRole: import("@distilled.cloud/core/client").OperationMethod<{
55
- readonly branch: string;
56
- readonly database: string;
57
55
  readonly organization: string;
56
+ readonly database: string;
57
+ readonly branch: string;
58
58
  }, {
59
+ readonly id: string;
60
+ readonly name: string;
59
61
  readonly access_host_url: string;
60
- readonly actor: {
61
- readonly avatar_url: string;
62
- readonly display_name: string;
63
- readonly id: string;
64
- };
65
- readonly branch: {
66
- readonly created_at: string;
67
- readonly deleted_at: string | null;
68
- readonly id: string;
69
- readonly name: string;
70
- readonly updated_at: string;
71
- };
72
- readonly created_at: string;
62
+ readonly private_access_host_url: string;
63
+ readonly private_connection_service_name: string;
64
+ readonly username: string;
65
+ readonly password: string | import("effect/Redacted").Redacted<string> | null;
73
66
  readonly database_name: string;
74
- readonly default: boolean;
67
+ readonly created_at: string;
68
+ readonly updated_at: string;
75
69
  readonly deleted_at: string | null;
70
+ readonly expires_at: string | null;
71
+ readonly dropped_at: string | null;
76
72
  readonly disabled_at: string | null;
77
73
  readonly drop_failed: string | null;
78
- readonly dropped_at: string | null;
79
74
  readonly expired: boolean;
80
- readonly expires_at: string | null;
81
- readonly id: string;
75
+ readonly default: boolean;
76
+ readonly ttl: number | null;
82
77
  readonly inherited_roles: readonly ("pg_checkpoint" | "pg_create_subscription" | "pg_maintain" | "pg_monitor" | "pg_read_all_data" | "pg_read_all_settings" | "pg_read_all_stats" | "pg_signal_backend" | "pg_stat_scan_tables" | "pg_use_reserved_connections" | "pg_write_all_data" | "postgres" | "pscale_managed")[];
83
- readonly name: string;
84
- readonly password: string | import("effect/Redacted").Redacted<string> | null;
85
- readonly private_access_host_url: string;
86
- readonly private_connection_service_name: string;
78
+ readonly branch: {
79
+ readonly id: string;
80
+ readonly name: string;
81
+ readonly created_at: string;
82
+ readonly updated_at: string;
83
+ readonly deleted_at: string | null;
84
+ };
85
+ readonly actor: {
86
+ readonly id: string;
87
+ readonly display_name: string;
88
+ readonly avatar_url: string;
89
+ };
87
90
  readonly query_safety_settings: {
88
91
  readonly require_where_on_delete: "off" | "on" | "warn";
89
92
  readonly require_where_on_update: "off" | "on" | "warn";
90
93
  };
91
- readonly ttl: number | null;
92
- readonly updated_at: string;
93
- readonly username: string;
94
94
  }, Forbidden | NotFound, import("../credentials.ts").Credentials>;
95
95
  //# sourceMappingURL=getDefaultRole.d.ts.map
@@ -120,121 +120,121 @@ export type GetDeployQueueOutput = typeof GetDeployQueueOutput.Type;
120
120
  * @param per_page - If provided, specifies the number of returned results
121
121
  */
122
122
  export declare const getDeployQueue: import("@distilled.cloud/core/client").PaginatedOperationMethod<{
123
- readonly database: string;
124
123
  readonly organization: string;
124
+ readonly database: string;
125
125
  readonly page?: number | undefined;
126
126
  readonly per_page?: number | undefined;
127
127
  }, {
128
128
  readonly current_page: number;
129
+ readonly next_page: number | null;
130
+ readonly next_page_url: string | null;
131
+ readonly prev_page: number | null;
132
+ readonly prev_page_url: string | null;
129
133
  readonly data: readonly {
130
- readonly actor: {
131
- readonly avatar_url: string;
132
- readonly display_name: string;
133
- readonly id: string;
134
- };
134
+ readonly id: string;
135
135
  readonly auto_cutover: boolean;
136
136
  readonly auto_delete_branch: boolean;
137
- readonly cancelled_actor: {
138
- readonly avatar_url: string;
139
- readonly display_name: string;
140
- readonly id: string;
141
- };
142
137
  readonly created_at: string;
143
- readonly cutover_actor: {
144
- readonly avatar_url: string;
145
- readonly display_name: string;
146
- readonly id: string;
147
- };
148
138
  readonly cutover_at: string;
149
139
  readonly cutover_expiring: boolean;
150
140
  readonly deploy_check_errors: string;
151
- readonly deploy_operation_summaries: readonly {
152
- readonly can_drop_data: boolean;
153
- readonly created_at: string;
154
- readonly ddl_statement: string;
155
- readonly deploy_errors: string;
156
- readonly eta_seconds: number;
141
+ readonly finished_at: string;
142
+ readonly queued_at: string;
143
+ readonly ready_to_cutover_at: string;
144
+ readonly started_at: string;
145
+ 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";
146
+ readonly submitted_at: string;
147
+ readonly updated_at: string;
148
+ readonly into_branch: string;
149
+ readonly deploy_request_number: number;
150
+ readonly deployable: boolean;
151
+ readonly preceding_deployments: readonly {
152
+ readonly [x: string]: unknown;
153
+ }[];
154
+ readonly deploy_operations: readonly {
157
155
  readonly id: string;
156
+ readonly state: "cancelled" | "complete" | "error" | "in_progress" | "pending" | "queued";
158
157
  readonly keyspace_name: string;
158
+ readonly table_name: string;
159
159
  readonly operation_name: string;
160
- readonly operations: readonly {
161
- readonly eta_seconds: number;
162
- readonly id: string;
163
- readonly progress_percentage: number;
164
- readonly shard: string;
165
- readonly state: "cancelled" | "complete" | "error" | "in_progress" | "pending" | "queued";
166
- }[];
160
+ readonly eta_seconds: number;
167
161
  readonly progress_percentage: number;
168
- readonly removed_foreign_key_names: readonly string[];
169
- readonly shard_count: number;
170
- readonly shard_names: readonly string[];
171
- readonly sharded: boolean;
172
- readonly state: "cancelled" | "complete" | "error" | "in_progress" | "pending";
162
+ readonly deploy_error_docs_url: string;
163
+ readonly ddl_statement: string;
173
164
  readonly syntax_highlighted_ddl: string;
174
- readonly table_name: string;
165
+ readonly created_at: string;
166
+ readonly updated_at: string;
167
+ readonly throttled_at: string;
168
+ readonly can_drop_data: boolean;
169
+ readonly table_locked: boolean;
175
170
  readonly table_recently_used: boolean;
176
171
  readonly table_recently_used_at: string;
177
- readonly throttled_at: string;
172
+ readonly removed_foreign_key_names: readonly string[];
173
+ readonly deploy_errors: string;
178
174
  }[];
179
- readonly deploy_operations: readonly {
180
- readonly can_drop_data: boolean;
175
+ readonly deploy_operation_summaries: readonly {
176
+ readonly id: string;
181
177
  readonly created_at: string;
182
- readonly ddl_statement: string;
183
- readonly deploy_error_docs_url: string;
184
178
  readonly deploy_errors: string;
179
+ readonly ddl_statement: string;
185
180
  readonly eta_seconds: number;
186
- readonly id: string;
187
181
  readonly keyspace_name: string;
188
182
  readonly operation_name: string;
189
183
  readonly progress_percentage: number;
190
- readonly removed_foreign_key_names: readonly string[];
191
- readonly state: "cancelled" | "complete" | "error" | "in_progress" | "pending" | "queued";
184
+ readonly state: "cancelled" | "complete" | "error" | "in_progress" | "pending";
192
185
  readonly syntax_highlighted_ddl: string;
193
- readonly table_locked: boolean;
194
186
  readonly table_name: string;
195
- readonly table_recently_used: boolean;
196
187
  readonly table_recently_used_at: string;
197
188
  readonly throttled_at: string;
198
- readonly updated_at: string;
189
+ readonly removed_foreign_key_names: readonly string[];
190
+ readonly shard_count: number;
191
+ readonly shard_names: readonly string[];
192
+ readonly can_drop_data: boolean;
193
+ readonly table_recently_used: boolean;
194
+ readonly sharded: boolean;
195
+ readonly operations: readonly {
196
+ readonly id: string;
197
+ readonly shard: string;
198
+ readonly state: "cancelled" | "complete" | "error" | "in_progress" | "pending" | "queued";
199
+ readonly progress_percentage: number;
200
+ readonly eta_seconds: number;
201
+ }[];
199
202
  }[];
200
- readonly deploy_request_number: number;
201
- readonly deployable: boolean;
202
- readonly deployment_revert_request: {
203
- readonly [x: string]: unknown;
204
- };
205
- readonly finished_at: string;
206
- readonly id: string;
207
- readonly instant_ddl: boolean;
208
- readonly instant_ddl_eligible: boolean;
209
- readonly into_branch: string;
210
203
  readonly lint_errors: readonly {
211
204
  readonly [x: string]: unknown;
212
205
  }[];
213
- readonly locked_table_name: string;
214
- readonly lookup_vindex_operations: readonly {
215
- readonly [x: string]: unknown;
216
- }[];
217
- readonly preceding_deployments: readonly {
206
+ readonly sequential_diff_dependencies: readonly {
218
207
  readonly [x: string]: unknown;
219
208
  }[];
220
- readonly queued_at: string;
221
- readonly ready_to_cutover_at: string;
222
- readonly schema_last_updated_at: string;
223
- readonly sequential_diff_dependencies: readonly {
209
+ readonly lookup_vindex_operations: readonly {
224
210
  readonly [x: string]: unknown;
225
211
  }[];
226
- readonly started_at: string;
227
- 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";
228
- readonly submitted_at: string;
229
- readonly table_locked: boolean;
230
212
  readonly throttler_configurations: readonly {
231
213
  readonly [x: string]: unknown;
232
214
  }[];
233
- readonly updated_at: string;
215
+ readonly deployment_revert_request: {
216
+ readonly [x: string]: unknown;
217
+ };
218
+ readonly actor: {
219
+ readonly id: string;
220
+ readonly display_name: string;
221
+ readonly avatar_url: string;
222
+ };
223
+ readonly cutover_actor: {
224
+ readonly id: string;
225
+ readonly display_name: string;
226
+ readonly avatar_url: string;
227
+ };
228
+ readonly cancelled_actor: {
229
+ readonly id: string;
230
+ readonly display_name: string;
231
+ readonly avatar_url: string;
232
+ };
233
+ readonly schema_last_updated_at: string;
234
+ readonly table_locked: boolean;
235
+ readonly locked_table_name: string;
236
+ readonly instant_ddl: boolean;
237
+ readonly instant_ddl_eligible: boolean;
234
238
  }[];
235
- readonly next_page: number | null;
236
- readonly next_page_url: string | null;
237
- readonly prev_page: number | null;
238
- readonly prev_page_url: string | null;
239
239
  }, Forbidden | NotFound, import("../credentials.ts").Credentials>;
240
240
  //# sourceMappingURL=getDeployQueue.d.ts.map