@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
@@ -29,26 +29,26 @@ export type GetOauthApplicationOutput = typeof GetOauthApplicationOutput.Type;
29
29
  * @param application_id - The ID of the OAuth application
30
30
  */
31
31
  export declare const getOauthApplication: import("@distilled.cloud/core/client").OperationMethod<{
32
- readonly application_id: string;
33
32
  readonly organization: string;
33
+ readonly application_id: string;
34
34
  }, {
35
- readonly all_scopes_by_resource: {
36
- readonly [x: string]: unknown;
37
- };
38
- readonly avatar: string;
39
- readonly client_id: string;
40
- readonly created_at: string;
41
- readonly dcr: boolean;
42
- readonly domain: string;
43
35
  readonly id: string;
44
36
  readonly name: string;
45
37
  readonly redirect_uri: string;
38
+ readonly domain: string;
39
+ readonly created_at: string;
40
+ readonly updated_at: string;
46
41
  readonly scopes: readonly string[];
42
+ readonly avatar: string;
43
+ readonly client_id: string;
44
+ readonly tokens: number;
45
+ readonly dcr: boolean;
46
+ readonly single_org_authorization: boolean;
47
47
  readonly scopes_by_resource: {
48
48
  readonly [x: string]: unknown;
49
49
  };
50
- readonly single_org_authorization: boolean;
51
- readonly tokens: number;
52
- readonly updated_at: string;
50
+ readonly all_scopes_by_resource: {
51
+ readonly [x: string]: unknown;
52
+ };
53
53
  }, Forbidden | NotFound, import("../credentials.ts").Credentials>;
54
54
  //# sourceMappingURL=getOauthApplication.d.ts.map
@@ -93,85 +93,85 @@ export type GetOauthTokenOutput = typeof GetOauthTokenOutput.Type;
93
93
  * @param token_id - The ID of the OAuth application token
94
94
  */
95
95
  export declare const getOauthToken: import("@distilled.cloud/core/client").OperationMethod<{
96
- readonly application_id: string;
97
96
  readonly organization: string;
97
+ readonly application_id: string;
98
98
  readonly token_id: string;
99
99
  }, {
100
- readonly actor_display_name: string;
101
- readonly actor_id: string;
102
- readonly actor_type: string;
100
+ readonly id: string;
101
+ readonly name?: string | null | undefined;
102
+ readonly display_name: string;
103
+ readonly token?: string | import("effect/Redacted").Redacted<string> | null | undefined;
104
+ readonly plain_text_refresh_token?: string | import("effect/Redacted").Redacted<string> | null | undefined;
103
105
  readonly avatar_url: string;
104
106
  readonly created_at: string;
105
- readonly display_name: string;
107
+ readonly updated_at: string;
106
108
  readonly expires_at?: string | null | undefined;
107
- readonly id: string;
108
109
  readonly last_used_at?: string | null | undefined;
109
- readonly name?: string | null | undefined;
110
+ readonly actor_id: string;
111
+ readonly actor_display_name: string;
112
+ readonly actor_type: string;
113
+ readonly service_token_accesses?: readonly {
114
+ readonly id: string;
115
+ readonly access: string;
116
+ readonly description: string;
117
+ readonly resource_name: string;
118
+ readonly resource_id: string;
119
+ readonly resource_type: string;
120
+ readonly resource: {
121
+ readonly id: string;
122
+ readonly name: string;
123
+ readonly created_at: string;
124
+ readonly updated_at: string;
125
+ readonly deleted_at: string;
126
+ };
127
+ }[] | undefined;
110
128
  readonly oauth_accesses_by_resource?: {
111
- readonly branch: {
112
- readonly accesses: readonly {
113
- readonly description: string;
129
+ readonly database: {
130
+ readonly databases: readonly {
114
131
  readonly name: string;
115
- }[];
116
- readonly branches: readonly {
117
- readonly database: string;
118
132
  readonly id: string;
119
- readonly name: string;
120
133
  readonly organization: string;
121
134
  readonly url: string;
122
135
  }[];
123
- };
124
- readonly database: {
125
136
  readonly accesses: readonly {
126
- readonly description: string;
127
137
  readonly name: string;
138
+ readonly description: string;
128
139
  }[];
129
- readonly databases: readonly {
130
- readonly id: string;
140
+ };
141
+ readonly organization: {
142
+ readonly organizations: readonly {
131
143
  readonly name: string;
132
- readonly organization: string;
144
+ readonly id: string;
133
145
  readonly url: string;
134
146
  }[];
135
- };
136
- readonly organization: {
137
147
  readonly accesses: readonly {
138
- readonly description: string;
139
148
  readonly name: string;
149
+ readonly description: string;
140
150
  }[];
141
- readonly organizations: readonly {
142
- readonly id: string;
151
+ };
152
+ readonly branch: {
153
+ readonly branches: readonly {
143
154
  readonly name: string;
155
+ readonly id: string;
156
+ readonly database: string;
157
+ readonly organization: string;
144
158
  readonly url: string;
145
159
  }[];
146
- };
147
- readonly user: {
148
160
  readonly accesses: readonly {
149
- readonly description: string;
150
161
  readonly name: string;
162
+ readonly description: string;
151
163
  }[];
164
+ };
165
+ readonly user: {
152
166
  readonly users: readonly {
167
+ readonly name: string;
153
168
  readonly id: string;
169
+ }[];
170
+ readonly accesses: readonly {
154
171
  readonly name: string;
172
+ readonly description: string;
155
173
  }[];
156
174
  };
157
175
  } | undefined;
158
- readonly plain_text_refresh_token?: string | import("effect/Redacted").Redacted<string> | null | undefined;
159
- readonly service_token_accesses?: readonly {
160
- readonly access: string;
161
- readonly description: string;
162
- readonly id: string;
163
- readonly resource: {
164
- readonly created_at: string;
165
- readonly deleted_at: string;
166
- readonly id: string;
167
- readonly name: string;
168
- readonly updated_at: string;
169
- };
170
- readonly resource_id: string;
171
- readonly resource_name: string;
172
- readonly resource_type: string;
173
- }[] | undefined;
174
- readonly token?: string | import("effect/Redacted").Redacted<string> | null | undefined;
175
- readonly updated_at: string;
176
176
  }, Forbidden | NotFound, import("../credentials.ts").Credentials>;
177
177
  //# sourceMappingURL=getOauthToken.d.ts.map
@@ -35,27 +35,27 @@ export type GetOrganizationOutput = typeof GetOrganizationOutput.Type;
35
35
  export declare const getOrganization: import("@distilled.cloud/core/client").OperationMethod<{
36
36
  readonly organization: string;
37
37
  }, {
38
+ readonly id: string;
39
+ readonly name: string;
38
40
  readonly billing_email: string;
39
41
  readonly created_at: string;
42
+ readonly updated_at: string;
43
+ readonly plan: string;
44
+ readonly valid_billing_info: boolean;
45
+ readonly sso: boolean;
46
+ readonly sso_directory: boolean;
47
+ readonly single_tenancy: boolean;
48
+ readonly managed_tenancy: boolean;
49
+ readonly has_past_due_invoices?: boolean | undefined;
40
50
  readonly database_count: number;
51
+ readonly sso_portal_url?: string | undefined;
41
52
  readonly features: {
42
53
  readonly [x: string]: unknown;
43
54
  };
44
- readonly has_card: boolean;
45
- readonly has_past_due_invoices?: boolean | undefined;
46
- readonly id: string;
47
55
  readonly idp_managed_roles: boolean;
48
56
  readonly invoice_budget_amount: string;
49
57
  readonly keyspace_shard_limit: number;
50
- readonly managed_tenancy: boolean;
51
- readonly name: string;
58
+ readonly has_card: boolean;
52
59
  readonly payment_info_required: boolean;
53
- readonly plan: string;
54
- readonly single_tenancy: boolean;
55
- readonly sso: boolean;
56
- readonly sso_directory: boolean;
57
- readonly sso_portal_url?: string | undefined;
58
- readonly updated_at: string;
59
- readonly valid_billing_info: boolean;
60
60
  }, Forbidden | NotFound, import("../credentials.ts").Credentials>;
61
61
  //# sourceMappingURL=getOrganization.d.ts.map
@@ -40,33 +40,33 @@ export type GetOrganizationMembershipOutput = typeof GetOrganizationMembershipOu
40
40
  * @param id - The ID of the user
41
41
  */
42
42
  export declare const getOrganizationMembership: import("@distilled.cloud/core/client").OperationMethod<{
43
- readonly id: string;
44
43
  readonly organization: string;
44
+ readonly id: string;
45
45
  }, {
46
- readonly created_at: string;
47
46
  readonly id: string;
48
- readonly role: "admin" | "member";
49
- readonly updated_at: string;
50
47
  readonly user: {
48
+ readonly id: string;
49
+ readonly display_name: string;
50
+ readonly name?: string | null | undefined;
51
+ readonly email: string;
51
52
  readonly avatar_url: string;
52
53
  readonly created_at: string;
54
+ readonly updated_at: string;
55
+ readonly two_factor_auth_configured: boolean;
53
56
  readonly default_organization?: {
54
- readonly created_at: string;
55
- readonly deleted_at: string;
56
57
  readonly id: string;
57
58
  readonly name: string;
59
+ readonly created_at: string;
58
60
  readonly updated_at: string;
61
+ readonly deleted_at: string;
59
62
  } | undefined;
63
+ readonly sso?: boolean | undefined;
64
+ readonly managed?: boolean | undefined;
60
65
  readonly directory_managed?: boolean | undefined;
61
- readonly display_name: string;
62
- readonly email: string;
63
66
  readonly email_verified?: boolean | undefined;
64
- readonly id: string;
65
- readonly managed?: boolean | undefined;
66
- readonly name?: string | null | undefined;
67
- readonly sso?: boolean | undefined;
68
- readonly two_factor_auth_configured: boolean;
69
- readonly updated_at: string;
70
67
  };
68
+ readonly role: "admin" | "member";
69
+ readonly created_at: string;
70
+ readonly updated_at: string;
71
71
  }, Forbidden | NotFound, import("../credentials.ts").Credentials>;
72
72
  //# sourceMappingURL=getOrganizationMembership.d.ts.map
@@ -58,45 +58,45 @@ export declare const getOrganizationTeam: import("@distilled.cloud/core/client")
58
58
  readonly organization: string;
59
59
  readonly team: string;
60
60
  }, {
61
- readonly created_at: string;
61
+ readonly id: string;
62
+ readonly display_name: string;
62
63
  readonly creator: {
63
- readonly avatar_url: string;
64
- readonly display_name: string;
65
64
  readonly id: string;
65
+ readonly display_name: string;
66
+ readonly avatar_url: string;
66
67
  };
67
- readonly databases: readonly {
68
- readonly branches_url: string;
68
+ readonly members: readonly {
69
69
  readonly id: string;
70
+ readonly display_name: string;
70
71
  readonly name: string;
71
- readonly url: string;
72
- }[];
73
- readonly description: string;
74
- readonly display_name: string;
75
- readonly id: string;
76
- readonly managed: boolean;
77
- readonly members: readonly {
72
+ readonly email: string;
78
73
  readonly avatar_url: string;
79
74
  readonly created_at: string;
75
+ readonly updated_at: string;
76
+ readonly two_factor_auth_configured: boolean;
80
77
  readonly default_organization: {
81
- readonly created_at: string;
82
- readonly deleted_at: string;
83
78
  readonly id: string;
84
79
  readonly name: string;
80
+ readonly created_at: string;
85
81
  readonly updated_at: string;
82
+ readonly deleted_at: string;
86
83
  };
84
+ readonly sso: boolean;
85
+ readonly managed: boolean;
87
86
  readonly directory_managed: boolean;
88
- readonly display_name: string;
89
- readonly email: string;
90
87
  readonly email_verified: boolean;
88
+ }[];
89
+ readonly databases: readonly {
91
90
  readonly id: string;
92
- readonly managed: boolean;
93
91
  readonly name: string;
94
- readonly sso: boolean;
95
- readonly two_factor_auth_configured: boolean;
96
- readonly updated_at: string;
92
+ readonly url: string;
93
+ readonly branches_url: string;
97
94
  }[];
98
95
  readonly name: string;
99
96
  readonly slug: string;
97
+ readonly created_at: string;
100
98
  readonly updated_at: string;
99
+ readonly description: string;
100
+ readonly managed: boolean;
101
101
  }, BadRequest | Forbidden | NotFound | UnprocessableEntity, import("../credentials.ts").Credentials>;
102
102
  //# sourceMappingURL=getOrganizationTeam.d.ts.map
@@ -89,81 +89,81 @@ export type GetOrganizationTeamMemberOutput = typeof GetOrganizationTeamMemberOu
89
89
  * @param id - The ID of the team membership or the ID of the member
90
90
  */
91
91
  export declare const getOrganizationTeamMember: import("@distilled.cloud/core/client").OperationMethod<{
92
- readonly id: string;
93
92
  readonly organization: string;
94
93
  readonly team: string;
94
+ readonly id: string;
95
95
  }, {
96
- readonly actor: {
97
- readonly avatar_url: string;
96
+ readonly id: string;
97
+ readonly user: {
98
+ readonly id: string;
98
99
  readonly display_name: string;
100
+ readonly name: string;
101
+ readonly email: string;
102
+ readonly avatar_url: string;
103
+ readonly created_at: string;
104
+ readonly updated_at: string;
105
+ readonly two_factor_auth_configured: boolean;
106
+ readonly default_organization: {
107
+ readonly id: string;
108
+ readonly name: string;
109
+ readonly created_at: string;
110
+ readonly updated_at: string;
111
+ readonly deleted_at: string;
112
+ };
113
+ readonly sso: boolean;
114
+ readonly managed: boolean;
115
+ readonly directory_managed: boolean;
116
+ readonly email_verified: boolean;
117
+ };
118
+ readonly actor: {
99
119
  readonly id: string;
120
+ readonly display_name: string;
121
+ readonly avatar_url: string;
100
122
  };
101
123
  readonly created_at: string;
102
- readonly id: string;
124
+ readonly updated_at: string;
103
125
  readonly passwords: readonly {
104
- readonly access_host_regional_url: string;
105
- readonly access_host_regional_urls: readonly string[];
106
- readonly access_host_url: string;
107
- readonly actor: {
108
- readonly avatar_url: string;
109
- readonly display_name: string;
110
- readonly id: string;
111
- };
126
+ readonly id: string;
127
+ readonly name: string;
128
+ readonly role: "admin" | "reader" | "readwriter" | "writer";
112
129
  readonly cidrs: readonly string[];
113
130
  readonly created_at: string;
114
- readonly database_branch: {
115
- readonly id: string;
116
- readonly mysql_edge_address: string;
117
- readonly name: string;
118
- readonly private_edge_connectivity: boolean;
119
- readonly production: boolean;
120
- };
121
131
  readonly deleted_at: string;
122
- readonly direct_vtgate: boolean;
123
- readonly direct_vtgate_addresses: readonly string[];
124
- readonly expired: boolean;
125
132
  readonly expires_at: string;
126
- readonly id: string;
127
133
  readonly last_used_at: string;
128
- readonly name: string;
129
- readonly plain_text: string | import("effect/Redacted").Redacted<string>;
130
- readonly region: {
131
- readonly current_default: boolean;
134
+ readonly expired: boolean;
135
+ readonly direct_vtgate: boolean;
136
+ readonly direct_vtgate_addresses: readonly string[];
137
+ readonly ttl_seconds: number;
138
+ readonly access_host_url: string;
139
+ readonly access_host_regional_url: string;
140
+ readonly access_host_regional_urls: readonly string[];
141
+ readonly actor: {
142
+ readonly id: string;
132
143
  readonly display_name: string;
133
- readonly enabled: boolean;
144
+ readonly avatar_url: string;
145
+ };
146
+ readonly region: {
134
147
  readonly id: string;
135
- readonly location: string;
136
148
  readonly provider: string;
149
+ readonly enabled: boolean;
137
150
  readonly public_ip_addresses: readonly string[];
151
+ readonly display_name: string;
152
+ readonly location: string;
138
153
  readonly slug: string;
154
+ readonly current_default: boolean;
139
155
  };
140
- readonly renewable: boolean;
141
- readonly replica: boolean;
142
- readonly role: "admin" | "reader" | "readwriter" | "writer";
143
- readonly ttl_seconds: number;
144
156
  readonly username: string;
145
- }[];
146
- readonly updated_at: string;
147
- readonly user: {
148
- readonly avatar_url: string;
149
- readonly created_at: string;
150
- readonly default_organization: {
151
- readonly created_at: string;
152
- readonly deleted_at: string;
153
- readonly id: string;
157
+ readonly plain_text: string | import("effect/Redacted").Redacted<string>;
158
+ readonly replica: boolean;
159
+ readonly renewable: boolean;
160
+ readonly database_branch: {
154
161
  readonly name: string;
155
- readonly updated_at: string;
162
+ readonly id: string;
163
+ readonly production: boolean;
164
+ readonly mysql_edge_address: string;
165
+ readonly private_edge_connectivity: boolean;
156
166
  };
157
- readonly directory_managed: boolean;
158
- readonly display_name: string;
159
- readonly email: string;
160
- readonly email_verified: boolean;
161
- readonly id: string;
162
- readonly managed: boolean;
163
- readonly name: string;
164
- readonly sso: boolean;
165
- readonly two_factor_auth_configured: boolean;
166
- readonly updated_at: string;
167
- };
167
+ }[];
168
168
  }, BadRequest | Forbidden | NotFound | UnprocessableEntity, import("../credentials.ts").Credentials>;
169
169
  //# sourceMappingURL=getOrganizationTeamMember.d.ts.map
@@ -60,51 +60,51 @@ export type GetPasswordOutput = typeof GetPasswordOutput.Type;
60
60
  * @param id - The ID of the password
61
61
  */
62
62
  export declare const getPassword: import("@distilled.cloud/core/client").OperationMethod<{
63
- readonly branch: string;
63
+ readonly organization: string;
64
64
  readonly database: string;
65
+ readonly branch: string;
65
66
  readonly id: string;
66
- readonly organization: string;
67
67
  }, {
68
- readonly access_host_regional_url: string;
69
- readonly access_host_regional_urls: readonly string[];
70
- readonly access_host_url: string;
71
- readonly actor: {
72
- readonly avatar_url: string;
73
- readonly display_name: string;
74
- readonly id: string;
75
- };
68
+ readonly id: string;
69
+ readonly name: string;
70
+ readonly role: "admin" | "reader" | "readwriter" | "writer";
76
71
  readonly cidrs: readonly string[] | null;
77
72
  readonly created_at: string;
78
- readonly database_branch: {
79
- readonly id: string;
80
- readonly mysql_edge_address: string;
81
- readonly name: string;
82
- readonly private_edge_connectivity: boolean;
83
- readonly production: boolean;
84
- };
85
73
  readonly deleted_at: string | null;
86
- readonly direct_vtgate: boolean;
87
- readonly direct_vtgate_addresses: readonly string[];
88
- readonly expired: boolean;
89
74
  readonly expires_at: string | null;
90
- readonly id: string;
91
75
  readonly last_used_at: string | null;
92
- readonly name: string;
93
- readonly plain_text: string | import("effect/Redacted").Redacted<string> | null;
94
- readonly region: {
95
- readonly current_default: boolean;
76
+ readonly expired: boolean;
77
+ readonly direct_vtgate: boolean;
78
+ readonly direct_vtgate_addresses: readonly string[];
79
+ readonly ttl_seconds: number | null;
80
+ readonly access_host_url: string;
81
+ readonly access_host_regional_url: string;
82
+ readonly access_host_regional_urls: readonly string[];
83
+ readonly actor: {
84
+ readonly id: string;
96
85
  readonly display_name: string;
97
- readonly enabled: boolean;
86
+ readonly avatar_url: string;
87
+ };
88
+ readonly region: {
98
89
  readonly id: string;
99
- readonly location: string;
100
90
  readonly provider: string;
91
+ readonly enabled: boolean;
101
92
  readonly public_ip_addresses: readonly string[];
93
+ readonly display_name: string;
94
+ readonly location: string;
102
95
  readonly slug: string;
96
+ readonly current_default: boolean;
103
97
  };
104
- readonly renewable: boolean;
105
- readonly replica: boolean;
106
- readonly role: "admin" | "reader" | "readwriter" | "writer";
107
- readonly ttl_seconds: number | null;
108
98
  readonly username: string;
99
+ readonly plain_text: string | import("effect/Redacted").Redacted<string> | null;
100
+ readonly replica: boolean;
101
+ readonly renewable: boolean;
102
+ readonly database_branch: {
103
+ readonly name: string;
104
+ readonly id: string;
105
+ readonly production: boolean;
106
+ readonly mysql_edge_address: string;
107
+ readonly private_edge_connectivity: boolean;
108
+ };
109
109
  }, Forbidden | NotFound, import("../credentials.ts").Credentials>;
110
110
  //# sourceMappingURL=getPassword.d.ts.map
@@ -18,9 +18,9 @@ export type GetQueryPatternsReportOutput = typeof GetQueryPatternsReportOutput.T
18
18
  * @param id - The ID of the query patterns report
19
19
  */
20
20
  export declare const getQueryPatternsReport: import("@distilled.cloud/core/client").OperationMethod<{
21
- readonly branch: string;
21
+ readonly organization: string;
22
22
  readonly database: string;
23
+ readonly branch: string;
23
24
  readonly id: string;
24
- readonly organization: string;
25
25
  }, void, Forbidden | NotFound, import("../credentials.ts").Credentials>;
26
26
  //# sourceMappingURL=getQueryPatternsReport.d.ts.map
@@ -30,21 +30,21 @@ export type GetQueryPatternsReportStatusOutput = typeof GetQueryPatternsReportSt
30
30
  * @param id - The ID of the query patterns report
31
31
  */
32
32
  export declare const getQueryPatternsReportStatus: import("@distilled.cloud/core/client").OperationMethod<{
33
- readonly branch: string;
33
+ readonly organization: string;
34
34
  readonly database: string;
35
+ readonly branch: string;
35
36
  readonly id: string;
36
- readonly organization: string;
37
37
  }, {
38
- readonly actor: {
39
- readonly avatar_url: string;
40
- readonly display_name: string;
41
- readonly id: string;
42
- };
43
- readonly created_at: string;
44
- readonly download_url: string;
45
- readonly finished_at: string;
46
38
  readonly id: string;
47
39
  readonly state: "completed" | "failed" | "pending";
40
+ readonly created_at: string;
41
+ readonly finished_at: string;
48
42
  readonly url: string;
43
+ readonly download_url: string;
44
+ readonly actor: {
45
+ readonly id: string;
46
+ readonly display_name: string;
47
+ readonly avatar_url: string;
48
+ };
49
49
  }, Forbidden | NotFound, import("../credentials.ts").Credentials>;
50
50
  //# sourceMappingURL=getQueryPatternsReportStatus.d.ts.map
@@ -54,45 +54,45 @@ export type GetRoleOutput = typeof GetRoleOutput.Type;
54
54
  * @param id - The ID of the role
55
55
  */
56
56
  export declare const getRole: import("@distilled.cloud/core/client").OperationMethod<{
57
- readonly branch: string;
57
+ readonly organization: string;
58
58
  readonly database: string;
59
+ readonly branch: string;
59
60
  readonly id: string;
60
- readonly organization: string;
61
61
  }, {
62
+ readonly id: string;
63
+ readonly name: string;
62
64
  readonly access_host_url: string;
63
- readonly actor: {
64
- readonly avatar_url: string;
65
- readonly display_name: string;
66
- readonly id: string;
67
- };
68
- readonly branch: {
69
- readonly created_at: string;
70
- readonly deleted_at: string | null;
71
- readonly id: string;
72
- readonly name: string;
73
- readonly updated_at: string;
74
- };
75
- readonly created_at: string;
65
+ readonly private_access_host_url: string;
66
+ readonly private_connection_service_name: string;
67
+ readonly username: string;
68
+ readonly password: string | import("effect/Redacted").Redacted<string> | null;
76
69
  readonly database_name: string;
77
- readonly default: boolean;
70
+ readonly created_at: string;
71
+ readonly updated_at: string;
78
72
  readonly deleted_at: string | null;
73
+ readonly expires_at: string | null;
74
+ readonly dropped_at: string | null;
79
75
  readonly disabled_at: string | null;
80
76
  readonly drop_failed: string | null;
81
- readonly dropped_at: string | null;
82
77
  readonly expired: boolean;
83
- readonly expires_at: string | null;
84
- readonly id: string;
78
+ readonly default: boolean;
79
+ readonly ttl: number | null;
85
80
  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")[];
86
- readonly name: string;
87
- readonly password: string | import("effect/Redacted").Redacted<string> | null;
88
- readonly private_access_host_url: string;
89
- readonly private_connection_service_name: string;
81
+ readonly branch: {
82
+ readonly id: string;
83
+ readonly name: string;
84
+ readonly created_at: string;
85
+ readonly updated_at: string;
86
+ readonly deleted_at: string | null;
87
+ };
88
+ readonly actor: {
89
+ readonly id: string;
90
+ readonly display_name: string;
91
+ readonly avatar_url: string;
92
+ };
90
93
  readonly query_safety_settings: {
91
94
  readonly require_where_on_delete: "off" | "on" | "warn";
92
95
  readonly require_where_on_update: "off" | "on" | "warn";
93
96
  };
94
- readonly ttl: number | null;
95
- readonly updated_at: string;
96
- readonly username: string;
97
97
  }, Forbidden | NotFound, import("../credentials.ts").Credentials>;
98
98
  //# sourceMappingURL=getRole.d.ts.map