@cloudfleet/sdk 0.0.1-cfddf24 → 0.0.1-d32b155
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.
- package/README.md +26 -2
- package/dist/@tanstack/react-query.gen.d.ts +446 -372
- package/dist/@tanstack/react-query.gen.d.ts.map +1 -1
- package/dist/@tanstack/react-query.gen.js +478 -392
- package/dist/@tanstack/react-query.gen.js.map +1 -1
- package/dist/client/client.gen.d.ts.map +1 -1
- package/dist/client/client.gen.js +1 -4
- package/dist/client/client.gen.js.map +1 -1
- package/dist/client/types.gen.d.ts +1 -1
- package/dist/client/types.gen.d.ts.map +1 -1
- package/dist/client/utils.gen.d.ts +2 -2
- package/dist/client/utils.gen.d.ts.map +1 -1
- package/dist/client/utils.gen.js +3 -3
- package/dist/client/utils.gen.js.map +1 -1
- package/dist/core/params.gen.js +4 -4
- package/dist/core/params.gen.js.map +1 -1
- package/dist/schemas.gen.d.ts +474 -225
- package/dist/schemas.gen.d.ts.map +1 -1
- package/dist/schemas.gen.js +636 -317
- package/dist/schemas.gen.js.map +1 -1
- package/dist/sdk.gen.d.ts +249 -211
- package/dist/sdk.gen.d.ts.map +1 -1
- package/dist/sdk.gen.js +357 -304
- package/dist/sdk.gen.js.map +1 -1
- package/dist/types.gen.d.ts +1103 -787
- package/dist/types.gen.d.ts.map +1 -1
- package/dist/zod.gen.d.ts +1695 -1474
- package/dist/zod.gen.d.ts.map +1 -1
- package/dist/zod.gen.js +502 -349
- package/dist/zod.gen.js.map +1 -1
- package/package.json +8 -11
|
@@ -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, GetClusterData, GetContactData, GetCreditsData, GetFleetData, GetInviteData, GetJoinInformationData, GetJoinInformationResponse, GetMarketplaceChartFilesData, GetOrganizationData,
|
|
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,1118 +8,1192 @@ export type QueryKey<TOptions extends Options> = [
|
|
|
8
8
|
tags?: ReadonlyArray<string>;
|
|
9
9
|
}
|
|
10
10
|
];
|
|
11
|
-
export declare const
|
|
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
|
|
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
|
|
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<
|
|
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
38
|
} & {
|
|
33
|
-
queryKey: [Pick<Options<
|
|
39
|
+
queryKey: [Pick<Options<ListUserOrganizationsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
34
40
|
_id: string;
|
|
35
41
|
_infinite?: boolean;
|
|
36
42
|
tags?: ReadonlyArray<string>;
|
|
37
43
|
}] & {
|
|
38
|
-
[dataTagSymbol]:
|
|
44
|
+
[dataTagSymbol]: {
|
|
45
|
+
realm?: string;
|
|
46
|
+
displayName?: string;
|
|
47
|
+
}[];
|
|
39
48
|
[dataTagErrorSymbol]: Error;
|
|
40
49
|
};
|
|
41
50
|
};
|
|
42
|
-
export declare const
|
|
51
|
+
export declare const listUsersQueryKey: (options?: Options<ListUsersData>) => [Pick<Options<ListUsersData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
43
52
|
_id: string;
|
|
44
53
|
_infinite?: boolean;
|
|
45
54
|
tags?: ReadonlyArray<string>;
|
|
46
55
|
}];
|
|
47
56
|
/**
|
|
48
|
-
*
|
|
57
|
+
* List users in organization.
|
|
58
|
+
*
|
|
59
|
+
* 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.
|
|
49
60
|
*
|
|
50
|
-
*
|
|
61
|
+
* This endpoint is available to all users in the organization.
|
|
51
62
|
*
|
|
52
63
|
*/
|
|
53
|
-
export declare const
|
|
64
|
+
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"> & {
|
|
54
65
|
_id: string;
|
|
55
66
|
_infinite?: boolean;
|
|
56
67
|
tags?: ReadonlyArray<string>;
|
|
57
68
|
}]>, "queryFn"> & {
|
|
58
|
-
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").
|
|
69
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").User[], [Pick<Options<ListUsersData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
59
70
|
_id: string;
|
|
60
71
|
_infinite?: boolean;
|
|
61
72
|
tags?: ReadonlyArray<string>;
|
|
62
73
|
}], never> | undefined;
|
|
63
74
|
} & {
|
|
64
|
-
queryKey: [Pick<Options<
|
|
75
|
+
queryKey: [Pick<Options<ListUsersData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
65
76
|
_id: string;
|
|
66
77
|
_infinite?: boolean;
|
|
67
78
|
tags?: ReadonlyArray<string>;
|
|
68
79
|
}] & {
|
|
69
|
-
[dataTagSymbol]: import("../types.gen").
|
|
80
|
+
[dataTagSymbol]: import("../types.gen").User[];
|
|
70
81
|
[dataTagErrorSymbol]: Error;
|
|
71
82
|
};
|
|
72
83
|
};
|
|
73
84
|
/**
|
|
74
|
-
*
|
|
85
|
+
* Create a new user.
|
|
75
86
|
*
|
|
76
|
-
*
|
|
87
|
+
* 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.
|
|
77
88
|
*
|
|
78
89
|
*/
|
|
79
|
-
export declare const
|
|
80
|
-
|
|
90
|
+
export declare const createUserMutation: (options?: Partial<Options<CreateUserData>>) => UseMutationOptions<CreateUserResponse, DefaultError, Options<CreateUserData>>;
|
|
91
|
+
/**
|
|
92
|
+
* Delete user by id.
|
|
93
|
+
*
|
|
94
|
+
* Sets user status to `inactive`. Inactive users cannot log in and manage organization resources. This endpoint is available to administrators of the organization only.
|
|
95
|
+
*
|
|
96
|
+
*/
|
|
97
|
+
export declare const deleteUserMutation: (options?: Partial<Options<DeleteUserData>>) => UseMutationOptions<DeleteUserResponse, DefaultError, Options<DeleteUserData>>;
|
|
98
|
+
export declare const getUserQueryKey: (options: Options<GetUserData>) => [Pick<Options<GetUserData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
81
99
|
_id: string;
|
|
82
100
|
_infinite?: boolean;
|
|
83
101
|
tags?: ReadonlyArray<string>;
|
|
84
102
|
}];
|
|
85
103
|
/**
|
|
86
|
-
*
|
|
104
|
+
* Get user profile information by id.
|
|
87
105
|
*
|
|
88
|
-
* Returns
|
|
106
|
+
* Returns user details including their roles. For more information on identity access management, see [Users](https://cloudfleet.ai/docs/organization/users/) section of documentaiton.
|
|
107
|
+
*
|
|
108
|
+
* This endpoint is available to all users in the organization.
|
|
89
109
|
*
|
|
90
110
|
*/
|
|
91
|
-
export declare const
|
|
111
|
+
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"> & {
|
|
92
112
|
_id: string;
|
|
93
113
|
_infinite?: boolean;
|
|
94
114
|
tags?: ReadonlyArray<string>;
|
|
95
115
|
}]>, "queryFn"> & {
|
|
96
|
-
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").
|
|
116
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").User, [Pick<Options<GetUserData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
97
117
|
_id: string;
|
|
98
118
|
_infinite?: boolean;
|
|
99
119
|
tags?: ReadonlyArray<string>;
|
|
100
120
|
}], never> | undefined;
|
|
101
121
|
} & {
|
|
102
|
-
queryKey: [Pick<Options<
|
|
122
|
+
queryKey: [Pick<Options<GetUserData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
103
123
|
_id: string;
|
|
104
124
|
_infinite?: boolean;
|
|
105
125
|
tags?: ReadonlyArray<string>;
|
|
106
126
|
}] & {
|
|
107
|
-
[dataTagSymbol]: import("../types.gen").
|
|
127
|
+
[dataTagSymbol]: import("../types.gen").User;
|
|
108
128
|
[dataTagErrorSymbol]: Error;
|
|
109
129
|
};
|
|
110
130
|
};
|
|
111
|
-
|
|
131
|
+
/**
|
|
132
|
+
* Update user profile information.
|
|
133
|
+
*
|
|
134
|
+
* 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.
|
|
135
|
+
*
|
|
136
|
+
*/
|
|
137
|
+
export declare const updateUserMutation: (options?: Partial<Options<UpdateUserData>>) => UseMutationOptions<UpdateUserResponse, DefaultError, Options<UpdateUserData>>;
|
|
138
|
+
export declare const listTokensQueryKey: (options?: Options<ListTokensData>) => [Pick<Options<ListTokensData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
112
139
|
_id: string;
|
|
113
140
|
_infinite?: boolean;
|
|
114
141
|
tags?: ReadonlyArray<string>;
|
|
115
142
|
}];
|
|
116
143
|
/**
|
|
117
|
-
*
|
|
144
|
+
* List access tokens in organization.
|
|
118
145
|
*
|
|
119
|
-
*
|
|
146
|
+
* 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.
|
|
120
147
|
*
|
|
121
148
|
*/
|
|
122
|
-
export declare const
|
|
149
|
+
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"> & {
|
|
123
150
|
_id: string;
|
|
124
151
|
_infinite?: boolean;
|
|
125
152
|
tags?: ReadonlyArray<string>;
|
|
126
153
|
}]>, "queryFn"> & {
|
|
127
|
-
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").
|
|
154
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").Token[], [Pick<Options<ListTokensData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
128
155
|
_id: string;
|
|
129
156
|
_infinite?: boolean;
|
|
130
157
|
tags?: ReadonlyArray<string>;
|
|
131
158
|
}], never> | undefined;
|
|
132
159
|
} & {
|
|
133
|
-
queryKey: [Pick<Options<
|
|
160
|
+
queryKey: [Pick<Options<ListTokensData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
134
161
|
_id: string;
|
|
135
162
|
_infinite?: boolean;
|
|
136
163
|
tags?: ReadonlyArray<string>;
|
|
137
164
|
}] & {
|
|
138
|
-
[dataTagSymbol]: import("../types.gen").
|
|
165
|
+
[dataTagSymbol]: import("../types.gen").Token[];
|
|
139
166
|
[dataTagErrorSymbol]: Error;
|
|
140
167
|
};
|
|
141
168
|
};
|
|
142
169
|
/**
|
|
143
|
-
*
|
|
170
|
+
* Create a new access token.
|
|
144
171
|
*
|
|
145
|
-
* This endpoint allows you to
|
|
172
|
+
* 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.
|
|
173
|
+
*
|
|
174
|
+
* This endpoint is available to administrators of the organization only.
|
|
146
175
|
*
|
|
147
176
|
*/
|
|
148
|
-
export declare const
|
|
149
|
-
|
|
177
|
+
export declare const createTokenMutation: (options?: Partial<Options<CreateTokenData>>) => UseMutationOptions<CreateTokenResponse, DefaultError, Options<CreateTokenData>>;
|
|
178
|
+
/**
|
|
179
|
+
* Permanently delete access token.
|
|
180
|
+
*
|
|
181
|
+
* 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.
|
|
182
|
+
*
|
|
183
|
+
*/
|
|
184
|
+
export declare const deleteTokenMutation: (options?: Partial<Options<DeleteTokenData>>) => UseMutationOptions<unknown, DefaultError, Options<DeleteTokenData>>;
|
|
185
|
+
export declare const getTokenQueryKey: (options: Options<GetTokenData>) => [Pick<Options<GetTokenData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
150
186
|
_id: string;
|
|
151
187
|
_infinite?: boolean;
|
|
152
188
|
tags?: ReadonlyArray<string>;
|
|
153
189
|
}];
|
|
154
190
|
/**
|
|
155
|
-
* Get
|
|
191
|
+
* Get access token information.
|
|
156
192
|
*
|
|
157
|
-
*
|
|
193
|
+
* 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.
|
|
158
194
|
*
|
|
159
195
|
*/
|
|
160
|
-
export declare const
|
|
196
|
+
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"> & {
|
|
161
197
|
_id: string;
|
|
162
198
|
_infinite?: boolean;
|
|
163
199
|
tags?: ReadonlyArray<string>;
|
|
164
200
|
}]>, "queryFn"> & {
|
|
165
|
-
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").
|
|
201
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").Token, [Pick<Options<GetTokenData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
166
202
|
_id: string;
|
|
167
203
|
_infinite?: boolean;
|
|
168
204
|
tags?: ReadonlyArray<string>;
|
|
169
205
|
}], never> | undefined;
|
|
170
206
|
} & {
|
|
171
|
-
queryKey: [Pick<Options<
|
|
207
|
+
queryKey: [Pick<Options<GetTokenData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
172
208
|
_id: string;
|
|
173
209
|
_infinite?: boolean;
|
|
174
210
|
tags?: ReadonlyArray<string>;
|
|
175
211
|
}] & {
|
|
176
|
-
[dataTagSymbol]: import("../types.gen").
|
|
212
|
+
[dataTagSymbol]: import("../types.gen").Token;
|
|
177
213
|
[dataTagErrorSymbol]: Error;
|
|
178
214
|
};
|
|
179
215
|
};
|
|
180
216
|
/**
|
|
181
|
-
*
|
|
217
|
+
* Update access token information.
|
|
182
218
|
*
|
|
183
|
-
*
|
|
219
|
+
* 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.
|
|
220
|
+
*
|
|
221
|
+
* This endpoint is available to administrators of the organization only.
|
|
184
222
|
*
|
|
185
223
|
*/
|
|
186
|
-
export declare const
|
|
187
|
-
|
|
224
|
+
export declare const updateTokenMutation: (options?: Partial<Options<UpdateTokenData>>) => UseMutationOptions<UpdateTokenResponse, DefaultError, Options<UpdateTokenData>>;
|
|
225
|
+
/**
|
|
226
|
+
* Regenerate access token secret key.
|
|
227
|
+
*
|
|
228
|
+
* Generates a new access token secret. Old secret will not be valid anymore.
|
|
229
|
+
*/
|
|
230
|
+
export declare const regenerateTokenMutation: (options?: Partial<Options<RegenerateTokenData>>) => UseMutationOptions<RegenerateTokenResponse, DefaultError, Options<RegenerateTokenData>>;
|
|
231
|
+
export declare const listTicketsQueryKey: (options?: Options<ListTicketsData>) => [Pick<Options<ListTicketsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
188
232
|
_id: string;
|
|
189
233
|
_infinite?: boolean;
|
|
190
234
|
tags?: ReadonlyArray<string>;
|
|
191
235
|
}];
|
|
192
236
|
/**
|
|
193
|
-
* List
|
|
194
|
-
*
|
|
195
|
-
* Returns a list of charts in the cluster.
|
|
237
|
+
* List tickets for the current organization.
|
|
196
238
|
*
|
|
197
|
-
*
|
|
239
|
+
* Returns all tickets belonging to the caller's organization, newest first.
|
|
198
240
|
*
|
|
199
241
|
*/
|
|
200
|
-
export declare const
|
|
242
|
+
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"> & {
|
|
201
243
|
_id: string;
|
|
202
244
|
_infinite?: boolean;
|
|
203
245
|
tags?: ReadonlyArray<string>;
|
|
204
246
|
}]>, "queryFn"> & {
|
|
205
|
-
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").
|
|
247
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").Ticket[], [Pick<Options<ListTicketsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
206
248
|
_id: string;
|
|
207
249
|
_infinite?: boolean;
|
|
208
250
|
tags?: ReadonlyArray<string>;
|
|
209
251
|
}], never> | undefined;
|
|
210
252
|
} & {
|
|
211
|
-
queryKey: [Pick<Options<
|
|
253
|
+
queryKey: [Pick<Options<ListTicketsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
212
254
|
_id: string;
|
|
213
255
|
_infinite?: boolean;
|
|
214
256
|
tags?: ReadonlyArray<string>;
|
|
215
257
|
}] & {
|
|
216
|
-
[dataTagSymbol]: import("../types.gen").
|
|
258
|
+
[dataTagSymbol]: import("../types.gen").Ticket[];
|
|
217
259
|
[dataTagErrorSymbol]: Error;
|
|
218
260
|
};
|
|
219
261
|
};
|
|
220
262
|
/**
|
|
221
|
-
* Create a new
|
|
222
|
-
*
|
|
223
|
-
* Create a new chart deployment.
|
|
263
|
+
* Create a new support ticket.
|
|
224
264
|
*
|
|
225
|
-
*
|
|
265
|
+
* 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).
|
|
226
266
|
*
|
|
227
267
|
*/
|
|
228
|
-
export declare const
|
|
268
|
+
export declare const createTicketMutation: (options?: Partial<Options<CreateTicketData>>) => UseMutationOptions<CreateTicketResponse, DefaultError, Options<CreateTicketData>>;
|
|
229
269
|
/**
|
|
230
|
-
*
|
|
231
|
-
*
|
|
232
|
-
* This endpoint will permanently delete chart. This operation cannot be undone.
|
|
270
|
+
* Close a ticket (soft close).
|
|
233
271
|
*
|
|
234
|
-
*
|
|
272
|
+
* Marks the ticket as closed. Closed is a terminal state — users cannot reply to a closed ticket; a new ticket must be opened instead.
|
|
235
273
|
*
|
|
236
274
|
*/
|
|
237
|
-
export declare const
|
|
238
|
-
export declare const
|
|
275
|
+
export declare const closeTicketMutation: (options?: Partial<Options<CloseTicketData>>) => UseMutationOptions<CloseTicketResponse, DefaultError, Options<CloseTicketData>>;
|
|
276
|
+
export declare const getTicketQueryKey: (options: Options<GetTicketData>) => [Pick<Options<GetTicketData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
239
277
|
_id: string;
|
|
240
278
|
_infinite?: boolean;
|
|
241
279
|
tags?: ReadonlyArray<string>;
|
|
242
280
|
}];
|
|
243
281
|
/**
|
|
244
|
-
* Get
|
|
245
|
-
*
|
|
246
|
-
* Returns the details of the chart deployment.
|
|
247
|
-
*
|
|
248
|
-
* This endpoint is available to all users in the organization.
|
|
249
|
-
*
|
|
282
|
+
* Get a ticket and its messages.
|
|
250
283
|
*/
|
|
251
|
-
export declare const
|
|
284
|
+
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"> & {
|
|
252
285
|
_id: string;
|
|
253
286
|
_infinite?: boolean;
|
|
254
287
|
tags?: ReadonlyArray<string>;
|
|
255
288
|
}]>, "queryFn"> & {
|
|
256
|
-
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").
|
|
289
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").Ticket, [Pick<Options<GetTicketData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
257
290
|
_id: string;
|
|
258
291
|
_infinite?: boolean;
|
|
259
292
|
tags?: ReadonlyArray<string>;
|
|
260
293
|
}], never> | undefined;
|
|
261
294
|
} & {
|
|
262
|
-
queryKey: [Pick<Options<
|
|
295
|
+
queryKey: [Pick<Options<GetTicketData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
263
296
|
_id: string;
|
|
264
297
|
_infinite?: boolean;
|
|
265
298
|
tags?: ReadonlyArray<string>;
|
|
266
299
|
}] & {
|
|
267
|
-
[dataTagSymbol]: import("../types.gen").
|
|
300
|
+
[dataTagSymbol]: import("../types.gen").Ticket;
|
|
268
301
|
[dataTagErrorSymbol]: Error;
|
|
269
302
|
};
|
|
270
303
|
};
|
|
271
304
|
/**
|
|
272
|
-
*
|
|
273
|
-
*
|
|
274
|
-
* This endpoint allows you to update the values of a chart deployment.
|
|
305
|
+
* Append a customer reply to a ticket.
|
|
275
306
|
*
|
|
276
|
-
*
|
|
307
|
+
* Multipart form-data with a JSON-encoded `payload` field carrying `body`, plus up to 3 `attachments` files. Returns 409 if the ticket is closed.
|
|
277
308
|
*
|
|
278
309
|
*/
|
|
279
|
-
export declare const
|
|
280
|
-
export declare const
|
|
310
|
+
export declare const replyTicketMutation: (options?: Partial<Options<ReplyTicketData>>) => UseMutationOptions<ReplyTicketResponse, DefaultError, Options<ReplyTicketData>>;
|
|
311
|
+
export declare const getTicketAttachmentQueryKey: (options: Options<GetTicketAttachmentData>) => [Pick<Options<GetTicketAttachmentData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
281
312
|
_id: string;
|
|
282
313
|
_infinite?: boolean;
|
|
283
314
|
tags?: ReadonlyArray<string>;
|
|
284
315
|
}];
|
|
285
316
|
/**
|
|
286
|
-
*
|
|
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.
|
|
289
|
-
*
|
|
290
|
-
* This endpoint is available to all users in the organization.
|
|
291
|
-
*
|
|
317
|
+
* Download a ticket attachment.
|
|
292
318
|
*/
|
|
293
|
-
export declare const
|
|
319
|
+
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"> & {
|
|
294
320
|
_id: string;
|
|
295
321
|
_infinite?: boolean;
|
|
296
322
|
tags?: ReadonlyArray<string>;
|
|
297
323
|
}]>, "queryFn"> & {
|
|
298
|
-
queryFn?: import("@tanstack/react-query").QueryFunction<
|
|
324
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<Blob | File, [Pick<Options<GetTicketAttachmentData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
299
325
|
_id: string;
|
|
300
326
|
_infinite?: boolean;
|
|
301
327
|
tags?: ReadonlyArray<string>;
|
|
302
328
|
}], never> | undefined;
|
|
303
329
|
} & {
|
|
304
|
-
queryKey: [Pick<Options<
|
|
330
|
+
queryKey: [Pick<Options<GetTicketAttachmentData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
305
331
|
_id: string;
|
|
306
332
|
_infinite?: boolean;
|
|
307
333
|
tags?: ReadonlyArray<string>;
|
|
308
334
|
}] & {
|
|
309
|
-
[dataTagSymbol]:
|
|
335
|
+
[dataTagSymbol]: Blob | File;
|
|
310
336
|
[dataTagErrorSymbol]: Error;
|
|
311
337
|
};
|
|
312
338
|
};
|
|
313
|
-
|
|
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.
|
|
317
|
-
*
|
|
318
|
-
* This endpoint is available to administrators of the organization only.
|
|
319
|
-
*
|
|
320
|
-
*/
|
|
321
|
-
export declare const createFleetMutation: (options?: Partial<Options<CreateFleetData>>) => UseMutationOptions<CreateFleetResponse, CreateFleetError, Options<CreateFleetData>>;
|
|
322
|
-
/**
|
|
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.
|
|
326
|
-
*
|
|
327
|
-
* This endpoint is available to administrators of the organization only.
|
|
328
|
-
*
|
|
329
|
-
*/
|
|
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"> & {
|
|
339
|
+
export declare const listRepositoriesQueryKey: (options?: Options<ListRepositoriesData>) => [Pick<Options<ListRepositoriesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
332
340
|
_id: string;
|
|
333
341
|
_infinite?: boolean;
|
|
334
342
|
tags?: ReadonlyArray<string>;
|
|
335
343
|
}];
|
|
336
344
|
/**
|
|
337
|
-
*
|
|
338
|
-
*
|
|
339
|
-
* Returns fleet details. For more information, see [Fleets](https://cloudfleet.ai/docs/cloud-infrastructure/fleets/) section of documentaiton.
|
|
345
|
+
* List repositories
|
|
340
346
|
*
|
|
341
|
-
* This endpoint is available to all users in the organization.
|
|
347
|
+
* Returns a list of repositories in the registry across all regions. This endpoint is available to all users in the organization.
|
|
342
348
|
*
|
|
343
349
|
*/
|
|
344
|
-
export declare const
|
|
350
|
+
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"> & {
|
|
345
351
|
_id: string;
|
|
346
352
|
_infinite?: boolean;
|
|
347
353
|
tags?: ReadonlyArray<string>;
|
|
348
354
|
}]>, "queryFn"> & {
|
|
349
|
-
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").
|
|
355
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").RegistryRepository[], [Pick<Options<ListRepositoriesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
350
356
|
_id: string;
|
|
351
357
|
_infinite?: boolean;
|
|
352
358
|
tags?: ReadonlyArray<string>;
|
|
353
359
|
}], never> | undefined;
|
|
354
360
|
} & {
|
|
355
|
-
queryKey: [Pick<Options<
|
|
361
|
+
queryKey: [Pick<Options<ListRepositoriesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
356
362
|
_id: string;
|
|
357
363
|
_infinite?: boolean;
|
|
358
364
|
tags?: ReadonlyArray<string>;
|
|
359
365
|
}] & {
|
|
360
|
-
[dataTagSymbol]: import("../types.gen").
|
|
366
|
+
[dataTagSymbol]: import("../types.gen").RegistryRepository[];
|
|
361
367
|
[dataTagErrorSymbol]: Error;
|
|
362
368
|
};
|
|
363
369
|
};
|
|
364
|
-
|
|
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.
|
|
372
|
-
*
|
|
373
|
-
* This endpoint is available to administrators of the organization only.
|
|
374
|
-
*
|
|
375
|
-
*/
|
|
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"> & {
|
|
370
|
+
export declare const listTagsQueryKey: (options: Options<ListTagsData>) => [Pick<Options<ListTagsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
378
371
|
_id: string;
|
|
379
372
|
_infinite?: boolean;
|
|
380
373
|
tags?: ReadonlyArray<string>;
|
|
381
374
|
}];
|
|
382
375
|
/**
|
|
383
|
-
*
|
|
376
|
+
* List tags for a repository
|
|
377
|
+
*
|
|
378
|
+
* 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.
|
|
384
379
|
*
|
|
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.
|
|
386
380
|
*/
|
|
387
|
-
export declare const
|
|
381
|
+
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"> & {
|
|
388
382
|
_id: string;
|
|
389
383
|
_infinite?: boolean;
|
|
390
384
|
tags?: ReadonlyArray<string>;
|
|
391
385
|
}]>, "queryFn"> & {
|
|
392
|
-
queryFn?: import("@tanstack/react-query").QueryFunction<
|
|
386
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").RegistryRepositoryWithTags, [Pick<Options<ListTagsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
393
387
|
_id: string;
|
|
394
388
|
_infinite?: boolean;
|
|
395
389
|
tags?: ReadonlyArray<string>;
|
|
396
390
|
}], never> | undefined;
|
|
397
391
|
} & {
|
|
398
|
-
queryKey: [Pick<Options<
|
|
392
|
+
queryKey: [Pick<Options<ListTagsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
399
393
|
_id: string;
|
|
400
394
|
_infinite?: boolean;
|
|
401
395
|
tags?: ReadonlyArray<string>;
|
|
402
396
|
}] & {
|
|
403
|
-
[dataTagSymbol]:
|
|
397
|
+
[dataTagSymbol]: import("../types.gen").RegistryRepositoryWithTags;
|
|
404
398
|
[dataTagErrorSymbol]: Error;
|
|
405
399
|
};
|
|
406
400
|
};
|
|
407
|
-
|
|
401
|
+
/**
|
|
402
|
+
* Delete tag
|
|
403
|
+
*
|
|
404
|
+
* Permanently deletes a specific tag from a repository. This endpoint is available to administrators of the organization only.
|
|
405
|
+
*
|
|
406
|
+
*/
|
|
407
|
+
export declare const deleteTagMutation: (options?: Partial<Options<DeleteTagData>>) => UseMutationOptions<unknown, DefaultError, Options<DeleteTagData>>;
|
|
408
|
+
export declare const getTagQueryKey: (options: Options<GetTagData>) => [Pick<Options<GetTagData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
408
409
|
_id: string;
|
|
409
410
|
_infinite?: boolean;
|
|
410
411
|
tags?: ReadonlyArray<string>;
|
|
411
412
|
}];
|
|
412
413
|
/**
|
|
413
|
-
*
|
|
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.
|
|
414
|
+
* Get tag details
|
|
416
415
|
*
|
|
417
|
-
* This endpoint is available to all users in the organization.
|
|
416
|
+
* 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.
|
|
418
417
|
*
|
|
419
418
|
*/
|
|
420
|
-
export declare const
|
|
419
|
+
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"> & {
|
|
421
420
|
_id: string;
|
|
422
421
|
_infinite?: boolean;
|
|
423
422
|
tags?: ReadonlyArray<string>;
|
|
424
423
|
}]>, "queryFn"> & {
|
|
425
|
-
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").
|
|
424
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").RegistryTag, [Pick<Options<GetTagData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
426
425
|
_id: string;
|
|
427
426
|
_infinite?: boolean;
|
|
428
427
|
tags?: ReadonlyArray<string>;
|
|
429
428
|
}], never> | undefined;
|
|
430
429
|
} & {
|
|
431
|
-
queryKey: [Pick<Options<
|
|
430
|
+
queryKey: [Pick<Options<GetTagData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
432
431
|
_id: string;
|
|
433
432
|
_infinite?: boolean;
|
|
434
433
|
tags?: ReadonlyArray<string>;
|
|
435
434
|
}] & {
|
|
436
|
-
[dataTagSymbol]: import("../types.gen").
|
|
435
|
+
[dataTagSymbol]: import("../types.gen").RegistryTag;
|
|
437
436
|
[dataTagErrorSymbol]: Error;
|
|
438
437
|
};
|
|
439
438
|
};
|
|
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"> & {
|
|
439
|
+
export declare const getOrganizationQueryKey: (options?: Options<GetOrganizationData>) => [Pick<Options<GetOrganizationData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
459
440
|
_id: string;
|
|
460
441
|
_infinite?: boolean;
|
|
461
442
|
tags?: ReadonlyArray<string>;
|
|
462
443
|
}];
|
|
463
444
|
/**
|
|
464
|
-
* Get
|
|
445
|
+
* Get organization information.
|
|
465
446
|
*
|
|
466
|
-
* Returns
|
|
447
|
+
* Returns organization details including quota. For more information about quotas, see [Quotas and limits](https://cloudfleet.ai/docs/organization/quotas/) section of documentaiton.
|
|
467
448
|
*
|
|
468
449
|
* This endpoint is available to all users in the organization.
|
|
469
450
|
*
|
|
470
451
|
*/
|
|
471
|
-
export declare const
|
|
452
|
+
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"> & {
|
|
472
453
|
_id: string;
|
|
473
454
|
_infinite?: boolean;
|
|
474
455
|
tags?: ReadonlyArray<string>;
|
|
475
456
|
}]>, "queryFn"> & {
|
|
476
|
-
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").
|
|
457
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").Organization, [Pick<Options<GetOrganizationData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
477
458
|
_id: string;
|
|
478
459
|
_infinite?: boolean;
|
|
479
460
|
tags?: ReadonlyArray<string>;
|
|
480
461
|
}], never> | undefined;
|
|
481
462
|
} & {
|
|
482
|
-
queryKey: [Pick<Options<
|
|
463
|
+
queryKey: [Pick<Options<GetOrganizationData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
483
464
|
_id: string;
|
|
484
465
|
_infinite?: boolean;
|
|
485
466
|
tags?: ReadonlyArray<string>;
|
|
486
467
|
}] & {
|
|
487
|
-
[dataTagSymbol]: import("../types.gen").
|
|
468
|
+
[dataTagSymbol]: import("../types.gen").Organization;
|
|
488
469
|
[dataTagErrorSymbol]: Error;
|
|
489
470
|
};
|
|
490
471
|
};
|
|
491
472
|
/**
|
|
492
|
-
*
|
|
493
|
-
*
|
|
494
|
-
* This endpoint allows you to update cluster details, including quota and cluster status. For more information about clusters, see [Clusters](https://cloudfleet.ai/docs/cluster-management/cluster-types/) section of documentaiton.
|
|
495
|
-
*
|
|
496
|
-
* This endpoint is available to administrators of the organization only.
|
|
497
|
-
*
|
|
498
|
-
*/
|
|
499
|
-
export declare const updateClusterMutation: (options?: Partial<Options<UpdateClusterData>>) => UseMutationOptions<UpdateClusterResponse, DefaultError, Options<UpdateClusterData>>;
|
|
500
|
-
/**
|
|
501
|
-
* Node join information for the cluster
|
|
473
|
+
* Create a new organization / Cloudfleet account signup.
|
|
502
474
|
*
|
|
503
|
-
*
|
|
475
|
+
* This endpoint allows you to create a new Cloudfleet organization and an administrator user.
|
|
504
476
|
*
|
|
505
477
|
*/
|
|
506
|
-
export declare const
|
|
507
|
-
export declare const
|
|
478
|
+
export declare const createOrganizationMutation: (options?: Partial<Options<CreateOrganizationData>>) => UseMutationOptions<CreateOrganizationResponse, DefaultError, Options<CreateOrganizationData>>;
|
|
479
|
+
export declare const getBasicPriceConsentQueryKey: (options?: Options<GetBasicPriceConsentData>) => [Pick<Options<GetBasicPriceConsentData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
508
480
|
_id: string;
|
|
509
481
|
_infinite?: boolean;
|
|
510
482
|
tags?: ReadonlyArray<string>;
|
|
511
483
|
}];
|
|
512
484
|
/**
|
|
513
|
-
*
|
|
485
|
+
* Get the organization's consent status for the new Basic price.
|
|
486
|
+
*
|
|
487
|
+
* 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.
|
|
514
488
|
*
|
|
515
|
-
*
|
|
489
|
+
* This endpoint is available to all users in the organization and drives the consent dialog in the console.
|
|
516
490
|
*
|
|
517
491
|
*/
|
|
518
|
-
export declare const
|
|
492
|
+
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"> & {
|
|
519
493
|
_id: string;
|
|
520
494
|
_infinite?: boolean;
|
|
521
495
|
tags?: ReadonlyArray<string>;
|
|
522
496
|
}]>, "queryFn"> & {
|
|
523
|
-
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").
|
|
497
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").BasicPriceConsent, [Pick<Options<GetBasicPriceConsentData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
524
498
|
_id: string;
|
|
525
499
|
_infinite?: boolean;
|
|
526
500
|
tags?: ReadonlyArray<string>;
|
|
527
501
|
}], never> | undefined;
|
|
528
502
|
} & {
|
|
529
|
-
queryKey: [Pick<Options<
|
|
503
|
+
queryKey: [Pick<Options<GetBasicPriceConsentData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
530
504
|
_id: string;
|
|
531
505
|
_infinite?: boolean;
|
|
532
506
|
tags?: ReadonlyArray<string>;
|
|
533
507
|
}] & {
|
|
534
|
-
[dataTagSymbol]: import("../types.gen").
|
|
508
|
+
[dataTagSymbol]: import("../types.gen").BasicPriceConsent;
|
|
535
509
|
[dataTagErrorSymbol]: Error;
|
|
536
510
|
};
|
|
537
511
|
};
|
|
538
512
|
/**
|
|
539
|
-
*
|
|
513
|
+
* Record an administrator's decision on the new Basic price.
|
|
540
514
|
*
|
|
541
|
-
*
|
|
515
|
+
* 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.
|
|
542
516
|
*
|
|
543
517
|
*/
|
|
544
|
-
export declare const
|
|
545
|
-
|
|
518
|
+
export declare const setBasicPriceConsentMutation: (options?: Partial<Options<SetBasicPriceConsentData>>) => UseMutationOptions<SetBasicPriceConsentResponse, DefaultError, Options<SetBasicPriceConsentData>>;
|
|
519
|
+
/**
|
|
520
|
+
* MCP endpoint
|
|
521
|
+
*
|
|
522
|
+
* MCP endpoint for handling Model Context Protocol JSON-RPC 2.0 messages.
|
|
523
|
+
*/
|
|
524
|
+
export declare const postMcpMutation: (options?: Partial<Options<PostMcpData>>) => UseMutationOptions<PostMcpResponse, DefaultError, Options<PostMcpData>>;
|
|
525
|
+
export declare const listMarketplaceChartsQueryKey: (options?: Options<ListMarketplaceChartsData>) => [Pick<Options<ListMarketplaceChartsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
546
526
|
_id: string;
|
|
547
527
|
_infinite?: boolean;
|
|
548
528
|
tags?: ReadonlyArray<string>;
|
|
549
529
|
}];
|
|
550
530
|
/**
|
|
551
|
-
*
|
|
531
|
+
* List chart listings available in the marketplace.
|
|
552
532
|
*
|
|
553
|
-
* Returns
|
|
533
|
+
* Returns a list of available charts in the marketplace.
|
|
534
|
+
*
|
|
535
|
+
* This endpoint is available to all users in the organization.
|
|
554
536
|
*
|
|
555
537
|
*/
|
|
556
|
-
export declare const
|
|
538
|
+
export declare const listMarketplaceChartsOptions: (options?: Options<ListMarketplaceChartsData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").MarketplaceListing[], Error, import("../types.gen").MarketplaceListing[], [Pick<Options<ListMarketplaceChartsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
557
539
|
_id: string;
|
|
558
540
|
_infinite?: boolean;
|
|
559
541
|
tags?: ReadonlyArray<string>;
|
|
560
542
|
}]>, "queryFn"> & {
|
|
561
|
-
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").
|
|
543
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").MarketplaceListing[], [Pick<Options<ListMarketplaceChartsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
562
544
|
_id: string;
|
|
563
545
|
_infinite?: boolean;
|
|
564
546
|
tags?: ReadonlyArray<string>;
|
|
565
547
|
}], never> | undefined;
|
|
566
548
|
} & {
|
|
567
|
-
queryKey: [Pick<Options<
|
|
549
|
+
queryKey: [Pick<Options<ListMarketplaceChartsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
568
550
|
_id: string;
|
|
569
551
|
_infinite?: boolean;
|
|
570
552
|
tags?: ReadonlyArray<string>;
|
|
571
553
|
}] & {
|
|
572
|
-
[dataTagSymbol]: import("../types.gen").
|
|
554
|
+
[dataTagSymbol]: import("../types.gen").MarketplaceListing[];
|
|
573
555
|
[dataTagErrorSymbol]: Error;
|
|
574
556
|
};
|
|
575
557
|
};
|
|
576
|
-
|
|
577
|
-
* Permanently delete invite.
|
|
578
|
-
*
|
|
579
|
-
* Permanently deletes invite from the organization. This endpoint is available to administrators of the organization only.
|
|
580
|
-
*
|
|
581
|
-
*/
|
|
582
|
-
export declare const deleteInviteMutation: (options?: Partial<Options<DeleteInviteData>>) => UseMutationOptions<unknown, DefaultError, Options<DeleteInviteData>>;
|
|
583
|
-
export declare const listMarketplaceChartsQueryKey: (options?: Options<ListMarketplaceChartsData>) => [Pick<Options<ListMarketplaceChartsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
558
|
+
export declare const getMarketplaceChartFilesQueryKey: (options: Options<GetMarketplaceChartFilesData>) => [Pick<Options<GetMarketplaceChartFilesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
584
559
|
_id: string;
|
|
585
560
|
_infinite?: boolean;
|
|
586
561
|
tags?: ReadonlyArray<string>;
|
|
587
562
|
}];
|
|
588
563
|
/**
|
|
589
|
-
*
|
|
564
|
+
* Get chart files for a specific version channel.
|
|
590
565
|
*
|
|
591
|
-
* Returns
|
|
566
|
+
* Returns the Chart.yaml, values.yaml, and values.schema.json files for the latest version matching the specified version channel.
|
|
567
|
+
*
|
|
568
|
+
* Version channels use patterns like "1.31.x-cfke.x" to match the latest patch version, or "1.x.x-cfke.x" to match the latest minor version.
|
|
592
569
|
*
|
|
593
570
|
* This endpoint is available to all users in the organization.
|
|
594
571
|
*
|
|
595
572
|
*/
|
|
596
|
-
export declare const
|
|
573
|
+
export declare const getMarketplaceChartFilesOptions: (options: Options<GetMarketplaceChartFilesData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").MarketplaceListingFiles, Error, import("../types.gen").MarketplaceListingFiles, [Pick<Options<GetMarketplaceChartFilesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
597
574
|
_id: string;
|
|
598
575
|
_infinite?: boolean;
|
|
599
576
|
tags?: ReadonlyArray<string>;
|
|
600
577
|
}]>, "queryFn"> & {
|
|
601
|
-
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").
|
|
578
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").MarketplaceListingFiles, [Pick<Options<GetMarketplaceChartFilesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
602
579
|
_id: string;
|
|
603
580
|
_infinite?: boolean;
|
|
604
581
|
tags?: ReadonlyArray<string>;
|
|
605
582
|
}], never> | undefined;
|
|
606
583
|
} & {
|
|
607
|
-
queryKey: [Pick<Options<
|
|
584
|
+
queryKey: [Pick<Options<GetMarketplaceChartFilesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
608
585
|
_id: string;
|
|
609
586
|
_infinite?: boolean;
|
|
610
587
|
tags?: ReadonlyArray<string>;
|
|
611
588
|
}] & {
|
|
612
|
-
[dataTagSymbol]: import("../types.gen").
|
|
589
|
+
[dataTagSymbol]: import("../types.gen").MarketplaceListingFiles;
|
|
613
590
|
[dataTagErrorSymbol]: Error;
|
|
614
591
|
};
|
|
615
592
|
};
|
|
616
|
-
export declare const
|
|
593
|
+
export declare const listInvitesQueryKey: (options?: Options<ListInvitesData>) => [Pick<Options<ListInvitesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
617
594
|
_id: string;
|
|
618
595
|
_infinite?: boolean;
|
|
619
596
|
tags?: ReadonlyArray<string>;
|
|
620
597
|
}];
|
|
621
598
|
/**
|
|
622
|
-
*
|
|
623
|
-
*
|
|
624
|
-
* Returns the Chart.yaml, values.yaml, and values.schema.json files for the latest version matching the specified version channel.
|
|
625
|
-
*
|
|
626
|
-
* Version channels use patterns like "1.31.x-cfke.x" to match the latest patch version, or "1.x.x-cfke.x" to match the latest minor version.
|
|
599
|
+
* List invites.
|
|
627
600
|
*
|
|
628
|
-
* This endpoint is available to
|
|
601
|
+
* Returns a list of pending (non-expired) invites under the current organization. This endpoint is available to administrators of the organization only.
|
|
629
602
|
*
|
|
630
603
|
*/
|
|
631
|
-
export declare const
|
|
604
|
+
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"> & {
|
|
632
605
|
_id: string;
|
|
633
606
|
_infinite?: boolean;
|
|
634
607
|
tags?: ReadonlyArray<string>;
|
|
635
608
|
}]>, "queryFn"> & {
|
|
636
|
-
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").
|
|
609
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").Invite[], [Pick<Options<ListInvitesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
637
610
|
_id: string;
|
|
638
611
|
_infinite?: boolean;
|
|
639
612
|
tags?: ReadonlyArray<string>;
|
|
640
613
|
}], never> | undefined;
|
|
641
614
|
} & {
|
|
642
|
-
queryKey: [Pick<Options<
|
|
615
|
+
queryKey: [Pick<Options<ListInvitesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
643
616
|
_id: string;
|
|
644
617
|
_infinite?: boolean;
|
|
645
618
|
tags?: ReadonlyArray<string>;
|
|
646
619
|
}] & {
|
|
647
|
-
[dataTagSymbol]: import("../types.gen").
|
|
620
|
+
[dataTagSymbol]: import("../types.gen").Invite[];
|
|
648
621
|
[dataTagErrorSymbol]: Error;
|
|
649
622
|
};
|
|
650
623
|
};
|
|
651
624
|
/**
|
|
652
|
-
*
|
|
625
|
+
* Create a new invite.
|
|
626
|
+
*
|
|
627
|
+
* 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.
|
|
653
628
|
*
|
|
654
|
-
* MCP endpoint for handling Model Context Protocol JSON-RPC 2.0 messages.
|
|
655
629
|
*/
|
|
656
|
-
export declare const
|
|
657
|
-
export declare const
|
|
630
|
+
export declare const createInviteMutation: (options?: Partial<Options<CreateInviteData>>) => UseMutationOptions<CreateInviteResponse, DefaultError, Options<CreateInviteData>>;
|
|
631
|
+
export declare const getInviteQueryKey: (options: Options<GetInviteData>) => [Pick<Options<GetInviteData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
658
632
|
_id: string;
|
|
659
633
|
_infinite?: boolean;
|
|
660
634
|
tags?: ReadonlyArray<string>;
|
|
661
635
|
}];
|
|
662
636
|
/**
|
|
663
|
-
* Get
|
|
664
|
-
*
|
|
665
|
-
* Returns organization details including quota. For more information about quotas, see [Quotas and limits](https://cloudfleet.ai/docs/organization/quotas/) section of documentaiton.
|
|
637
|
+
* Get invite information.
|
|
666
638
|
*
|
|
667
|
-
* This endpoint is
|
|
639
|
+
* 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.
|
|
668
640
|
*
|
|
669
641
|
*/
|
|
670
|
-
export declare const
|
|
642
|
+
export declare const getInviteOptions: (options: Options<GetInviteData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
|
|
643
|
+
email?: string;
|
|
644
|
+
organization_id?: string;
|
|
645
|
+
}, Error, {
|
|
646
|
+
email?: string;
|
|
647
|
+
organization_id?: string;
|
|
648
|
+
}, [Pick<Options<GetInviteData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
671
649
|
_id: string;
|
|
672
650
|
_infinite?: boolean;
|
|
673
651
|
tags?: ReadonlyArray<string>;
|
|
674
652
|
}]>, "queryFn"> & {
|
|
675
|
-
queryFn?: import("@tanstack/react-query").QueryFunction<
|
|
653
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<{
|
|
654
|
+
email?: string;
|
|
655
|
+
organization_id?: string;
|
|
656
|
+
}, [Pick<Options<GetInviteData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
676
657
|
_id: string;
|
|
677
658
|
_infinite?: boolean;
|
|
678
659
|
tags?: ReadonlyArray<string>;
|
|
679
660
|
}], never> | undefined;
|
|
680
661
|
} & {
|
|
681
|
-
queryKey: [Pick<Options<
|
|
662
|
+
queryKey: [Pick<Options<GetInviteData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
682
663
|
_id: string;
|
|
683
664
|
_infinite?: boolean;
|
|
684
665
|
tags?: ReadonlyArray<string>;
|
|
685
666
|
}] & {
|
|
686
|
-
[dataTagSymbol]:
|
|
667
|
+
[dataTagSymbol]: {
|
|
668
|
+
email?: string;
|
|
669
|
+
organization_id?: string;
|
|
670
|
+
};
|
|
687
671
|
[dataTagErrorSymbol]: Error;
|
|
688
672
|
};
|
|
689
673
|
};
|
|
690
674
|
/**
|
|
691
|
-
*
|
|
675
|
+
* Permanently delete invite.
|
|
692
676
|
*
|
|
693
|
-
* This endpoint
|
|
677
|
+
* Permanently deletes invite from the organization. This endpoint is available to administrators of the organization only.
|
|
694
678
|
*
|
|
695
679
|
*/
|
|
696
|
-
export declare const
|
|
697
|
-
export declare const
|
|
680
|
+
export declare const deleteInviteMutation: (options?: Partial<Options<DeleteInviteData>>) => UseMutationOptions<unknown, DefaultError, Options<DeleteInviteData>>;
|
|
681
|
+
export declare const queryClusterQueryKey: (options: Options<QueryClusterData>) => [Pick<Options<QueryClusterData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
698
682
|
_id: string;
|
|
699
683
|
_infinite?: boolean;
|
|
700
684
|
tags?: ReadonlyArray<string>;
|
|
701
685
|
}];
|
|
702
686
|
/**
|
|
703
|
-
*
|
|
704
|
-
*
|
|
705
|
-
* Returns a list of repositories in the registry across all regions. This endpoint is available to all users in the organization.
|
|
687
|
+
* Query Kubernetes cluster API
|
|
706
688
|
*
|
|
689
|
+
* 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.
|
|
707
690
|
*/
|
|
708
|
-
export declare const
|
|
691
|
+
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"> & {
|
|
709
692
|
_id: string;
|
|
710
693
|
_infinite?: boolean;
|
|
711
694
|
tags?: ReadonlyArray<string>;
|
|
712
695
|
}]>, "queryFn"> & {
|
|
713
|
-
queryFn?: import("@tanstack/react-query").QueryFunction<
|
|
696
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<unknown, [Pick<Options<QueryClusterData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
714
697
|
_id: string;
|
|
715
698
|
_infinite?: boolean;
|
|
716
699
|
tags?: ReadonlyArray<string>;
|
|
717
700
|
}], never> | undefined;
|
|
718
701
|
} & {
|
|
719
|
-
queryKey: [Pick<Options<
|
|
702
|
+
queryKey: [Pick<Options<QueryClusterData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
720
703
|
_id: string;
|
|
721
704
|
_infinite?: boolean;
|
|
722
705
|
tags?: ReadonlyArray<string>;
|
|
723
706
|
}] & {
|
|
724
|
-
[dataTagSymbol]:
|
|
707
|
+
[dataTagSymbol]: unknown;
|
|
725
708
|
[dataTagErrorSymbol]: Error;
|
|
726
709
|
};
|
|
727
710
|
};
|
|
728
|
-
export declare const
|
|
711
|
+
export declare const listFleetsQueryKey: (options: Options<ListFleetsData>) => [Pick<Options<ListFleetsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
729
712
|
_id: string;
|
|
730
713
|
_infinite?: boolean;
|
|
731
714
|
tags?: ReadonlyArray<string>;
|
|
732
715
|
}];
|
|
733
716
|
/**
|
|
734
|
-
* List
|
|
717
|
+
* List fleets.
|
|
735
718
|
*
|
|
736
|
-
* Returns a list of
|
|
719
|
+
* Returns a list of fleets belonging to the cluster. For more information, see [Fleets](https://cloudfleet.ai/docs/cloud-infrastructure/fleets/) section of documentaiton.
|
|
720
|
+
*
|
|
721
|
+
* This endpoint is available to all users in the organization.
|
|
737
722
|
*
|
|
738
723
|
*/
|
|
739
|
-
export declare const
|
|
724
|
+
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"> & {
|
|
740
725
|
_id: string;
|
|
741
726
|
_infinite?: boolean;
|
|
742
727
|
tags?: ReadonlyArray<string>;
|
|
743
728
|
}]>, "queryFn"> & {
|
|
744
|
-
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").
|
|
729
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").Fleet[], [Pick<Options<ListFleetsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
745
730
|
_id: string;
|
|
746
731
|
_infinite?: boolean;
|
|
747
732
|
tags?: ReadonlyArray<string>;
|
|
748
733
|
}], never> | undefined;
|
|
749
734
|
} & {
|
|
750
|
-
queryKey: [Pick<Options<
|
|
735
|
+
queryKey: [Pick<Options<ListFleetsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
751
736
|
_id: string;
|
|
752
737
|
_infinite?: boolean;
|
|
753
738
|
tags?: ReadonlyArray<string>;
|
|
754
739
|
}] & {
|
|
755
|
-
[dataTagSymbol]: import("../types.gen").
|
|
740
|
+
[dataTagSymbol]: import("../types.gen").Fleet[];
|
|
756
741
|
[dataTagErrorSymbol]: Error;
|
|
757
742
|
};
|
|
758
743
|
};
|
|
759
744
|
/**
|
|
760
|
-
*
|
|
745
|
+
* Create a new fleet.
|
|
761
746
|
*
|
|
762
|
-
*
|
|
747
|
+
* 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.
|
|
748
|
+
*
|
|
749
|
+
* The cluster must be ready (status `deployed`) before a fleet can be added. Adding a fleet while the cluster is still provisioning returns `409`.
|
|
750
|
+
*
|
|
751
|
+
* This endpoint is available to administrators of the organization only.
|
|
763
752
|
*
|
|
764
753
|
*/
|
|
765
|
-
export declare const
|
|
766
|
-
|
|
754
|
+
export declare const createFleetMutation: (options?: Partial<Options<CreateFleetData>>) => UseMutationOptions<CreateFleetResponse, CreateFleetError, Options<CreateFleetData>>;
|
|
755
|
+
/**
|
|
756
|
+
* Permanently delete fleet.
|
|
757
|
+
*
|
|
758
|
+
* 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.
|
|
759
|
+
*
|
|
760
|
+
* 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.
|
|
761
|
+
*
|
|
762
|
+
* This endpoint is available to administrators of the organization only.
|
|
763
|
+
*
|
|
764
|
+
*/
|
|
765
|
+
export declare const deleteFleetMutation: (options?: Partial<Options<DeleteFleetData>>) => UseMutationOptions<DeleteFleetResponse, DeleteFleetError, Options<DeleteFleetData>>;
|
|
766
|
+
export declare const getFleetQueryKey: (options: Options<GetFleetData>) => [Pick<Options<GetFleetData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
767
767
|
_id: string;
|
|
768
768
|
_infinite?: boolean;
|
|
769
769
|
tags?: ReadonlyArray<string>;
|
|
770
770
|
}];
|
|
771
771
|
/**
|
|
772
|
-
* Get
|
|
772
|
+
* Get fleet information.
|
|
773
773
|
*
|
|
774
|
-
* Returns
|
|
774
|
+
* Returns fleet details. For more information, see [Fleets](https://cloudfleet.ai/docs/cloud-infrastructure/fleets/) section of documentaiton.
|
|
775
|
+
*
|
|
776
|
+
* This endpoint is available to all users in the organization.
|
|
775
777
|
*
|
|
776
778
|
*/
|
|
777
|
-
export declare const
|
|
779
|
+
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"> & {
|
|
778
780
|
_id: string;
|
|
779
781
|
_infinite?: boolean;
|
|
780
782
|
tags?: ReadonlyArray<string>;
|
|
781
783
|
}]>, "queryFn"> & {
|
|
782
|
-
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").
|
|
784
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").Fleet, [Pick<Options<GetFleetData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
783
785
|
_id: string;
|
|
784
786
|
_infinite?: boolean;
|
|
785
787
|
tags?: ReadonlyArray<string>;
|
|
786
788
|
}], never> | undefined;
|
|
787
789
|
} & {
|
|
788
|
-
queryKey: [Pick<Options<
|
|
790
|
+
queryKey: [Pick<Options<GetFleetData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
789
791
|
_id: string;
|
|
790
792
|
_infinite?: boolean;
|
|
791
793
|
tags?: ReadonlyArray<string>;
|
|
792
794
|
}] & {
|
|
793
|
-
[dataTagSymbol]: import("../types.gen").
|
|
795
|
+
[dataTagSymbol]: import("../types.gen").Fleet;
|
|
794
796
|
[dataTagErrorSymbol]: Error;
|
|
795
797
|
};
|
|
796
798
|
};
|
|
797
|
-
|
|
799
|
+
/**
|
|
800
|
+
* Update fleet information.
|
|
801
|
+
*
|
|
802
|
+
* This endpoint allows you to update fleet details.
|
|
803
|
+
*
|
|
804
|
+
* For more information, see [Fleets](https://cloudfleet.ai/docs/cloud-infrastructure/fleets/) section of documentaiton.
|
|
805
|
+
*
|
|
806
|
+
* 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).
|
|
807
|
+
*
|
|
808
|
+
* This endpoint is available to administrators of the organization only.
|
|
809
|
+
*
|
|
810
|
+
*/
|
|
811
|
+
export declare const updateFleetMutation: (options?: Partial<Options<UpdateFleetData>>) => UseMutationOptions<UpdateFleetResponse, UpdateFleetError, Options<UpdateFleetData>>;
|
|
812
|
+
export declare const listChartsQueryKey: (options: Options<ListChartsData>) => [Pick<Options<ListChartsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
798
813
|
_id: string;
|
|
799
814
|
_infinite?: boolean;
|
|
800
815
|
tags?: ReadonlyArray<string>;
|
|
801
816
|
}];
|
|
802
817
|
/**
|
|
803
|
-
* List
|
|
818
|
+
* List charts.
|
|
804
819
|
*
|
|
805
|
-
* Returns
|
|
820
|
+
* Returns a list of charts in the cluster.
|
|
821
|
+
*
|
|
822
|
+
* This endpoint is available to all users in the organization.
|
|
806
823
|
*
|
|
807
824
|
*/
|
|
808
|
-
export declare const
|
|
825
|
+
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"> & {
|
|
809
826
|
_id: string;
|
|
810
827
|
_infinite?: boolean;
|
|
811
828
|
tags?: ReadonlyArray<string>;
|
|
812
829
|
}]>, "queryFn"> & {
|
|
813
|
-
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").
|
|
830
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").Chart[], [Pick<Options<ListChartsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
814
831
|
_id: string;
|
|
815
832
|
_infinite?: boolean;
|
|
816
833
|
tags?: ReadonlyArray<string>;
|
|
817
834
|
}], never> | undefined;
|
|
818
835
|
} & {
|
|
819
|
-
queryKey: [Pick<Options<
|
|
836
|
+
queryKey: [Pick<Options<ListChartsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
820
837
|
_id: string;
|
|
821
838
|
_infinite?: boolean;
|
|
822
839
|
tags?: ReadonlyArray<string>;
|
|
823
840
|
}] & {
|
|
824
|
-
[dataTagSymbol]: import("../types.gen").
|
|
841
|
+
[dataTagSymbol]: import("../types.gen").Chart[];
|
|
825
842
|
[dataTagErrorSymbol]: Error;
|
|
826
843
|
};
|
|
827
844
|
};
|
|
828
845
|
/**
|
|
829
|
-
* Create a new
|
|
846
|
+
* Create a new chart.
|
|
830
847
|
*
|
|
831
|
-
*
|
|
848
|
+
* Create a new chart deployment.
|
|
849
|
+
*
|
|
850
|
+
* This endpoint is available to administrators of the organization only.
|
|
832
851
|
*
|
|
833
852
|
*/
|
|
834
|
-
export declare const
|
|
853
|
+
export declare const createChartMutation: (options?: Partial<Options<CreateChartData>>) => UseMutationOptions<CreateChartResponse, CreateChartError, Options<CreateChartData>>;
|
|
835
854
|
/**
|
|
836
|
-
*
|
|
855
|
+
* Permanently delete the chart deployment from the cluster.
|
|
837
856
|
*
|
|
838
|
-
*
|
|
857
|
+
* This endpoint will permanently delete chart. This operation cannot be undone.
|
|
858
|
+
*
|
|
859
|
+
* This endpoint is available to administrators of the organization only.
|
|
839
860
|
*
|
|
840
861
|
*/
|
|
841
|
-
export declare const
|
|
842
|
-
export declare const
|
|
862
|
+
export declare const deleteChartMutation: (options?: Partial<Options<DeleteChartData>>) => UseMutationOptions<DeleteChartResponse, DeleteChartError, Options<DeleteChartData>>;
|
|
863
|
+
export declare const getChartQueryKey: (options: Options<GetChartData>) => [Pick<Options<GetChartData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
843
864
|
_id: string;
|
|
844
865
|
_infinite?: boolean;
|
|
845
866
|
tags?: ReadonlyArray<string>;
|
|
846
867
|
}];
|
|
847
868
|
/**
|
|
848
|
-
* Get
|
|
869
|
+
* Get chart information.
|
|
870
|
+
*
|
|
871
|
+
* Returns the details of the chart deployment.
|
|
872
|
+
*
|
|
873
|
+
* This endpoint is available to all users in the organization.
|
|
874
|
+
*
|
|
849
875
|
*/
|
|
850
|
-
export declare const
|
|
876
|
+
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"> & {
|
|
851
877
|
_id: string;
|
|
852
878
|
_infinite?: boolean;
|
|
853
879
|
tags?: ReadonlyArray<string>;
|
|
854
880
|
}]>, "queryFn"> & {
|
|
855
|
-
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").
|
|
881
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").Chart, [Pick<Options<GetChartData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
856
882
|
_id: string;
|
|
857
883
|
_infinite?: boolean;
|
|
858
884
|
tags?: ReadonlyArray<string>;
|
|
859
885
|
}], never> | undefined;
|
|
860
886
|
} & {
|
|
861
|
-
queryKey: [Pick<Options<
|
|
887
|
+
queryKey: [Pick<Options<GetChartData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
862
888
|
_id: string;
|
|
863
889
|
_infinite?: boolean;
|
|
864
890
|
tags?: ReadonlyArray<string>;
|
|
865
891
|
}] & {
|
|
866
|
-
[dataTagSymbol]: import("../types.gen").
|
|
892
|
+
[dataTagSymbol]: import("../types.gen").Chart;
|
|
867
893
|
[dataTagErrorSymbol]: Error;
|
|
868
894
|
};
|
|
869
895
|
};
|
|
870
896
|
/**
|
|
871
|
-
*
|
|
897
|
+
* Update chart information.
|
|
872
898
|
*
|
|
873
|
-
*
|
|
899
|
+
* This endpoint allows you to update the values of a chart deployment.
|
|
900
|
+
*
|
|
901
|
+
* This endpoint is available to administrators of the organization only.
|
|
874
902
|
*
|
|
875
903
|
*/
|
|
876
|
-
export declare const
|
|
877
|
-
export declare const
|
|
904
|
+
export declare const updateChartMutation: (options?: Partial<Options<UpdateChartData>>) => UseMutationOptions<UpdateChartResponse, UpdateChartError, Options<UpdateChartData>>;
|
|
905
|
+
export declare const listClustersQueryKey: (options?: Options<ListClustersData>) => [Pick<Options<ListClustersData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
878
906
|
_id: string;
|
|
879
907
|
_infinite?: boolean;
|
|
880
908
|
tags?: ReadonlyArray<string>;
|
|
881
909
|
}];
|
|
882
910
|
/**
|
|
883
|
-
*
|
|
911
|
+
* List clusters.
|
|
912
|
+
*
|
|
913
|
+
* Returns a list of clusters under the current organization.
|
|
914
|
+
*
|
|
915
|
+
* This endpoint is available to all users in the organization.
|
|
916
|
+
*
|
|
884
917
|
*/
|
|
885
|
-
export declare const
|
|
918
|
+
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"> & {
|
|
886
919
|
_id: string;
|
|
887
920
|
_infinite?: boolean;
|
|
888
921
|
tags?: ReadonlyArray<string>;
|
|
889
922
|
}]>, "queryFn"> & {
|
|
890
|
-
queryFn?: import("@tanstack/react-query").QueryFunction<
|
|
923
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").Cluster[], [Pick<Options<ListClustersData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
891
924
|
_id: string;
|
|
892
925
|
_infinite?: boolean;
|
|
893
926
|
tags?: ReadonlyArray<string>;
|
|
894
927
|
}], never> | undefined;
|
|
895
928
|
} & {
|
|
896
|
-
queryKey: [Pick<Options<
|
|
929
|
+
queryKey: [Pick<Options<ListClustersData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
897
930
|
_id: string;
|
|
898
931
|
_infinite?: boolean;
|
|
899
932
|
tags?: ReadonlyArray<string>;
|
|
900
933
|
}] & {
|
|
901
|
-
[dataTagSymbol]:
|
|
934
|
+
[dataTagSymbol]: import("../types.gen").Cluster[];
|
|
902
935
|
[dataTagErrorSymbol]: Error;
|
|
903
936
|
};
|
|
904
937
|
};
|
|
905
|
-
|
|
938
|
+
/**
|
|
939
|
+
* Create a new cluster.
|
|
940
|
+
*
|
|
941
|
+
* 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.
|
|
942
|
+
*
|
|
943
|
+
* This endpoint is available to administrators of the organization only.
|
|
944
|
+
*
|
|
945
|
+
*/
|
|
946
|
+
export declare const createClusterMutation: (options?: Partial<Options<CreateClusterData>>) => UseMutationOptions<CreateClusterResponse, CreateClusterError, Options<CreateClusterData>>;
|
|
947
|
+
/**
|
|
948
|
+
* Permanently delete cluster.
|
|
949
|
+
*
|
|
950
|
+
* This endpoint will permanently delete the cluster. This operation cannot be undone.
|
|
951
|
+
*
|
|
952
|
+
* 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.
|
|
953
|
+
*
|
|
954
|
+
* This endpoint is available to administrators of the organization only.
|
|
955
|
+
*
|
|
956
|
+
*/
|
|
957
|
+
export declare const deleteClusterMutation: (options?: Partial<Options<DeleteClusterData>>) => UseMutationOptions<DeleteClusterResponse, DeleteClusterError, Options<DeleteClusterData>>;
|
|
958
|
+
export declare const getClusterQueryKey: (options: Options<GetClusterData>) => [Pick<Options<GetClusterData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
906
959
|
_id: string;
|
|
907
960
|
_infinite?: boolean;
|
|
908
961
|
tags?: ReadonlyArray<string>;
|
|
909
962
|
}];
|
|
910
963
|
/**
|
|
911
|
-
*
|
|
964
|
+
* Get cluster information.
|
|
912
965
|
*
|
|
913
|
-
*
|
|
966
|
+
* Returns cluster details.
|
|
967
|
+
*
|
|
968
|
+
* This endpoint is available to all users in the organization.
|
|
914
969
|
*
|
|
915
970
|
*/
|
|
916
|
-
export declare const
|
|
971
|
+
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"> & {
|
|
917
972
|
_id: string;
|
|
918
973
|
_infinite?: boolean;
|
|
919
974
|
tags?: ReadonlyArray<string>;
|
|
920
975
|
}]>, "queryFn"> & {
|
|
921
|
-
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").
|
|
976
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").Cluster, [Pick<Options<GetClusterData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
922
977
|
_id: string;
|
|
923
978
|
_infinite?: boolean;
|
|
924
979
|
tags?: ReadonlyArray<string>;
|
|
925
980
|
}], never> | undefined;
|
|
926
981
|
} & {
|
|
927
|
-
queryKey: [Pick<Options<
|
|
982
|
+
queryKey: [Pick<Options<GetClusterData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
928
983
|
_id: string;
|
|
929
984
|
_infinite?: boolean;
|
|
930
985
|
tags?: ReadonlyArray<string>;
|
|
931
986
|
}] & {
|
|
932
|
-
[dataTagSymbol]: import("../types.gen").
|
|
987
|
+
[dataTagSymbol]: import("../types.gen").Cluster;
|
|
933
988
|
[dataTagErrorSymbol]: Error;
|
|
934
989
|
};
|
|
935
990
|
};
|
|
936
991
|
/**
|
|
937
|
-
*
|
|
992
|
+
* Update cluster information.
|
|
938
993
|
*
|
|
939
|
-
* This endpoint allows you to
|
|
994
|
+
* 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.
|
|
995
|
+
*
|
|
996
|
+
* This is a full overwrite: any field omitted from the request is reset to its default rather than left unchanged.
|
|
940
997
|
*
|
|
941
998
|
* This endpoint is available to administrators of the organization only.
|
|
942
999
|
*
|
|
943
1000
|
*/
|
|
944
|
-
export declare const
|
|
1001
|
+
export declare const updateClusterMutation: (options?: Partial<Options<UpdateClusterData>>) => UseMutationOptions<UpdateClusterResponse, UpdateClusterError, Options<UpdateClusterData>>;
|
|
945
1002
|
/**
|
|
946
|
-
*
|
|
1003
|
+
* Node join information for the cluster
|
|
947
1004
|
*
|
|
948
|
-
*
|
|
1005
|
+
* 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.
|
|
949
1006
|
*
|
|
950
1007
|
*/
|
|
951
|
-
export declare const
|
|
952
|
-
export declare const
|
|
1008
|
+
export declare const getJoinInformationMutation: (options?: Partial<Options<GetJoinInformationData>>) => UseMutationOptions<GetJoinInformationResponse, GetJoinInformationError, Options<GetJoinInformationData>>;
|
|
1009
|
+
export declare const getUsageQueryKey: (options?: Options<GetUsageData>) => [Pick<Options<GetUsageData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
953
1010
|
_id: string;
|
|
954
1011
|
_infinite?: boolean;
|
|
955
1012
|
tags?: ReadonlyArray<string>;
|
|
956
1013
|
}];
|
|
957
1014
|
/**
|
|
958
|
-
* Get
|
|
1015
|
+
* Get billing usage information.
|
|
959
1016
|
*
|
|
960
|
-
*
|
|
1017
|
+
* 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.
|
|
961
1018
|
*
|
|
962
1019
|
*/
|
|
963
|
-
export declare const
|
|
1020
|
+
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"> & {
|
|
964
1021
|
_id: string;
|
|
965
1022
|
_infinite?: boolean;
|
|
966
1023
|
tags?: ReadonlyArray<string>;
|
|
967
1024
|
}]>, "queryFn"> & {
|
|
968
|
-
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").
|
|
1025
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").UsageResponse, [Pick<Options<GetUsageData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
969
1026
|
_id: string;
|
|
970
1027
|
_infinite?: boolean;
|
|
971
1028
|
tags?: ReadonlyArray<string>;
|
|
972
1029
|
}], never> | undefined;
|
|
973
1030
|
} & {
|
|
974
|
-
queryKey: [Pick<Options<
|
|
1031
|
+
queryKey: [Pick<Options<GetUsageData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
975
1032
|
_id: string;
|
|
976
1033
|
_infinite?: boolean;
|
|
977
1034
|
tags?: ReadonlyArray<string>;
|
|
978
1035
|
}] & {
|
|
979
|
-
[dataTagSymbol]: import("../types.gen").
|
|
1036
|
+
[dataTagSymbol]: import("../types.gen").UsageResponse;
|
|
980
1037
|
[dataTagErrorSymbol]: Error;
|
|
981
1038
|
};
|
|
982
1039
|
};
|
|
983
1040
|
/**
|
|
984
|
-
*
|
|
985
|
-
*
|
|
986
|
-
* 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.
|
|
987
|
-
*
|
|
988
|
-
* This endpoint is available to administrators of the organization only.
|
|
1041
|
+
* Get Stripe client secret.
|
|
989
1042
|
*
|
|
990
|
-
|
|
991
|
-
export declare const updateTokenMutation: (options?: Partial<Options<UpdateTokenData>>) => UseMutationOptions<UpdateTokenResponse, DefaultError, Options<UpdateTokenData>>;
|
|
992
|
-
/**
|
|
993
|
-
* Regenerate access token secret key.
|
|
1043
|
+
* 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.
|
|
994
1044
|
*
|
|
995
|
-
* Generates a new access token secret. Old secret will not be valid anymore.
|
|
996
1045
|
*/
|
|
997
|
-
export declare const
|
|
998
|
-
export declare const
|
|
1046
|
+
export declare const getPaymentMethodSecretMutation: (options?: Partial<Options<GetPaymentMethodSecretData>>) => UseMutationOptions<GetPaymentMethodSecretResponse, DefaultError, Options<GetPaymentMethodSecretData>>;
|
|
1047
|
+
export declare const listPaymentMethodsQueryKey: (options?: Options<ListPaymentMethodsData>) => [Pick<Options<ListPaymentMethodsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
999
1048
|
_id: string;
|
|
1000
1049
|
_infinite?: boolean;
|
|
1001
1050
|
tags?: ReadonlyArray<string>;
|
|
1002
1051
|
}];
|
|
1003
1052
|
/**
|
|
1004
|
-
*
|
|
1053
|
+
* List organization payment methods.
|
|
1054
|
+
*
|
|
1055
|
+
* 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.
|
|
1056
|
+
*
|
|
1005
1057
|
*/
|
|
1006
|
-
export declare const
|
|
1007
|
-
realm?: string;
|
|
1008
|
-
displayName?: string;
|
|
1009
|
-
}[], Error, {
|
|
1010
|
-
realm?: string;
|
|
1011
|
-
displayName?: string;
|
|
1012
|
-
}[], [Pick<Options<ListUserOrganizationsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1058
|
+
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"> & {
|
|
1013
1059
|
_id: string;
|
|
1014
1060
|
_infinite?: boolean;
|
|
1015
1061
|
tags?: ReadonlyArray<string>;
|
|
1016
1062
|
}]>, "queryFn"> & {
|
|
1017
|
-
queryFn?: import("@tanstack/react-query").QueryFunction<{
|
|
1018
|
-
realm?: string;
|
|
1019
|
-
displayName?: string;
|
|
1020
|
-
}[], [Pick<Options<ListUserOrganizationsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1063
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").PaymentMethod[], [Pick<Options<ListPaymentMethodsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1021
1064
|
_id: string;
|
|
1022
1065
|
_infinite?: boolean;
|
|
1023
1066
|
tags?: ReadonlyArray<string>;
|
|
1024
1067
|
}], never> | undefined;
|
|
1025
1068
|
} & {
|
|
1026
|
-
queryKey: [Pick<Options<
|
|
1069
|
+
queryKey: [Pick<Options<ListPaymentMethodsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1027
1070
|
_id: string;
|
|
1028
1071
|
_infinite?: boolean;
|
|
1029
1072
|
tags?: ReadonlyArray<string>;
|
|
1030
1073
|
}] & {
|
|
1031
|
-
[dataTagSymbol]:
|
|
1032
|
-
realm?: string;
|
|
1033
|
-
displayName?: string;
|
|
1034
|
-
}[];
|
|
1074
|
+
[dataTagSymbol]: import("../types.gen").PaymentMethod[];
|
|
1035
1075
|
[dataTagErrorSymbol]: Error;
|
|
1036
1076
|
};
|
|
1037
1077
|
};
|
|
1038
|
-
|
|
1078
|
+
/**
|
|
1079
|
+
* Set the default payment method.
|
|
1080
|
+
*
|
|
1081
|
+
* Sets the given payment method as the default used for invoices and active subscriptions. Requires the Administrator role.
|
|
1082
|
+
*
|
|
1083
|
+
*/
|
|
1084
|
+
export declare const setDefaultPaymentMethodMutation: (options?: Partial<Options<SetDefaultPaymentMethodData>>) => UseMutationOptions<SetDefaultPaymentMethodResponse, DefaultError, Options<SetDefaultPaymentMethodData>>;
|
|
1085
|
+
/**
|
|
1086
|
+
* Delete a payment method.
|
|
1087
|
+
*
|
|
1088
|
+
* 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.
|
|
1089
|
+
*
|
|
1090
|
+
*/
|
|
1091
|
+
export declare const deletePaymentMethodMutation: (options?: Partial<Options<DeletePaymentMethodData>>) => UseMutationOptions<DeletePaymentMethodResponse, DefaultError, Options<DeletePaymentMethodData>>;
|
|
1092
|
+
export declare const listInvoicesQueryKey: (options?: Options<ListInvoicesData>) => [Pick<Options<ListInvoicesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1039
1093
|
_id: string;
|
|
1040
1094
|
_infinite?: boolean;
|
|
1041
1095
|
tags?: ReadonlyArray<string>;
|
|
1042
1096
|
}];
|
|
1043
1097
|
/**
|
|
1044
|
-
* List
|
|
1045
|
-
*
|
|
1046
|
-
* 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.
|
|
1098
|
+
* List issued invoices.
|
|
1047
1099
|
*
|
|
1048
|
-
* This endpoint is available to all users in the organization.
|
|
1100
|
+
* 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.
|
|
1049
1101
|
*
|
|
1050
1102
|
*/
|
|
1051
|
-
export declare const
|
|
1103
|
+
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"> & {
|
|
1052
1104
|
_id: string;
|
|
1053
1105
|
_infinite?: boolean;
|
|
1054
1106
|
tags?: ReadonlyArray<string>;
|
|
1055
1107
|
}]>, "queryFn"> & {
|
|
1056
|
-
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").
|
|
1108
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").Invoice[], [Pick<Options<ListInvoicesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1057
1109
|
_id: string;
|
|
1058
1110
|
_infinite?: boolean;
|
|
1059
1111
|
tags?: ReadonlyArray<string>;
|
|
1060
1112
|
}], never> | undefined;
|
|
1061
1113
|
} & {
|
|
1062
|
-
queryKey: [Pick<Options<
|
|
1114
|
+
queryKey: [Pick<Options<ListInvoicesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1063
1115
|
_id: string;
|
|
1064
1116
|
_infinite?: boolean;
|
|
1065
1117
|
tags?: ReadonlyArray<string>;
|
|
1066
1118
|
}] & {
|
|
1067
|
-
[dataTagSymbol]: import("../types.gen").
|
|
1119
|
+
[dataTagSymbol]: import("../types.gen").Invoice[];
|
|
1068
1120
|
[dataTagErrorSymbol]: Error;
|
|
1069
1121
|
};
|
|
1070
1122
|
};
|
|
1123
|
+
export declare const getContactQueryKey: (options?: Options<GetContactData>) => [Pick<Options<GetContactData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1124
|
+
_id: string;
|
|
1125
|
+
_infinite?: boolean;
|
|
1126
|
+
tags?: ReadonlyArray<string>;
|
|
1127
|
+
}];
|
|
1071
1128
|
/**
|
|
1072
|
-
*
|
|
1129
|
+
* Get organization contact and billing address information.
|
|
1073
1130
|
*
|
|
1074
|
-
*
|
|
1131
|
+
* Returns the organization contact and billing address information. This endpoint is available to all users in the organization.
|
|
1075
1132
|
*
|
|
1076
1133
|
*/
|
|
1077
|
-
export declare const
|
|
1134
|
+
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"> & {
|
|
1135
|
+
_id: string;
|
|
1136
|
+
_infinite?: boolean;
|
|
1137
|
+
tags?: ReadonlyArray<string>;
|
|
1138
|
+
}]>, "queryFn"> & {
|
|
1139
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").BillingContact, [Pick<Options<GetContactData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1140
|
+
_id: string;
|
|
1141
|
+
_infinite?: boolean;
|
|
1142
|
+
tags?: ReadonlyArray<string>;
|
|
1143
|
+
}], never> | undefined;
|
|
1144
|
+
} & {
|
|
1145
|
+
queryKey: [Pick<Options<GetContactData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1146
|
+
_id: string;
|
|
1147
|
+
_infinite?: boolean;
|
|
1148
|
+
tags?: ReadonlyArray<string>;
|
|
1149
|
+
}] & {
|
|
1150
|
+
[dataTagSymbol]: import("../types.gen").BillingContact;
|
|
1151
|
+
[dataTagErrorSymbol]: Error;
|
|
1152
|
+
};
|
|
1153
|
+
};
|
|
1078
1154
|
/**
|
|
1079
|
-
*
|
|
1155
|
+
* Update organization contact information and billing address.
|
|
1080
1156
|
*
|
|
1081
|
-
*
|
|
1157
|
+
* This endpoint allows you to update organization details with its contact information. This endpoint is available to administrators of the organization only.
|
|
1082
1158
|
*
|
|
1083
1159
|
*/
|
|
1084
|
-
export declare const
|
|
1085
|
-
export declare const
|
|
1160
|
+
export declare const updateContactMutation: (options?: Partial<Options<UpdateContactData>>) => UseMutationOptions<UpdateContactResponse, DefaultError, Options<UpdateContactData>>;
|
|
1161
|
+
export declare const getCreditsQueryKey: (options?: Options<GetCreditsData>) => [Pick<Options<GetCreditsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1086
1162
|
_id: string;
|
|
1087
1163
|
_infinite?: boolean;
|
|
1088
1164
|
tags?: ReadonlyArray<string>;
|
|
1089
1165
|
}];
|
|
1090
1166
|
/**
|
|
1091
|
-
* Get
|
|
1092
|
-
*
|
|
1093
|
-
* Returns user details including their roles. For more information on identity access management, see [Users](https://cloudfleet.ai/docs/organization/users/) section of documentaiton.
|
|
1167
|
+
* Get applied promotional credits
|
|
1094
1168
|
*
|
|
1095
|
-
* This endpoint is available to all users in the organization.
|
|
1169
|
+
* 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.
|
|
1096
1170
|
*
|
|
1097
1171
|
*/
|
|
1098
|
-
export declare const
|
|
1172
|
+
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"> & {
|
|
1099
1173
|
_id: string;
|
|
1100
1174
|
_infinite?: boolean;
|
|
1101
1175
|
tags?: ReadonlyArray<string>;
|
|
1102
1176
|
}]>, "queryFn"> & {
|
|
1103
|
-
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").
|
|
1177
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").BillingCredits[], [Pick<Options<GetCreditsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1104
1178
|
_id: string;
|
|
1105
1179
|
_infinite?: boolean;
|
|
1106
1180
|
tags?: ReadonlyArray<string>;
|
|
1107
1181
|
}], never> | undefined;
|
|
1108
1182
|
} & {
|
|
1109
|
-
queryKey: [Pick<Options<
|
|
1183
|
+
queryKey: [Pick<Options<GetCreditsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1110
1184
|
_id: string;
|
|
1111
1185
|
_infinite?: boolean;
|
|
1112
1186
|
tags?: ReadonlyArray<string>;
|
|
1113
1187
|
}] & {
|
|
1114
|
-
[dataTagSymbol]: import("../types.gen").
|
|
1188
|
+
[dataTagSymbol]: import("../types.gen").BillingCredits[];
|
|
1115
1189
|
[dataTagErrorSymbol]: Error;
|
|
1116
1190
|
};
|
|
1117
1191
|
};
|
|
1118
1192
|
/**
|
|
1119
|
-
*
|
|
1193
|
+
* Redeem promotional credits code.
|
|
1120
1194
|
*
|
|
1121
|
-
*
|
|
1195
|
+
* 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.
|
|
1122
1196
|
*
|
|
1123
1197
|
*/
|
|
1124
|
-
export declare const
|
|
1198
|
+
export declare const redeemCreditsMutation: (options?: Partial<Options<RedeemCreditsData>>) => UseMutationOptions<unknown, DefaultError, Options<RedeemCreditsData>>;
|
|
1125
1199
|
//# sourceMappingURL=react-query.gen.d.ts.map
|