@cloudfleet/sdk 0.0.1-bbca6e3 → 0.0.1-bc3dfb7
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 +437 -389
- package/dist/@tanstack/react-query.gen.d.ts.map +1 -1
- package/dist/@tanstack/react-query.gen.js +458 -410
- 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 +360 -177
- package/dist/schemas.gen.d.ts.map +1 -1
- package/dist/schemas.gen.js +493 -229
- package/dist/schemas.gen.js.map +1 -1
- package/dist/sdk.gen.d.ts +244 -220
- package/dist/sdk.gen.d.ts.map +1 -1
- package/dist/sdk.gen.js +353 -318
- package/dist/sdk.gen.js.map +1 -1
- package/dist/types.gen.d.ts +991 -804
- package/dist/types.gen.d.ts.map +1 -1
- package/dist/zod.gen.d.ts +1560 -1316
- package/dist/zod.gen.d.ts.map +1 -1
- package/dist/zod.gen.js +465 -314
- 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, GetBasicPriceConsentData, GetChartData, GetClusterData, GetContactData, GetCreditsData, GetFleetData, GetInviteData, GetJoinInformationData, GetJoinInformationError, GetJoinInformationResponse, GetMarketplaceChartFilesData, GetOrganizationData, GetPaymentMethodSecretData, GetPaymentMethodSecretResponse, GetTagData, GetTicketAttachmentData, GetTicketData, GetTokenData, GetUsageData, GetUserData, ListChartsData, ListClustersData, ListFleetsData, ListInvitesData, ListInvoicesData, ListMarketplaceChartsData, ListPaymentMethodsData, ListRepositoriesData, ListTagsData, ListTicketsData, ListTokensData, ListUserOrganizationsData, ListUsersData, PostMcpData, PostMcpResponse, QueryClusterData, RedeemCreditsData, RegenerateTokenData, RegenerateTokenResponse, ReplyTicketData, ReplyTicketResponse, SetBasicPriceConsentData, SetBasicPriceConsentResponse, SetDefaultPaymentMethodData, SetDefaultPaymentMethodResponse, UpdateChartData, UpdateChartError, UpdateChartResponse, UpdateClusterData, UpdateClusterError, UpdateClusterResponse, UpdateContactData, UpdateContactResponse, UpdateFleetData, UpdateFleetError, UpdateFleetResponse, UpdateTokenData, UpdateTokenResponse, UpdateUserData, UpdateUserResponse } from '../types.gen';
|
|
4
4
|
export type QueryKey<TOptions extends Options> = [
|
|
5
5
|
Pick<TOptions, 'baseUrl' | 'body' | 'headers' | 'path' | 'query'> & {
|
|
6
6
|
_id: string;
|
|
@@ -8,516 +8,588 @@ 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").Ticket[], Error, import("../types.gen").Ticket[], [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").Ticket[], [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").Ticket[];
|
|
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
|
};
|
|
378
|
-
|
|
379
|
-
* Update fleet information.
|
|
380
|
-
*
|
|
381
|
-
* This endpoint allows you to update fleet details.
|
|
382
|
-
*
|
|
383
|
-
* For more information, see [Fleets](https://cloudfleet.ai/docs/cloud-infrastructure/fleets/) section of documentaiton.
|
|
384
|
-
*
|
|
385
|
-
* This endpoint is available to administrators of the organization only.
|
|
386
|
-
*
|
|
387
|
-
*/
|
|
388
|
-
export declare const updateFleetMutation: (options?: Partial<Options<UpdateFleetData>>) => UseMutationOptions<UpdateFleetResponse, UpdateFleetError, Options<UpdateFleetData>>;
|
|
389
|
-
export declare const queryClusterQueryKey: (options: Options<QueryClusterData>) => [Pick<Options<QueryClusterData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
370
|
+
export declare const listTagsQueryKey: (options: Options<ListTagsData>) => [Pick<Options<ListTagsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
390
371
|
_id: string;
|
|
391
372
|
_infinite?: boolean;
|
|
392
373
|
tags?: ReadonlyArray<string>;
|
|
393
374
|
}];
|
|
394
375
|
/**
|
|
395
|
-
*
|
|
376
|
+
* List tags for a repository
|
|
377
|
+
*
|
|
378
|
+
* Returns a list of tags for a specific repository, including size and metadata for each tag. This endpoint is available to all users in the organization.
|
|
396
379
|
*
|
|
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
380
|
*/
|
|
399
|
-
export declare const
|
|
381
|
+
export declare const listTagsOptions: (options: Options<ListTagsData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").RegistryRepositoryWithTags, Error, import("../types.gen").RegistryRepositoryWithTags, [Pick<Options<ListTagsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
400
382
|
_id: string;
|
|
401
383
|
_infinite?: boolean;
|
|
402
384
|
tags?: ReadonlyArray<string>;
|
|
403
385
|
}]>, "queryFn"> & {
|
|
404
|
-
queryFn?: import("@tanstack/react-query").QueryFunction<
|
|
386
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").RegistryRepositoryWithTags, [Pick<Options<ListTagsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
405
387
|
_id: string;
|
|
406
388
|
_infinite?: boolean;
|
|
407
389
|
tags?: ReadonlyArray<string>;
|
|
408
390
|
}], never> | undefined;
|
|
409
391
|
} & {
|
|
410
|
-
queryKey: [Pick<Options<
|
|
392
|
+
queryKey: [Pick<Options<ListTagsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
411
393
|
_id: string;
|
|
412
394
|
_infinite?: boolean;
|
|
413
395
|
tags?: ReadonlyArray<string>;
|
|
414
396
|
}] & {
|
|
415
|
-
[dataTagSymbol]:
|
|
397
|
+
[dataTagSymbol]: import("../types.gen").RegistryRepositoryWithTags;
|
|
416
398
|
[dataTagErrorSymbol]: Error;
|
|
417
399
|
};
|
|
418
400
|
};
|
|
419
|
-
|
|
401
|
+
/**
|
|
402
|
+
* Delete tag
|
|
403
|
+
*
|
|
404
|
+
* Permanently deletes a specific tag from a repository. This endpoint is available to administrators of the organization only.
|
|
405
|
+
*
|
|
406
|
+
*/
|
|
407
|
+
export declare const deleteTagMutation: (options?: Partial<Options<DeleteTagData>>) => UseMutationOptions<unknown, DefaultError, Options<DeleteTagData>>;
|
|
408
|
+
export declare const getTagQueryKey: (options: Options<GetTagData>) => [Pick<Options<GetTagData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
420
409
|
_id: string;
|
|
421
410
|
_infinite?: boolean;
|
|
422
411
|
tags?: ReadonlyArray<string>;
|
|
423
412
|
}];
|
|
424
413
|
/**
|
|
425
|
-
*
|
|
414
|
+
* Get tag details
|
|
426
415
|
*
|
|
427
|
-
* Returns a
|
|
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.
|
|
417
|
+
*
|
|
418
|
+
*/
|
|
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"> & {
|
|
420
|
+
_id: string;
|
|
421
|
+
_infinite?: boolean;
|
|
422
|
+
tags?: ReadonlyArray<string>;
|
|
423
|
+
}]>, "queryFn"> & {
|
|
424
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").RegistryTag, [Pick<Options<GetTagData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
425
|
+
_id: string;
|
|
426
|
+
_infinite?: boolean;
|
|
427
|
+
tags?: ReadonlyArray<string>;
|
|
428
|
+
}], never> | undefined;
|
|
429
|
+
} & {
|
|
430
|
+
queryKey: [Pick<Options<GetTagData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
431
|
+
_id: string;
|
|
432
|
+
_infinite?: boolean;
|
|
433
|
+
tags?: ReadonlyArray<string>;
|
|
434
|
+
}] & {
|
|
435
|
+
[dataTagSymbol]: import("../types.gen").RegistryTag;
|
|
436
|
+
[dataTagErrorSymbol]: Error;
|
|
437
|
+
};
|
|
438
|
+
};
|
|
439
|
+
export declare const getOrganizationQueryKey: (options?: Options<GetOrganizationData>) => [Pick<Options<GetOrganizationData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
440
|
+
_id: string;
|
|
441
|
+
_infinite?: boolean;
|
|
442
|
+
tags?: ReadonlyArray<string>;
|
|
443
|
+
}];
|
|
444
|
+
/**
|
|
445
|
+
* Get organization information.
|
|
446
|
+
*
|
|
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>>;
|
|
479
|
+
export declare const getBasicPriceConsentQueryKey: (options?: Options<GetBasicPriceConsentData>) => [Pick<Options<GetBasicPriceConsentData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
480
|
+
_id: string;
|
|
481
|
+
_infinite?: boolean;
|
|
482
|
+
tags?: ReadonlyArray<string>;
|
|
483
|
+
}];
|
|
461
484
|
/**
|
|
462
|
-
*
|
|
485
|
+
* Get the organization's consent status for the new Basic price.
|
|
463
486
|
*
|
|
464
|
-
*
|
|
487
|
+
* Returns the organization's consent status for the migration from the free tier to the paid Basic plan. `pending` means an administrator must opt in; `not_applicable` means the organization is not in scope for the migration; `accepted` / `rejected` reflect a recorded decision.
|
|
465
488
|
*
|
|
466
|
-
*
|
|
489
|
+
* This endpoint is available to all users in the organization and drives the consent dialog in the console.
|
|
467
490
|
*
|
|
468
|
-
|
|
491
|
+
*/
|
|
492
|
+
export declare const getBasicPriceConsentOptions: (options?: Options<GetBasicPriceConsentData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").BasicPriceConsent, Error, import("../types.gen").BasicPriceConsent, [Pick<Options<GetBasicPriceConsentData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
493
|
+
_id: string;
|
|
494
|
+
_infinite?: boolean;
|
|
495
|
+
tags?: ReadonlyArray<string>;
|
|
496
|
+
}]>, "queryFn"> & {
|
|
497
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").BasicPriceConsent, [Pick<Options<GetBasicPriceConsentData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
498
|
+
_id: string;
|
|
499
|
+
_infinite?: boolean;
|
|
500
|
+
tags?: ReadonlyArray<string>;
|
|
501
|
+
}], never> | undefined;
|
|
502
|
+
} & {
|
|
503
|
+
queryKey: [Pick<Options<GetBasicPriceConsentData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
504
|
+
_id: string;
|
|
505
|
+
_infinite?: boolean;
|
|
506
|
+
tags?: ReadonlyArray<string>;
|
|
507
|
+
}] & {
|
|
508
|
+
[dataTagSymbol]: import("../types.gen").BasicPriceConsent;
|
|
509
|
+
[dataTagErrorSymbol]: Error;
|
|
510
|
+
};
|
|
511
|
+
};
|
|
512
|
+
/**
|
|
513
|
+
* Record an administrator's decision on the new Basic price.
|
|
514
|
+
*
|
|
515
|
+
* Records an affirmative decision to continue on the paid Basic plan (`accepted`) or to opt out (`rejected`). This is an organization-binding financial decision, so it is restricted to administrators. Each call appends an immutable audit entry (who and when) and sends a confirmation email to the acting administrator.
|
|
469
516
|
*
|
|
470
517
|
*/
|
|
471
|
-
export declare const
|
|
472
|
-
|
|
518
|
+
export declare const setBasicPriceConsentMutation: (options?: Partial<Options<SetBasicPriceConsentData>>) => UseMutationOptions<SetBasicPriceConsentResponse, DefaultError, Options<SetBasicPriceConsentData>>;
|
|
519
|
+
/**
|
|
520
|
+
* MCP endpoint
|
|
521
|
+
*
|
|
522
|
+
* MCP endpoint for handling Model Context Protocol JSON-RPC 2.0 messages.
|
|
523
|
+
*/
|
|
524
|
+
export declare const postMcpMutation: (options?: Partial<Options<PostMcpData>>) => UseMutationOptions<PostMcpResponse, DefaultError, Options<PostMcpData>>;
|
|
525
|
+
export declare const listMarketplaceChartsQueryKey: (options?: Options<ListMarketplaceChartsData>) => [Pick<Options<ListMarketplaceChartsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
473
526
|
_id: string;
|
|
474
527
|
_infinite?: boolean;
|
|
475
528
|
tags?: ReadonlyArray<string>;
|
|
476
529
|
}];
|
|
477
530
|
/**
|
|
478
|
-
*
|
|
531
|
+
* List chart listings available in the marketplace.
|
|
479
532
|
*
|
|
480
|
-
* Returns
|
|
533
|
+
* Returns a list of available charts in the marketplace.
|
|
481
534
|
*
|
|
482
535
|
* This endpoint is available to all users in the organization.
|
|
483
536
|
*
|
|
484
537
|
*/
|
|
485
|
-
export declare const
|
|
538
|
+
export declare const listMarketplaceChartsOptions: (options?: Options<ListMarketplaceChartsData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").MarketplaceListing[], Error, import("../types.gen").MarketplaceListing[], [Pick<Options<ListMarketplaceChartsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
486
539
|
_id: string;
|
|
487
540
|
_infinite?: boolean;
|
|
488
541
|
tags?: ReadonlyArray<string>;
|
|
489
542
|
}]>, "queryFn"> & {
|
|
490
|
-
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").
|
|
543
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").MarketplaceListing[], [Pick<Options<ListMarketplaceChartsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
491
544
|
_id: string;
|
|
492
545
|
_infinite?: boolean;
|
|
493
546
|
tags?: ReadonlyArray<string>;
|
|
494
547
|
}], never> | undefined;
|
|
495
548
|
} & {
|
|
496
|
-
queryKey: [Pick<Options<
|
|
549
|
+
queryKey: [Pick<Options<ListMarketplaceChartsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
497
550
|
_id: string;
|
|
498
551
|
_infinite?: boolean;
|
|
499
552
|
tags?: ReadonlyArray<string>;
|
|
500
553
|
}] & {
|
|
501
|
-
[dataTagSymbol]: import("../types.gen").
|
|
554
|
+
[dataTagSymbol]: import("../types.gen").MarketplaceListing[];
|
|
502
555
|
[dataTagErrorSymbol]: Error;
|
|
503
556
|
};
|
|
504
557
|
};
|
|
558
|
+
export declare const getMarketplaceChartFilesQueryKey: (options: Options<GetMarketplaceChartFilesData>) => [Pick<Options<GetMarketplaceChartFilesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
559
|
+
_id: string;
|
|
560
|
+
_infinite?: boolean;
|
|
561
|
+
tags?: ReadonlyArray<string>;
|
|
562
|
+
}];
|
|
505
563
|
/**
|
|
506
|
-
*
|
|
507
|
-
*
|
|
508
|
-
* 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.
|
|
564
|
+
* Get chart files for a specific version channel.
|
|
509
565
|
*
|
|
510
|
-
*
|
|
566
|
+
* Returns the Chart.yaml, values.yaml, and values.schema.json files for the latest version matching the specified version channel.
|
|
511
567
|
*
|
|
512
|
-
|
|
513
|
-
export declare const updateClusterMutation: (options?: Partial<Options<UpdateClusterData>>) => UseMutationOptions<UpdateClusterResponse, DefaultError, Options<UpdateClusterData>>;
|
|
514
|
-
/**
|
|
515
|
-
* Node join information for the cluster
|
|
568
|
+
* Version channels use patterns like "1.31.x-cfke.x" to match the latest patch version, or "1.x.x-cfke.x" to match the latest minor version.
|
|
516
569
|
*
|
|
517
|
-
*
|
|
570
|
+
* This endpoint is available to all users in the organization.
|
|
518
571
|
*
|
|
519
572
|
*/
|
|
520
|
-
export declare const
|
|
573
|
+
export declare const getMarketplaceChartFilesOptions: (options: Options<GetMarketplaceChartFilesData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").MarketplaceListingFiles, Error, import("../types.gen").MarketplaceListingFiles, [Pick<Options<GetMarketplaceChartFilesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
574
|
+
_id: string;
|
|
575
|
+
_infinite?: boolean;
|
|
576
|
+
tags?: ReadonlyArray<string>;
|
|
577
|
+
}]>, "queryFn"> & {
|
|
578
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").MarketplaceListingFiles, [Pick<Options<GetMarketplaceChartFilesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
579
|
+
_id: string;
|
|
580
|
+
_infinite?: boolean;
|
|
581
|
+
tags?: ReadonlyArray<string>;
|
|
582
|
+
}], never> | undefined;
|
|
583
|
+
} & {
|
|
584
|
+
queryKey: [Pick<Options<GetMarketplaceChartFilesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
585
|
+
_id: string;
|
|
586
|
+
_infinite?: boolean;
|
|
587
|
+
tags?: ReadonlyArray<string>;
|
|
588
|
+
}] & {
|
|
589
|
+
[dataTagSymbol]: import("../types.gen").MarketplaceListingFiles;
|
|
590
|
+
[dataTagErrorSymbol]: Error;
|
|
591
|
+
};
|
|
592
|
+
};
|
|
521
593
|
export declare const listInvitesQueryKey: (options?: Options<ListInvitesData>) => [Pick<Options<ListInvitesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
522
594
|
_id: string;
|
|
523
595
|
_infinite?: boolean;
|
|
@@ -606,546 +678,522 @@ export declare const getInviteOptions: (options: Options<GetInviteData>) => impo
|
|
|
606
678
|
*
|
|
607
679
|
*/
|
|
608
680
|
export declare const deleteInviteMutation: (options?: Partial<Options<DeleteInviteData>>) => UseMutationOptions<unknown, DefaultError, Options<DeleteInviteData>>;
|
|
609
|
-
export declare const
|
|
681
|
+
export declare const queryClusterQueryKey: (options: Options<QueryClusterData>) => [Pick<Options<QueryClusterData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
610
682
|
_id: string;
|
|
611
683
|
_infinite?: boolean;
|
|
612
684
|
tags?: ReadonlyArray<string>;
|
|
613
685
|
}];
|
|
614
686
|
/**
|
|
615
|
-
*
|
|
616
|
-
*
|
|
617
|
-
* Returns a list of available charts in the marketplace.
|
|
618
|
-
*
|
|
619
|
-
* This endpoint is available to all users in the organization.
|
|
687
|
+
* Query Kubernetes cluster API
|
|
620
688
|
*
|
|
689
|
+
* An API endpoint for directly querying a Kubernetes cluster API without requiring kubectl or other tools. This endpoint is ideal for automation and scripting, as well as for internal use in fetching data for the Cloudfleet Console. It acts as a passthrough to the Kubernetes API, allowing access to any valid Kubernetes API endpoint, including those not exposed in the Cloudfleet Console. The endpoint is strictly read-only, ensuring no modifications to the cluster state. It is accessible to all users within the organization and uses the same authentication mechanisms as other Cloudfleet API endpoints.
|
|
621
690
|
*/
|
|
622
|
-
export declare const
|
|
691
|
+
export declare const queryClusterOptions: (options: Options<QueryClusterData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<unknown, Error, unknown, [Pick<Options<QueryClusterData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
623
692
|
_id: string;
|
|
624
693
|
_infinite?: boolean;
|
|
625
694
|
tags?: ReadonlyArray<string>;
|
|
626
695
|
}]>, "queryFn"> & {
|
|
627
|
-
queryFn?: import("@tanstack/react-query").QueryFunction<
|
|
696
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<unknown, [Pick<Options<QueryClusterData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
628
697
|
_id: string;
|
|
629
698
|
_infinite?: boolean;
|
|
630
699
|
tags?: ReadonlyArray<string>;
|
|
631
700
|
}], never> | undefined;
|
|
632
701
|
} & {
|
|
633
|
-
queryKey: [Pick<Options<
|
|
702
|
+
queryKey: [Pick<Options<QueryClusterData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
634
703
|
_id: string;
|
|
635
704
|
_infinite?: boolean;
|
|
636
705
|
tags?: ReadonlyArray<string>;
|
|
637
706
|
}] & {
|
|
638
|
-
[dataTagSymbol]:
|
|
707
|
+
[dataTagSymbol]: unknown;
|
|
639
708
|
[dataTagErrorSymbol]: Error;
|
|
640
709
|
};
|
|
641
710
|
};
|
|
642
|
-
export declare const
|
|
711
|
+
export declare const listFleetsQueryKey: (options: Options<ListFleetsData>) => [Pick<Options<ListFleetsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
643
712
|
_id: string;
|
|
644
713
|
_infinite?: boolean;
|
|
645
714
|
tags?: ReadonlyArray<string>;
|
|
646
715
|
}];
|
|
647
716
|
/**
|
|
648
|
-
*
|
|
649
|
-
*
|
|
650
|
-
* Returns the Chart.yaml, values.yaml, and values.schema.json files for the latest version matching the specified version channel.
|
|
717
|
+
* List fleets.
|
|
651
718
|
*
|
|
652
|
-
*
|
|
719
|
+
* Returns a list of fleets belonging to the cluster. For more information, see [Fleets](https://cloudfleet.ai/docs/cloud-infrastructure/fleets/) section of documentaiton.
|
|
653
720
|
*
|
|
654
721
|
* This endpoint is available to all users in the organization.
|
|
655
722
|
*
|
|
656
723
|
*/
|
|
657
|
-
export declare const
|
|
724
|
+
export declare const listFleetsOptions: (options: Options<ListFleetsData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").Fleet[], Error, import("../types.gen").Fleet[], [Pick<Options<ListFleetsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
658
725
|
_id: string;
|
|
659
726
|
_infinite?: boolean;
|
|
660
727
|
tags?: ReadonlyArray<string>;
|
|
661
728
|
}]>, "queryFn"> & {
|
|
662
|
-
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").
|
|
729
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").Fleet[], [Pick<Options<ListFleetsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
663
730
|
_id: string;
|
|
664
731
|
_infinite?: boolean;
|
|
665
732
|
tags?: ReadonlyArray<string>;
|
|
666
733
|
}], never> | undefined;
|
|
667
734
|
} & {
|
|
668
|
-
queryKey: [Pick<Options<
|
|
735
|
+
queryKey: [Pick<Options<ListFleetsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
669
736
|
_id: string;
|
|
670
737
|
_infinite?: boolean;
|
|
671
738
|
tags?: ReadonlyArray<string>;
|
|
672
739
|
}] & {
|
|
673
|
-
[dataTagSymbol]: import("../types.gen").
|
|
740
|
+
[dataTagSymbol]: import("../types.gen").Fleet[];
|
|
674
741
|
[dataTagErrorSymbol]: Error;
|
|
675
742
|
};
|
|
676
743
|
};
|
|
677
744
|
/**
|
|
678
|
-
*
|
|
745
|
+
* Create a new fleet.
|
|
746
|
+
*
|
|
747
|
+
* Create a new fleet under the current organization. fleets allow you to to schedule workloads in cloud service provider accounts owned by you. For more information, see [Fleets](https://cloudfleet.ai/docs/cloud-infrastructure/fleets/) section of documentaiton.
|
|
748
|
+
*
|
|
749
|
+
* The cluster must be ready (status `deployed`) before a fleet can be added. Adding a fleet while the cluster is still provisioning returns `409`.
|
|
750
|
+
*
|
|
751
|
+
* This endpoint is available to administrators of the organization only.
|
|
679
752
|
*
|
|
680
|
-
* MCP endpoint for handling Model Context Protocol JSON-RPC 2.0 messages.
|
|
681
753
|
*/
|
|
682
|
-
export declare const
|
|
683
|
-
|
|
754
|
+
export declare const createFleetMutation: (options?: Partial<Options<CreateFleetData>>) => UseMutationOptions<CreateFleetResponse, CreateFleetError, Options<CreateFleetData>>;
|
|
755
|
+
/**
|
|
756
|
+
* Permanently delete fleet.
|
|
757
|
+
*
|
|
758
|
+
* This endpoint will permanently delete fleet. This operation cannot be undone. Your subscription will end by the end of the current billing period and you will not be able to receive credit for unused time. For more information, see [Fleets](https://cloudfleet.ai/docs/cloud-infrastructure/fleets/) section of documentaiton.
|
|
759
|
+
*
|
|
760
|
+
* Deleting a fleet does not deprovision the cloud infrastructure it provisioned: nodes and other resources keep running. Scale the cluster down first, or remove the infrastructure manually, to avoid orphaned resources.
|
|
761
|
+
*
|
|
762
|
+
* This endpoint is available to administrators of the organization only.
|
|
763
|
+
*
|
|
764
|
+
*/
|
|
765
|
+
export declare const deleteFleetMutation: (options?: Partial<Options<DeleteFleetData>>) => UseMutationOptions<DeleteFleetResponse, DeleteFleetError, Options<DeleteFleetData>>;
|
|
766
|
+
export declare const getFleetQueryKey: (options: Options<GetFleetData>) => [Pick<Options<GetFleetData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
684
767
|
_id: string;
|
|
685
768
|
_infinite?: boolean;
|
|
686
769
|
tags?: ReadonlyArray<string>;
|
|
687
770
|
}];
|
|
688
771
|
/**
|
|
689
|
-
* Get
|
|
772
|
+
* Get fleet information.
|
|
690
773
|
*
|
|
691
|
-
* Returns
|
|
774
|
+
* Returns fleet details. For more information, see [Fleets](https://cloudfleet.ai/docs/cloud-infrastructure/fleets/) section of documentaiton.
|
|
692
775
|
*
|
|
693
776
|
* This endpoint is available to all users in the organization.
|
|
694
777
|
*
|
|
695
778
|
*/
|
|
696
|
-
export declare const
|
|
779
|
+
export declare const getFleetOptions: (options: Options<GetFleetData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").Fleet, Error, import("../types.gen").Fleet, [Pick<Options<GetFleetData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
697
780
|
_id: string;
|
|
698
781
|
_infinite?: boolean;
|
|
699
782
|
tags?: ReadonlyArray<string>;
|
|
700
783
|
}]>, "queryFn"> & {
|
|
701
|
-
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").
|
|
784
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").Fleet, [Pick<Options<GetFleetData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
702
785
|
_id: string;
|
|
703
786
|
_infinite?: boolean;
|
|
704
787
|
tags?: ReadonlyArray<string>;
|
|
705
788
|
}], never> | undefined;
|
|
706
789
|
} & {
|
|
707
|
-
queryKey: [Pick<Options<
|
|
790
|
+
queryKey: [Pick<Options<GetFleetData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
708
791
|
_id: string;
|
|
709
792
|
_infinite?: boolean;
|
|
710
793
|
tags?: ReadonlyArray<string>;
|
|
711
794
|
}] & {
|
|
712
|
-
[dataTagSymbol]: import("../types.gen").
|
|
795
|
+
[dataTagSymbol]: import("../types.gen").Fleet;
|
|
713
796
|
[dataTagErrorSymbol]: Error;
|
|
714
797
|
};
|
|
715
798
|
};
|
|
716
799
|
/**
|
|
717
|
-
*
|
|
800
|
+
* Update fleet information.
|
|
718
801
|
*
|
|
719
|
-
* This endpoint allows you to
|
|
802
|
+
* This endpoint allows you to update fleet details.
|
|
803
|
+
*
|
|
804
|
+
* For more information, see [Fleets](https://cloudfleet.ai/docs/cloud-infrastructure/fleets/) section of documentaiton.
|
|
805
|
+
*
|
|
806
|
+
* This is a full overwrite: any field omitted from the request is reset to its default rather than left unchanged. The Hetzner API key is the exception: it is kept when omitted (send a new value to rotate it).
|
|
807
|
+
*
|
|
808
|
+
* This endpoint is available to administrators of the organization only.
|
|
720
809
|
*
|
|
721
810
|
*/
|
|
722
|
-
export declare const
|
|
723
|
-
export declare const
|
|
811
|
+
export declare const updateFleetMutation: (options?: Partial<Options<UpdateFleetData>>) => UseMutationOptions<UpdateFleetResponse, UpdateFleetError, Options<UpdateFleetData>>;
|
|
812
|
+
export declare const listChartsQueryKey: (options: Options<ListChartsData>) => [Pick<Options<ListChartsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
724
813
|
_id: string;
|
|
725
814
|
_infinite?: boolean;
|
|
726
815
|
tags?: ReadonlyArray<string>;
|
|
727
816
|
}];
|
|
728
817
|
/**
|
|
729
|
-
* List
|
|
818
|
+
* List charts.
|
|
730
819
|
*
|
|
731
|
-
* Returns a list of
|
|
820
|
+
* Returns a list of charts in the cluster.
|
|
821
|
+
*
|
|
822
|
+
* This endpoint is available to all users in the organization.
|
|
732
823
|
*
|
|
733
824
|
*/
|
|
734
|
-
export declare const
|
|
825
|
+
export declare const listChartsOptions: (options: Options<ListChartsData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").Chart[], Error, import("../types.gen").Chart[], [Pick<Options<ListChartsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
735
826
|
_id: string;
|
|
736
827
|
_infinite?: boolean;
|
|
737
828
|
tags?: ReadonlyArray<string>;
|
|
738
829
|
}]>, "queryFn"> & {
|
|
739
|
-
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").
|
|
830
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").Chart[], [Pick<Options<ListChartsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
740
831
|
_id: string;
|
|
741
832
|
_infinite?: boolean;
|
|
742
833
|
tags?: ReadonlyArray<string>;
|
|
743
834
|
}], never> | undefined;
|
|
744
835
|
} & {
|
|
745
|
-
queryKey: [Pick<Options<
|
|
836
|
+
queryKey: [Pick<Options<ListChartsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
746
837
|
_id: string;
|
|
747
838
|
_infinite?: boolean;
|
|
748
839
|
tags?: ReadonlyArray<string>;
|
|
749
840
|
}] & {
|
|
750
|
-
[dataTagSymbol]: import("../types.gen").
|
|
841
|
+
[dataTagSymbol]: import("../types.gen").Chart[];
|
|
751
842
|
[dataTagErrorSymbol]: Error;
|
|
752
843
|
};
|
|
753
844
|
};
|
|
754
|
-
export declare const listTagsQueryKey: (options: Options<ListTagsData>) => [Pick<Options<ListTagsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
755
|
-
_id: string;
|
|
756
|
-
_infinite?: boolean;
|
|
757
|
-
tags?: ReadonlyArray<string>;
|
|
758
|
-
}];
|
|
759
845
|
/**
|
|
760
|
-
*
|
|
846
|
+
* Create a new chart.
|
|
761
847
|
*
|
|
762
|
-
*
|
|
848
|
+
* Create a new chart deployment.
|
|
849
|
+
*
|
|
850
|
+
* This endpoint is available to administrators of the organization only.
|
|
763
851
|
*
|
|
764
852
|
*/
|
|
765
|
-
export declare const
|
|
766
|
-
_id: string;
|
|
767
|
-
_infinite?: boolean;
|
|
768
|
-
tags?: ReadonlyArray<string>;
|
|
769
|
-
}]>, "queryFn"> & {
|
|
770
|
-
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").RegistryRepositoryWithTags, [Pick<Options<ListTagsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
771
|
-
_id: string;
|
|
772
|
-
_infinite?: boolean;
|
|
773
|
-
tags?: ReadonlyArray<string>;
|
|
774
|
-
}], never> | undefined;
|
|
775
|
-
} & {
|
|
776
|
-
queryKey: [Pick<Options<ListTagsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
777
|
-
_id: string;
|
|
778
|
-
_infinite?: boolean;
|
|
779
|
-
tags?: ReadonlyArray<string>;
|
|
780
|
-
}] & {
|
|
781
|
-
[dataTagSymbol]: import("../types.gen").RegistryRepositoryWithTags;
|
|
782
|
-
[dataTagErrorSymbol]: Error;
|
|
783
|
-
};
|
|
784
|
-
};
|
|
853
|
+
export declare const createChartMutation: (options?: Partial<Options<CreateChartData>>) => UseMutationOptions<CreateChartResponse, CreateChartError, Options<CreateChartData>>;
|
|
785
854
|
/**
|
|
786
|
-
*
|
|
855
|
+
* Permanently delete the chart deployment from the cluster.
|
|
787
856
|
*
|
|
788
|
-
*
|
|
857
|
+
* This endpoint will permanently delete chart. This operation cannot be undone.
|
|
858
|
+
*
|
|
859
|
+
* This endpoint is available to administrators of the organization only.
|
|
789
860
|
*
|
|
790
861
|
*/
|
|
791
|
-
export declare const
|
|
792
|
-
export declare const
|
|
862
|
+
export declare const deleteChartMutation: (options?: Partial<Options<DeleteChartData>>) => UseMutationOptions<DeleteChartResponse, DeleteChartError, Options<DeleteChartData>>;
|
|
863
|
+
export declare const getChartQueryKey: (options: Options<GetChartData>) => [Pick<Options<GetChartData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
793
864
|
_id: string;
|
|
794
865
|
_infinite?: boolean;
|
|
795
866
|
tags?: ReadonlyArray<string>;
|
|
796
867
|
}];
|
|
797
868
|
/**
|
|
798
|
-
* Get
|
|
869
|
+
* Get chart information.
|
|
799
870
|
*
|
|
800
|
-
* Returns
|
|
871
|
+
* Returns the details of the chart deployment.
|
|
872
|
+
*
|
|
873
|
+
* This endpoint is available to all users in the organization.
|
|
801
874
|
*
|
|
802
875
|
*/
|
|
803
|
-
export declare const
|
|
876
|
+
export declare const getChartOptions: (options: Options<GetChartData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").Chart, Error, import("../types.gen").Chart, [Pick<Options<GetChartData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
804
877
|
_id: string;
|
|
805
878
|
_infinite?: boolean;
|
|
806
879
|
tags?: ReadonlyArray<string>;
|
|
807
880
|
}]>, "queryFn"> & {
|
|
808
|
-
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").
|
|
881
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").Chart, [Pick<Options<GetChartData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
809
882
|
_id: string;
|
|
810
883
|
_infinite?: boolean;
|
|
811
884
|
tags?: ReadonlyArray<string>;
|
|
812
885
|
}], never> | undefined;
|
|
813
886
|
} & {
|
|
814
|
-
queryKey: [Pick<Options<
|
|
887
|
+
queryKey: [Pick<Options<GetChartData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
815
888
|
_id: string;
|
|
816
889
|
_infinite?: boolean;
|
|
817
890
|
tags?: ReadonlyArray<string>;
|
|
818
891
|
}] & {
|
|
819
|
-
[dataTagSymbol]: import("../types.gen").
|
|
892
|
+
[dataTagSymbol]: import("../types.gen").Chart;
|
|
820
893
|
[dataTagErrorSymbol]: Error;
|
|
821
894
|
};
|
|
822
895
|
};
|
|
823
|
-
|
|
896
|
+
/**
|
|
897
|
+
* Update chart information.
|
|
898
|
+
*
|
|
899
|
+
* This endpoint allows you to update the values of a chart deployment.
|
|
900
|
+
*
|
|
901
|
+
* This endpoint is available to administrators of the organization only.
|
|
902
|
+
*
|
|
903
|
+
*/
|
|
904
|
+
export declare const updateChartMutation: (options?: Partial<Options<UpdateChartData>>) => UseMutationOptions<UpdateChartResponse, UpdateChartError, Options<UpdateChartData>>;
|
|
905
|
+
export declare const listClustersQueryKey: (options?: Options<ListClustersData>) => [Pick<Options<ListClustersData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
824
906
|
_id: string;
|
|
825
907
|
_infinite?: boolean;
|
|
826
908
|
tags?: ReadonlyArray<string>;
|
|
827
909
|
}];
|
|
828
910
|
/**
|
|
829
|
-
* List
|
|
911
|
+
* List clusters.
|
|
830
912
|
*
|
|
831
|
-
* Returns
|
|
913
|
+
* Returns a list of clusters under the current organization.
|
|
914
|
+
*
|
|
915
|
+
* This endpoint is available to all users in the organization.
|
|
832
916
|
*
|
|
833
917
|
*/
|
|
834
|
-
export declare const
|
|
918
|
+
export declare const listClustersOptions: (options?: Options<ListClustersData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").Cluster[], Error, import("../types.gen").Cluster[], [Pick<Options<ListClustersData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
835
919
|
_id: string;
|
|
836
920
|
_infinite?: boolean;
|
|
837
921
|
tags?: ReadonlyArray<string>;
|
|
838
922
|
}]>, "queryFn"> & {
|
|
839
|
-
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").
|
|
923
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").Cluster[], [Pick<Options<ListClustersData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
840
924
|
_id: string;
|
|
841
925
|
_infinite?: boolean;
|
|
842
926
|
tags?: ReadonlyArray<string>;
|
|
843
927
|
}], never> | undefined;
|
|
844
928
|
} & {
|
|
845
|
-
queryKey: [Pick<Options<
|
|
929
|
+
queryKey: [Pick<Options<ListClustersData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
846
930
|
_id: string;
|
|
847
931
|
_infinite?: boolean;
|
|
848
932
|
tags?: ReadonlyArray<string>;
|
|
849
933
|
}] & {
|
|
850
|
-
[dataTagSymbol]: import("../types.gen").
|
|
934
|
+
[dataTagSymbol]: import("../types.gen").Cluster[];
|
|
851
935
|
[dataTagErrorSymbol]: Error;
|
|
852
936
|
};
|
|
853
937
|
};
|
|
854
938
|
/**
|
|
855
|
-
* Create a new
|
|
939
|
+
* Create a new cluster.
|
|
856
940
|
*
|
|
857
|
-
*
|
|
941
|
+
* Create a new cluster under the current organization. Clusters allow you to group resources and you can create multiple clusters under the same organization, with billing delegated to the parent organization.
|
|
942
|
+
*
|
|
943
|
+
* This endpoint is available to administrators of the organization only.
|
|
858
944
|
*
|
|
859
945
|
*/
|
|
860
|
-
export declare const
|
|
946
|
+
export declare const createClusterMutation: (options?: Partial<Options<CreateClusterData>>) => UseMutationOptions<CreateClusterResponse, CreateClusterError, Options<CreateClusterData>>;
|
|
861
947
|
/**
|
|
862
|
-
*
|
|
948
|
+
* Permanently delete cluster.
|
|
863
949
|
*
|
|
864
|
-
*
|
|
950
|
+
* This endpoint will permanently delete the cluster. This operation cannot be undone.
|
|
951
|
+
*
|
|
952
|
+
* Deleting a cluster also deletes its fleets. This does not deprovision the cloud infrastructure those fleets provisioned: nodes and other resources keep running. Scale the cluster down first, or remove the infrastructure manually, to avoid orphaned resources.
|
|
953
|
+
*
|
|
954
|
+
* This endpoint is available to administrators of the organization only.
|
|
865
955
|
*
|
|
866
956
|
*/
|
|
867
|
-
export declare const
|
|
868
|
-
export declare const
|
|
957
|
+
export declare const deleteClusterMutation: (options?: Partial<Options<DeleteClusterData>>) => UseMutationOptions<DeleteClusterResponse, DeleteClusterError, Options<DeleteClusterData>>;
|
|
958
|
+
export declare const getClusterQueryKey: (options: Options<GetClusterData>) => [Pick<Options<GetClusterData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
869
959
|
_id: string;
|
|
870
960
|
_infinite?: boolean;
|
|
871
961
|
tags?: ReadonlyArray<string>;
|
|
872
962
|
}];
|
|
873
963
|
/**
|
|
874
|
-
* Get
|
|
964
|
+
* Get cluster information.
|
|
965
|
+
*
|
|
966
|
+
* Returns cluster details.
|
|
967
|
+
*
|
|
968
|
+
* This endpoint is available to all users in the organization.
|
|
969
|
+
*
|
|
875
970
|
*/
|
|
876
|
-
export declare const
|
|
971
|
+
export declare const getClusterOptions: (options: Options<GetClusterData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").Cluster, Error, import("../types.gen").Cluster, [Pick<Options<GetClusterData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
877
972
|
_id: string;
|
|
878
973
|
_infinite?: boolean;
|
|
879
974
|
tags?: ReadonlyArray<string>;
|
|
880
975
|
}]>, "queryFn"> & {
|
|
881
|
-
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").
|
|
976
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").Cluster, [Pick<Options<GetClusterData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
882
977
|
_id: string;
|
|
883
978
|
_infinite?: boolean;
|
|
884
979
|
tags?: ReadonlyArray<string>;
|
|
885
980
|
}], never> | undefined;
|
|
886
981
|
} & {
|
|
887
|
-
queryKey: [Pick<Options<
|
|
982
|
+
queryKey: [Pick<Options<GetClusterData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
888
983
|
_id: string;
|
|
889
984
|
_infinite?: boolean;
|
|
890
985
|
tags?: ReadonlyArray<string>;
|
|
891
986
|
}] & {
|
|
892
|
-
[dataTagSymbol]: import("../types.gen").
|
|
987
|
+
[dataTagSymbol]: import("../types.gen").Cluster;
|
|
893
988
|
[dataTagErrorSymbol]: Error;
|
|
894
989
|
};
|
|
895
990
|
};
|
|
896
991
|
/**
|
|
897
|
-
*
|
|
992
|
+
* Update cluster information.
|
|
898
993
|
*
|
|
899
|
-
*
|
|
994
|
+
* This endpoint allows you to update cluster details. For more information about clusters, see [Clusters](https://cloudfleet.ai/docs/cluster-management/cluster-types/) section of documentation.
|
|
995
|
+
*
|
|
996
|
+
* This is a full overwrite: any field omitted from the request is reset to its default rather than left unchanged.
|
|
997
|
+
*
|
|
998
|
+
* This endpoint is available to administrators of the organization only.
|
|
900
999
|
*
|
|
901
1000
|
*/
|
|
902
|
-
export declare const
|
|
903
|
-
export declare const getTicketAttachmentQueryKey: (options: Options<GetTicketAttachmentData>) => [Pick<Options<GetTicketAttachmentData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
904
|
-
_id: string;
|
|
905
|
-
_infinite?: boolean;
|
|
906
|
-
tags?: ReadonlyArray<string>;
|
|
907
|
-
}];
|
|
1001
|
+
export declare const updateClusterMutation: (options?: Partial<Options<UpdateClusterData>>) => UseMutationOptions<UpdateClusterResponse, UpdateClusterError, Options<UpdateClusterData>>;
|
|
908
1002
|
/**
|
|
909
|
-
*
|
|
1003
|
+
* Node join information for the cluster
|
|
1004
|
+
*
|
|
1005
|
+
* Returns the join information for the cluster. This information is used to add a self-managed nodes to the CFKE cluster. This endpoint is available to only admins of the organization.
|
|
1006
|
+
*
|
|
910
1007
|
*/
|
|
911
|
-
export declare const
|
|
912
|
-
|
|
913
|
-
_infinite?: boolean;
|
|
914
|
-
tags?: ReadonlyArray<string>;
|
|
915
|
-
}]>, "queryFn"> & {
|
|
916
|
-
queryFn?: import("@tanstack/react-query").QueryFunction<Blob | File, [Pick<Options<GetTicketAttachmentData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
917
|
-
_id: string;
|
|
918
|
-
_infinite?: boolean;
|
|
919
|
-
tags?: ReadonlyArray<string>;
|
|
920
|
-
}], never> | undefined;
|
|
921
|
-
} & {
|
|
922
|
-
queryKey: [Pick<Options<GetTicketAttachmentData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
923
|
-
_id: string;
|
|
924
|
-
_infinite?: boolean;
|
|
925
|
-
tags?: ReadonlyArray<string>;
|
|
926
|
-
}] & {
|
|
927
|
-
[dataTagSymbol]: Blob | File;
|
|
928
|
-
[dataTagErrorSymbol]: Error;
|
|
929
|
-
};
|
|
930
|
-
};
|
|
931
|
-
export declare const listTokensQueryKey: (options?: Options<ListTokensData>) => [Pick<Options<ListTokensData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1008
|
+
export declare const getJoinInformationMutation: (options?: Partial<Options<GetJoinInformationData>>) => UseMutationOptions<GetJoinInformationResponse, GetJoinInformationError, Options<GetJoinInformationData>>;
|
|
1009
|
+
export declare const getUsageQueryKey: (options?: Options<GetUsageData>) => [Pick<Options<GetUsageData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
932
1010
|
_id: string;
|
|
933
1011
|
_infinite?: boolean;
|
|
934
1012
|
tags?: ReadonlyArray<string>;
|
|
935
1013
|
}];
|
|
936
1014
|
/**
|
|
937
|
-
*
|
|
1015
|
+
* Get billing usage information.
|
|
938
1016
|
*
|
|
939
|
-
*
|
|
1017
|
+
* Returns aggregated usage information for the organization with facets for filtering. For more information on billing and payments, see [Billing and pricing](https://cloudfleet.ai/docs/organization/billing/) section of documentaiton. This endpoint is available to all users in the organization.
|
|
940
1018
|
*
|
|
941
1019
|
*/
|
|
942
|
-
export declare const
|
|
1020
|
+
export declare const getUsageOptions: (options?: Options<GetUsageData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").UsageResponse, Error, import("../types.gen").UsageResponse, [Pick<Options<GetUsageData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
943
1021
|
_id: string;
|
|
944
1022
|
_infinite?: boolean;
|
|
945
1023
|
tags?: ReadonlyArray<string>;
|
|
946
1024
|
}]>, "queryFn"> & {
|
|
947
|
-
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").
|
|
1025
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").UsageResponse, [Pick<Options<GetUsageData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
948
1026
|
_id: string;
|
|
949
1027
|
_infinite?: boolean;
|
|
950
1028
|
tags?: ReadonlyArray<string>;
|
|
951
1029
|
}], never> | undefined;
|
|
952
1030
|
} & {
|
|
953
|
-
queryKey: [Pick<Options<
|
|
1031
|
+
queryKey: [Pick<Options<GetUsageData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
954
1032
|
_id: string;
|
|
955
1033
|
_infinite?: boolean;
|
|
956
1034
|
tags?: ReadonlyArray<string>;
|
|
957
1035
|
}] & {
|
|
958
|
-
[dataTagSymbol]: import("../types.gen").
|
|
1036
|
+
[dataTagSymbol]: import("../types.gen").UsageResponse;
|
|
959
1037
|
[dataTagErrorSymbol]: Error;
|
|
960
1038
|
};
|
|
961
1039
|
};
|
|
962
1040
|
/**
|
|
963
|
-
*
|
|
964
|
-
*
|
|
965
|
-
* 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.
|
|
966
|
-
*
|
|
967
|
-
* This endpoint is available to administrators of the organization only.
|
|
968
|
-
*
|
|
969
|
-
*/
|
|
970
|
-
export declare const createTokenMutation: (options?: Partial<Options<CreateTokenData>>) => UseMutationOptions<CreateTokenResponse, DefaultError, Options<CreateTokenData>>;
|
|
971
|
-
/**
|
|
972
|
-
* Permanently delete access token.
|
|
1041
|
+
* Get Stripe client secret.
|
|
973
1042
|
*
|
|
974
|
-
*
|
|
1043
|
+
* Endpoint returns the Stripe secret key for the organization. This key is used to securely update the payment method in the Cloudfleet console only, please visit https://console.cloudfleet.ai. This endpoint is available to administrators of the organization only.
|
|
975
1044
|
*
|
|
976
1045
|
*/
|
|
977
|
-
export declare const
|
|
978
|
-
export declare const
|
|
1046
|
+
export declare const getPaymentMethodSecretMutation: (options?: Partial<Options<GetPaymentMethodSecretData>>) => UseMutationOptions<GetPaymentMethodSecretResponse, DefaultError, Options<GetPaymentMethodSecretData>>;
|
|
1047
|
+
export declare const listPaymentMethodsQueryKey: (options?: Options<ListPaymentMethodsData>) => [Pick<Options<ListPaymentMethodsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
979
1048
|
_id: string;
|
|
980
1049
|
_infinite?: boolean;
|
|
981
1050
|
tags?: ReadonlyArray<string>;
|
|
982
1051
|
}];
|
|
983
1052
|
/**
|
|
984
|
-
*
|
|
1053
|
+
* List organization payment methods.
|
|
985
1054
|
*
|
|
986
|
-
*
|
|
1055
|
+
* Returns all payment methods (cards and SEPA Direct Debit) attached to the organization, most recently added first, with the default flagged. This endpoint is available to all users in the organization.
|
|
987
1056
|
*
|
|
988
1057
|
*/
|
|
989
|
-
export declare const
|
|
1058
|
+
export declare const listPaymentMethodsOptions: (options?: Options<ListPaymentMethodsData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").PaymentMethod[], Error, import("../types.gen").PaymentMethod[], [Pick<Options<ListPaymentMethodsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
990
1059
|
_id: string;
|
|
991
1060
|
_infinite?: boolean;
|
|
992
1061
|
tags?: ReadonlyArray<string>;
|
|
993
1062
|
}]>, "queryFn"> & {
|
|
994
|
-
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").
|
|
1063
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").PaymentMethod[], [Pick<Options<ListPaymentMethodsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
995
1064
|
_id: string;
|
|
996
1065
|
_infinite?: boolean;
|
|
997
1066
|
tags?: ReadonlyArray<string>;
|
|
998
1067
|
}], never> | undefined;
|
|
999
1068
|
} & {
|
|
1000
|
-
queryKey: [Pick<Options<
|
|
1069
|
+
queryKey: [Pick<Options<ListPaymentMethodsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1001
1070
|
_id: string;
|
|
1002
1071
|
_infinite?: boolean;
|
|
1003
1072
|
tags?: ReadonlyArray<string>;
|
|
1004
1073
|
}] & {
|
|
1005
|
-
[dataTagSymbol]: import("../types.gen").
|
|
1074
|
+
[dataTagSymbol]: import("../types.gen").PaymentMethod[];
|
|
1006
1075
|
[dataTagErrorSymbol]: Error;
|
|
1007
1076
|
};
|
|
1008
1077
|
};
|
|
1009
1078
|
/**
|
|
1010
|
-
*
|
|
1011
|
-
*
|
|
1012
|
-
* 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.
|
|
1079
|
+
* Set the default payment method.
|
|
1013
1080
|
*
|
|
1014
|
-
*
|
|
1081
|
+
* Sets the given payment method as the default used for invoices and active subscriptions. Requires the Administrator role.
|
|
1015
1082
|
*
|
|
1016
1083
|
*/
|
|
1017
|
-
export declare const
|
|
1084
|
+
export declare const setDefaultPaymentMethodMutation: (options?: Partial<Options<SetDefaultPaymentMethodData>>) => UseMutationOptions<SetDefaultPaymentMethodResponse, DefaultError, Options<SetDefaultPaymentMethodData>>;
|
|
1018
1085
|
/**
|
|
1019
|
-
*
|
|
1086
|
+
* Delete a payment method.
|
|
1087
|
+
*
|
|
1088
|
+
* Detaches the given payment method from the organization. Requires the Administrator role. An organization must keep at least one payment method, so deleting the only remaining method is rejected.
|
|
1020
1089
|
*
|
|
1021
|
-
* Generates a new access token secret. Old secret will not be valid anymore.
|
|
1022
1090
|
*/
|
|
1023
|
-
export declare const
|
|
1024
|
-
export declare const
|
|
1091
|
+
export declare const deletePaymentMethodMutation: (options?: Partial<Options<DeletePaymentMethodData>>) => UseMutationOptions<DeletePaymentMethodResponse, DefaultError, Options<DeletePaymentMethodData>>;
|
|
1092
|
+
export declare const listInvoicesQueryKey: (options?: Options<ListInvoicesData>) => [Pick<Options<ListInvoicesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1025
1093
|
_id: string;
|
|
1026
1094
|
_infinite?: boolean;
|
|
1027
1095
|
tags?: ReadonlyArray<string>;
|
|
1028
1096
|
}];
|
|
1029
1097
|
/**
|
|
1030
|
-
*
|
|
1098
|
+
* List issued invoices.
|
|
1099
|
+
*
|
|
1100
|
+
* Returns a list of invoices for the organization. For more information on billing and payments, see [Billing and pricing](https://cloudfleet.ai/docs/organization/billing/) section of documentaiton. This endpoint is available to all users in the organization.
|
|
1101
|
+
*
|
|
1031
1102
|
*/
|
|
1032
|
-
export declare const
|
|
1033
|
-
realm?: string;
|
|
1034
|
-
displayName?: string;
|
|
1035
|
-
}[], Error, {
|
|
1036
|
-
realm?: string;
|
|
1037
|
-
displayName?: string;
|
|
1038
|
-
}[], [Pick<Options<ListUserOrganizationsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1103
|
+
export declare const listInvoicesOptions: (options?: Options<ListInvoicesData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").Invoice[], Error, import("../types.gen").Invoice[], [Pick<Options<ListInvoicesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1039
1104
|
_id: string;
|
|
1040
1105
|
_infinite?: boolean;
|
|
1041
1106
|
tags?: ReadonlyArray<string>;
|
|
1042
1107
|
}]>, "queryFn"> & {
|
|
1043
|
-
queryFn?: import("@tanstack/react-query").QueryFunction<{
|
|
1044
|
-
realm?: string;
|
|
1045
|
-
displayName?: string;
|
|
1046
|
-
}[], [Pick<Options<ListUserOrganizationsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1108
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").Invoice[], [Pick<Options<ListInvoicesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1047
1109
|
_id: string;
|
|
1048
1110
|
_infinite?: boolean;
|
|
1049
1111
|
tags?: ReadonlyArray<string>;
|
|
1050
1112
|
}], never> | undefined;
|
|
1051
1113
|
} & {
|
|
1052
|
-
queryKey: [Pick<Options<
|
|
1114
|
+
queryKey: [Pick<Options<ListInvoicesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1053
1115
|
_id: string;
|
|
1054
1116
|
_infinite?: boolean;
|
|
1055
1117
|
tags?: ReadonlyArray<string>;
|
|
1056
1118
|
}] & {
|
|
1057
|
-
[dataTagSymbol]:
|
|
1058
|
-
realm?: string;
|
|
1059
|
-
displayName?: string;
|
|
1060
|
-
}[];
|
|
1119
|
+
[dataTagSymbol]: import("../types.gen").Invoice[];
|
|
1061
1120
|
[dataTagErrorSymbol]: Error;
|
|
1062
1121
|
};
|
|
1063
1122
|
};
|
|
1064
|
-
export declare const
|
|
1123
|
+
export declare const getContactQueryKey: (options?: Options<GetContactData>) => [Pick<Options<GetContactData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1065
1124
|
_id: string;
|
|
1066
1125
|
_infinite?: boolean;
|
|
1067
1126
|
tags?: ReadonlyArray<string>;
|
|
1068
1127
|
}];
|
|
1069
1128
|
/**
|
|
1070
|
-
*
|
|
1071
|
-
*
|
|
1072
|
-
* 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.
|
|
1129
|
+
* Get organization contact and billing address information.
|
|
1073
1130
|
*
|
|
1074
|
-
* This endpoint is available to all users in the organization.
|
|
1131
|
+
* Returns the organization contact and billing address information. This endpoint is available to all users in the organization.
|
|
1075
1132
|
*
|
|
1076
1133
|
*/
|
|
1077
|
-
export declare const
|
|
1134
|
+
export declare const getContactOptions: (options?: Options<GetContactData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").BillingContact, Error, import("../types.gen").BillingContact, [Pick<Options<GetContactData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1078
1135
|
_id: string;
|
|
1079
1136
|
_infinite?: boolean;
|
|
1080
1137
|
tags?: ReadonlyArray<string>;
|
|
1081
1138
|
}]>, "queryFn"> & {
|
|
1082
|
-
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").
|
|
1139
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").BillingContact, [Pick<Options<GetContactData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1083
1140
|
_id: string;
|
|
1084
1141
|
_infinite?: boolean;
|
|
1085
1142
|
tags?: ReadonlyArray<string>;
|
|
1086
1143
|
}], never> | undefined;
|
|
1087
1144
|
} & {
|
|
1088
|
-
queryKey: [Pick<Options<
|
|
1145
|
+
queryKey: [Pick<Options<GetContactData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1089
1146
|
_id: string;
|
|
1090
1147
|
_infinite?: boolean;
|
|
1091
1148
|
tags?: ReadonlyArray<string>;
|
|
1092
1149
|
}] & {
|
|
1093
|
-
[dataTagSymbol]: import("../types.gen").
|
|
1150
|
+
[dataTagSymbol]: import("../types.gen").BillingContact;
|
|
1094
1151
|
[dataTagErrorSymbol]: Error;
|
|
1095
1152
|
};
|
|
1096
1153
|
};
|
|
1097
1154
|
/**
|
|
1098
|
-
*
|
|
1099
|
-
*
|
|
1100
|
-
* 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.
|
|
1101
|
-
*
|
|
1102
|
-
*/
|
|
1103
|
-
export declare const createUserMutation: (options?: Partial<Options<CreateUserData>>) => UseMutationOptions<CreateUserResponse, DefaultError, Options<CreateUserData>>;
|
|
1104
|
-
/**
|
|
1105
|
-
* Delete user by id.
|
|
1155
|
+
* Update organization contact information and billing address.
|
|
1106
1156
|
*
|
|
1107
|
-
*
|
|
1157
|
+
* This endpoint allows you to update organization details with its contact information. This endpoint is available to administrators of the organization only.
|
|
1108
1158
|
*
|
|
1109
1159
|
*/
|
|
1110
|
-
export declare const
|
|
1111
|
-
export declare const
|
|
1160
|
+
export declare const updateContactMutation: (options?: Partial<Options<UpdateContactData>>) => UseMutationOptions<UpdateContactResponse, DefaultError, Options<UpdateContactData>>;
|
|
1161
|
+
export declare const getCreditsQueryKey: (options?: Options<GetCreditsData>) => [Pick<Options<GetCreditsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1112
1162
|
_id: string;
|
|
1113
1163
|
_infinite?: boolean;
|
|
1114
1164
|
tags?: ReadonlyArray<string>;
|
|
1115
1165
|
}];
|
|
1116
1166
|
/**
|
|
1117
|
-
* Get
|
|
1118
|
-
*
|
|
1119
|
-
* Returns user details including their roles. For more information on identity access management, see [Users](https://cloudfleet.ai/docs/organization/users/) section of documentaiton.
|
|
1167
|
+
* Get applied promotional credits
|
|
1120
1168
|
*
|
|
1121
|
-
* This endpoint is available to all users in the organization.
|
|
1169
|
+
* Returns applied promotional credits for the organization. For more information on billing and payments, see [Billing and pricing](https://cloudfleet.ai/docs/organization/billing/) section of documentaiton. This endpoint is available to all users in the organization.
|
|
1122
1170
|
*
|
|
1123
1171
|
*/
|
|
1124
|
-
export declare const
|
|
1172
|
+
export declare const getCreditsOptions: (options?: Options<GetCreditsData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").BillingCredits[], Error, import("../types.gen").BillingCredits[], [Pick<Options<GetCreditsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1125
1173
|
_id: string;
|
|
1126
1174
|
_infinite?: boolean;
|
|
1127
1175
|
tags?: ReadonlyArray<string>;
|
|
1128
1176
|
}]>, "queryFn"> & {
|
|
1129
|
-
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").
|
|
1177
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").BillingCredits[], [Pick<Options<GetCreditsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1130
1178
|
_id: string;
|
|
1131
1179
|
_infinite?: boolean;
|
|
1132
1180
|
tags?: ReadonlyArray<string>;
|
|
1133
1181
|
}], never> | undefined;
|
|
1134
1182
|
} & {
|
|
1135
|
-
queryKey: [Pick<Options<
|
|
1183
|
+
queryKey: [Pick<Options<GetCreditsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1136
1184
|
_id: string;
|
|
1137
1185
|
_infinite?: boolean;
|
|
1138
1186
|
tags?: ReadonlyArray<string>;
|
|
1139
1187
|
}] & {
|
|
1140
|
-
[dataTagSymbol]: import("../types.gen").
|
|
1188
|
+
[dataTagSymbol]: import("../types.gen").BillingCredits[];
|
|
1141
1189
|
[dataTagErrorSymbol]: Error;
|
|
1142
1190
|
};
|
|
1143
1191
|
};
|
|
1144
1192
|
/**
|
|
1145
|
-
*
|
|
1193
|
+
* Redeem promotional credits code.
|
|
1146
1194
|
*
|
|
1147
|
-
*
|
|
1195
|
+
* Applies promotional credits for the organization. For more information on billing and payments, see [Billing and pricing](https://cloudfleet.ai/docs/organization/billing/) section of documentaiton. This endpoint is available to all users in the organization.
|
|
1148
1196
|
*
|
|
1149
1197
|
*/
|
|
1150
|
-
export declare const
|
|
1198
|
+
export declare const redeemCreditsMutation: (options?: Partial<Options<RedeemCreditsData>>) => UseMutationOptions<unknown, DefaultError, Options<RedeemCreditsData>>;
|
|
1151
1199
|
//# sourceMappingURL=react-query.gen.d.ts.map
|