@cloudfleet/sdk 0.0.1-41d4ab0 → 0.0.1-43887de

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.
@@ -1,6 +1,6 @@
1
1
  import { type DefaultError, type UseMutationOptions } from '@tanstack/react-query';
2
2
  import { type Options } from '../sdk.gen';
3
- import type { CreateChartData, CreateChartResponse, CreateClusterData, CreateClusterError, CreateClusterResponse, CreateFleetData, CreateFleetError, CreateFleetResponse, CreateInviteData, CreateInviteResponse, CreateOrganizationData, CreateTokenData, CreateTokenResponse, CreateUserData, CreateUserResponse, DeleteChartData, DeleteChartResponse, DeleteClusterData, DeleteClusterResponse, DeleteFleetData, DeleteFleetResponse, DeleteInviteData, DeleteTagData, DeleteTokenData, DeleteUserData, DeleteUserResponse, GetChartData, GetClusterCaData, GetClusterData, GetContactData, GetCreditsData, GetFleetData, GetInviteData, GetJoinInformationData, GetJoinInformationResponse, GetMarketplaceChartFilesData, GetOrganizationData, GetPaymentMethodData, GetPaymentMethodSecretData, GetPaymentMethodSecretResponse, GetTagData, GetTokenData, GetUsageData, GetUserData, ListChartsData, ListClustersData, ListFleetsData, ListInvitesData, ListInvoicesData, ListMarketplaceChartsData, ListRepositoriesData, ListTagsData, ListTokensData, ListUserOrganizationsData, ListUsersData, PostMcpData, PostMcpResponse, QueryClusterData, RedeemCreditsData, RegenerateTokenData, RegenerateTokenResponse, UpdateChartData, UpdateChartResponse, UpdateClusterData, UpdateClusterResponse, UpdateContactData, UpdateContactResponse, UpdateFleetData, UpdateFleetError, UpdateFleetResponse, UpdateTokenData, UpdateTokenResponse, UpdateUserData, UpdateUserResponse } from '../types.gen';
3
+ import type { CloseTicketData, CloseTicketResponse, CreateChartData, CreateChartError, CreateChartResponse, CreateClusterData, CreateClusterError, CreateClusterResponse, CreateFleetData, CreateFleetError, CreateFleetResponse, CreateInviteData, CreateInviteResponse, CreateOrganizationData, CreateOrganizationResponse, CreateTicketData, CreateTicketResponse, CreateTokenData, CreateTokenResponse, CreateUserData, CreateUserResponse, DeleteChartData, DeleteChartError, DeleteChartResponse, DeleteClusterData, DeleteClusterError, DeleteClusterResponse, DeleteFleetData, DeleteFleetError, DeleteFleetResponse, DeleteInviteData, DeletePaymentMethodData, DeletePaymentMethodResponse, DeleteTagData, DeleteTokenData, DeleteUserData, DeleteUserResponse, GetChartData, GetClusterData, GetContactData, GetCreditsData, GetFleetData, GetInviteData, GetJoinInformationData, GetJoinInformationError, GetJoinInformationResponse, GetMarketplaceChartFilesData, GetOrganizationData, GetPaymentMethodSecretData, GetPaymentMethodSecretResponse, GetTagData, GetTicketAttachmentData, GetTicketData, GetTokenData, GetUsageData, GetUserData, GrantTicketSupportAccessData, GrantTicketSupportAccessResponse, ListChartsData, ListClustersData, ListFleetsData, ListInvitesData, ListInvoicesData, ListMarketplaceChartsData, ListPaymentMethodsData, ListRepositoriesData, ListRoadmapData, ListTagsData, ListTicketsData, ListTokensData, ListUserOrganizationsData, ListUsersData, PayOpenInvoicesData, PayOpenInvoicesResponse, PostMcpData, PostMcpResponse, QueryClusterData, RedeemCreditsData, RegenerateTokenData, RegenerateTokenResponse, ReplyTicketData, ReplyTicketResponse, SendFeedbackData, SendFeedbackResponse, SetDefaultPaymentMethodData, SetDefaultPaymentMethodResponse, SuggestRoadmapData, SuggestRoadmapResponse, UnvoteRoadmapData, UnvoteRoadmapResponse, UpdateChartData, UpdateChartError, UpdateChartResponse, UpdateClusterData, UpdateClusterError, UpdateClusterResponse, UpdateContactData, UpdateContactResponse, UpdateFleetData, UpdateFleetError, UpdateFleetResponse, UpdateTokenData, UpdateTokenResponse, UpdateUserData, UpdateUserResponse, VoteRoadmapData, VoteRoadmapResponse } from '../types.gen';
4
4
  export type QueryKey<TOptions extends Options> = [
5
5
  Pick<TOptions, 'baseUrl' | 'body' | 'headers' | 'path' | 'query'> & {
6
6
  _id: string;
@@ -8,609 +8,471 @@ export type QueryKey<TOptions extends Options> = [
8
8
  tags?: ReadonlyArray<string>;
9
9
  }
10
10
  ];
11
- export declare const getUsageQueryKey: (options?: Options<GetUsageData>) => [Pick<Options<GetUsageData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
11
+ export declare const listUserOrganizationsQueryKey: (options: Options<ListUserOrganizationsData>) => [Pick<Options<ListUserOrganizationsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
12
12
  _id: string;
13
13
  _infinite?: boolean;
14
14
  tags?: ReadonlyArray<string>;
15
15
  }];
16
16
  /**
17
- * Get billing usage information.
18
- *
19
- * Returns aggregated usage information for the organization with facets for filtering. For more information on billing and payments, see [Billing and pricing](https://cloudfleet.ai/docs/organization/billing/) section of documentaiton. This endpoint is available to all users in the organization.
20
- *
17
+ * Get a list of organizations the user belongs to. Used during authentication process.
21
18
  */
22
- export declare const getUsageOptions: (options?: Options<GetUsageData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").UsageResponse, Error, import("../types.gen").UsageResponse, [Pick<Options<GetUsageData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
19
+ export declare const listUserOrganizationsOptions: (options: Options<ListUserOrganizationsData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
20
+ realm?: string;
21
+ displayName?: string;
22
+ }[], Error, {
23
+ realm?: string;
24
+ displayName?: string;
25
+ }[], [Pick<Options<ListUserOrganizationsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
23
26
  _id: string;
24
27
  _infinite?: boolean;
25
28
  tags?: ReadonlyArray<string>;
26
29
  }]>, "queryFn"> & {
27
- queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").UsageResponse, [Pick<Options<GetUsageData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
30
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
31
+ realm?: string;
32
+ displayName?: string;
33
+ }[], [Pick<Options<ListUserOrganizationsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
28
34
  _id: string;
29
35
  _infinite?: boolean;
30
36
  tags?: ReadonlyArray<string>;
31
37
  }], never> | undefined;
32
- } & {
33
- queryKey: [Pick<Options<GetUsageData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
34
- _id: string;
35
- _infinite?: boolean;
36
- tags?: ReadonlyArray<string>;
37
- }] & {
38
- [dataTagSymbol]: import("../types.gen").UsageResponse;
39
- [dataTagErrorSymbol]: Error;
40
- };
41
- };
42
- export declare const getPaymentMethodQueryKey: (options?: Options<GetPaymentMethodData>) => [Pick<Options<GetPaymentMethodData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
43
- _id: string;
44
- _infinite?: boolean;
45
- tags?: ReadonlyArray<string>;
46
- }];
47
- /**
48
- * Get organization payment method information.
49
- *
50
- * Returns the information about the payment card associated with the organization with sensitive information redacted. Payment details can be updated in the Cloudfleet console only, please visit https://console.cloudfleet.ai. This endpoint is available to all users in the organization.
51
- *
52
- */
53
- export declare const getPaymentMethodOptions: (options?: Options<GetPaymentMethodData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").PaymentMethod, Error, import("../types.gen").PaymentMethod, [Pick<Options<GetPaymentMethodData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
38
+ } & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<ListUserOrganizationsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
54
39
  _id: string;
55
40
  _infinite?: boolean;
56
41
  tags?: ReadonlyArray<string>;
57
- }]>, "queryFn"> & {
58
- queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").PaymentMethod, [Pick<Options<GetPaymentMethodData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
59
- _id: string;
60
- _infinite?: boolean;
61
- tags?: ReadonlyArray<string>;
62
- }], never> | undefined;
63
- } & {
64
- queryKey: [Pick<Options<GetPaymentMethodData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
65
- _id: string;
66
- _infinite?: boolean;
67
- tags?: ReadonlyArray<string>;
68
- }] & {
69
- [dataTagSymbol]: import("../types.gen").PaymentMethod;
70
- [dataTagErrorSymbol]: Error;
71
- };
72
- };
73
- /**
74
- * Get Stripe client secret.
75
- *
76
- * Endpoint returns the Stripe secret key for the organization. This key is used to securely update the payment method in the Cloudfleet console only, please visit https://console.cloudfleet.ai. This endpoint is available to administrators of the organization only.
77
- *
78
- */
79
- export declare const getPaymentMethodSecretMutation: (options?: Partial<Options<GetPaymentMethodSecretData>>) => UseMutationOptions<GetPaymentMethodSecretResponse, DefaultError, Options<GetPaymentMethodSecretData>>;
80
- export declare const listInvoicesQueryKey: (options?: Options<ListInvoicesData>) => [Pick<Options<ListInvoicesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
42
+ }], {
43
+ realm?: string;
44
+ displayName?: string;
45
+ }[], Error>;
46
+ export declare const listUsersQueryKey: (options?: Options<ListUsersData>) => [Pick<Options<ListUsersData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
81
47
  _id: string;
82
48
  _infinite?: boolean;
83
49
  tags?: ReadonlyArray<string>;
84
50
  }];
85
51
  /**
86
- * List issued invoices.
52
+ * List users in organization.
87
53
  *
88
- * Returns a list of invoices for the organization. For more information on billing and payments, see [Billing and pricing](https://cloudfleet.ai/docs/organization/billing/) section of documentaiton. This endpoint is available to all users in the organization.
54
+ * Returns a list of user details and their roles. For more information on identity access management, see [Users](https://cloudfleet.ai/docs/organization/users/) section of documentaiton.
55
+ *
56
+ * This endpoint is available to all users in the organization.
89
57
  *
90
58
  */
91
- export declare const listInvoicesOptions: (options?: Options<ListInvoicesData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").Invoice[], Error, import("../types.gen").Invoice[], [Pick<Options<ListInvoicesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
59
+ export declare const listUsersOptions: (options?: Options<ListUsersData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").User[], Error, import("../types.gen").User[], [Pick<Options<ListUsersData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
92
60
  _id: string;
93
61
  _infinite?: boolean;
94
62
  tags?: ReadonlyArray<string>;
95
63
  }]>, "queryFn"> & {
96
- queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").Invoice[], [Pick<Options<ListInvoicesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
64
+ queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").User[], [Pick<Options<ListUsersData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
97
65
  _id: string;
98
66
  _infinite?: boolean;
99
67
  tags?: ReadonlyArray<string>;
100
68
  }], never> | undefined;
101
- } & {
102
- queryKey: [Pick<Options<ListInvoicesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
103
- _id: string;
104
- _infinite?: boolean;
105
- tags?: ReadonlyArray<string>;
106
- }] & {
107
- [dataTagSymbol]: import("../types.gen").Invoice[];
108
- [dataTagErrorSymbol]: Error;
109
- };
110
- };
111
- export declare const getContactQueryKey: (options?: Options<GetContactData>) => [Pick<Options<GetContactData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
69
+ } & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<ListUsersData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
112
70
  _id: string;
113
71
  _infinite?: boolean;
114
72
  tags?: ReadonlyArray<string>;
115
- }];
73
+ }], import("../types.gen").User[], Error>;
116
74
  /**
117
- * Get organization contact and billing address information.
75
+ * Create a new user.
118
76
  *
119
- * Returns the organization contact and billing address information. This endpoint is available to all users in the organization.
77
+ * Create a new user in your Cloudfleet organization. Requires a valid invite code generated by the `invites create` command. The invite code is a unique string that can be used only once to create a new user. The invite code is generated by the `POST /invites` endpoint.
120
78
  *
121
79
  */
122
- export declare const getContactOptions: (options?: Options<GetContactData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").BillingContact, Error, import("../types.gen").BillingContact, [Pick<Options<GetContactData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
123
- _id: string;
124
- _infinite?: boolean;
125
- tags?: ReadonlyArray<string>;
126
- }]>, "queryFn"> & {
127
- queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").BillingContact, [Pick<Options<GetContactData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
128
- _id: string;
129
- _infinite?: boolean;
130
- tags?: ReadonlyArray<string>;
131
- }], never> | undefined;
132
- } & {
133
- queryKey: [Pick<Options<GetContactData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
134
- _id: string;
135
- _infinite?: boolean;
136
- tags?: ReadonlyArray<string>;
137
- }] & {
138
- [dataTagSymbol]: import("../types.gen").BillingContact;
139
- [dataTagErrorSymbol]: Error;
140
- };
141
- };
80
+ export declare const createUserMutation: (options?: Partial<Options<CreateUserData>>) => UseMutationOptions<CreateUserResponse, DefaultError, Options<CreateUserData>>;
142
81
  /**
143
- * Update organization contact information and billing address.
82
+ * Delete user by id.
144
83
  *
145
- * This endpoint allows you to update organization details with its contact information. This endpoint is available to administrators of the organization only.
84
+ * Sets user status to `inactive`. Inactive users cannot log in and manage organization resources. This endpoint is available to administrators of the organization only.
146
85
  *
147
86
  */
148
- export declare const updateContactMutation: (options?: Partial<Options<UpdateContactData>>) => UseMutationOptions<UpdateContactResponse, DefaultError, Options<UpdateContactData>>;
149
- export declare const getCreditsQueryKey: (options?: Options<GetCreditsData>) => [Pick<Options<GetCreditsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
87
+ export declare const deleteUserMutation: (options?: Partial<Options<DeleteUserData>>) => UseMutationOptions<DeleteUserResponse, DefaultError, Options<DeleteUserData>>;
88
+ export declare const getUserQueryKey: (options: Options<GetUserData>) => [Pick<Options<GetUserData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
150
89
  _id: string;
151
90
  _infinite?: boolean;
152
91
  tags?: ReadonlyArray<string>;
153
92
  }];
154
93
  /**
155
- * Get applied promotional credits
94
+ * Get user profile information by id.
156
95
  *
157
- * Returns applied promotional credits for the organization. For more information on billing and payments, see [Billing and pricing](https://cloudfleet.ai/docs/organization/billing/) section of documentaiton. This endpoint is available to all users in the organization.
96
+ * Returns user details including their roles. For more information on identity access management, see [Users](https://cloudfleet.ai/docs/organization/users/) section of documentaiton.
97
+ *
98
+ * This endpoint is available to all users in the organization.
158
99
  *
159
100
  */
160
- export declare const getCreditsOptions: (options?: Options<GetCreditsData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").BillingCredits[], Error, import("../types.gen").BillingCredits[], [Pick<Options<GetCreditsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
101
+ export declare const getUserOptions: (options: Options<GetUserData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").User, Error, import("../types.gen").User, [Pick<Options<GetUserData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
161
102
  _id: string;
162
103
  _infinite?: boolean;
163
104
  tags?: ReadonlyArray<string>;
164
105
  }]>, "queryFn"> & {
165
- queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").BillingCredits[], [Pick<Options<GetCreditsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
106
+ queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").User, [Pick<Options<GetUserData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
166
107
  _id: string;
167
108
  _infinite?: boolean;
168
109
  tags?: ReadonlyArray<string>;
169
110
  }], never> | undefined;
170
- } & {
171
- queryKey: [Pick<Options<GetCreditsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
172
- _id: string;
173
- _infinite?: boolean;
174
- tags?: ReadonlyArray<string>;
175
- }] & {
176
- [dataTagSymbol]: import("../types.gen").BillingCredits[];
177
- [dataTagErrorSymbol]: Error;
178
- };
179
- };
111
+ } & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<GetUserData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
112
+ _id: string;
113
+ _infinite?: boolean;
114
+ tags?: ReadonlyArray<string>;
115
+ }], import("../types.gen").User, Error>;
180
116
  /**
181
- * Redeem promotional credits code.
117
+ * Update user profile information.
182
118
  *
183
- * Applies promotional credits for the organization. For more information on billing and payments, see [Billing and pricing](https://cloudfleet.ai/docs/organization/billing/) section of documentaiton. This endpoint is available to all users in the organization.
119
+ * Update user profile information: email, first name, last name, role. This endpoint can be accessed by administrators and the user itself. Role and status can be changed by administrators only.
184
120
  *
185
121
  */
186
- export declare const redeemCreditsMutation: (options?: Partial<Options<RedeemCreditsData>>) => UseMutationOptions<unknown, DefaultError, Options<RedeemCreditsData>>;
187
- export declare const listChartsQueryKey: (options: Options<ListChartsData>) => [Pick<Options<ListChartsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
122
+ export declare const updateUserMutation: (options?: Partial<Options<UpdateUserData>>) => UseMutationOptions<UpdateUserResponse, DefaultError, Options<UpdateUserData>>;
123
+ export declare const listTokensQueryKey: (options?: Options<ListTokensData>) => [Pick<Options<ListTokensData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
188
124
  _id: string;
189
125
  _infinite?: boolean;
190
126
  tags?: ReadonlyArray<string>;
191
127
  }];
192
128
  /**
193
- * List charts.
194
- *
195
- * Returns a list of charts in the cluster.
129
+ * List access tokens in organization.
196
130
  *
197
- * This endpoint is available to all users in the organization.
131
+ * This endpoint allows you to get a list of all access tokens details in organization. For more information about identity access management and security, see [Service Accounts](https://cloudfleet.ai/docs/organization/api-tokens/) section of documentaiton. This endpoint is available to all users in the organization.
198
132
  *
199
133
  */
200
- export declare const listChartsOptions: (options: Options<ListChartsData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").Chart[], Error, import("../types.gen").Chart[], [Pick<Options<ListChartsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
134
+ export declare const listTokensOptions: (options?: Options<ListTokensData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").Token[], Error, import("../types.gen").Token[], [Pick<Options<ListTokensData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
201
135
  _id: string;
202
136
  _infinite?: boolean;
203
137
  tags?: ReadonlyArray<string>;
204
138
  }]>, "queryFn"> & {
205
- queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").Chart[], [Pick<Options<ListChartsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
139
+ queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").Token[], [Pick<Options<ListTokensData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
206
140
  _id: string;
207
141
  _infinite?: boolean;
208
142
  tags?: ReadonlyArray<string>;
209
143
  }], never> | undefined;
210
- } & {
211
- queryKey: [Pick<Options<ListChartsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
212
- _id: string;
213
- _infinite?: boolean;
214
- tags?: ReadonlyArray<string>;
215
- }] & {
216
- [dataTagSymbol]: import("../types.gen").Chart[];
217
- [dataTagErrorSymbol]: Error;
218
- };
219
- };
144
+ } & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<ListTokensData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
145
+ _id: string;
146
+ _infinite?: boolean;
147
+ tags?: ReadonlyArray<string>;
148
+ }], import("../types.gen").Token[], Error>;
220
149
  /**
221
- * Create a new chart.
150
+ * Create a new access token.
222
151
  *
223
- * Create a new chart deployment.
152
+ * This endpoint allows you to create a new access token. For more information about identity access management and security, see [Service Accounts](https://cloudfleet.ai/docs/organization/api-tokens/) section of documentaiton.
224
153
  *
225
154
  * This endpoint is available to administrators of the organization only.
226
155
  *
227
156
  */
228
- export declare const createChartMutation: (options?: Partial<Options<CreateChartData>>) => UseMutationOptions<CreateChartResponse, DefaultError, Options<CreateChartData>>;
157
+ export declare const createTokenMutation: (options?: Partial<Options<CreateTokenData>>) => UseMutationOptions<CreateTokenResponse, DefaultError, Options<CreateTokenData>>;
229
158
  /**
230
- * Permanently delete the chart deployment from the cluster.
231
- *
232
- * This endpoint will permanently delete chart. This operation cannot be undone.
159
+ * Permanently delete access token.
233
160
  *
234
- * This endpoint is available to administrators of the organization only.
161
+ * This endpoint allows you to delete an access token. For more information about identity access management and security, see [Service Accounts](https://cloudfleet.ai/docs/organization/api-tokens/) section of documentaiton. This endpoint is available to administrators of the organization only.
235
162
  *
236
163
  */
237
- export declare const deleteChartMutation: (options?: Partial<Options<DeleteChartData>>) => UseMutationOptions<DeleteChartResponse, DefaultError, Options<DeleteChartData>>;
238
- export declare const getChartQueryKey: (options: Options<GetChartData>) => [Pick<Options<GetChartData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
164
+ export declare const deleteTokenMutation: (options?: Partial<Options<DeleteTokenData>>) => UseMutationOptions<unknown, DefaultError, Options<DeleteTokenData>>;
165
+ export declare const getTokenQueryKey: (options: Options<GetTokenData>) => [Pick<Options<GetTokenData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
239
166
  _id: string;
240
167
  _infinite?: boolean;
241
168
  tags?: ReadonlyArray<string>;
242
169
  }];
243
170
  /**
244
- * Get chart information.
245
- *
246
- * Returns the details of the chart deployment.
171
+ * Get access token information.
247
172
  *
248
- * This endpoint is available to all users in the organization.
173
+ * This endpoint allows you to get access token details. For more information about identity access management and security, see [Service Accounts](https://cloudfleet.ai/docs/organization/api-tokens/) section of documentaiton. This endpoint is available to all users in the organization.
249
174
  *
250
175
  */
251
- export declare const getChartOptions: (options: Options<GetChartData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").Chart, Error, import("../types.gen").Chart, [Pick<Options<GetChartData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
176
+ export declare const getTokenOptions: (options: Options<GetTokenData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").Token, Error, import("../types.gen").Token, [Pick<Options<GetTokenData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
252
177
  _id: string;
253
178
  _infinite?: boolean;
254
179
  tags?: ReadonlyArray<string>;
255
180
  }]>, "queryFn"> & {
256
- queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").Chart, [Pick<Options<GetChartData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
181
+ queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").Token, [Pick<Options<GetTokenData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
257
182
  _id: string;
258
183
  _infinite?: boolean;
259
184
  tags?: ReadonlyArray<string>;
260
185
  }], never> | undefined;
261
- } & {
262
- queryKey: [Pick<Options<GetChartData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
263
- _id: string;
264
- _infinite?: boolean;
265
- tags?: ReadonlyArray<string>;
266
- }] & {
267
- [dataTagSymbol]: import("../types.gen").Chart;
268
- [dataTagErrorSymbol]: Error;
269
- };
270
- };
186
+ } & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<GetTokenData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
187
+ _id: string;
188
+ _infinite?: boolean;
189
+ tags?: ReadonlyArray<string>;
190
+ }], import("../types.gen").Token, Error>;
271
191
  /**
272
- * Update chart information.
192
+ * Update access token information.
273
193
  *
274
- * This endpoint allows you to update the values of a chart deployment.
194
+ * This endpoint allows you to update access token details. For more information about identity access management and security, see [Service Accounts](https://cloudfleet.ai/docs/organization/api-tokens/) section of documentaiton.
275
195
  *
276
196
  * This endpoint is available to administrators of the organization only.
277
197
  *
278
198
  */
279
- export declare const updateChartMutation: (options?: Partial<Options<UpdateChartData>>) => UseMutationOptions<UpdateChartResponse, DefaultError, Options<UpdateChartData>>;
280
- export declare const listFleetsQueryKey: (options: Options<ListFleetsData>) => [Pick<Options<ListFleetsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
199
+ export declare const updateTokenMutation: (options?: Partial<Options<UpdateTokenData>>) => UseMutationOptions<UpdateTokenResponse, DefaultError, Options<UpdateTokenData>>;
200
+ /**
201
+ * Regenerate access token secret key.
202
+ *
203
+ * Generates a new access token secret. Old secret will not be valid anymore.
204
+ */
205
+ export declare const regenerateTokenMutation: (options?: Partial<Options<RegenerateTokenData>>) => UseMutationOptions<RegenerateTokenResponse, DefaultError, Options<RegenerateTokenData>>;
206
+ export declare const listTicketsQueryKey: (options?: Options<ListTicketsData>) => [Pick<Options<ListTicketsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
281
207
  _id: string;
282
208
  _infinite?: boolean;
283
209
  tags?: ReadonlyArray<string>;
284
210
  }];
285
211
  /**
286
- * List fleets.
287
- *
288
- * Returns a list of fleets belonging to the cluster. For more information, see [Fleets](https://cloudfleet.ai/docs/cloud-infrastructure/fleets/) section of documentaiton.
212
+ * List tickets for the current organization.
289
213
  *
290
- * This endpoint is available to all users in the organization.
214
+ * Returns all tickets belonging to the caller's organization, newest first.
291
215
  *
292
216
  */
293
- export declare const listFleetsOptions: (options: Options<ListFleetsData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").Fleet[], Error, import("../types.gen").Fleet[], [Pick<Options<ListFleetsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
217
+ export declare const listTicketsOptions: (options?: Options<ListTicketsData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").Ticket[], Error, import("../types.gen").Ticket[], [Pick<Options<ListTicketsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
294
218
  _id: string;
295
219
  _infinite?: boolean;
296
220
  tags?: ReadonlyArray<string>;
297
221
  }]>, "queryFn"> & {
298
- queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").Fleet[], [Pick<Options<ListFleetsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
222
+ queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").Ticket[], [Pick<Options<ListTicketsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
299
223
  _id: string;
300
224
  _infinite?: boolean;
301
225
  tags?: ReadonlyArray<string>;
302
226
  }], never> | undefined;
303
- } & {
304
- queryKey: [Pick<Options<ListFleetsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
305
- _id: string;
306
- _infinite?: boolean;
307
- tags?: ReadonlyArray<string>;
308
- }] & {
309
- [dataTagSymbol]: import("../types.gen").Fleet[];
310
- [dataTagErrorSymbol]: Error;
311
- };
312
- };
227
+ } & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<ListTicketsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
228
+ _id: string;
229
+ _infinite?: boolean;
230
+ tags?: ReadonlyArray<string>;
231
+ }], import("../types.gen").Ticket[], Error>;
313
232
  /**
314
- * Create a new fleet.
315
- *
316
- * Create a new fleet under the current organization. fleets allow you to to schedule workloads in cloud service provider accounts owned by you. For more information, see [Fleets](https://cloudfleet.ai/docs/cloud-infrastructure/fleets/) section of documentaiton.
233
+ * Create a new support ticket.
317
234
  *
318
- * This endpoint is available to administrators of the organization only.
235
+ * Creates a new support ticket with an initial customer message. The request is `multipart/form-data` with a JSON-encoded `payload` field carrying `category`, `body`, and optional `properties` and `grant_support_access`, plus up to 3 `attachments` files (10 MB max each).
319
236
  *
320
237
  */
321
- export declare const createFleetMutation: (options?: Partial<Options<CreateFleetData>>) => UseMutationOptions<CreateFleetResponse, CreateFleetError, Options<CreateFleetData>>;
238
+ export declare const createTicketMutation: (options?: Partial<Options<CreateTicketData>>) => UseMutationOptions<CreateTicketResponse, DefaultError, Options<CreateTicketData>>;
322
239
  /**
323
- * Permanently delete fleet.
324
- *
325
- * This endpoint will permanently delete fleet. This operation cannot be undone. Your subscription will end by the end of the current billing period and you will not be able to receive credit for unused time. If you want to keep using the Fleet until the end of the billing period, set the status to `cancelling`. For more information, see [Fleets](https://cloudfleet.ai/docs/cloud-infrastructure/fleets/) section of documentaiton.
240
+ * Close a ticket (soft close).
326
241
  *
327
- * This endpoint is available to administrators of the organization only.
242
+ * Marks the ticket as closed. Closed is a terminal state — users cannot reply to a closed ticket; a new ticket must be opened instead.
328
243
  *
329
244
  */
330
- export declare const deleteFleetMutation: (options?: Partial<Options<DeleteFleetData>>) => UseMutationOptions<DeleteFleetResponse, DefaultError, Options<DeleteFleetData>>;
331
- export declare const getFleetQueryKey: (options: Options<GetFleetData>) => [Pick<Options<GetFleetData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
245
+ export declare const closeTicketMutation: (options?: Partial<Options<CloseTicketData>>) => UseMutationOptions<CloseTicketResponse, DefaultError, Options<CloseTicketData>>;
246
+ export declare const getTicketQueryKey: (options: Options<GetTicketData>) => [Pick<Options<GetTicketData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
332
247
  _id: string;
333
248
  _infinite?: boolean;
334
249
  tags?: ReadonlyArray<string>;
335
250
  }];
336
251
  /**
337
- * Get fleet information.
338
- *
339
- * Returns fleet details. For more information, see [Fleets](https://cloudfleet.ai/docs/cloud-infrastructure/fleets/) section of documentaiton.
340
- *
341
- * This endpoint is available to all users in the organization.
342
- *
252
+ * Get a ticket and its messages.
343
253
  */
344
- export declare const getFleetOptions: (options: Options<GetFleetData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").Fleet, Error, import("../types.gen").Fleet, [Pick<Options<GetFleetData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
254
+ export declare const getTicketOptions: (options: Options<GetTicketData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").Ticket, Error, import("../types.gen").Ticket, [Pick<Options<GetTicketData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
345
255
  _id: string;
346
256
  _infinite?: boolean;
347
257
  tags?: ReadonlyArray<string>;
348
258
  }]>, "queryFn"> & {
349
- queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").Fleet, [Pick<Options<GetFleetData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
259
+ queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").Ticket, [Pick<Options<GetTicketData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
350
260
  _id: string;
351
261
  _infinite?: boolean;
352
262
  tags?: ReadonlyArray<string>;
353
263
  }], never> | undefined;
354
- } & {
355
- queryKey: [Pick<Options<GetFleetData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
356
- _id: string;
357
- _infinite?: boolean;
358
- tags?: ReadonlyArray<string>;
359
- }] & {
360
- [dataTagSymbol]: import("../types.gen").Fleet;
361
- [dataTagErrorSymbol]: Error;
362
- };
363
- };
264
+ } & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<GetTicketData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
265
+ _id: string;
266
+ _infinite?: boolean;
267
+ tags?: ReadonlyArray<string>;
268
+ }], import("../types.gen").Ticket, Error>;
364
269
  /**
365
- * Update fleet information.
366
- *
367
- * This endpoint allows you to update fleet details.
270
+ * Grant Cloudfleet support access for a ticket.
368
271
  *
369
- * Setting status to `deleted` will permanently delete fleet. This operation cannot be undone. Your subscription will end by the end of the current billing period and you will not be able to receive credit for unused time. If you want to keep using the Fleet until the end of the billing period, set the status to `cancelling`.
272
+ * Grants Cloudfleet support staff access to the organization's resources while the ticket is open. Access cannot be revoked; it ends when the ticket is closed. Idempotent: granting again keeps the original grant. Returns 409 if the ticket is closed.
370
273
  *
371
- * For more information, see [Fleets](https://cloudfleet.ai/docs/cloud-infrastructure/fleets/) section of documentaiton.
274
+ */
275
+ export declare const grantTicketSupportAccessMutation: (options?: Partial<Options<GrantTicketSupportAccessData>>) => UseMutationOptions<GrantTicketSupportAccessResponse, DefaultError, Options<GrantTicketSupportAccessData>>;
276
+ /**
277
+ * Append a customer reply to a ticket.
372
278
  *
373
- * This endpoint is available to administrators of the organization only.
279
+ * Multipart form-data with a JSON-encoded `payload` field carrying `body`, plus up to 3 `attachments` files. Returns 409 if the ticket is closed.
374
280
  *
375
281
  */
376
- export declare const updateFleetMutation: (options?: Partial<Options<UpdateFleetData>>) => UseMutationOptions<UpdateFleetResponse, UpdateFleetError, Options<UpdateFleetData>>;
377
- export declare const queryClusterQueryKey: (options: Options<QueryClusterData>) => [Pick<Options<QueryClusterData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
282
+ export declare const replyTicketMutation: (options?: Partial<Options<ReplyTicketData>>) => UseMutationOptions<ReplyTicketResponse, DefaultError, Options<ReplyTicketData>>;
283
+ export declare const getTicketAttachmentQueryKey: (options: Options<GetTicketAttachmentData>) => [Pick<Options<GetTicketAttachmentData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
378
284
  _id: string;
379
285
  _infinite?: boolean;
380
286
  tags?: ReadonlyArray<string>;
381
287
  }];
382
288
  /**
383
- * Query Kubernetes cluster API
384
- *
385
- * An API endpoint for directly querying a Kubernetes cluster API without requiring kubectl or other tools. This endpoint is ideal for automation and scripting, as well as for internal use in fetching data for the Cloudfleet Console. It acts as a passthrough to the Kubernetes API, allowing access to any valid Kubernetes API endpoint, including those not exposed in the Cloudfleet Console. The endpoint is strictly read-only, ensuring no modifications to the cluster state. It is accessible to all users within the organization and uses the same authentication mechanisms as other Cloudfleet API endpoints.
289
+ * Download a ticket attachment.
386
290
  */
387
- export declare const queryClusterOptions: (options: Options<QueryClusterData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<unknown, Error, unknown, [Pick<Options<QueryClusterData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
291
+ export declare const getTicketAttachmentOptions: (options: Options<GetTicketAttachmentData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<Blob | File, Error, Blob | File, [Pick<Options<GetTicketAttachmentData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
388
292
  _id: string;
389
293
  _infinite?: boolean;
390
294
  tags?: ReadonlyArray<string>;
391
295
  }]>, "queryFn"> & {
392
- queryFn?: import("@tanstack/react-query").QueryFunction<unknown, [Pick<Options<QueryClusterData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
296
+ queryFn?: import("@tanstack/react-query").QueryFunction<Blob | File, [Pick<Options<GetTicketAttachmentData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
393
297
  _id: string;
394
298
  _infinite?: boolean;
395
299
  tags?: ReadonlyArray<string>;
396
300
  }], never> | undefined;
397
- } & {
398
- queryKey: [Pick<Options<QueryClusterData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
399
- _id: string;
400
- _infinite?: boolean;
401
- tags?: ReadonlyArray<string>;
402
- }] & {
403
- [dataTagSymbol]: unknown;
404
- [dataTagErrorSymbol]: Error;
405
- };
406
- };
407
- export declare const listClustersQueryKey: (options?: Options<ListClustersData>) => [Pick<Options<ListClustersData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
301
+ } & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<GetTicketAttachmentData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
302
+ _id: string;
303
+ _infinite?: boolean;
304
+ tags?: ReadonlyArray<string>;
305
+ }], Blob | File, Error>;
306
+ export declare const listRoadmapQueryKey: (options?: Options<ListRoadmapData>) => [Pick<Options<ListRoadmapData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
408
307
  _id: string;
409
308
  _infinite?: boolean;
410
309
  tags?: ReadonlyArray<string>;
411
310
  }];
412
311
  /**
413
- * List clusters.
312
+ * List roadmap items.
414
313
  *
415
- * Returns a list of clusters under the current organization, including quota. Quota is a set of filters defined by the admin of the organization that will be applied to all resources created in the cluster. Quota information returned here does not take into account quota set on organization or platform level. For calculated quota applied to this account, use /clusters/{cluster_id}/quota endpoint. For more information about quotas, see [Quotas and limits](https://cloudfleet.ai/docs/organization/quotas/) section of documentaiton.
416
- *
417
- * This endpoint is available to all users in the organization.
314
+ * Returns the published roadmap items, newest first, each with your own vote. Votes of other users are not returned.
418
315
  *
419
316
  */
420
- export declare const listClustersOptions: (options?: Options<ListClustersData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").Cluster[], Error, import("../types.gen").Cluster[], [Pick<Options<ListClustersData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
317
+ export declare const listRoadmapOptions: (options?: Options<ListRoadmapData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").RoadmapItem[], Error, import("../types.gen").RoadmapItem[], [Pick<Options<ListRoadmapData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
421
318
  _id: string;
422
319
  _infinite?: boolean;
423
320
  tags?: ReadonlyArray<string>;
424
321
  }]>, "queryFn"> & {
425
- queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").Cluster[], [Pick<Options<ListClustersData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
322
+ queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").RoadmapItem[], [Pick<Options<ListRoadmapData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
426
323
  _id: string;
427
324
  _infinite?: boolean;
428
325
  tags?: ReadonlyArray<string>;
429
326
  }], never> | undefined;
430
- } & {
431
- queryKey: [Pick<Options<ListClustersData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
432
- _id: string;
433
- _infinite?: boolean;
434
- tags?: ReadonlyArray<string>;
435
- }] & {
436
- [dataTagSymbol]: import("../types.gen").Cluster[];
437
- [dataTagErrorSymbol]: Error;
438
- };
439
- };
327
+ } & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<ListRoadmapData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
328
+ _id: string;
329
+ _infinite?: boolean;
330
+ tags?: ReadonlyArray<string>;
331
+ }], import("../types.gen").RoadmapItem[], Error>;
440
332
  /**
441
- * Create a new cluster.
442
- *
443
- * Create a new cluster under the current organization. Clusters allow you to group resources and you can create multiple clusters under the same organization, with billing delegated to the parent organization.
333
+ * Suggest a new roadmap item.
444
334
  *
445
- * This endpoint is available to administrators of the organization only.
335
+ * Submits a suggestion in one or two sentences, with your up vote on it. Suggestions are reviewed by the Cloudfleet team before they appear on the roadmap.
446
336
  *
447
337
  */
448
- export declare const createClusterMutation: (options?: Partial<Options<CreateClusterData>>) => UseMutationOptions<CreateClusterResponse, CreateClusterError, Options<CreateClusterData>>;
338
+ export declare const suggestRoadmapMutation: (options?: Partial<Options<SuggestRoadmapData>>) => UseMutationOptions<SuggestRoadmapResponse, DefaultError, Options<SuggestRoadmapData>>;
449
339
  /**
450
- * Permanently delete cluster.
451
- *
452
- * This endpoint will permanently delete the cluster. This operation cannot be undone.
340
+ * Remove your vote from a roadmap item.
341
+ */
342
+ export declare const unvoteRoadmapMutation: (options?: Partial<Options<UnvoteRoadmapData>>) => UseMutationOptions<UnvoteRoadmapResponse, DefaultError, Options<UnvoteRoadmapData>>;
343
+ /**
344
+ * Vote on a roadmap item.
453
345
  *
454
- * This endpoint is available to administrators of the organization only.
346
+ * Sets your vote on a roadmap item: -1 (down), 1 (up), or 2 (double up). Replaces any previous vote you cast on the item.
455
347
  *
456
348
  */
457
- export declare const deleteClusterMutation: (options?: Partial<Options<DeleteClusterData>>) => UseMutationOptions<DeleteClusterResponse, DefaultError, Options<DeleteClusterData>>;
458
- export declare const getClusterQueryKey: (options: Options<GetClusterData>) => [Pick<Options<GetClusterData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
349
+ export declare const voteRoadmapMutation: (options?: Partial<Options<VoteRoadmapData>>) => UseMutationOptions<VoteRoadmapResponse, DefaultError, Options<VoteRoadmapData>>;
350
+ export declare const listRepositoriesQueryKey: (options?: Options<ListRepositoriesData>) => [Pick<Options<ListRepositoriesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
459
351
  _id: string;
460
352
  _infinite?: boolean;
461
353
  tags?: ReadonlyArray<string>;
462
354
  }];
463
355
  /**
464
- * Get cluster information.
356
+ * List repositories
465
357
  *
466
- * Returns cluster details including quota. Quota is a set of filters defined by the admin of the organization that will be applied to all resources created in the cluster. Quota information returned here does not take into account quota set on organization or platform level. For calculated quota applied to this account, use /clusters/{cluster_id}/quota endpoint. For more information about quotas, see [Quotas and limits](https://cloudfleet.ai/docs/organization/quotas/) section of documentaiton.
467
- *
468
- * This endpoint is available to all users in the organization.
358
+ * Returns a list of repositories in the registry across all regions. This endpoint is available to all users in the organization.
469
359
  *
470
360
  */
471
- export declare const getClusterOptions: (options: Options<GetClusterData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").Cluster, Error, import("../types.gen").Cluster, [Pick<Options<GetClusterData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
361
+ export declare const listRepositoriesOptions: (options?: Options<ListRepositoriesData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").RegistryRepository[], Error, import("../types.gen").RegistryRepository[], [Pick<Options<ListRepositoriesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
472
362
  _id: string;
473
363
  _infinite?: boolean;
474
364
  tags?: ReadonlyArray<string>;
475
365
  }]>, "queryFn"> & {
476
- queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").Cluster, [Pick<Options<GetClusterData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
366
+ queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").RegistryRepository[], [Pick<Options<ListRepositoriesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
477
367
  _id: string;
478
368
  _infinite?: boolean;
479
369
  tags?: ReadonlyArray<string>;
480
370
  }], never> | undefined;
481
- } & {
482
- queryKey: [Pick<Options<GetClusterData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
483
- _id: string;
484
- _infinite?: boolean;
485
- tags?: ReadonlyArray<string>;
486
- }] & {
487
- [dataTagSymbol]: import("../types.gen").Cluster;
488
- [dataTagErrorSymbol]: Error;
489
- };
490
- };
491
- /**
492
- * Update cluster information.
493
- *
494
- * This endpoint allows you to update cluster details, including quota and cluster status. For more information about clusters, see [Clusters](https://cloudfleet.ai/docs/cluster-management/cluster-types/) section of documentaiton.
495
- *
496
- * This endpoint is available to administrators of the organization only.
497
- *
498
- */
499
- export declare const updateClusterMutation: (options?: Partial<Options<UpdateClusterData>>) => UseMutationOptions<UpdateClusterResponse, DefaultError, Options<UpdateClusterData>>;
500
- export declare const getClusterCaQueryKey: (options: Options<GetClusterCaData>) => [Pick<Options<GetClusterCaData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
371
+ } & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<ListRepositoriesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
372
+ _id: string;
373
+ _infinite?: boolean;
374
+ tags?: ReadonlyArray<string>;
375
+ }], import("../types.gen").RegistryRepository[], Error>;
376
+ export declare const listTagsQueryKey: (options: Options<ListTagsData>) => [Pick<Options<ListTagsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
501
377
  _id: string;
502
378
  _infinite?: boolean;
503
379
  tags?: ReadonlyArray<string>;
504
380
  }];
505
381
  /**
506
- * Get the cluster's certificate authority in PEM format.
382
+ * List tags for a repository
507
383
  *
508
- * Returns the root certificate authority of the Kubernetes cluster as a PEM-encoded document. This endpoint does not require authentication, similar to the cluster's JWKs endpoint, since the CA certificate is public information used by clients to establish trust with the cluster's control plane.
384
+ * Returns a list of tags for a specific repository, including size and metadata for each tag. This endpoint is available to all users in the organization.
509
385
  *
510
386
  */
511
- export declare const getClusterCaOptions: (options: Options<GetClusterCaData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<string, Error, string, [Pick<Options<GetClusterCaData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
387
+ export declare const listTagsOptions: (options: Options<ListTagsData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").RegistryRepositoryWithTags, Error, import("../types.gen").RegistryRepositoryWithTags, [Pick<Options<ListTagsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
512
388
  _id: string;
513
389
  _infinite?: boolean;
514
390
  tags?: ReadonlyArray<string>;
515
391
  }]>, "queryFn"> & {
516
- queryFn?: import("@tanstack/react-query").QueryFunction<string, [Pick<Options<GetClusterCaData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
392
+ queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").RegistryRepositoryWithTags, [Pick<Options<ListTagsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
517
393
  _id: string;
518
394
  _infinite?: boolean;
519
395
  tags?: ReadonlyArray<string>;
520
396
  }], never> | undefined;
521
- } & {
522
- queryKey: [Pick<Options<GetClusterCaData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
523
- _id: string;
524
- _infinite?: boolean;
525
- tags?: ReadonlyArray<string>;
526
- }] & {
527
- [dataTagSymbol]: string;
528
- [dataTagErrorSymbol]: Error;
529
- };
530
- };
397
+ } & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<ListTagsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
398
+ _id: string;
399
+ _infinite?: boolean;
400
+ tags?: ReadonlyArray<string>;
401
+ }], import("../types.gen").RegistryRepositoryWithTags, Error>;
531
402
  /**
532
- * Node join information for the cluster
403
+ * Delete tag
533
404
  *
534
- * Returns the join information for the cluster. This information is used to add a self-managed nodes to the CFKE cluster. This endpoint is available to only admins of the organization.
405
+ * Permanently deletes a specific tag from a repository. This endpoint is available to administrators of the organization only.
535
406
  *
536
407
  */
537
- export declare const getJoinInformationMutation: (options?: Partial<Options<GetJoinInformationData>>) => UseMutationOptions<GetJoinInformationResponse, DefaultError, Options<GetJoinInformationData>>;
538
- export declare const listInvitesQueryKey: (options?: Options<ListInvitesData>) => [Pick<Options<ListInvitesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
408
+ export declare const deleteTagMutation: (options?: Partial<Options<DeleteTagData>>) => UseMutationOptions<unknown, DefaultError, Options<DeleteTagData>>;
409
+ export declare const getTagQueryKey: (options: Options<GetTagData>) => [Pick<Options<GetTagData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
539
410
  _id: string;
540
411
  _infinite?: boolean;
541
412
  tags?: ReadonlyArray<string>;
542
413
  }];
543
414
  /**
544
- * List invites.
415
+ * Get tag details
545
416
  *
546
- * Returns a list of invites under the current organization. This endpoint is available to all users in the organization.
417
+ * Returns detailed information for a specific tag in a repository, including manifest details, size, and URI. This endpoint is available to all users in the organization.
547
418
  *
548
419
  */
549
- export declare const listInvitesOptions: (options?: Options<ListInvitesData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").Invite[], Error, import("../types.gen").Invite[], [Pick<Options<ListInvitesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
420
+ export declare const getTagOptions: (options: Options<GetTagData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").RegistryTag, Error, import("../types.gen").RegistryTag, [Pick<Options<GetTagData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
550
421
  _id: string;
551
422
  _infinite?: boolean;
552
423
  tags?: ReadonlyArray<string>;
553
424
  }]>, "queryFn"> & {
554
- queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").Invite[], [Pick<Options<ListInvitesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
425
+ queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").RegistryTag, [Pick<Options<GetTagData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
555
426
  _id: string;
556
427
  _infinite?: boolean;
557
428
  tags?: ReadonlyArray<string>;
558
429
  }], never> | undefined;
559
- } & {
560
- queryKey: [Pick<Options<ListInvitesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
561
- _id: string;
562
- _infinite?: boolean;
563
- tags?: ReadonlyArray<string>;
564
- }] & {
565
- [dataTagSymbol]: import("../types.gen").Invite[];
566
- [dataTagErrorSymbol]: Error;
567
- };
568
- };
569
- /**
570
- * Create a new invite.
571
- *
572
- * Invite a new user to your Cloudfleet organization. The user will receive an email with a link to create a new account. This endpoint is available to administrators of the organization only.
573
- *
574
- */
575
- export declare const createInviteMutation: (options?: Partial<Options<CreateInviteData>>) => UseMutationOptions<CreateInviteResponse, DefaultError, Options<CreateInviteData>>;
576
- export declare const getInviteQueryKey: (options: Options<GetInviteData>) => [Pick<Options<GetInviteData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
430
+ } & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<GetTagData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
431
+ _id: string;
432
+ _infinite?: boolean;
433
+ tags?: ReadonlyArray<string>;
434
+ }], import("../types.gen").RegistryTag, Error>;
435
+ export declare const getOrganizationQueryKey: (options?: Options<GetOrganizationData>) => [Pick<Options<GetOrganizationData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
577
436
  _id: string;
578
437
  _infinite?: boolean;
579
438
  tags?: ReadonlyArray<string>;
580
439
  }];
581
440
  /**
582
- * Get invite information.
441
+ * Get organization information.
442
+ *
443
+ * Returns organization details including quota. For more information about quotas, see [Quotas and limits](https://cloudfleet.ai/docs/organization/quotas/) section of documentaiton.
583
444
  *
584
- * Returns invite details.
445
+ * This endpoint is available to all users in the organization.
585
446
  *
586
447
  */
587
- export declare const getInviteOptions: (options: Options<GetInviteData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").Invite, Error, import("../types.gen").Invite, [Pick<Options<GetInviteData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
448
+ export declare const getOrganizationOptions: (options?: Options<GetOrganizationData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").Organization, Error, import("../types.gen").Organization, [Pick<Options<GetOrganizationData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
588
449
  _id: string;
589
450
  _infinite?: boolean;
590
451
  tags?: ReadonlyArray<string>;
591
452
  }]>, "queryFn"> & {
592
- queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").Invite, [Pick<Options<GetInviteData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
453
+ queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").Organization, [Pick<Options<GetOrganizationData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
593
454
  _id: string;
594
455
  _infinite?: boolean;
595
456
  tags?: ReadonlyArray<string>;
596
457
  }], never> | undefined;
597
- } & {
598
- queryKey: [Pick<Options<GetInviteData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
599
- _id: string;
600
- _infinite?: boolean;
601
- tags?: ReadonlyArray<string>;
602
- }] & {
603
- [dataTagSymbol]: import("../types.gen").Invite;
604
- [dataTagErrorSymbol]: Error;
605
- };
606
- };
458
+ } & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<GetOrganizationData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
459
+ _id: string;
460
+ _infinite?: boolean;
461
+ tags?: ReadonlyArray<string>;
462
+ }], import("../types.gen").Organization, Error>;
607
463
  /**
608
- * Permanently delete invite.
464
+ * Create a new organization / Cloudfleet account signup.
609
465
  *
610
- * Permanently deletes invite from the organization. This endpoint is available to administrators of the organization only.
466
+ * This endpoint allows you to create a new Cloudfleet organization and an administrator user.
611
467
  *
612
468
  */
613
- export declare const deleteInviteMutation: (options?: Partial<Options<DeleteInviteData>>) => UseMutationOptions<unknown, DefaultError, Options<DeleteInviteData>>;
469
+ export declare const createOrganizationMutation: (options?: Partial<Options<CreateOrganizationData>>) => UseMutationOptions<CreateOrganizationResponse, DefaultError, Options<CreateOrganizationData>>;
470
+ /**
471
+ * MCP endpoint
472
+ *
473
+ * MCP endpoint for handling Model Context Protocol JSON-RPC 2.0 messages.
474
+ */
475
+ export declare const postMcpMutation: (options?: Partial<Options<PostMcpData>>) => UseMutationOptions<PostMcpResponse, DefaultError, Options<PostMcpData>>;
614
476
  export declare const listMarketplaceChartsQueryKey: (options?: Options<ListMarketplaceChartsData>) => [Pick<Options<ListMarketplaceChartsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
615
477
  _id: string;
616
478
  _infinite?: boolean;
@@ -634,16 +496,11 @@ export declare const listMarketplaceChartsOptions: (options?: Options<ListMarket
634
496
  _infinite?: boolean;
635
497
  tags?: ReadonlyArray<string>;
636
498
  }], never> | undefined;
637
- } & {
638
- queryKey: [Pick<Options<ListMarketplaceChartsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
639
- _id: string;
640
- _infinite?: boolean;
641
- tags?: ReadonlyArray<string>;
642
- }] & {
643
- [dataTagSymbol]: import("../types.gen").MarketplaceListing[];
644
- [dataTagErrorSymbol]: Error;
645
- };
646
- };
499
+ } & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<ListMarketplaceChartsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
500
+ _id: string;
501
+ _infinite?: boolean;
502
+ tags?: ReadonlyArray<string>;
503
+ }], import("../types.gen").MarketplaceListing[], Error>;
647
504
  export declare const getMarketplaceChartFilesQueryKey: (options: Options<GetMarketplaceChartFilesData>) => [Pick<Options<GetMarketplaceChartFilesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
648
505
  _id: string;
649
506
  _infinite?: boolean;
@@ -669,380 +526,559 @@ export declare const getMarketplaceChartFilesOptions: (options: Options<GetMarke
669
526
  _infinite?: boolean;
670
527
  tags?: ReadonlyArray<string>;
671
528
  }], never> | undefined;
672
- } & {
673
- queryKey: [Pick<Options<GetMarketplaceChartFilesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
529
+ } & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<GetMarketplaceChartFilesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
530
+ _id: string;
531
+ _infinite?: boolean;
532
+ tags?: ReadonlyArray<string>;
533
+ }], import("../types.gen").MarketplaceListingFiles, Error>;
534
+ export declare const listInvitesQueryKey: (options?: Options<ListInvitesData>) => [Pick<Options<ListInvitesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
535
+ _id: string;
536
+ _infinite?: boolean;
537
+ tags?: ReadonlyArray<string>;
538
+ }];
539
+ /**
540
+ * List invites.
541
+ *
542
+ * Returns a list of pending (non-expired) invites under the current organization. This endpoint is available to administrators of the organization only.
543
+ *
544
+ */
545
+ export declare const listInvitesOptions: (options?: Options<ListInvitesData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").Invite[], Error, import("../types.gen").Invite[], [Pick<Options<ListInvitesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
546
+ _id: string;
547
+ _infinite?: boolean;
548
+ tags?: ReadonlyArray<string>;
549
+ }]>, "queryFn"> & {
550
+ queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").Invite[], [Pick<Options<ListInvitesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
674
551
  _id: string;
675
552
  _infinite?: boolean;
676
553
  tags?: ReadonlyArray<string>;
677
- }] & {
678
- [dataTagSymbol]: import("../types.gen").MarketplaceListingFiles;
679
- [dataTagErrorSymbol]: Error;
680
- };
681
- };
554
+ }], never> | undefined;
555
+ } & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<ListInvitesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
556
+ _id: string;
557
+ _infinite?: boolean;
558
+ tags?: ReadonlyArray<string>;
559
+ }], import("../types.gen").Invite[], Error>;
682
560
  /**
683
- * MCP endpoint
561
+ * Create a new invite.
562
+ *
563
+ * Invite a new user to your Cloudfleet organization. The user will receive an email with a link to create a new account. This endpoint is available to administrators of the organization only.
684
564
  *
685
- * MCP endpoint for handling Model Context Protocol JSON-RPC 2.0 messages.
686
565
  */
687
- export declare const postMcpMutation: (options?: Partial<Options<PostMcpData>>) => UseMutationOptions<PostMcpResponse, DefaultError, Options<PostMcpData>>;
688
- export declare const getOrganizationQueryKey: (options?: Options<GetOrganizationData>) => [Pick<Options<GetOrganizationData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
566
+ export declare const createInviteMutation: (options?: Partial<Options<CreateInviteData>>) => UseMutationOptions<CreateInviteResponse, DefaultError, Options<CreateInviteData>>;
567
+ export declare const getInviteQueryKey: (options: Options<GetInviteData>) => [Pick<Options<GetInviteData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
689
568
  _id: string;
690
569
  _infinite?: boolean;
691
570
  tags?: ReadonlyArray<string>;
692
571
  }];
693
572
  /**
694
- * Get organization information.
695
- *
696
- * Returns organization details including quota. For more information about quotas, see [Quotas and limits](https://cloudfleet.ai/docs/organization/quotas/) section of documentaiton.
573
+ * Get invite information.
697
574
  *
698
- * This endpoint is available to all users in the organization.
575
+ * Validates an invitation code and returns the email address it was issued to (to pre-fill the signup form) and the organization it grants access to. This endpoint is unauthenticated, so no other invite details (such as the invited role) are disclosed.
699
576
  *
700
577
  */
701
- export declare const getOrganizationOptions: (options?: Options<GetOrganizationData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").Organization, Error, import("../types.gen").Organization, [Pick<Options<GetOrganizationData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
578
+ export declare const getInviteOptions: (options: Options<GetInviteData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
579
+ email?: string;
580
+ organization_id?: string;
581
+ }, Error, {
582
+ email?: string;
583
+ organization_id?: string;
584
+ }, [Pick<Options<GetInviteData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
702
585
  _id: string;
703
586
  _infinite?: boolean;
704
587
  tags?: ReadonlyArray<string>;
705
588
  }]>, "queryFn"> & {
706
- queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").Organization, [Pick<Options<GetOrganizationData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
589
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
590
+ email?: string;
591
+ organization_id?: string;
592
+ }, [Pick<Options<GetInviteData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
707
593
  _id: string;
708
594
  _infinite?: boolean;
709
595
  tags?: ReadonlyArray<string>;
710
596
  }], never> | undefined;
711
- } & {
712
- queryKey: [Pick<Options<GetOrganizationData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
713
- _id: string;
714
- _infinite?: boolean;
715
- tags?: ReadonlyArray<string>;
716
- }] & {
717
- [dataTagSymbol]: import("../types.gen").Organization;
718
- [dataTagErrorSymbol]: Error;
719
- };
720
- };
597
+ } & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<GetInviteData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
598
+ _id: string;
599
+ _infinite?: boolean;
600
+ tags?: ReadonlyArray<string>;
601
+ }], {
602
+ email?: string;
603
+ organization_id?: string;
604
+ }, Error>;
721
605
  /**
722
- * Create a new organization / Cloudfleet account signup.
606
+ * Permanently delete invite.
723
607
  *
724
- * This endpoint allows you to create a new Cloudfleet organization and an administrator user.
608
+ * Permanently deletes invite from the organization. This endpoint is available to administrators of the organization only.
725
609
  *
726
610
  */
727
- export declare const createOrganizationMutation: (options?: Partial<Options<CreateOrganizationData>>) => UseMutationOptions<unknown, DefaultError, Options<CreateOrganizationData>>;
728
- export declare const listRepositoriesQueryKey: (options?: Options<ListRepositoriesData>) => [Pick<Options<ListRepositoriesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
611
+ export declare const deleteInviteMutation: (options?: Partial<Options<DeleteInviteData>>) => UseMutationOptions<unknown, DefaultError, Options<DeleteInviteData>>;
612
+ /**
613
+ * Send feedback to the Cloudfleet team
614
+ *
615
+ * Sends feedback about Cloudfleet: what was useful, confusing, wrong or missing. Feedback is read by the Cloudfleet team but gets no reply and has no status. This is not a support channel: for anything that needs an answer, open a support ticket with `POST /tickets` instead.
616
+ *
617
+ */
618
+ export declare const sendFeedbackMutation: (options?: Partial<Options<SendFeedbackData>>) => UseMutationOptions<SendFeedbackResponse, DefaultError, Options<SendFeedbackData>>;
619
+ export declare const queryClusterQueryKey: (options: Options<QueryClusterData>) => [Pick<Options<QueryClusterData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
729
620
  _id: string;
730
621
  _infinite?: boolean;
731
622
  tags?: ReadonlyArray<string>;
732
623
  }];
733
624
  /**
734
- * List repositories
735
- *
736
- * Returns a list of repositories in the registry across all regions. This endpoint is available to all users in the organization.
625
+ * Query Kubernetes cluster API
737
626
  *
627
+ * An API endpoint for directly querying a Kubernetes cluster API without requiring kubectl or other tools. This endpoint is ideal for automation and scripting, as well as for internal use in fetching data for the Cloudfleet Console. It acts as a passthrough to the Kubernetes API, allowing access to any valid Kubernetes API endpoint, including those not exposed in the Cloudfleet Console. The endpoint is strictly read-only, ensuring no modifications to the cluster state. It is accessible to all users within the organization and uses the same authentication mechanisms as other Cloudfleet API endpoints.
738
628
  */
739
- export declare const listRepositoriesOptions: (options?: Options<ListRepositoriesData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").RegistryRepository[], Error, import("../types.gen").RegistryRepository[], [Pick<Options<ListRepositoriesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
629
+ export declare const queryClusterOptions: (options: Options<QueryClusterData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<unknown, Error, unknown, [Pick<Options<QueryClusterData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
740
630
  _id: string;
741
631
  _infinite?: boolean;
742
632
  tags?: ReadonlyArray<string>;
743
633
  }]>, "queryFn"> & {
744
- queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").RegistryRepository[], [Pick<Options<ListRepositoriesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
634
+ queryFn?: import("@tanstack/react-query").QueryFunction<unknown, [Pick<Options<QueryClusterData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
745
635
  _id: string;
746
636
  _infinite?: boolean;
747
637
  tags?: ReadonlyArray<string>;
748
638
  }], never> | undefined;
749
- } & {
750
- queryKey: [Pick<Options<ListRepositoriesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
751
- _id: string;
752
- _infinite?: boolean;
753
- tags?: ReadonlyArray<string>;
754
- }] & {
755
- [dataTagSymbol]: import("../types.gen").RegistryRepository[];
756
- [dataTagErrorSymbol]: Error;
757
- };
758
- };
759
- export declare const listTagsQueryKey: (options: Options<ListTagsData>) => [Pick<Options<ListTagsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
639
+ } & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<QueryClusterData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
640
+ _id: string;
641
+ _infinite?: boolean;
642
+ tags?: ReadonlyArray<string>;
643
+ }], unknown, Error>;
644
+ export declare const listFleetsQueryKey: (options: Options<ListFleetsData>) => [Pick<Options<ListFleetsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
760
645
  _id: string;
761
646
  _infinite?: boolean;
762
647
  tags?: ReadonlyArray<string>;
763
648
  }];
764
649
  /**
765
- * List tags for a repository
650
+ * List fleets.
766
651
  *
767
- * Returns a list of tags for a specific repository, including size and metadata for each tag. This endpoint is available to all users in the organization.
652
+ * Returns a list of fleets belonging to the cluster. For more information, see [Fleets](https://cloudfleet.ai/docs/cloud-infrastructure/fleets/) section of documentaiton.
653
+ *
654
+ * This endpoint is available to all users in the organization.
768
655
  *
769
656
  */
770
- export declare const listTagsOptions: (options: Options<ListTagsData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").RegistryRepositoryWithTags, Error, import("../types.gen").RegistryRepositoryWithTags, [Pick<Options<ListTagsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
657
+ export declare const listFleetsOptions: (options: Options<ListFleetsData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").Fleet[], Error, import("../types.gen").Fleet[], [Pick<Options<ListFleetsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
771
658
  _id: string;
772
659
  _infinite?: boolean;
773
660
  tags?: ReadonlyArray<string>;
774
661
  }]>, "queryFn"> & {
775
- queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").RegistryRepositoryWithTags, [Pick<Options<ListTagsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
662
+ queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").Fleet[], [Pick<Options<ListFleetsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
776
663
  _id: string;
777
664
  _infinite?: boolean;
778
665
  tags?: ReadonlyArray<string>;
779
666
  }], never> | undefined;
780
- } & {
781
- queryKey: [Pick<Options<ListTagsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
782
- _id: string;
783
- _infinite?: boolean;
784
- tags?: ReadonlyArray<string>;
785
- }] & {
786
- [dataTagSymbol]: import("../types.gen").RegistryRepositoryWithTags;
787
- [dataTagErrorSymbol]: Error;
788
- };
789
- };
667
+ } & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<ListFleetsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
668
+ _id: string;
669
+ _infinite?: boolean;
670
+ tags?: ReadonlyArray<string>;
671
+ }], import("../types.gen").Fleet[], Error>;
790
672
  /**
791
- * Delete tag
673
+ * Create a new fleet.
792
674
  *
793
- * Permanently deletes a specific tag from a repository. This endpoint is available to administrators of the organization only.
675
+ * Create a new fleet under the current organization. fleets allow you to to schedule workloads in cloud service provider accounts owned by you. For more information, see [Fleets](https://cloudfleet.ai/docs/cloud-infrastructure/fleets/) section of documentaiton.
676
+ *
677
+ * The cluster must be ready (status `deployed`) before a fleet can be added. Adding a fleet while the cluster is still provisioning returns `409`.
678
+ *
679
+ * This endpoint is available to administrators of the organization only.
794
680
  *
795
681
  */
796
- export declare const deleteTagMutation: (options?: Partial<Options<DeleteTagData>>) => UseMutationOptions<unknown, DefaultError, Options<DeleteTagData>>;
797
- export declare const getTagQueryKey: (options: Options<GetTagData>) => [Pick<Options<GetTagData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
682
+ export declare const createFleetMutation: (options?: Partial<Options<CreateFleetData>>) => UseMutationOptions<CreateFleetResponse, CreateFleetError, Options<CreateFleetData>>;
683
+ /**
684
+ * Permanently delete fleet.
685
+ *
686
+ * This endpoint will permanently delete fleet. This operation cannot be undone. Your subscription will end by the end of the current billing period and you will not be able to receive credit for unused time. For more information, see [Fleets](https://cloudfleet.ai/docs/cloud-infrastructure/fleets/) section of documentaiton.
687
+ *
688
+ * Deleting a fleet does not deprovision the cloud infrastructure it provisioned: nodes and other resources keep running. Scale the cluster down first, or remove the infrastructure manually, to avoid orphaned resources.
689
+ *
690
+ * This endpoint is available to administrators of the organization only.
691
+ *
692
+ */
693
+ export declare const deleteFleetMutation: (options?: Partial<Options<DeleteFleetData>>) => UseMutationOptions<DeleteFleetResponse, DeleteFleetError, Options<DeleteFleetData>>;
694
+ export declare const getFleetQueryKey: (options: Options<GetFleetData>) => [Pick<Options<GetFleetData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
798
695
  _id: string;
799
696
  _infinite?: boolean;
800
697
  tags?: ReadonlyArray<string>;
801
698
  }];
802
699
  /**
803
- * Get tag details
700
+ * Get fleet information.
804
701
  *
805
- * Returns detailed information for a specific tag in a repository, including manifest details, size, and URI. This endpoint is available to all users in the organization.
702
+ * Returns fleet details. For more information, see [Fleets](https://cloudfleet.ai/docs/cloud-infrastructure/fleets/) section of documentaiton.
703
+ *
704
+ * This endpoint is available to all users in the organization.
806
705
  *
807
706
  */
808
- export declare const getTagOptions: (options: Options<GetTagData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").RegistryTag, Error, import("../types.gen").RegistryTag, [Pick<Options<GetTagData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
707
+ export declare const getFleetOptions: (options: Options<GetFleetData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").Fleet, Error, import("../types.gen").Fleet, [Pick<Options<GetFleetData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
809
708
  _id: string;
810
709
  _infinite?: boolean;
811
710
  tags?: ReadonlyArray<string>;
812
711
  }]>, "queryFn"> & {
813
- queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").RegistryTag, [Pick<Options<GetTagData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
712
+ queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").Fleet, [Pick<Options<GetFleetData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
814
713
  _id: string;
815
714
  _infinite?: boolean;
816
715
  tags?: ReadonlyArray<string>;
817
716
  }], never> | undefined;
818
- } & {
819
- queryKey: [Pick<Options<GetTagData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
820
- _id: string;
821
- _infinite?: boolean;
822
- tags?: ReadonlyArray<string>;
823
- }] & {
824
- [dataTagSymbol]: import("../types.gen").RegistryTag;
825
- [dataTagErrorSymbol]: Error;
826
- };
827
- };
828
- export declare const listTokensQueryKey: (options?: Options<ListTokensData>) => [Pick<Options<ListTokensData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
717
+ } & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<GetFleetData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
718
+ _id: string;
719
+ _infinite?: boolean;
720
+ tags?: ReadonlyArray<string>;
721
+ }], import("../types.gen").Fleet, Error>;
722
+ /**
723
+ * Update fleet information.
724
+ *
725
+ * This endpoint allows you to update fleet details.
726
+ *
727
+ * For more information, see [Fleets](https://cloudfleet.ai/docs/cloud-infrastructure/fleets/) section of documentaiton.
728
+ *
729
+ * This is a full overwrite: any field omitted from the request is reset to its default rather than left unchanged. The Hetzner API key is the exception: it is kept when omitted (send a new value to rotate it).
730
+ *
731
+ * This endpoint is available to administrators of the organization only.
732
+ *
733
+ */
734
+ export declare const updateFleetMutation: (options?: Partial<Options<UpdateFleetData>>) => UseMutationOptions<UpdateFleetResponse, UpdateFleetError, Options<UpdateFleetData>>;
735
+ export declare const listChartsQueryKey: (options: Options<ListChartsData>) => [Pick<Options<ListChartsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
829
736
  _id: string;
830
737
  _infinite?: boolean;
831
738
  tags?: ReadonlyArray<string>;
832
739
  }];
833
740
  /**
834
- * List access tokens in organization.
741
+ * List charts.
835
742
  *
836
- * This endpoint allows you to get a list of all access tokens details in organization. For more information about identity access management and security, see [Service Accounts](https://cloudfleet.ai/docs/organization/api-tokens/) section of documentaiton. This endpoint is available to all users in the organization.
743
+ * Returns a list of charts in the cluster.
744
+ *
745
+ * This endpoint is available to all users in the organization.
837
746
  *
838
747
  */
839
- export declare const listTokensOptions: (options?: Options<ListTokensData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").Token[], Error, import("../types.gen").Token[], [Pick<Options<ListTokensData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
748
+ export declare const listChartsOptions: (options: Options<ListChartsData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").Chart[], Error, import("../types.gen").Chart[], [Pick<Options<ListChartsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
840
749
  _id: string;
841
750
  _infinite?: boolean;
842
751
  tags?: ReadonlyArray<string>;
843
752
  }]>, "queryFn"> & {
844
- queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").Token[], [Pick<Options<ListTokensData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
753
+ queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").Chart[], [Pick<Options<ListChartsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
845
754
  _id: string;
846
755
  _infinite?: boolean;
847
756
  tags?: ReadonlyArray<string>;
848
757
  }], never> | undefined;
849
- } & {
850
- queryKey: [Pick<Options<ListTokensData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
851
- _id: string;
852
- _infinite?: boolean;
853
- tags?: ReadonlyArray<string>;
854
- }] & {
855
- [dataTagSymbol]: import("../types.gen").Token[];
856
- [dataTagErrorSymbol]: Error;
857
- };
858
- };
758
+ } & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<ListChartsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
759
+ _id: string;
760
+ _infinite?: boolean;
761
+ tags?: ReadonlyArray<string>;
762
+ }], import("../types.gen").Chart[], Error>;
859
763
  /**
860
- * Create a new access token.
764
+ * Create a new chart.
861
765
  *
862
- * This endpoint allows you to create a new access token. For more information about identity access management and security, see [Service Accounts](https://cloudfleet.ai/docs/organization/api-tokens/) section of documentaiton.
766
+ * Create a new chart deployment.
863
767
  *
864
768
  * This endpoint is available to administrators of the organization only.
865
769
  *
866
770
  */
867
- export declare const createTokenMutation: (options?: Partial<Options<CreateTokenData>>) => UseMutationOptions<CreateTokenResponse, DefaultError, Options<CreateTokenData>>;
771
+ export declare const createChartMutation: (options?: Partial<Options<CreateChartData>>) => UseMutationOptions<CreateChartResponse, CreateChartError, Options<CreateChartData>>;
868
772
  /**
869
- * Permanently delete access token.
773
+ * Permanently delete the chart deployment from the cluster.
870
774
  *
871
- * This endpoint allows you to delete an access token. For more information about identity access management and security, see [Service Accounts](https://cloudfleet.ai/docs/organization/api-tokens/) section of documentaiton. This endpoint is available to administrators of the organization only.
775
+ * This endpoint will permanently delete chart. This operation cannot be undone.
776
+ *
777
+ * This endpoint is available to administrators of the organization only.
872
778
  *
873
779
  */
874
- export declare const deleteTokenMutation: (options?: Partial<Options<DeleteTokenData>>) => UseMutationOptions<unknown, DefaultError, Options<DeleteTokenData>>;
875
- export declare const getTokenQueryKey: (options: Options<GetTokenData>) => [Pick<Options<GetTokenData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
780
+ export declare const deleteChartMutation: (options?: Partial<Options<DeleteChartData>>) => UseMutationOptions<DeleteChartResponse, DeleteChartError, Options<DeleteChartData>>;
781
+ export declare const getChartQueryKey: (options: Options<GetChartData>) => [Pick<Options<GetChartData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
876
782
  _id: string;
877
783
  _infinite?: boolean;
878
784
  tags?: ReadonlyArray<string>;
879
785
  }];
880
786
  /**
881
- * Get access token information.
787
+ * Get chart information.
882
788
  *
883
- * This endpoint allows you to get access token details. For more information about identity access management and security, see [Service Accounts](https://cloudfleet.ai/docs/organization/api-tokens/) section of documentaiton. This endpoint is available to all users in the organization.
789
+ * Returns the details of the chart deployment.
790
+ *
791
+ * This endpoint is available to all users in the organization.
884
792
  *
885
793
  */
886
- export declare const getTokenOptions: (options: Options<GetTokenData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").Token, Error, import("../types.gen").Token, [Pick<Options<GetTokenData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
794
+ export declare const getChartOptions: (options: Options<GetChartData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").Chart, Error, import("../types.gen").Chart, [Pick<Options<GetChartData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
887
795
  _id: string;
888
796
  _infinite?: boolean;
889
797
  tags?: ReadonlyArray<string>;
890
798
  }]>, "queryFn"> & {
891
- queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").Token, [Pick<Options<GetTokenData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
799
+ queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").Chart, [Pick<Options<GetChartData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
892
800
  _id: string;
893
801
  _infinite?: boolean;
894
802
  tags?: ReadonlyArray<string>;
895
803
  }], never> | undefined;
896
- } & {
897
- queryKey: [Pick<Options<GetTokenData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
804
+ } & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<GetChartData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
805
+ _id: string;
806
+ _infinite?: boolean;
807
+ tags?: ReadonlyArray<string>;
808
+ }], import("../types.gen").Chart, Error>;
809
+ /**
810
+ * Update chart information.
811
+ *
812
+ * This endpoint allows you to update the values of a chart deployment.
813
+ *
814
+ * This endpoint is available to administrators of the organization only.
815
+ *
816
+ */
817
+ export declare const updateChartMutation: (options?: Partial<Options<UpdateChartData>>) => UseMutationOptions<UpdateChartResponse, UpdateChartError, Options<UpdateChartData>>;
818
+ export declare const listClustersQueryKey: (options?: Options<ListClustersData>) => [Pick<Options<ListClustersData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
819
+ _id: string;
820
+ _infinite?: boolean;
821
+ tags?: ReadonlyArray<string>;
822
+ }];
823
+ /**
824
+ * List clusters.
825
+ *
826
+ * Returns a list of clusters under the current organization.
827
+ *
828
+ * This endpoint is available to all users in the organization.
829
+ *
830
+ */
831
+ export declare const listClustersOptions: (options?: Options<ListClustersData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").Cluster[], Error, import("../types.gen").Cluster[], [Pick<Options<ListClustersData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
832
+ _id: string;
833
+ _infinite?: boolean;
834
+ tags?: ReadonlyArray<string>;
835
+ }]>, "queryFn"> & {
836
+ queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").Cluster[], [Pick<Options<ListClustersData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
898
837
  _id: string;
899
838
  _infinite?: boolean;
900
839
  tags?: ReadonlyArray<string>;
901
- }] & {
902
- [dataTagSymbol]: import("../types.gen").Token;
903
- [dataTagErrorSymbol]: Error;
904
- };
905
- };
840
+ }], never> | undefined;
841
+ } & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<ListClustersData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
842
+ _id: string;
843
+ _infinite?: boolean;
844
+ tags?: ReadonlyArray<string>;
845
+ }], import("../types.gen").Cluster[], Error>;
906
846
  /**
907
- * Update access token information.
847
+ * Create a new cluster.
908
848
  *
909
- * This endpoint allows you to update access token details. For more information about identity access management and security, see [Service Accounts](https://cloudfleet.ai/docs/organization/api-tokens/) section of documentaiton.
849
+ * Create a new cluster under the current organization. Clusters allow you to group resources and you can create multiple clusters under the same organization, with billing delegated to the parent organization.
910
850
  *
911
851
  * This endpoint is available to administrators of the organization only.
912
852
  *
913
853
  */
914
- export declare const updateTokenMutation: (options?: Partial<Options<UpdateTokenData>>) => UseMutationOptions<UpdateTokenResponse, DefaultError, Options<UpdateTokenData>>;
854
+ export declare const createClusterMutation: (options?: Partial<Options<CreateClusterData>>) => UseMutationOptions<CreateClusterResponse, CreateClusterError, Options<CreateClusterData>>;
915
855
  /**
916
- * Regenerate access token secret key.
856
+ * Permanently delete cluster.
857
+ *
858
+ * This endpoint will permanently delete the cluster. This operation cannot be undone.
859
+ *
860
+ * Deleting a cluster also deletes its fleets. This does not deprovision the cloud infrastructure those fleets provisioned: nodes and other resources keep running. Scale the cluster down first, or remove the infrastructure manually, to avoid orphaned resources.
861
+ *
862
+ * This endpoint is available to administrators of the organization only.
917
863
  *
918
- * Generates a new access token secret. Old secret will not be valid anymore.
919
864
  */
920
- export declare const regenerateTokenMutation: (options?: Partial<Options<RegenerateTokenData>>) => UseMutationOptions<RegenerateTokenResponse, DefaultError, Options<RegenerateTokenData>>;
921
- export declare const listUserOrganizationsQueryKey: (options: Options<ListUserOrganizationsData>) => [Pick<Options<ListUserOrganizationsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
865
+ export declare const deleteClusterMutation: (options?: Partial<Options<DeleteClusterData>>) => UseMutationOptions<DeleteClusterResponse, DeleteClusterError, Options<DeleteClusterData>>;
866
+ export declare const getClusterQueryKey: (options: Options<GetClusterData>) => [Pick<Options<GetClusterData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
922
867
  _id: string;
923
868
  _infinite?: boolean;
924
869
  tags?: ReadonlyArray<string>;
925
870
  }];
926
871
  /**
927
- * Get a list of organizations the user belongs to. Used during authentication process.
872
+ * Get cluster information.
873
+ *
874
+ * Returns cluster details.
875
+ *
876
+ * This endpoint is available to all users in the organization.
877
+ *
928
878
  */
929
- export declare const listUserOrganizationsOptions: (options: Options<ListUserOrganizationsData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
930
- realm?: string;
931
- displayName?: string;
932
- }[], Error, {
933
- realm?: string;
934
- displayName?: string;
935
- }[], [Pick<Options<ListUserOrganizationsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
879
+ export declare const getClusterOptions: (options: Options<GetClusterData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").Cluster, Error, import("../types.gen").Cluster, [Pick<Options<GetClusterData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
936
880
  _id: string;
937
881
  _infinite?: boolean;
938
882
  tags?: ReadonlyArray<string>;
939
883
  }]>, "queryFn"> & {
940
- queryFn?: import("@tanstack/react-query").QueryFunction<{
941
- realm?: string;
942
- displayName?: string;
943
- }[], [Pick<Options<ListUserOrganizationsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
884
+ queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").Cluster, [Pick<Options<GetClusterData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
944
885
  _id: string;
945
886
  _infinite?: boolean;
946
887
  tags?: ReadonlyArray<string>;
947
888
  }], never> | undefined;
948
- } & {
949
- queryKey: [Pick<Options<ListUserOrganizationsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
950
- _id: string;
951
- _infinite?: boolean;
952
- tags?: ReadonlyArray<string>;
953
- }] & {
954
- [dataTagSymbol]: {
955
- realm?: string;
956
- displayName?: string;
957
- }[];
958
- [dataTagErrorSymbol]: Error;
959
- };
960
- };
961
- export declare const listUsersQueryKey: (options?: Options<ListUsersData>) => [Pick<Options<ListUsersData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
889
+ } & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<GetClusterData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
962
890
  _id: string;
963
891
  _infinite?: boolean;
964
892
  tags?: ReadonlyArray<string>;
965
- }];
893
+ }], import("../types.gen").Cluster, Error>;
966
894
  /**
967
- * List users in organization.
895
+ * Update cluster information.
968
896
  *
969
- * Returns a list of user details and their roles. For more information on identity access management, see [Users](https://cloudfleet.ai/docs/organization/users/) section of documentaiton.
897
+ * This endpoint allows you to update cluster details. For more information about clusters, see [Clusters](https://cloudfleet.ai/docs/cluster-management/cluster-types/) section of documentation.
970
898
  *
971
- * This endpoint is available to all users in the organization.
899
+ * This is a full overwrite: any field omitted from the request is reset to its default rather than left unchanged.
900
+ *
901
+ * This endpoint is available to administrators of the organization only.
972
902
  *
973
903
  */
974
- export declare const listUsersOptions: (options?: Options<ListUsersData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").User[], Error, import("../types.gen").User[], [Pick<Options<ListUsersData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
904
+ export declare const updateClusterMutation: (options?: Partial<Options<UpdateClusterData>>) => UseMutationOptions<UpdateClusterResponse, UpdateClusterError, Options<UpdateClusterData>>;
905
+ /**
906
+ * Node join information for the cluster
907
+ *
908
+ * Returns the join information for the cluster. This information is used to add a self-managed nodes to the CFKE cluster. This endpoint is available to only admins of the organization.
909
+ *
910
+ */
911
+ export declare const getJoinInformationMutation: (options?: Partial<Options<GetJoinInformationData>>) => UseMutationOptions<GetJoinInformationResponse, GetJoinInformationError, Options<GetJoinInformationData>>;
912
+ export declare const getUsageQueryKey: (options?: Options<GetUsageData>) => [Pick<Options<GetUsageData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
913
+ _id: string;
914
+ _infinite?: boolean;
915
+ tags?: ReadonlyArray<string>;
916
+ }];
917
+ /**
918
+ * Get billing usage information.
919
+ *
920
+ * Returns aggregated usage information for the organization with facets for filtering. For more information on billing and payments, see [Billing and pricing](https://cloudfleet.ai/docs/organization/billing/) section of documentaiton. This endpoint is available to all users in the organization.
921
+ *
922
+ */
923
+ export declare const getUsageOptions: (options?: Options<GetUsageData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").UsageResponse, Error, import("../types.gen").UsageResponse, [Pick<Options<GetUsageData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
975
924
  _id: string;
976
925
  _infinite?: boolean;
977
926
  tags?: ReadonlyArray<string>;
978
927
  }]>, "queryFn"> & {
979
- queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").User[], [Pick<Options<ListUsersData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
928
+ queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").UsageResponse, [Pick<Options<GetUsageData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
980
929
  _id: string;
981
930
  _infinite?: boolean;
982
931
  tags?: ReadonlyArray<string>;
983
932
  }], never> | undefined;
984
- } & {
985
- queryKey: [Pick<Options<ListUsersData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
933
+ } & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<GetUsageData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
934
+ _id: string;
935
+ _infinite?: boolean;
936
+ tags?: ReadonlyArray<string>;
937
+ }], import("../types.gen").UsageResponse, Error>;
938
+ /**
939
+ * Get Stripe client secret.
940
+ *
941
+ * Endpoint returns the Stripe secret key for the organization. This key is used to securely update the payment method in the Cloudfleet console only, please visit https://console.cloudfleet.ai. This endpoint is available to administrators of the organization only.
942
+ *
943
+ */
944
+ export declare const getPaymentMethodSecretMutation: (options?: Partial<Options<GetPaymentMethodSecretData>>) => UseMutationOptions<GetPaymentMethodSecretResponse, DefaultError, Options<GetPaymentMethodSecretData>>;
945
+ export declare const listPaymentMethodsQueryKey: (options?: Options<ListPaymentMethodsData>) => [Pick<Options<ListPaymentMethodsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
946
+ _id: string;
947
+ _infinite?: boolean;
948
+ tags?: ReadonlyArray<string>;
949
+ }];
950
+ /**
951
+ * List organization payment methods.
952
+ *
953
+ * Returns all payment methods (cards and SEPA Direct Debit) attached to the organization, most recently added first, with the default flagged. This endpoint is available to all users in the organization.
954
+ *
955
+ */
956
+ export declare const listPaymentMethodsOptions: (options?: Options<ListPaymentMethodsData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").PaymentMethod[], Error, import("../types.gen").PaymentMethod[], [Pick<Options<ListPaymentMethodsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
957
+ _id: string;
958
+ _infinite?: boolean;
959
+ tags?: ReadonlyArray<string>;
960
+ }]>, "queryFn"> & {
961
+ queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").PaymentMethod[], [Pick<Options<ListPaymentMethodsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
986
962
  _id: string;
987
963
  _infinite?: boolean;
988
964
  tags?: ReadonlyArray<string>;
989
- }] & {
990
- [dataTagSymbol]: import("../types.gen").User[];
991
- [dataTagErrorSymbol]: Error;
992
- };
993
- };
965
+ }], never> | undefined;
966
+ } & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<ListPaymentMethodsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
967
+ _id: string;
968
+ _infinite?: boolean;
969
+ tags?: ReadonlyArray<string>;
970
+ }], import("../types.gen").PaymentMethod[], Error>;
994
971
  /**
995
- * Create a new user.
972
+ * Set the default payment method.
996
973
  *
997
- * Create a new user in your Cloudfleet organization. Requires a valid invite code generated by the `invites create` command. The invite code is a unique string that can be used only once to create a new user. The invite code is generated by the `POST /invites` endpoint.
974
+ * Sets the given payment method as the default used for invoices and active subscriptions. Requires the Administrator role.
998
975
  *
999
976
  */
1000
- export declare const createUserMutation: (options?: Partial<Options<CreateUserData>>) => UseMutationOptions<CreateUserResponse, DefaultError, Options<CreateUserData>>;
977
+ export declare const setDefaultPaymentMethodMutation: (options?: Partial<Options<SetDefaultPaymentMethodData>>) => UseMutationOptions<SetDefaultPaymentMethodResponse, DefaultError, Options<SetDefaultPaymentMethodData>>;
1001
978
  /**
1002
- * Delete user by id.
979
+ * Delete a payment method.
1003
980
  *
1004
- * Sets user status to `inactive`. Inactive users cannot log in and manage organization resources. This endpoint is available to administrators of the organization only.
981
+ * Detaches the given payment method from the organization. Requires the Administrator role. An organization must keep at least one payment method, so deleting the only remaining method is rejected.
1005
982
  *
1006
983
  */
1007
- export declare const deleteUserMutation: (options?: Partial<Options<DeleteUserData>>) => UseMutationOptions<DeleteUserResponse, DefaultError, Options<DeleteUserData>>;
1008
- export declare const getUserQueryKey: (options: Options<GetUserData>) => [Pick<Options<GetUserData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
984
+ export declare const deletePaymentMethodMutation: (options?: Partial<Options<DeletePaymentMethodData>>) => UseMutationOptions<DeletePaymentMethodResponse, DefaultError, Options<DeletePaymentMethodData>>;
985
+ export declare const listInvoicesQueryKey: (options?: Options<ListInvoicesData>) => [Pick<Options<ListInvoicesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
1009
986
  _id: string;
1010
987
  _infinite?: boolean;
1011
988
  tags?: ReadonlyArray<string>;
1012
989
  }];
1013
990
  /**
1014
- * Get user profile information by id.
991
+ * List issued invoices.
1015
992
  *
1016
- * Returns user details including their roles. For more information on identity access management, see [Users](https://cloudfleet.ai/docs/organization/users/) section of documentaiton.
993
+ * Returns a list of invoices for the organization. For more information on billing and payments, see [Billing and pricing](https://cloudfleet.ai/docs/organization/billing/) section of documentaiton. This endpoint is available to all users in the organization.
1017
994
  *
1018
- * This endpoint is available to all users in the organization.
995
+ */
996
+ export declare const listInvoicesOptions: (options?: Options<ListInvoicesData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").Invoice[], Error, import("../types.gen").Invoice[], [Pick<Options<ListInvoicesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
997
+ _id: string;
998
+ _infinite?: boolean;
999
+ tags?: ReadonlyArray<string>;
1000
+ }]>, "queryFn"> & {
1001
+ queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").Invoice[], [Pick<Options<ListInvoicesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
1002
+ _id: string;
1003
+ _infinite?: boolean;
1004
+ tags?: ReadonlyArray<string>;
1005
+ }], never> | undefined;
1006
+ } & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<ListInvoicesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
1007
+ _id: string;
1008
+ _infinite?: boolean;
1009
+ tags?: ReadonlyArray<string>;
1010
+ }], import("../types.gen").Invoice[], Error>;
1011
+ /**
1012
+ * Pay the organization's open invoices.
1013
+ *
1014
+ * Charges all open invoices of the organization against its default payment method. This endpoint is available to administrators of the organization only.
1019
1015
  *
1020
1016
  */
1021
- export declare const getUserOptions: (options: Options<GetUserData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").User, Error, import("../types.gen").User, [Pick<Options<GetUserData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
1017
+ export declare const payOpenInvoicesMutation: (options?: Partial<Options<PayOpenInvoicesData>>) => UseMutationOptions<PayOpenInvoicesResponse, DefaultError, Options<PayOpenInvoicesData>>;
1018
+ export declare const getContactQueryKey: (options?: Options<GetContactData>) => [Pick<Options<GetContactData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
1019
+ _id: string;
1020
+ _infinite?: boolean;
1021
+ tags?: ReadonlyArray<string>;
1022
+ }];
1023
+ /**
1024
+ * Get organization contact and billing address information.
1025
+ *
1026
+ * Returns the organization contact and billing address information. This endpoint is available to all users in the organization.
1027
+ *
1028
+ */
1029
+ export declare const getContactOptions: (options?: Options<GetContactData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").BillingContact, Error, import("../types.gen").BillingContact, [Pick<Options<GetContactData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
1022
1030
  _id: string;
1023
1031
  _infinite?: boolean;
1024
1032
  tags?: ReadonlyArray<string>;
1025
1033
  }]>, "queryFn"> & {
1026
- queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").User, [Pick<Options<GetUserData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
1034
+ queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").BillingContact, [Pick<Options<GetContactData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
1027
1035
  _id: string;
1028
1036
  _infinite?: boolean;
1029
1037
  tags?: ReadonlyArray<string>;
1030
1038
  }], never> | undefined;
1031
- } & {
1032
- queryKey: [Pick<Options<GetUserData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
1039
+ } & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<GetContactData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
1040
+ _id: string;
1041
+ _infinite?: boolean;
1042
+ tags?: ReadonlyArray<string>;
1043
+ }], import("../types.gen").BillingContact, Error>;
1044
+ /**
1045
+ * Update organization contact information and billing address.
1046
+ *
1047
+ * This endpoint allows you to update organization details with its contact information. This endpoint is available to administrators of the organization only.
1048
+ *
1049
+ */
1050
+ export declare const updateContactMutation: (options?: Partial<Options<UpdateContactData>>) => UseMutationOptions<UpdateContactResponse, DefaultError, Options<UpdateContactData>>;
1051
+ export declare const getCreditsQueryKey: (options?: Options<GetCreditsData>) => [Pick<Options<GetCreditsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
1052
+ _id: string;
1053
+ _infinite?: boolean;
1054
+ tags?: ReadonlyArray<string>;
1055
+ }];
1056
+ /**
1057
+ * Get applied promotional credits
1058
+ *
1059
+ * Returns applied promotional credits for the organization. For more information on billing and payments, see [Billing and pricing](https://cloudfleet.ai/docs/organization/billing/) section of documentaiton. This endpoint is available to all users in the organization.
1060
+ *
1061
+ */
1062
+ export declare const getCreditsOptions: (options?: Options<GetCreditsData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").BillingCredits[], Error, import("../types.gen").BillingCredits[], [Pick<Options<GetCreditsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
1063
+ _id: string;
1064
+ _infinite?: boolean;
1065
+ tags?: ReadonlyArray<string>;
1066
+ }]>, "queryFn"> & {
1067
+ queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").BillingCredits[], [Pick<Options<GetCreditsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
1033
1068
  _id: string;
1034
1069
  _infinite?: boolean;
1035
1070
  tags?: ReadonlyArray<string>;
1036
- }] & {
1037
- [dataTagSymbol]: import("../types.gen").User;
1038
- [dataTagErrorSymbol]: Error;
1039
- };
1040
- };
1071
+ }], never> | undefined;
1072
+ } & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<GetCreditsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
1073
+ _id: string;
1074
+ _infinite?: boolean;
1075
+ tags?: ReadonlyArray<string>;
1076
+ }], import("../types.gen").BillingCredits[], Error>;
1041
1077
  /**
1042
- * Update user profile information.
1078
+ * Redeem promotional credits code.
1043
1079
  *
1044
- * Update user profile information: email, first name, last name, role. This endpoint can be accessed by administrators and the user itself. Role and status can be changed by administrators only.
1080
+ * Applies promotional credits for the organization. For more information on billing and payments, see [Billing and pricing](https://cloudfleet.ai/docs/organization/billing/) section of documentaiton. This endpoint is available to all users in the organization.
1045
1081
  *
1046
1082
  */
1047
- export declare const updateUserMutation: (options?: Partial<Options<UpdateUserData>>) => UseMutationOptions<UpdateUserResponse, DefaultError, Options<UpdateUserData>>;
1083
+ export declare const redeemCreditsMutation: (options?: Partial<Options<RedeemCreditsData>>) => UseMutationOptions<unknown, DefaultError, Options<RedeemCreditsData>>;
1048
1084
  //# sourceMappingURL=react-query.gen.d.ts.map