@cloudfleet/sdk 0.0.1-7aa2bb2 → 0.0.1-7ae8b0a
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 +473 -596
- package/dist/@tanstack/react-query.gen.d.ts.map +1 -1
- package/dist/@tanstack/react-query.gen.js +440 -411
- 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 +459 -190
- package/dist/schemas.gen.d.ts.map +1 -1
- package/dist/schemas.gen.js +620 -269
- package/dist/schemas.gen.js.map +1 -1
- package/dist/sdk.gen.d.ts +238 -221
- package/dist/sdk.gen.d.ts.map +1 -1
- package/dist/sdk.gen.js +344 -325
- package/dist/sdk.gen.js.map +1 -1
- package/dist/types.gen.d.ts +1065 -808
- package/dist/types.gen.d.ts.map +1 -1
- package/dist/zod.gen.d.ts +1690 -1505
- package/dist/zod.gen.d.ts.map +1 -1
- package/dist/zod.gen.js +492 -346
- 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, 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, PayOpenInvoicesData, PayOpenInvoicesResponse, PostMcpData, PostMcpResponse, QueryClusterData, RedeemCreditsData, RegenerateTokenData, RegenerateTokenResponse, ReplyTicketData, ReplyTicketResponse, SetDefaultPaymentMethodData, SetDefaultPaymentMethodResponse, UpdateChartData, UpdateChartError, UpdateChartResponse, UpdateClusterData, UpdateClusterError, UpdateClusterResponse, UpdateContactData, UpdateContactResponse, UpdateFleetData, UpdateFleetError, UpdateFleetResponse, UpdateTokenData, UpdateTokenResponse, UpdateUserData, UpdateUserResponse } from '../types.gen';
|
|
4
4
|
export type QueryKey<TOptions extends Options> = [
|
|
5
5
|
Pick<TOptions, 'baseUrl' | 'body' | 'headers' | 'path' | 'query'> & {
|
|
6
6
|
_id: string;
|
|
@@ -8,514 +8,478 @@ 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>>;
|
|
461
419
|
/**
|
|
462
|
-
*
|
|
463
|
-
*
|
|
464
|
-
* This endpoint will permanently delete the cluster. This operation cannot be undone.
|
|
465
|
-
*
|
|
466
|
-
* This endpoint is available to administrators of the organization only.
|
|
420
|
+
* MCP endpoint
|
|
467
421
|
*
|
|
422
|
+
* MCP endpoint for handling Model Context Protocol JSON-RPC 2.0 messages.
|
|
468
423
|
*/
|
|
469
|
-
export declare const
|
|
470
|
-
export declare const
|
|
424
|
+
export declare const postMcpMutation: (options?: Partial<Options<PostMcpData>>) => UseMutationOptions<PostMcpResponse, DefaultError, Options<PostMcpData>>;
|
|
425
|
+
export declare const listMarketplaceChartsQueryKey: (options?: Options<ListMarketplaceChartsData>) => [Pick<Options<ListMarketplaceChartsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
471
426
|
_id: string;
|
|
472
427
|
_infinite?: boolean;
|
|
473
428
|
tags?: ReadonlyArray<string>;
|
|
474
429
|
}];
|
|
475
430
|
/**
|
|
476
|
-
*
|
|
431
|
+
* List chart listings available in the marketplace.
|
|
477
432
|
*
|
|
478
|
-
* Returns
|
|
433
|
+
* Returns a list of available charts in the marketplace.
|
|
479
434
|
*
|
|
480
435
|
* This endpoint is available to all users in the organization.
|
|
481
436
|
*
|
|
482
437
|
*/
|
|
483
|
-
export declare const
|
|
438
|
+
export declare const listMarketplaceChartsOptions: (options?: Options<ListMarketplaceChartsData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").MarketplaceListing[], Error, import("../types.gen").MarketplaceListing[], [Pick<Options<ListMarketplaceChartsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
484
439
|
_id: string;
|
|
485
440
|
_infinite?: boolean;
|
|
486
441
|
tags?: ReadonlyArray<string>;
|
|
487
442
|
}]>, "queryFn"> & {
|
|
488
|
-
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").
|
|
443
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").MarketplaceListing[], [Pick<Options<ListMarketplaceChartsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
489
444
|
_id: string;
|
|
490
445
|
_infinite?: boolean;
|
|
491
446
|
tags?: ReadonlyArray<string>;
|
|
492
447
|
}], never> | undefined;
|
|
493
|
-
} & {
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
};
|
|
448
|
+
} & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<ListMarketplaceChartsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
449
|
+
_id: string;
|
|
450
|
+
_infinite?: boolean;
|
|
451
|
+
tags?: ReadonlyArray<string>;
|
|
452
|
+
}], import("../types.gen").MarketplaceListing[], Error>;
|
|
453
|
+
export declare const getMarketplaceChartFilesQueryKey: (options: Options<GetMarketplaceChartFilesData>) => [Pick<Options<GetMarketplaceChartFilesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
454
|
+
_id: string;
|
|
455
|
+
_infinite?: boolean;
|
|
456
|
+
tags?: ReadonlyArray<string>;
|
|
457
|
+
}];
|
|
503
458
|
/**
|
|
504
|
-
*
|
|
505
|
-
*
|
|
506
|
-
* This endpoint allows you to update cluster details, including quota and cluster status. For more information about clusters, see [Clusters](https://cloudfleet.ai/docs/cluster-management/cluster-types/) section of documentaiton.
|
|
459
|
+
* Get chart files for a specific version channel.
|
|
507
460
|
*
|
|
508
|
-
*
|
|
461
|
+
* Returns the Chart.yaml, values.yaml, and values.schema.json files for the latest version matching the specified version channel.
|
|
509
462
|
*
|
|
510
|
-
|
|
511
|
-
export declare const updateClusterMutation: (options?: Partial<Options<UpdateClusterData>>) => UseMutationOptions<UpdateClusterResponse, DefaultError, Options<UpdateClusterData>>;
|
|
512
|
-
/**
|
|
513
|
-
* Node join information for the cluster
|
|
463
|
+
* Version channels use patterns like "1.31.x-cfke.x" to match the latest patch version, or "1.x.x-cfke.x" to match the latest minor version.
|
|
514
464
|
*
|
|
515
|
-
*
|
|
465
|
+
* This endpoint is available to all users in the organization.
|
|
516
466
|
*
|
|
517
467
|
*/
|
|
518
|
-
export declare const
|
|
468
|
+
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"> & {
|
|
469
|
+
_id: string;
|
|
470
|
+
_infinite?: boolean;
|
|
471
|
+
tags?: ReadonlyArray<string>;
|
|
472
|
+
}]>, "queryFn"> & {
|
|
473
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").MarketplaceListingFiles, [Pick<Options<GetMarketplaceChartFilesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
474
|
+
_id: string;
|
|
475
|
+
_infinite?: boolean;
|
|
476
|
+
tags?: ReadonlyArray<string>;
|
|
477
|
+
}], never> | undefined;
|
|
478
|
+
} & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<GetMarketplaceChartFilesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
479
|
+
_id: string;
|
|
480
|
+
_infinite?: boolean;
|
|
481
|
+
tags?: ReadonlyArray<string>;
|
|
482
|
+
}], import("../types.gen").MarketplaceListingFiles, Error>;
|
|
519
483
|
export declare const listInvitesQueryKey: (options?: Options<ListInvitesData>) => [Pick<Options<ListInvitesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
520
484
|
_id: string;
|
|
521
485
|
_infinite?: boolean;
|
|
@@ -537,16 +501,11 @@ export declare const listInvitesOptions: (options?: Options<ListInvitesData>) =>
|
|
|
537
501
|
_infinite?: boolean;
|
|
538
502
|
tags?: ReadonlyArray<string>;
|
|
539
503
|
}], never> | undefined;
|
|
540
|
-
} & {
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
}] & {
|
|
546
|
-
[dataTagSymbol]: import("../types.gen").Invite[];
|
|
547
|
-
[dataTagErrorSymbol]: Error;
|
|
548
|
-
};
|
|
549
|
-
};
|
|
504
|
+
} & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<ListInvitesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
505
|
+
_id: string;
|
|
506
|
+
_infinite?: boolean;
|
|
507
|
+
tags?: ReadonlyArray<string>;
|
|
508
|
+
}], import("../types.gen").Invite[], Error>;
|
|
550
509
|
/**
|
|
551
510
|
* Create a new invite.
|
|
552
511
|
*
|
|
@@ -584,19 +543,14 @@ export declare const getInviteOptions: (options: Options<GetInviteData>) => impo
|
|
|
584
543
|
_infinite?: boolean;
|
|
585
544
|
tags?: ReadonlyArray<string>;
|
|
586
545
|
}], never> | undefined;
|
|
587
|
-
} & {
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
organization_id?: string;
|
|
596
|
-
};
|
|
597
|
-
[dataTagErrorSymbol]: Error;
|
|
598
|
-
};
|
|
599
|
-
};
|
|
546
|
+
} & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<GetInviteData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
547
|
+
_id: string;
|
|
548
|
+
_infinite?: boolean;
|
|
549
|
+
tags?: ReadonlyArray<string>;
|
|
550
|
+
}], {
|
|
551
|
+
email?: string;
|
|
552
|
+
organization_id?: string;
|
|
553
|
+
}, Error>;
|
|
600
554
|
/**
|
|
601
555
|
* Permanently delete invite.
|
|
602
556
|
*
|
|
@@ -604,546 +558,469 @@ export declare const getInviteOptions: (options: Options<GetInviteData>) => impo
|
|
|
604
558
|
*
|
|
605
559
|
*/
|
|
606
560
|
export declare const deleteInviteMutation: (options?: Partial<Options<DeleteInviteData>>) => UseMutationOptions<unknown, DefaultError, Options<DeleteInviteData>>;
|
|
607
|
-
export declare const
|
|
561
|
+
export declare const queryClusterQueryKey: (options: Options<QueryClusterData>) => [Pick<Options<QueryClusterData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
608
562
|
_id: string;
|
|
609
563
|
_infinite?: boolean;
|
|
610
564
|
tags?: ReadonlyArray<string>;
|
|
611
565
|
}];
|
|
612
566
|
/**
|
|
613
|
-
*
|
|
614
|
-
*
|
|
615
|
-
* Returns a list of available charts in the marketplace.
|
|
616
|
-
*
|
|
617
|
-
* This endpoint is available to all users in the organization.
|
|
567
|
+
* Query Kubernetes cluster API
|
|
618
568
|
*
|
|
569
|
+
* An API endpoint for directly querying a Kubernetes cluster API without requiring kubectl or other tools. This endpoint is ideal for automation and scripting, as well as for internal use in fetching data for the Cloudfleet Console. It acts as a passthrough to the Kubernetes API, allowing access to any valid Kubernetes API endpoint, including those not exposed in the Cloudfleet Console. The endpoint is strictly read-only, ensuring no modifications to the cluster state. It is accessible to all users within the organization and uses the same authentication mechanisms as other Cloudfleet API endpoints.
|
|
619
570
|
*/
|
|
620
|
-
export declare const
|
|
571
|
+
export declare const queryClusterOptions: (options: Options<QueryClusterData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<unknown, Error, unknown, [Pick<Options<QueryClusterData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
621
572
|
_id: string;
|
|
622
573
|
_infinite?: boolean;
|
|
623
574
|
tags?: ReadonlyArray<string>;
|
|
624
575
|
}]>, "queryFn"> & {
|
|
625
|
-
queryFn?: import("@tanstack/react-query").QueryFunction<
|
|
576
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<unknown, [Pick<Options<QueryClusterData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
626
577
|
_id: string;
|
|
627
578
|
_infinite?: boolean;
|
|
628
579
|
tags?: ReadonlyArray<string>;
|
|
629
580
|
}], never> | undefined;
|
|
630
|
-
} & {
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
[dataTagSymbol]: import("../types.gen").MarketplaceListing[];
|
|
637
|
-
[dataTagErrorSymbol]: Error;
|
|
638
|
-
};
|
|
639
|
-
};
|
|
640
|
-
export declare const getMarketplaceChartFilesQueryKey: (options: Options<GetMarketplaceChartFilesData>) => [Pick<Options<GetMarketplaceChartFilesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
581
|
+
} & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<QueryClusterData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
582
|
+
_id: string;
|
|
583
|
+
_infinite?: boolean;
|
|
584
|
+
tags?: ReadonlyArray<string>;
|
|
585
|
+
}], unknown, Error>;
|
|
586
|
+
export declare const listFleetsQueryKey: (options: Options<ListFleetsData>) => [Pick<Options<ListFleetsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
641
587
|
_id: string;
|
|
642
588
|
_infinite?: boolean;
|
|
643
589
|
tags?: ReadonlyArray<string>;
|
|
644
590
|
}];
|
|
645
591
|
/**
|
|
646
|
-
*
|
|
647
|
-
*
|
|
648
|
-
* Returns the Chart.yaml, values.yaml, and values.schema.json files for the latest version matching the specified version channel.
|
|
592
|
+
* List fleets.
|
|
649
593
|
*
|
|
650
|
-
*
|
|
594
|
+
* Returns a list of fleets belonging to the cluster. For more information, see [Fleets](https://cloudfleet.ai/docs/cloud-infrastructure/fleets/) section of documentaiton.
|
|
651
595
|
*
|
|
652
596
|
* This endpoint is available to all users in the organization.
|
|
653
597
|
*
|
|
654
598
|
*/
|
|
655
|
-
export declare const
|
|
599
|
+
export declare const listFleetsOptions: (options: Options<ListFleetsData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").Fleet[], Error, import("../types.gen").Fleet[], [Pick<Options<ListFleetsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
656
600
|
_id: string;
|
|
657
601
|
_infinite?: boolean;
|
|
658
602
|
tags?: ReadonlyArray<string>;
|
|
659
603
|
}]>, "queryFn"> & {
|
|
660
|
-
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").
|
|
604
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").Fleet[], [Pick<Options<ListFleetsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
661
605
|
_id: string;
|
|
662
606
|
_infinite?: boolean;
|
|
663
607
|
tags?: ReadonlyArray<string>;
|
|
664
608
|
}], never> | undefined;
|
|
665
|
-
} & {
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
}] & {
|
|
671
|
-
[dataTagSymbol]: import("../types.gen").MarketplaceListingFiles;
|
|
672
|
-
[dataTagErrorSymbol]: Error;
|
|
673
|
-
};
|
|
674
|
-
};
|
|
609
|
+
} & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<ListFleetsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
610
|
+
_id: string;
|
|
611
|
+
_infinite?: boolean;
|
|
612
|
+
tags?: ReadonlyArray<string>;
|
|
613
|
+
}], import("../types.gen").Fleet[], Error>;
|
|
675
614
|
/**
|
|
676
|
-
*
|
|
615
|
+
* Create a new fleet.
|
|
616
|
+
*
|
|
617
|
+
* 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.
|
|
618
|
+
*
|
|
619
|
+
* The cluster must be ready (status `deployed`) before a fleet can be added. Adding a fleet while the cluster is still provisioning returns `409`.
|
|
620
|
+
*
|
|
621
|
+
* This endpoint is available to administrators of the organization only.
|
|
677
622
|
*
|
|
678
|
-
* MCP endpoint for handling Model Context Protocol JSON-RPC 2.0 messages.
|
|
679
623
|
*/
|
|
680
|
-
export declare const
|
|
681
|
-
|
|
624
|
+
export declare const createFleetMutation: (options?: Partial<Options<CreateFleetData>>) => UseMutationOptions<CreateFleetResponse, CreateFleetError, Options<CreateFleetData>>;
|
|
625
|
+
/**
|
|
626
|
+
* Permanently delete fleet.
|
|
627
|
+
*
|
|
628
|
+
* 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.
|
|
629
|
+
*
|
|
630
|
+
* 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.
|
|
631
|
+
*
|
|
632
|
+
* This endpoint is available to administrators of the organization only.
|
|
633
|
+
*
|
|
634
|
+
*/
|
|
635
|
+
export declare const deleteFleetMutation: (options?: Partial<Options<DeleteFleetData>>) => UseMutationOptions<DeleteFleetResponse, DeleteFleetError, Options<DeleteFleetData>>;
|
|
636
|
+
export declare const getFleetQueryKey: (options: Options<GetFleetData>) => [Pick<Options<GetFleetData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
682
637
|
_id: string;
|
|
683
638
|
_infinite?: boolean;
|
|
684
639
|
tags?: ReadonlyArray<string>;
|
|
685
640
|
}];
|
|
686
641
|
/**
|
|
687
|
-
* Get
|
|
642
|
+
* Get fleet information.
|
|
688
643
|
*
|
|
689
|
-
* Returns
|
|
644
|
+
* Returns fleet details. For more information, see [Fleets](https://cloudfleet.ai/docs/cloud-infrastructure/fleets/) section of documentaiton.
|
|
690
645
|
*
|
|
691
646
|
* This endpoint is available to all users in the organization.
|
|
692
647
|
*
|
|
693
648
|
*/
|
|
694
|
-
export declare const
|
|
649
|
+
export declare const getFleetOptions: (options: Options<GetFleetData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").Fleet, Error, import("../types.gen").Fleet, [Pick<Options<GetFleetData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
695
650
|
_id: string;
|
|
696
651
|
_infinite?: boolean;
|
|
697
652
|
tags?: ReadonlyArray<string>;
|
|
698
653
|
}]>, "queryFn"> & {
|
|
699
|
-
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").
|
|
654
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").Fleet, [Pick<Options<GetFleetData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
700
655
|
_id: string;
|
|
701
656
|
_infinite?: boolean;
|
|
702
657
|
tags?: ReadonlyArray<string>;
|
|
703
658
|
}], never> | undefined;
|
|
704
|
-
} & {
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
}] & {
|
|
710
|
-
[dataTagSymbol]: import("../types.gen").Organization;
|
|
711
|
-
[dataTagErrorSymbol]: Error;
|
|
712
|
-
};
|
|
713
|
-
};
|
|
659
|
+
} & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<GetFleetData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
660
|
+
_id: string;
|
|
661
|
+
_infinite?: boolean;
|
|
662
|
+
tags?: ReadonlyArray<string>;
|
|
663
|
+
}], import("../types.gen").Fleet, Error>;
|
|
714
664
|
/**
|
|
715
|
-
*
|
|
665
|
+
* Update fleet information.
|
|
716
666
|
*
|
|
717
|
-
* This endpoint allows you to
|
|
667
|
+
* This endpoint allows you to update fleet details.
|
|
668
|
+
*
|
|
669
|
+
* For more information, see [Fleets](https://cloudfleet.ai/docs/cloud-infrastructure/fleets/) section of documentaiton.
|
|
670
|
+
*
|
|
671
|
+
* 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).
|
|
672
|
+
*
|
|
673
|
+
* This endpoint is available to administrators of the organization only.
|
|
718
674
|
*
|
|
719
675
|
*/
|
|
720
|
-
export declare const
|
|
721
|
-
export declare const
|
|
676
|
+
export declare const updateFleetMutation: (options?: Partial<Options<UpdateFleetData>>) => UseMutationOptions<UpdateFleetResponse, UpdateFleetError, Options<UpdateFleetData>>;
|
|
677
|
+
export declare const listChartsQueryKey: (options: Options<ListChartsData>) => [Pick<Options<ListChartsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
722
678
|
_id: string;
|
|
723
679
|
_infinite?: boolean;
|
|
724
680
|
tags?: ReadonlyArray<string>;
|
|
725
681
|
}];
|
|
726
682
|
/**
|
|
727
|
-
* List
|
|
683
|
+
* List charts.
|
|
728
684
|
*
|
|
729
|
-
* Returns a list of
|
|
685
|
+
* Returns a list of charts in the cluster.
|
|
686
|
+
*
|
|
687
|
+
* This endpoint is available to all users in the organization.
|
|
730
688
|
*
|
|
731
689
|
*/
|
|
732
|
-
export declare const
|
|
690
|
+
export declare const listChartsOptions: (options: Options<ListChartsData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").Chart[], Error, import("../types.gen").Chart[], [Pick<Options<ListChartsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
733
691
|
_id: string;
|
|
734
692
|
_infinite?: boolean;
|
|
735
693
|
tags?: ReadonlyArray<string>;
|
|
736
694
|
}]>, "queryFn"> & {
|
|
737
|
-
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").
|
|
695
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").Chart[], [Pick<Options<ListChartsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
738
696
|
_id: string;
|
|
739
697
|
_infinite?: boolean;
|
|
740
698
|
tags?: ReadonlyArray<string>;
|
|
741
699
|
}], never> | undefined;
|
|
742
|
-
} & {
|
|
743
|
-
queryKey: [Pick<Options<ListRepositoriesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
744
|
-
_id: string;
|
|
745
|
-
_infinite?: boolean;
|
|
746
|
-
tags?: ReadonlyArray<string>;
|
|
747
|
-
}] & {
|
|
748
|
-
[dataTagSymbol]: import("../types.gen").RegistryRepository[];
|
|
749
|
-
[dataTagErrorSymbol]: Error;
|
|
750
|
-
};
|
|
751
|
-
};
|
|
752
|
-
export declare const listTagsQueryKey: (options: Options<ListTagsData>) => [Pick<Options<ListTagsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
700
|
+
} & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<ListChartsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
753
701
|
_id: string;
|
|
754
702
|
_infinite?: boolean;
|
|
755
703
|
tags?: ReadonlyArray<string>;
|
|
756
|
-
}]
|
|
704
|
+
}], import("../types.gen").Chart[], Error>;
|
|
757
705
|
/**
|
|
758
|
-
*
|
|
706
|
+
* Create a new chart.
|
|
759
707
|
*
|
|
760
|
-
*
|
|
708
|
+
* Create a new chart deployment.
|
|
709
|
+
*
|
|
710
|
+
* This endpoint is available to administrators of the organization only.
|
|
761
711
|
*
|
|
762
712
|
*/
|
|
763
|
-
export declare const
|
|
764
|
-
_id: string;
|
|
765
|
-
_infinite?: boolean;
|
|
766
|
-
tags?: ReadonlyArray<string>;
|
|
767
|
-
}]>, "queryFn"> & {
|
|
768
|
-
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").RegistryRepositoryWithTags, [Pick<Options<ListTagsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
769
|
-
_id: string;
|
|
770
|
-
_infinite?: boolean;
|
|
771
|
-
tags?: ReadonlyArray<string>;
|
|
772
|
-
}], never> | undefined;
|
|
773
|
-
} & {
|
|
774
|
-
queryKey: [Pick<Options<ListTagsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
775
|
-
_id: string;
|
|
776
|
-
_infinite?: boolean;
|
|
777
|
-
tags?: ReadonlyArray<string>;
|
|
778
|
-
}] & {
|
|
779
|
-
[dataTagSymbol]: import("../types.gen").RegistryRepositoryWithTags;
|
|
780
|
-
[dataTagErrorSymbol]: Error;
|
|
781
|
-
};
|
|
782
|
-
};
|
|
713
|
+
export declare const createChartMutation: (options?: Partial<Options<CreateChartData>>) => UseMutationOptions<CreateChartResponse, CreateChartError, Options<CreateChartData>>;
|
|
783
714
|
/**
|
|
784
|
-
*
|
|
715
|
+
* Permanently delete the chart deployment from the cluster.
|
|
785
716
|
*
|
|
786
|
-
*
|
|
717
|
+
* This endpoint will permanently delete chart. This operation cannot be undone.
|
|
718
|
+
*
|
|
719
|
+
* This endpoint is available to administrators of the organization only.
|
|
787
720
|
*
|
|
788
721
|
*/
|
|
789
|
-
export declare const
|
|
790
|
-
export declare const
|
|
722
|
+
export declare const deleteChartMutation: (options?: Partial<Options<DeleteChartData>>) => UseMutationOptions<DeleteChartResponse, DeleteChartError, Options<DeleteChartData>>;
|
|
723
|
+
export declare const getChartQueryKey: (options: Options<GetChartData>) => [Pick<Options<GetChartData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
791
724
|
_id: string;
|
|
792
725
|
_infinite?: boolean;
|
|
793
726
|
tags?: ReadonlyArray<string>;
|
|
794
727
|
}];
|
|
795
728
|
/**
|
|
796
|
-
* Get
|
|
729
|
+
* Get chart information.
|
|
797
730
|
*
|
|
798
|
-
* Returns
|
|
731
|
+
* Returns the details of the chart deployment.
|
|
732
|
+
*
|
|
733
|
+
* This endpoint is available to all users in the organization.
|
|
799
734
|
*
|
|
800
735
|
*/
|
|
801
|
-
export declare const
|
|
736
|
+
export declare const getChartOptions: (options: Options<GetChartData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").Chart, Error, import("../types.gen").Chart, [Pick<Options<GetChartData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
802
737
|
_id: string;
|
|
803
738
|
_infinite?: boolean;
|
|
804
739
|
tags?: ReadonlyArray<string>;
|
|
805
740
|
}]>, "queryFn"> & {
|
|
806
|
-
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").
|
|
741
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").Chart, [Pick<Options<GetChartData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
807
742
|
_id: string;
|
|
808
743
|
_infinite?: boolean;
|
|
809
744
|
tags?: ReadonlyArray<string>;
|
|
810
745
|
}], never> | undefined;
|
|
811
|
-
} & {
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
746
|
+
} & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<GetChartData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
747
|
+
_id: string;
|
|
748
|
+
_infinite?: boolean;
|
|
749
|
+
tags?: ReadonlyArray<string>;
|
|
750
|
+
}], import("../types.gen").Chart, Error>;
|
|
751
|
+
/**
|
|
752
|
+
* Update chart information.
|
|
753
|
+
*
|
|
754
|
+
* This endpoint allows you to update the values of a chart deployment.
|
|
755
|
+
*
|
|
756
|
+
* This endpoint is available to administrators of the organization only.
|
|
757
|
+
*
|
|
758
|
+
*/
|
|
759
|
+
export declare const updateChartMutation: (options?: Partial<Options<UpdateChartData>>) => UseMutationOptions<UpdateChartResponse, UpdateChartError, Options<UpdateChartData>>;
|
|
760
|
+
export declare const listClustersQueryKey: (options?: Options<ListClustersData>) => [Pick<Options<ListClustersData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
822
761
|
_id: string;
|
|
823
762
|
_infinite?: boolean;
|
|
824
763
|
tags?: ReadonlyArray<string>;
|
|
825
764
|
}];
|
|
826
765
|
/**
|
|
827
|
-
* List
|
|
766
|
+
* List clusters.
|
|
828
767
|
*
|
|
829
|
-
* Returns
|
|
768
|
+
* Returns a list of clusters under the current organization.
|
|
769
|
+
*
|
|
770
|
+
* This endpoint is available to all users in the organization.
|
|
830
771
|
*
|
|
831
772
|
*/
|
|
832
|
-
export declare const
|
|
773
|
+
export declare const listClustersOptions: (options?: Options<ListClustersData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").Cluster[], Error, import("../types.gen").Cluster[], [Pick<Options<ListClustersData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
833
774
|
_id: string;
|
|
834
775
|
_infinite?: boolean;
|
|
835
776
|
tags?: ReadonlyArray<string>;
|
|
836
777
|
}]>, "queryFn"> & {
|
|
837
|
-
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").
|
|
778
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").Cluster[], [Pick<Options<ListClustersData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
838
779
|
_id: string;
|
|
839
780
|
_infinite?: boolean;
|
|
840
781
|
tags?: ReadonlyArray<string>;
|
|
841
782
|
}], never> | undefined;
|
|
842
|
-
} & {
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
}] & {
|
|
848
|
-
[dataTagSymbol]: import("../types.gen").TicketListResponse;
|
|
849
|
-
[dataTagErrorSymbol]: Error;
|
|
850
|
-
};
|
|
851
|
-
};
|
|
783
|
+
} & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<ListClustersData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
784
|
+
_id: string;
|
|
785
|
+
_infinite?: boolean;
|
|
786
|
+
tags?: ReadonlyArray<string>;
|
|
787
|
+
}], import("../types.gen").Cluster[], Error>;
|
|
852
788
|
/**
|
|
853
|
-
* Create a new
|
|
789
|
+
* Create a new cluster.
|
|
854
790
|
*
|
|
855
|
-
*
|
|
791
|
+
* 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.
|
|
792
|
+
*
|
|
793
|
+
* This endpoint is available to administrators of the organization only.
|
|
856
794
|
*
|
|
857
795
|
*/
|
|
858
|
-
export declare const
|
|
796
|
+
export declare const createClusterMutation: (options?: Partial<Options<CreateClusterData>>) => UseMutationOptions<CreateClusterResponse, CreateClusterError, Options<CreateClusterData>>;
|
|
859
797
|
/**
|
|
860
|
-
*
|
|
798
|
+
* Permanently delete cluster.
|
|
861
799
|
*
|
|
862
|
-
*
|
|
800
|
+
* This endpoint will permanently delete the cluster. This operation cannot be undone.
|
|
801
|
+
*
|
|
802
|
+
* 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.
|
|
803
|
+
*
|
|
804
|
+
* This endpoint is available to administrators of the organization only.
|
|
863
805
|
*
|
|
864
806
|
*/
|
|
865
|
-
export declare const
|
|
866
|
-
export declare const
|
|
807
|
+
export declare const deleteClusterMutation: (options?: Partial<Options<DeleteClusterData>>) => UseMutationOptions<DeleteClusterResponse, DeleteClusterError, Options<DeleteClusterData>>;
|
|
808
|
+
export declare const getClusterQueryKey: (options: Options<GetClusterData>) => [Pick<Options<GetClusterData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
867
809
|
_id: string;
|
|
868
810
|
_infinite?: boolean;
|
|
869
811
|
tags?: ReadonlyArray<string>;
|
|
870
812
|
}];
|
|
871
813
|
/**
|
|
872
|
-
* Get
|
|
814
|
+
* Get cluster information.
|
|
815
|
+
*
|
|
816
|
+
* Returns cluster details.
|
|
817
|
+
*
|
|
818
|
+
* This endpoint is available to all users in the organization.
|
|
819
|
+
*
|
|
873
820
|
*/
|
|
874
|
-
export declare const
|
|
821
|
+
export declare const getClusterOptions: (options: Options<GetClusterData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").Cluster, Error, import("../types.gen").Cluster, [Pick<Options<GetClusterData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
875
822
|
_id: string;
|
|
876
823
|
_infinite?: boolean;
|
|
877
824
|
tags?: ReadonlyArray<string>;
|
|
878
825
|
}]>, "queryFn"> & {
|
|
879
|
-
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").
|
|
826
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").Cluster, [Pick<Options<GetClusterData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
880
827
|
_id: string;
|
|
881
828
|
_infinite?: boolean;
|
|
882
829
|
tags?: ReadonlyArray<string>;
|
|
883
830
|
}], never> | undefined;
|
|
884
|
-
} & {
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
}] & {
|
|
890
|
-
[dataTagSymbol]: import("../types.gen").Ticket;
|
|
891
|
-
[dataTagErrorSymbol]: Error;
|
|
892
|
-
};
|
|
893
|
-
};
|
|
831
|
+
} & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<GetClusterData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
832
|
+
_id: string;
|
|
833
|
+
_infinite?: boolean;
|
|
834
|
+
tags?: ReadonlyArray<string>;
|
|
835
|
+
}], import("../types.gen").Cluster, Error>;
|
|
894
836
|
/**
|
|
895
|
-
*
|
|
837
|
+
* Update cluster information.
|
|
896
838
|
*
|
|
897
|
-
*
|
|
839
|
+
* 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.
|
|
840
|
+
*
|
|
841
|
+
* This is a full overwrite: any field omitted from the request is reset to its default rather than left unchanged.
|
|
842
|
+
*
|
|
843
|
+
* This endpoint is available to administrators of the organization only.
|
|
898
844
|
*
|
|
899
845
|
*/
|
|
900
|
-
export declare const
|
|
901
|
-
export declare const getTicketAttachmentQueryKey: (options: Options<GetTicketAttachmentData>) => [Pick<Options<GetTicketAttachmentData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
902
|
-
_id: string;
|
|
903
|
-
_infinite?: boolean;
|
|
904
|
-
tags?: ReadonlyArray<string>;
|
|
905
|
-
}];
|
|
846
|
+
export declare const updateClusterMutation: (options?: Partial<Options<UpdateClusterData>>) => UseMutationOptions<UpdateClusterResponse, UpdateClusterError, Options<UpdateClusterData>>;
|
|
906
847
|
/**
|
|
907
|
-
*
|
|
848
|
+
* Node join information for the cluster
|
|
849
|
+
*
|
|
850
|
+
* 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.
|
|
851
|
+
*
|
|
908
852
|
*/
|
|
909
|
-
export declare const
|
|
910
|
-
|
|
911
|
-
_infinite?: boolean;
|
|
912
|
-
tags?: ReadonlyArray<string>;
|
|
913
|
-
}]>, "queryFn"> & {
|
|
914
|
-
queryFn?: import("@tanstack/react-query").QueryFunction<Blob | File, [Pick<Options<GetTicketAttachmentData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
915
|
-
_id: string;
|
|
916
|
-
_infinite?: boolean;
|
|
917
|
-
tags?: ReadonlyArray<string>;
|
|
918
|
-
}], never> | undefined;
|
|
919
|
-
} & {
|
|
920
|
-
queryKey: [Pick<Options<GetTicketAttachmentData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
921
|
-
_id: string;
|
|
922
|
-
_infinite?: boolean;
|
|
923
|
-
tags?: ReadonlyArray<string>;
|
|
924
|
-
}] & {
|
|
925
|
-
[dataTagSymbol]: Blob | File;
|
|
926
|
-
[dataTagErrorSymbol]: Error;
|
|
927
|
-
};
|
|
928
|
-
};
|
|
929
|
-
export declare const listTokensQueryKey: (options?: Options<ListTokensData>) => [Pick<Options<ListTokensData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
853
|
+
export declare const getJoinInformationMutation: (options?: Partial<Options<GetJoinInformationData>>) => UseMutationOptions<GetJoinInformationResponse, GetJoinInformationError, Options<GetJoinInformationData>>;
|
|
854
|
+
export declare const getUsageQueryKey: (options?: Options<GetUsageData>) => [Pick<Options<GetUsageData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
930
855
|
_id: string;
|
|
931
856
|
_infinite?: boolean;
|
|
932
857
|
tags?: ReadonlyArray<string>;
|
|
933
858
|
}];
|
|
934
859
|
/**
|
|
935
|
-
*
|
|
860
|
+
* Get billing usage information.
|
|
936
861
|
*
|
|
937
|
-
*
|
|
862
|
+
* Returns aggregated usage information for the organization with facets for filtering. For more information on billing and payments, see [Billing and pricing](https://cloudfleet.ai/docs/organization/billing/) section of documentaiton. This endpoint is available to all users in the organization.
|
|
938
863
|
*
|
|
939
864
|
*/
|
|
940
|
-
export declare const
|
|
865
|
+
export declare const getUsageOptions: (options?: Options<GetUsageData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").UsageResponse, Error, import("../types.gen").UsageResponse, [Pick<Options<GetUsageData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
941
866
|
_id: string;
|
|
942
867
|
_infinite?: boolean;
|
|
943
868
|
tags?: ReadonlyArray<string>;
|
|
944
869
|
}]>, "queryFn"> & {
|
|
945
|
-
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").
|
|
870
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").UsageResponse, [Pick<Options<GetUsageData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
946
871
|
_id: string;
|
|
947
872
|
_infinite?: boolean;
|
|
948
873
|
tags?: ReadonlyArray<string>;
|
|
949
874
|
}], never> | undefined;
|
|
950
|
-
} & {
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
}] & {
|
|
956
|
-
[dataTagSymbol]: import("../types.gen").Token[];
|
|
957
|
-
[dataTagErrorSymbol]: Error;
|
|
958
|
-
};
|
|
959
|
-
};
|
|
960
|
-
/**
|
|
961
|
-
* Create a new access token.
|
|
962
|
-
*
|
|
963
|
-
* This endpoint allows you to create a new access token. For more information about identity access management and security, see [Service Accounts](https://cloudfleet.ai/docs/organization/api-tokens/) section of documentaiton.
|
|
964
|
-
*
|
|
965
|
-
* This endpoint is available to administrators of the organization only.
|
|
966
|
-
*
|
|
967
|
-
*/
|
|
968
|
-
export declare const createTokenMutation: (options?: Partial<Options<CreateTokenData>>) => UseMutationOptions<CreateTokenResponse, DefaultError, Options<CreateTokenData>>;
|
|
875
|
+
} & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<GetUsageData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
876
|
+
_id: string;
|
|
877
|
+
_infinite?: boolean;
|
|
878
|
+
tags?: ReadonlyArray<string>;
|
|
879
|
+
}], import("../types.gen").UsageResponse, Error>;
|
|
969
880
|
/**
|
|
970
|
-
*
|
|
881
|
+
* Get Stripe client secret.
|
|
971
882
|
*
|
|
972
|
-
*
|
|
883
|
+
* Endpoint returns the Stripe secret key for the organization. This key is used to securely update the payment method in the Cloudfleet console only, please visit https://console.cloudfleet.ai. This endpoint is available to administrators of the organization only.
|
|
973
884
|
*
|
|
974
885
|
*/
|
|
975
|
-
export declare const
|
|
976
|
-
export declare const
|
|
886
|
+
export declare const getPaymentMethodSecretMutation: (options?: Partial<Options<GetPaymentMethodSecretData>>) => UseMutationOptions<GetPaymentMethodSecretResponse, DefaultError, Options<GetPaymentMethodSecretData>>;
|
|
887
|
+
export declare const listPaymentMethodsQueryKey: (options?: Options<ListPaymentMethodsData>) => [Pick<Options<ListPaymentMethodsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
977
888
|
_id: string;
|
|
978
889
|
_infinite?: boolean;
|
|
979
890
|
tags?: ReadonlyArray<string>;
|
|
980
891
|
}];
|
|
981
892
|
/**
|
|
982
|
-
*
|
|
893
|
+
* List organization payment methods.
|
|
983
894
|
*
|
|
984
|
-
*
|
|
895
|
+
* Returns all payment methods (cards and SEPA Direct Debit) attached to the organization, most recently added first, with the default flagged. This endpoint is available to all users in the organization.
|
|
985
896
|
*
|
|
986
897
|
*/
|
|
987
|
-
export declare const
|
|
898
|
+
export declare const listPaymentMethodsOptions: (options?: Options<ListPaymentMethodsData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").PaymentMethod[], Error, import("../types.gen").PaymentMethod[], [Pick<Options<ListPaymentMethodsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
988
899
|
_id: string;
|
|
989
900
|
_infinite?: boolean;
|
|
990
901
|
tags?: ReadonlyArray<string>;
|
|
991
902
|
}]>, "queryFn"> & {
|
|
992
|
-
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").
|
|
903
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").PaymentMethod[], [Pick<Options<ListPaymentMethodsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
993
904
|
_id: string;
|
|
994
905
|
_infinite?: boolean;
|
|
995
906
|
tags?: ReadonlyArray<string>;
|
|
996
907
|
}], never> | undefined;
|
|
997
|
-
} & {
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
}] & {
|
|
1003
|
-
[dataTagSymbol]: import("../types.gen").Token;
|
|
1004
|
-
[dataTagErrorSymbol]: Error;
|
|
1005
|
-
};
|
|
1006
|
-
};
|
|
908
|
+
} & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<ListPaymentMethodsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
909
|
+
_id: string;
|
|
910
|
+
_infinite?: boolean;
|
|
911
|
+
tags?: ReadonlyArray<string>;
|
|
912
|
+
}], import("../types.gen").PaymentMethod[], Error>;
|
|
1007
913
|
/**
|
|
1008
|
-
*
|
|
1009
|
-
*
|
|
1010
|
-
* This endpoint allows you to update access token details. For more information about identity access management and security, see [Service Accounts](https://cloudfleet.ai/docs/organization/api-tokens/) section of documentaiton.
|
|
914
|
+
* Set the default payment method.
|
|
1011
915
|
*
|
|
1012
|
-
*
|
|
916
|
+
* Sets the given payment method as the default used for invoices and active subscriptions. Requires the Administrator role.
|
|
1013
917
|
*
|
|
1014
918
|
*/
|
|
1015
|
-
export declare const
|
|
919
|
+
export declare const setDefaultPaymentMethodMutation: (options?: Partial<Options<SetDefaultPaymentMethodData>>) => UseMutationOptions<SetDefaultPaymentMethodResponse, DefaultError, Options<SetDefaultPaymentMethodData>>;
|
|
1016
920
|
/**
|
|
1017
|
-
*
|
|
921
|
+
* Delete a payment method.
|
|
922
|
+
*
|
|
923
|
+
* Detaches the given payment method from the organization. Requires the Administrator role. An organization must keep at least one payment method, so deleting the only remaining method is rejected.
|
|
1018
924
|
*
|
|
1019
|
-
* Generates a new access token secret. Old secret will not be valid anymore.
|
|
1020
925
|
*/
|
|
1021
|
-
export declare const
|
|
1022
|
-
export declare const
|
|
926
|
+
export declare const deletePaymentMethodMutation: (options?: Partial<Options<DeletePaymentMethodData>>) => UseMutationOptions<DeletePaymentMethodResponse, DefaultError, Options<DeletePaymentMethodData>>;
|
|
927
|
+
export declare const listInvoicesQueryKey: (options?: Options<ListInvoicesData>) => [Pick<Options<ListInvoicesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1023
928
|
_id: string;
|
|
1024
929
|
_infinite?: boolean;
|
|
1025
930
|
tags?: ReadonlyArray<string>;
|
|
1026
931
|
}];
|
|
1027
932
|
/**
|
|
1028
|
-
*
|
|
933
|
+
* List issued invoices.
|
|
934
|
+
*
|
|
935
|
+
* 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.
|
|
936
|
+
*
|
|
1029
937
|
*/
|
|
1030
|
-
export declare const
|
|
1031
|
-
realm?: string;
|
|
1032
|
-
displayName?: string;
|
|
1033
|
-
}[], Error, {
|
|
1034
|
-
realm?: string;
|
|
1035
|
-
displayName?: string;
|
|
1036
|
-
}[], [Pick<Options<ListUserOrganizationsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
938
|
+
export declare const listInvoicesOptions: (options?: Options<ListInvoicesData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").Invoice[], Error, import("../types.gen").Invoice[], [Pick<Options<ListInvoicesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1037
939
|
_id: string;
|
|
1038
940
|
_infinite?: boolean;
|
|
1039
941
|
tags?: ReadonlyArray<string>;
|
|
1040
942
|
}]>, "queryFn"> & {
|
|
1041
|
-
queryFn?: import("@tanstack/react-query").QueryFunction<{
|
|
1042
|
-
realm?: string;
|
|
1043
|
-
displayName?: string;
|
|
1044
|
-
}[], [Pick<Options<ListUserOrganizationsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
943
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").Invoice[], [Pick<Options<ListInvoicesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1045
944
|
_id: string;
|
|
1046
945
|
_infinite?: boolean;
|
|
1047
946
|
tags?: ReadonlyArray<string>;
|
|
1048
947
|
}], never> | undefined;
|
|
1049
|
-
} & {
|
|
1050
|
-
queryKey: [Pick<Options<ListUserOrganizationsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1051
|
-
_id: string;
|
|
1052
|
-
_infinite?: boolean;
|
|
1053
|
-
tags?: ReadonlyArray<string>;
|
|
1054
|
-
}] & {
|
|
1055
|
-
[dataTagSymbol]: {
|
|
1056
|
-
realm?: string;
|
|
1057
|
-
displayName?: string;
|
|
1058
|
-
}[];
|
|
1059
|
-
[dataTagErrorSymbol]: Error;
|
|
1060
|
-
};
|
|
1061
|
-
};
|
|
1062
|
-
export declare const listUsersQueryKey: (options?: Options<ListUsersData>) => [Pick<Options<ListUsersData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
948
|
+
} & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<ListInvoicesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1063
949
|
_id: string;
|
|
1064
950
|
_infinite?: boolean;
|
|
1065
951
|
tags?: ReadonlyArray<string>;
|
|
1066
|
-
}]
|
|
952
|
+
}], import("../types.gen").Invoice[], Error>;
|
|
1067
953
|
/**
|
|
1068
|
-
*
|
|
954
|
+
* Pay the organization's open invoices.
|
|
1069
955
|
*
|
|
1070
|
-
*
|
|
956
|
+
* Charges all open invoices of the organization against its default payment method. This endpoint is available to administrators of the organization only.
|
|
1071
957
|
*
|
|
1072
|
-
|
|
958
|
+
*/
|
|
959
|
+
export declare const payOpenInvoicesMutation: (options?: Partial<Options<PayOpenInvoicesData>>) => UseMutationOptions<PayOpenInvoicesResponse, DefaultError, Options<PayOpenInvoicesData>>;
|
|
960
|
+
export declare const getContactQueryKey: (options?: Options<GetContactData>) => [Pick<Options<GetContactData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
961
|
+
_id: string;
|
|
962
|
+
_infinite?: boolean;
|
|
963
|
+
tags?: ReadonlyArray<string>;
|
|
964
|
+
}];
|
|
965
|
+
/**
|
|
966
|
+
* Get organization contact and billing address information.
|
|
967
|
+
*
|
|
968
|
+
* Returns the organization contact and billing address information. This endpoint is available to all users in the organization.
|
|
1073
969
|
*
|
|
1074
970
|
*/
|
|
1075
|
-
export declare const
|
|
971
|
+
export declare const getContactOptions: (options?: Options<GetContactData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").BillingContact, Error, import("../types.gen").BillingContact, [Pick<Options<GetContactData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1076
972
|
_id: string;
|
|
1077
973
|
_infinite?: boolean;
|
|
1078
974
|
tags?: ReadonlyArray<string>;
|
|
1079
975
|
}]>, "queryFn"> & {
|
|
1080
|
-
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").
|
|
976
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").BillingContact, [Pick<Options<GetContactData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1081
977
|
_id: string;
|
|
1082
978
|
_infinite?: boolean;
|
|
1083
979
|
tags?: ReadonlyArray<string>;
|
|
1084
980
|
}], never> | undefined;
|
|
1085
|
-
} & {
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
}] & {
|
|
1091
|
-
[dataTagSymbol]: import("../types.gen").User[];
|
|
1092
|
-
[dataTagErrorSymbol]: Error;
|
|
1093
|
-
};
|
|
1094
|
-
};
|
|
1095
|
-
/**
|
|
1096
|
-
* Create a new user.
|
|
1097
|
-
*
|
|
1098
|
-
* Create a new user in your Cloudfleet organization. Requires a valid invite code generated by the `invites create` command. The invite code is a unique string that can be used only once to create a new user. The invite code is generated by the `POST /invites` endpoint.
|
|
1099
|
-
*
|
|
1100
|
-
*/
|
|
1101
|
-
export declare const createUserMutation: (options?: Partial<Options<CreateUserData>>) => UseMutationOptions<CreateUserResponse, DefaultError, Options<CreateUserData>>;
|
|
981
|
+
} & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<GetContactData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
982
|
+
_id: string;
|
|
983
|
+
_infinite?: boolean;
|
|
984
|
+
tags?: ReadonlyArray<string>;
|
|
985
|
+
}], import("../types.gen").BillingContact, Error>;
|
|
1102
986
|
/**
|
|
1103
|
-
*
|
|
987
|
+
* Update organization contact information and billing address.
|
|
1104
988
|
*
|
|
1105
|
-
*
|
|
989
|
+
* This endpoint allows you to update organization details with its contact information. This endpoint is available to administrators of the organization only.
|
|
1106
990
|
*
|
|
1107
991
|
*/
|
|
1108
|
-
export declare const
|
|
1109
|
-
export declare const
|
|
992
|
+
export declare const updateContactMutation: (options?: Partial<Options<UpdateContactData>>) => UseMutationOptions<UpdateContactResponse, DefaultError, Options<UpdateContactData>>;
|
|
993
|
+
export declare const getCreditsQueryKey: (options?: Options<GetCreditsData>) => [Pick<Options<GetCreditsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1110
994
|
_id: string;
|
|
1111
995
|
_infinite?: boolean;
|
|
1112
996
|
tags?: ReadonlyArray<string>;
|
|
1113
997
|
}];
|
|
1114
998
|
/**
|
|
1115
|
-
* Get
|
|
1116
|
-
*
|
|
1117
|
-
* Returns user details including their roles. For more information on identity access management, see [Users](https://cloudfleet.ai/docs/organization/users/) section of documentaiton.
|
|
999
|
+
* Get applied promotional credits
|
|
1118
1000
|
*
|
|
1119
|
-
* This endpoint is available to all users in the organization.
|
|
1001
|
+
* Returns applied promotional credits for the organization. For more information on billing and payments, see [Billing and pricing](https://cloudfleet.ai/docs/organization/billing/) section of documentaiton. This endpoint is available to all users in the organization.
|
|
1120
1002
|
*
|
|
1121
1003
|
*/
|
|
1122
|
-
export declare const
|
|
1004
|
+
export declare const getCreditsOptions: (options?: Options<GetCreditsData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").BillingCredits[], Error, import("../types.gen").BillingCredits[], [Pick<Options<GetCreditsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1123
1005
|
_id: string;
|
|
1124
1006
|
_infinite?: boolean;
|
|
1125
1007
|
tags?: ReadonlyArray<string>;
|
|
1126
1008
|
}]>, "queryFn"> & {
|
|
1127
|
-
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").
|
|
1009
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").BillingCredits[], [Pick<Options<GetCreditsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1128
1010
|
_id: string;
|
|
1129
1011
|
_infinite?: boolean;
|
|
1130
1012
|
tags?: ReadonlyArray<string>;
|
|
1131
1013
|
}], never> | undefined;
|
|
1132
|
-
} & {
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
}] & {
|
|
1138
|
-
[dataTagSymbol]: import("../types.gen").User;
|
|
1139
|
-
[dataTagErrorSymbol]: Error;
|
|
1140
|
-
};
|
|
1141
|
-
};
|
|
1014
|
+
} & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<GetCreditsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1015
|
+
_id: string;
|
|
1016
|
+
_infinite?: boolean;
|
|
1017
|
+
tags?: ReadonlyArray<string>;
|
|
1018
|
+
}], import("../types.gen").BillingCredits[], Error>;
|
|
1142
1019
|
/**
|
|
1143
|
-
*
|
|
1020
|
+
* Redeem promotional credits code.
|
|
1144
1021
|
*
|
|
1145
|
-
*
|
|
1022
|
+
* Applies promotional credits for the organization. For more information on billing and payments, see [Billing and pricing](https://cloudfleet.ai/docs/organization/billing/) section of documentaiton. This endpoint is available to all users in the organization.
|
|
1146
1023
|
*
|
|
1147
1024
|
*/
|
|
1148
|
-
export declare const
|
|
1025
|
+
export declare const redeemCreditsMutation: (options?: Partial<Options<RedeemCreditsData>>) => UseMutationOptions<unknown, DefaultError, Options<RedeemCreditsData>>;
|
|
1149
1026
|
//# sourceMappingURL=react-query.gen.d.ts.map
|