@cloudfleet/sdk 0.0.1-4a07f21 → 0.0.1-4b464e3

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 { CloseTicketData, CloseTicketResponse, CreateChartData, CreateChartResponse, CreateClusterData, CreateClusterError, CreateClusterResponse, CreateFleetData, CreateFleetError, CreateFleetResponse, CreateInviteData, CreateInviteResponse, CreateOrganizationData, CreateTicketData, CreateTicketResponse, 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, GetTicketAttachmentData, GetTicketData, GetTokenData, GetUsageData, GetUserData, ListChartsData, ListClustersData, ListFleetsData, ListInvitesData, ListInvoicesData, ListMarketplaceChartsData, ListRepositoriesData, ListTagsData, ListTicketsData, ListTokensData, ListUserOrganizationsData, ListUsersData, PostMcpData, PostMcpResponse, QueryClusterData, RedeemCreditsData, RegenerateTokenData, RegenerateTokenResponse, ReplyTicketData, ReplyTicketResponse, 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, GetBasicPriceConsentData, GetChartData, GetClusterData, GetContactData, GetCreditsData, GetFleetData, GetInviteData, GetJoinInformationData, GetJoinInformationError, GetJoinInformationResponse, GetMarketplaceChartFilesData, GetOrganizationData, GetPaymentMethodSecretData, GetPaymentMethodSecretResponse, GetTagData, GetTicketAttachmentData, GetTicketData, GetTokenData, GetUsageData, GetUserData, ListChartsData, ListClustersData, ListFleetsData, ListInvitesData, ListInvoicesData, ListMarketplaceChartsData, ListPaymentMethodsData, ListRepositoriesData, ListTagsData, ListTicketsData, ListTokensData, ListUserOrganizationsData, ListUsersData, PostMcpData, PostMcpResponse, QueryClusterData, RedeemCreditsData, RegenerateTokenData, RegenerateTokenResponse, ReplyTicketData, ReplyTicketResponse, SetBasicPriceConsentData, SetBasicPriceConsentResponse, SetDefaultPaymentMethodData, SetDefaultPaymentMethodResponse, UpdateChartData, UpdateChartError, UpdateChartResponse, UpdateClusterData, UpdateClusterError, UpdateClusterResponse, UpdateContactData, UpdateContactResponse, UpdateFleetData, UpdateFleetError, UpdateFleetResponse, UpdateTokenData, UpdateTokenResponse, UpdateUserData, UpdateUserResponse } 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,455 @@ 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`, 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.
368
- *
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`.
370
- *
371
- * For more information, see [Fleets](https://cloudfleet.ai/docs/cloud-infrastructure/fleets/) section of documentaiton.
270
+ * Append a customer reply to a ticket.
372
271
  *
373
- * This endpoint is available to administrators of the organization only.
272
+ * 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
273
  *
375
274
  */
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"> & {
275
+ export declare const replyTicketMutation: (options?: Partial<Options<ReplyTicketData>>) => UseMutationOptions<ReplyTicketResponse, DefaultError, Options<ReplyTicketData>>;
276
+ export declare const getTicketAttachmentQueryKey: (options: Options<GetTicketAttachmentData>) => [Pick<Options<GetTicketAttachmentData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
378
277
  _id: string;
379
278
  _infinite?: boolean;
380
279
  tags?: ReadonlyArray<string>;
381
280
  }];
382
281
  /**
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.
282
+ * Download a ticket attachment.
386
283
  */
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"> & {
284
+ 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
285
  _id: string;
389
286
  _infinite?: boolean;
390
287
  tags?: ReadonlyArray<string>;
391
288
  }]>, "queryFn"> & {
392
- queryFn?: import("@tanstack/react-query").QueryFunction<unknown, [Pick<Options<QueryClusterData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
289
+ queryFn?: import("@tanstack/react-query").QueryFunction<Blob | File, [Pick<Options<GetTicketAttachmentData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
393
290
  _id: string;
394
291
  _infinite?: boolean;
395
292
  tags?: ReadonlyArray<string>;
396
293
  }], 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"> & {
294
+ } & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<GetTicketAttachmentData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
295
+ _id: string;
296
+ _infinite?: boolean;
297
+ tags?: ReadonlyArray<string>;
298
+ }], Blob | File, Error>;
299
+ export declare const listRepositoriesQueryKey: (options?: Options<ListRepositoriesData>) => [Pick<Options<ListRepositoriesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
408
300
  _id: string;
409
301
  _infinite?: boolean;
410
302
  tags?: ReadonlyArray<string>;
411
303
  }];
412
304
  /**
413
- * List clusters.
414
- *
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.
305
+ * List repositories
416
306
  *
417
- * This endpoint is available to all users in the organization.
307
+ * Returns a list of repositories in the registry across all regions. This endpoint is available to all users in the organization.
418
308
  *
419
309
  */
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"> & {
310
+ 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"> & {
421
311
  _id: string;
422
312
  _infinite?: boolean;
423
313
  tags?: ReadonlyArray<string>;
424
314
  }]>, "queryFn"> & {
425
- queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").Cluster[], [Pick<Options<ListClustersData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
315
+ queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").RegistryRepository[], [Pick<Options<ListRepositoriesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
426
316
  _id: string;
427
317
  _infinite?: boolean;
428
318
  tags?: ReadonlyArray<string>;
429
319
  }], 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
- };
440
- /**
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.
444
- *
445
- * This endpoint is available to administrators of the organization only.
446
- *
447
- */
448
- export declare const createClusterMutation: (options?: Partial<Options<CreateClusterData>>) => UseMutationOptions<CreateClusterResponse, CreateClusterError, Options<CreateClusterData>>;
449
- /**
450
- * Permanently delete cluster.
451
- *
452
- * This endpoint will permanently delete the cluster. This operation cannot be undone.
453
- *
454
- * This endpoint is available to administrators of the organization only.
455
- *
456
- */
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"> & {
320
+ } & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<ListRepositoriesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
321
+ _id: string;
322
+ _infinite?: boolean;
323
+ tags?: ReadonlyArray<string>;
324
+ }], import("../types.gen").RegistryRepository[], Error>;
325
+ export declare const listTagsQueryKey: (options: Options<ListTagsData>) => [Pick<Options<ListTagsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
459
326
  _id: string;
460
327
  _infinite?: boolean;
461
328
  tags?: ReadonlyArray<string>;
462
329
  }];
463
330
  /**
464
- * Get cluster information.
465
- *
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.
331
+ * List tags for a repository
467
332
  *
468
- * This endpoint is available to all users in the organization.
333
+ * 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.
469
334
  *
470
335
  */
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"> & {
336
+ 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"> & {
472
337
  _id: string;
473
338
  _infinite?: boolean;
474
339
  tags?: ReadonlyArray<string>;
475
340
  }]>, "queryFn"> & {
476
- queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").Cluster, [Pick<Options<GetClusterData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
341
+ queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").RegistryRepositoryWithTags, [Pick<Options<ListTagsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
477
342
  _id: string;
478
343
  _infinite?: boolean;
479
344
  tags?: ReadonlyArray<string>;
480
345
  }], 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
- };
346
+ } & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<ListTagsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
347
+ _id: string;
348
+ _infinite?: boolean;
349
+ tags?: ReadonlyArray<string>;
350
+ }], import("../types.gen").RegistryRepositoryWithTags, Error>;
491
351
  /**
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.
352
+ * Delete tag
495
353
  *
496
- * This endpoint is available to administrators of the organization only.
354
+ * Permanently deletes a specific tag from a repository. This endpoint is available to administrators of the organization only.
497
355
  *
498
356
  */
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"> & {
357
+ export declare const deleteTagMutation: (options?: Partial<Options<DeleteTagData>>) => UseMutationOptions<unknown, DefaultError, Options<DeleteTagData>>;
358
+ export declare const getTagQueryKey: (options: Options<GetTagData>) => [Pick<Options<GetTagData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
501
359
  _id: string;
502
360
  _infinite?: boolean;
503
361
  tags?: ReadonlyArray<string>;
504
362
  }];
505
363
  /**
506
- * Get the cluster's certificate authority in PEM format.
364
+ * Get tag details
507
365
  *
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.
366
+ * 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.
509
367
  *
510
368
  */
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"> & {
369
+ 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"> & {
512
370
  _id: string;
513
371
  _infinite?: boolean;
514
372
  tags?: ReadonlyArray<string>;
515
373
  }]>, "queryFn"> & {
516
- queryFn?: import("@tanstack/react-query").QueryFunction<string, [Pick<Options<GetClusterCaData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
374
+ queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").RegistryTag, [Pick<Options<GetTagData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
517
375
  _id: string;
518
376
  _infinite?: boolean;
519
377
  tags?: ReadonlyArray<string>;
520
378
  }], 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
- };
531
- /**
532
- * Node join information for the cluster
533
- *
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.
535
- *
536
- */
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"> & {
379
+ } & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<GetTagData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
380
+ _id: string;
381
+ _infinite?: boolean;
382
+ tags?: ReadonlyArray<string>;
383
+ }], import("../types.gen").RegistryTag, Error>;
384
+ export declare const getOrganizationQueryKey: (options?: Options<GetOrganizationData>) => [Pick<Options<GetOrganizationData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
539
385
  _id: string;
540
386
  _infinite?: boolean;
541
387
  tags?: ReadonlyArray<string>;
542
388
  }];
543
389
  /**
544
- * List invites.
390
+ * Get organization information.
545
391
  *
546
- * Returns a list of invites under the current organization. This endpoint is available to all users in the organization.
392
+ * Returns organization details including quota. For more information about quotas, see [Quotas and limits](https://cloudfleet.ai/docs/organization/quotas/) section of documentaiton.
393
+ *
394
+ * This endpoint is available to all users in the organization.
547
395
  *
548
396
  */
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"> & {
397
+ 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"> & {
550
398
  _id: string;
551
399
  _infinite?: boolean;
552
400
  tags?: ReadonlyArray<string>;
553
401
  }]>, "queryFn"> & {
554
- queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").Invite[], [Pick<Options<ListInvitesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
402
+ queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").Organization, [Pick<Options<GetOrganizationData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
555
403
  _id: string;
556
404
  _infinite?: boolean;
557
405
  tags?: ReadonlyArray<string>;
558
406
  }], 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
- };
407
+ } & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<GetOrganizationData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
408
+ _id: string;
409
+ _infinite?: boolean;
410
+ tags?: ReadonlyArray<string>;
411
+ }], import("../types.gen").Organization, Error>;
569
412
  /**
570
- * Create a new invite.
413
+ * Create a new organization / Cloudfleet account signup.
571
414
  *
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.
415
+ * This endpoint allows you to create a new Cloudfleet organization and an administrator user.
573
416
  *
574
417
  */
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"> & {
418
+ export declare const createOrganizationMutation: (options?: Partial<Options<CreateOrganizationData>>) => UseMutationOptions<CreateOrganizationResponse, DefaultError, Options<CreateOrganizationData>>;
419
+ export declare const getBasicPriceConsentQueryKey: (options?: Options<GetBasicPriceConsentData>) => [Pick<Options<GetBasicPriceConsentData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
577
420
  _id: string;
578
421
  _infinite?: boolean;
579
422
  tags?: ReadonlyArray<string>;
580
423
  }];
581
424
  /**
582
- * Get invite information.
425
+ * Get the organization's consent status for the new Basic price.
583
426
  *
584
- * Returns invite details.
427
+ * Returns the organization's consent status for the migration from the free tier to the paid Basic plan. `pending` means an administrator must opt in; `not_applicable` means the organization is not in scope for the migration; `accepted` / `rejected` reflect a recorded decision.
428
+ *
429
+ * This endpoint is available to all users in the organization and drives the consent dialog in the console.
585
430
  *
586
431
  */
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"> & {
432
+ export declare const getBasicPriceConsentOptions: (options?: Options<GetBasicPriceConsentData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").BasicPriceConsent, Error, import("../types.gen").BasicPriceConsent, [Pick<Options<GetBasicPriceConsentData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
588
433
  _id: string;
589
434
  _infinite?: boolean;
590
435
  tags?: ReadonlyArray<string>;
591
436
  }]>, "queryFn"> & {
592
- queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").Invite, [Pick<Options<GetInviteData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
437
+ queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").BasicPriceConsent, [Pick<Options<GetBasicPriceConsentData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
593
438
  _id: string;
594
439
  _infinite?: boolean;
595
440
  tags?: ReadonlyArray<string>;
596
441
  }], 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
- };
442
+ } & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<GetBasicPriceConsentData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
443
+ _id: string;
444
+ _infinite?: boolean;
445
+ tags?: ReadonlyArray<string>;
446
+ }], import("../types.gen").BasicPriceConsent, Error>;
607
447
  /**
608
- * Permanently delete invite.
448
+ * Record an administrator's decision on the new Basic price.
609
449
  *
610
- * Permanently deletes invite from the organization. This endpoint is available to administrators of the organization only.
450
+ * Records an affirmative decision to continue on the paid Basic plan (`accepted`) or to opt out (`rejected`). This is an organization-binding financial decision, so it is restricted to administrators. Each call appends an immutable audit entry (who and when) and sends a confirmation email to the acting administrator.
611
451
  *
612
452
  */
613
- export declare const deleteInviteMutation: (options?: Partial<Options<DeleteInviteData>>) => UseMutationOptions<unknown, DefaultError, Options<DeleteInviteData>>;
453
+ export declare const setBasicPriceConsentMutation: (options?: Partial<Options<SetBasicPriceConsentData>>) => UseMutationOptions<SetBasicPriceConsentResponse, DefaultError, Options<SetBasicPriceConsentData>>;
454
+ /**
455
+ * MCP endpoint
456
+ *
457
+ * MCP endpoint for handling Model Context Protocol JSON-RPC 2.0 messages.
458
+ */
459
+ export declare const postMcpMutation: (options?: Partial<Options<PostMcpData>>) => UseMutationOptions<PostMcpResponse, DefaultError, Options<PostMcpData>>;
614
460
  export declare const listMarketplaceChartsQueryKey: (options?: Options<ListMarketplaceChartsData>) => [Pick<Options<ListMarketplaceChartsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
615
461
  _id: string;
616
462
  _infinite?: boolean;
@@ -634,16 +480,11 @@ export declare const listMarketplaceChartsOptions: (options?: Options<ListMarket
634
480
  _infinite?: boolean;
635
481
  tags?: ReadonlyArray<string>;
636
482
  }], 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
- };
483
+ } & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<ListMarketplaceChartsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
484
+ _id: string;
485
+ _infinite?: boolean;
486
+ tags?: ReadonlyArray<string>;
487
+ }], import("../types.gen").MarketplaceListing[], Error>;
647
488
  export declare const getMarketplaceChartFilesQueryKey: (options: Options<GetMarketplaceChartFilesData>) => [Pick<Options<GetMarketplaceChartFilesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
648
489
  _id: string;
649
490
  _infinite?: boolean;
@@ -669,488 +510,545 @@ export declare const getMarketplaceChartFilesOptions: (options: Options<GetMarke
669
510
  _infinite?: boolean;
670
511
  tags?: ReadonlyArray<string>;
671
512
  }], never> | undefined;
672
- } & {
673
- queryKey: [Pick<Options<GetMarketplaceChartFilesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
513
+ } & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<GetMarketplaceChartFilesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
514
+ _id: string;
515
+ _infinite?: boolean;
516
+ tags?: ReadonlyArray<string>;
517
+ }], import("../types.gen").MarketplaceListingFiles, Error>;
518
+ export declare const listInvitesQueryKey: (options?: Options<ListInvitesData>) => [Pick<Options<ListInvitesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
519
+ _id: string;
520
+ _infinite?: boolean;
521
+ tags?: ReadonlyArray<string>;
522
+ }];
523
+ /**
524
+ * List invites.
525
+ *
526
+ * Returns a list of pending (non-expired) invites under the current organization. This endpoint is available to administrators of the organization only.
527
+ *
528
+ */
529
+ 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"> & {
530
+ _id: string;
531
+ _infinite?: boolean;
532
+ tags?: ReadonlyArray<string>;
533
+ }]>, "queryFn"> & {
534
+ queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").Invite[], [Pick<Options<ListInvitesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
674
535
  _id: string;
675
536
  _infinite?: boolean;
676
537
  tags?: ReadonlyArray<string>;
677
- }] & {
678
- [dataTagSymbol]: import("../types.gen").MarketplaceListingFiles;
679
- [dataTagErrorSymbol]: Error;
680
- };
681
- };
538
+ }], never> | undefined;
539
+ } & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<ListInvitesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
540
+ _id: string;
541
+ _infinite?: boolean;
542
+ tags?: ReadonlyArray<string>;
543
+ }], import("../types.gen").Invite[], Error>;
682
544
  /**
683
- * MCP endpoint
545
+ * Create a new invite.
546
+ *
547
+ * 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
548
  *
685
- * MCP endpoint for handling Model Context Protocol JSON-RPC 2.0 messages.
686
549
  */
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"> & {
550
+ export declare const createInviteMutation: (options?: Partial<Options<CreateInviteData>>) => UseMutationOptions<CreateInviteResponse, DefaultError, Options<CreateInviteData>>;
551
+ export declare const getInviteQueryKey: (options: Options<GetInviteData>) => [Pick<Options<GetInviteData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
689
552
  _id: string;
690
553
  _infinite?: boolean;
691
554
  tags?: ReadonlyArray<string>;
692
555
  }];
693
556
  /**
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.
557
+ * Get invite information.
697
558
  *
698
- * This endpoint is available to all users in the organization.
559
+ * 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
560
  *
700
561
  */
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"> & {
562
+ export declare const getInviteOptions: (options: Options<GetInviteData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
563
+ email?: string;
564
+ organization_id?: string;
565
+ }, Error, {
566
+ email?: string;
567
+ organization_id?: string;
568
+ }, [Pick<Options<GetInviteData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
702
569
  _id: string;
703
570
  _infinite?: boolean;
704
571
  tags?: ReadonlyArray<string>;
705
572
  }]>, "queryFn"> & {
706
- queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").Organization, [Pick<Options<GetOrganizationData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
573
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
574
+ email?: string;
575
+ organization_id?: string;
576
+ }, [Pick<Options<GetInviteData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
707
577
  _id: string;
708
578
  _infinite?: boolean;
709
579
  tags?: ReadonlyArray<string>;
710
580
  }], 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
- };
581
+ } & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<GetInviteData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
582
+ _id: string;
583
+ _infinite?: boolean;
584
+ tags?: ReadonlyArray<string>;
585
+ }], {
586
+ email?: string;
587
+ organization_id?: string;
588
+ }, Error>;
721
589
  /**
722
- * Create a new organization / Cloudfleet account signup.
590
+ * Permanently delete invite.
723
591
  *
724
- * This endpoint allows you to create a new Cloudfleet organization and an administrator user.
592
+ * Permanently deletes invite from the organization. This endpoint is available to administrators of the organization only.
725
593
  *
726
594
  */
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"> & {
595
+ export declare const deleteInviteMutation: (options?: Partial<Options<DeleteInviteData>>) => UseMutationOptions<unknown, DefaultError, Options<DeleteInviteData>>;
596
+ export declare const queryClusterQueryKey: (options: Options<QueryClusterData>) => [Pick<Options<QueryClusterData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
729
597
  _id: string;
730
598
  _infinite?: boolean;
731
599
  tags?: ReadonlyArray<string>;
732
600
  }];
733
601
  /**
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.
602
+ * Query Kubernetes cluster API
737
603
  *
604
+ * 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
605
  */
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"> & {
606
+ 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
607
  _id: string;
741
608
  _infinite?: boolean;
742
609
  tags?: ReadonlyArray<string>;
743
610
  }]>, "queryFn"> & {
744
- queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").RegistryRepository[], [Pick<Options<ListRepositoriesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
611
+ queryFn?: import("@tanstack/react-query").QueryFunction<unknown, [Pick<Options<QueryClusterData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
745
612
  _id: string;
746
613
  _infinite?: boolean;
747
614
  tags?: ReadonlyArray<string>;
748
615
  }], 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"> & {
616
+ } & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<QueryClusterData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
617
+ _id: string;
618
+ _infinite?: boolean;
619
+ tags?: ReadonlyArray<string>;
620
+ }], unknown, Error>;
621
+ export declare const listFleetsQueryKey: (options: Options<ListFleetsData>) => [Pick<Options<ListFleetsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
760
622
  _id: string;
761
623
  _infinite?: boolean;
762
624
  tags?: ReadonlyArray<string>;
763
625
  }];
764
626
  /**
765
- * List tags for a repository
627
+ * List fleets.
766
628
  *
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.
629
+ * Returns a list of fleets belonging to the cluster. For more information, see [Fleets](https://cloudfleet.ai/docs/cloud-infrastructure/fleets/) section of documentaiton.
630
+ *
631
+ * This endpoint is available to all users in the organization.
768
632
  *
769
633
  */
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"> & {
634
+ 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
635
  _id: string;
772
636
  _infinite?: boolean;
773
637
  tags?: ReadonlyArray<string>;
774
638
  }]>, "queryFn"> & {
775
- queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").RegistryRepositoryWithTags, [Pick<Options<ListTagsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
639
+ queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").Fleet[], [Pick<Options<ListFleetsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
776
640
  _id: string;
777
641
  _infinite?: boolean;
778
642
  tags?: ReadonlyArray<string>;
779
643
  }], 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
- };
644
+ } & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<ListFleetsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
645
+ _id: string;
646
+ _infinite?: boolean;
647
+ tags?: ReadonlyArray<string>;
648
+ }], import("../types.gen").Fleet[], Error>;
790
649
  /**
791
- * Delete tag
650
+ * Create a new fleet.
792
651
  *
793
- * Permanently deletes a specific tag from a repository. This endpoint is available to administrators of the organization only.
652
+ * 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.
653
+ *
654
+ * The cluster must be ready (status `deployed`) before a fleet can be added. Adding a fleet while the cluster is still provisioning returns `409`.
655
+ *
656
+ * This endpoint is available to administrators of the organization only.
794
657
  *
795
658
  */
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"> & {
659
+ export declare const createFleetMutation: (options?: Partial<Options<CreateFleetData>>) => UseMutationOptions<CreateFleetResponse, CreateFleetError, Options<CreateFleetData>>;
660
+ /**
661
+ * Permanently delete fleet.
662
+ *
663
+ * 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.
664
+ *
665
+ * 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.
666
+ *
667
+ * This endpoint is available to administrators of the organization only.
668
+ *
669
+ */
670
+ export declare const deleteFleetMutation: (options?: Partial<Options<DeleteFleetData>>) => UseMutationOptions<DeleteFleetResponse, DeleteFleetError, Options<DeleteFleetData>>;
671
+ export declare const getFleetQueryKey: (options: Options<GetFleetData>) => [Pick<Options<GetFleetData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
798
672
  _id: string;
799
673
  _infinite?: boolean;
800
674
  tags?: ReadonlyArray<string>;
801
675
  }];
802
676
  /**
803
- * Get tag details
677
+ * Get fleet information.
804
678
  *
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.
679
+ * Returns fleet details. For more information, see [Fleets](https://cloudfleet.ai/docs/cloud-infrastructure/fleets/) section of documentaiton.
680
+ *
681
+ * This endpoint is available to all users in the organization.
806
682
  *
807
683
  */
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"> & {
684
+ 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
685
  _id: string;
810
686
  _infinite?: boolean;
811
687
  tags?: ReadonlyArray<string>;
812
688
  }]>, "queryFn"> & {
813
- queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").RegistryTag, [Pick<Options<GetTagData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
689
+ queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").Fleet, [Pick<Options<GetFleetData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
814
690
  _id: string;
815
691
  _infinite?: boolean;
816
692
  tags?: ReadonlyArray<string>;
817
693
  }], 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 listTicketsQueryKey: (options?: Options<ListTicketsData>) => [Pick<Options<ListTicketsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
694
+ } & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<GetFleetData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
695
+ _id: string;
696
+ _infinite?: boolean;
697
+ tags?: ReadonlyArray<string>;
698
+ }], import("../types.gen").Fleet, Error>;
699
+ /**
700
+ * Update fleet information.
701
+ *
702
+ * This endpoint allows you to update fleet details.
703
+ *
704
+ * For more information, see [Fleets](https://cloudfleet.ai/docs/cloud-infrastructure/fleets/) section of documentaiton.
705
+ *
706
+ * 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).
707
+ *
708
+ * This endpoint is available to administrators of the organization only.
709
+ *
710
+ */
711
+ export declare const updateFleetMutation: (options?: Partial<Options<UpdateFleetData>>) => UseMutationOptions<UpdateFleetResponse, UpdateFleetError, Options<UpdateFleetData>>;
712
+ export declare const listChartsQueryKey: (options: Options<ListChartsData>) => [Pick<Options<ListChartsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
829
713
  _id: string;
830
714
  _infinite?: boolean;
831
715
  tags?: ReadonlyArray<string>;
832
716
  }];
833
717
  /**
834
- * List tickets for the current organization.
718
+ * List charts.
835
719
  *
836
- * Returns all tickets belonging to the caller's organization, newest first.
720
+ * Returns a list of charts in the cluster.
721
+ *
722
+ * This endpoint is available to all users in the organization.
837
723
  *
838
724
  */
839
- export declare const listTicketsOptions: (options?: Options<ListTicketsData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").TicketListResponse, Error, import("../types.gen").TicketListResponse, [Pick<Options<ListTicketsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
725
+ 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
726
  _id: string;
841
727
  _infinite?: boolean;
842
728
  tags?: ReadonlyArray<string>;
843
729
  }]>, "queryFn"> & {
844
- queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").TicketListResponse, [Pick<Options<ListTicketsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
730
+ queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").Chart[], [Pick<Options<ListChartsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
845
731
  _id: string;
846
732
  _infinite?: boolean;
847
733
  tags?: ReadonlyArray<string>;
848
734
  }], never> | undefined;
849
- } & {
850
- queryKey: [Pick<Options<ListTicketsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
851
- _id: string;
852
- _infinite?: boolean;
853
- tags?: ReadonlyArray<string>;
854
- }] & {
855
- [dataTagSymbol]: import("../types.gen").TicketListResponse;
856
- [dataTagErrorSymbol]: Error;
857
- };
858
- };
735
+ } & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<ListChartsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
736
+ _id: string;
737
+ _infinite?: boolean;
738
+ tags?: ReadonlyArray<string>;
739
+ }], import("../types.gen").Chart[], Error>;
859
740
  /**
860
- * Create a new support ticket.
741
+ * Create a new chart.
861
742
  *
862
- * 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`, plus up to 3 `attachments` files (10 MB max each).
743
+ * Create a new chart deployment.
744
+ *
745
+ * This endpoint is available to administrators of the organization only.
863
746
  *
864
747
  */
865
- export declare const createTicketMutation: (options?: Partial<Options<CreateTicketData>>) => UseMutationOptions<CreateTicketResponse, DefaultError, Options<CreateTicketData>>;
748
+ export declare const createChartMutation: (options?: Partial<Options<CreateChartData>>) => UseMutationOptions<CreateChartResponse, CreateChartError, Options<CreateChartData>>;
866
749
  /**
867
- * Close a ticket (soft close).
750
+ * Permanently delete the chart deployment from the cluster.
868
751
  *
869
- * Marks the ticket as closed. Closed is a terminal state — users cannot reply to a closed ticket; a new ticket must be opened instead.
752
+ * This endpoint will permanently delete chart. This operation cannot be undone.
753
+ *
754
+ * This endpoint is available to administrators of the organization only.
870
755
  *
871
756
  */
872
- export declare const closeTicketMutation: (options?: Partial<Options<CloseTicketData>>) => UseMutationOptions<CloseTicketResponse, DefaultError, Options<CloseTicketData>>;
873
- export declare const getTicketQueryKey: (options: Options<GetTicketData>) => [Pick<Options<GetTicketData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
757
+ export declare const deleteChartMutation: (options?: Partial<Options<DeleteChartData>>) => UseMutationOptions<DeleteChartResponse, DeleteChartError, Options<DeleteChartData>>;
758
+ export declare const getChartQueryKey: (options: Options<GetChartData>) => [Pick<Options<GetChartData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
874
759
  _id: string;
875
760
  _infinite?: boolean;
876
761
  tags?: ReadonlyArray<string>;
877
762
  }];
878
763
  /**
879
- * Get a ticket and its messages.
764
+ * Get chart information.
765
+ *
766
+ * Returns the details of the chart deployment.
767
+ *
768
+ * This endpoint is available to all users in the organization.
769
+ *
880
770
  */
881
- 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"> & {
771
+ 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"> & {
882
772
  _id: string;
883
773
  _infinite?: boolean;
884
774
  tags?: ReadonlyArray<string>;
885
775
  }]>, "queryFn"> & {
886
- queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").Ticket, [Pick<Options<GetTicketData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
776
+ queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").Chart, [Pick<Options<GetChartData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
887
777
  _id: string;
888
778
  _infinite?: boolean;
889
779
  tags?: ReadonlyArray<string>;
890
780
  }], never> | undefined;
891
- } & {
892
- queryKey: [Pick<Options<GetTicketData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
893
- _id: string;
894
- _infinite?: boolean;
895
- tags?: ReadonlyArray<string>;
896
- }] & {
897
- [dataTagSymbol]: import("../types.gen").Ticket;
898
- [dataTagErrorSymbol]: Error;
899
- };
900
- };
781
+ } & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<GetChartData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
782
+ _id: string;
783
+ _infinite?: boolean;
784
+ tags?: ReadonlyArray<string>;
785
+ }], import("../types.gen").Chart, Error>;
901
786
  /**
902
- * Append a customer reply to a ticket.
787
+ * Update chart information.
903
788
  *
904
- * Multipart form-data with a JSON-encoded `payload` field carrying `body`, plus up to 3 `attachments` files. Returns 409 if the ticket is closed.
789
+ * This endpoint allows you to update the values of a chart deployment.
790
+ *
791
+ * This endpoint is available to administrators of the organization only.
905
792
  *
906
793
  */
907
- export declare const replyTicketMutation: (options?: Partial<Options<ReplyTicketData>>) => UseMutationOptions<ReplyTicketResponse, DefaultError, Options<ReplyTicketData>>;
908
- export declare const getTicketAttachmentQueryKey: (options: Options<GetTicketAttachmentData>) => [Pick<Options<GetTicketAttachmentData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
794
+ export declare const updateChartMutation: (options?: Partial<Options<UpdateChartData>>) => UseMutationOptions<UpdateChartResponse, UpdateChartError, Options<UpdateChartData>>;
795
+ export declare const listClustersQueryKey: (options?: Options<ListClustersData>) => [Pick<Options<ListClustersData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
909
796
  _id: string;
910
797
  _infinite?: boolean;
911
798
  tags?: ReadonlyArray<string>;
912
799
  }];
913
800
  /**
914
- * Download a ticket attachment.
801
+ * List clusters.
802
+ *
803
+ * Returns a list of clusters under the current organization.
804
+ *
805
+ * This endpoint is available to all users in the organization.
806
+ *
915
807
  */
916
- 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"> & {
808
+ 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"> & {
917
809
  _id: string;
918
810
  _infinite?: boolean;
919
811
  tags?: ReadonlyArray<string>;
920
812
  }]>, "queryFn"> & {
921
- queryFn?: import("@tanstack/react-query").QueryFunction<Blob | File, [Pick<Options<GetTicketAttachmentData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
813
+ queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").Cluster[], [Pick<Options<ListClustersData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
922
814
  _id: string;
923
815
  _infinite?: boolean;
924
816
  tags?: ReadonlyArray<string>;
925
817
  }], never> | undefined;
926
- } & {
927
- queryKey: [Pick<Options<GetTicketAttachmentData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
928
- _id: string;
929
- _infinite?: boolean;
930
- tags?: ReadonlyArray<string>;
931
- }] & {
932
- [dataTagSymbol]: Blob | File;
933
- [dataTagErrorSymbol]: Error;
934
- };
935
- };
936
- export declare const listTokensQueryKey: (options?: Options<ListTokensData>) => [Pick<Options<ListTokensData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
818
+ } & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<ListClustersData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
819
+ _id: string;
820
+ _infinite?: boolean;
821
+ tags?: ReadonlyArray<string>;
822
+ }], import("../types.gen").Cluster[], Error>;
823
+ /**
824
+ * Create a new cluster.
825
+ *
826
+ * 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.
827
+ *
828
+ * This endpoint is available to administrators of the organization only.
829
+ *
830
+ */
831
+ export declare const createClusterMutation: (options?: Partial<Options<CreateClusterData>>) => UseMutationOptions<CreateClusterResponse, CreateClusterError, Options<CreateClusterData>>;
832
+ /**
833
+ * Permanently delete cluster.
834
+ *
835
+ * This endpoint will permanently delete the cluster. This operation cannot be undone.
836
+ *
837
+ * 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.
838
+ *
839
+ * This endpoint is available to administrators of the organization only.
840
+ *
841
+ */
842
+ export declare const deleteClusterMutation: (options?: Partial<Options<DeleteClusterData>>) => UseMutationOptions<DeleteClusterResponse, DeleteClusterError, Options<DeleteClusterData>>;
843
+ export declare const getClusterQueryKey: (options: Options<GetClusterData>) => [Pick<Options<GetClusterData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
937
844
  _id: string;
938
845
  _infinite?: boolean;
939
846
  tags?: ReadonlyArray<string>;
940
847
  }];
941
848
  /**
942
- * List access tokens in organization.
849
+ * Get cluster information.
943
850
  *
944
- * 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.
851
+ * Returns cluster details.
852
+ *
853
+ * This endpoint is available to all users in the organization.
945
854
  *
946
855
  */
947
- 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"> & {
856
+ 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"> & {
948
857
  _id: string;
949
858
  _infinite?: boolean;
950
859
  tags?: ReadonlyArray<string>;
951
860
  }]>, "queryFn"> & {
952
- queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").Token[], [Pick<Options<ListTokensData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
861
+ queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").Cluster, [Pick<Options<GetClusterData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
953
862
  _id: string;
954
863
  _infinite?: boolean;
955
864
  tags?: ReadonlyArray<string>;
956
865
  }], never> | undefined;
957
- } & {
958
- queryKey: [Pick<Options<ListTokensData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
959
- _id: string;
960
- _infinite?: boolean;
961
- tags?: ReadonlyArray<string>;
962
- }] & {
963
- [dataTagSymbol]: import("../types.gen").Token[];
964
- [dataTagErrorSymbol]: Error;
965
- };
966
- };
866
+ } & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<GetClusterData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
867
+ _id: string;
868
+ _infinite?: boolean;
869
+ tags?: ReadonlyArray<string>;
870
+ }], import("../types.gen").Cluster, Error>;
967
871
  /**
968
- * Create a new access token.
872
+ * Update cluster information.
969
873
  *
970
- * 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.
874
+ * 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.
875
+ *
876
+ * This is a full overwrite: any field omitted from the request is reset to its default rather than left unchanged.
971
877
  *
972
878
  * This endpoint is available to administrators of the organization only.
973
879
  *
974
880
  */
975
- export declare const createTokenMutation: (options?: Partial<Options<CreateTokenData>>) => UseMutationOptions<CreateTokenResponse, DefaultError, Options<CreateTokenData>>;
881
+ export declare const updateClusterMutation: (options?: Partial<Options<UpdateClusterData>>) => UseMutationOptions<UpdateClusterResponse, UpdateClusterError, Options<UpdateClusterData>>;
976
882
  /**
977
- * Permanently delete access token.
883
+ * Node join information for the cluster
978
884
  *
979
- * 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.
885
+ * 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.
980
886
  *
981
887
  */
982
- export declare const deleteTokenMutation: (options?: Partial<Options<DeleteTokenData>>) => UseMutationOptions<unknown, DefaultError, Options<DeleteTokenData>>;
983
- export declare const getTokenQueryKey: (options: Options<GetTokenData>) => [Pick<Options<GetTokenData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
888
+ export declare const getJoinInformationMutation: (options?: Partial<Options<GetJoinInformationData>>) => UseMutationOptions<GetJoinInformationResponse, GetJoinInformationError, Options<GetJoinInformationData>>;
889
+ export declare const getUsageQueryKey: (options?: Options<GetUsageData>) => [Pick<Options<GetUsageData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
984
890
  _id: string;
985
891
  _infinite?: boolean;
986
892
  tags?: ReadonlyArray<string>;
987
893
  }];
988
894
  /**
989
- * Get access token information.
895
+ * Get billing usage information.
990
896
  *
991
- * 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.
897
+ * 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.
992
898
  *
993
899
  */
994
- 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"> & {
900
+ 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"> & {
995
901
  _id: string;
996
902
  _infinite?: boolean;
997
903
  tags?: ReadonlyArray<string>;
998
904
  }]>, "queryFn"> & {
999
- queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").Token, [Pick<Options<GetTokenData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
905
+ queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").UsageResponse, [Pick<Options<GetUsageData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
1000
906
  _id: string;
1001
907
  _infinite?: boolean;
1002
908
  tags?: ReadonlyArray<string>;
1003
909
  }], never> | undefined;
1004
- } & {
1005
- queryKey: [Pick<Options<GetTokenData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
910
+ } & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<GetUsageData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
911
+ _id: string;
912
+ _infinite?: boolean;
913
+ tags?: ReadonlyArray<string>;
914
+ }], import("../types.gen").UsageResponse, Error>;
915
+ /**
916
+ * Get Stripe client secret.
917
+ *
918
+ * 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.
919
+ *
920
+ */
921
+ export declare const getPaymentMethodSecretMutation: (options?: Partial<Options<GetPaymentMethodSecretData>>) => UseMutationOptions<GetPaymentMethodSecretResponse, DefaultError, Options<GetPaymentMethodSecretData>>;
922
+ export declare const listPaymentMethodsQueryKey: (options?: Options<ListPaymentMethodsData>) => [Pick<Options<ListPaymentMethodsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
923
+ _id: string;
924
+ _infinite?: boolean;
925
+ tags?: ReadonlyArray<string>;
926
+ }];
927
+ /**
928
+ * List organization payment methods.
929
+ *
930
+ * 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.
931
+ *
932
+ */
933
+ 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"> & {
934
+ _id: string;
935
+ _infinite?: boolean;
936
+ tags?: ReadonlyArray<string>;
937
+ }]>, "queryFn"> & {
938
+ queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").PaymentMethod[], [Pick<Options<ListPaymentMethodsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
1006
939
  _id: string;
1007
940
  _infinite?: boolean;
1008
941
  tags?: ReadonlyArray<string>;
1009
- }] & {
1010
- [dataTagSymbol]: import("../types.gen").Token;
1011
- [dataTagErrorSymbol]: Error;
1012
- };
1013
- };
942
+ }], never> | undefined;
943
+ } & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<ListPaymentMethodsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
944
+ _id: string;
945
+ _infinite?: boolean;
946
+ tags?: ReadonlyArray<string>;
947
+ }], import("../types.gen").PaymentMethod[], Error>;
1014
948
  /**
1015
- * Update access token information.
1016
- *
1017
- * 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.
949
+ * Set the default payment method.
1018
950
  *
1019
- * This endpoint is available to administrators of the organization only.
951
+ * Sets the given payment method as the default used for invoices and active subscriptions. Requires the Administrator role.
1020
952
  *
1021
953
  */
1022
- export declare const updateTokenMutation: (options?: Partial<Options<UpdateTokenData>>) => UseMutationOptions<UpdateTokenResponse, DefaultError, Options<UpdateTokenData>>;
954
+ export declare const setDefaultPaymentMethodMutation: (options?: Partial<Options<SetDefaultPaymentMethodData>>) => UseMutationOptions<SetDefaultPaymentMethodResponse, DefaultError, Options<SetDefaultPaymentMethodData>>;
1023
955
  /**
1024
- * Regenerate access token secret key.
956
+ * Delete a payment method.
957
+ *
958
+ * 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.
1025
959
  *
1026
- * Generates a new access token secret. Old secret will not be valid anymore.
1027
960
  */
1028
- export declare const regenerateTokenMutation: (options?: Partial<Options<RegenerateTokenData>>) => UseMutationOptions<RegenerateTokenResponse, DefaultError, Options<RegenerateTokenData>>;
1029
- export declare const listUserOrganizationsQueryKey: (options: Options<ListUserOrganizationsData>) => [Pick<Options<ListUserOrganizationsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
961
+ export declare const deletePaymentMethodMutation: (options?: Partial<Options<DeletePaymentMethodData>>) => UseMutationOptions<DeletePaymentMethodResponse, DefaultError, Options<DeletePaymentMethodData>>;
962
+ export declare const listInvoicesQueryKey: (options?: Options<ListInvoicesData>) => [Pick<Options<ListInvoicesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
1030
963
  _id: string;
1031
964
  _infinite?: boolean;
1032
965
  tags?: ReadonlyArray<string>;
1033
966
  }];
1034
967
  /**
1035
- * Get a list of organizations the user belongs to. Used during authentication process.
968
+ * List issued invoices.
969
+ *
970
+ * 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.
971
+ *
1036
972
  */
1037
- export declare const listUserOrganizationsOptions: (options: Options<ListUserOrganizationsData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
1038
- realm?: string;
1039
- displayName?: string;
1040
- }[], Error, {
1041
- realm?: string;
1042
- displayName?: string;
1043
- }[], [Pick<Options<ListUserOrganizationsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
973
+ 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"> & {
1044
974
  _id: string;
1045
975
  _infinite?: boolean;
1046
976
  tags?: ReadonlyArray<string>;
1047
977
  }]>, "queryFn"> & {
1048
- queryFn?: import("@tanstack/react-query").QueryFunction<{
1049
- realm?: string;
1050
- displayName?: string;
1051
- }[], [Pick<Options<ListUserOrganizationsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
978
+ queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").Invoice[], [Pick<Options<ListInvoicesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
1052
979
  _id: string;
1053
980
  _infinite?: boolean;
1054
981
  tags?: ReadonlyArray<string>;
1055
982
  }], never> | undefined;
1056
- } & {
1057
- queryKey: [Pick<Options<ListUserOrganizationsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
1058
- _id: string;
1059
- _infinite?: boolean;
1060
- tags?: ReadonlyArray<string>;
1061
- }] & {
1062
- [dataTagSymbol]: {
1063
- realm?: string;
1064
- displayName?: string;
1065
- }[];
1066
- [dataTagErrorSymbol]: Error;
1067
- };
1068
- };
1069
- export declare const listUsersQueryKey: (options?: Options<ListUsersData>) => [Pick<Options<ListUsersData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
983
+ } & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<ListInvoicesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
984
+ _id: string;
985
+ _infinite?: boolean;
986
+ tags?: ReadonlyArray<string>;
987
+ }], import("../types.gen").Invoice[], Error>;
988
+ export declare const getContactQueryKey: (options?: Options<GetContactData>) => [Pick<Options<GetContactData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
1070
989
  _id: string;
1071
990
  _infinite?: boolean;
1072
991
  tags?: ReadonlyArray<string>;
1073
992
  }];
1074
993
  /**
1075
- * List users in organization.
1076
- *
1077
- * 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.
994
+ * Get organization contact and billing address information.
1078
995
  *
1079
- * This endpoint is available to all users in the organization.
996
+ * Returns the organization contact and billing address information. This endpoint is available to all users in the organization.
1080
997
  *
1081
998
  */
1082
- 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"> & {
999
+ 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"> & {
1083
1000
  _id: string;
1084
1001
  _infinite?: boolean;
1085
1002
  tags?: ReadonlyArray<string>;
1086
1003
  }]>, "queryFn"> & {
1087
- queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").User[], [Pick<Options<ListUsersData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
1004
+ queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").BillingContact, [Pick<Options<GetContactData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
1088
1005
  _id: string;
1089
1006
  _infinite?: boolean;
1090
1007
  tags?: ReadonlyArray<string>;
1091
1008
  }], never> | undefined;
1092
- } & {
1093
- queryKey: [Pick<Options<ListUsersData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
1094
- _id: string;
1095
- _infinite?: boolean;
1096
- tags?: ReadonlyArray<string>;
1097
- }] & {
1098
- [dataTagSymbol]: import("../types.gen").User[];
1099
- [dataTagErrorSymbol]: Error;
1100
- };
1101
- };
1102
- /**
1103
- * Create a new user.
1104
- *
1105
- * 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.
1106
- *
1107
- */
1108
- export declare const createUserMutation: (options?: Partial<Options<CreateUserData>>) => UseMutationOptions<CreateUserResponse, DefaultError, Options<CreateUserData>>;
1009
+ } & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<GetContactData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
1010
+ _id: string;
1011
+ _infinite?: boolean;
1012
+ tags?: ReadonlyArray<string>;
1013
+ }], import("../types.gen").BillingContact, Error>;
1109
1014
  /**
1110
- * Delete user by id.
1015
+ * Update organization contact information and billing address.
1111
1016
  *
1112
- * Sets user status to `inactive`. Inactive users cannot log in and manage organization resources. This endpoint is available to administrators of the organization only.
1017
+ * This endpoint allows you to update organization details with its contact information. This endpoint is available to administrators of the organization only.
1113
1018
  *
1114
1019
  */
1115
- export declare const deleteUserMutation: (options?: Partial<Options<DeleteUserData>>) => UseMutationOptions<DeleteUserResponse, DefaultError, Options<DeleteUserData>>;
1116
- export declare const getUserQueryKey: (options: Options<GetUserData>) => [Pick<Options<GetUserData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
1020
+ export declare const updateContactMutation: (options?: Partial<Options<UpdateContactData>>) => UseMutationOptions<UpdateContactResponse, DefaultError, Options<UpdateContactData>>;
1021
+ export declare const getCreditsQueryKey: (options?: Options<GetCreditsData>) => [Pick<Options<GetCreditsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
1117
1022
  _id: string;
1118
1023
  _infinite?: boolean;
1119
1024
  tags?: ReadonlyArray<string>;
1120
1025
  }];
1121
1026
  /**
1122
- * Get user profile information by id.
1123
- *
1124
- * Returns user details including their roles. For more information on identity access management, see [Users](https://cloudfleet.ai/docs/organization/users/) section of documentaiton.
1027
+ * Get applied promotional credits
1125
1028
  *
1126
- * This endpoint is available to all users in the organization.
1029
+ * 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.
1127
1030
  *
1128
1031
  */
1129
- 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"> & {
1032
+ 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"> & {
1130
1033
  _id: string;
1131
1034
  _infinite?: boolean;
1132
1035
  tags?: ReadonlyArray<string>;
1133
1036
  }]>, "queryFn"> & {
1134
- queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").User, [Pick<Options<GetUserData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
1037
+ queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").BillingCredits[], [Pick<Options<GetCreditsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
1135
1038
  _id: string;
1136
1039
  _infinite?: boolean;
1137
1040
  tags?: ReadonlyArray<string>;
1138
1041
  }], never> | undefined;
1139
- } & {
1140
- queryKey: [Pick<Options<GetUserData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
1141
- _id: string;
1142
- _infinite?: boolean;
1143
- tags?: ReadonlyArray<string>;
1144
- }] & {
1145
- [dataTagSymbol]: import("../types.gen").User;
1146
- [dataTagErrorSymbol]: Error;
1147
- };
1148
- };
1042
+ } & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<GetCreditsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
1043
+ _id: string;
1044
+ _infinite?: boolean;
1045
+ tags?: ReadonlyArray<string>;
1046
+ }], import("../types.gen").BillingCredits[], Error>;
1149
1047
  /**
1150
- * Update user profile information.
1048
+ * Redeem promotional credits code.
1151
1049
  *
1152
- * 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.
1050
+ * 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.
1153
1051
  *
1154
1052
  */
1155
- export declare const updateUserMutation: (options?: Partial<Options<UpdateUserData>>) => UseMutationOptions<UpdateUserResponse, DefaultError, Options<UpdateUserData>>;
1053
+ export declare const redeemCreditsMutation: (options?: Partial<Options<RedeemCreditsData>>) => UseMutationOptions<unknown, DefaultError, Options<RedeemCreditsData>>;
1156
1054
  //# sourceMappingURL=react-query.gen.d.ts.map