@cloudfleet/sdk 0.0.1-d940b00 → 0.0.1-da466c0
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 +56 -2
- package/dist/@tanstack/react-query.gen.d.ts +420 -626
- package/dist/@tanstack/react-query.gen.d.ts.map +1 -1
- package/dist/@tanstack/react-query.gen.js +410 -419
- 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/errors.d.ts +42 -0
- package/dist/errors.d.ts.map +1 -0
- package/dist/errors.js +83 -0
- package/dist/errors.js.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -1
- package/dist/schemas.gen.d.ts +521 -492
- package/dist/schemas.gen.d.ts.map +1 -1
- package/dist/schemas.gen.js +719 -583
- package/dist/schemas.gen.js.map +1 -1
- package/dist/sdk.gen.d.ts +221 -228
- package/dist/sdk.gen.d.ts.map +1 -1
- package/dist/sdk.gen.js +339 -339
- package/dist/sdk.gen.js.map +1 -1
- package/dist/services/kubernetes/api.d.ts +18 -55
- package/dist/services/kubernetes/api.d.ts.map +1 -1
- package/dist/services/kubernetes/api.js +36 -75
- package/dist/services/kubernetes/api.js.map +1 -1
- package/dist/services/kubernetes/index.d.ts.map +1 -1
- package/dist/services/kubernetes/index.js +36 -37
- package/dist/services/kubernetes/index.js.map +1 -1
- package/dist/types.gen.d.ts +1002 -1056
- package/dist/types.gen.d.ts.map +1 -1
- package/dist/zod.gen.d.ts +1775 -1563
- package/dist/zod.gen.d.ts.map +1 -1
- package/dist/zod.gen.js +506 -378
- package/dist/zod.gen.js.map +1 -1
- package/package.json +10 -15
|
@@ -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,
|
|
3
|
+
import type { CloseTicketData, CloseTicketResponse, CreateClusterData, CreateClusterError, CreateClusterResponse, CreateFleetData, CreateFleetError, CreateFleetResponse, CreateInviteData, CreateInviteResponse, CreateOrganizationData, CreateOrganizationResponse, CreateTicketData, CreateTicketResponse, CreateTokenData, CreateTokenResponse, CreateUserData, CreateUserResponse, DeleteClusterData, DeleteClusterError, DeleteClusterResponse, DeleteFleetData, DeleteFleetError, DeleteFleetResponse, DeleteInviteData, DeletePaymentMethodData, DeletePaymentMethodResponse, DeleteTagData, DeleteTokenData, DeleteUserData, DeleteUserResponse, GetClusterData, GetContactData, GetCreditsData, GetFleetData, GetInviteData, GetJoinInformationData, GetJoinInformationError, GetJoinInformationResponse, GetOrganizationData, GetPaymentMethodSecretData, GetPaymentMethodSecretResponse, GetTagData, GetTicketAttachmentData, GetTicketData, GetTokenData, GetUsageData, GetUserData, GrantTicketSupportAccessData, GrantTicketSupportAccessResponse, ListClustersData, ListFleetsData, ListInvitesData, ListInvoicesData, ListPaymentMethodsData, ListRepositoriesData, ListRoadmapData, ListTagsData, ListTicketsData, ListTokensData, ListUserOrganizationsData, ListUsersData, PayOpenInvoicesData, PayOpenInvoicesResponse, PostMcpData, PostMcpResponse, QueryClusterData, RedeemCreditsData, RegenerateTokenData, RegenerateTokenResponse, ReplyTicketData, ReplyTicketResponse, SendFeedbackData, SendFeedbackResponse, SetDefaultPaymentMethodData, SetDefaultPaymentMethodResponse, SuggestRoadmapData, SuggestRoadmapResponse, UnvoteRoadmapData, UnvoteRoadmapResponse, UpdateClusterData, UpdateClusterError, UpdateClusterResponse, UpdateContactData, UpdateContactResponse, UpdateFleetData, UpdateFleetError, UpdateFleetResponse, UpdateTokenData, UpdateTokenResponse, UpdateUserData, UpdateUserResponse, VoteRoadmapData, VoteRoadmapResponse } 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,471 @@ 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
|
-
queryKey: [Pick<Options<ListInvoicesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
117
|
-
_id: string;
|
|
118
|
-
_infinite?: boolean;
|
|
119
|
-
tags?: ReadonlyArray<string>;
|
|
120
|
-
}] & {
|
|
121
|
-
[dataTagSymbol]: import("../types.gen").Invoice[];
|
|
122
|
-
[dataTagErrorSymbol]: Error;
|
|
123
|
-
};
|
|
124
|
-
};
|
|
125
|
-
export declare const getContactQueryKey: (options?: Options<GetContactData>) => [Pick<Options<GetContactData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
126
|
-
_id: string;
|
|
127
|
-
_infinite?: boolean;
|
|
128
|
-
tags?: ReadonlyArray<string>;
|
|
129
|
-
}];
|
|
130
|
-
/**
|
|
131
|
-
* Get organization contact and billing address information.
|
|
132
|
-
*
|
|
133
|
-
* Returns the organization contact and billing address information. This endpoint is available to all users in the organization.
|
|
134
|
-
*
|
|
135
|
-
*/
|
|
136
|
-
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"> & {
|
|
111
|
+
} & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<GetUserData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
137
112
|
_id: string;
|
|
138
113
|
_infinite?: boolean;
|
|
139
114
|
tags?: ReadonlyArray<string>;
|
|
140
|
-
}]
|
|
141
|
-
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").BillingContact, [Pick<Options<GetContactData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
142
|
-
_id: string;
|
|
143
|
-
_infinite?: boolean;
|
|
144
|
-
tags?: ReadonlyArray<string>;
|
|
145
|
-
}], never> | undefined;
|
|
146
|
-
} & {
|
|
147
|
-
queryKey: [Pick<Options<GetContactData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
148
|
-
_id: string;
|
|
149
|
-
_infinite?: boolean;
|
|
150
|
-
tags?: ReadonlyArray<string>;
|
|
151
|
-
}] & {
|
|
152
|
-
[dataTagSymbol]: import("../types.gen").BillingContact;
|
|
153
|
-
[dataTagErrorSymbol]: Error;
|
|
154
|
-
};
|
|
155
|
-
};
|
|
115
|
+
}], import("../types.gen").User, Error>;
|
|
156
116
|
/**
|
|
157
|
-
* Update
|
|
117
|
+
* Update user profile information.
|
|
158
118
|
*
|
|
159
|
-
*
|
|
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.
|
|
160
120
|
*
|
|
161
121
|
*/
|
|
162
|
-
export declare const
|
|
163
|
-
export declare const
|
|
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"> & {
|
|
164
124
|
_id: string;
|
|
165
125
|
_infinite?: boolean;
|
|
166
126
|
tags?: ReadonlyArray<string>;
|
|
167
127
|
}];
|
|
168
128
|
/**
|
|
169
|
-
*
|
|
129
|
+
* List access tokens in organization.
|
|
170
130
|
*
|
|
171
|
-
*
|
|
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.
|
|
172
132
|
*
|
|
173
133
|
*/
|
|
174
|
-
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"> & {
|
|
175
135
|
_id: string;
|
|
176
136
|
_infinite?: boolean;
|
|
177
137
|
tags?: ReadonlyArray<string>;
|
|
178
138
|
}]>, "queryFn"> & {
|
|
179
|
-
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"> & {
|
|
180
140
|
_id: string;
|
|
181
141
|
_infinite?: boolean;
|
|
182
142
|
tags?: ReadonlyArray<string>;
|
|
183
143
|
}], never> | undefined;
|
|
184
|
-
} & {
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
}] & {
|
|
190
|
-
[dataTagSymbol]: import("../types.gen").BillingCredits[];
|
|
191
|
-
[dataTagErrorSymbol]: Error;
|
|
192
|
-
};
|
|
193
|
-
};
|
|
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>;
|
|
194
149
|
/**
|
|
195
|
-
*
|
|
150
|
+
* Create a new access token.
|
|
196
151
|
*
|
|
197
|
-
*
|
|
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.
|
|
198
155
|
*
|
|
199
156
|
*/
|
|
200
|
-
export declare const
|
|
201
|
-
|
|
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"> & {
|
|
202
166
|
_id: string;
|
|
203
167
|
_infinite?: boolean;
|
|
204
168
|
tags?: ReadonlyArray<string>;
|
|
205
169
|
}];
|
|
206
170
|
/**
|
|
207
|
-
*
|
|
208
|
-
*
|
|
209
|
-
* Returns a list of charts in the cluster.
|
|
171
|
+
* Get access token information.
|
|
210
172
|
*
|
|
211
|
-
* This endpoint is available to all users in the organization.
|
|
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.
|
|
212
174
|
*
|
|
213
175
|
*/
|
|
214
|
-
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"> & {
|
|
215
177
|
_id: string;
|
|
216
178
|
_infinite?: boolean;
|
|
217
179
|
tags?: ReadonlyArray<string>;
|
|
218
180
|
}]>, "queryFn"> & {
|
|
219
|
-
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"> & {
|
|
220
182
|
_id: string;
|
|
221
183
|
_infinite?: boolean;
|
|
222
184
|
tags?: ReadonlyArray<string>;
|
|
223
185
|
}], never> | undefined;
|
|
224
|
-
} & {
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
}] & {
|
|
230
|
-
[dataTagSymbol]: import("../types.gen").Chart[];
|
|
231
|
-
[dataTagErrorSymbol]: Error;
|
|
232
|
-
};
|
|
233
|
-
};
|
|
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>;
|
|
234
191
|
/**
|
|
235
|
-
*
|
|
192
|
+
* Update access token information.
|
|
236
193
|
*
|
|
237
|
-
*
|
|
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.
|
|
238
195
|
*
|
|
239
196
|
* This endpoint is available to administrators of the organization only.
|
|
240
197
|
*
|
|
241
198
|
*/
|
|
242
|
-
export declare const
|
|
199
|
+
export declare const updateTokenMutation: (options?: Partial<Options<UpdateTokenData>>) => UseMutationOptions<UpdateTokenResponse, DefaultError, Options<UpdateTokenData>>;
|
|
243
200
|
/**
|
|
244
|
-
*
|
|
245
|
-
*
|
|
246
|
-
* This endpoint will permanently delete chart. This operation cannot be undone.
|
|
247
|
-
*
|
|
248
|
-
* This endpoint is available to administrators of the organization only.
|
|
201
|
+
* Regenerate access token secret key.
|
|
249
202
|
*
|
|
203
|
+
* Generates a new access token secret. Old secret will not be valid anymore.
|
|
250
204
|
*/
|
|
251
|
-
export declare const
|
|
252
|
-
export declare const
|
|
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"> & {
|
|
253
207
|
_id: string;
|
|
254
208
|
_infinite?: boolean;
|
|
255
209
|
tags?: ReadonlyArray<string>;
|
|
256
210
|
}];
|
|
257
211
|
/**
|
|
258
|
-
*
|
|
259
|
-
*
|
|
260
|
-
* Returns the details of the chart deployment.
|
|
212
|
+
* List tickets for the current organization.
|
|
261
213
|
*
|
|
262
|
-
*
|
|
214
|
+
* Returns all tickets belonging to the caller's organization, newest first.
|
|
263
215
|
*
|
|
264
216
|
*/
|
|
265
|
-
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"> & {
|
|
266
218
|
_id: string;
|
|
267
219
|
_infinite?: boolean;
|
|
268
220
|
tags?: ReadonlyArray<string>;
|
|
269
221
|
}]>, "queryFn"> & {
|
|
270
|
-
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"> & {
|
|
271
223
|
_id: string;
|
|
272
224
|
_infinite?: boolean;
|
|
273
225
|
tags?: ReadonlyArray<string>;
|
|
274
226
|
}], never> | undefined;
|
|
275
|
-
} & {
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
}] & {
|
|
281
|
-
[dataTagSymbol]: import("../types.gen").Chart;
|
|
282
|
-
[dataTagErrorSymbol]: Error;
|
|
283
|
-
};
|
|
284
|
-
};
|
|
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>;
|
|
285
232
|
/**
|
|
286
|
-
*
|
|
233
|
+
* Create a new support ticket.
|
|
287
234
|
*
|
|
288
|
-
*
|
|
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` and `grant_support_access`, plus up to 3 `attachments` files (10 MB max each).
|
|
289
236
|
*
|
|
290
|
-
|
|
237
|
+
*/
|
|
238
|
+
export declare const createTicketMutation: (options?: Partial<Options<CreateTicketData>>) => UseMutationOptions<CreateTicketResponse, DefaultError, Options<CreateTicketData>>;
|
|
239
|
+
/**
|
|
240
|
+
* Close a ticket (soft close).
|
|
241
|
+
*
|
|
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.
|
|
291
243
|
*
|
|
292
244
|
*/
|
|
293
|
-
export declare const
|
|
294
|
-
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"> & {
|
|
295
247
|
_id: string;
|
|
296
248
|
_infinite?: boolean;
|
|
297
249
|
tags?: ReadonlyArray<string>;
|
|
298
250
|
}];
|
|
299
251
|
/**
|
|
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
|
-
*
|
|
252
|
+
* Get a ticket and its messages.
|
|
306
253
|
*/
|
|
307
|
-
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"> & {
|
|
308
255
|
_id: string;
|
|
309
256
|
_infinite?: boolean;
|
|
310
257
|
tags?: ReadonlyArray<string>;
|
|
311
258
|
}]>, "queryFn"> & {
|
|
312
|
-
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"> & {
|
|
313
260
|
_id: string;
|
|
314
261
|
_infinite?: boolean;
|
|
315
262
|
tags?: ReadonlyArray<string>;
|
|
316
263
|
}], never> | undefined;
|
|
317
|
-
} & {
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
}] & {
|
|
323
|
-
[dataTagSymbol]: import("../types.gen").Fleet[];
|
|
324
|
-
[dataTagErrorSymbol]: Error;
|
|
325
|
-
};
|
|
326
|
-
};
|
|
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>;
|
|
327
269
|
/**
|
|
328
|
-
*
|
|
270
|
+
* Grant Cloudfleet support access for a ticket.
|
|
329
271
|
*
|
|
330
|
-
*
|
|
331
|
-
*
|
|
332
|
-
* This endpoint is available to administrators of the organization only.
|
|
272
|
+
* Grants Cloudfleet support staff access to the organization's resources while the ticket is open. Access cannot be revoked; it ends when the ticket is closed. Idempotent: granting again keeps the original grant. Returns 409 if the ticket is closed.
|
|
333
273
|
*
|
|
334
274
|
*/
|
|
335
|
-
export declare const
|
|
275
|
+
export declare const grantTicketSupportAccessMutation: (options?: Partial<Options<GrantTicketSupportAccessData>>) => UseMutationOptions<GrantTicketSupportAccessResponse, DefaultError, Options<GrantTicketSupportAccessData>>;
|
|
336
276
|
/**
|
|
337
|
-
*
|
|
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.
|
|
277
|
+
* Append a customer reply to a ticket.
|
|
340
278
|
*
|
|
341
|
-
*
|
|
279
|
+
* Multipart form-data with a JSON-encoded `payload` field carrying `body`, plus up to 3 `attachments` files. Returns 409 if the ticket is closed.
|
|
342
280
|
*
|
|
343
281
|
*/
|
|
344
|
-
export declare const
|
|
345
|
-
export declare const
|
|
282
|
+
export declare const replyTicketMutation: (options?: Partial<Options<ReplyTicketData>>) => UseMutationOptions<ReplyTicketResponse, DefaultError, Options<ReplyTicketData>>;
|
|
283
|
+
export declare const getTicketAttachmentQueryKey: (options: Options<GetTicketAttachmentData>) => [Pick<Options<GetTicketAttachmentData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
346
284
|
_id: string;
|
|
347
285
|
_infinite?: boolean;
|
|
348
286
|
tags?: ReadonlyArray<string>;
|
|
349
287
|
}];
|
|
350
288
|
/**
|
|
351
|
-
*
|
|
352
|
-
*
|
|
353
|
-
* Returns fleet details. For more information, see [Fleets](https://cloudfleet.ai/docs/cloud-infrastructure/fleets/) section of documentaiton.
|
|
354
|
-
*
|
|
355
|
-
* This endpoint is available to all users in the organization.
|
|
356
|
-
*
|
|
289
|
+
* Download a ticket attachment.
|
|
357
290
|
*/
|
|
358
|
-
export declare const
|
|
291
|
+
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"> & {
|
|
359
292
|
_id: string;
|
|
360
293
|
_infinite?: boolean;
|
|
361
294
|
tags?: ReadonlyArray<string>;
|
|
362
295
|
}]>, "queryFn"> & {
|
|
363
|
-
queryFn?: import("@tanstack/react-query").QueryFunction<
|
|
296
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<Blob | File, [Pick<Options<GetTicketAttachmentData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
364
297
|
_id: string;
|
|
365
298
|
_infinite?: boolean;
|
|
366
299
|
tags?: ReadonlyArray<string>;
|
|
367
300
|
}], never> | undefined;
|
|
368
|
-
} & {
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
[dataTagSymbol]: import("../types.gen").Fleet;
|
|
375
|
-
[dataTagErrorSymbol]: Error;
|
|
376
|
-
};
|
|
377
|
-
};
|
|
378
|
-
/**
|
|
379
|
-
* Update fleet information.
|
|
380
|
-
*
|
|
381
|
-
* This endpoint allows you to update fleet details.
|
|
382
|
-
*
|
|
383
|
-
* For more information, see [Fleets](https://cloudfleet.ai/docs/cloud-infrastructure/fleets/) section of documentaiton.
|
|
384
|
-
*
|
|
385
|
-
* This endpoint is available to administrators of the organization only.
|
|
386
|
-
*
|
|
387
|
-
*/
|
|
388
|
-
export declare const updateFleetMutation: (options?: Partial<Options<UpdateFleetData>>) => UseMutationOptions<UpdateFleetResponse, UpdateFleetError, Options<UpdateFleetData>>;
|
|
389
|
-
export declare const queryClusterQueryKey: (options: Options<QueryClusterData>) => [Pick<Options<QueryClusterData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
301
|
+
} & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<GetTicketAttachmentData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
302
|
+
_id: string;
|
|
303
|
+
_infinite?: boolean;
|
|
304
|
+
tags?: ReadonlyArray<string>;
|
|
305
|
+
}], Blob | File, Error>;
|
|
306
|
+
export declare const listRoadmapQueryKey: (options?: Options<ListRoadmapData>) => [Pick<Options<ListRoadmapData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
390
307
|
_id: string;
|
|
391
308
|
_infinite?: boolean;
|
|
392
309
|
tags?: ReadonlyArray<string>;
|
|
393
310
|
}];
|
|
394
311
|
/**
|
|
395
|
-
*
|
|
312
|
+
* List roadmap items.
|
|
313
|
+
*
|
|
314
|
+
* Returns the published roadmap items, newest first, each with your own vote. Votes of other users are not returned.
|
|
396
315
|
*
|
|
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
316
|
*/
|
|
399
|
-
export declare const
|
|
317
|
+
export declare const listRoadmapOptions: (options?: Options<ListRoadmapData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").RoadmapItem[], Error, import("../types.gen").RoadmapItem[], [Pick<Options<ListRoadmapData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
400
318
|
_id: string;
|
|
401
319
|
_infinite?: boolean;
|
|
402
320
|
tags?: ReadonlyArray<string>;
|
|
403
321
|
}]>, "queryFn"> & {
|
|
404
|
-
queryFn?: import("@tanstack/react-query").QueryFunction<
|
|
322
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").RoadmapItem[], [Pick<Options<ListRoadmapData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
405
323
|
_id: string;
|
|
406
324
|
_infinite?: boolean;
|
|
407
325
|
tags?: ReadonlyArray<string>;
|
|
408
326
|
}], never> | undefined;
|
|
409
|
-
} & {
|
|
410
|
-
queryKey: [Pick<Options<QueryClusterData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
411
|
-
_id: string;
|
|
412
|
-
_infinite?: boolean;
|
|
413
|
-
tags?: ReadonlyArray<string>;
|
|
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"> & {
|
|
327
|
+
} & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<ListRoadmapData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
420
328
|
_id: string;
|
|
421
329
|
_infinite?: boolean;
|
|
422
330
|
tags?: ReadonlyArray<string>;
|
|
423
|
-
}]
|
|
331
|
+
}], import("../types.gen").RoadmapItem[], Error>;
|
|
424
332
|
/**
|
|
425
|
-
*
|
|
333
|
+
* Suggest a new roadmap item.
|
|
426
334
|
*
|
|
427
|
-
*
|
|
335
|
+
* Submits a suggestion in one or two sentences, with your up vote on it. Suggestions are reviewed by the Cloudfleet team before they appear on the roadmap.
|
|
428
336
|
*
|
|
429
|
-
|
|
337
|
+
*/
|
|
338
|
+
export declare const suggestRoadmapMutation: (options?: Partial<Options<SuggestRoadmapData>>) => UseMutationOptions<SuggestRoadmapResponse, DefaultError, Options<SuggestRoadmapData>>;
|
|
339
|
+
/**
|
|
340
|
+
* Remove your vote from a roadmap item.
|
|
341
|
+
*/
|
|
342
|
+
export declare const unvoteRoadmapMutation: (options?: Partial<Options<UnvoteRoadmapData>>) => UseMutationOptions<UnvoteRoadmapResponse, DefaultError, Options<UnvoteRoadmapData>>;
|
|
343
|
+
/**
|
|
344
|
+
* Vote on a roadmap item.
|
|
345
|
+
*
|
|
346
|
+
* Sets your vote on a roadmap item: -1 (down), 1 (up), or 2 (double up). Replaces any previous vote you cast on the item.
|
|
430
347
|
*
|
|
431
348
|
*/
|
|
432
|
-
export declare const
|
|
349
|
+
export declare const voteRoadmapMutation: (options?: Partial<Options<VoteRoadmapData>>) => UseMutationOptions<VoteRoadmapResponse, DefaultError, Options<VoteRoadmapData>>;
|
|
350
|
+
export declare const listRepositoriesQueryKey: (options?: Options<ListRepositoriesData>) => [Pick<Options<ListRepositoriesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
351
|
+
_id: string;
|
|
352
|
+
_infinite?: boolean;
|
|
353
|
+
tags?: ReadonlyArray<string>;
|
|
354
|
+
}];
|
|
355
|
+
/**
|
|
356
|
+
* List repositories
|
|
357
|
+
*
|
|
358
|
+
* Returns a list of repositories in the registry across all regions. This endpoint is available to all users in the organization.
|
|
359
|
+
*
|
|
360
|
+
*/
|
|
361
|
+
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"> & {
|
|
433
362
|
_id: string;
|
|
434
363
|
_infinite?: boolean;
|
|
435
364
|
tags?: ReadonlyArray<string>;
|
|
436
365
|
}]>, "queryFn"> & {
|
|
437
|
-
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").
|
|
366
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").RegistryRepository[], [Pick<Options<ListRepositoriesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
438
367
|
_id: string;
|
|
439
368
|
_infinite?: boolean;
|
|
440
369
|
tags?: ReadonlyArray<string>;
|
|
441
370
|
}], never> | undefined;
|
|
442
|
-
} & {
|
|
443
|
-
|
|
371
|
+
} & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<ListRepositoriesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
372
|
+
_id: string;
|
|
373
|
+
_infinite?: boolean;
|
|
374
|
+
tags?: ReadonlyArray<string>;
|
|
375
|
+
}], import("../types.gen").RegistryRepository[], Error>;
|
|
376
|
+
export declare const listTagsQueryKey: (options: Options<ListTagsData>) => [Pick<Options<ListTagsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
377
|
+
_id: string;
|
|
378
|
+
_infinite?: boolean;
|
|
379
|
+
tags?: ReadonlyArray<string>;
|
|
380
|
+
}];
|
|
381
|
+
/**
|
|
382
|
+
* List tags for a repository
|
|
383
|
+
*
|
|
384
|
+
* 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.
|
|
385
|
+
*
|
|
386
|
+
*/
|
|
387
|
+
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"> & {
|
|
388
|
+
_id: string;
|
|
389
|
+
_infinite?: boolean;
|
|
390
|
+
tags?: ReadonlyArray<string>;
|
|
391
|
+
}]>, "queryFn"> & {
|
|
392
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").RegistryRepositoryWithTags, [Pick<Options<ListTagsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
444
393
|
_id: string;
|
|
445
394
|
_infinite?: boolean;
|
|
446
395
|
tags?: ReadonlyArray<string>;
|
|
447
|
-
}]
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
396
|
+
}], never> | undefined;
|
|
397
|
+
} & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<ListTagsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
398
|
+
_id: string;
|
|
399
|
+
_infinite?: boolean;
|
|
400
|
+
tags?: ReadonlyArray<string>;
|
|
401
|
+
}], import("../types.gen").RegistryRepositoryWithTags, Error>;
|
|
452
402
|
/**
|
|
453
|
-
*
|
|
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.
|
|
403
|
+
* Delete tag
|
|
456
404
|
*
|
|
457
|
-
* This endpoint is available to administrators of the organization only.
|
|
405
|
+
* Permanently deletes a specific tag from a repository. This endpoint is available to administrators of the organization only.
|
|
458
406
|
*
|
|
459
407
|
*/
|
|
460
|
-
export declare const
|
|
408
|
+
export declare const deleteTagMutation: (options?: Partial<Options<DeleteTagData>>) => UseMutationOptions<unknown, DefaultError, Options<DeleteTagData>>;
|
|
409
|
+
export declare const getTagQueryKey: (options: Options<GetTagData>) => [Pick<Options<GetTagData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
410
|
+
_id: string;
|
|
411
|
+
_infinite?: boolean;
|
|
412
|
+
tags?: ReadonlyArray<string>;
|
|
413
|
+
}];
|
|
461
414
|
/**
|
|
462
|
-
*
|
|
463
|
-
*
|
|
464
|
-
* This endpoint will permanently delete the cluster. This operation cannot be undone.
|
|
415
|
+
* Get tag details
|
|
465
416
|
*
|
|
466
|
-
* This endpoint is available to
|
|
417
|
+
* 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.
|
|
467
418
|
*
|
|
468
419
|
*/
|
|
469
|
-
export declare const
|
|
470
|
-
|
|
420
|
+
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"> & {
|
|
421
|
+
_id: string;
|
|
422
|
+
_infinite?: boolean;
|
|
423
|
+
tags?: ReadonlyArray<string>;
|
|
424
|
+
}]>, "queryFn"> & {
|
|
425
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").RegistryTag, [Pick<Options<GetTagData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
426
|
+
_id: string;
|
|
427
|
+
_infinite?: boolean;
|
|
428
|
+
tags?: ReadonlyArray<string>;
|
|
429
|
+
}], never> | undefined;
|
|
430
|
+
} & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<GetTagData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
431
|
+
_id: string;
|
|
432
|
+
_infinite?: boolean;
|
|
433
|
+
tags?: ReadonlyArray<string>;
|
|
434
|
+
}], import("../types.gen").RegistryTag, Error>;
|
|
435
|
+
export declare const getOrganizationQueryKey: (options?: Options<GetOrganizationData>) => [Pick<Options<GetOrganizationData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
471
436
|
_id: string;
|
|
472
437
|
_infinite?: boolean;
|
|
473
438
|
tags?: ReadonlyArray<string>;
|
|
474
439
|
}];
|
|
475
440
|
/**
|
|
476
|
-
* Get
|
|
441
|
+
* Get organization information.
|
|
477
442
|
*
|
|
478
|
-
* Returns
|
|
443
|
+
* Returns organization details including quota. For more information about quotas, see [Quotas and limits](https://cloudfleet.ai/docs/organization/quotas/) section of documentaiton.
|
|
479
444
|
*
|
|
480
445
|
* This endpoint is available to all users in the organization.
|
|
481
446
|
*
|
|
482
447
|
*/
|
|
483
|
-
export declare const
|
|
448
|
+
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"> & {
|
|
484
449
|
_id: string;
|
|
485
450
|
_infinite?: boolean;
|
|
486
451
|
tags?: ReadonlyArray<string>;
|
|
487
452
|
}]>, "queryFn"> & {
|
|
488
|
-
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").
|
|
453
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").Organization, [Pick<Options<GetOrganizationData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
489
454
|
_id: string;
|
|
490
455
|
_infinite?: boolean;
|
|
491
456
|
tags?: ReadonlyArray<string>;
|
|
492
457
|
}], never> | undefined;
|
|
493
|
-
} & {
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
}] & {
|
|
499
|
-
[dataTagSymbol]: import("../types.gen").Cluster;
|
|
500
|
-
[dataTagErrorSymbol]: Error;
|
|
501
|
-
};
|
|
502
|
-
};
|
|
458
|
+
} & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<GetOrganizationData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
459
|
+
_id: string;
|
|
460
|
+
_infinite?: boolean;
|
|
461
|
+
tags?: ReadonlyArray<string>;
|
|
462
|
+
}], import("../types.gen").Organization, Error>;
|
|
503
463
|
/**
|
|
504
|
-
*
|
|
505
|
-
*
|
|
506
|
-
* This endpoint allows you to update cluster details such as name, tier, and Kubernetes version. For more information about clusters, see [Clusters](https://cloudfleet.ai/docs/cluster-management/cluster-types/) section of documentation.
|
|
464
|
+
* Create a new organization / Cloudfleet account signup.
|
|
507
465
|
*
|
|
508
|
-
* This endpoint
|
|
466
|
+
* This endpoint allows you to create a new Cloudfleet organization and an administrator user.
|
|
509
467
|
*
|
|
510
468
|
*/
|
|
511
|
-
export declare const
|
|
469
|
+
export declare const createOrganizationMutation: (options?: Partial<Options<CreateOrganizationData>>) => UseMutationOptions<CreateOrganizationResponse, DefaultError, Options<CreateOrganizationData>>;
|
|
512
470
|
/**
|
|
513
|
-
*
|
|
514
|
-
*
|
|
515
|
-
* 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.
|
|
471
|
+
* MCP endpoint
|
|
516
472
|
*
|
|
473
|
+
* MCP endpoint for handling Model Context Protocol JSON-RPC 2.0 messages.
|
|
517
474
|
*/
|
|
518
|
-
export declare const
|
|
475
|
+
export declare const postMcpMutation: (options?: Partial<Options<PostMcpData>>) => UseMutationOptions<PostMcpResponse, DefaultError, Options<PostMcpData>>;
|
|
519
476
|
export declare const listInvitesQueryKey: (options?: Options<ListInvitesData>) => [Pick<Options<ListInvitesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
520
477
|
_id: string;
|
|
521
478
|
_infinite?: boolean;
|
|
@@ -537,16 +494,11 @@ export declare const listInvitesOptions: (options?: Options<ListInvitesData>) =>
|
|
|
537
494
|
_infinite?: boolean;
|
|
538
495
|
tags?: ReadonlyArray<string>;
|
|
539
496
|
}], never> | undefined;
|
|
540
|
-
} & {
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
}] & {
|
|
546
|
-
[dataTagSymbol]: import("../types.gen").Invite[];
|
|
547
|
-
[dataTagErrorSymbol]: Error;
|
|
548
|
-
};
|
|
549
|
-
};
|
|
497
|
+
} & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<ListInvitesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
498
|
+
_id: string;
|
|
499
|
+
_infinite?: boolean;
|
|
500
|
+
tags?: ReadonlyArray<string>;
|
|
501
|
+
}], import("../types.gen").Invite[], Error>;
|
|
550
502
|
/**
|
|
551
503
|
* Create a new invite.
|
|
552
504
|
*
|
|
@@ -584,19 +536,14 @@ export declare const getInviteOptions: (options: Options<GetInviteData>) => impo
|
|
|
584
536
|
_infinite?: boolean;
|
|
585
537
|
tags?: ReadonlyArray<string>;
|
|
586
538
|
}], never> | undefined;
|
|
587
|
-
} & {
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
organization_id?: string;
|
|
596
|
-
};
|
|
597
|
-
[dataTagErrorSymbol]: Error;
|
|
598
|
-
};
|
|
599
|
-
};
|
|
539
|
+
} & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<GetInviteData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
540
|
+
_id: string;
|
|
541
|
+
_infinite?: boolean;
|
|
542
|
+
tags?: ReadonlyArray<string>;
|
|
543
|
+
}], {
|
|
544
|
+
email?: string;
|
|
545
|
+
organization_id?: string;
|
|
546
|
+
}, Error>;
|
|
600
547
|
/**
|
|
601
548
|
* Permanently delete invite.
|
|
602
549
|
*
|
|
@@ -604,546 +551,393 @@ export declare const getInviteOptions: (options: Options<GetInviteData>) => impo
|
|
|
604
551
|
*
|
|
605
552
|
*/
|
|
606
553
|
export declare const deleteInviteMutation: (options?: Partial<Options<DeleteInviteData>>) => UseMutationOptions<unknown, DefaultError, Options<DeleteInviteData>>;
|
|
607
|
-
|
|
554
|
+
/**
|
|
555
|
+
* Send feedback to the Cloudfleet team
|
|
556
|
+
*
|
|
557
|
+
* Sends feedback straight to the Cloudfleet team: papercuts the team can act on from the note alone, such as what was useful, confusing, wrong or missing. This is not a support channel: for a problem that needs back-and-forth or debugging, open a support ticket with `POST /tickets` instead.
|
|
558
|
+
*
|
|
559
|
+
*/
|
|
560
|
+
export declare const sendFeedbackMutation: (options?: Partial<Options<SendFeedbackData>>) => UseMutationOptions<SendFeedbackResponse, DefaultError, Options<SendFeedbackData>>;
|
|
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 listClustersQueryKey: (options?: Options<ListClustersData>) => [Pick<Options<ListClustersData>, "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 clusters.
|
|
728
684
|
*
|
|
729
|
-
* Returns a list of
|
|
685
|
+
* Returns a list of clusters under the current organization.
|
|
686
|
+
*
|
|
687
|
+
* This endpoint is available to all users in the organization.
|
|
730
688
|
*
|
|
731
689
|
*/
|
|
732
|
-
export declare const
|
|
690
|
+
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"> & {
|
|
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").Cluster[], [Pick<Options<ListClustersData>, "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<ListClustersData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
753
701
|
_id: string;
|
|
754
702
|
_infinite?: boolean;
|
|
755
703
|
tags?: ReadonlyArray<string>;
|
|
756
|
-
}]
|
|
704
|
+
}], import("../types.gen").Cluster[], Error>;
|
|
757
705
|
/**
|
|
758
|
-
*
|
|
706
|
+
* Create a new cluster.
|
|
759
707
|
*
|
|
760
|
-
*
|
|
708
|
+
* 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.
|
|
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 createClusterMutation: (options?: Partial<Options<CreateClusterData>>) => UseMutationOptions<CreateClusterResponse, CreateClusterError, Options<CreateClusterData>>;
|
|
783
714
|
/**
|
|
784
|
-
*
|
|
715
|
+
* Permanently delete cluster.
|
|
785
716
|
*
|
|
786
|
-
*
|
|
717
|
+
* This endpoint will permanently delete the cluster. This operation cannot be undone.
|
|
718
|
+
*
|
|
719
|
+
* 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.
|
|
720
|
+
*
|
|
721
|
+
* This endpoint is available to administrators of the organization only.
|
|
787
722
|
*
|
|
788
723
|
*/
|
|
789
|
-
export declare const
|
|
790
|
-
export declare const
|
|
724
|
+
export declare const deleteClusterMutation: (options?: Partial<Options<DeleteClusterData>>) => UseMutationOptions<DeleteClusterResponse, DeleteClusterError, Options<DeleteClusterData>>;
|
|
725
|
+
export declare const getClusterQueryKey: (options: Options<GetClusterData>) => [Pick<Options<GetClusterData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
791
726
|
_id: string;
|
|
792
727
|
_infinite?: boolean;
|
|
793
728
|
tags?: ReadonlyArray<string>;
|
|
794
729
|
}];
|
|
795
730
|
/**
|
|
796
|
-
* Get
|
|
731
|
+
* Get cluster information.
|
|
797
732
|
*
|
|
798
|
-
* Returns
|
|
733
|
+
* Returns cluster details.
|
|
734
|
+
*
|
|
735
|
+
* This endpoint is available to all users in the organization.
|
|
799
736
|
*
|
|
800
737
|
*/
|
|
801
|
-
export declare const
|
|
738
|
+
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"> & {
|
|
802
739
|
_id: string;
|
|
803
740
|
_infinite?: boolean;
|
|
804
741
|
tags?: ReadonlyArray<string>;
|
|
805
742
|
}]>, "queryFn"> & {
|
|
806
|
-
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").
|
|
743
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").Cluster, [Pick<Options<GetClusterData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
807
744
|
_id: string;
|
|
808
745
|
_infinite?: boolean;
|
|
809
746
|
tags?: ReadonlyArray<string>;
|
|
810
747
|
}], never> | undefined;
|
|
811
|
-
} & {
|
|
812
|
-
queryKey: [Pick<Options<GetTagData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
813
|
-
_id: string;
|
|
814
|
-
_infinite?: boolean;
|
|
815
|
-
tags?: ReadonlyArray<string>;
|
|
816
|
-
}] & {
|
|
817
|
-
[dataTagSymbol]: import("../types.gen").RegistryTag;
|
|
818
|
-
[dataTagErrorSymbol]: Error;
|
|
819
|
-
};
|
|
820
|
-
};
|
|
821
|
-
export declare const listTicketsQueryKey: (options?: Options<ListTicketsData>) => [Pick<Options<ListTicketsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
748
|
+
} & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<GetClusterData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
822
749
|
_id: string;
|
|
823
750
|
_infinite?: boolean;
|
|
824
751
|
tags?: ReadonlyArray<string>;
|
|
825
|
-
}]
|
|
752
|
+
}], import("../types.gen").Cluster, Error>;
|
|
826
753
|
/**
|
|
827
|
-
*
|
|
754
|
+
* Update cluster information.
|
|
828
755
|
*
|
|
829
|
-
*
|
|
756
|
+
* 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.
|
|
830
757
|
*
|
|
831
|
-
|
|
832
|
-
export declare const listTicketsOptions: (options?: Options<ListTicketsData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").TicketListResponse, Error, import("../types.gen").TicketListResponse, [Pick<Options<ListTicketsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
833
|
-
_id: string;
|
|
834
|
-
_infinite?: boolean;
|
|
835
|
-
tags?: ReadonlyArray<string>;
|
|
836
|
-
}]>, "queryFn"> & {
|
|
837
|
-
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").TicketListResponse, [Pick<Options<ListTicketsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
838
|
-
_id: string;
|
|
839
|
-
_infinite?: boolean;
|
|
840
|
-
tags?: ReadonlyArray<string>;
|
|
841
|
-
}], never> | undefined;
|
|
842
|
-
} & {
|
|
843
|
-
queryKey: [Pick<Options<ListTicketsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
844
|
-
_id: string;
|
|
845
|
-
_infinite?: boolean;
|
|
846
|
-
tags?: ReadonlyArray<string>;
|
|
847
|
-
}] & {
|
|
848
|
-
[dataTagSymbol]: import("../types.gen").TicketListResponse;
|
|
849
|
-
[dataTagErrorSymbol]: Error;
|
|
850
|
-
};
|
|
851
|
-
};
|
|
852
|
-
/**
|
|
853
|
-
* Create a new support ticket.
|
|
758
|
+
* This is a full overwrite: any field omitted from the request is reset to its default rather than left unchanged.
|
|
854
759
|
*
|
|
855
|
-
*
|
|
760
|
+
* This endpoint is available to administrators of the organization only.
|
|
856
761
|
*
|
|
857
762
|
*/
|
|
858
|
-
export declare const
|
|
763
|
+
export declare const updateClusterMutation: (options?: Partial<Options<UpdateClusterData>>) => UseMutationOptions<UpdateClusterResponse, UpdateClusterError, Options<UpdateClusterData>>;
|
|
859
764
|
/**
|
|
860
|
-
*
|
|
765
|
+
* Node join information for the cluster
|
|
861
766
|
*
|
|
862
|
-
*
|
|
767
|
+
* 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.
|
|
863
768
|
*
|
|
864
769
|
*/
|
|
865
|
-
export declare const
|
|
866
|
-
export declare const
|
|
770
|
+
export declare const getJoinInformationMutation: (options?: Partial<Options<GetJoinInformationData>>) => UseMutationOptions<GetJoinInformationResponse, GetJoinInformationError, Options<GetJoinInformationData>>;
|
|
771
|
+
export declare const getUsageQueryKey: (options?: Options<GetUsageData>) => [Pick<Options<GetUsageData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
867
772
|
_id: string;
|
|
868
773
|
_infinite?: boolean;
|
|
869
774
|
tags?: ReadonlyArray<string>;
|
|
870
775
|
}];
|
|
871
776
|
/**
|
|
872
|
-
* Get
|
|
777
|
+
* Get billing usage information.
|
|
778
|
+
*
|
|
779
|
+
* 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.
|
|
780
|
+
*
|
|
873
781
|
*/
|
|
874
|
-
export declare const
|
|
782
|
+
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"> & {
|
|
875
783
|
_id: string;
|
|
876
784
|
_infinite?: boolean;
|
|
877
785
|
tags?: ReadonlyArray<string>;
|
|
878
786
|
}]>, "queryFn"> & {
|
|
879
|
-
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").
|
|
787
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").UsageResponse, [Pick<Options<GetUsageData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
880
788
|
_id: string;
|
|
881
789
|
_infinite?: boolean;
|
|
882
790
|
tags?: ReadonlyArray<string>;
|
|
883
791
|
}], never> | undefined;
|
|
884
|
-
} & {
|
|
885
|
-
queryKey: [Pick<Options<GetTicketData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
886
|
-
_id: string;
|
|
887
|
-
_infinite?: boolean;
|
|
888
|
-
tags?: ReadonlyArray<string>;
|
|
889
|
-
}] & {
|
|
890
|
-
[dataTagSymbol]: import("../types.gen").Ticket;
|
|
891
|
-
[dataTagErrorSymbol]: Error;
|
|
892
|
-
};
|
|
893
|
-
};
|
|
894
|
-
/**
|
|
895
|
-
* Append a customer reply to a ticket.
|
|
896
|
-
*
|
|
897
|
-
* Multipart form-data with a JSON-encoded `payload` field carrying `body`, plus up to 3 `attachments` files. Returns 409 if the ticket is closed.
|
|
898
|
-
*
|
|
899
|
-
*/
|
|
900
|
-
export declare const replyTicketMutation: (options?: Partial<Options<ReplyTicketData>>) => UseMutationOptions<ReplyTicketResponse, DefaultError, Options<ReplyTicketData>>;
|
|
901
|
-
export declare const getTicketAttachmentQueryKey: (options: Options<GetTicketAttachmentData>) => [Pick<Options<GetTicketAttachmentData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
792
|
+
} & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<GetUsageData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
902
793
|
_id: string;
|
|
903
794
|
_infinite?: boolean;
|
|
904
795
|
tags?: ReadonlyArray<string>;
|
|
905
|
-
}]
|
|
796
|
+
}], import("../types.gen").UsageResponse, Error>;
|
|
906
797
|
/**
|
|
907
|
-
*
|
|
798
|
+
* Get Stripe client secret.
|
|
799
|
+
*
|
|
800
|
+
* 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.
|
|
801
|
+
*
|
|
908
802
|
*/
|
|
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"> & {
|
|
803
|
+
export declare const getPaymentMethodSecretMutation: (options?: Partial<Options<GetPaymentMethodSecretData>>) => UseMutationOptions<GetPaymentMethodSecretResponse, DefaultError, Options<GetPaymentMethodSecretData>>;
|
|
804
|
+
export declare const listPaymentMethodsQueryKey: (options?: Options<ListPaymentMethodsData>) => [Pick<Options<ListPaymentMethodsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
930
805
|
_id: string;
|
|
931
806
|
_infinite?: boolean;
|
|
932
807
|
tags?: ReadonlyArray<string>;
|
|
933
808
|
}];
|
|
934
809
|
/**
|
|
935
|
-
* List
|
|
810
|
+
* List organization payment methods.
|
|
936
811
|
*
|
|
937
|
-
*
|
|
812
|
+
* 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.
|
|
938
813
|
*
|
|
939
814
|
*/
|
|
940
|
-
export declare const
|
|
815
|
+
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"> & {
|
|
941
816
|
_id: string;
|
|
942
817
|
_infinite?: boolean;
|
|
943
818
|
tags?: ReadonlyArray<string>;
|
|
944
819
|
}]>, "queryFn"> & {
|
|
945
|
-
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").
|
|
820
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").PaymentMethod[], [Pick<Options<ListPaymentMethodsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
946
821
|
_id: string;
|
|
947
822
|
_infinite?: boolean;
|
|
948
823
|
tags?: ReadonlyArray<string>;
|
|
949
824
|
}], never> | undefined;
|
|
950
|
-
} & {
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
}] & {
|
|
956
|
-
[dataTagSymbol]: import("../types.gen").Token[];
|
|
957
|
-
[dataTagErrorSymbol]: Error;
|
|
958
|
-
};
|
|
959
|
-
};
|
|
825
|
+
} & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<ListPaymentMethodsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
826
|
+
_id: string;
|
|
827
|
+
_infinite?: boolean;
|
|
828
|
+
tags?: ReadonlyArray<string>;
|
|
829
|
+
}], import("../types.gen").PaymentMethod[], Error>;
|
|
960
830
|
/**
|
|
961
|
-
*
|
|
962
|
-
*
|
|
963
|
-
* This endpoint allows you to create a new access token. For more information about identity access management and security, see [Service Accounts](https://cloudfleet.ai/docs/organization/api-tokens/) section of documentaiton.
|
|
831
|
+
* Set the default payment method.
|
|
964
832
|
*
|
|
965
|
-
*
|
|
833
|
+
* Sets the given payment method as the default used for invoices and active subscriptions. Requires the Administrator role.
|
|
966
834
|
*
|
|
967
835
|
*/
|
|
968
|
-
export declare const
|
|
836
|
+
export declare const setDefaultPaymentMethodMutation: (options?: Partial<Options<SetDefaultPaymentMethodData>>) => UseMutationOptions<SetDefaultPaymentMethodResponse, DefaultError, Options<SetDefaultPaymentMethodData>>;
|
|
969
837
|
/**
|
|
970
|
-
*
|
|
838
|
+
* Delete a payment method.
|
|
971
839
|
*
|
|
972
|
-
*
|
|
840
|
+
* 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.
|
|
973
841
|
*
|
|
974
842
|
*/
|
|
975
|
-
export declare const
|
|
976
|
-
export declare const
|
|
843
|
+
export declare const deletePaymentMethodMutation: (options?: Partial<Options<DeletePaymentMethodData>>) => UseMutationOptions<DeletePaymentMethodResponse, DefaultError, Options<DeletePaymentMethodData>>;
|
|
844
|
+
export declare const listInvoicesQueryKey: (options?: Options<ListInvoicesData>) => [Pick<Options<ListInvoicesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
977
845
|
_id: string;
|
|
978
846
|
_infinite?: boolean;
|
|
979
847
|
tags?: ReadonlyArray<string>;
|
|
980
848
|
}];
|
|
981
849
|
/**
|
|
982
|
-
*
|
|
850
|
+
* List issued invoices.
|
|
983
851
|
*
|
|
984
|
-
*
|
|
852
|
+
* 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.
|
|
985
853
|
*
|
|
986
854
|
*/
|
|
987
|
-
export declare const
|
|
855
|
+
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"> & {
|
|
988
856
|
_id: string;
|
|
989
857
|
_infinite?: boolean;
|
|
990
858
|
tags?: ReadonlyArray<string>;
|
|
991
859
|
}]>, "queryFn"> & {
|
|
992
|
-
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").
|
|
860
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").Invoice[], [Pick<Options<ListInvoicesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
993
861
|
_id: string;
|
|
994
862
|
_infinite?: boolean;
|
|
995
863
|
tags?: ReadonlyArray<string>;
|
|
996
864
|
}], never> | undefined;
|
|
997
|
-
} & {
|
|
998
|
-
queryKey: [Pick<Options<GetTokenData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
999
|
-
_id: string;
|
|
1000
|
-
_infinite?: boolean;
|
|
1001
|
-
tags?: ReadonlyArray<string>;
|
|
1002
|
-
}] & {
|
|
1003
|
-
[dataTagSymbol]: import("../types.gen").Token;
|
|
1004
|
-
[dataTagErrorSymbol]: Error;
|
|
1005
|
-
};
|
|
1006
|
-
};
|
|
1007
|
-
/**
|
|
1008
|
-
* Update access token information.
|
|
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.
|
|
1011
|
-
*
|
|
1012
|
-
* This endpoint is available to administrators of the organization only.
|
|
1013
|
-
*
|
|
1014
|
-
*/
|
|
1015
|
-
export declare const updateTokenMutation: (options?: Partial<Options<UpdateTokenData>>) => UseMutationOptions<UpdateTokenResponse, DefaultError, Options<UpdateTokenData>>;
|
|
1016
|
-
/**
|
|
1017
|
-
* Regenerate access token secret key.
|
|
1018
|
-
*
|
|
1019
|
-
* Generates a new access token secret. Old secret will not be valid anymore.
|
|
1020
|
-
*/
|
|
1021
|
-
export declare const regenerateTokenMutation: (options?: Partial<Options<RegenerateTokenData>>) => UseMutationOptions<RegenerateTokenResponse, DefaultError, Options<RegenerateTokenData>>;
|
|
1022
|
-
export declare const listUserOrganizationsQueryKey: (options: Options<ListUserOrganizationsData>) => [Pick<Options<ListUserOrganizationsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
865
|
+
} & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<ListInvoicesData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1023
866
|
_id: string;
|
|
1024
867
|
_infinite?: boolean;
|
|
1025
868
|
tags?: ReadonlyArray<string>;
|
|
1026
|
-
}]
|
|
869
|
+
}], import("../types.gen").Invoice[], Error>;
|
|
1027
870
|
/**
|
|
1028
|
-
*
|
|
871
|
+
* Pay the organization's open invoices.
|
|
872
|
+
*
|
|
873
|
+
* Charges all open invoices of the organization against its default payment method. This endpoint is available to administrators of the organization only.
|
|
874
|
+
*
|
|
1029
875
|
*/
|
|
1030
|
-
export declare const
|
|
1031
|
-
|
|
1032
|
-
displayName?: string;
|
|
1033
|
-
}[], Error, {
|
|
1034
|
-
realm?: string;
|
|
1035
|
-
displayName?: string;
|
|
1036
|
-
}[], [Pick<Options<ListUserOrganizationsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1037
|
-
_id: string;
|
|
1038
|
-
_infinite?: boolean;
|
|
1039
|
-
tags?: ReadonlyArray<string>;
|
|
1040
|
-
}]>, "queryFn"> & {
|
|
1041
|
-
queryFn?: import("@tanstack/react-query").QueryFunction<{
|
|
1042
|
-
realm?: string;
|
|
1043
|
-
displayName?: string;
|
|
1044
|
-
}[], [Pick<Options<ListUserOrganizationsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1045
|
-
_id: string;
|
|
1046
|
-
_infinite?: boolean;
|
|
1047
|
-
tags?: ReadonlyArray<string>;
|
|
1048
|
-
}], 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"> & {
|
|
876
|
+
export declare const payOpenInvoicesMutation: (options?: Partial<Options<PayOpenInvoicesData>>) => UseMutationOptions<PayOpenInvoicesResponse, DefaultError, Options<PayOpenInvoicesData>>;
|
|
877
|
+
export declare const getContactQueryKey: (options?: Options<GetContactData>) => [Pick<Options<GetContactData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1063
878
|
_id: string;
|
|
1064
879
|
_infinite?: boolean;
|
|
1065
880
|
tags?: ReadonlyArray<string>;
|
|
1066
881
|
}];
|
|
1067
882
|
/**
|
|
1068
|
-
*
|
|
1069
|
-
*
|
|
1070
|
-
* Returns a list of user details and their roles. For more information on identity access management, see [Users](https://cloudfleet.ai/docs/organization/users/) section of documentaiton.
|
|
883
|
+
* Get organization contact and billing address information.
|
|
1071
884
|
*
|
|
1072
|
-
* This endpoint is available to all users in the organization.
|
|
885
|
+
* Returns the organization contact and billing address information. This endpoint is available to all users in the organization.
|
|
1073
886
|
*
|
|
1074
887
|
*/
|
|
1075
|
-
export declare const
|
|
888
|
+
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
889
|
_id: string;
|
|
1077
890
|
_infinite?: boolean;
|
|
1078
891
|
tags?: ReadonlyArray<string>;
|
|
1079
892
|
}]>, "queryFn"> & {
|
|
1080
|
-
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").
|
|
893
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").BillingContact, [Pick<Options<GetContactData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1081
894
|
_id: string;
|
|
1082
895
|
_infinite?: boolean;
|
|
1083
896
|
tags?: ReadonlyArray<string>;
|
|
1084
897
|
}], 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>>;
|
|
898
|
+
} & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<GetContactData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
899
|
+
_id: string;
|
|
900
|
+
_infinite?: boolean;
|
|
901
|
+
tags?: ReadonlyArray<string>;
|
|
902
|
+
}], import("../types.gen").BillingContact, Error>;
|
|
1102
903
|
/**
|
|
1103
|
-
*
|
|
904
|
+
* Update organization contact information and billing address.
|
|
1104
905
|
*
|
|
1105
|
-
*
|
|
906
|
+
* This endpoint allows you to update organization details with its contact information. This endpoint is available to administrators of the organization only.
|
|
1106
907
|
*
|
|
1107
908
|
*/
|
|
1108
|
-
export declare const
|
|
1109
|
-
export declare const
|
|
909
|
+
export declare const updateContactMutation: (options?: Partial<Options<UpdateContactData>>) => UseMutationOptions<UpdateContactResponse, DefaultError, Options<UpdateContactData>>;
|
|
910
|
+
export declare const getCreditsQueryKey: (options?: Options<GetCreditsData>) => [Pick<Options<GetCreditsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1110
911
|
_id: string;
|
|
1111
912
|
_infinite?: boolean;
|
|
1112
913
|
tags?: ReadonlyArray<string>;
|
|
1113
914
|
}];
|
|
1114
915
|
/**
|
|
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.
|
|
916
|
+
* Get applied promotional credits
|
|
1118
917
|
*
|
|
1119
|
-
* This endpoint is available to all users in the organization.
|
|
918
|
+
* 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
919
|
*
|
|
1121
920
|
*/
|
|
1122
|
-
export declare const
|
|
921
|
+
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
922
|
_id: string;
|
|
1124
923
|
_infinite?: boolean;
|
|
1125
924
|
tags?: ReadonlyArray<string>;
|
|
1126
925
|
}]>, "queryFn"> & {
|
|
1127
|
-
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").
|
|
926
|
+
queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").BillingCredits[], [Pick<Options<GetCreditsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
1128
927
|
_id: string;
|
|
1129
928
|
_infinite?: boolean;
|
|
1130
929
|
tags?: ReadonlyArray<string>;
|
|
1131
930
|
}], never> | undefined;
|
|
1132
|
-
} & {
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
}] & {
|
|
1138
|
-
[dataTagSymbol]: import("../types.gen").User;
|
|
1139
|
-
[dataTagErrorSymbol]: Error;
|
|
1140
|
-
};
|
|
1141
|
-
};
|
|
931
|
+
} & import("@tanstack/react-query").QueryKeyWithDataTag<[Pick<Options<GetCreditsData>, "body" | "path" | "query" | "headers" | "baseUrl"> & {
|
|
932
|
+
_id: string;
|
|
933
|
+
_infinite?: boolean;
|
|
934
|
+
tags?: ReadonlyArray<string>;
|
|
935
|
+
}], import("../types.gen").BillingCredits[], Error>;
|
|
1142
936
|
/**
|
|
1143
|
-
*
|
|
937
|
+
* Redeem promotional credits code.
|
|
1144
938
|
*
|
|
1145
|
-
*
|
|
939
|
+
* 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
940
|
*
|
|
1147
941
|
*/
|
|
1148
|
-
export declare const
|
|
942
|
+
export declare const redeemCreditsMutation: (options?: Partial<Options<RedeemCreditsData>>) => UseMutationOptions<unknown, DefaultError, Options<RedeemCreditsData>>;
|
|
1149
943
|
//# sourceMappingURL=react-query.gen.d.ts.map
|