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