@cloudfleet/sdk 0.12.3 → 1.0.0
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 +394 -384
- package/dist/@tanstack/react-query.gen.d.ts.map +1 -1
- package/dist/@tanstack/react-query.gen.js +419 -409
- 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 +312 -37
- package/dist/schemas.gen.d.ts.map +1 -1
- package/dist/schemas.gen.js +397 -55
- package/dist/schemas.gen.js.map +1 -1
- package/dist/sdk.gen.d.ts +232 -222
- package/dist/sdk.gen.d.ts.map +1 -1
- package/dist/sdk.gen.js +334 -324
- package/dist/sdk.gen.js.map +1 -1
- package/dist/types.gen.d.ts +952 -736
- package/dist/types.gen.d.ts.map +1 -1
- package/dist/zod.gen.d.ts +1467 -1281
- package/dist/zod.gen.d.ts.map +1 -1
- package/dist/zod.gen.js +408 -278
- 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,514 +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. 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
|
-
*
|
|
376
|
+
* List tags for a repository
|
|
380
377
|
*
|
|
381
|
-
* This endpoint
|
|
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.
|
|
382
379
|
*
|
|
383
|
-
|
|
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
|
|
384
403
|
*
|
|
385
|
-
* 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.
|
|
386
405
|
*
|
|
387
406
|
*/
|
|
388
|
-
export declare const
|
|
389
|
-
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"> & {
|
|
390
409
|
_id: string;
|
|
391
410
|
_infinite?: boolean;
|
|
392
411
|
tags?: ReadonlyArray<string>;
|
|
393
412
|
}];
|
|
394
413
|
/**
|
|
395
|
-
*
|
|
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.
|
|
396
417
|
*
|
|
397
|
-
* 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.
|
|
398
418
|
*/
|
|
399
|
-
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"> & {
|
|
400
420
|
_id: string;
|
|
401
421
|
_infinite?: boolean;
|
|
402
422
|
tags?: ReadonlyArray<string>;
|
|
403
423
|
}]>, "queryFn"> & {
|
|
404
|
-
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"> & {
|
|
405
425
|
_id: string;
|
|
406
426
|
_infinite?: boolean;
|
|
407
427
|
tags?: ReadonlyArray<string>;
|
|
408
428
|
}], never> | undefined;
|
|
409
429
|
} & {
|
|
410
|
-
queryKey: [Pick<Options<
|
|
430
|
+
queryKey: [Pick<Options<GetTagData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
411
431
|
_id: string;
|
|
412
432
|
_infinite?: boolean;
|
|
413
433
|
tags?: ReadonlyArray<string>;
|
|
414
434
|
}] & {
|
|
415
|
-
[dataTagSymbol]:
|
|
435
|
+
[dataTagSymbol]: import("../types.gen").RegistryTag;
|
|
416
436
|
[dataTagErrorSymbol]: Error;
|
|
417
437
|
};
|
|
418
438
|
};
|
|
419
|
-
export declare const
|
|
439
|
+
export declare const getOrganizationQueryKey: (options?: Options<GetOrganizationData>) => [Pick<Options<GetOrganizationData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
420
440
|
_id: string;
|
|
421
441
|
_infinite?: boolean;
|
|
422
442
|
tags?: ReadonlyArray<string>;
|
|
423
443
|
}];
|
|
424
444
|
/**
|
|
425
|
-
*
|
|
445
|
+
* Get organization information.
|
|
426
446
|
*
|
|
427
|
-
* 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.
|
|
428
448
|
*
|
|
429
449
|
* This endpoint is available to all users in the organization.
|
|
430
450
|
*
|
|
431
451
|
*/
|
|
432
|
-
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"> & {
|
|
433
453
|
_id: string;
|
|
434
454
|
_infinite?: boolean;
|
|
435
455
|
tags?: ReadonlyArray<string>;
|
|
436
456
|
}]>, "queryFn"> & {
|
|
437
|
-
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"> & {
|
|
438
458
|
_id: string;
|
|
439
459
|
_infinite?: boolean;
|
|
440
460
|
tags?: ReadonlyArray<string>;
|
|
441
461
|
}], never> | undefined;
|
|
442
462
|
} & {
|
|
443
|
-
queryKey: [Pick<Options<
|
|
463
|
+
queryKey: [Pick<Options<GetOrganizationData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
444
464
|
_id: string;
|
|
445
465
|
_infinite?: boolean;
|
|
446
466
|
tags?: ReadonlyArray<string>;
|
|
447
467
|
}] & {
|
|
448
|
-
[dataTagSymbol]: import("../types.gen").
|
|
468
|
+
[dataTagSymbol]: import("../types.gen").Organization;
|
|
449
469
|
[dataTagErrorSymbol]: Error;
|
|
450
470
|
};
|
|
451
471
|
};
|
|
452
472
|
/**
|
|
453
|
-
* Create a new
|
|
454
|
-
*
|
|
455
|
-
* 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.
|
|
456
474
|
*
|
|
457
|
-
* This endpoint
|
|
475
|
+
* This endpoint allows you to create a new Cloudfleet organization and an administrator user.
|
|
458
476
|
*
|
|
459
477
|
*/
|
|
460
|
-
export declare const
|
|
478
|
+
export declare const createOrganizationMutation: (options?: Partial<Options<CreateOrganizationData>>) => UseMutationOptions<CreateOrganizationResponse, DefaultError, Options<CreateOrganizationData>>;
|
|
461
479
|
/**
|
|
462
|
-
*
|
|
463
|
-
*
|
|
464
|
-
* This endpoint will permanently delete the cluster. This operation cannot be undone.
|
|
465
|
-
*
|
|
466
|
-
* This endpoint is available to administrators of the organization only.
|
|
480
|
+
* MCP endpoint
|
|
467
481
|
*
|
|
482
|
+
* MCP endpoint for handling Model Context Protocol JSON-RPC 2.0 messages.
|
|
468
483
|
*/
|
|
469
|
-
export declare const
|
|
470
|
-
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"> & {
|
|
471
486
|
_id: string;
|
|
472
487
|
_infinite?: boolean;
|
|
473
488
|
tags?: ReadonlyArray<string>;
|
|
474
489
|
}];
|
|
475
490
|
/**
|
|
476
|
-
*
|
|
491
|
+
* List chart listings available in the marketplace.
|
|
477
492
|
*
|
|
478
|
-
* Returns
|
|
493
|
+
* Returns a list of available charts in the marketplace.
|
|
479
494
|
*
|
|
480
495
|
* This endpoint is available to all users in the organization.
|
|
481
496
|
*
|
|
482
497
|
*/
|
|
483
|
-
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"> & {
|
|
484
499
|
_id: string;
|
|
485
500
|
_infinite?: boolean;
|
|
486
501
|
tags?: ReadonlyArray<string>;
|
|
487
502
|
}]>, "queryFn"> & {
|
|
488
|
-
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"> & {
|
|
489
504
|
_id: string;
|
|
490
505
|
_infinite?: boolean;
|
|
491
506
|
tags?: ReadonlyArray<string>;
|
|
492
507
|
}], never> | undefined;
|
|
493
508
|
} & {
|
|
494
|
-
queryKey: [Pick<Options<
|
|
509
|
+
queryKey: [Pick<Options<ListMarketplaceChartsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
495
510
|
_id: string;
|
|
496
511
|
_infinite?: boolean;
|
|
497
512
|
tags?: ReadonlyArray<string>;
|
|
498
513
|
}] & {
|
|
499
|
-
[dataTagSymbol]: import("../types.gen").
|
|
514
|
+
[dataTagSymbol]: import("../types.gen").MarketplaceListing[];
|
|
500
515
|
[dataTagErrorSymbol]: Error;
|
|
501
516
|
};
|
|
502
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
|
+
}];
|
|
503
523
|
/**
|
|
504
|
-
*
|
|
505
|
-
*
|
|
506
|
-
* This endpoint allows you to update cluster details such as name, tier, and Kubernetes version. For more information about clusters, see [Clusters](https://cloudfleet.ai/docs/cluster-management/cluster-types/) section of documentation.
|
|
524
|
+
* Get chart files for a specific version channel.
|
|
507
525
|
*
|
|
508
|
-
*
|
|
526
|
+
* Returns the Chart.yaml, values.yaml, and values.schema.json files for the latest version matching the specified version channel.
|
|
509
527
|
*
|
|
510
|
-
|
|
511
|
-
export declare const updateClusterMutation: (options?: Partial<Options<UpdateClusterData>>) => UseMutationOptions<UpdateClusterResponse, DefaultError, Options<UpdateClusterData>>;
|
|
512
|
-
/**
|
|
513
|
-
* 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.
|
|
514
529
|
*
|
|
515
|
-
*
|
|
530
|
+
* This endpoint is available to all users in the organization.
|
|
516
531
|
*
|
|
517
532
|
*/
|
|
518
|
-
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
|
+
};
|
|
519
553
|
export declare const listInvitesQueryKey: (options?: Options<ListInvitesData>) => [Pick<Options<ListInvitesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
520
554
|
_id: string;
|
|
521
555
|
_infinite?: boolean;
|
|
@@ -604,546 +638,522 @@ export declare const getInviteOptions: (options: Options<GetInviteData>) => impo
|
|
|
604
638
|
*
|
|
605
639
|
*/
|
|
606
640
|
export declare const deleteInviteMutation: (options?: Partial<Options<DeleteInviteData>>) => UseMutationOptions<unknown, DefaultError, Options<DeleteInviteData>>;
|
|
607
|
-
export declare const
|
|
641
|
+
export declare const queryClusterQueryKey: (options: Options<QueryClusterData>) => [Pick<Options<QueryClusterData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
608
642
|
_id: string;
|
|
609
643
|
_infinite?: boolean;
|
|
610
644
|
tags?: ReadonlyArray<string>;
|
|
611
645
|
}];
|
|
612
646
|
/**
|
|
613
|
-
*
|
|
614
|
-
*
|
|
615
|
-
* Returns a list of available charts in the marketplace.
|
|
616
|
-
*
|
|
617
|
-
* This endpoint is available to all users in the organization.
|
|
647
|
+
* Query Kubernetes cluster API
|
|
618
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.
|
|
619
650
|
*/
|
|
620
|
-
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"> & {
|
|
621
652
|
_id: string;
|
|
622
653
|
_infinite?: boolean;
|
|
623
654
|
tags?: ReadonlyArray<string>;
|
|
624
655
|
}]>, "queryFn"> & {
|
|
625
|
-
queryFn?: import("@tanstack/react-query").QueryFunction<
|
|
656
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<unknown, [Pick<Options<QueryClusterData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
626
657
|
_id: string;
|
|
627
658
|
_infinite?: boolean;
|
|
628
659
|
tags?: ReadonlyArray<string>;
|
|
629
660
|
}], never> | undefined;
|
|
630
661
|
} & {
|
|
631
|
-
queryKey: [Pick<Options<
|
|
662
|
+
queryKey: [Pick<Options<QueryClusterData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
632
663
|
_id: string;
|
|
633
664
|
_infinite?: boolean;
|
|
634
665
|
tags?: ReadonlyArray<string>;
|
|
635
666
|
}] & {
|
|
636
|
-
[dataTagSymbol]:
|
|
667
|
+
[dataTagSymbol]: unknown;
|
|
637
668
|
[dataTagErrorSymbol]: Error;
|
|
638
669
|
};
|
|
639
670
|
};
|
|
640
|
-
export declare const
|
|
671
|
+
export declare const listFleetsQueryKey: (options: Options<ListFleetsData>) => [Pick<Options<ListFleetsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
641
672
|
_id: string;
|
|
642
673
|
_infinite?: boolean;
|
|
643
674
|
tags?: ReadonlyArray<string>;
|
|
644
675
|
}];
|
|
645
676
|
/**
|
|
646
|
-
*
|
|
647
|
-
*
|
|
648
|
-
* Returns the Chart.yaml, values.yaml, and values.schema.json files for the latest version matching the specified version channel.
|
|
677
|
+
* List fleets.
|
|
649
678
|
*
|
|
650
|
-
*
|
|
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.
|
|
651
680
|
*
|
|
652
681
|
* This endpoint is available to all users in the organization.
|
|
653
682
|
*
|
|
654
683
|
*/
|
|
655
|
-
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"> & {
|
|
656
685
|
_id: string;
|
|
657
686
|
_infinite?: boolean;
|
|
658
687
|
tags?: ReadonlyArray<string>;
|
|
659
688
|
}]>, "queryFn"> & {
|
|
660
|
-
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"> & {
|
|
661
690
|
_id: string;
|
|
662
691
|
_infinite?: boolean;
|
|
663
692
|
tags?: ReadonlyArray<string>;
|
|
664
693
|
}], never> | undefined;
|
|
665
694
|
} & {
|
|
666
|
-
queryKey: [Pick<Options<
|
|
695
|
+
queryKey: [Pick<Options<ListFleetsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
667
696
|
_id: string;
|
|
668
697
|
_infinite?: boolean;
|
|
669
698
|
tags?: ReadonlyArray<string>;
|
|
670
699
|
}] & {
|
|
671
|
-
[dataTagSymbol]: import("../types.gen").
|
|
700
|
+
[dataTagSymbol]: import("../types.gen").Fleet[];
|
|
672
701
|
[dataTagErrorSymbol]: Error;
|
|
673
702
|
};
|
|
674
703
|
};
|
|
675
704
|
/**
|
|
676
|
-
*
|
|
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.
|
|
677
712
|
*
|
|
678
|
-
* MCP endpoint for handling Model Context Protocol JSON-RPC 2.0 messages.
|
|
679
713
|
*/
|
|
680
|
-
export declare const
|
|
681
|
-
|
|
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"> & {
|
|
682
727
|
_id: string;
|
|
683
728
|
_infinite?: boolean;
|
|
684
729
|
tags?: ReadonlyArray<string>;
|
|
685
730
|
}];
|
|
686
731
|
/**
|
|
687
|
-
* Get
|
|
732
|
+
* Get fleet information.
|
|
688
733
|
*
|
|
689
|
-
* Returns
|
|
734
|
+
* Returns fleet details. For more information, see [Fleets](https://cloudfleet.ai/docs/cloud-infrastructure/fleets/) section of documentaiton.
|
|
690
735
|
*
|
|
691
736
|
* This endpoint is available to all users in the organization.
|
|
692
737
|
*
|
|
693
738
|
*/
|
|
694
|
-
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"> & {
|
|
695
740
|
_id: string;
|
|
696
741
|
_infinite?: boolean;
|
|
697
742
|
tags?: ReadonlyArray<string>;
|
|
698
743
|
}]>, "queryFn"> & {
|
|
699
|
-
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"> & {
|
|
700
745
|
_id: string;
|
|
701
746
|
_infinite?: boolean;
|
|
702
747
|
tags?: ReadonlyArray<string>;
|
|
703
748
|
}], never> | undefined;
|
|
704
749
|
} & {
|
|
705
|
-
queryKey: [Pick<Options<
|
|
750
|
+
queryKey: [Pick<Options<GetFleetData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
706
751
|
_id: string;
|
|
707
752
|
_infinite?: boolean;
|
|
708
753
|
tags?: ReadonlyArray<string>;
|
|
709
754
|
}] & {
|
|
710
|
-
[dataTagSymbol]: import("../types.gen").
|
|
755
|
+
[dataTagSymbol]: import("../types.gen").Fleet;
|
|
711
756
|
[dataTagErrorSymbol]: Error;
|
|
712
757
|
};
|
|
713
758
|
};
|
|
714
759
|
/**
|
|
715
|
-
*
|
|
760
|
+
* Update fleet information.
|
|
716
761
|
*
|
|
717
|
-
* 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.
|
|
718
769
|
*
|
|
719
770
|
*/
|
|
720
|
-
export declare const
|
|
721
|
-
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"> & {
|
|
722
773
|
_id: string;
|
|
723
774
|
_infinite?: boolean;
|
|
724
775
|
tags?: ReadonlyArray<string>;
|
|
725
776
|
}];
|
|
726
777
|
/**
|
|
727
|
-
* List
|
|
778
|
+
* List charts.
|
|
728
779
|
*
|
|
729
|
-
* 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.
|
|
730
783
|
*
|
|
731
784
|
*/
|
|
732
|
-
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"> & {
|
|
733
786
|
_id: string;
|
|
734
787
|
_infinite?: boolean;
|
|
735
788
|
tags?: ReadonlyArray<string>;
|
|
736
789
|
}]>, "queryFn"> & {
|
|
737
|
-
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"> & {
|
|
738
791
|
_id: string;
|
|
739
792
|
_infinite?: boolean;
|
|
740
793
|
tags?: ReadonlyArray<string>;
|
|
741
794
|
}], never> | undefined;
|
|
742
795
|
} & {
|
|
743
|
-
queryKey: [Pick<Options<
|
|
796
|
+
queryKey: [Pick<Options<ListChartsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
744
797
|
_id: string;
|
|
745
798
|
_infinite?: boolean;
|
|
746
799
|
tags?: ReadonlyArray<string>;
|
|
747
800
|
}] & {
|
|
748
|
-
[dataTagSymbol]: import("../types.gen").
|
|
801
|
+
[dataTagSymbol]: import("../types.gen").Chart[];
|
|
749
802
|
[dataTagErrorSymbol]: Error;
|
|
750
803
|
};
|
|
751
804
|
};
|
|
752
|
-
export declare const listTagsQueryKey: (options: Options<ListTagsData>) => [Pick<Options<ListTagsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
753
|
-
_id: string;
|
|
754
|
-
_infinite?: boolean;
|
|
755
|
-
tags?: ReadonlyArray<string>;
|
|
756
|
-
}];
|
|
757
805
|
/**
|
|
758
|
-
*
|
|
806
|
+
* Create a new chart.
|
|
759
807
|
*
|
|
760
|
-
*
|
|
808
|
+
* Create a new chart deployment.
|
|
809
|
+
*
|
|
810
|
+
* This endpoint is available to administrators of the organization only.
|
|
761
811
|
*
|
|
762
812
|
*/
|
|
763
|
-
export declare const
|
|
764
|
-
_id: string;
|
|
765
|
-
_infinite?: boolean;
|
|
766
|
-
tags?: ReadonlyArray<string>;
|
|
767
|
-
}]>, "queryFn"> & {
|
|
768
|
-
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").RegistryRepositoryWithTags, [Pick<Options<ListTagsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
769
|
-
_id: string;
|
|
770
|
-
_infinite?: boolean;
|
|
771
|
-
tags?: ReadonlyArray<string>;
|
|
772
|
-
}], never> | undefined;
|
|
773
|
-
} & {
|
|
774
|
-
queryKey: [Pick<Options<ListTagsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
775
|
-
_id: string;
|
|
776
|
-
_infinite?: boolean;
|
|
777
|
-
tags?: ReadonlyArray<string>;
|
|
778
|
-
}] & {
|
|
779
|
-
[dataTagSymbol]: import("../types.gen").RegistryRepositoryWithTags;
|
|
780
|
-
[dataTagErrorSymbol]: Error;
|
|
781
|
-
};
|
|
782
|
-
};
|
|
813
|
+
export declare const createChartMutation: (options?: Partial<Options<CreateChartData>>) => UseMutationOptions<CreateChartResponse, CreateChartError, Options<CreateChartData>>;
|
|
783
814
|
/**
|
|
784
|
-
*
|
|
815
|
+
* Permanently delete the chart deployment from the cluster.
|
|
785
816
|
*
|
|
786
|
-
*
|
|
817
|
+
* This endpoint will permanently delete chart. This operation cannot be undone.
|
|
818
|
+
*
|
|
819
|
+
* This endpoint is available to administrators of the organization only.
|
|
787
820
|
*
|
|
788
821
|
*/
|
|
789
|
-
export declare const
|
|
790
|
-
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"> & {
|
|
791
824
|
_id: string;
|
|
792
825
|
_infinite?: boolean;
|
|
793
826
|
tags?: ReadonlyArray<string>;
|
|
794
827
|
}];
|
|
795
828
|
/**
|
|
796
|
-
* Get
|
|
829
|
+
* Get chart information.
|
|
797
830
|
*
|
|
798
|
-
* Returns
|
|
831
|
+
* Returns the details of the chart deployment.
|
|
832
|
+
*
|
|
833
|
+
* This endpoint is available to all users in the organization.
|
|
799
834
|
*
|
|
800
835
|
*/
|
|
801
|
-
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"> & {
|
|
802
837
|
_id: string;
|
|
803
838
|
_infinite?: boolean;
|
|
804
839
|
tags?: ReadonlyArray<string>;
|
|
805
840
|
}]>, "queryFn"> & {
|
|
806
|
-
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"> & {
|
|
807
842
|
_id: string;
|
|
808
843
|
_infinite?: boolean;
|
|
809
844
|
tags?: ReadonlyArray<string>;
|
|
810
845
|
}], never> | undefined;
|
|
811
846
|
} & {
|
|
812
|
-
queryKey: [Pick<Options<
|
|
847
|
+
queryKey: [Pick<Options<GetChartData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
813
848
|
_id: string;
|
|
814
849
|
_infinite?: boolean;
|
|
815
850
|
tags?: ReadonlyArray<string>;
|
|
816
851
|
}] & {
|
|
817
|
-
[dataTagSymbol]: import("../types.gen").
|
|
852
|
+
[dataTagSymbol]: import("../types.gen").Chart;
|
|
818
853
|
[dataTagErrorSymbol]: Error;
|
|
819
854
|
};
|
|
820
855
|
};
|
|
821
|
-
|
|
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"> & {
|
|
822
866
|
_id: string;
|
|
823
867
|
_infinite?: boolean;
|
|
824
868
|
tags?: ReadonlyArray<string>;
|
|
825
869
|
}];
|
|
826
870
|
/**
|
|
827
|
-
* List
|
|
871
|
+
* List clusters.
|
|
828
872
|
*
|
|
829
|
-
* Returns
|
|
873
|
+
* Returns a list of clusters under the current organization.
|
|
874
|
+
*
|
|
875
|
+
* This endpoint is available to all users in the organization.
|
|
830
876
|
*
|
|
831
877
|
*/
|
|
832
|
-
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"> & {
|
|
833
879
|
_id: string;
|
|
834
880
|
_infinite?: boolean;
|
|
835
881
|
tags?: ReadonlyArray<string>;
|
|
836
882
|
}]>, "queryFn"> & {
|
|
837
|
-
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"> & {
|
|
838
884
|
_id: string;
|
|
839
885
|
_infinite?: boolean;
|
|
840
886
|
tags?: ReadonlyArray<string>;
|
|
841
887
|
}], never> | undefined;
|
|
842
888
|
} & {
|
|
843
|
-
queryKey: [Pick<Options<
|
|
889
|
+
queryKey: [Pick<Options<ListClustersData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
844
890
|
_id: string;
|
|
845
891
|
_infinite?: boolean;
|
|
846
892
|
tags?: ReadonlyArray<string>;
|
|
847
893
|
}] & {
|
|
848
|
-
[dataTagSymbol]: import("../types.gen").
|
|
894
|
+
[dataTagSymbol]: import("../types.gen").Cluster[];
|
|
849
895
|
[dataTagErrorSymbol]: Error;
|
|
850
896
|
};
|
|
851
897
|
};
|
|
852
898
|
/**
|
|
853
|
-
* Create a new
|
|
899
|
+
* Create a new cluster.
|
|
854
900
|
*
|
|
855
|
-
*
|
|
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.
|
|
856
904
|
*
|
|
857
905
|
*/
|
|
858
|
-
export declare const
|
|
906
|
+
export declare const createClusterMutation: (options?: Partial<Options<CreateClusterData>>) => UseMutationOptions<CreateClusterResponse, CreateClusterError, Options<CreateClusterData>>;
|
|
859
907
|
/**
|
|
860
|
-
*
|
|
908
|
+
* Permanently delete cluster.
|
|
861
909
|
*
|
|
862
|
-
*
|
|
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.
|
|
863
915
|
*
|
|
864
916
|
*/
|
|
865
|
-
export declare const
|
|
866
|
-
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"> & {
|
|
867
919
|
_id: string;
|
|
868
920
|
_infinite?: boolean;
|
|
869
921
|
tags?: ReadonlyArray<string>;
|
|
870
922
|
}];
|
|
871
923
|
/**
|
|
872
|
-
* Get
|
|
924
|
+
* Get cluster information.
|
|
925
|
+
*
|
|
926
|
+
* Returns cluster details.
|
|
927
|
+
*
|
|
928
|
+
* This endpoint is available to all users in the organization.
|
|
929
|
+
*
|
|
873
930
|
*/
|
|
874
|
-
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"> & {
|
|
875
932
|
_id: string;
|
|
876
933
|
_infinite?: boolean;
|
|
877
934
|
tags?: ReadonlyArray<string>;
|
|
878
935
|
}]>, "queryFn"> & {
|
|
879
|
-
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"> & {
|
|
880
937
|
_id: string;
|
|
881
938
|
_infinite?: boolean;
|
|
882
939
|
tags?: ReadonlyArray<string>;
|
|
883
940
|
}], never> | undefined;
|
|
884
941
|
} & {
|
|
885
|
-
queryKey: [Pick<Options<
|
|
942
|
+
queryKey: [Pick<Options<GetClusterData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
886
943
|
_id: string;
|
|
887
944
|
_infinite?: boolean;
|
|
888
945
|
tags?: ReadonlyArray<string>;
|
|
889
946
|
}] & {
|
|
890
|
-
[dataTagSymbol]: import("../types.gen").
|
|
947
|
+
[dataTagSymbol]: import("../types.gen").Cluster;
|
|
891
948
|
[dataTagErrorSymbol]: Error;
|
|
892
949
|
};
|
|
893
950
|
};
|
|
894
951
|
/**
|
|
895
|
-
*
|
|
952
|
+
* Update cluster information.
|
|
896
953
|
*
|
|
897
|
-
*
|
|
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.
|
|
898
959
|
*
|
|
899
960
|
*/
|
|
900
|
-
export declare const
|
|
901
|
-
export declare const getTicketAttachmentQueryKey: (options: Options<GetTicketAttachmentData>) => [Pick<Options<GetTicketAttachmentData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
902
|
-
_id: string;
|
|
903
|
-
_infinite?: boolean;
|
|
904
|
-
tags?: ReadonlyArray<string>;
|
|
905
|
-
}];
|
|
961
|
+
export declare const updateClusterMutation: (options?: Partial<Options<UpdateClusterData>>) => UseMutationOptions<UpdateClusterResponse, UpdateClusterError, Options<UpdateClusterData>>;
|
|
906
962
|
/**
|
|
907
|
-
*
|
|
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
|
+
*
|
|
908
967
|
*/
|
|
909
|
-
export declare const
|
|
910
|
-
|
|
911
|
-
_infinite?: boolean;
|
|
912
|
-
tags?: ReadonlyArray<string>;
|
|
913
|
-
}]>, "queryFn"> & {
|
|
914
|
-
queryFn?: import("@tanstack/react-query").QueryFunction<Blob | File, [Pick<Options<GetTicketAttachmentData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
915
|
-
_id: string;
|
|
916
|
-
_infinite?: boolean;
|
|
917
|
-
tags?: ReadonlyArray<string>;
|
|
918
|
-
}], never> | undefined;
|
|
919
|
-
} & {
|
|
920
|
-
queryKey: [Pick<Options<GetTicketAttachmentData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
921
|
-
_id: string;
|
|
922
|
-
_infinite?: boolean;
|
|
923
|
-
tags?: ReadonlyArray<string>;
|
|
924
|
-
}] & {
|
|
925
|
-
[dataTagSymbol]: Blob | File;
|
|
926
|
-
[dataTagErrorSymbol]: Error;
|
|
927
|
-
};
|
|
928
|
-
};
|
|
929
|
-
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"> & {
|
|
930
970
|
_id: string;
|
|
931
971
|
_infinite?: boolean;
|
|
932
972
|
tags?: ReadonlyArray<string>;
|
|
933
973
|
}];
|
|
934
974
|
/**
|
|
935
|
-
*
|
|
975
|
+
* Get billing usage information.
|
|
936
976
|
*
|
|
937
|
-
*
|
|
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.
|
|
938
978
|
*
|
|
939
979
|
*/
|
|
940
|
-
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"> & {
|
|
941
981
|
_id: string;
|
|
942
982
|
_infinite?: boolean;
|
|
943
983
|
tags?: ReadonlyArray<string>;
|
|
944
984
|
}]>, "queryFn"> & {
|
|
945
|
-
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"> & {
|
|
946
986
|
_id: string;
|
|
947
987
|
_infinite?: boolean;
|
|
948
988
|
tags?: ReadonlyArray<string>;
|
|
949
989
|
}], never> | undefined;
|
|
950
990
|
} & {
|
|
951
|
-
queryKey: [Pick<Options<
|
|
991
|
+
queryKey: [Pick<Options<GetUsageData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
952
992
|
_id: string;
|
|
953
993
|
_infinite?: boolean;
|
|
954
994
|
tags?: ReadonlyArray<string>;
|
|
955
995
|
}] & {
|
|
956
|
-
[dataTagSymbol]: import("../types.gen").
|
|
996
|
+
[dataTagSymbol]: import("../types.gen").UsageResponse;
|
|
957
997
|
[dataTagErrorSymbol]: Error;
|
|
958
998
|
};
|
|
959
999
|
};
|
|
960
1000
|
/**
|
|
961
|
-
*
|
|
962
|
-
*
|
|
963
|
-
* 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.
|
|
964
|
-
*
|
|
965
|
-
* This endpoint is available to administrators of the organization only.
|
|
966
|
-
*
|
|
967
|
-
*/
|
|
968
|
-
export declare const createTokenMutation: (options?: Partial<Options<CreateTokenData>>) => UseMutationOptions<CreateTokenResponse, DefaultError, Options<CreateTokenData>>;
|
|
969
|
-
/**
|
|
970
|
-
* Permanently delete access token.
|
|
1001
|
+
* Get Stripe client secret.
|
|
971
1002
|
*
|
|
972
|
-
*
|
|
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.
|
|
973
1004
|
*
|
|
974
1005
|
*/
|
|
975
|
-
export declare const
|
|
976
|
-
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"> & {
|
|
977
1008
|
_id: string;
|
|
978
1009
|
_infinite?: boolean;
|
|
979
1010
|
tags?: ReadonlyArray<string>;
|
|
980
1011
|
}];
|
|
981
1012
|
/**
|
|
982
|
-
*
|
|
1013
|
+
* List organization payment methods.
|
|
983
1014
|
*
|
|
984
|
-
*
|
|
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.
|
|
985
1016
|
*
|
|
986
1017
|
*/
|
|
987
|
-
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"> & {
|
|
988
1019
|
_id: string;
|
|
989
1020
|
_infinite?: boolean;
|
|
990
1021
|
tags?: ReadonlyArray<string>;
|
|
991
1022
|
}]>, "queryFn"> & {
|
|
992
|
-
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"> & {
|
|
993
1024
|
_id: string;
|
|
994
1025
|
_infinite?: boolean;
|
|
995
1026
|
tags?: ReadonlyArray<string>;
|
|
996
1027
|
}], never> | undefined;
|
|
997
1028
|
} & {
|
|
998
|
-
queryKey: [Pick<Options<
|
|
1029
|
+
queryKey: [Pick<Options<ListPaymentMethodsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
999
1030
|
_id: string;
|
|
1000
1031
|
_infinite?: boolean;
|
|
1001
1032
|
tags?: ReadonlyArray<string>;
|
|
1002
1033
|
}] & {
|
|
1003
|
-
[dataTagSymbol]: import("../types.gen").
|
|
1034
|
+
[dataTagSymbol]: import("../types.gen").PaymentMethod[];
|
|
1004
1035
|
[dataTagErrorSymbol]: Error;
|
|
1005
1036
|
};
|
|
1006
1037
|
};
|
|
1007
1038
|
/**
|
|
1008
|
-
*
|
|
1009
|
-
*
|
|
1010
|
-
* 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.
|
|
1011
1040
|
*
|
|
1012
|
-
*
|
|
1041
|
+
* Sets the given payment method as the default used for invoices and active subscriptions. Requires the Administrator role.
|
|
1013
1042
|
*
|
|
1014
1043
|
*/
|
|
1015
|
-
export declare const
|
|
1044
|
+
export declare const setDefaultPaymentMethodMutation: (options?: Partial<Options<SetDefaultPaymentMethodData>>) => UseMutationOptions<SetDefaultPaymentMethodResponse, DefaultError, Options<SetDefaultPaymentMethodData>>;
|
|
1016
1045
|
/**
|
|
1017
|
-
*
|
|
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.
|
|
1018
1049
|
*
|
|
1019
|
-
* Generates a new access token secret. Old secret will not be valid anymore.
|
|
1020
1050
|
*/
|
|
1021
|
-
export declare const
|
|
1022
|
-
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"> & {
|
|
1023
1053
|
_id: string;
|
|
1024
1054
|
_infinite?: boolean;
|
|
1025
1055
|
tags?: ReadonlyArray<string>;
|
|
1026
1056
|
}];
|
|
1027
1057
|
/**
|
|
1028
|
-
*
|
|
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
|
+
*
|
|
1029
1062
|
*/
|
|
1030
|
-
export declare const
|
|
1031
|
-
realm?: string;
|
|
1032
|
-
displayName?: string;
|
|
1033
|
-
}[], Error, {
|
|
1034
|
-
realm?: string;
|
|
1035
|
-
displayName?: string;
|
|
1036
|
-
}[], [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"> & {
|
|
1037
1064
|
_id: string;
|
|
1038
1065
|
_infinite?: boolean;
|
|
1039
1066
|
tags?: ReadonlyArray<string>;
|
|
1040
1067
|
}]>, "queryFn"> & {
|
|
1041
|
-
queryFn?: import("@tanstack/react-query").QueryFunction<{
|
|
1042
|
-
realm?: string;
|
|
1043
|
-
displayName?: string;
|
|
1044
|
-
}[], [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"> & {
|
|
1045
1069
|
_id: string;
|
|
1046
1070
|
_infinite?: boolean;
|
|
1047
1071
|
tags?: ReadonlyArray<string>;
|
|
1048
1072
|
}], never> | undefined;
|
|
1049
1073
|
} & {
|
|
1050
|
-
queryKey: [Pick<Options<
|
|
1074
|
+
queryKey: [Pick<Options<ListInvoicesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1051
1075
|
_id: string;
|
|
1052
1076
|
_infinite?: boolean;
|
|
1053
1077
|
tags?: ReadonlyArray<string>;
|
|
1054
1078
|
}] & {
|
|
1055
|
-
[dataTagSymbol]:
|
|
1056
|
-
realm?: string;
|
|
1057
|
-
displayName?: string;
|
|
1058
|
-
}[];
|
|
1079
|
+
[dataTagSymbol]: import("../types.gen").Invoice[];
|
|
1059
1080
|
[dataTagErrorSymbol]: Error;
|
|
1060
1081
|
};
|
|
1061
1082
|
};
|
|
1062
|
-
export declare const
|
|
1083
|
+
export declare const getContactQueryKey: (options?: Options<GetContactData>) => [Pick<Options<GetContactData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1063
1084
|
_id: string;
|
|
1064
1085
|
_infinite?: boolean;
|
|
1065
1086
|
tags?: ReadonlyArray<string>;
|
|
1066
1087
|
}];
|
|
1067
1088
|
/**
|
|
1068
|
-
*
|
|
1069
|
-
*
|
|
1070
|
-
* 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.
|
|
1071
1090
|
*
|
|
1072
|
-
* 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.
|
|
1073
1092
|
*
|
|
1074
1093
|
*/
|
|
1075
|
-
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"> & {
|
|
1076
1095
|
_id: string;
|
|
1077
1096
|
_infinite?: boolean;
|
|
1078
1097
|
tags?: ReadonlyArray<string>;
|
|
1079
1098
|
}]>, "queryFn"> & {
|
|
1080
|
-
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"> & {
|
|
1081
1100
|
_id: string;
|
|
1082
1101
|
_infinite?: boolean;
|
|
1083
1102
|
tags?: ReadonlyArray<string>;
|
|
1084
1103
|
}], never> | undefined;
|
|
1085
1104
|
} & {
|
|
1086
|
-
queryKey: [Pick<Options<
|
|
1105
|
+
queryKey: [Pick<Options<GetContactData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1087
1106
|
_id: string;
|
|
1088
1107
|
_infinite?: boolean;
|
|
1089
1108
|
tags?: ReadonlyArray<string>;
|
|
1090
1109
|
}] & {
|
|
1091
|
-
[dataTagSymbol]: import("../types.gen").
|
|
1110
|
+
[dataTagSymbol]: import("../types.gen").BillingContact;
|
|
1092
1111
|
[dataTagErrorSymbol]: Error;
|
|
1093
1112
|
};
|
|
1094
1113
|
};
|
|
1095
1114
|
/**
|
|
1096
|
-
*
|
|
1097
|
-
*
|
|
1098
|
-
* 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.
|
|
1099
|
-
*
|
|
1100
|
-
*/
|
|
1101
|
-
export declare const createUserMutation: (options?: Partial<Options<CreateUserData>>) => UseMutationOptions<CreateUserResponse, DefaultError, Options<CreateUserData>>;
|
|
1102
|
-
/**
|
|
1103
|
-
* Delete user by id.
|
|
1115
|
+
* Update organization contact information and billing address.
|
|
1104
1116
|
*
|
|
1105
|
-
*
|
|
1117
|
+
* This endpoint allows you to update organization details with its contact information. This endpoint is available to administrators of the organization only.
|
|
1106
1118
|
*
|
|
1107
1119
|
*/
|
|
1108
|
-
export declare const
|
|
1109
|
-
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"> & {
|
|
1110
1122
|
_id: string;
|
|
1111
1123
|
_infinite?: boolean;
|
|
1112
1124
|
tags?: ReadonlyArray<string>;
|
|
1113
1125
|
}];
|
|
1114
1126
|
/**
|
|
1115
|
-
* Get
|
|
1116
|
-
*
|
|
1117
|
-
* 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
|
|
1118
1128
|
*
|
|
1119
|
-
* 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.
|
|
1120
1130
|
*
|
|
1121
1131
|
*/
|
|
1122
|
-
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"> & {
|
|
1123
1133
|
_id: string;
|
|
1124
1134
|
_infinite?: boolean;
|
|
1125
1135
|
tags?: ReadonlyArray<string>;
|
|
1126
1136
|
}]>, "queryFn"> & {
|
|
1127
|
-
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"> & {
|
|
1128
1138
|
_id: string;
|
|
1129
1139
|
_infinite?: boolean;
|
|
1130
1140
|
tags?: ReadonlyArray<string>;
|
|
1131
1141
|
}], never> | undefined;
|
|
1132
1142
|
} & {
|
|
1133
|
-
queryKey: [Pick<Options<
|
|
1143
|
+
queryKey: [Pick<Options<GetCreditsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1134
1144
|
_id: string;
|
|
1135
1145
|
_infinite?: boolean;
|
|
1136
1146
|
tags?: ReadonlyArray<string>;
|
|
1137
1147
|
}] & {
|
|
1138
|
-
[dataTagSymbol]: import("../types.gen").
|
|
1148
|
+
[dataTagSymbol]: import("../types.gen").BillingCredits[];
|
|
1139
1149
|
[dataTagErrorSymbol]: Error;
|
|
1140
1150
|
};
|
|
1141
1151
|
};
|
|
1142
1152
|
/**
|
|
1143
|
-
*
|
|
1153
|
+
* Redeem promotional credits code.
|
|
1144
1154
|
*
|
|
1145
|
-
*
|
|
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.
|
|
1146
1156
|
*
|
|
1147
1157
|
*/
|
|
1148
|
-
export declare const
|
|
1158
|
+
export declare const redeemCreditsMutation: (options?: Partial<Options<RedeemCreditsData>>) => UseMutationOptions<unknown, DefaultError, Options<RedeemCreditsData>>;
|
|
1149
1159
|
//# sourceMappingURL=react-query.gen.d.ts.map
|