@cloudfleet/sdk 0.0.1-bbca6e3 → 0.0.1-bd45f1a
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 +384 -386
- package/dist/@tanstack/react-query.gen.d.ts.map +1 -1
- package/dist/@tanstack/react-query.gen.js +410 -412
- 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 +281 -28
- package/dist/schemas.gen.d.ts.map +1 -1
- package/dist/schemas.gen.js +361 -48
- package/dist/schemas.gen.js.map +1 -1
- package/dist/sdk.gen.d.ts +223 -225
- package/dist/sdk.gen.d.ts.map +1 -1
- package/dist/sdk.gen.js +324 -326
- package/dist/sdk.gen.js.map +1 -1
- package/dist/types.gen.d.ts +937 -738
- package/dist/types.gen.d.ts.map +1 -1
- package/dist/zod.gen.d.ts +1453 -1281
- package/dist/zod.gen.d.ts.map +1 -1
- package/dist/zod.gen.js +390 -276
- package/dist/zod.gen.js.map +1 -1
- package/package.json +8 -11
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type DefaultError, type UseMutationOptions } from '@tanstack/react-query';
|
|
2
2
|
import { type Options } from '../sdk.gen';
|
|
3
|
-
import type { CloseTicketData, CloseTicketResponse, CreateChartData, CreateChartResponse, CreateClusterData, CreateClusterError, CreateClusterResponse, CreateFleetData, CreateFleetError, CreateFleetResponse, CreateInviteData, CreateInviteResponse, CreateOrganizationData, CreateOrganizationResponse, CreateTicketData, CreateTicketResponse, CreateTokenData, CreateTokenResponse, CreateUserData, CreateUserResponse, DeleteChartData, DeleteChartResponse, DeleteClusterData, DeleteClusterResponse, DeleteFleetData, DeleteFleetResponse, DeleteInviteData, DeletePaymentMethodData, DeletePaymentMethodResponse, DeleteTagData, DeleteTokenData, DeleteUserData, DeleteUserResponse, GetChartData, GetClusterData, GetContactData, GetCreditsData, GetFleetData, GetInviteData, GetJoinInformationData, GetJoinInformationResponse, GetMarketplaceChartFilesData, GetOrganizationData, GetPaymentMethodSecretData, GetPaymentMethodSecretResponse, GetTagData, GetTicketAttachmentData, GetTicketData, GetTokenData, GetUsageData, GetUserData, ListChartsData, ListClustersData, ListFleetsData, ListInvitesData, ListInvoicesData, ListMarketplaceChartsData, ListPaymentMethodsData, ListRepositoriesData, ListTagsData, ListTicketsData, ListTokensData, ListUserOrganizationsData, ListUsersData, PostMcpData, PostMcpResponse, QueryClusterData, RedeemCreditsData, RegenerateTokenData, RegenerateTokenResponse, ReplyTicketData, ReplyTicketResponse, SetDefaultPaymentMethodData, SetDefaultPaymentMethodResponse, UpdateChartData, UpdateChartResponse, UpdateClusterData, UpdateClusterResponse, UpdateContactData, UpdateContactResponse, UpdateFleetData, UpdateFleetError, UpdateFleetResponse, UpdateTokenData, UpdateTokenResponse, UpdateUserData, UpdateUserResponse } from '../types.gen';
|
|
3
|
+
import type { CloseTicketData, CloseTicketResponse, CreateChartData, CreateChartError, CreateChartResponse, CreateClusterData, CreateClusterError, CreateClusterResponse, CreateFleetData, CreateFleetError, CreateFleetResponse, CreateInviteData, CreateInviteResponse, CreateOrganizationData, CreateOrganizationResponse, CreateTicketData, CreateTicketResponse, CreateTokenData, CreateTokenResponse, CreateUserData, CreateUserResponse, DeleteChartData, DeleteChartError, DeleteChartResponse, DeleteClusterData, DeleteClusterError, DeleteClusterResponse, DeleteFleetData, DeleteFleetError, DeleteFleetResponse, DeleteInviteData, DeletePaymentMethodData, DeletePaymentMethodResponse, DeleteTagData, DeleteTokenData, DeleteUserData, DeleteUserResponse, GetChartData, GetClusterData, GetContactData, GetCreditsData, GetFleetData, GetInviteData, GetJoinInformationData, GetJoinInformationError, GetJoinInformationResponse, GetMarketplaceChartFilesData, GetOrganizationData, GetPaymentMethodSecretData, GetPaymentMethodSecretResponse, GetTagData, GetTicketAttachmentData, GetTicketData, GetTokenData, GetUsageData, GetUserData, ListChartsData, ListClustersData, ListFleetsData, ListInvitesData, ListInvoicesData, ListMarketplaceChartsData, ListPaymentMethodsData, ListRepositoriesData, ListTagsData, ListTicketsData, ListTokensData, ListUserOrganizationsData, ListUsersData, PostMcpData, PostMcpResponse, QueryClusterData, RedeemCreditsData, RegenerateTokenData, RegenerateTokenResponse, ReplyTicketData, ReplyTicketResponse, SetDefaultPaymentMethodData, SetDefaultPaymentMethodResponse, UpdateChartData, UpdateChartError, UpdateChartResponse, UpdateClusterData, UpdateClusterError, UpdateClusterResponse, UpdateContactData, UpdateContactResponse, UpdateFleetData, UpdateFleetError, UpdateFleetResponse, UpdateTokenData, UpdateTokenResponse, UpdateUserData, UpdateUserResponse } from '../types.gen';
|
|
4
4
|
export type QueryKey<TOptions extends Options> = [
|
|
5
5
|
Pick<TOptions, 'baseUrl' | 'body' | 'headers' | 'path' | 'query'> & {
|
|
6
6
|
_id: string;
|
|
@@ -8,516 +8,548 @@ export type QueryKey<TOptions extends Options> = [
|
|
|
8
8
|
tags?: ReadonlyArray<string>;
|
|
9
9
|
}
|
|
10
10
|
];
|
|
11
|
-
export declare const
|
|
11
|
+
export declare const listUserOrganizationsQueryKey: (options: Options<ListUserOrganizationsData>) => [Pick<Options<ListUserOrganizationsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
12
12
|
_id: string;
|
|
13
13
|
_infinite?: boolean;
|
|
14
14
|
tags?: ReadonlyArray<string>;
|
|
15
15
|
}];
|
|
16
16
|
/**
|
|
17
|
-
* Get
|
|
18
|
-
*
|
|
19
|
-
* Returns aggregated usage information for the organization with facets for filtering. For more information on billing and payments, see [Billing and pricing](https://cloudfleet.ai/docs/organization/billing/) section of documentaiton. This endpoint is available to all users in the organization.
|
|
20
|
-
*
|
|
17
|
+
* Get a list of organizations the user belongs to. Used during authentication process.
|
|
21
18
|
*/
|
|
22
|
-
export declare const
|
|
19
|
+
export declare const listUserOrganizationsOptions: (options: Options<ListUserOrganizationsData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
|
|
20
|
+
realm?: string;
|
|
21
|
+
displayName?: string;
|
|
22
|
+
}[], Error, {
|
|
23
|
+
realm?: string;
|
|
24
|
+
displayName?: string;
|
|
25
|
+
}[], [Pick<Options<ListUserOrganizationsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
23
26
|
_id: string;
|
|
24
27
|
_infinite?: boolean;
|
|
25
28
|
tags?: ReadonlyArray<string>;
|
|
26
29
|
}]>, "queryFn"> & {
|
|
27
|
-
queryFn?: import("@tanstack/react-query").QueryFunction<
|
|
30
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<{
|
|
31
|
+
realm?: string;
|
|
32
|
+
displayName?: string;
|
|
33
|
+
}[], [Pick<Options<ListUserOrganizationsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
28
34
|
_id: string;
|
|
29
35
|
_infinite?: boolean;
|
|
30
36
|
tags?: ReadonlyArray<string>;
|
|
31
37
|
}], never> | undefined;
|
|
32
38
|
} & {
|
|
33
|
-
queryKey: [Pick<Options<
|
|
39
|
+
queryKey: [Pick<Options<ListUserOrganizationsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
34
40
|
_id: string;
|
|
35
41
|
_infinite?: boolean;
|
|
36
42
|
tags?: ReadonlyArray<string>;
|
|
37
43
|
}] & {
|
|
38
|
-
[dataTagSymbol]:
|
|
44
|
+
[dataTagSymbol]: {
|
|
45
|
+
realm?: string;
|
|
46
|
+
displayName?: string;
|
|
47
|
+
}[];
|
|
39
48
|
[dataTagErrorSymbol]: Error;
|
|
40
49
|
};
|
|
41
50
|
};
|
|
42
|
-
|
|
43
|
-
* Get Stripe client secret.
|
|
44
|
-
*
|
|
45
|
-
* Endpoint returns the Stripe secret key for the organization. This key is used to securely update the payment method in the Cloudfleet console only, please visit https://console.cloudfleet.ai. This endpoint is available to administrators of the organization only.
|
|
46
|
-
*
|
|
47
|
-
*/
|
|
48
|
-
export declare const getPaymentMethodSecretMutation: (options?: Partial<Options<GetPaymentMethodSecretData>>) => UseMutationOptions<GetPaymentMethodSecretResponse, DefaultError, Options<GetPaymentMethodSecretData>>;
|
|
49
|
-
export declare const listPaymentMethodsQueryKey: (options?: Options<ListPaymentMethodsData>) => [Pick<Options<ListPaymentMethodsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
51
|
+
export declare const listUsersQueryKey: (options?: Options<ListUsersData>) => [Pick<Options<ListUsersData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
50
52
|
_id: string;
|
|
51
53
|
_infinite?: boolean;
|
|
52
54
|
tags?: ReadonlyArray<string>;
|
|
53
55
|
}];
|
|
54
56
|
/**
|
|
55
|
-
* List
|
|
57
|
+
* List users in organization.
|
|
56
58
|
*
|
|
57
|
-
* Returns
|
|
59
|
+
* Returns a list of user details and their roles. For more information on identity access management, see [Users](https://cloudfleet.ai/docs/organization/users/) section of documentaiton.
|
|
60
|
+
*
|
|
61
|
+
* This endpoint is available to all users in the organization.
|
|
58
62
|
*
|
|
59
63
|
*/
|
|
60
|
-
export declare const
|
|
64
|
+
export declare const listUsersOptions: (options?: Options<ListUsersData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").User[], Error, import("../types.gen").User[], [Pick<Options<ListUsersData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
61
65
|
_id: string;
|
|
62
66
|
_infinite?: boolean;
|
|
63
67
|
tags?: ReadonlyArray<string>;
|
|
64
68
|
}]>, "queryFn"> & {
|
|
65
|
-
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").
|
|
69
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").User[], [Pick<Options<ListUsersData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
66
70
|
_id: string;
|
|
67
71
|
_infinite?: boolean;
|
|
68
72
|
tags?: ReadonlyArray<string>;
|
|
69
73
|
}], never> | undefined;
|
|
70
74
|
} & {
|
|
71
|
-
queryKey: [Pick<Options<
|
|
75
|
+
queryKey: [Pick<Options<ListUsersData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
72
76
|
_id: string;
|
|
73
77
|
_infinite?: boolean;
|
|
74
78
|
tags?: ReadonlyArray<string>;
|
|
75
79
|
}] & {
|
|
76
|
-
[dataTagSymbol]: import("../types.gen").
|
|
80
|
+
[dataTagSymbol]: import("../types.gen").User[];
|
|
77
81
|
[dataTagErrorSymbol]: Error;
|
|
78
82
|
};
|
|
79
83
|
};
|
|
80
84
|
/**
|
|
81
|
-
*
|
|
85
|
+
* Create a new user.
|
|
82
86
|
*
|
|
83
|
-
*
|
|
87
|
+
* Create a new user in your Cloudfleet organization. Requires a valid invite code generated by the `invites create` command. The invite code is a unique string that can be used only once to create a new user. The invite code is generated by the `POST /invites` endpoint.
|
|
84
88
|
*
|
|
85
89
|
*/
|
|
86
|
-
export declare const
|
|
90
|
+
export declare const createUserMutation: (options?: Partial<Options<CreateUserData>>) => UseMutationOptions<CreateUserResponse, DefaultError, Options<CreateUserData>>;
|
|
87
91
|
/**
|
|
88
|
-
* Delete
|
|
92
|
+
* Delete user by id.
|
|
89
93
|
*
|
|
90
|
-
*
|
|
94
|
+
* Sets user status to `inactive`. Inactive users cannot log in and manage organization resources. This endpoint is available to administrators of the organization only.
|
|
91
95
|
*
|
|
92
96
|
*/
|
|
93
|
-
export declare const
|
|
94
|
-
export declare const
|
|
97
|
+
export declare const deleteUserMutation: (options?: Partial<Options<DeleteUserData>>) => UseMutationOptions<DeleteUserResponse, DefaultError, Options<DeleteUserData>>;
|
|
98
|
+
export declare const getUserQueryKey: (options: Options<GetUserData>) => [Pick<Options<GetUserData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
95
99
|
_id: string;
|
|
96
100
|
_infinite?: boolean;
|
|
97
101
|
tags?: ReadonlyArray<string>;
|
|
98
102
|
}];
|
|
99
103
|
/**
|
|
100
|
-
*
|
|
104
|
+
* Get user profile information by id.
|
|
101
105
|
*
|
|
102
|
-
* Returns
|
|
106
|
+
* Returns user details including their roles. For more information on identity access management, see [Users](https://cloudfleet.ai/docs/organization/users/) section of documentaiton.
|
|
107
|
+
*
|
|
108
|
+
* This endpoint is available to all users in the organization.
|
|
103
109
|
*
|
|
104
110
|
*/
|
|
105
|
-
export declare const
|
|
111
|
+
export declare const getUserOptions: (options: Options<GetUserData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").User, Error, import("../types.gen").User, [Pick<Options<GetUserData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
106
112
|
_id: string;
|
|
107
113
|
_infinite?: boolean;
|
|
108
114
|
tags?: ReadonlyArray<string>;
|
|
109
115
|
}]>, "queryFn"> & {
|
|
110
|
-
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").
|
|
116
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").User, [Pick<Options<GetUserData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
111
117
|
_id: string;
|
|
112
118
|
_infinite?: boolean;
|
|
113
119
|
tags?: ReadonlyArray<string>;
|
|
114
120
|
}], never> | undefined;
|
|
115
121
|
} & {
|
|
116
|
-
queryKey: [Pick<Options<
|
|
122
|
+
queryKey: [Pick<Options<GetUserData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
117
123
|
_id: string;
|
|
118
124
|
_infinite?: boolean;
|
|
119
125
|
tags?: ReadonlyArray<string>;
|
|
120
126
|
}] & {
|
|
121
|
-
[dataTagSymbol]: import("../types.gen").
|
|
127
|
+
[dataTagSymbol]: import("../types.gen").User;
|
|
122
128
|
[dataTagErrorSymbol]: Error;
|
|
123
129
|
};
|
|
124
130
|
};
|
|
125
|
-
|
|
131
|
+
/**
|
|
132
|
+
* Update user profile information.
|
|
133
|
+
*
|
|
134
|
+
* Update user profile information: email, first name, last name, role. This endpoint can be accessed by administrators and the user itself. Role and status can be changed by administrators only.
|
|
135
|
+
*
|
|
136
|
+
*/
|
|
137
|
+
export declare const updateUserMutation: (options?: Partial<Options<UpdateUserData>>) => UseMutationOptions<UpdateUserResponse, DefaultError, Options<UpdateUserData>>;
|
|
138
|
+
export declare const listTokensQueryKey: (options?: Options<ListTokensData>) => [Pick<Options<ListTokensData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
126
139
|
_id: string;
|
|
127
140
|
_infinite?: boolean;
|
|
128
141
|
tags?: ReadonlyArray<string>;
|
|
129
142
|
}];
|
|
130
143
|
/**
|
|
131
|
-
*
|
|
144
|
+
* List access tokens in organization.
|
|
132
145
|
*
|
|
133
|
-
*
|
|
146
|
+
* This endpoint allows you to get a list of all access tokens details in organization. For more information about identity access management and security, see [Service Accounts](https://cloudfleet.ai/docs/organization/api-tokens/) section of documentaiton. This endpoint is available to all users in the organization.
|
|
134
147
|
*
|
|
135
148
|
*/
|
|
136
|
-
export declare const
|
|
149
|
+
export declare const listTokensOptions: (options?: Options<ListTokensData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").Token[], Error, import("../types.gen").Token[], [Pick<Options<ListTokensData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
137
150
|
_id: string;
|
|
138
151
|
_infinite?: boolean;
|
|
139
152
|
tags?: ReadonlyArray<string>;
|
|
140
153
|
}]>, "queryFn"> & {
|
|
141
|
-
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").
|
|
154
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").Token[], [Pick<Options<ListTokensData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
142
155
|
_id: string;
|
|
143
156
|
_infinite?: boolean;
|
|
144
157
|
tags?: ReadonlyArray<string>;
|
|
145
158
|
}], never> | undefined;
|
|
146
159
|
} & {
|
|
147
|
-
queryKey: [Pick<Options<
|
|
160
|
+
queryKey: [Pick<Options<ListTokensData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
148
161
|
_id: string;
|
|
149
162
|
_infinite?: boolean;
|
|
150
163
|
tags?: ReadonlyArray<string>;
|
|
151
164
|
}] & {
|
|
152
|
-
[dataTagSymbol]: import("../types.gen").
|
|
165
|
+
[dataTagSymbol]: import("../types.gen").Token[];
|
|
153
166
|
[dataTagErrorSymbol]: Error;
|
|
154
167
|
};
|
|
155
168
|
};
|
|
156
169
|
/**
|
|
157
|
-
*
|
|
170
|
+
* Create a new access token.
|
|
158
171
|
*
|
|
159
|
-
* This endpoint allows you to
|
|
172
|
+
* This endpoint allows you to create a new access token. For more information about identity access management and security, see [Service Accounts](https://cloudfleet.ai/docs/organization/api-tokens/) section of documentaiton.
|
|
173
|
+
*
|
|
174
|
+
* This endpoint is available to administrators of the organization only.
|
|
160
175
|
*
|
|
161
176
|
*/
|
|
162
|
-
export declare const
|
|
163
|
-
|
|
177
|
+
export declare const createTokenMutation: (options?: Partial<Options<CreateTokenData>>) => UseMutationOptions<CreateTokenResponse, DefaultError, Options<CreateTokenData>>;
|
|
178
|
+
/**
|
|
179
|
+
* Permanently delete access token.
|
|
180
|
+
*
|
|
181
|
+
* This endpoint allows you to delete an access token. For more information about identity access management and security, see [Service Accounts](https://cloudfleet.ai/docs/organization/api-tokens/) section of documentaiton. This endpoint is available to administrators of the organization only.
|
|
182
|
+
*
|
|
183
|
+
*/
|
|
184
|
+
export declare const deleteTokenMutation: (options?: Partial<Options<DeleteTokenData>>) => UseMutationOptions<unknown, DefaultError, Options<DeleteTokenData>>;
|
|
185
|
+
export declare const getTokenQueryKey: (options: Options<GetTokenData>) => [Pick<Options<GetTokenData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
164
186
|
_id: string;
|
|
165
187
|
_infinite?: boolean;
|
|
166
188
|
tags?: ReadonlyArray<string>;
|
|
167
189
|
}];
|
|
168
190
|
/**
|
|
169
|
-
* Get
|
|
191
|
+
* Get access token information.
|
|
170
192
|
*
|
|
171
|
-
*
|
|
193
|
+
* This endpoint allows you to get access token details. For more information about identity access management and security, see [Service Accounts](https://cloudfleet.ai/docs/organization/api-tokens/) section of documentaiton. This endpoint is available to all users in the organization.
|
|
172
194
|
*
|
|
173
195
|
*/
|
|
174
|
-
export declare const
|
|
196
|
+
export declare const getTokenOptions: (options: Options<GetTokenData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").Token, Error, import("../types.gen").Token, [Pick<Options<GetTokenData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
175
197
|
_id: string;
|
|
176
198
|
_infinite?: boolean;
|
|
177
199
|
tags?: ReadonlyArray<string>;
|
|
178
200
|
}]>, "queryFn"> & {
|
|
179
|
-
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").
|
|
201
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").Token, [Pick<Options<GetTokenData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
180
202
|
_id: string;
|
|
181
203
|
_infinite?: boolean;
|
|
182
204
|
tags?: ReadonlyArray<string>;
|
|
183
205
|
}], never> | undefined;
|
|
184
206
|
} & {
|
|
185
|
-
queryKey: [Pick<Options<
|
|
207
|
+
queryKey: [Pick<Options<GetTokenData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
186
208
|
_id: string;
|
|
187
209
|
_infinite?: boolean;
|
|
188
210
|
tags?: ReadonlyArray<string>;
|
|
189
211
|
}] & {
|
|
190
|
-
[dataTagSymbol]: import("../types.gen").
|
|
212
|
+
[dataTagSymbol]: import("../types.gen").Token;
|
|
191
213
|
[dataTagErrorSymbol]: Error;
|
|
192
214
|
};
|
|
193
215
|
};
|
|
194
216
|
/**
|
|
195
|
-
*
|
|
217
|
+
* Update access token information.
|
|
196
218
|
*
|
|
197
|
-
*
|
|
219
|
+
* This endpoint allows you to update access token details. For more information about identity access management and security, see [Service Accounts](https://cloudfleet.ai/docs/organization/api-tokens/) section of documentaiton.
|
|
220
|
+
*
|
|
221
|
+
* This endpoint is available to administrators of the organization only.
|
|
198
222
|
*
|
|
199
223
|
*/
|
|
200
|
-
export declare const
|
|
201
|
-
|
|
224
|
+
export declare const updateTokenMutation: (options?: Partial<Options<UpdateTokenData>>) => UseMutationOptions<UpdateTokenResponse, DefaultError, Options<UpdateTokenData>>;
|
|
225
|
+
/**
|
|
226
|
+
* Regenerate access token secret key.
|
|
227
|
+
*
|
|
228
|
+
* Generates a new access token secret. Old secret will not be valid anymore.
|
|
229
|
+
*/
|
|
230
|
+
export declare const regenerateTokenMutation: (options?: Partial<Options<RegenerateTokenData>>) => UseMutationOptions<RegenerateTokenResponse, DefaultError, Options<RegenerateTokenData>>;
|
|
231
|
+
export declare const listTicketsQueryKey: (options?: Options<ListTicketsData>) => [Pick<Options<ListTicketsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
202
232
|
_id: string;
|
|
203
233
|
_infinite?: boolean;
|
|
204
234
|
tags?: ReadonlyArray<string>;
|
|
205
235
|
}];
|
|
206
236
|
/**
|
|
207
|
-
* List
|
|
208
|
-
*
|
|
209
|
-
* Returns a list of charts in the cluster.
|
|
237
|
+
* List tickets for the current organization.
|
|
210
238
|
*
|
|
211
|
-
*
|
|
239
|
+
* Returns all tickets belonging to the caller's organization, newest first.
|
|
212
240
|
*
|
|
213
241
|
*/
|
|
214
|
-
export declare const
|
|
242
|
+
export declare const listTicketsOptions: (options?: Options<ListTicketsData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").TicketListResponse, Error, import("../types.gen").TicketListResponse, [Pick<Options<ListTicketsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
215
243
|
_id: string;
|
|
216
244
|
_infinite?: boolean;
|
|
217
245
|
tags?: ReadonlyArray<string>;
|
|
218
246
|
}]>, "queryFn"> & {
|
|
219
|
-
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").
|
|
247
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").TicketListResponse, [Pick<Options<ListTicketsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
220
248
|
_id: string;
|
|
221
249
|
_infinite?: boolean;
|
|
222
250
|
tags?: ReadonlyArray<string>;
|
|
223
251
|
}], never> | undefined;
|
|
224
252
|
} & {
|
|
225
|
-
queryKey: [Pick<Options<
|
|
253
|
+
queryKey: [Pick<Options<ListTicketsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
226
254
|
_id: string;
|
|
227
255
|
_infinite?: boolean;
|
|
228
256
|
tags?: ReadonlyArray<string>;
|
|
229
257
|
}] & {
|
|
230
|
-
[dataTagSymbol]: import("../types.gen").
|
|
258
|
+
[dataTagSymbol]: import("../types.gen").TicketListResponse;
|
|
231
259
|
[dataTagErrorSymbol]: Error;
|
|
232
260
|
};
|
|
233
261
|
};
|
|
234
262
|
/**
|
|
235
|
-
* Create a new
|
|
236
|
-
*
|
|
237
|
-
* Create a new chart deployment.
|
|
263
|
+
* Create a new support ticket.
|
|
238
264
|
*
|
|
239
|
-
*
|
|
265
|
+
* Creates a new support ticket with an initial customer message. The request is `multipart/form-data` with a JSON-encoded `payload` field carrying `category`, `body`, and optional `properties`, plus up to 3 `attachments` files (10 MB max each).
|
|
240
266
|
*
|
|
241
267
|
*/
|
|
242
|
-
export declare const
|
|
268
|
+
export declare const createTicketMutation: (options?: Partial<Options<CreateTicketData>>) => UseMutationOptions<CreateTicketResponse, DefaultError, Options<CreateTicketData>>;
|
|
243
269
|
/**
|
|
244
|
-
*
|
|
245
|
-
*
|
|
246
|
-
* This endpoint will permanently delete chart. This operation cannot be undone.
|
|
270
|
+
* Close a ticket (soft close).
|
|
247
271
|
*
|
|
248
|
-
*
|
|
272
|
+
* Marks the ticket as closed. Closed is a terminal state — users cannot reply to a closed ticket; a new ticket must be opened instead.
|
|
249
273
|
*
|
|
250
274
|
*/
|
|
251
|
-
export declare const
|
|
252
|
-
export declare const
|
|
275
|
+
export declare const closeTicketMutation: (options?: Partial<Options<CloseTicketData>>) => UseMutationOptions<CloseTicketResponse, DefaultError, Options<CloseTicketData>>;
|
|
276
|
+
export declare const getTicketQueryKey: (options: Options<GetTicketData>) => [Pick<Options<GetTicketData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
253
277
|
_id: string;
|
|
254
278
|
_infinite?: boolean;
|
|
255
279
|
tags?: ReadonlyArray<string>;
|
|
256
280
|
}];
|
|
257
281
|
/**
|
|
258
|
-
* Get
|
|
259
|
-
*
|
|
260
|
-
* Returns the details of the chart deployment.
|
|
261
|
-
*
|
|
262
|
-
* This endpoint is available to all users in the organization.
|
|
263
|
-
*
|
|
282
|
+
* Get a ticket and its messages.
|
|
264
283
|
*/
|
|
265
|
-
export declare const
|
|
284
|
+
export declare const getTicketOptions: (options: Options<GetTicketData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").Ticket, Error, import("../types.gen").Ticket, [Pick<Options<GetTicketData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
266
285
|
_id: string;
|
|
267
286
|
_infinite?: boolean;
|
|
268
287
|
tags?: ReadonlyArray<string>;
|
|
269
288
|
}]>, "queryFn"> & {
|
|
270
|
-
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").
|
|
289
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").Ticket, [Pick<Options<GetTicketData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
271
290
|
_id: string;
|
|
272
291
|
_infinite?: boolean;
|
|
273
292
|
tags?: ReadonlyArray<string>;
|
|
274
293
|
}], never> | undefined;
|
|
275
294
|
} & {
|
|
276
|
-
queryKey: [Pick<Options<
|
|
295
|
+
queryKey: [Pick<Options<GetTicketData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
277
296
|
_id: string;
|
|
278
297
|
_infinite?: boolean;
|
|
279
298
|
tags?: ReadonlyArray<string>;
|
|
280
299
|
}] & {
|
|
281
|
-
[dataTagSymbol]: import("../types.gen").
|
|
300
|
+
[dataTagSymbol]: import("../types.gen").Ticket;
|
|
282
301
|
[dataTagErrorSymbol]: Error;
|
|
283
302
|
};
|
|
284
303
|
};
|
|
285
304
|
/**
|
|
286
|
-
*
|
|
287
|
-
*
|
|
288
|
-
* This endpoint allows you to update the values of a chart deployment.
|
|
305
|
+
* Append a customer reply to a ticket.
|
|
289
306
|
*
|
|
290
|
-
*
|
|
307
|
+
* Multipart form-data with a JSON-encoded `payload` field carrying `body`, plus up to 3 `attachments` files. Returns 409 if the ticket is closed.
|
|
291
308
|
*
|
|
292
309
|
*/
|
|
293
|
-
export declare const
|
|
294
|
-
export declare const
|
|
310
|
+
export declare const replyTicketMutation: (options?: Partial<Options<ReplyTicketData>>) => UseMutationOptions<ReplyTicketResponse, DefaultError, Options<ReplyTicketData>>;
|
|
311
|
+
export declare const getTicketAttachmentQueryKey: (options: Options<GetTicketAttachmentData>) => [Pick<Options<GetTicketAttachmentData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
295
312
|
_id: string;
|
|
296
313
|
_infinite?: boolean;
|
|
297
314
|
tags?: ReadonlyArray<string>;
|
|
298
315
|
}];
|
|
299
316
|
/**
|
|
300
|
-
*
|
|
301
|
-
*
|
|
302
|
-
* Returns a list of fleets belonging to the cluster. For more information, see [Fleets](https://cloudfleet.ai/docs/cloud-infrastructure/fleets/) section of documentaiton.
|
|
303
|
-
*
|
|
304
|
-
* This endpoint is available to all users in the organization.
|
|
305
|
-
*
|
|
317
|
+
* Download a ticket attachment.
|
|
306
318
|
*/
|
|
307
|
-
export declare const
|
|
319
|
+
export declare const getTicketAttachmentOptions: (options: Options<GetTicketAttachmentData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<Blob | File, Error, Blob | File, [Pick<Options<GetTicketAttachmentData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
308
320
|
_id: string;
|
|
309
321
|
_infinite?: boolean;
|
|
310
322
|
tags?: ReadonlyArray<string>;
|
|
311
323
|
}]>, "queryFn"> & {
|
|
312
|
-
queryFn?: import("@tanstack/react-query").QueryFunction<
|
|
324
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<Blob | File, [Pick<Options<GetTicketAttachmentData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
313
325
|
_id: string;
|
|
314
326
|
_infinite?: boolean;
|
|
315
327
|
tags?: ReadonlyArray<string>;
|
|
316
328
|
}], never> | undefined;
|
|
317
329
|
} & {
|
|
318
|
-
queryKey: [Pick<Options<
|
|
330
|
+
queryKey: [Pick<Options<GetTicketAttachmentData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
319
331
|
_id: string;
|
|
320
332
|
_infinite?: boolean;
|
|
321
333
|
tags?: ReadonlyArray<string>;
|
|
322
334
|
}] & {
|
|
323
|
-
[dataTagSymbol]:
|
|
335
|
+
[dataTagSymbol]: Blob | File;
|
|
324
336
|
[dataTagErrorSymbol]: Error;
|
|
325
337
|
};
|
|
326
338
|
};
|
|
327
|
-
|
|
328
|
-
* Create a new fleet.
|
|
329
|
-
*
|
|
330
|
-
* Create a new fleet under the current organization. fleets allow you to to schedule workloads in cloud service provider accounts owned by you. For more information, see [Fleets](https://cloudfleet.ai/docs/cloud-infrastructure/fleets/) section of documentaiton.
|
|
331
|
-
*
|
|
332
|
-
* This endpoint is available to administrators of the organization only.
|
|
333
|
-
*
|
|
334
|
-
*/
|
|
335
|
-
export declare const createFleetMutation: (options?: Partial<Options<CreateFleetData>>) => UseMutationOptions<CreateFleetResponse, CreateFleetError, Options<CreateFleetData>>;
|
|
336
|
-
/**
|
|
337
|
-
* Permanently delete fleet.
|
|
338
|
-
*
|
|
339
|
-
* This endpoint will permanently delete fleet. This operation cannot be undone. Your subscription will end by the end of the current billing period and you will not be able to receive credit for unused time. For more information, see [Fleets](https://cloudfleet.ai/docs/cloud-infrastructure/fleets/) section of documentaiton.
|
|
340
|
-
*
|
|
341
|
-
* This endpoint is available to administrators of the organization only.
|
|
342
|
-
*
|
|
343
|
-
*/
|
|
344
|
-
export declare const deleteFleetMutation: (options?: Partial<Options<DeleteFleetData>>) => UseMutationOptions<DeleteFleetResponse, DefaultError, Options<DeleteFleetData>>;
|
|
345
|
-
export declare const getFleetQueryKey: (options: Options<GetFleetData>) => [Pick<Options<GetFleetData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
339
|
+
export declare const listRepositoriesQueryKey: (options?: Options<ListRepositoriesData>) => [Pick<Options<ListRepositoriesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
346
340
|
_id: string;
|
|
347
341
|
_infinite?: boolean;
|
|
348
342
|
tags?: ReadonlyArray<string>;
|
|
349
343
|
}];
|
|
350
344
|
/**
|
|
351
|
-
*
|
|
352
|
-
*
|
|
353
|
-
* Returns fleet details. For more information, see [Fleets](https://cloudfleet.ai/docs/cloud-infrastructure/fleets/) section of documentaiton.
|
|
345
|
+
* List repositories
|
|
354
346
|
*
|
|
355
|
-
* This endpoint is available to all users in the organization.
|
|
347
|
+
* Returns a list of repositories in the registry across all regions. This endpoint is available to all users in the organization.
|
|
356
348
|
*
|
|
357
349
|
*/
|
|
358
|
-
export declare const
|
|
350
|
+
export declare const listRepositoriesOptions: (options?: Options<ListRepositoriesData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").RegistryRepository[], Error, import("../types.gen").RegistryRepository[], [Pick<Options<ListRepositoriesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
359
351
|
_id: string;
|
|
360
352
|
_infinite?: boolean;
|
|
361
353
|
tags?: ReadonlyArray<string>;
|
|
362
354
|
}]>, "queryFn"> & {
|
|
363
|
-
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").
|
|
355
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").RegistryRepository[], [Pick<Options<ListRepositoriesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
364
356
|
_id: string;
|
|
365
357
|
_infinite?: boolean;
|
|
366
358
|
tags?: ReadonlyArray<string>;
|
|
367
359
|
}], never> | undefined;
|
|
368
360
|
} & {
|
|
369
|
-
queryKey: [Pick<Options<
|
|
361
|
+
queryKey: [Pick<Options<ListRepositoriesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
370
362
|
_id: string;
|
|
371
363
|
_infinite?: boolean;
|
|
372
364
|
tags?: ReadonlyArray<string>;
|
|
373
365
|
}] & {
|
|
374
|
-
[dataTagSymbol]: import("../types.gen").
|
|
366
|
+
[dataTagSymbol]: import("../types.gen").RegistryRepository[];
|
|
375
367
|
[dataTagErrorSymbol]: Error;
|
|
376
368
|
};
|
|
377
369
|
};
|
|
370
|
+
export declare const listTagsQueryKey: (options: Options<ListTagsData>) => [Pick<Options<ListTagsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
371
|
+
_id: string;
|
|
372
|
+
_infinite?: boolean;
|
|
373
|
+
tags?: ReadonlyArray<string>;
|
|
374
|
+
}];
|
|
378
375
|
/**
|
|
379
|
-
*
|
|
376
|
+
* List tags for a repository
|
|
380
377
|
*
|
|
381
|
-
* This endpoint
|
|
378
|
+
* Returns a list of tags for a specific repository, including size and metadata for each tag. This endpoint is available to all users in the organization.
|
|
382
379
|
*
|
|
383
|
-
|
|
380
|
+
*/
|
|
381
|
+
export declare const listTagsOptions: (options: Options<ListTagsData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").RegistryRepositoryWithTags, Error, import("../types.gen").RegistryRepositoryWithTags, [Pick<Options<ListTagsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
382
|
+
_id: string;
|
|
383
|
+
_infinite?: boolean;
|
|
384
|
+
tags?: ReadonlyArray<string>;
|
|
385
|
+
}]>, "queryFn"> & {
|
|
386
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").RegistryRepositoryWithTags, [Pick<Options<ListTagsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
387
|
+
_id: string;
|
|
388
|
+
_infinite?: boolean;
|
|
389
|
+
tags?: ReadonlyArray<string>;
|
|
390
|
+
}], never> | undefined;
|
|
391
|
+
} & {
|
|
392
|
+
queryKey: [Pick<Options<ListTagsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
393
|
+
_id: string;
|
|
394
|
+
_infinite?: boolean;
|
|
395
|
+
tags?: ReadonlyArray<string>;
|
|
396
|
+
}] & {
|
|
397
|
+
[dataTagSymbol]: import("../types.gen").RegistryRepositoryWithTags;
|
|
398
|
+
[dataTagErrorSymbol]: Error;
|
|
399
|
+
};
|
|
400
|
+
};
|
|
401
|
+
/**
|
|
402
|
+
* Delete tag
|
|
384
403
|
*
|
|
385
|
-
* This endpoint is available to administrators of the organization only.
|
|
404
|
+
* Permanently deletes a specific tag from a repository. This endpoint is available to administrators of the organization only.
|
|
386
405
|
*
|
|
387
406
|
*/
|
|
388
|
-
export declare const
|
|
389
|
-
export declare const
|
|
407
|
+
export declare const deleteTagMutation: (options?: Partial<Options<DeleteTagData>>) => UseMutationOptions<unknown, DefaultError, Options<DeleteTagData>>;
|
|
408
|
+
export declare const getTagQueryKey: (options: Options<GetTagData>) => [Pick<Options<GetTagData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
390
409
|
_id: string;
|
|
391
410
|
_infinite?: boolean;
|
|
392
411
|
tags?: ReadonlyArray<string>;
|
|
393
412
|
}];
|
|
394
413
|
/**
|
|
395
|
-
*
|
|
414
|
+
* Get tag details
|
|
415
|
+
*
|
|
416
|
+
* Returns detailed information for a specific tag in a repository, including manifest details, size, and URI. This endpoint is available to all users in the organization.
|
|
396
417
|
*
|
|
397
|
-
* An API endpoint for directly querying a Kubernetes cluster API without requiring kubectl or other tools. This endpoint is ideal for automation and scripting, as well as for internal use in fetching data for the Cloudfleet Console. It acts as a passthrough to the Kubernetes API, allowing access to any valid Kubernetes API endpoint, including those not exposed in the Cloudfleet Console. The endpoint is strictly read-only, ensuring no modifications to the cluster state. It is accessible to all users within the organization and uses the same authentication mechanisms as other Cloudfleet API endpoints.
|
|
398
418
|
*/
|
|
399
|
-
export declare const
|
|
419
|
+
export declare const getTagOptions: (options: Options<GetTagData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").RegistryTag, Error, import("../types.gen").RegistryTag, [Pick<Options<GetTagData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
400
420
|
_id: string;
|
|
401
421
|
_infinite?: boolean;
|
|
402
422
|
tags?: ReadonlyArray<string>;
|
|
403
423
|
}]>, "queryFn"> & {
|
|
404
|
-
queryFn?: import("@tanstack/react-query").QueryFunction<
|
|
424
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").RegistryTag, [Pick<Options<GetTagData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
405
425
|
_id: string;
|
|
406
426
|
_infinite?: boolean;
|
|
407
427
|
tags?: ReadonlyArray<string>;
|
|
408
428
|
}], never> | undefined;
|
|
409
429
|
} & {
|
|
410
|
-
queryKey: [Pick<Options<
|
|
430
|
+
queryKey: [Pick<Options<GetTagData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
411
431
|
_id: string;
|
|
412
432
|
_infinite?: boolean;
|
|
413
433
|
tags?: ReadonlyArray<string>;
|
|
414
434
|
}] & {
|
|
415
|
-
[dataTagSymbol]:
|
|
435
|
+
[dataTagSymbol]: import("../types.gen").RegistryTag;
|
|
416
436
|
[dataTagErrorSymbol]: Error;
|
|
417
437
|
};
|
|
418
438
|
};
|
|
419
|
-
export declare const
|
|
439
|
+
export declare const getOrganizationQueryKey: (options?: Options<GetOrganizationData>) => [Pick<Options<GetOrganizationData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
420
440
|
_id: string;
|
|
421
441
|
_infinite?: boolean;
|
|
422
442
|
tags?: ReadonlyArray<string>;
|
|
423
443
|
}];
|
|
424
444
|
/**
|
|
425
|
-
*
|
|
445
|
+
* Get organization information.
|
|
426
446
|
*
|
|
427
|
-
* Returns
|
|
447
|
+
* Returns organization details including quota. For more information about quotas, see [Quotas and limits](https://cloudfleet.ai/docs/organization/quotas/) section of documentaiton.
|
|
428
448
|
*
|
|
429
449
|
* This endpoint is available to all users in the organization.
|
|
430
450
|
*
|
|
431
451
|
*/
|
|
432
|
-
export declare const
|
|
452
|
+
export declare const getOrganizationOptions: (options?: Options<GetOrganizationData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").Organization, Error, import("../types.gen").Organization, [Pick<Options<GetOrganizationData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
433
453
|
_id: string;
|
|
434
454
|
_infinite?: boolean;
|
|
435
455
|
tags?: ReadonlyArray<string>;
|
|
436
456
|
}]>, "queryFn"> & {
|
|
437
|
-
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").
|
|
457
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").Organization, [Pick<Options<GetOrganizationData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
438
458
|
_id: string;
|
|
439
459
|
_infinite?: boolean;
|
|
440
460
|
tags?: ReadonlyArray<string>;
|
|
441
461
|
}], never> | undefined;
|
|
442
462
|
} & {
|
|
443
|
-
queryKey: [Pick<Options<
|
|
463
|
+
queryKey: [Pick<Options<GetOrganizationData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
444
464
|
_id: string;
|
|
445
465
|
_infinite?: boolean;
|
|
446
466
|
tags?: ReadonlyArray<string>;
|
|
447
467
|
}] & {
|
|
448
|
-
[dataTagSymbol]: import("../types.gen").
|
|
468
|
+
[dataTagSymbol]: import("../types.gen").Organization;
|
|
449
469
|
[dataTagErrorSymbol]: Error;
|
|
450
470
|
};
|
|
451
471
|
};
|
|
452
472
|
/**
|
|
453
|
-
* Create a new
|
|
454
|
-
*
|
|
455
|
-
* Create a new cluster under the current organization. Clusters allow you to group resources and you can create multiple clusters under the same organization, with billing delegated to the parent organization.
|
|
473
|
+
* Create a new organization / Cloudfleet account signup.
|
|
456
474
|
*
|
|
457
|
-
* This endpoint
|
|
475
|
+
* This endpoint allows you to create a new Cloudfleet organization and an administrator user.
|
|
458
476
|
*
|
|
459
477
|
*/
|
|
460
|
-
export declare const
|
|
478
|
+
export declare const createOrganizationMutation: (options?: Partial<Options<CreateOrganizationData>>) => UseMutationOptions<CreateOrganizationResponse, DefaultError, Options<CreateOrganizationData>>;
|
|
461
479
|
/**
|
|
462
|
-
*
|
|
463
|
-
*
|
|
464
|
-
* This endpoint will permanently delete the cluster. This operation cannot be undone.
|
|
465
|
-
*
|
|
466
|
-
* Deletion is synchronous: a `200` response means the cluster has been torn down (this can take some time for larger clusters). Deleting a cluster that does not exist or has already been deleted returns `404`.
|
|
467
|
-
*
|
|
468
|
-
* This endpoint is available to administrators of the organization only.
|
|
480
|
+
* MCP endpoint
|
|
469
481
|
*
|
|
482
|
+
* MCP endpoint for handling Model Context Protocol JSON-RPC 2.0 messages.
|
|
470
483
|
*/
|
|
471
|
-
export declare const
|
|
472
|
-
export declare const
|
|
484
|
+
export declare const postMcpMutation: (options?: Partial<Options<PostMcpData>>) => UseMutationOptions<PostMcpResponse, DefaultError, Options<PostMcpData>>;
|
|
485
|
+
export declare const listMarketplaceChartsQueryKey: (options?: Options<ListMarketplaceChartsData>) => [Pick<Options<ListMarketplaceChartsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
473
486
|
_id: string;
|
|
474
487
|
_infinite?: boolean;
|
|
475
488
|
tags?: ReadonlyArray<string>;
|
|
476
489
|
}];
|
|
477
490
|
/**
|
|
478
|
-
*
|
|
491
|
+
* List chart listings available in the marketplace.
|
|
479
492
|
*
|
|
480
|
-
* Returns
|
|
493
|
+
* Returns a list of available charts in the marketplace.
|
|
481
494
|
*
|
|
482
495
|
* This endpoint is available to all users in the organization.
|
|
483
496
|
*
|
|
484
497
|
*/
|
|
485
|
-
export declare const
|
|
498
|
+
export declare const listMarketplaceChartsOptions: (options?: Options<ListMarketplaceChartsData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").MarketplaceListing[], Error, import("../types.gen").MarketplaceListing[], [Pick<Options<ListMarketplaceChartsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
486
499
|
_id: string;
|
|
487
500
|
_infinite?: boolean;
|
|
488
501
|
tags?: ReadonlyArray<string>;
|
|
489
502
|
}]>, "queryFn"> & {
|
|
490
|
-
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").
|
|
503
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").MarketplaceListing[], [Pick<Options<ListMarketplaceChartsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
491
504
|
_id: string;
|
|
492
505
|
_infinite?: boolean;
|
|
493
506
|
tags?: ReadonlyArray<string>;
|
|
494
507
|
}], never> | undefined;
|
|
495
508
|
} & {
|
|
496
|
-
queryKey: [Pick<Options<
|
|
509
|
+
queryKey: [Pick<Options<ListMarketplaceChartsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
497
510
|
_id: string;
|
|
498
511
|
_infinite?: boolean;
|
|
499
512
|
tags?: ReadonlyArray<string>;
|
|
500
513
|
}] & {
|
|
501
|
-
[dataTagSymbol]: import("../types.gen").
|
|
514
|
+
[dataTagSymbol]: import("../types.gen").MarketplaceListing[];
|
|
502
515
|
[dataTagErrorSymbol]: Error;
|
|
503
516
|
};
|
|
504
517
|
};
|
|
518
|
+
export declare const getMarketplaceChartFilesQueryKey: (options: Options<GetMarketplaceChartFilesData>) => [Pick<Options<GetMarketplaceChartFilesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
519
|
+
_id: string;
|
|
520
|
+
_infinite?: boolean;
|
|
521
|
+
tags?: ReadonlyArray<string>;
|
|
522
|
+
}];
|
|
505
523
|
/**
|
|
506
|
-
*
|
|
507
|
-
*
|
|
508
|
-
* This endpoint allows you to update cluster details such as name, tier, and Kubernetes version. For more information about clusters, see [Clusters](https://cloudfleet.ai/docs/cluster-management/cluster-types/) section of documentation.
|
|
524
|
+
* Get chart files for a specific version channel.
|
|
509
525
|
*
|
|
510
|
-
*
|
|
526
|
+
* Returns the Chart.yaml, values.yaml, and values.schema.json files for the latest version matching the specified version channel.
|
|
511
527
|
*
|
|
512
|
-
|
|
513
|
-
export declare const updateClusterMutation: (options?: Partial<Options<UpdateClusterData>>) => UseMutationOptions<UpdateClusterResponse, DefaultError, Options<UpdateClusterData>>;
|
|
514
|
-
/**
|
|
515
|
-
* Node join information for the cluster
|
|
528
|
+
* Version channels use patterns like "1.31.x-cfke.x" to match the latest patch version, or "1.x.x-cfke.x" to match the latest minor version.
|
|
516
529
|
*
|
|
517
|
-
*
|
|
530
|
+
* This endpoint is available to all users in the organization.
|
|
518
531
|
*
|
|
519
532
|
*/
|
|
520
|
-
export declare const
|
|
533
|
+
export declare const getMarketplaceChartFilesOptions: (options: Options<GetMarketplaceChartFilesData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").MarketplaceListingFiles, Error, import("../types.gen").MarketplaceListingFiles, [Pick<Options<GetMarketplaceChartFilesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
534
|
+
_id: string;
|
|
535
|
+
_infinite?: boolean;
|
|
536
|
+
tags?: ReadonlyArray<string>;
|
|
537
|
+
}]>, "queryFn"> & {
|
|
538
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").MarketplaceListingFiles, [Pick<Options<GetMarketplaceChartFilesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
539
|
+
_id: string;
|
|
540
|
+
_infinite?: boolean;
|
|
541
|
+
tags?: ReadonlyArray<string>;
|
|
542
|
+
}], never> | undefined;
|
|
543
|
+
} & {
|
|
544
|
+
queryKey: [Pick<Options<GetMarketplaceChartFilesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
545
|
+
_id: string;
|
|
546
|
+
_infinite?: boolean;
|
|
547
|
+
tags?: ReadonlyArray<string>;
|
|
548
|
+
}] & {
|
|
549
|
+
[dataTagSymbol]: import("../types.gen").MarketplaceListingFiles;
|
|
550
|
+
[dataTagErrorSymbol]: Error;
|
|
551
|
+
};
|
|
552
|
+
};
|
|
521
553
|
export declare const listInvitesQueryKey: (options?: Options<ListInvitesData>) => [Pick<Options<ListInvitesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
522
554
|
_id: string;
|
|
523
555
|
_infinite?: boolean;
|
|
@@ -606,546 +638,512 @@ export declare const getInviteOptions: (options: Options<GetInviteData>) => impo
|
|
|
606
638
|
*
|
|
607
639
|
*/
|
|
608
640
|
export declare const deleteInviteMutation: (options?: Partial<Options<DeleteInviteData>>) => UseMutationOptions<unknown, DefaultError, Options<DeleteInviteData>>;
|
|
609
|
-
export declare const
|
|
641
|
+
export declare const queryClusterQueryKey: (options: Options<QueryClusterData>) => [Pick<Options<QueryClusterData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
610
642
|
_id: string;
|
|
611
643
|
_infinite?: boolean;
|
|
612
644
|
tags?: ReadonlyArray<string>;
|
|
613
645
|
}];
|
|
614
646
|
/**
|
|
615
|
-
*
|
|
616
|
-
*
|
|
617
|
-
* Returns a list of available charts in the marketplace.
|
|
618
|
-
*
|
|
619
|
-
* This endpoint is available to all users in the organization.
|
|
647
|
+
* Query Kubernetes cluster API
|
|
620
648
|
*
|
|
649
|
+
* An API endpoint for directly querying a Kubernetes cluster API without requiring kubectl or other tools. This endpoint is ideal for automation and scripting, as well as for internal use in fetching data for the Cloudfleet Console. It acts as a passthrough to the Kubernetes API, allowing access to any valid Kubernetes API endpoint, including those not exposed in the Cloudfleet Console. The endpoint is strictly read-only, ensuring no modifications to the cluster state. It is accessible to all users within the organization and uses the same authentication mechanisms as other Cloudfleet API endpoints.
|
|
621
650
|
*/
|
|
622
|
-
export declare const
|
|
651
|
+
export declare const queryClusterOptions: (options: Options<QueryClusterData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<unknown, Error, unknown, [Pick<Options<QueryClusterData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
623
652
|
_id: string;
|
|
624
653
|
_infinite?: boolean;
|
|
625
654
|
tags?: ReadonlyArray<string>;
|
|
626
655
|
}]>, "queryFn"> & {
|
|
627
|
-
queryFn?: import("@tanstack/react-query").QueryFunction<
|
|
656
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<unknown, [Pick<Options<QueryClusterData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
628
657
|
_id: string;
|
|
629
658
|
_infinite?: boolean;
|
|
630
659
|
tags?: ReadonlyArray<string>;
|
|
631
660
|
}], never> | undefined;
|
|
632
661
|
} & {
|
|
633
|
-
queryKey: [Pick<Options<
|
|
662
|
+
queryKey: [Pick<Options<QueryClusterData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
634
663
|
_id: string;
|
|
635
664
|
_infinite?: boolean;
|
|
636
665
|
tags?: ReadonlyArray<string>;
|
|
637
666
|
}] & {
|
|
638
|
-
[dataTagSymbol]:
|
|
667
|
+
[dataTagSymbol]: unknown;
|
|
639
668
|
[dataTagErrorSymbol]: Error;
|
|
640
669
|
};
|
|
641
670
|
};
|
|
642
|
-
export declare const
|
|
671
|
+
export declare const listFleetsQueryKey: (options: Options<ListFleetsData>) => [Pick<Options<ListFleetsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
643
672
|
_id: string;
|
|
644
673
|
_infinite?: boolean;
|
|
645
674
|
tags?: ReadonlyArray<string>;
|
|
646
675
|
}];
|
|
647
676
|
/**
|
|
648
|
-
*
|
|
649
|
-
*
|
|
650
|
-
* Returns the Chart.yaml, values.yaml, and values.schema.json files for the latest version matching the specified version channel.
|
|
677
|
+
* List fleets.
|
|
651
678
|
*
|
|
652
|
-
*
|
|
679
|
+
* Returns a list of fleets belonging to the cluster. For more information, see [Fleets](https://cloudfleet.ai/docs/cloud-infrastructure/fleets/) section of documentaiton.
|
|
653
680
|
*
|
|
654
681
|
* This endpoint is available to all users in the organization.
|
|
655
682
|
*
|
|
656
683
|
*/
|
|
657
|
-
export declare const
|
|
684
|
+
export declare const listFleetsOptions: (options: Options<ListFleetsData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").Fleet[], Error, import("../types.gen").Fleet[], [Pick<Options<ListFleetsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
658
685
|
_id: string;
|
|
659
686
|
_infinite?: boolean;
|
|
660
687
|
tags?: ReadonlyArray<string>;
|
|
661
688
|
}]>, "queryFn"> & {
|
|
662
|
-
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").
|
|
689
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").Fleet[], [Pick<Options<ListFleetsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
663
690
|
_id: string;
|
|
664
691
|
_infinite?: boolean;
|
|
665
692
|
tags?: ReadonlyArray<string>;
|
|
666
693
|
}], never> | undefined;
|
|
667
694
|
} & {
|
|
668
|
-
queryKey: [Pick<Options<
|
|
695
|
+
queryKey: [Pick<Options<ListFleetsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
669
696
|
_id: string;
|
|
670
697
|
_infinite?: boolean;
|
|
671
698
|
tags?: ReadonlyArray<string>;
|
|
672
699
|
}] & {
|
|
673
|
-
[dataTagSymbol]: import("../types.gen").
|
|
700
|
+
[dataTagSymbol]: import("../types.gen").Fleet[];
|
|
674
701
|
[dataTagErrorSymbol]: Error;
|
|
675
702
|
};
|
|
676
703
|
};
|
|
677
704
|
/**
|
|
678
|
-
*
|
|
705
|
+
* Create a new fleet.
|
|
706
|
+
*
|
|
707
|
+
* Create a new fleet under the current organization. fleets allow you to to schedule workloads in cloud service provider accounts owned by you. For more information, see [Fleets](https://cloudfleet.ai/docs/cloud-infrastructure/fleets/) section of documentaiton.
|
|
708
|
+
*
|
|
709
|
+
* This endpoint is available to administrators of the organization only.
|
|
679
710
|
*
|
|
680
|
-
* MCP endpoint for handling Model Context Protocol JSON-RPC 2.0 messages.
|
|
681
711
|
*/
|
|
682
|
-
export declare const
|
|
683
|
-
|
|
712
|
+
export declare const createFleetMutation: (options?: Partial<Options<CreateFleetData>>) => UseMutationOptions<CreateFleetResponse, CreateFleetError, Options<CreateFleetData>>;
|
|
713
|
+
/**
|
|
714
|
+
* Permanently delete fleet.
|
|
715
|
+
*
|
|
716
|
+
* This endpoint will permanently delete fleet. This operation cannot be undone. Your subscription will end by the end of the current billing period and you will not be able to receive credit for unused time. For more information, see [Fleets](https://cloudfleet.ai/docs/cloud-infrastructure/fleets/) section of documentaiton.
|
|
717
|
+
*
|
|
718
|
+
* This endpoint is available to administrators of the organization only.
|
|
719
|
+
*
|
|
720
|
+
*/
|
|
721
|
+
export declare const deleteFleetMutation: (options?: Partial<Options<DeleteFleetData>>) => UseMutationOptions<DeleteFleetResponse, DeleteFleetError, Options<DeleteFleetData>>;
|
|
722
|
+
export declare const getFleetQueryKey: (options: Options<GetFleetData>) => [Pick<Options<GetFleetData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
684
723
|
_id: string;
|
|
685
724
|
_infinite?: boolean;
|
|
686
725
|
tags?: ReadonlyArray<string>;
|
|
687
726
|
}];
|
|
688
727
|
/**
|
|
689
|
-
* Get
|
|
728
|
+
* Get fleet information.
|
|
690
729
|
*
|
|
691
|
-
* Returns
|
|
730
|
+
* Returns fleet details. For more information, see [Fleets](https://cloudfleet.ai/docs/cloud-infrastructure/fleets/) section of documentaiton.
|
|
692
731
|
*
|
|
693
732
|
* This endpoint is available to all users in the organization.
|
|
694
733
|
*
|
|
695
734
|
*/
|
|
696
|
-
export declare const
|
|
735
|
+
export declare const getFleetOptions: (options: Options<GetFleetData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").Fleet, Error, import("../types.gen").Fleet, [Pick<Options<GetFleetData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
697
736
|
_id: string;
|
|
698
737
|
_infinite?: boolean;
|
|
699
738
|
tags?: ReadonlyArray<string>;
|
|
700
739
|
}]>, "queryFn"> & {
|
|
701
|
-
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").
|
|
740
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").Fleet, [Pick<Options<GetFleetData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
702
741
|
_id: string;
|
|
703
742
|
_infinite?: boolean;
|
|
704
743
|
tags?: ReadonlyArray<string>;
|
|
705
744
|
}], never> | undefined;
|
|
706
745
|
} & {
|
|
707
|
-
queryKey: [Pick<Options<
|
|
746
|
+
queryKey: [Pick<Options<GetFleetData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
708
747
|
_id: string;
|
|
709
748
|
_infinite?: boolean;
|
|
710
749
|
tags?: ReadonlyArray<string>;
|
|
711
750
|
}] & {
|
|
712
|
-
[dataTagSymbol]: import("../types.gen").
|
|
751
|
+
[dataTagSymbol]: import("../types.gen").Fleet;
|
|
713
752
|
[dataTagErrorSymbol]: Error;
|
|
714
753
|
};
|
|
715
754
|
};
|
|
716
755
|
/**
|
|
717
|
-
*
|
|
756
|
+
* Update fleet information.
|
|
718
757
|
*
|
|
719
|
-
* This endpoint allows you to
|
|
758
|
+
* This endpoint allows you to update fleet details.
|
|
759
|
+
*
|
|
760
|
+
* For more information, see [Fleets](https://cloudfleet.ai/docs/cloud-infrastructure/fleets/) section of documentaiton.
|
|
761
|
+
*
|
|
762
|
+
* This endpoint is available to administrators of the organization only.
|
|
720
763
|
*
|
|
721
764
|
*/
|
|
722
|
-
export declare const
|
|
723
|
-
export declare const
|
|
765
|
+
export declare const updateFleetMutation: (options?: Partial<Options<UpdateFleetData>>) => UseMutationOptions<UpdateFleetResponse, UpdateFleetError, Options<UpdateFleetData>>;
|
|
766
|
+
export declare const listChartsQueryKey: (options: Options<ListChartsData>) => [Pick<Options<ListChartsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
724
767
|
_id: string;
|
|
725
768
|
_infinite?: boolean;
|
|
726
769
|
tags?: ReadonlyArray<string>;
|
|
727
770
|
}];
|
|
728
771
|
/**
|
|
729
|
-
* List
|
|
772
|
+
* List charts.
|
|
730
773
|
*
|
|
731
|
-
* Returns a list of
|
|
774
|
+
* Returns a list of charts in the cluster.
|
|
775
|
+
*
|
|
776
|
+
* This endpoint is available to all users in the organization.
|
|
732
777
|
*
|
|
733
778
|
*/
|
|
734
|
-
export declare const
|
|
779
|
+
export declare const listChartsOptions: (options: Options<ListChartsData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").Chart[], Error, import("../types.gen").Chart[], [Pick<Options<ListChartsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
735
780
|
_id: string;
|
|
736
781
|
_infinite?: boolean;
|
|
737
782
|
tags?: ReadonlyArray<string>;
|
|
738
783
|
}]>, "queryFn"> & {
|
|
739
|
-
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").
|
|
784
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").Chart[], [Pick<Options<ListChartsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
740
785
|
_id: string;
|
|
741
786
|
_infinite?: boolean;
|
|
742
787
|
tags?: ReadonlyArray<string>;
|
|
743
788
|
}], never> | undefined;
|
|
744
789
|
} & {
|
|
745
|
-
queryKey: [Pick<Options<
|
|
790
|
+
queryKey: [Pick<Options<ListChartsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
746
791
|
_id: string;
|
|
747
792
|
_infinite?: boolean;
|
|
748
793
|
tags?: ReadonlyArray<string>;
|
|
749
794
|
}] & {
|
|
750
|
-
[dataTagSymbol]: import("../types.gen").
|
|
795
|
+
[dataTagSymbol]: import("../types.gen").Chart[];
|
|
751
796
|
[dataTagErrorSymbol]: Error;
|
|
752
797
|
};
|
|
753
798
|
};
|
|
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
799
|
/**
|
|
760
|
-
*
|
|
800
|
+
* Create a new chart.
|
|
761
801
|
*
|
|
762
|
-
*
|
|
802
|
+
* Create a new chart deployment.
|
|
803
|
+
*
|
|
804
|
+
* This endpoint is available to administrators of the organization only.
|
|
763
805
|
*
|
|
764
806
|
*/
|
|
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
|
-
};
|
|
807
|
+
export declare const createChartMutation: (options?: Partial<Options<CreateChartData>>) => UseMutationOptions<CreateChartResponse, CreateChartError, Options<CreateChartData>>;
|
|
785
808
|
/**
|
|
786
|
-
*
|
|
809
|
+
* Permanently delete the chart deployment from the cluster.
|
|
787
810
|
*
|
|
788
|
-
*
|
|
811
|
+
* This endpoint will permanently delete chart. This operation cannot be undone.
|
|
812
|
+
*
|
|
813
|
+
* This endpoint is available to administrators of the organization only.
|
|
789
814
|
*
|
|
790
815
|
*/
|
|
791
|
-
export declare const
|
|
792
|
-
export declare const
|
|
816
|
+
export declare const deleteChartMutation: (options?: Partial<Options<DeleteChartData>>) => UseMutationOptions<DeleteChartResponse, DeleteChartError, Options<DeleteChartData>>;
|
|
817
|
+
export declare const getChartQueryKey: (options: Options<GetChartData>) => [Pick<Options<GetChartData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
793
818
|
_id: string;
|
|
794
819
|
_infinite?: boolean;
|
|
795
820
|
tags?: ReadonlyArray<string>;
|
|
796
821
|
}];
|
|
797
822
|
/**
|
|
798
|
-
* Get
|
|
823
|
+
* Get chart information.
|
|
799
824
|
*
|
|
800
|
-
* Returns
|
|
825
|
+
* Returns the details of the chart deployment.
|
|
826
|
+
*
|
|
827
|
+
* This endpoint is available to all users in the organization.
|
|
801
828
|
*
|
|
802
829
|
*/
|
|
803
|
-
export declare const
|
|
830
|
+
export declare const getChartOptions: (options: Options<GetChartData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").Chart, Error, import("../types.gen").Chart, [Pick<Options<GetChartData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
804
831
|
_id: string;
|
|
805
832
|
_infinite?: boolean;
|
|
806
833
|
tags?: ReadonlyArray<string>;
|
|
807
834
|
}]>, "queryFn"> & {
|
|
808
|
-
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").
|
|
835
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").Chart, [Pick<Options<GetChartData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
809
836
|
_id: string;
|
|
810
837
|
_infinite?: boolean;
|
|
811
838
|
tags?: ReadonlyArray<string>;
|
|
812
839
|
}], never> | undefined;
|
|
813
840
|
} & {
|
|
814
|
-
queryKey: [Pick<Options<
|
|
841
|
+
queryKey: [Pick<Options<GetChartData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
815
842
|
_id: string;
|
|
816
843
|
_infinite?: boolean;
|
|
817
844
|
tags?: ReadonlyArray<string>;
|
|
818
845
|
}] & {
|
|
819
|
-
[dataTagSymbol]: import("../types.gen").
|
|
846
|
+
[dataTagSymbol]: import("../types.gen").Chart;
|
|
820
847
|
[dataTagErrorSymbol]: Error;
|
|
821
848
|
};
|
|
822
849
|
};
|
|
823
|
-
|
|
850
|
+
/**
|
|
851
|
+
* Update chart information.
|
|
852
|
+
*
|
|
853
|
+
* This endpoint allows you to update the values of a chart deployment.
|
|
854
|
+
*
|
|
855
|
+
* This endpoint is available to administrators of the organization only.
|
|
856
|
+
*
|
|
857
|
+
*/
|
|
858
|
+
export declare const updateChartMutation: (options?: Partial<Options<UpdateChartData>>) => UseMutationOptions<UpdateChartResponse, UpdateChartError, Options<UpdateChartData>>;
|
|
859
|
+
export declare const listClustersQueryKey: (options?: Options<ListClustersData>) => [Pick<Options<ListClustersData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
824
860
|
_id: string;
|
|
825
861
|
_infinite?: boolean;
|
|
826
862
|
tags?: ReadonlyArray<string>;
|
|
827
863
|
}];
|
|
828
864
|
/**
|
|
829
|
-
* List
|
|
865
|
+
* List clusters.
|
|
830
866
|
*
|
|
831
|
-
* Returns
|
|
867
|
+
* Returns a list of clusters under the current organization.
|
|
868
|
+
*
|
|
869
|
+
* This endpoint is available to all users in the organization.
|
|
832
870
|
*
|
|
833
871
|
*/
|
|
834
|
-
export declare const
|
|
872
|
+
export declare const listClustersOptions: (options?: Options<ListClustersData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").Cluster[], Error, import("../types.gen").Cluster[], [Pick<Options<ListClustersData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
835
873
|
_id: string;
|
|
836
874
|
_infinite?: boolean;
|
|
837
875
|
tags?: ReadonlyArray<string>;
|
|
838
876
|
}]>, "queryFn"> & {
|
|
839
|
-
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").
|
|
877
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").Cluster[], [Pick<Options<ListClustersData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
840
878
|
_id: string;
|
|
841
879
|
_infinite?: boolean;
|
|
842
880
|
tags?: ReadonlyArray<string>;
|
|
843
881
|
}], never> | undefined;
|
|
844
882
|
} & {
|
|
845
|
-
queryKey: [Pick<Options<
|
|
883
|
+
queryKey: [Pick<Options<ListClustersData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
846
884
|
_id: string;
|
|
847
885
|
_infinite?: boolean;
|
|
848
886
|
tags?: ReadonlyArray<string>;
|
|
849
887
|
}] & {
|
|
850
|
-
[dataTagSymbol]: import("../types.gen").
|
|
888
|
+
[dataTagSymbol]: import("../types.gen").Cluster[];
|
|
851
889
|
[dataTagErrorSymbol]: Error;
|
|
852
890
|
};
|
|
853
891
|
};
|
|
854
892
|
/**
|
|
855
|
-
* Create a new
|
|
893
|
+
* Create a new cluster.
|
|
856
894
|
*
|
|
857
|
-
*
|
|
895
|
+
* Create a new cluster under the current organization. Clusters allow you to group resources and you can create multiple clusters under the same organization, with billing delegated to the parent organization.
|
|
896
|
+
*
|
|
897
|
+
* This endpoint is available to administrators of the organization only.
|
|
858
898
|
*
|
|
859
899
|
*/
|
|
860
|
-
export declare const
|
|
900
|
+
export declare const createClusterMutation: (options?: Partial<Options<CreateClusterData>>) => UseMutationOptions<CreateClusterResponse, CreateClusterError, Options<CreateClusterData>>;
|
|
861
901
|
/**
|
|
862
|
-
*
|
|
902
|
+
* Permanently delete cluster.
|
|
863
903
|
*
|
|
864
|
-
*
|
|
904
|
+
* This endpoint will permanently delete the cluster. This operation cannot be undone.
|
|
905
|
+
*
|
|
906
|
+
* This endpoint is available to administrators of the organization only.
|
|
865
907
|
*
|
|
866
908
|
*/
|
|
867
|
-
export declare const
|
|
868
|
-
export declare const
|
|
909
|
+
export declare const deleteClusterMutation: (options?: Partial<Options<DeleteClusterData>>) => UseMutationOptions<DeleteClusterResponse, DeleteClusterError, Options<DeleteClusterData>>;
|
|
910
|
+
export declare const getClusterQueryKey: (options: Options<GetClusterData>) => [Pick<Options<GetClusterData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
869
911
|
_id: string;
|
|
870
912
|
_infinite?: boolean;
|
|
871
913
|
tags?: ReadonlyArray<string>;
|
|
872
914
|
}];
|
|
873
915
|
/**
|
|
874
|
-
* Get
|
|
916
|
+
* Get cluster information.
|
|
917
|
+
*
|
|
918
|
+
* Returns cluster details.
|
|
919
|
+
*
|
|
920
|
+
* This endpoint is available to all users in the organization.
|
|
921
|
+
*
|
|
875
922
|
*/
|
|
876
|
-
export declare const
|
|
923
|
+
export declare const getClusterOptions: (options: Options<GetClusterData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").Cluster, Error, import("../types.gen").Cluster, [Pick<Options<GetClusterData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
877
924
|
_id: string;
|
|
878
925
|
_infinite?: boolean;
|
|
879
926
|
tags?: ReadonlyArray<string>;
|
|
880
927
|
}]>, "queryFn"> & {
|
|
881
|
-
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").
|
|
928
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").Cluster, [Pick<Options<GetClusterData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
882
929
|
_id: string;
|
|
883
930
|
_infinite?: boolean;
|
|
884
931
|
tags?: ReadonlyArray<string>;
|
|
885
932
|
}], never> | undefined;
|
|
886
933
|
} & {
|
|
887
|
-
queryKey: [Pick<Options<
|
|
934
|
+
queryKey: [Pick<Options<GetClusterData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
888
935
|
_id: string;
|
|
889
936
|
_infinite?: boolean;
|
|
890
937
|
tags?: ReadonlyArray<string>;
|
|
891
938
|
}] & {
|
|
892
|
-
[dataTagSymbol]: import("../types.gen").
|
|
939
|
+
[dataTagSymbol]: import("../types.gen").Cluster;
|
|
893
940
|
[dataTagErrorSymbol]: Error;
|
|
894
941
|
};
|
|
895
942
|
};
|
|
896
943
|
/**
|
|
897
|
-
*
|
|
944
|
+
* Update cluster information.
|
|
898
945
|
*
|
|
899
|
-
*
|
|
946
|
+
* 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.
|
|
947
|
+
*
|
|
948
|
+
* This endpoint is available to administrators of the organization only.
|
|
900
949
|
*
|
|
901
950
|
*/
|
|
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
|
-
}];
|
|
951
|
+
export declare const updateClusterMutation: (options?: Partial<Options<UpdateClusterData>>) => UseMutationOptions<UpdateClusterResponse, UpdateClusterError, Options<UpdateClusterData>>;
|
|
908
952
|
/**
|
|
909
|
-
*
|
|
953
|
+
* Node join information for the cluster
|
|
954
|
+
*
|
|
955
|
+
* Returns the join information for the cluster. This information is used to add a self-managed nodes to the CFKE cluster. This endpoint is available to only admins of the organization.
|
|
956
|
+
*
|
|
910
957
|
*/
|
|
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"> & {
|
|
958
|
+
export declare const getJoinInformationMutation: (options?: Partial<Options<GetJoinInformationData>>) => UseMutationOptions<GetJoinInformationResponse, GetJoinInformationError, Options<GetJoinInformationData>>;
|
|
959
|
+
export declare const getUsageQueryKey: (options?: Options<GetUsageData>) => [Pick<Options<GetUsageData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
932
960
|
_id: string;
|
|
933
961
|
_infinite?: boolean;
|
|
934
962
|
tags?: ReadonlyArray<string>;
|
|
935
963
|
}];
|
|
936
964
|
/**
|
|
937
|
-
*
|
|
965
|
+
* Get billing usage information.
|
|
938
966
|
*
|
|
939
|
-
*
|
|
967
|
+
* Returns aggregated usage information for the organization with facets for filtering. For more information on billing and payments, see [Billing and pricing](https://cloudfleet.ai/docs/organization/billing/) section of documentaiton. This endpoint is available to all users in the organization.
|
|
940
968
|
*
|
|
941
969
|
*/
|
|
942
|
-
export declare const
|
|
970
|
+
export declare const getUsageOptions: (options?: Options<GetUsageData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").UsageResponse, Error, import("../types.gen").UsageResponse, [Pick<Options<GetUsageData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
943
971
|
_id: string;
|
|
944
972
|
_infinite?: boolean;
|
|
945
973
|
tags?: ReadonlyArray<string>;
|
|
946
974
|
}]>, "queryFn"> & {
|
|
947
|
-
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").
|
|
975
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").UsageResponse, [Pick<Options<GetUsageData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
948
976
|
_id: string;
|
|
949
977
|
_infinite?: boolean;
|
|
950
978
|
tags?: ReadonlyArray<string>;
|
|
951
979
|
}], never> | undefined;
|
|
952
980
|
} & {
|
|
953
|
-
queryKey: [Pick<Options<
|
|
981
|
+
queryKey: [Pick<Options<GetUsageData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
954
982
|
_id: string;
|
|
955
983
|
_infinite?: boolean;
|
|
956
984
|
tags?: ReadonlyArray<string>;
|
|
957
985
|
}] & {
|
|
958
|
-
[dataTagSymbol]: import("../types.gen").
|
|
986
|
+
[dataTagSymbol]: import("../types.gen").UsageResponse;
|
|
959
987
|
[dataTagErrorSymbol]: Error;
|
|
960
988
|
};
|
|
961
989
|
};
|
|
962
990
|
/**
|
|
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.
|
|
991
|
+
* Get Stripe client secret.
|
|
973
992
|
*
|
|
974
|
-
*
|
|
993
|
+
* Endpoint returns the Stripe secret key for the organization. This key is used to securely update the payment method in the Cloudfleet console only, please visit https://console.cloudfleet.ai. This endpoint is available to administrators of the organization only.
|
|
975
994
|
*
|
|
976
995
|
*/
|
|
977
|
-
export declare const
|
|
978
|
-
export declare const
|
|
996
|
+
export declare const getPaymentMethodSecretMutation: (options?: Partial<Options<GetPaymentMethodSecretData>>) => UseMutationOptions<GetPaymentMethodSecretResponse, DefaultError, Options<GetPaymentMethodSecretData>>;
|
|
997
|
+
export declare const listPaymentMethodsQueryKey: (options?: Options<ListPaymentMethodsData>) => [Pick<Options<ListPaymentMethodsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
979
998
|
_id: string;
|
|
980
999
|
_infinite?: boolean;
|
|
981
1000
|
tags?: ReadonlyArray<string>;
|
|
982
1001
|
}];
|
|
983
1002
|
/**
|
|
984
|
-
*
|
|
1003
|
+
* List organization payment methods.
|
|
985
1004
|
*
|
|
986
|
-
*
|
|
1005
|
+
* Returns all payment methods (cards and SEPA Direct Debit) attached to the organization, most recently added first, with the default flagged. This endpoint is available to all users in the organization.
|
|
987
1006
|
*
|
|
988
1007
|
*/
|
|
989
|
-
export declare const
|
|
1008
|
+
export declare const listPaymentMethodsOptions: (options?: Options<ListPaymentMethodsData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").PaymentMethod[], Error, import("../types.gen").PaymentMethod[], [Pick<Options<ListPaymentMethodsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
990
1009
|
_id: string;
|
|
991
1010
|
_infinite?: boolean;
|
|
992
1011
|
tags?: ReadonlyArray<string>;
|
|
993
1012
|
}]>, "queryFn"> & {
|
|
994
|
-
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").
|
|
1013
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").PaymentMethod[], [Pick<Options<ListPaymentMethodsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
995
1014
|
_id: string;
|
|
996
1015
|
_infinite?: boolean;
|
|
997
1016
|
tags?: ReadonlyArray<string>;
|
|
998
1017
|
}], never> | undefined;
|
|
999
1018
|
} & {
|
|
1000
|
-
queryKey: [Pick<Options<
|
|
1019
|
+
queryKey: [Pick<Options<ListPaymentMethodsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1001
1020
|
_id: string;
|
|
1002
1021
|
_infinite?: boolean;
|
|
1003
1022
|
tags?: ReadonlyArray<string>;
|
|
1004
1023
|
}] & {
|
|
1005
|
-
[dataTagSymbol]: import("../types.gen").
|
|
1024
|
+
[dataTagSymbol]: import("../types.gen").PaymentMethod[];
|
|
1006
1025
|
[dataTagErrorSymbol]: Error;
|
|
1007
1026
|
};
|
|
1008
1027
|
};
|
|
1009
1028
|
/**
|
|
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.
|
|
1029
|
+
* Set the default payment method.
|
|
1013
1030
|
*
|
|
1014
|
-
*
|
|
1031
|
+
* Sets the given payment method as the default used for invoices and active subscriptions. Requires the Administrator role.
|
|
1015
1032
|
*
|
|
1016
1033
|
*/
|
|
1017
|
-
export declare const
|
|
1034
|
+
export declare const setDefaultPaymentMethodMutation: (options?: Partial<Options<SetDefaultPaymentMethodData>>) => UseMutationOptions<SetDefaultPaymentMethodResponse, DefaultError, Options<SetDefaultPaymentMethodData>>;
|
|
1018
1035
|
/**
|
|
1019
|
-
*
|
|
1036
|
+
* Delete a payment method.
|
|
1037
|
+
*
|
|
1038
|
+
* Detaches the given payment method from the organization. Requires the Administrator role. An organization must keep at least one payment method, so deleting the only remaining method is rejected.
|
|
1020
1039
|
*
|
|
1021
|
-
* Generates a new access token secret. Old secret will not be valid anymore.
|
|
1022
1040
|
*/
|
|
1023
|
-
export declare const
|
|
1024
|
-
export declare const
|
|
1041
|
+
export declare const deletePaymentMethodMutation: (options?: Partial<Options<DeletePaymentMethodData>>) => UseMutationOptions<DeletePaymentMethodResponse, DefaultError, Options<DeletePaymentMethodData>>;
|
|
1042
|
+
export declare const listInvoicesQueryKey: (options?: Options<ListInvoicesData>) => [Pick<Options<ListInvoicesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1025
1043
|
_id: string;
|
|
1026
1044
|
_infinite?: boolean;
|
|
1027
1045
|
tags?: ReadonlyArray<string>;
|
|
1028
1046
|
}];
|
|
1029
1047
|
/**
|
|
1030
|
-
*
|
|
1048
|
+
* List issued invoices.
|
|
1049
|
+
*
|
|
1050
|
+
* Returns a list of invoices for the organization. For more information on billing and payments, see [Billing and pricing](https://cloudfleet.ai/docs/organization/billing/) section of documentaiton. This endpoint is available to all users in the organization.
|
|
1051
|
+
*
|
|
1031
1052
|
*/
|
|
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"> & {
|
|
1053
|
+
export declare const listInvoicesOptions: (options?: Options<ListInvoicesData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").Invoice[], Error, import("../types.gen").Invoice[], [Pick<Options<ListInvoicesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1039
1054
|
_id: string;
|
|
1040
1055
|
_infinite?: boolean;
|
|
1041
1056
|
tags?: ReadonlyArray<string>;
|
|
1042
1057
|
}]>, "queryFn"> & {
|
|
1043
|
-
queryFn?: import("@tanstack/react-query").QueryFunction<{
|
|
1044
|
-
realm?: string;
|
|
1045
|
-
displayName?: string;
|
|
1046
|
-
}[], [Pick<Options<ListUserOrganizationsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1058
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").Invoice[], [Pick<Options<ListInvoicesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1047
1059
|
_id: string;
|
|
1048
1060
|
_infinite?: boolean;
|
|
1049
1061
|
tags?: ReadonlyArray<string>;
|
|
1050
1062
|
}], never> | undefined;
|
|
1051
1063
|
} & {
|
|
1052
|
-
queryKey: [Pick<Options<
|
|
1064
|
+
queryKey: [Pick<Options<ListInvoicesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1053
1065
|
_id: string;
|
|
1054
1066
|
_infinite?: boolean;
|
|
1055
1067
|
tags?: ReadonlyArray<string>;
|
|
1056
1068
|
}] & {
|
|
1057
|
-
[dataTagSymbol]:
|
|
1058
|
-
realm?: string;
|
|
1059
|
-
displayName?: string;
|
|
1060
|
-
}[];
|
|
1069
|
+
[dataTagSymbol]: import("../types.gen").Invoice[];
|
|
1061
1070
|
[dataTagErrorSymbol]: Error;
|
|
1062
1071
|
};
|
|
1063
1072
|
};
|
|
1064
|
-
export declare const
|
|
1073
|
+
export declare const getContactQueryKey: (options?: Options<GetContactData>) => [Pick<Options<GetContactData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1065
1074
|
_id: string;
|
|
1066
1075
|
_infinite?: boolean;
|
|
1067
1076
|
tags?: ReadonlyArray<string>;
|
|
1068
1077
|
}];
|
|
1069
1078
|
/**
|
|
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.
|
|
1079
|
+
* Get organization contact and billing address information.
|
|
1073
1080
|
*
|
|
1074
|
-
* This endpoint is available to all users in the organization.
|
|
1081
|
+
* Returns the organization contact and billing address information. This endpoint is available to all users in the organization.
|
|
1075
1082
|
*
|
|
1076
1083
|
*/
|
|
1077
|
-
export declare const
|
|
1084
|
+
export declare const getContactOptions: (options?: Options<GetContactData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").BillingContact, Error, import("../types.gen").BillingContact, [Pick<Options<GetContactData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1078
1085
|
_id: string;
|
|
1079
1086
|
_infinite?: boolean;
|
|
1080
1087
|
tags?: ReadonlyArray<string>;
|
|
1081
1088
|
}]>, "queryFn"> & {
|
|
1082
|
-
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").
|
|
1089
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").BillingContact, [Pick<Options<GetContactData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1083
1090
|
_id: string;
|
|
1084
1091
|
_infinite?: boolean;
|
|
1085
1092
|
tags?: ReadonlyArray<string>;
|
|
1086
1093
|
}], never> | undefined;
|
|
1087
1094
|
} & {
|
|
1088
|
-
queryKey: [Pick<Options<
|
|
1095
|
+
queryKey: [Pick<Options<GetContactData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1089
1096
|
_id: string;
|
|
1090
1097
|
_infinite?: boolean;
|
|
1091
1098
|
tags?: ReadonlyArray<string>;
|
|
1092
1099
|
}] & {
|
|
1093
|
-
[dataTagSymbol]: import("../types.gen").
|
|
1100
|
+
[dataTagSymbol]: import("../types.gen").BillingContact;
|
|
1094
1101
|
[dataTagErrorSymbol]: Error;
|
|
1095
1102
|
};
|
|
1096
1103
|
};
|
|
1097
1104
|
/**
|
|
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.
|
|
1105
|
+
* Update organization contact information and billing address.
|
|
1106
1106
|
*
|
|
1107
|
-
*
|
|
1107
|
+
* This endpoint allows you to update organization details with its contact information. This endpoint is available to administrators of the organization only.
|
|
1108
1108
|
*
|
|
1109
1109
|
*/
|
|
1110
|
-
export declare const
|
|
1111
|
-
export declare const
|
|
1110
|
+
export declare const updateContactMutation: (options?: Partial<Options<UpdateContactData>>) => UseMutationOptions<UpdateContactResponse, DefaultError, Options<UpdateContactData>>;
|
|
1111
|
+
export declare const getCreditsQueryKey: (options?: Options<GetCreditsData>) => [Pick<Options<GetCreditsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1112
1112
|
_id: string;
|
|
1113
1113
|
_infinite?: boolean;
|
|
1114
1114
|
tags?: ReadonlyArray<string>;
|
|
1115
1115
|
}];
|
|
1116
1116
|
/**
|
|
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.
|
|
1117
|
+
* Get applied promotional credits
|
|
1120
1118
|
*
|
|
1121
|
-
* This endpoint is available to all users in the organization.
|
|
1119
|
+
* Returns applied promotional credits for the organization. For more information on billing and payments, see [Billing and pricing](https://cloudfleet.ai/docs/organization/billing/) section of documentaiton. This endpoint is available to all users in the organization.
|
|
1122
1120
|
*
|
|
1123
1121
|
*/
|
|
1124
|
-
export declare const
|
|
1122
|
+
export declare const getCreditsOptions: (options?: Options<GetCreditsData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").BillingCredits[], Error, import("../types.gen").BillingCredits[], [Pick<Options<GetCreditsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1125
1123
|
_id: string;
|
|
1126
1124
|
_infinite?: boolean;
|
|
1127
1125
|
tags?: ReadonlyArray<string>;
|
|
1128
1126
|
}]>, "queryFn"> & {
|
|
1129
|
-
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").
|
|
1127
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").BillingCredits[], [Pick<Options<GetCreditsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1130
1128
|
_id: string;
|
|
1131
1129
|
_infinite?: boolean;
|
|
1132
1130
|
tags?: ReadonlyArray<string>;
|
|
1133
1131
|
}], never> | undefined;
|
|
1134
1132
|
} & {
|
|
1135
|
-
queryKey: [Pick<Options<
|
|
1133
|
+
queryKey: [Pick<Options<GetCreditsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1136
1134
|
_id: string;
|
|
1137
1135
|
_infinite?: boolean;
|
|
1138
1136
|
tags?: ReadonlyArray<string>;
|
|
1139
1137
|
}] & {
|
|
1140
|
-
[dataTagSymbol]: import("../types.gen").
|
|
1138
|
+
[dataTagSymbol]: import("../types.gen").BillingCredits[];
|
|
1141
1139
|
[dataTagErrorSymbol]: Error;
|
|
1142
1140
|
};
|
|
1143
1141
|
};
|
|
1144
1142
|
/**
|
|
1145
|
-
*
|
|
1143
|
+
* Redeem promotional credits code.
|
|
1146
1144
|
*
|
|
1147
|
-
*
|
|
1145
|
+
* Applies promotional credits for the organization. For more information on billing and payments, see [Billing and pricing](https://cloudfleet.ai/docs/organization/billing/) section of documentaiton. This endpoint is available to all users in the organization.
|
|
1148
1146
|
*
|
|
1149
1147
|
*/
|
|
1150
|
-
export declare const
|
|
1148
|
+
export declare const redeemCreditsMutation: (options?: Partial<Options<RedeemCreditsData>>) => UseMutationOptions<unknown, DefaultError, Options<RedeemCreditsData>>;
|
|
1151
1149
|
//# sourceMappingURL=react-query.gen.d.ts.map
|