@cloudfleet/sdk 0.0.1-825c2c1 → 0.0.1-82abdfa
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/dist/@tanstack/react-query.gen.d.ts +392 -399
- package/dist/@tanstack/react-query.gen.d.ts.map +1 -1
- package/dist/@tanstack/react-query.gen.js +415 -398
- package/dist/@tanstack/react-query.gen.js.map +1 -1
- package/dist/schemas.gen.d.ts +525 -97
- package/dist/schemas.gen.d.ts.map +1 -1
- package/dist/schemas.gen.js +1318 -157
- package/dist/schemas.gen.js.map +1 -1
- package/dist/sdk.gen.d.ts +227 -222
- package/dist/sdk.gen.d.ts.map +1 -1
- package/dist/sdk.gen.js +326 -319
- package/dist/sdk.gen.js.map +1 -1
- package/dist/types.gen.d.ts +1096 -726
- package/dist/types.gen.d.ts.map +1 -1
- package/dist/zod.gen.d.ts +3201 -1379
- package/dist/zod.gen.d.ts.map +1 -1
- package/dist/zod.gen.js +1075 -320
- package/dist/zod.gen.js.map +1 -1
- package/package.json +5 -5
|
@@ -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,
|
|
3
|
+
import type { CloseTicketData, CloseTicketResponse, CreateChartData, CreateChartError, CreateChartResponse, CreateClusterData, CreateClusterError, CreateClusterResponse, CreateFleetData, CreateFleetError, CreateFleetResponse, CreateInviteData, CreateInviteResponse, CreateOrganizationData, CreateOrganizationResponse, CreateTicketData, CreateTicketResponse, CreateTokenData, CreateTokenResponse, CreateUserData, CreateUserResponse, DeleteChartData, DeleteChartError, DeleteChartResponse, DeleteClusterData, DeleteClusterError, DeleteClusterResponse, DeleteFleetData, DeleteFleetError, DeleteFleetResponse, DeleteInviteData, DeletePaymentMethodData, DeletePaymentMethodResponse, DeleteTagData, DeleteTokenData, DeleteUserData, DeleteUserResponse, GetChartData, GetClusterData, GetContactData, GetCreditsData, GetFleetData, GetInviteData, GetJoinInformationData, GetJoinInformationError, GetJoinInformationResponse, GetMarketplaceChartFilesData, GetOrganizationData, GetPaymentMethodSecretData, GetPaymentMethodSecretResponse, GetTagData, GetTicketAttachmentData, GetTicketData, GetTokenData, GetUsageData, GetUserData, ListChartsData, ListClustersData, ListFleetsData, ListInvitesData, ListInvoicesData, ListMarketplaceChartsData, ListPaymentMethodsData, ListRepositoriesData, ListTagsData, ListTicketsData, ListTokensData, ListUserOrganizationsData, ListUsersData, PostMcpData, PostMcpResponse, QueryClusterData, RedeemCreditsData, RegenerateTokenData, RegenerateTokenResponse, ReplyTicketData, ReplyTicketResponse, 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,533 +8,548 @@ 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").TicketListResponse, Error, import("../types.gen").TicketListResponse, [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").TicketListResponse, [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").TicketListResponse;
|
|
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
|
};
|
|
439
|
+
export declare const getOrganizationQueryKey: (options?: Options<GetOrganizationData>) => [Pick<Options<GetOrganizationData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
440
|
+
_id: string;
|
|
441
|
+
_infinite?: boolean;
|
|
442
|
+
tags?: ReadonlyArray<string>;
|
|
443
|
+
}];
|
|
440
444
|
/**
|
|
441
|
-
*
|
|
445
|
+
* Get organization information.
|
|
442
446
|
*
|
|
443
|
-
*
|
|
447
|
+
* Returns organization details including quota. For more information about quotas, see [Quotas and limits](https://cloudfleet.ai/docs/organization/quotas/) section of documentaiton.
|
|
444
448
|
*
|
|
445
|
-
* This endpoint is available to
|
|
449
|
+
* This endpoint is available to all users in the organization.
|
|
446
450
|
*
|
|
447
451
|
*/
|
|
448
|
-
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"> & {
|
|
453
|
+
_id: string;
|
|
454
|
+
_infinite?: boolean;
|
|
455
|
+
tags?: ReadonlyArray<string>;
|
|
456
|
+
}]>, "queryFn"> & {
|
|
457
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").Organization, [Pick<Options<GetOrganizationData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
458
|
+
_id: string;
|
|
459
|
+
_infinite?: boolean;
|
|
460
|
+
tags?: ReadonlyArray<string>;
|
|
461
|
+
}], never> | undefined;
|
|
462
|
+
} & {
|
|
463
|
+
queryKey: [Pick<Options<GetOrganizationData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
464
|
+
_id: string;
|
|
465
|
+
_infinite?: boolean;
|
|
466
|
+
tags?: ReadonlyArray<string>;
|
|
467
|
+
}] & {
|
|
468
|
+
[dataTagSymbol]: import("../types.gen").Organization;
|
|
469
|
+
[dataTagErrorSymbol]: Error;
|
|
470
|
+
};
|
|
471
|
+
};
|
|
449
472
|
/**
|
|
450
|
-
*
|
|
473
|
+
* Create a new organization / Cloudfleet account signup.
|
|
451
474
|
*
|
|
452
|
-
* This endpoint
|
|
475
|
+
* This endpoint allows you to create a new Cloudfleet organization and an administrator user.
|
|
453
476
|
*
|
|
454
|
-
|
|
477
|
+
*/
|
|
478
|
+
export declare const createOrganizationMutation: (options?: Partial<Options<CreateOrganizationData>>) => UseMutationOptions<CreateOrganizationResponse, DefaultError, Options<CreateOrganizationData>>;
|
|
479
|
+
/**
|
|
480
|
+
* MCP endpoint
|
|
455
481
|
*
|
|
482
|
+
* MCP endpoint for handling Model Context Protocol JSON-RPC 2.0 messages.
|
|
456
483
|
*/
|
|
457
|
-
export declare const
|
|
458
|
-
export declare const
|
|
484
|
+
export declare const postMcpMutation: (options?: Partial<Options<PostMcpData>>) => UseMutationOptions<PostMcpResponse, DefaultError, Options<PostMcpData>>;
|
|
485
|
+
export declare const listMarketplaceChartsQueryKey: (options?: Options<ListMarketplaceChartsData>) => [Pick<Options<ListMarketplaceChartsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
459
486
|
_id: string;
|
|
460
487
|
_infinite?: boolean;
|
|
461
488
|
tags?: ReadonlyArray<string>;
|
|
462
489
|
}];
|
|
463
490
|
/**
|
|
464
|
-
*
|
|
491
|
+
* List chart listings available in the marketplace.
|
|
465
492
|
*
|
|
466
|
-
* Returns
|
|
493
|
+
* Returns a list of available charts in the marketplace.
|
|
467
494
|
*
|
|
468
495
|
* This endpoint is available to all users in the organization.
|
|
469
496
|
*
|
|
470
497
|
*/
|
|
471
|
-
export declare const
|
|
498
|
+
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"> & {
|
|
472
499
|
_id: string;
|
|
473
500
|
_infinite?: boolean;
|
|
474
501
|
tags?: ReadonlyArray<string>;
|
|
475
502
|
}]>, "queryFn"> & {
|
|
476
|
-
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").
|
|
503
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").MarketplaceListing[], [Pick<Options<ListMarketplaceChartsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
477
504
|
_id: string;
|
|
478
505
|
_infinite?: boolean;
|
|
479
506
|
tags?: ReadonlyArray<string>;
|
|
480
507
|
}], never> | undefined;
|
|
481
508
|
} & {
|
|
482
|
-
queryKey: [Pick<Options<
|
|
509
|
+
queryKey: [Pick<Options<ListMarketplaceChartsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
483
510
|
_id: string;
|
|
484
511
|
_infinite?: boolean;
|
|
485
512
|
tags?: ReadonlyArray<string>;
|
|
486
513
|
}] & {
|
|
487
|
-
[dataTagSymbol]: import("../types.gen").
|
|
514
|
+
[dataTagSymbol]: import("../types.gen").MarketplaceListing[];
|
|
488
515
|
[dataTagErrorSymbol]: Error;
|
|
489
516
|
};
|
|
490
517
|
};
|
|
491
|
-
|
|
492
|
-
* Update cluster information.
|
|
493
|
-
*
|
|
494
|
-
* This endpoint allows you to update cluster details, including quota and cluster status. For more information about clusters, see [Clusters](https://cloudfleet.ai/docs/cluster-management/cluster-types/) section of documentaiton.
|
|
495
|
-
*
|
|
496
|
-
* This endpoint is available to administrators of the organization only.
|
|
497
|
-
*
|
|
498
|
-
*/
|
|
499
|
-
export declare const updateClusterMutation: (options?: Partial<Options<UpdateClusterData>>) => UseMutationOptions<UpdateClusterResponse, DefaultError, Options<UpdateClusterData>>;
|
|
500
|
-
export declare const getClusterCaQueryKey: (options: Options<GetClusterCaData>) => [Pick<Options<GetClusterCaData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
518
|
+
export declare const getMarketplaceChartFilesQueryKey: (options: Options<GetMarketplaceChartFilesData>) => [Pick<Options<GetMarketplaceChartFilesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
501
519
|
_id: string;
|
|
502
520
|
_infinite?: boolean;
|
|
503
521
|
tags?: ReadonlyArray<string>;
|
|
504
522
|
}];
|
|
505
523
|
/**
|
|
506
|
-
* Get
|
|
524
|
+
* Get chart files for a specific version channel.
|
|
525
|
+
*
|
|
526
|
+
* Returns the Chart.yaml, values.yaml, and values.schema.json files for the latest version matching the specified version channel.
|
|
507
527
|
*
|
|
508
|
-
*
|
|
528
|
+
* 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.
|
|
529
|
+
*
|
|
530
|
+
* This endpoint is available to all users in the organization.
|
|
509
531
|
*
|
|
510
532
|
*/
|
|
511
|
-
export declare const
|
|
533
|
+
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"> & {
|
|
512
534
|
_id: string;
|
|
513
535
|
_infinite?: boolean;
|
|
514
536
|
tags?: ReadonlyArray<string>;
|
|
515
537
|
}]>, "queryFn"> & {
|
|
516
|
-
queryFn?: import("@tanstack/react-query").QueryFunction<
|
|
538
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").MarketplaceListingFiles, [Pick<Options<GetMarketplaceChartFilesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
517
539
|
_id: string;
|
|
518
540
|
_infinite?: boolean;
|
|
519
541
|
tags?: ReadonlyArray<string>;
|
|
520
542
|
}], never> | undefined;
|
|
521
543
|
} & {
|
|
522
|
-
queryKey: [Pick<Options<
|
|
544
|
+
queryKey: [Pick<Options<GetMarketplaceChartFilesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
523
545
|
_id: string;
|
|
524
546
|
_infinite?: boolean;
|
|
525
547
|
tags?: ReadonlyArray<string>;
|
|
526
548
|
}] & {
|
|
527
|
-
[dataTagSymbol]:
|
|
549
|
+
[dataTagSymbol]: import("../types.gen").MarketplaceListingFiles;
|
|
528
550
|
[dataTagErrorSymbol]: Error;
|
|
529
551
|
};
|
|
530
552
|
};
|
|
531
|
-
/**
|
|
532
|
-
* Node join information for the cluster
|
|
533
|
-
*
|
|
534
|
-
* Returns the join information for the cluster. This information is used to add a self-managed nodes to the CFKE cluster. This endpoint is available to only admins of the organization.
|
|
535
|
-
*
|
|
536
|
-
*/
|
|
537
|
-
export declare const getJoinInformationMutation: (options?: Partial<Options<GetJoinInformationData>>) => UseMutationOptions<GetJoinInformationResponse, DefaultError, Options<GetJoinInformationData>>;
|
|
538
553
|
export declare const listInvitesQueryKey: (options?: Options<ListInvitesData>) => [Pick<Options<ListInvitesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
539
554
|
_id: string;
|
|
540
555
|
_infinite?: boolean;
|
|
@@ -543,7 +558,7 @@ export declare const listInvitesQueryKey: (options?: Options<ListInvitesData>) =
|
|
|
543
558
|
/**
|
|
544
559
|
* List invites.
|
|
545
560
|
*
|
|
546
|
-
* Returns a list of invites under the current organization. This endpoint is available to
|
|
561
|
+
* Returns a list of pending (non-expired) invites under the current organization. This endpoint is available to administrators of the organization only.
|
|
547
562
|
*
|
|
548
563
|
*/
|
|
549
564
|
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"> & {
|
|
@@ -581,15 +596,24 @@ export declare const getInviteQueryKey: (options: Options<GetInviteData>) => [Pi
|
|
|
581
596
|
/**
|
|
582
597
|
* Get invite information.
|
|
583
598
|
*
|
|
584
|
-
*
|
|
599
|
+
* 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.
|
|
585
600
|
*
|
|
586
601
|
*/
|
|
587
|
-
export declare const getInviteOptions: (options: Options<GetInviteData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<
|
|
602
|
+
export declare const getInviteOptions: (options: Options<GetInviteData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
|
|
603
|
+
email?: string;
|
|
604
|
+
organization_id?: string;
|
|
605
|
+
}, Error, {
|
|
606
|
+
email?: string;
|
|
607
|
+
organization_id?: string;
|
|
608
|
+
}, [Pick<Options<GetInviteData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
588
609
|
_id: string;
|
|
589
610
|
_infinite?: boolean;
|
|
590
611
|
tags?: ReadonlyArray<string>;
|
|
591
612
|
}]>, "queryFn"> & {
|
|
592
|
-
queryFn?: import("@tanstack/react-query").QueryFunction<
|
|
613
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<{
|
|
614
|
+
email?: string;
|
|
615
|
+
organization_id?: string;
|
|
616
|
+
}, [Pick<Options<GetInviteData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
593
617
|
_id: string;
|
|
594
618
|
_infinite?: boolean;
|
|
595
619
|
tags?: ReadonlyArray<string>;
|
|
@@ -600,7 +624,10 @@ export declare const getInviteOptions: (options: Options<GetInviteData>) => impo
|
|
|
600
624
|
_infinite?: boolean;
|
|
601
625
|
tags?: ReadonlyArray<string>;
|
|
602
626
|
}] & {
|
|
603
|
-
[dataTagSymbol]:
|
|
627
|
+
[dataTagSymbol]: {
|
|
628
|
+
email?: string;
|
|
629
|
+
organization_id?: string;
|
|
630
|
+
};
|
|
604
631
|
[dataTagErrorSymbol]: Error;
|
|
605
632
|
};
|
|
606
633
|
};
|
|
@@ -611,546 +638,512 @@ export declare const getInviteOptions: (options: Options<GetInviteData>) => impo
|
|
|
611
638
|
*
|
|
612
639
|
*/
|
|
613
640
|
export declare const deleteInviteMutation: (options?: Partial<Options<DeleteInviteData>>) => UseMutationOptions<unknown, DefaultError, Options<DeleteInviteData>>;
|
|
614
|
-
export declare const
|
|
641
|
+
export declare const queryClusterQueryKey: (options: Options<QueryClusterData>) => [Pick<Options<QueryClusterData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
615
642
|
_id: string;
|
|
616
643
|
_infinite?: boolean;
|
|
617
644
|
tags?: ReadonlyArray<string>;
|
|
618
645
|
}];
|
|
619
646
|
/**
|
|
620
|
-
*
|
|
621
|
-
*
|
|
622
|
-
* Returns a list of available charts in the marketplace.
|
|
623
|
-
*
|
|
624
|
-
* This endpoint is available to all users in the organization.
|
|
647
|
+
* Query Kubernetes cluster API
|
|
625
648
|
*
|
|
649
|
+
* 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.
|
|
626
650
|
*/
|
|
627
|
-
export declare const
|
|
651
|
+
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"> & {
|
|
628
652
|
_id: string;
|
|
629
653
|
_infinite?: boolean;
|
|
630
654
|
tags?: ReadonlyArray<string>;
|
|
631
655
|
}]>, "queryFn"> & {
|
|
632
|
-
queryFn?: import("@tanstack/react-query").QueryFunction<
|
|
656
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<unknown, [Pick<Options<QueryClusterData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
633
657
|
_id: string;
|
|
634
658
|
_infinite?: boolean;
|
|
635
659
|
tags?: ReadonlyArray<string>;
|
|
636
660
|
}], never> | undefined;
|
|
637
661
|
} & {
|
|
638
|
-
queryKey: [Pick<Options<
|
|
662
|
+
queryKey: [Pick<Options<QueryClusterData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
639
663
|
_id: string;
|
|
640
664
|
_infinite?: boolean;
|
|
641
665
|
tags?: ReadonlyArray<string>;
|
|
642
666
|
}] & {
|
|
643
|
-
[dataTagSymbol]:
|
|
667
|
+
[dataTagSymbol]: unknown;
|
|
644
668
|
[dataTagErrorSymbol]: Error;
|
|
645
669
|
};
|
|
646
670
|
};
|
|
647
|
-
export declare const
|
|
671
|
+
export declare const listFleetsQueryKey: (options: Options<ListFleetsData>) => [Pick<Options<ListFleetsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
648
672
|
_id: string;
|
|
649
673
|
_infinite?: boolean;
|
|
650
674
|
tags?: ReadonlyArray<string>;
|
|
651
675
|
}];
|
|
652
676
|
/**
|
|
653
|
-
*
|
|
654
|
-
*
|
|
655
|
-
* Returns the Chart.yaml, values.yaml, and values.schema.json files for the latest version matching the specified version channel.
|
|
677
|
+
* List fleets.
|
|
656
678
|
*
|
|
657
|
-
*
|
|
679
|
+
* Returns a list of fleets belonging to the cluster. For more information, see [Fleets](https://cloudfleet.ai/docs/cloud-infrastructure/fleets/) section of documentaiton.
|
|
658
680
|
*
|
|
659
681
|
* This endpoint is available to all users in the organization.
|
|
660
682
|
*
|
|
661
683
|
*/
|
|
662
|
-
export declare const
|
|
684
|
+
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"> & {
|
|
663
685
|
_id: string;
|
|
664
686
|
_infinite?: boolean;
|
|
665
687
|
tags?: ReadonlyArray<string>;
|
|
666
688
|
}]>, "queryFn"> & {
|
|
667
|
-
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").
|
|
689
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").Fleet[], [Pick<Options<ListFleetsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
668
690
|
_id: string;
|
|
669
691
|
_infinite?: boolean;
|
|
670
692
|
tags?: ReadonlyArray<string>;
|
|
671
693
|
}], never> | undefined;
|
|
672
694
|
} & {
|
|
673
|
-
queryKey: [Pick<Options<
|
|
695
|
+
queryKey: [Pick<Options<ListFleetsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
674
696
|
_id: string;
|
|
675
697
|
_infinite?: boolean;
|
|
676
698
|
tags?: ReadonlyArray<string>;
|
|
677
699
|
}] & {
|
|
678
|
-
[dataTagSymbol]: import("../types.gen").
|
|
700
|
+
[dataTagSymbol]: import("../types.gen").Fleet[];
|
|
679
701
|
[dataTagErrorSymbol]: Error;
|
|
680
702
|
};
|
|
681
703
|
};
|
|
682
704
|
/**
|
|
683
|
-
*
|
|
705
|
+
* Create a new fleet.
|
|
706
|
+
*
|
|
707
|
+
* 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.
|
|
708
|
+
*
|
|
709
|
+
* This endpoint is available to administrators of the organization only.
|
|
684
710
|
*
|
|
685
|
-
* MCP endpoint for handling Model Context Protocol JSON-RPC 2.0 messages.
|
|
686
711
|
*/
|
|
687
|
-
export declare const
|
|
688
|
-
|
|
712
|
+
export declare const createFleetMutation: (options?: Partial<Options<CreateFleetData>>) => UseMutationOptions<CreateFleetResponse, CreateFleetError, Options<CreateFleetData>>;
|
|
713
|
+
/**
|
|
714
|
+
* Permanently delete fleet.
|
|
715
|
+
*
|
|
716
|
+
* 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.
|
|
717
|
+
*
|
|
718
|
+
* This endpoint is available to administrators of the organization only.
|
|
719
|
+
*
|
|
720
|
+
*/
|
|
721
|
+
export declare const deleteFleetMutation: (options?: Partial<Options<DeleteFleetData>>) => UseMutationOptions<DeleteFleetResponse, DeleteFleetError, Options<DeleteFleetData>>;
|
|
722
|
+
export declare const getFleetQueryKey: (options: Options<GetFleetData>) => [Pick<Options<GetFleetData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
689
723
|
_id: string;
|
|
690
724
|
_infinite?: boolean;
|
|
691
725
|
tags?: ReadonlyArray<string>;
|
|
692
726
|
}];
|
|
693
727
|
/**
|
|
694
|
-
* Get
|
|
728
|
+
* Get fleet information.
|
|
695
729
|
*
|
|
696
|
-
* Returns
|
|
730
|
+
* Returns fleet details. For more information, see [Fleets](https://cloudfleet.ai/docs/cloud-infrastructure/fleets/) section of documentaiton.
|
|
697
731
|
*
|
|
698
732
|
* This endpoint is available to all users in the organization.
|
|
699
733
|
*
|
|
700
734
|
*/
|
|
701
|
-
export declare const
|
|
735
|
+
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"> & {
|
|
702
736
|
_id: string;
|
|
703
737
|
_infinite?: boolean;
|
|
704
738
|
tags?: ReadonlyArray<string>;
|
|
705
739
|
}]>, "queryFn"> & {
|
|
706
|
-
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").
|
|
740
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").Fleet, [Pick<Options<GetFleetData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
707
741
|
_id: string;
|
|
708
742
|
_infinite?: boolean;
|
|
709
743
|
tags?: ReadonlyArray<string>;
|
|
710
744
|
}], never> | undefined;
|
|
711
745
|
} & {
|
|
712
|
-
queryKey: [Pick<Options<
|
|
746
|
+
queryKey: [Pick<Options<GetFleetData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
713
747
|
_id: string;
|
|
714
748
|
_infinite?: boolean;
|
|
715
749
|
tags?: ReadonlyArray<string>;
|
|
716
750
|
}] & {
|
|
717
|
-
[dataTagSymbol]: import("../types.gen").
|
|
751
|
+
[dataTagSymbol]: import("../types.gen").Fleet;
|
|
718
752
|
[dataTagErrorSymbol]: Error;
|
|
719
753
|
};
|
|
720
754
|
};
|
|
721
755
|
/**
|
|
722
|
-
*
|
|
756
|
+
* Update fleet information.
|
|
723
757
|
*
|
|
724
|
-
* This endpoint allows you to
|
|
758
|
+
* This endpoint allows you to update fleet details.
|
|
759
|
+
*
|
|
760
|
+
* For more information, see [Fleets](https://cloudfleet.ai/docs/cloud-infrastructure/fleets/) section of documentaiton.
|
|
761
|
+
*
|
|
762
|
+
* This endpoint is available to administrators of the organization only.
|
|
725
763
|
*
|
|
726
764
|
*/
|
|
727
|
-
export declare const
|
|
728
|
-
export declare const
|
|
765
|
+
export declare const updateFleetMutation: (options?: Partial<Options<UpdateFleetData>>) => UseMutationOptions<UpdateFleetResponse, UpdateFleetError, Options<UpdateFleetData>>;
|
|
766
|
+
export declare const listChartsQueryKey: (options: Options<ListChartsData>) => [Pick<Options<ListChartsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
729
767
|
_id: string;
|
|
730
768
|
_infinite?: boolean;
|
|
731
769
|
tags?: ReadonlyArray<string>;
|
|
732
770
|
}];
|
|
733
771
|
/**
|
|
734
|
-
* List
|
|
772
|
+
* List charts.
|
|
735
773
|
*
|
|
736
|
-
* Returns a list of
|
|
774
|
+
* Returns a list of charts in the cluster.
|
|
775
|
+
*
|
|
776
|
+
* This endpoint is available to all users in the organization.
|
|
737
777
|
*
|
|
738
778
|
*/
|
|
739
|
-
export declare const
|
|
779
|
+
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"> & {
|
|
740
780
|
_id: string;
|
|
741
781
|
_infinite?: boolean;
|
|
742
782
|
tags?: ReadonlyArray<string>;
|
|
743
783
|
}]>, "queryFn"> & {
|
|
744
|
-
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").
|
|
784
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").Chart[], [Pick<Options<ListChartsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
745
785
|
_id: string;
|
|
746
786
|
_infinite?: boolean;
|
|
747
787
|
tags?: ReadonlyArray<string>;
|
|
748
788
|
}], never> | undefined;
|
|
749
789
|
} & {
|
|
750
|
-
queryKey: [Pick<Options<
|
|
790
|
+
queryKey: [Pick<Options<ListChartsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
751
791
|
_id: string;
|
|
752
792
|
_infinite?: boolean;
|
|
753
793
|
tags?: ReadonlyArray<string>;
|
|
754
794
|
}] & {
|
|
755
|
-
[dataTagSymbol]: import("../types.gen").
|
|
795
|
+
[dataTagSymbol]: import("../types.gen").Chart[];
|
|
756
796
|
[dataTagErrorSymbol]: Error;
|
|
757
797
|
};
|
|
758
798
|
};
|
|
759
|
-
export declare const listTagsQueryKey: (options: Options<ListTagsData>) => [Pick<Options<ListTagsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
760
|
-
_id: string;
|
|
761
|
-
_infinite?: boolean;
|
|
762
|
-
tags?: ReadonlyArray<string>;
|
|
763
|
-
}];
|
|
764
799
|
/**
|
|
765
|
-
*
|
|
800
|
+
* Create a new chart.
|
|
766
801
|
*
|
|
767
|
-
*
|
|
802
|
+
* Create a new chart deployment.
|
|
803
|
+
*
|
|
804
|
+
* This endpoint is available to administrators of the organization only.
|
|
768
805
|
*
|
|
769
806
|
*/
|
|
770
|
-
export declare const
|
|
771
|
-
_id: string;
|
|
772
|
-
_infinite?: boolean;
|
|
773
|
-
tags?: ReadonlyArray<string>;
|
|
774
|
-
}]>, "queryFn"> & {
|
|
775
|
-
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").RegistryRepositoryWithTags, [Pick<Options<ListTagsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
776
|
-
_id: string;
|
|
777
|
-
_infinite?: boolean;
|
|
778
|
-
tags?: ReadonlyArray<string>;
|
|
779
|
-
}], never> | undefined;
|
|
780
|
-
} & {
|
|
781
|
-
queryKey: [Pick<Options<ListTagsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
782
|
-
_id: string;
|
|
783
|
-
_infinite?: boolean;
|
|
784
|
-
tags?: ReadonlyArray<string>;
|
|
785
|
-
}] & {
|
|
786
|
-
[dataTagSymbol]: import("../types.gen").RegistryRepositoryWithTags;
|
|
787
|
-
[dataTagErrorSymbol]: Error;
|
|
788
|
-
};
|
|
789
|
-
};
|
|
807
|
+
export declare const createChartMutation: (options?: Partial<Options<CreateChartData>>) => UseMutationOptions<CreateChartResponse, CreateChartError, Options<CreateChartData>>;
|
|
790
808
|
/**
|
|
791
|
-
*
|
|
809
|
+
* Permanently delete the chart deployment from the cluster.
|
|
792
810
|
*
|
|
793
|
-
*
|
|
811
|
+
* This endpoint will permanently delete chart. This operation cannot be undone.
|
|
812
|
+
*
|
|
813
|
+
* This endpoint is available to administrators of the organization only.
|
|
794
814
|
*
|
|
795
815
|
*/
|
|
796
|
-
export declare const
|
|
797
|
-
export declare const
|
|
816
|
+
export declare const deleteChartMutation: (options?: Partial<Options<DeleteChartData>>) => UseMutationOptions<DeleteChartResponse, DeleteChartError, Options<DeleteChartData>>;
|
|
817
|
+
export declare const getChartQueryKey: (options: Options<GetChartData>) => [Pick<Options<GetChartData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
798
818
|
_id: string;
|
|
799
819
|
_infinite?: boolean;
|
|
800
820
|
tags?: ReadonlyArray<string>;
|
|
801
821
|
}];
|
|
802
822
|
/**
|
|
803
|
-
* Get
|
|
823
|
+
* Get chart information.
|
|
804
824
|
*
|
|
805
|
-
* Returns
|
|
825
|
+
* Returns the details of the chart deployment.
|
|
826
|
+
*
|
|
827
|
+
* This endpoint is available to all users in the organization.
|
|
806
828
|
*
|
|
807
829
|
*/
|
|
808
|
-
export declare const
|
|
830
|
+
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"> & {
|
|
809
831
|
_id: string;
|
|
810
832
|
_infinite?: boolean;
|
|
811
833
|
tags?: ReadonlyArray<string>;
|
|
812
834
|
}]>, "queryFn"> & {
|
|
813
|
-
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").
|
|
835
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").Chart, [Pick<Options<GetChartData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
814
836
|
_id: string;
|
|
815
837
|
_infinite?: boolean;
|
|
816
838
|
tags?: ReadonlyArray<string>;
|
|
817
839
|
}], never> | undefined;
|
|
818
840
|
} & {
|
|
819
|
-
queryKey: [Pick<Options<
|
|
841
|
+
queryKey: [Pick<Options<GetChartData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
820
842
|
_id: string;
|
|
821
843
|
_infinite?: boolean;
|
|
822
844
|
tags?: ReadonlyArray<string>;
|
|
823
845
|
}] & {
|
|
824
|
-
[dataTagSymbol]: import("../types.gen").
|
|
846
|
+
[dataTagSymbol]: import("../types.gen").Chart;
|
|
825
847
|
[dataTagErrorSymbol]: Error;
|
|
826
848
|
};
|
|
827
849
|
};
|
|
828
|
-
|
|
850
|
+
/**
|
|
851
|
+
* Update chart information.
|
|
852
|
+
*
|
|
853
|
+
* This endpoint allows you to update the values of a chart deployment.
|
|
854
|
+
*
|
|
855
|
+
* This endpoint is available to administrators of the organization only.
|
|
856
|
+
*
|
|
857
|
+
*/
|
|
858
|
+
export declare const updateChartMutation: (options?: Partial<Options<UpdateChartData>>) => UseMutationOptions<UpdateChartResponse, UpdateChartError, Options<UpdateChartData>>;
|
|
859
|
+
export declare const listClustersQueryKey: (options?: Options<ListClustersData>) => [Pick<Options<ListClustersData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
829
860
|
_id: string;
|
|
830
861
|
_infinite?: boolean;
|
|
831
862
|
tags?: ReadonlyArray<string>;
|
|
832
863
|
}];
|
|
833
864
|
/**
|
|
834
|
-
* List
|
|
865
|
+
* List clusters.
|
|
835
866
|
*
|
|
836
|
-
* Returns
|
|
867
|
+
* Returns a list of clusters under the current organization.
|
|
868
|
+
*
|
|
869
|
+
* This endpoint is available to all users in the organization.
|
|
837
870
|
*
|
|
838
871
|
*/
|
|
839
|
-
export declare const
|
|
872
|
+
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"> & {
|
|
840
873
|
_id: string;
|
|
841
874
|
_infinite?: boolean;
|
|
842
875
|
tags?: ReadonlyArray<string>;
|
|
843
876
|
}]>, "queryFn"> & {
|
|
844
|
-
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").
|
|
877
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").Cluster[], [Pick<Options<ListClustersData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
845
878
|
_id: string;
|
|
846
879
|
_infinite?: boolean;
|
|
847
880
|
tags?: ReadonlyArray<string>;
|
|
848
881
|
}], never> | undefined;
|
|
849
882
|
} & {
|
|
850
|
-
queryKey: [Pick<Options<
|
|
883
|
+
queryKey: [Pick<Options<ListClustersData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
851
884
|
_id: string;
|
|
852
885
|
_infinite?: boolean;
|
|
853
886
|
tags?: ReadonlyArray<string>;
|
|
854
887
|
}] & {
|
|
855
|
-
[dataTagSymbol]: import("../types.gen").
|
|
888
|
+
[dataTagSymbol]: import("../types.gen").Cluster[];
|
|
856
889
|
[dataTagErrorSymbol]: Error;
|
|
857
890
|
};
|
|
858
891
|
};
|
|
859
892
|
/**
|
|
860
|
-
* Create a new
|
|
893
|
+
* Create a new cluster.
|
|
861
894
|
*
|
|
862
|
-
*
|
|
895
|
+
* 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.
|
|
896
|
+
*
|
|
897
|
+
* This endpoint is available to administrators of the organization only.
|
|
863
898
|
*
|
|
864
899
|
*/
|
|
865
|
-
export declare const
|
|
900
|
+
export declare const createClusterMutation: (options?: Partial<Options<CreateClusterData>>) => UseMutationOptions<CreateClusterResponse, CreateClusterError, Options<CreateClusterData>>;
|
|
866
901
|
/**
|
|
867
|
-
*
|
|
902
|
+
* Permanently delete cluster.
|
|
868
903
|
*
|
|
869
|
-
*
|
|
904
|
+
* This endpoint will permanently delete the cluster. This operation cannot be undone.
|
|
905
|
+
*
|
|
906
|
+
* This endpoint is available to administrators of the organization only.
|
|
870
907
|
*
|
|
871
908
|
*/
|
|
872
|
-
export declare const
|
|
873
|
-
export declare const
|
|
909
|
+
export declare const deleteClusterMutation: (options?: Partial<Options<DeleteClusterData>>) => UseMutationOptions<DeleteClusterResponse, DeleteClusterError, Options<DeleteClusterData>>;
|
|
910
|
+
export declare const getClusterQueryKey: (options: Options<GetClusterData>) => [Pick<Options<GetClusterData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
874
911
|
_id: string;
|
|
875
912
|
_infinite?: boolean;
|
|
876
913
|
tags?: ReadonlyArray<string>;
|
|
877
914
|
}];
|
|
878
915
|
/**
|
|
879
|
-
* Get
|
|
916
|
+
* Get cluster information.
|
|
917
|
+
*
|
|
918
|
+
* Returns cluster details.
|
|
919
|
+
*
|
|
920
|
+
* This endpoint is available to all users in the organization.
|
|
921
|
+
*
|
|
880
922
|
*/
|
|
881
|
-
export declare const
|
|
923
|
+
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"> & {
|
|
882
924
|
_id: string;
|
|
883
925
|
_infinite?: boolean;
|
|
884
926
|
tags?: ReadonlyArray<string>;
|
|
885
927
|
}]>, "queryFn"> & {
|
|
886
|
-
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").
|
|
928
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").Cluster, [Pick<Options<GetClusterData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
887
929
|
_id: string;
|
|
888
930
|
_infinite?: boolean;
|
|
889
931
|
tags?: ReadonlyArray<string>;
|
|
890
932
|
}], never> | undefined;
|
|
891
933
|
} & {
|
|
892
|
-
queryKey: [Pick<Options<
|
|
934
|
+
queryKey: [Pick<Options<GetClusterData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
893
935
|
_id: string;
|
|
894
936
|
_infinite?: boolean;
|
|
895
937
|
tags?: ReadonlyArray<string>;
|
|
896
938
|
}] & {
|
|
897
|
-
[dataTagSymbol]: import("../types.gen").
|
|
939
|
+
[dataTagSymbol]: import("../types.gen").Cluster;
|
|
898
940
|
[dataTagErrorSymbol]: Error;
|
|
899
941
|
};
|
|
900
942
|
};
|
|
901
943
|
/**
|
|
902
|
-
*
|
|
944
|
+
* Update cluster information.
|
|
903
945
|
*
|
|
904
|
-
*
|
|
946
|
+
* This endpoint allows you to update cluster details such as name, tier, and Kubernetes version. For more information about clusters, see [Clusters](https://cloudfleet.ai/docs/cluster-management/cluster-types/) section of documentation.
|
|
947
|
+
*
|
|
948
|
+
* This endpoint is available to administrators of the organization only.
|
|
905
949
|
*
|
|
906
950
|
*/
|
|
907
|
-
export declare const
|
|
908
|
-
export declare const getTicketAttachmentQueryKey: (options: Options<GetTicketAttachmentData>) => [Pick<Options<GetTicketAttachmentData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
909
|
-
_id: string;
|
|
910
|
-
_infinite?: boolean;
|
|
911
|
-
tags?: ReadonlyArray<string>;
|
|
912
|
-
}];
|
|
951
|
+
export declare const updateClusterMutation: (options?: Partial<Options<UpdateClusterData>>) => UseMutationOptions<UpdateClusterResponse, UpdateClusterError, Options<UpdateClusterData>>;
|
|
913
952
|
/**
|
|
914
|
-
*
|
|
953
|
+
* Node join information for the cluster
|
|
954
|
+
*
|
|
955
|
+
* 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.
|
|
956
|
+
*
|
|
915
957
|
*/
|
|
916
|
-
export declare const
|
|
917
|
-
|
|
918
|
-
_infinite?: boolean;
|
|
919
|
-
tags?: ReadonlyArray<string>;
|
|
920
|
-
}]>, "queryFn"> & {
|
|
921
|
-
queryFn?: import("@tanstack/react-query").QueryFunction<Blob | File, [Pick<Options<GetTicketAttachmentData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
922
|
-
_id: string;
|
|
923
|
-
_infinite?: boolean;
|
|
924
|
-
tags?: ReadonlyArray<string>;
|
|
925
|
-
}], never> | undefined;
|
|
926
|
-
} & {
|
|
927
|
-
queryKey: [Pick<Options<GetTicketAttachmentData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
928
|
-
_id: string;
|
|
929
|
-
_infinite?: boolean;
|
|
930
|
-
tags?: ReadonlyArray<string>;
|
|
931
|
-
}] & {
|
|
932
|
-
[dataTagSymbol]: Blob | File;
|
|
933
|
-
[dataTagErrorSymbol]: Error;
|
|
934
|
-
};
|
|
935
|
-
};
|
|
936
|
-
export declare const listTokensQueryKey: (options?: Options<ListTokensData>) => [Pick<Options<ListTokensData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
958
|
+
export declare const getJoinInformationMutation: (options?: Partial<Options<GetJoinInformationData>>) => UseMutationOptions<GetJoinInformationResponse, GetJoinInformationError, Options<GetJoinInformationData>>;
|
|
959
|
+
export declare const getUsageQueryKey: (options?: Options<GetUsageData>) => [Pick<Options<GetUsageData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
937
960
|
_id: string;
|
|
938
961
|
_infinite?: boolean;
|
|
939
962
|
tags?: ReadonlyArray<string>;
|
|
940
963
|
}];
|
|
941
964
|
/**
|
|
942
|
-
*
|
|
965
|
+
* Get billing usage information.
|
|
943
966
|
*
|
|
944
|
-
*
|
|
967
|
+
* 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.
|
|
945
968
|
*
|
|
946
969
|
*/
|
|
947
|
-
export declare const
|
|
970
|
+
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"> & {
|
|
948
971
|
_id: string;
|
|
949
972
|
_infinite?: boolean;
|
|
950
973
|
tags?: ReadonlyArray<string>;
|
|
951
974
|
}]>, "queryFn"> & {
|
|
952
|
-
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").
|
|
975
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").UsageResponse, [Pick<Options<GetUsageData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
953
976
|
_id: string;
|
|
954
977
|
_infinite?: boolean;
|
|
955
978
|
tags?: ReadonlyArray<string>;
|
|
956
979
|
}], never> | undefined;
|
|
957
980
|
} & {
|
|
958
|
-
queryKey: [Pick<Options<
|
|
981
|
+
queryKey: [Pick<Options<GetUsageData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
959
982
|
_id: string;
|
|
960
983
|
_infinite?: boolean;
|
|
961
984
|
tags?: ReadonlyArray<string>;
|
|
962
985
|
}] & {
|
|
963
|
-
[dataTagSymbol]: import("../types.gen").
|
|
986
|
+
[dataTagSymbol]: import("../types.gen").UsageResponse;
|
|
964
987
|
[dataTagErrorSymbol]: Error;
|
|
965
988
|
};
|
|
966
989
|
};
|
|
967
990
|
/**
|
|
968
|
-
*
|
|
969
|
-
*
|
|
970
|
-
* This endpoint allows you to create a new access token. For more information about identity access management and security, see [Service Accounts](https://cloudfleet.ai/docs/organization/api-tokens/) section of documentaiton.
|
|
971
|
-
*
|
|
972
|
-
* This endpoint is available to administrators of the organization only.
|
|
973
|
-
*
|
|
974
|
-
*/
|
|
975
|
-
export declare const createTokenMutation: (options?: Partial<Options<CreateTokenData>>) => UseMutationOptions<CreateTokenResponse, DefaultError, Options<CreateTokenData>>;
|
|
976
|
-
/**
|
|
977
|
-
* Permanently delete access token.
|
|
991
|
+
* Get Stripe client secret.
|
|
978
992
|
*
|
|
979
|
-
*
|
|
993
|
+
* 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.
|
|
980
994
|
*
|
|
981
995
|
*/
|
|
982
|
-
export declare const
|
|
983
|
-
export declare const
|
|
996
|
+
export declare const getPaymentMethodSecretMutation: (options?: Partial<Options<GetPaymentMethodSecretData>>) => UseMutationOptions<GetPaymentMethodSecretResponse, DefaultError, Options<GetPaymentMethodSecretData>>;
|
|
997
|
+
export declare const listPaymentMethodsQueryKey: (options?: Options<ListPaymentMethodsData>) => [Pick<Options<ListPaymentMethodsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
984
998
|
_id: string;
|
|
985
999
|
_infinite?: boolean;
|
|
986
1000
|
tags?: ReadonlyArray<string>;
|
|
987
1001
|
}];
|
|
988
1002
|
/**
|
|
989
|
-
*
|
|
1003
|
+
* List organization payment methods.
|
|
990
1004
|
*
|
|
991
|
-
*
|
|
1005
|
+
* 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.
|
|
992
1006
|
*
|
|
993
1007
|
*/
|
|
994
|
-
export declare const
|
|
1008
|
+
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"> & {
|
|
995
1009
|
_id: string;
|
|
996
1010
|
_infinite?: boolean;
|
|
997
1011
|
tags?: ReadonlyArray<string>;
|
|
998
1012
|
}]>, "queryFn"> & {
|
|
999
|
-
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").
|
|
1013
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").PaymentMethod[], [Pick<Options<ListPaymentMethodsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1000
1014
|
_id: string;
|
|
1001
1015
|
_infinite?: boolean;
|
|
1002
1016
|
tags?: ReadonlyArray<string>;
|
|
1003
1017
|
}], never> | undefined;
|
|
1004
1018
|
} & {
|
|
1005
|
-
queryKey: [Pick<Options<
|
|
1019
|
+
queryKey: [Pick<Options<ListPaymentMethodsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1006
1020
|
_id: string;
|
|
1007
1021
|
_infinite?: boolean;
|
|
1008
1022
|
tags?: ReadonlyArray<string>;
|
|
1009
1023
|
}] & {
|
|
1010
|
-
[dataTagSymbol]: import("../types.gen").
|
|
1024
|
+
[dataTagSymbol]: import("../types.gen").PaymentMethod[];
|
|
1011
1025
|
[dataTagErrorSymbol]: Error;
|
|
1012
1026
|
};
|
|
1013
1027
|
};
|
|
1014
1028
|
/**
|
|
1015
|
-
*
|
|
1029
|
+
* Set the default payment method.
|
|
1016
1030
|
*
|
|
1017
|
-
*
|
|
1018
|
-
*
|
|
1019
|
-
* This endpoint is available to administrators of the organization only.
|
|
1031
|
+
* Sets the given payment method as the default used for invoices and active subscriptions. Requires the Administrator role.
|
|
1020
1032
|
*
|
|
1021
1033
|
*/
|
|
1022
|
-
export declare const
|
|
1034
|
+
export declare const setDefaultPaymentMethodMutation: (options?: Partial<Options<SetDefaultPaymentMethodData>>) => UseMutationOptions<SetDefaultPaymentMethodResponse, DefaultError, Options<SetDefaultPaymentMethodData>>;
|
|
1023
1035
|
/**
|
|
1024
|
-
*
|
|
1036
|
+
* Delete a payment method.
|
|
1037
|
+
*
|
|
1038
|
+
* Detaches the given payment method from the organization. Requires the Administrator role. An organization must keep at least one payment method, so deleting the only remaining method is rejected.
|
|
1025
1039
|
*
|
|
1026
|
-
* Generates a new access token secret. Old secret will not be valid anymore.
|
|
1027
1040
|
*/
|
|
1028
|
-
export declare const
|
|
1029
|
-
export declare const
|
|
1041
|
+
export declare const deletePaymentMethodMutation: (options?: Partial<Options<DeletePaymentMethodData>>) => UseMutationOptions<DeletePaymentMethodResponse, DefaultError, Options<DeletePaymentMethodData>>;
|
|
1042
|
+
export declare const listInvoicesQueryKey: (options?: Options<ListInvoicesData>) => [Pick<Options<ListInvoicesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1030
1043
|
_id: string;
|
|
1031
1044
|
_infinite?: boolean;
|
|
1032
1045
|
tags?: ReadonlyArray<string>;
|
|
1033
1046
|
}];
|
|
1034
1047
|
/**
|
|
1035
|
-
*
|
|
1048
|
+
* List issued invoices.
|
|
1049
|
+
*
|
|
1050
|
+
* 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.
|
|
1051
|
+
*
|
|
1036
1052
|
*/
|
|
1037
|
-
export declare const
|
|
1038
|
-
realm?: string;
|
|
1039
|
-
displayName?: string;
|
|
1040
|
-
}[], Error, {
|
|
1041
|
-
realm?: string;
|
|
1042
|
-
displayName?: string;
|
|
1043
|
-
}[], [Pick<Options<ListUserOrganizationsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1053
|
+
export declare const listInvoicesOptions: (options?: Options<ListInvoicesData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").Invoice[], Error, import("../types.gen").Invoice[], [Pick<Options<ListInvoicesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1044
1054
|
_id: string;
|
|
1045
1055
|
_infinite?: boolean;
|
|
1046
1056
|
tags?: ReadonlyArray<string>;
|
|
1047
1057
|
}]>, "queryFn"> & {
|
|
1048
|
-
queryFn?: import("@tanstack/react-query").QueryFunction<{
|
|
1049
|
-
realm?: string;
|
|
1050
|
-
displayName?: string;
|
|
1051
|
-
}[], [Pick<Options<ListUserOrganizationsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1058
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").Invoice[], [Pick<Options<ListInvoicesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1052
1059
|
_id: string;
|
|
1053
1060
|
_infinite?: boolean;
|
|
1054
1061
|
tags?: ReadonlyArray<string>;
|
|
1055
1062
|
}], never> | undefined;
|
|
1056
1063
|
} & {
|
|
1057
|
-
queryKey: [Pick<Options<
|
|
1064
|
+
queryKey: [Pick<Options<ListInvoicesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1058
1065
|
_id: string;
|
|
1059
1066
|
_infinite?: boolean;
|
|
1060
1067
|
tags?: ReadonlyArray<string>;
|
|
1061
1068
|
}] & {
|
|
1062
|
-
[dataTagSymbol]:
|
|
1063
|
-
realm?: string;
|
|
1064
|
-
displayName?: string;
|
|
1065
|
-
}[];
|
|
1069
|
+
[dataTagSymbol]: import("../types.gen").Invoice[];
|
|
1066
1070
|
[dataTagErrorSymbol]: Error;
|
|
1067
1071
|
};
|
|
1068
1072
|
};
|
|
1069
|
-
export declare const
|
|
1073
|
+
export declare const getContactQueryKey: (options?: Options<GetContactData>) => [Pick<Options<GetContactData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1070
1074
|
_id: string;
|
|
1071
1075
|
_infinite?: boolean;
|
|
1072
1076
|
tags?: ReadonlyArray<string>;
|
|
1073
1077
|
}];
|
|
1074
1078
|
/**
|
|
1075
|
-
*
|
|
1076
|
-
*
|
|
1077
|
-
* Returns a list of user details and their roles. For more information on identity access management, see [Users](https://cloudfleet.ai/docs/organization/users/) section of documentaiton.
|
|
1079
|
+
* Get organization contact and billing address information.
|
|
1078
1080
|
*
|
|
1079
|
-
* This endpoint is available to all users in the organization.
|
|
1081
|
+
* Returns the organization contact and billing address information. This endpoint is available to all users in the organization.
|
|
1080
1082
|
*
|
|
1081
1083
|
*/
|
|
1082
|
-
export declare const
|
|
1084
|
+
export declare const getContactOptions: (options?: Options<GetContactData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").BillingContact, Error, import("../types.gen").BillingContact, [Pick<Options<GetContactData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1083
1085
|
_id: string;
|
|
1084
1086
|
_infinite?: boolean;
|
|
1085
1087
|
tags?: ReadonlyArray<string>;
|
|
1086
1088
|
}]>, "queryFn"> & {
|
|
1087
|
-
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").
|
|
1089
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").BillingContact, [Pick<Options<GetContactData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1088
1090
|
_id: string;
|
|
1089
1091
|
_infinite?: boolean;
|
|
1090
1092
|
tags?: ReadonlyArray<string>;
|
|
1091
1093
|
}], never> | undefined;
|
|
1092
1094
|
} & {
|
|
1093
|
-
queryKey: [Pick<Options<
|
|
1095
|
+
queryKey: [Pick<Options<GetContactData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1094
1096
|
_id: string;
|
|
1095
1097
|
_infinite?: boolean;
|
|
1096
1098
|
tags?: ReadonlyArray<string>;
|
|
1097
1099
|
}] & {
|
|
1098
|
-
[dataTagSymbol]: import("../types.gen").
|
|
1100
|
+
[dataTagSymbol]: import("../types.gen").BillingContact;
|
|
1099
1101
|
[dataTagErrorSymbol]: Error;
|
|
1100
1102
|
};
|
|
1101
1103
|
};
|
|
1102
1104
|
/**
|
|
1103
|
-
*
|
|
1104
|
-
*
|
|
1105
|
-
* Create a new user in your Cloudfleet organization. Requires a valid invite code generated by the `invites create` command. The invite code is a unique string that can be used only once to create a new user. The invite code is generated by the `POST /invites` endpoint.
|
|
1106
|
-
*
|
|
1107
|
-
*/
|
|
1108
|
-
export declare const createUserMutation: (options?: Partial<Options<CreateUserData>>) => UseMutationOptions<CreateUserResponse, DefaultError, Options<CreateUserData>>;
|
|
1109
|
-
/**
|
|
1110
|
-
* Delete user by id.
|
|
1105
|
+
* Update organization contact information and billing address.
|
|
1111
1106
|
*
|
|
1112
|
-
*
|
|
1107
|
+
* This endpoint allows you to update organization details with its contact information. This endpoint is available to administrators of the organization only.
|
|
1113
1108
|
*
|
|
1114
1109
|
*/
|
|
1115
|
-
export declare const
|
|
1116
|
-
export declare const
|
|
1110
|
+
export declare const updateContactMutation: (options?: Partial<Options<UpdateContactData>>) => UseMutationOptions<UpdateContactResponse, DefaultError, Options<UpdateContactData>>;
|
|
1111
|
+
export declare const getCreditsQueryKey: (options?: Options<GetCreditsData>) => [Pick<Options<GetCreditsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1117
1112
|
_id: string;
|
|
1118
1113
|
_infinite?: boolean;
|
|
1119
1114
|
tags?: ReadonlyArray<string>;
|
|
1120
1115
|
}];
|
|
1121
1116
|
/**
|
|
1122
|
-
* Get
|
|
1123
|
-
*
|
|
1124
|
-
* Returns user details including their roles. For more information on identity access management, see [Users](https://cloudfleet.ai/docs/organization/users/) section of documentaiton.
|
|
1117
|
+
* Get applied promotional credits
|
|
1125
1118
|
*
|
|
1126
|
-
* This endpoint is available to all users in the organization.
|
|
1119
|
+
* Returns applied promotional credits for the organization. For more information on billing and payments, see [Billing and pricing](https://cloudfleet.ai/docs/organization/billing/) section of documentaiton. This endpoint is available to all users in the organization.
|
|
1127
1120
|
*
|
|
1128
1121
|
*/
|
|
1129
|
-
export declare const
|
|
1122
|
+
export declare const getCreditsOptions: (options?: Options<GetCreditsData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").BillingCredits[], Error, import("../types.gen").BillingCredits[], [Pick<Options<GetCreditsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1130
1123
|
_id: string;
|
|
1131
1124
|
_infinite?: boolean;
|
|
1132
1125
|
tags?: ReadonlyArray<string>;
|
|
1133
1126
|
}]>, "queryFn"> & {
|
|
1134
|
-
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").
|
|
1127
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").BillingCredits[], [Pick<Options<GetCreditsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1135
1128
|
_id: string;
|
|
1136
1129
|
_infinite?: boolean;
|
|
1137
1130
|
tags?: ReadonlyArray<string>;
|
|
1138
1131
|
}], never> | undefined;
|
|
1139
1132
|
} & {
|
|
1140
|
-
queryKey: [Pick<Options<
|
|
1133
|
+
queryKey: [Pick<Options<GetCreditsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1141
1134
|
_id: string;
|
|
1142
1135
|
_infinite?: boolean;
|
|
1143
1136
|
tags?: ReadonlyArray<string>;
|
|
1144
1137
|
}] & {
|
|
1145
|
-
[dataTagSymbol]: import("../types.gen").
|
|
1138
|
+
[dataTagSymbol]: import("../types.gen").BillingCredits[];
|
|
1146
1139
|
[dataTagErrorSymbol]: Error;
|
|
1147
1140
|
};
|
|
1148
1141
|
};
|
|
1149
1142
|
/**
|
|
1150
|
-
*
|
|
1143
|
+
* Redeem promotional credits code.
|
|
1151
1144
|
*
|
|
1152
|
-
*
|
|
1145
|
+
* Applies promotional credits for the organization. For more information on billing and payments, see [Billing and pricing](https://cloudfleet.ai/docs/organization/billing/) section of documentaiton. This endpoint is available to all users in the organization.
|
|
1153
1146
|
*
|
|
1154
1147
|
*/
|
|
1155
|
-
export declare const
|
|
1148
|
+
export declare const redeemCreditsMutation: (options?: Partial<Options<RedeemCreditsData>>) => UseMutationOptions<unknown, DefaultError, Options<RedeemCreditsData>>;
|
|
1156
1149
|
//# sourceMappingURL=react-query.gen.d.ts.map
|