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