@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.
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
@@ -37,26 +37,26 @@ export type ListClusterSizeSkusOutput = typeof ListClusterSizeSkusOutput.Type;
37
37
  * @param region - The region slug to get rates for. If not specified, uses the organization's default region.
38
38
  */
39
39
  export declare const listClusterSizeSkus: import("@distilled.cloud/core/client").OperationMethod<{
40
- readonly engine?: "mysql" | "postgresql" | undefined;
41
40
  readonly organization: string;
41
+ readonly engine?: "mysql" | "postgresql" | undefined;
42
42
  readonly rates?: boolean | undefined;
43
43
  readonly region?: string | undefined;
44
44
  }, readonly {
45
- readonly architecture?: string | null | undefined;
46
- readonly cpu: string;
47
- readonly default_vtgate: string;
48
- readonly default_vtgate_rate?: number | null | undefined;
49
- readonly development: boolean;
45
+ readonly name: string;
50
46
  readonly display_name: string;
51
- readonly enabled: boolean;
47
+ readonly cpu: string;
48
+ readonly storage?: number | null | undefined;
49
+ readonly ram: number;
52
50
  readonly metal: boolean;
53
- readonly name: string;
54
- readonly production: boolean;
51
+ readonly enabled: boolean;
55
52
  readonly provider?: string | null | undefined;
56
- readonly ram: number;
57
- readonly rate?: number | null | undefined;
53
+ readonly default_vtgate: string;
54
+ readonly default_vtgate_rate?: number | null | undefined;
58
55
  readonly replica_rate?: number | null | undefined;
56
+ readonly rate?: number | null | undefined;
59
57
  readonly sort_order: number;
60
- readonly storage?: number | null | undefined;
58
+ readonly architecture?: string | null | undefined;
59
+ readonly development: boolean;
60
+ readonly production: boolean;
61
61
  }[], Forbidden | NotFound, import("../credentials.ts").Credentials>;
62
62
  //# sourceMappingURL=listClusterSizeSkus.d.ts.map
@@ -38,29 +38,29 @@ export type ListDatabasePostgresCidrsOutput = typeof ListDatabasePostgresCidrsOu
38
38
  * @param per_page - If provided, specifies the number of returned results
39
39
  */
40
40
  export declare const listDatabasePostgresCidrs: import("@distilled.cloud/core/client").PaginatedOperationMethod<{
41
- readonly database: string;
42
41
  readonly organization: string;
42
+ readonly database: string;
43
43
  readonly page?: number | undefined;
44
44
  readonly per_page?: number | undefined;
45
45
  }, {
46
46
  readonly current_page: number;
47
+ readonly next_page: number | null;
48
+ readonly next_page_url: string | null;
49
+ readonly prev_page: number | null;
50
+ readonly prev_page_url: string | null;
47
51
  readonly data: readonly {
48
- readonly actor: {
49
- readonly avatar_url: string;
50
- readonly display_name: string;
51
- readonly id: string;
52
- };
53
- readonly cidrs: readonly string[];
54
- readonly created_at: string;
55
- readonly deleted_at: string;
56
52
  readonly id: string;
57
- readonly role: string;
58
53
  readonly schema: string;
54
+ readonly role: string;
55
+ readonly cidrs: readonly string[];
56
+ readonly created_at: string;
59
57
  readonly updated_at: string;
58
+ readonly deleted_at: string;
59
+ readonly actor: {
60
+ readonly id: string;
61
+ readonly display_name: string;
62
+ readonly avatar_url: string;
63
+ };
60
64
  }[];
61
- readonly next_page: number | null;
62
- readonly next_page_url: string | null;
63
- readonly prev_page: number | null;
64
- readonly prev_page_url: string | null;
65
65
  }, Forbidden | NotFound | UnprocessableEntity, import("../credentials.ts").Credentials>;
66
66
  //# sourceMappingURL=listDatabasePostgresCidrs.d.ts.map
@@ -34,25 +34,25 @@ export type ListDatabaseRegionsOutput = typeof ListDatabaseRegionsOutput.Type;
34
34
  * @param per_page - If provided, specifies the number of returned results
35
35
  */
36
36
  export declare const listDatabaseRegions: import("@distilled.cloud/core/client").PaginatedOperationMethod<{
37
- readonly database: string;
38
37
  readonly organization: string;
38
+ readonly database: string;
39
39
  readonly page?: number | undefined;
40
40
  readonly per_page?: number | undefined;
41
41
  }, {
42
42
  readonly current_page: number;
43
+ readonly next_page: number | null;
44
+ readonly next_page_url: string | null;
45
+ readonly prev_page: number | null;
46
+ readonly prev_page_url: string | null;
43
47
  readonly data: readonly {
44
- readonly current_default: boolean;
45
- readonly display_name: string;
46
- readonly enabled: boolean;
47
48
  readonly id: string;
48
- readonly location: string;
49
49
  readonly provider: string;
50
+ readonly enabled: boolean;
50
51
  readonly public_ip_addresses: readonly string[];
52
+ readonly display_name: string;
53
+ readonly location: string;
51
54
  readonly slug: string;
55
+ readonly current_default: boolean;
52
56
  }[];
53
- readonly next_page: number | null;
54
- readonly next_page_url: string | null;
55
- readonly prev_page: number | null;
56
- readonly prev_page_url: string | null;
57
57
  }, Forbidden | NotFound, import("../credentials.ts").Credentials>;
58
58
  //# sourceMappingURL=listDatabaseRegions.d.ts.map
@@ -87,76 +87,76 @@ export type ListDatabasesOutput = typeof ListDatabasesOutput.Type;
87
87
  */
88
88
  export declare const listDatabases: import("@distilled.cloud/core/client").PaginatedOperationMethod<{
89
89
  readonly organization: string;
90
+ readonly q?: string | undefined;
90
91
  readonly page?: number | undefined;
91
92
  readonly per_page?: number | undefined;
92
- readonly q?: string | undefined;
93
93
  }, {
94
94
  readonly current_page: number;
95
+ readonly next_page: number | null;
96
+ readonly next_page_url: string | null;
97
+ readonly prev_page: number | null;
98
+ readonly prev_page_url: string | null;
95
99
  readonly data: readonly {
96
- readonly allow_data_branching?: boolean | undefined;
100
+ readonly id: string;
101
+ readonly url: string;
102
+ readonly branches_url: string;
103
+ readonly branches_count?: number | undefined;
104
+ readonly open_schema_recommendations_count?: number | undefined;
105
+ readonly development_branches_count?: number | undefined;
106
+ readonly production_branches_count?: number | undefined;
107
+ readonly issues_count?: number | undefined;
108
+ readonly multiple_admins_required_for_deletion?: boolean | undefined;
109
+ readonly ready: boolean;
97
110
  readonly at_backup_restore_branches_limit?: boolean | undefined;
98
111
  readonly at_development_branch_usage_limit?: boolean | undefined;
99
- readonly automatic_migrations?: boolean | null | undefined;
100
- readonly branches_count?: number | undefined;
101
- readonly branches_url: string;
102
- readonly config_change_queued?: boolean | undefined;
103
- readonly config_changing?: boolean | undefined;
104
- readonly created_at: string;
105
112
  readonly data_import?: {
113
+ readonly state: string;
114
+ readonly import_check_errors: string;
115
+ readonly started_at: string;
116
+ readonly finished_at: string;
106
117
  readonly data_source: {
107
- readonly database: string;
108
118
  readonly hostname: string;
109
119
  readonly port: number;
120
+ readonly database: string;
110
121
  };
111
- readonly finished_at: string;
112
- readonly import_check_errors: string;
113
- readonly started_at: string;
114
- readonly state: string;
115
122
  } | null | undefined;
116
- readonly default_branch?: string | undefined;
117
- readonly default_branch_read_only_regions_count?: number | undefined;
118
- readonly default_branch_shard_count?: number | undefined;
119
- readonly default_branch_table_count?: number | undefined;
120
- readonly development_branches_count?: number | undefined;
121
- readonly foreign_keys_enabled?: boolean | undefined;
122
- readonly html_url: string;
123
- readonly id: string;
124
- readonly insights_enabled?: boolean | undefined;
125
- readonly insights_raw_queries?: boolean | undefined;
126
- readonly issues_count?: number | undefined;
127
- readonly kind: "mysql" | "postgresql";
128
- readonly migration_framework?: string | null | undefined;
129
- readonly migration_table_name?: string | null | undefined;
130
- readonly multiple_admins_required_for_deletion?: boolean | undefined;
131
- readonly name: string;
132
- readonly open_schema_recommendations_count?: number | undefined;
133
- readonly plan?: string | undefined;
134
- readonly production_branch_web_console?: boolean | undefined;
135
- readonly production_branches_count?: number | undefined;
136
- readonly ready: boolean;
137
123
  readonly region: {
138
- readonly current_default: boolean;
139
- readonly display_name: string;
140
- readonly enabled: boolean;
141
124
  readonly id: string;
142
- readonly location: string;
143
125
  readonly provider: string;
126
+ readonly enabled: boolean;
144
127
  readonly public_ip_addresses: readonly string[];
128
+ readonly display_name: string;
129
+ readonly location: string;
145
130
  readonly slug: string;
131
+ readonly current_default: boolean;
146
132
  };
133
+ readonly html_url: string;
134
+ readonly name: string;
135
+ readonly state: "awakening" | "import_ready" | "importing" | "pending" | "ready" | "sleep_in_progress" | "sleeping";
136
+ readonly sharded?: boolean | undefined;
137
+ readonly default_branch_shard_count?: number | undefined;
138
+ readonly default_branch_read_only_regions_count?: number | undefined;
139
+ readonly default_branch_table_count?: number | undefined;
140
+ readonly default_branch?: string | undefined;
147
141
  readonly require_approval_for_deploy?: boolean | undefined;
148
- readonly resize_queued?: boolean | undefined;
149
142
  readonly resizing?: boolean | undefined;
143
+ readonly resize_queued?: boolean | undefined;
144
+ readonly config_changing?: boolean | undefined;
145
+ readonly config_change_queued?: boolean | undefined;
146
+ readonly allow_data_branching?: boolean | undefined;
147
+ readonly foreign_keys_enabled?: boolean | undefined;
148
+ readonly automatic_migrations?: boolean | null | undefined;
150
149
  readonly restrict_branch_region?: boolean | undefined;
151
- readonly schema_last_updated_at?: string | undefined;
152
- readonly sharded?: boolean | undefined;
153
- readonly state: "awakening" | "import_ready" | "importing" | "pending" | "ready" | "sleep_in_progress" | "sleeping";
150
+ readonly insights_raw_queries?: boolean | undefined;
151
+ readonly plan?: string | undefined;
152
+ readonly insights_enabled?: boolean | undefined;
153
+ readonly production_branch_web_console?: boolean | undefined;
154
+ readonly migration_table_name?: string | null | undefined;
155
+ readonly migration_framework?: string | null | undefined;
156
+ readonly created_at: string;
154
157
  readonly updated_at: string;
155
- readonly url: string;
158
+ readonly schema_last_updated_at?: string | undefined;
159
+ readonly kind: "mysql" | "postgresql";
156
160
  }[];
157
- readonly next_page: number | null;
158
- readonly next_page_url: string | null;
159
- readonly prev_page: number | null;
160
- readonly prev_page_url: string | null;
161
161
  }, Forbidden | NotFound, import("../credentials.ts").Credentials>;
162
162
  //# sourceMappingURL=listDatabases.d.ts.map
@@ -49,37 +49,37 @@ export type ListDeployOperationsOutput = typeof ListDeployOperationsOutput.Type;
49
49
  * @param per_page - If provided, specifies the number of returned results
50
50
  */
51
51
  export declare const listDeployOperations: import("@distilled.cloud/core/client").PaginatedOperationMethod<{
52
- readonly database: string;
53
52
  readonly number: number;
54
53
  readonly organization: string;
54
+ readonly database: string;
55
55
  readonly page?: number | undefined;
56
56
  readonly per_page?: number | undefined;
57
57
  }, {
58
58
  readonly current_page: number;
59
+ readonly next_page: number | null;
60
+ readonly next_page_url: string | null;
61
+ readonly prev_page: number | null;
62
+ readonly prev_page_url: string | null;
59
63
  readonly data: readonly {
60
- readonly can_drop_data: boolean;
61
- readonly created_at: string;
62
- readonly ddl_statement: string;
63
- readonly deploy_error_docs_url: string;
64
- readonly deploy_errors: string;
65
- readonly eta_seconds: number;
66
64
  readonly id: string;
65
+ readonly state: "cancelled" | "complete" | "error" | "in_progress" | "pending" | "queued";
67
66
  readonly keyspace_name: string;
67
+ readonly table_name: string;
68
68
  readonly operation_name: string;
69
+ readonly eta_seconds: number;
69
70
  readonly progress_percentage: number;
70
- readonly removed_foreign_key_names: readonly string[];
71
- readonly state: "cancelled" | "complete" | "error" | "in_progress" | "pending" | "queued";
71
+ readonly deploy_error_docs_url: string;
72
+ readonly ddl_statement: string;
72
73
  readonly syntax_highlighted_ddl: string;
74
+ readonly created_at: string;
75
+ readonly updated_at: string;
76
+ readonly throttled_at: string;
77
+ readonly can_drop_data: boolean;
73
78
  readonly table_locked: boolean;
74
- readonly table_name: string;
75
79
  readonly table_recently_used: boolean;
76
80
  readonly table_recently_used_at: string;
77
- readonly throttled_at: string;
78
- readonly updated_at: string;
81
+ readonly removed_foreign_key_names: readonly string[];
82
+ readonly deploy_errors: string;
79
83
  }[];
80
- readonly next_page: number | null;
81
- readonly next_page_url: string | null;
82
- readonly prev_page: number | null;
83
- readonly prev_page_url: string | null;
84
84
  }, Forbidden | NotFound, import("../credentials.ts").Credentials>;
85
85
  //# sourceMappingURL=listDeployOperations.d.ts.map
@@ -39,29 +39,29 @@ export type ListDeployRequestReviewsOutput = typeof ListDeployRequestReviewsOutp
39
39
  * @param per_page - If provided, specifies the number of returned results
40
40
  */
41
41
  export declare const listDeployRequestReviews: import("@distilled.cloud/core/client").PaginatedOperationMethod<{
42
+ readonly organization: string;
42
43
  readonly database: string;
43
44
  readonly number: number;
44
- readonly organization: string;
45
45
  readonly page?: number | undefined;
46
46
  readonly per_page?: number | undefined;
47
47
  }, {
48
48
  readonly current_page: number;
49
+ readonly next_page: number | null;
50
+ readonly next_page_url: string | null;
51
+ readonly prev_page: number | null;
52
+ readonly prev_page_url: string | null;
49
53
  readonly data: readonly {
50
- readonly actor: {
51
- readonly avatar_url: string;
52
- readonly display_name: string;
53
- readonly id: string;
54
- };
54
+ readonly id: string;
55
55
  readonly body: string;
56
- readonly created_at: string;
57
56
  readonly html_body: string;
58
- readonly id: string;
59
57
  readonly state: "approved" | "commented";
58
+ readonly created_at: string;
60
59
  readonly updated_at: string;
60
+ readonly actor: {
61
+ readonly id: string;
62
+ readonly display_name: string;
63
+ readonly avatar_url: string;
64
+ };
61
65
  }[];
62
- readonly next_page: number | null;
63
- readonly next_page_url: string | null;
64
- readonly prev_page: number | null;
65
- readonly prev_page_url: string | null;
66
66
  }, Forbidden | NotFound, import("../credentials.ts").Credentials>;
67
67
  //# sourceMappingURL=listDeployRequestReviews.d.ts.map
@@ -167,163 +167,163 @@ export type ListDeployRequestsOutput = typeof ListDeployRequestsOutput.Type;
167
167
  * @param per_page - If provided, specifies the number of returned results
168
168
  */
169
169
  export declare const listDeployRequests: import("@distilled.cloud/core/client").PaginatedOperationMethod<{
170
- readonly branch?: string | undefined;
170
+ readonly organization: string;
171
171
  readonly database: string;
172
- readonly deployed_at?: string | undefined;
172
+ readonly state?: string | undefined;
173
+ readonly branch?: string | undefined;
173
174
  readonly into_branch?: string | undefined;
174
- readonly organization: string;
175
+ readonly deployed_at?: string | undefined;
176
+ readonly running_at?: string | undefined;
175
177
  readonly page?: number | undefined;
176
178
  readonly per_page?: number | undefined;
177
- readonly running_at?: string | undefined;
178
- readonly state?: string | undefined;
179
179
  }, {
180
180
  readonly current_page: number;
181
+ readonly next_page: number | null;
182
+ readonly next_page_url: string | null;
183
+ readonly prev_page: number | null;
184
+ readonly prev_page_url: string | null;
181
185
  readonly data: readonly {
186
+ readonly id: string;
187
+ readonly number: number;
182
188
  readonly actor: {
183
- readonly avatar_url: string;
189
+ readonly id: string;
184
190
  readonly display_name: string;
191
+ readonly avatar_url: string;
192
+ };
193
+ readonly closed_by: {
185
194
  readonly id: string;
195
+ readonly display_name: string;
196
+ readonly avatar_url: string;
186
197
  };
187
- readonly approved: boolean;
188
198
  readonly branch: string;
199
+ readonly branch_id: string;
189
200
  readonly branch_deleted: boolean;
190
- readonly branch_deleted_at: string;
191
201
  readonly branch_deleted_by: {
192
- readonly avatar_url: string;
193
- readonly display_name: string;
194
202
  readonly id: string;
195
- };
196
- readonly branch_id: string;
197
- readonly closed_at: string;
198
- readonly closed_by: {
199
- readonly avatar_url: string;
200
203
  readonly display_name: string;
201
- readonly id: string;
204
+ readonly avatar_url: string;
202
205
  };
203
- readonly created_at: string;
204
- readonly deployed_at: string;
206
+ readonly branch_deleted_at: string;
207
+ readonly into_branch: string;
208
+ readonly into_branch_sharded: boolean;
209
+ readonly into_branch_shard_count: number;
210
+ readonly approved: boolean;
211
+ readonly state: "closed" | "open";
212
+ 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";
205
213
  readonly deployment: {
206
- readonly actor: {
207
- readonly avatar_url: string;
208
- readonly display_name: string;
209
- readonly id: string;
210
- };
214
+ readonly id: string;
211
215
  readonly auto_cutover: boolean;
212
216
  readonly auto_delete_branch: boolean;
213
- readonly cancelled_actor: {
214
- readonly avatar_url: string;
215
- readonly display_name: string;
216
- readonly id: string;
217
- };
218
217
  readonly created_at: string;
219
- readonly cutover_actor: {
220
- readonly avatar_url: string;
221
- readonly display_name: string;
222
- readonly id: string;
223
- };
224
218
  readonly cutover_at: string;
225
219
  readonly cutover_expiring: boolean;
226
220
  readonly deploy_check_errors: string;
227
- readonly deploy_operation_summaries: readonly {
228
- readonly can_drop_data: boolean;
229
- readonly created_at: string;
230
- readonly ddl_statement: string;
231
- readonly deploy_errors: string;
232
- readonly eta_seconds: number;
221
+ readonly finished_at: string;
222
+ readonly queued_at: string;
223
+ readonly ready_to_cutover_at: string;
224
+ readonly started_at: string;
225
+ 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";
226
+ readonly submitted_at: string;
227
+ readonly updated_at: string;
228
+ readonly into_branch: string;
229
+ readonly deploy_request_number: number;
230
+ readonly deployable: boolean;
231
+ readonly preceding_deployments: readonly {
232
+ readonly [x: string]: unknown;
233
+ }[];
234
+ readonly deploy_operations: readonly {
233
235
  readonly id: string;
236
+ readonly state: "cancelled" | "complete" | "error" | "in_progress" | "pending" | "queued";
234
237
  readonly keyspace_name: string;
238
+ readonly table_name: string;
235
239
  readonly operation_name: string;
236
- readonly operations: readonly {
237
- readonly eta_seconds: number;
238
- readonly id: string;
239
- readonly progress_percentage: number;
240
- readonly shard: string;
241
- readonly state: "cancelled" | "complete" | "error" | "in_progress" | "pending" | "queued";
242
- }[];
240
+ readonly eta_seconds: number;
243
241
  readonly progress_percentage: number;
244
- readonly removed_foreign_key_names: readonly string[];
245
- readonly shard_count: number;
246
- readonly shard_names: readonly string[];
247
- readonly sharded: boolean;
248
- readonly state: "cancelled" | "complete" | "error" | "in_progress" | "pending";
242
+ readonly deploy_error_docs_url: string;
243
+ readonly ddl_statement: string;
249
244
  readonly syntax_highlighted_ddl: string;
250
- readonly table_name: string;
245
+ readonly created_at: string;
246
+ readonly updated_at: string;
247
+ readonly throttled_at: string;
248
+ readonly can_drop_data: boolean;
249
+ readonly table_locked: boolean;
251
250
  readonly table_recently_used: boolean;
252
251
  readonly table_recently_used_at: string;
253
- readonly throttled_at: string;
252
+ readonly removed_foreign_key_names: readonly string[];
253
+ readonly deploy_errors: string;
254
254
  }[];
255
- readonly deploy_operations: readonly {
256
- readonly can_drop_data: boolean;
255
+ readonly deploy_operation_summaries: readonly {
256
+ readonly id: string;
257
257
  readonly created_at: string;
258
- readonly ddl_statement: string;
259
- readonly deploy_error_docs_url: string;
260
258
  readonly deploy_errors: string;
259
+ readonly ddl_statement: string;
261
260
  readonly eta_seconds: number;
262
- readonly id: string;
263
261
  readonly keyspace_name: string;
264
262
  readonly operation_name: string;
265
263
  readonly progress_percentage: number;
266
- readonly removed_foreign_key_names: readonly string[];
267
- readonly state: "cancelled" | "complete" | "error" | "in_progress" | "pending" | "queued";
264
+ readonly state: "cancelled" | "complete" | "error" | "in_progress" | "pending";
268
265
  readonly syntax_highlighted_ddl: string;
269
- readonly table_locked: boolean;
270
266
  readonly table_name: string;
271
- readonly table_recently_used: boolean;
272
267
  readonly table_recently_used_at: string;
273
268
  readonly throttled_at: string;
274
- readonly updated_at: string;
269
+ readonly removed_foreign_key_names: readonly string[];
270
+ readonly shard_count: number;
271
+ readonly shard_names: readonly string[];
272
+ readonly can_drop_data: boolean;
273
+ readonly table_recently_used: boolean;
274
+ readonly sharded: boolean;
275
+ readonly operations: readonly {
276
+ readonly id: string;
277
+ readonly shard: string;
278
+ readonly state: "cancelled" | "complete" | "error" | "in_progress" | "pending" | "queued";
279
+ readonly progress_percentage: number;
280
+ readonly eta_seconds: number;
281
+ }[];
275
282
  }[];
276
- readonly deploy_request_number: number;
277
- readonly deployable: boolean;
278
- readonly deployment_revert_request: {
279
- readonly [x: string]: unknown;
280
- };
281
- readonly finished_at: string;
282
- readonly id: string;
283
- readonly instant_ddl: boolean;
284
- readonly instant_ddl_eligible: boolean;
285
- readonly into_branch: string;
286
283
  readonly lint_errors: readonly {
287
284
  readonly [x: string]: unknown;
288
285
  }[];
289
- readonly locked_table_name: string;
290
- readonly lookup_vindex_operations: readonly {
291
- readonly [x: string]: unknown;
292
- }[];
293
- readonly preceding_deployments: readonly {
286
+ readonly sequential_diff_dependencies: readonly {
294
287
  readonly [x: string]: unknown;
295
288
  }[];
296
- readonly queued_at: string;
297
- readonly ready_to_cutover_at: string;
298
- readonly schema_last_updated_at: string;
299
- readonly sequential_diff_dependencies: readonly {
289
+ readonly lookup_vindex_operations: readonly {
300
290
  readonly [x: string]: unknown;
301
291
  }[];
302
- readonly started_at: string;
303
- 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";
304
- readonly submitted_at: string;
305
- readonly table_locked: boolean;
306
292
  readonly throttler_configurations: readonly {
307
293
  readonly [x: string]: unknown;
308
294
  }[];
309
- readonly updated_at: string;
295
+ readonly deployment_revert_request: {
296
+ readonly [x: string]: unknown;
297
+ };
298
+ readonly actor: {
299
+ readonly id: string;
300
+ readonly display_name: string;
301
+ readonly avatar_url: string;
302
+ };
303
+ readonly cutover_actor: {
304
+ readonly id: string;
305
+ readonly display_name: string;
306
+ readonly avatar_url: string;
307
+ };
308
+ readonly cancelled_actor: {
309
+ readonly id: string;
310
+ readonly display_name: string;
311
+ readonly avatar_url: string;
312
+ };
313
+ readonly schema_last_updated_at: string;
314
+ readonly table_locked: boolean;
315
+ readonly locked_table_name: string;
316
+ readonly instant_ddl: boolean;
317
+ readonly instant_ddl_eligible: boolean;
310
318
  };
311
- 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";
312
- readonly html_body: string;
319
+ readonly num_comments: number;
313
320
  readonly html_url: string;
314
- readonly id: string;
315
- readonly into_branch: string;
316
- readonly into_branch_shard_count: number;
317
- readonly into_branch_sharded: boolean;
318
321
  readonly notes: string;
319
- readonly num_comments: number;
320
- readonly number: number;
321
- readonly state: "closed" | "open";
322
+ readonly html_body: string;
323
+ readonly created_at: string;
322
324
  readonly updated_at: string;
325
+ readonly closed_at: string;
326
+ readonly deployed_at: string;
323
327
  }[];
324
- readonly next_page: number | null;
325
- readonly next_page_url: string | null;
326
- readonly prev_page: number | null;
327
- readonly prev_page_url: string | null;
328
328
  }, Forbidden | NotFound, import("../credentials.ts").Credentials>;
329
329
  //# sourceMappingURL=listDeployRequests.d.ts.map