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