@cloudfleet/sdk 0.0.1-42b710c → 0.0.1-43887de
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 +1084 -0
- package/dist/@tanstack/react-query.gen.d.ts.map +1 -0
- package/dist/@tanstack/react-query.gen.js +1305 -0
- package/dist/@tanstack/react-query.gen.js.map +1 -0
- package/dist/client/client.gen.d.ts +3 -0
- package/dist/client/client.gen.d.ts.map +1 -0
- package/dist/client/client.gen.js +217 -0
- package/dist/client/client.gen.js.map +1 -0
- package/dist/client/index.d.ts +9 -0
- package/dist/client/index.d.ts.map +1 -0
- package/dist/client/index.js +7 -0
- package/dist/client/index.js.map +1 -0
- package/dist/client/types.gen.d.ts +121 -0
- package/dist/client/types.gen.d.ts.map +1 -0
- package/dist/client/types.gen.js +3 -0
- package/dist/client/types.gen.js.map +1 -0
- package/dist/client/utils.gen.d.ts +38 -0
- package/dist/client/utils.gen.d.ts.map +1 -0
- package/dist/client/utils.gen.js +229 -0
- package/dist/client/utils.gen.js.map +1 -0
- package/dist/client.gen.d.ts +4 -4
- package/dist/client.gen.d.ts.map +1 -1
- package/dist/client.gen.js +2 -4
- package/dist/client.gen.js.map +1 -1
- package/dist/core/auth.gen.d.ts +19 -0
- package/dist/core/auth.gen.d.ts.map +1 -0
- package/dist/core/auth.gen.js +15 -0
- package/dist/core/auth.gen.js.map +1 -0
- package/dist/core/bodySerializer.gen.d.ts +26 -0
- package/dist/core/bodySerializer.gen.d.ts.map +1 -0
- package/dist/core/bodySerializer.gen.js +58 -0
- package/dist/core/bodySerializer.gen.js.map +1 -0
- package/dist/core/params.gen.d.ts +44 -0
- package/dist/core/params.gen.d.ts.map +1 -0
- package/dist/core/params.gen.js +101 -0
- package/dist/core/params.gen.js.map +1 -0
- package/dist/core/pathSerializer.gen.d.ts +34 -0
- package/dist/core/pathSerializer.gen.d.ts.map +1 -0
- package/dist/core/pathSerializer.gen.js +107 -0
- package/dist/core/pathSerializer.gen.js.map +1 -0
- package/dist/core/queryKeySerializer.gen.d.ts +19 -0
- package/dist/core/queryKeySerializer.gen.d.ts.map +1 -0
- package/dist/core/queryKeySerializer.gen.js +93 -0
- package/dist/core/queryKeySerializer.gen.js.map +1 -0
- package/dist/core/serverSentEvents.gen.d.ts +72 -0
- package/dist/core/serverSentEvents.gen.d.ts.map +1 -0
- package/dist/core/serverSentEvents.gen.js +133 -0
- package/dist/core/serverSentEvents.gen.js.map +1 -0
- package/dist/core/types.gen.d.ts +79 -0
- package/dist/core/types.gen.d.ts.map +1 -0
- package/dist/core/types.gen.js +3 -0
- package/dist/core/types.gen.js.map +1 -0
- package/dist/core/utils.gen.d.ts +20 -0
- package/dist/core/utils.gen.d.ts.map +1 -0
- package/dist/core/utils.gen.js +88 -0
- package/dist/core/utils.gen.js.map +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/schemas.gen.d.ts +2172 -710
- package/dist/schemas.gen.d.ts.map +1 -1
- package/dist/schemas.gen.js +3577 -733
- package/dist/schemas.gen.js.map +1 -1
- package/dist/sdk.gen.d.ts +375 -142
- package/dist/sdk.gen.d.ts.map +1 -1
- package/dist/sdk.gen.js +536 -271
- package/dist/sdk.gen.js.map +1 -1
- package/dist/services/kubernetes/api.d.ts +196 -0
- package/dist/services/kubernetes/api.d.ts.map +1 -0
- package/dist/services/kubernetes/api.js +140 -0
- package/dist/services/kubernetes/api.js.map +1 -0
- package/dist/services/kubernetes/index.d.ts +44 -0
- package/dist/services/kubernetes/index.d.ts.map +1 -0
- package/dist/services/kubernetes/index.js +68 -0
- package/dist/services/kubernetes/index.js.map +1 -0
- package/dist/services/kubernetes/types.d.ts +1335 -0
- package/dist/services/kubernetes/types.d.ts.map +1 -0
- package/dist/services/kubernetes/types.js +2 -0
- package/dist/services/kubernetes/types.js.map +1 -0
- package/dist/types.gen.d.ts +2288 -727
- package/dist/types.gen.d.ts.map +1 -1
- package/dist/zod.gen.d.ts +4266 -2192
- package/dist/zod.gen.d.ts.map +1 -1
- package/dist/zod.gen.js +1853 -813
- package/dist/zod.gen.js.map +1 -1
- package/package.json +30 -7
package/dist/sdk.gen.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type
|
|
2
|
-
import type {
|
|
3
|
-
export type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean> =
|
|
1
|
+
import { type Client, type Options as Options2, type TDataShape } from './client';
|
|
2
|
+
import type { CloseTicketData, CloseTicketResponses, CreateChartData, CreateChartErrors, CreateChartResponses, CreateClusterData, CreateClusterErrors, CreateClusterResponses, CreateFleetData, CreateFleetErrors, CreateFleetResponses, CreateInviteData, CreateInviteResponses, CreateOrganizationData, CreateOrganizationResponses, CreateTicketData, CreateTicketResponses, CreateTokenData, CreateTokenErrors, CreateTokenResponses, CreateUserData, CreateUserResponses, DeleteChartData, DeleteChartErrors, DeleteChartResponses, DeleteClusterData, DeleteClusterErrors, DeleteClusterResponses, DeleteFleetData, DeleteFleetErrors, DeleteFleetResponses, DeleteInviteData, DeleteInviteResponses, DeletePaymentMethodData, DeletePaymentMethodErrors, DeletePaymentMethodResponses, DeleteTagData, DeleteTagErrors, DeleteTagResponses, DeleteTokenData, DeleteTokenResponses, DeleteUserData, DeleteUserErrors, DeleteUserResponses, GetChartData, GetChartResponses, GetClusterData, GetClusterResponses, GetContactData, GetContactResponses, GetCreditsData, GetCreditsErrors, GetCreditsResponses, GetFleetData, GetFleetResponses, GetInviteData, GetInviteResponses, GetJoinInformationData, GetJoinInformationErrors, GetJoinInformationResponses, GetMarketplaceChartFilesData, GetMarketplaceChartFilesErrors, GetMarketplaceChartFilesResponses, GetOrganizationData, GetOrganizationResponses, GetPaymentMethodSecretData, GetPaymentMethodSecretResponses, GetTagData, GetTagErrors, GetTagResponses, GetTicketAttachmentData, GetTicketAttachmentResponses, GetTicketData, GetTicketResponses, GetTokenData, GetTokenErrors, GetTokenResponses, GetUsageData, GetUsageErrors, GetUsageResponses, GetUserData, GetUserErrors, GetUserResponses, GrantTicketSupportAccessData, GrantTicketSupportAccessErrors, GrantTicketSupportAccessResponses, ListChartsData, ListChartsErrors, ListChartsResponses, ListClustersData, ListClustersErrors, ListClustersResponses, ListFleetsData, ListFleetsErrors, ListFleetsResponses, ListInvitesData, ListInvitesErrors, ListInvitesResponses, ListInvoicesData, ListInvoicesErrors, ListInvoicesResponses, ListMarketplaceChartsData, ListMarketplaceChartsErrors, ListMarketplaceChartsResponses, ListPaymentMethodsData, ListPaymentMethodsErrors, ListPaymentMethodsResponses, ListRepositoriesData, ListRepositoriesErrors, ListRepositoriesResponses, ListRoadmapData, ListRoadmapResponses, ListTagsData, ListTagsErrors, ListTagsResponses, ListTicketsData, ListTicketsResponses, ListTokensData, ListTokensErrors, ListTokensResponses, ListUserOrganizationsData, ListUserOrganizationsResponses, ListUsersData, ListUsersErrors, ListUsersResponses, PayOpenInvoicesData, PayOpenInvoicesErrors, PayOpenInvoicesResponses, PostMcpData, PostMcpErrors, PostMcpResponses, QueryClusterData, QueryClusterErrors, QueryClusterResponses, RedeemCreditsData, RedeemCreditsErrors, RedeemCreditsResponses, RegenerateTokenData, RegenerateTokenErrors, RegenerateTokenResponses, ReplyTicketData, ReplyTicketErrors, ReplyTicketResponses, SendFeedbackData, SendFeedbackErrors, SendFeedbackResponses, SetDefaultPaymentMethodData, SetDefaultPaymentMethodErrors, SetDefaultPaymentMethodResponses, SuggestRoadmapData, SuggestRoadmapResponses, UnvoteRoadmapData, UnvoteRoadmapErrors, UnvoteRoadmapResponses, UpdateChartData, UpdateChartErrors, UpdateChartResponses, UpdateClusterData, UpdateClusterErrors, UpdateClusterResponses, UpdateContactData, UpdateContactResponses, UpdateFleetData, UpdateFleetErrors, UpdateFleetResponses, UpdateTokenData, UpdateTokenErrors, UpdateTokenResponses, UpdateUserData, UpdateUserResponses, VoteRoadmapData, VoteRoadmapErrors, VoteRoadmapResponses } from './types.gen';
|
|
3
|
+
export type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean, TResponse = unknown> = Options2<TData, ThrowOnError, TResponse> & {
|
|
4
4
|
/**
|
|
5
5
|
* You can provide a client instance returned by `createClient()` instead of
|
|
6
6
|
* individual options. This might be also useful if you want to implement a
|
|
@@ -13,293 +13,526 @@ export type Options<TData extends TDataShape = TDataShape, ThrowOnError extends
|
|
|
13
13
|
*/
|
|
14
14
|
meta?: Record<string, unknown>;
|
|
15
15
|
};
|
|
16
|
-
export declare class
|
|
16
|
+
export declare class UsersService {
|
|
17
17
|
/**
|
|
18
|
-
* Get
|
|
19
|
-
|
|
18
|
+
* Get a list of organizations the user belongs to. Used during authentication process.
|
|
19
|
+
*/
|
|
20
|
+
static listUserOrganizations<ThrowOnError extends boolean = false>(options: Options<ListUserOrganizationsData, ThrowOnError>): import("./client").RequestResult<ListUserOrganizationsResponses, unknown, ThrowOnError, "fields">;
|
|
21
|
+
/**
|
|
22
|
+
* List users in organization.
|
|
23
|
+
*
|
|
24
|
+
* 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.
|
|
25
|
+
*
|
|
26
|
+
* This endpoint is available to all users in the organization.
|
|
20
27
|
*
|
|
21
28
|
*/
|
|
22
|
-
static
|
|
29
|
+
static listUsers<ThrowOnError extends boolean = false>(options?: Options<ListUsersData, ThrowOnError>): import("./client").RequestResult<ListUsersResponses, ListUsersErrors, ThrowOnError, "fields">;
|
|
23
30
|
/**
|
|
24
|
-
*
|
|
25
|
-
*
|
|
31
|
+
* Create a new user.
|
|
32
|
+
*
|
|
33
|
+
* 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.
|
|
26
34
|
*
|
|
27
35
|
*/
|
|
28
|
-
static
|
|
36
|
+
static createUser<ThrowOnError extends boolean = false>(options: Options<CreateUserData, ThrowOnError>): import("./client").RequestResult<CreateUserResponses, unknown, ThrowOnError, "fields">;
|
|
29
37
|
/**
|
|
30
|
-
*
|
|
31
|
-
*
|
|
38
|
+
* Delete user by id.
|
|
39
|
+
*
|
|
40
|
+
* Sets user status to `inactive`. Inactive users cannot log in and manage organization resources. This endpoint is available to administrators of the organization only.
|
|
32
41
|
*
|
|
33
42
|
*/
|
|
34
|
-
static
|
|
43
|
+
static deleteUser<ThrowOnError extends boolean = false>(options: Options<DeleteUserData, ThrowOnError>): import("./client").RequestResult<DeleteUserResponses, DeleteUserErrors, ThrowOnError, "fields">;
|
|
35
44
|
/**
|
|
36
|
-
* Get
|
|
37
|
-
*
|
|
45
|
+
* Get user profile information by id.
|
|
46
|
+
*
|
|
47
|
+
* Returns user details including their roles. For more information on identity access management, see [Users](https://cloudfleet.ai/docs/organization/users/) section of documentaiton.
|
|
48
|
+
*
|
|
49
|
+
* This endpoint is available to all users in the organization.
|
|
38
50
|
*
|
|
39
51
|
*/
|
|
40
|
-
static
|
|
41
|
-
id?: string;
|
|
42
|
-
}, unknown, ThrowOnError>;
|
|
52
|
+
static getUser<ThrowOnError extends boolean = false>(options: Options<GetUserData, ThrowOnError>): import("./client").RequestResult<GetUserResponses, GetUserErrors, ThrowOnError, "fields">;
|
|
43
53
|
/**
|
|
44
|
-
*
|
|
45
|
-
*
|
|
54
|
+
* Update user profile information.
|
|
55
|
+
*
|
|
56
|
+
* 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.
|
|
46
57
|
*
|
|
47
58
|
*/
|
|
48
|
-
static
|
|
59
|
+
static updateUser<ThrowOnError extends boolean = false>(options: Options<UpdateUserData, ThrowOnError>): import("./client").RequestResult<UpdateUserResponses, unknown, ThrowOnError, "fields">;
|
|
60
|
+
}
|
|
61
|
+
export declare class TokensService {
|
|
49
62
|
/**
|
|
50
|
-
*
|
|
51
|
-
*
|
|
63
|
+
* List access tokens in organization.
|
|
64
|
+
*
|
|
65
|
+
* 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.
|
|
52
66
|
*
|
|
53
67
|
*/
|
|
54
|
-
static
|
|
55
|
-
html?: string;
|
|
56
|
-
}, unknown, ThrowOnError>;
|
|
68
|
+
static listTokens<ThrowOnError extends boolean = false>(options?: Options<ListTokensData, ThrowOnError>): import("./client").RequestResult<ListTokensResponses, ListTokensErrors, ThrowOnError, "fields">;
|
|
57
69
|
/**
|
|
58
|
-
*
|
|
59
|
-
*
|
|
70
|
+
* Create a new access token.
|
|
71
|
+
*
|
|
72
|
+
* 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.
|
|
73
|
+
*
|
|
74
|
+
* This endpoint is available to administrators of the organization only.
|
|
60
75
|
*
|
|
61
76
|
*/
|
|
62
|
-
static
|
|
77
|
+
static createToken<ThrowOnError extends boolean = false>(options: Options<CreateTokenData, ThrowOnError>): import("./client").RequestResult<CreateTokenResponses, CreateTokenErrors, ThrowOnError, "fields">;
|
|
63
78
|
/**
|
|
64
|
-
*
|
|
65
|
-
*
|
|
79
|
+
* Permanently delete access token.
|
|
80
|
+
*
|
|
81
|
+
* 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.
|
|
66
82
|
*
|
|
67
83
|
*/
|
|
68
|
-
static
|
|
69
|
-
}
|
|
70
|
-
export declare class ClustersService {
|
|
84
|
+
static deleteToken<ThrowOnError extends boolean = false>(options: Options<DeleteTokenData, ThrowOnError>): import("./client").RequestResult<DeleteTokenResponses, unknown, ThrowOnError, "fields">;
|
|
71
85
|
/**
|
|
72
|
-
*
|
|
73
|
-
* Returns a list of fleets belonging to the cluster. For more information, see [Fleets and fleet types](https://cloudfleet.ai/docs/cloud-infrastructure/fleets-and-fleet-types/) section of documentaiton.
|
|
86
|
+
* Get access token information.
|
|
74
87
|
*
|
|
75
|
-
* This endpoint is available to all users in the organization.
|
|
88
|
+
* 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.
|
|
76
89
|
*
|
|
77
90
|
*/
|
|
78
|
-
static
|
|
91
|
+
static getToken<ThrowOnError extends boolean = false>(options: Options<GetTokenData, ThrowOnError>): import("./client").RequestResult<GetTokenResponses, GetTokenErrors, ThrowOnError, "fields">;
|
|
79
92
|
/**
|
|
80
|
-
*
|
|
81
|
-
*
|
|
93
|
+
* Update access token information.
|
|
94
|
+
*
|
|
95
|
+
* 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.
|
|
82
96
|
*
|
|
83
97
|
* This endpoint is available to administrators of the organization only.
|
|
84
98
|
*
|
|
85
99
|
*/
|
|
86
|
-
static
|
|
100
|
+
static updateToken<ThrowOnError extends boolean = false>(options: Options<UpdateTokenData, ThrowOnError>): import("./client").RequestResult<UpdateTokenResponses, UpdateTokenErrors, ThrowOnError, "fields">;
|
|
87
101
|
/**
|
|
88
|
-
*
|
|
89
|
-
* 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. If you want to keep using the Connected Fleet until the end of the billing period, set the status to `cancelling`. For more information, see [Fleets and fleet types](https://cloudfleet.ai/docs/cloud-infrastructure/fleets-and-fleet-types/) section of documentaiton.
|
|
102
|
+
* Regenerate access token secret key.
|
|
90
103
|
*
|
|
91
|
-
*
|
|
104
|
+
* Generates a new access token secret. Old secret will not be valid anymore.
|
|
105
|
+
*/
|
|
106
|
+
static regenerateToken<ThrowOnError extends boolean = false>(options: Options<RegenerateTokenData, ThrowOnError>): import("./client").RequestResult<RegenerateTokenResponses, RegenerateTokenErrors, ThrowOnError, "fields">;
|
|
107
|
+
}
|
|
108
|
+
export declare class TicketsService {
|
|
109
|
+
/**
|
|
110
|
+
* List tickets for the current organization.
|
|
111
|
+
*
|
|
112
|
+
* Returns all tickets belonging to the caller's organization, newest first.
|
|
92
113
|
*
|
|
93
114
|
*/
|
|
94
|
-
static
|
|
115
|
+
static listTickets<ThrowOnError extends boolean = false>(options?: Options<ListTicketsData, ThrowOnError>): import("./client").RequestResult<ListTicketsResponses, unknown, ThrowOnError, "fields">;
|
|
95
116
|
/**
|
|
96
|
-
*
|
|
97
|
-
* Returns fleet details. For more information, see [Fleets and fleet types](https://cloudfleet.ai/docs/cloud-infrastructure/fleets-and-fleet-types/) section of documentaiton.
|
|
117
|
+
* Create a new support ticket.
|
|
98
118
|
*
|
|
99
|
-
*
|
|
119
|
+
* 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).
|
|
100
120
|
*
|
|
101
121
|
*/
|
|
102
|
-
static
|
|
122
|
+
static createTicket<ThrowOnError extends boolean = false>(options: Options<CreateTicketData, ThrowOnError>): import("./client").RequestResult<CreateTicketResponses, unknown, ThrowOnError, "fields">;
|
|
103
123
|
/**
|
|
104
|
-
*
|
|
105
|
-
* This endpoint allows you to update fleet details.
|
|
124
|
+
* Close a ticket (soft close).
|
|
106
125
|
*
|
|
107
|
-
*
|
|
126
|
+
* Marks the ticket as closed. Closed is a terminal state — users cannot reply to a closed ticket; a new ticket must be opened instead.
|
|
108
127
|
*
|
|
109
|
-
|
|
128
|
+
*/
|
|
129
|
+
static closeTicket<ThrowOnError extends boolean = false>(options: Options<CloseTicketData, ThrowOnError>): import("./client").RequestResult<CloseTicketResponses, unknown, ThrowOnError, "fields">;
|
|
130
|
+
/**
|
|
131
|
+
* Get a ticket and its messages.
|
|
132
|
+
*/
|
|
133
|
+
static getTicket<ThrowOnError extends boolean = false>(options: Options<GetTicketData, ThrowOnError>): import("./client").RequestResult<GetTicketResponses, unknown, ThrowOnError, "fields">;
|
|
134
|
+
/**
|
|
135
|
+
* Grant Cloudfleet support access for a ticket.
|
|
110
136
|
*
|
|
111
|
-
*
|
|
137
|
+
* 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.
|
|
112
138
|
*
|
|
113
139
|
*/
|
|
114
|
-
static
|
|
140
|
+
static grantTicketSupportAccess<ThrowOnError extends boolean = false>(options: Options<GrantTicketSupportAccessData, ThrowOnError>): import("./client").RequestResult<GrantTicketSupportAccessResponses, GrantTicketSupportAccessErrors, ThrowOnError, "fields">;
|
|
115
141
|
/**
|
|
116
|
-
*
|
|
117
|
-
*
|
|
142
|
+
* Append a customer reply to a ticket.
|
|
143
|
+
*
|
|
144
|
+
* Multipart form-data with a JSON-encoded `payload` field carrying `body`, plus up to 3 `attachments` files. Returns 409 if the ticket is closed.
|
|
145
|
+
*
|
|
118
146
|
*/
|
|
119
|
-
static
|
|
147
|
+
static replyTicket<ThrowOnError extends boolean = false>(options: Options<ReplyTicketData, ThrowOnError>): import("./client").RequestResult<ReplyTicketResponses, ReplyTicketErrors, ThrowOnError, "fields">;
|
|
120
148
|
/**
|
|
121
|
-
*
|
|
122
|
-
|
|
149
|
+
* Download a ticket attachment.
|
|
150
|
+
*/
|
|
151
|
+
static getTicketAttachment<ThrowOnError extends boolean = false>(options: Options<GetTicketAttachmentData, ThrowOnError>): import("./client").RequestResult<GetTicketAttachmentResponses, unknown, ThrowOnError, "fields">;
|
|
152
|
+
}
|
|
153
|
+
export declare class RoadmapService {
|
|
154
|
+
/**
|
|
155
|
+
* List roadmap items.
|
|
123
156
|
*
|
|
124
|
-
*
|
|
157
|
+
* Returns the published roadmap items, newest first, each with your own vote. Votes of other users are not returned.
|
|
125
158
|
*
|
|
126
159
|
*/
|
|
127
|
-
static
|
|
160
|
+
static listRoadmap<ThrowOnError extends boolean = false>(options?: Options<ListRoadmapData, ThrowOnError>): import("./client").RequestResult<ListRoadmapResponses, unknown, ThrowOnError, "fields">;
|
|
128
161
|
/**
|
|
129
|
-
*
|
|
130
|
-
* 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.
|
|
162
|
+
* Suggest a new roadmap item.
|
|
131
163
|
*
|
|
132
|
-
*
|
|
164
|
+
* 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.
|
|
133
165
|
*
|
|
134
166
|
*/
|
|
135
|
-
static
|
|
167
|
+
static suggestRoadmap<ThrowOnError extends boolean = false>(options: Options<SuggestRoadmapData, ThrowOnError>): import("./client").RequestResult<SuggestRoadmapResponses, unknown, ThrowOnError, "fields">;
|
|
136
168
|
/**
|
|
137
|
-
*
|
|
138
|
-
|
|
169
|
+
* Remove your vote from a roadmap item.
|
|
170
|
+
*/
|
|
171
|
+
static unvoteRoadmap<ThrowOnError extends boolean = false>(options: Options<UnvoteRoadmapData, ThrowOnError>): import("./client").RequestResult<UnvoteRoadmapResponses, UnvoteRoadmapErrors, ThrowOnError, "fields">;
|
|
172
|
+
/**
|
|
173
|
+
* Vote on a roadmap item.
|
|
139
174
|
*
|
|
140
|
-
*
|
|
175
|
+
* Sets your vote on a roadmap item: -1 (down), 1 (up), or 2 (double up). Replaces any previous vote you cast on the item.
|
|
141
176
|
*
|
|
142
177
|
*/
|
|
143
|
-
static
|
|
178
|
+
static voteRoadmap<ThrowOnError extends boolean = false>(options: Options<VoteRoadmapData, ThrowOnError>): import("./client").RequestResult<VoteRoadmapResponses, VoteRoadmapErrors, ThrowOnError, "fields">;
|
|
179
|
+
}
|
|
180
|
+
export declare class RegistryService {
|
|
144
181
|
/**
|
|
145
|
-
*
|
|
146
|
-
*
|
|
182
|
+
* List repositories
|
|
183
|
+
*
|
|
184
|
+
* Returns a list of repositories in the registry across all regions. This endpoint is available to all users in the organization.
|
|
185
|
+
*
|
|
186
|
+
*/
|
|
187
|
+
static listRepositories<ThrowOnError extends boolean = false>(options?: Options<ListRepositoriesData, ThrowOnError>): import("./client").RequestResult<ListRepositoriesResponses, ListRepositoriesErrors, ThrowOnError, "fields">;
|
|
188
|
+
/**
|
|
189
|
+
* List tags for a repository
|
|
190
|
+
*
|
|
191
|
+
* 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.
|
|
192
|
+
*
|
|
193
|
+
*/
|
|
194
|
+
static listTags<ThrowOnError extends boolean = false>(options: Options<ListTagsData, ThrowOnError>): import("./client").RequestResult<ListTagsResponses, ListTagsErrors, ThrowOnError, "fields">;
|
|
195
|
+
/**
|
|
196
|
+
* Delete tag
|
|
197
|
+
*
|
|
198
|
+
* Permanently deletes a specific tag from a repository. This endpoint is available to administrators of the organization only.
|
|
199
|
+
*
|
|
200
|
+
*/
|
|
201
|
+
static deleteTag<ThrowOnError extends boolean = false>(options: Options<DeleteTagData, ThrowOnError>): import("./client").RequestResult<DeleteTagResponses, DeleteTagErrors, ThrowOnError, "fields">;
|
|
202
|
+
/**
|
|
203
|
+
* Get tag details
|
|
204
|
+
*
|
|
205
|
+
* 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.
|
|
206
|
+
*
|
|
207
|
+
*/
|
|
208
|
+
static getTag<ThrowOnError extends boolean = false>(options: Options<GetTagData, ThrowOnError>): import("./client").RequestResult<GetTagResponses, GetTagErrors, ThrowOnError, "fields">;
|
|
209
|
+
}
|
|
210
|
+
export declare class OrganizationService {
|
|
211
|
+
/**
|
|
212
|
+
* Get organization information.
|
|
213
|
+
*
|
|
214
|
+
* Returns organization details including quota. For more information about quotas, see [Quotas and limits](https://cloudfleet.ai/docs/organization/quotas/) section of documentaiton.
|
|
147
215
|
*
|
|
148
216
|
* This endpoint is available to all users in the organization.
|
|
149
217
|
*
|
|
150
218
|
*/
|
|
151
|
-
static
|
|
219
|
+
static getOrganization<ThrowOnError extends boolean = false>(options?: Options<GetOrganizationData, ThrowOnError>): import("./client").RequestResult<GetOrganizationResponses, unknown, ThrowOnError, "fields">;
|
|
152
220
|
/**
|
|
153
|
-
*
|
|
154
|
-
* 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.
|
|
221
|
+
* Create a new organization / Cloudfleet account signup.
|
|
155
222
|
*
|
|
156
|
-
* This endpoint
|
|
223
|
+
* This endpoint allows you to create a new Cloudfleet organization and an administrator user.
|
|
157
224
|
*
|
|
158
225
|
*/
|
|
159
|
-
static
|
|
226
|
+
static createOrganization<ThrowOnError extends boolean = false>(options: Options<CreateOrganizationData, ThrowOnError>): import("./client").RequestResult<CreateOrganizationResponses, unknown, ThrowOnError, "fields">;
|
|
227
|
+
}
|
|
228
|
+
export declare class McpService {
|
|
160
229
|
/**
|
|
161
|
-
*
|
|
162
|
-
*
|
|
230
|
+
* MCP endpoint
|
|
231
|
+
*
|
|
232
|
+
* MCP endpoint for handling Model Context Protocol JSON-RPC 2.0 messages.
|
|
233
|
+
*/
|
|
234
|
+
static postMcp<ThrowOnError extends boolean = false>(options: Options<PostMcpData, ThrowOnError>): import("./client").RequestResult<PostMcpResponses, PostMcpErrors, ThrowOnError, "fields">;
|
|
235
|
+
}
|
|
236
|
+
export declare class ChartsMarketplaceService {
|
|
237
|
+
/**
|
|
238
|
+
* List chart listings available in the marketplace.
|
|
239
|
+
*
|
|
240
|
+
* Returns a list of available charts in the marketplace.
|
|
241
|
+
*
|
|
242
|
+
* This endpoint is available to all users in the organization.
|
|
243
|
+
*
|
|
244
|
+
*/
|
|
245
|
+
static listMarketplaceCharts<ThrowOnError extends boolean = false>(options?: Options<ListMarketplaceChartsData, ThrowOnError>): import("./client").RequestResult<ListMarketplaceChartsResponses, ListMarketplaceChartsErrors, ThrowOnError, "fields">;
|
|
246
|
+
/**
|
|
247
|
+
* Get chart files for a specific version channel.
|
|
248
|
+
*
|
|
249
|
+
* Returns the Chart.yaml, values.yaml, and values.schema.json files for the latest version matching the specified version channel.
|
|
250
|
+
*
|
|
251
|
+
* 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.
|
|
252
|
+
*
|
|
253
|
+
* This endpoint is available to all users in the organization.
|
|
163
254
|
*
|
|
164
255
|
*/
|
|
165
|
-
static
|
|
256
|
+
static getMarketplaceChartFiles<ThrowOnError extends boolean = false>(options: Options<GetMarketplaceChartFilesData, ThrowOnError>): import("./client").RequestResult<GetMarketplaceChartFilesResponses, GetMarketplaceChartFilesErrors, ThrowOnError, "fields">;
|
|
166
257
|
}
|
|
167
258
|
export declare class InvitesService {
|
|
168
259
|
/**
|
|
169
260
|
* List invites.
|
|
170
|
-
*
|
|
261
|
+
*
|
|
262
|
+
* Returns a list of pending (non-expired) invites under the current organization. This endpoint is available to administrators of the organization only.
|
|
171
263
|
*
|
|
172
264
|
*/
|
|
173
|
-
static listInvites<ThrowOnError extends boolean = false>(options?: Options<ListInvitesData, ThrowOnError>): import("
|
|
265
|
+
static listInvites<ThrowOnError extends boolean = false>(options?: Options<ListInvitesData, ThrowOnError>): import("./client").RequestResult<ListInvitesResponses, ListInvitesErrors, ThrowOnError, "fields">;
|
|
174
266
|
/**
|
|
175
267
|
* Create a new invite.
|
|
176
|
-
*
|
|
268
|
+
*
|
|
269
|
+
* Invite a new user to your Cloudfleet organization. The user will receive an email with a link to create a new account. This endpoint is available to administrators of the organization only.
|
|
177
270
|
*
|
|
178
271
|
*/
|
|
179
|
-
static createInvite<ThrowOnError extends boolean = false>(options: Options<CreateInviteData, ThrowOnError>): import("
|
|
272
|
+
static createInvite<ThrowOnError extends boolean = false>(options: Options<CreateInviteData, ThrowOnError>): import("./client").RequestResult<CreateInviteResponses, unknown, ThrowOnError, "fields">;
|
|
180
273
|
/**
|
|
181
274
|
* Get invite information.
|
|
182
|
-
*
|
|
275
|
+
*
|
|
276
|
+
* Validates an invitation code and returns the email address it was issued to (to pre-fill the signup form) and the organization it grants access to. This endpoint is unauthenticated, so no other invite details (such as the invited role) are disclosed.
|
|
183
277
|
*
|
|
184
278
|
*/
|
|
185
|
-
static getInvite<ThrowOnError extends boolean = false>(options: Options<GetInviteData, ThrowOnError>): import("
|
|
279
|
+
static getInvite<ThrowOnError extends boolean = false>(options: Options<GetInviteData, ThrowOnError>): import("./client").RequestResult<GetInviteResponses, unknown, ThrowOnError, "fields">;
|
|
186
280
|
/**
|
|
187
281
|
* Permanently delete invite.
|
|
282
|
+
*
|
|
188
283
|
* Permanently deletes invite from the organization. This endpoint is available to administrators of the organization only.
|
|
189
284
|
*
|
|
190
285
|
*/
|
|
191
|
-
static deleteInvite<ThrowOnError extends boolean = false>(options: Options<DeleteInviteData, ThrowOnError>): import("
|
|
286
|
+
static deleteInvite<ThrowOnError extends boolean = false>(options: Options<DeleteInviteData, ThrowOnError>): import("./client").RequestResult<DeleteInviteResponses, unknown, ThrowOnError, "fields">;
|
|
192
287
|
}
|
|
193
|
-
export declare class
|
|
288
|
+
export declare class FeedbackService {
|
|
194
289
|
/**
|
|
195
|
-
*
|
|
196
|
-
*
|
|
290
|
+
* Send feedback to the Cloudfleet team
|
|
291
|
+
*
|
|
292
|
+
* Sends feedback about Cloudfleet: what was useful, confusing, wrong or missing. Feedback is read by the Cloudfleet team but gets no reply and has no status. This is not a support channel: for anything that needs an answer, open a support ticket with `POST /tickets` instead.
|
|
293
|
+
*
|
|
294
|
+
*/
|
|
295
|
+
static sendFeedback<ThrowOnError extends boolean = false>(options: Options<SendFeedbackData, ThrowOnError>): import("./client").RequestResult<SendFeedbackResponses, SendFeedbackErrors, ThrowOnError, "fields">;
|
|
296
|
+
}
|
|
297
|
+
export declare class ClustersService {
|
|
298
|
+
/**
|
|
299
|
+
* Query Kubernetes cluster API
|
|
300
|
+
*
|
|
301
|
+
* 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.
|
|
302
|
+
*/
|
|
303
|
+
static queryCluster<ThrowOnError extends boolean = false>(options: Options<QueryClusterData, ThrowOnError>): import("./client").RequestResult<QueryClusterResponses, QueryClusterErrors, ThrowOnError, "fields">;
|
|
304
|
+
/**
|
|
305
|
+
* List fleets.
|
|
306
|
+
*
|
|
307
|
+
* Returns a list of fleets belonging to the cluster. For more information, see [Fleets](https://cloudfleet.ai/docs/cloud-infrastructure/fleets/) section of documentaiton.
|
|
197
308
|
*
|
|
198
309
|
* This endpoint is available to all users in the organization.
|
|
199
310
|
*
|
|
200
311
|
*/
|
|
201
|
-
static
|
|
312
|
+
static listFleets<ThrowOnError extends boolean = false>(options: Options<ListFleetsData, ThrowOnError>): import("./client").RequestResult<ListFleetsResponses, ListFleetsErrors, ThrowOnError, "fields">;
|
|
202
313
|
/**
|
|
203
|
-
* Create a new
|
|
204
|
-
*
|
|
314
|
+
* Create a new fleet.
|
|
315
|
+
*
|
|
316
|
+
* 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.
|
|
317
|
+
*
|
|
318
|
+
* The cluster must be ready (status `deployed`) before a fleet can be added. Adding a fleet while the cluster is still provisioning returns `409`.
|
|
319
|
+
*
|
|
320
|
+
* This endpoint is available to administrators of the organization only.
|
|
205
321
|
*
|
|
206
322
|
*/
|
|
207
|
-
static
|
|
208
|
-
}
|
|
209
|
-
export declare class TokensService {
|
|
323
|
+
static createFleet<ThrowOnError extends boolean = false>(options: Options<CreateFleetData, ThrowOnError>): import("./client").RequestResult<CreateFleetResponses, CreateFleetErrors, ThrowOnError, "fields">;
|
|
210
324
|
/**
|
|
211
|
-
*
|
|
212
|
-
*
|
|
325
|
+
* Permanently delete fleet.
|
|
326
|
+
*
|
|
327
|
+
* 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.
|
|
328
|
+
*
|
|
329
|
+
* 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.
|
|
330
|
+
*
|
|
331
|
+
* This endpoint is available to administrators of the organization only.
|
|
213
332
|
*
|
|
214
333
|
*/
|
|
215
|
-
static
|
|
334
|
+
static deleteFleet<ThrowOnError extends boolean = false>(options: Options<DeleteFleetData, ThrowOnError>): import("./client").RequestResult<DeleteFleetResponses, DeleteFleetErrors, ThrowOnError, "fields">;
|
|
216
335
|
/**
|
|
217
|
-
*
|
|
218
|
-
*
|
|
336
|
+
* Get fleet information.
|
|
337
|
+
*
|
|
338
|
+
* Returns fleet details. For more information, see [Fleets](https://cloudfleet.ai/docs/cloud-infrastructure/fleets/) section of documentaiton.
|
|
339
|
+
*
|
|
340
|
+
* This endpoint is available to all users in the organization.
|
|
341
|
+
*
|
|
342
|
+
*/
|
|
343
|
+
static getFleet<ThrowOnError extends boolean = false>(options: Options<GetFleetData, ThrowOnError>): import("./client").RequestResult<GetFleetResponses, unknown, ThrowOnError, "fields">;
|
|
344
|
+
/**
|
|
345
|
+
* Update fleet information.
|
|
346
|
+
*
|
|
347
|
+
* This endpoint allows you to update fleet details.
|
|
348
|
+
*
|
|
349
|
+
* For more information, see [Fleets](https://cloudfleet.ai/docs/cloud-infrastructure/fleets/) section of documentaiton.
|
|
350
|
+
*
|
|
351
|
+
* 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).
|
|
219
352
|
*
|
|
220
353
|
* This endpoint is available to administrators of the organization only.
|
|
221
354
|
*
|
|
222
355
|
*/
|
|
223
|
-
static
|
|
356
|
+
static updateFleet<ThrowOnError extends boolean = false>(options: Options<UpdateFleetData, ThrowOnError>): import("./client").RequestResult<UpdateFleetResponses, UpdateFleetErrors, ThrowOnError, "fields">;
|
|
224
357
|
/**
|
|
225
|
-
*
|
|
226
|
-
*
|
|
358
|
+
* List charts.
|
|
359
|
+
*
|
|
360
|
+
* Returns a list of charts in the cluster.
|
|
361
|
+
*
|
|
362
|
+
* This endpoint is available to all users in the organization.
|
|
227
363
|
*
|
|
228
364
|
*/
|
|
229
|
-
static
|
|
365
|
+
static listCharts<ThrowOnError extends boolean = false>(options: Options<ListChartsData, ThrowOnError>): import("./client").RequestResult<ListChartsResponses, ListChartsErrors, ThrowOnError, "fields">;
|
|
230
366
|
/**
|
|
231
|
-
*
|
|
232
|
-
*
|
|
367
|
+
* Create a new chart.
|
|
368
|
+
*
|
|
369
|
+
* Create a new chart deployment.
|
|
370
|
+
*
|
|
371
|
+
* This endpoint is available to administrators of the organization only.
|
|
233
372
|
*
|
|
234
373
|
*/
|
|
235
|
-
static
|
|
374
|
+
static createChart<ThrowOnError extends boolean = false>(options: Options<CreateChartData, ThrowOnError>): import("./client").RequestResult<CreateChartResponses, CreateChartErrors, ThrowOnError, "fields">;
|
|
236
375
|
/**
|
|
237
|
-
*
|
|
238
|
-
*
|
|
376
|
+
* Permanently delete the chart deployment from the cluster.
|
|
377
|
+
*
|
|
378
|
+
* This endpoint will permanently delete chart. This operation cannot be undone.
|
|
239
379
|
*
|
|
240
380
|
* This endpoint is available to administrators of the organization only.
|
|
241
381
|
*
|
|
242
382
|
*/
|
|
243
|
-
static
|
|
383
|
+
static deleteChart<ThrowOnError extends boolean = false>(options: Options<DeleteChartData, ThrowOnError>): import("./client").RequestResult<DeleteChartResponses, DeleteChartErrors, ThrowOnError, "fields">;
|
|
244
384
|
/**
|
|
245
|
-
*
|
|
246
|
-
*
|
|
385
|
+
* Get chart information.
|
|
386
|
+
*
|
|
387
|
+
* Returns the details of the chart deployment.
|
|
388
|
+
*
|
|
389
|
+
* This endpoint is available to all users in the organization.
|
|
390
|
+
*
|
|
247
391
|
*/
|
|
248
|
-
static
|
|
249
|
-
}
|
|
250
|
-
export declare class UsersService {
|
|
392
|
+
static getChart<ThrowOnError extends boolean = false>(options: Options<GetChartData, ThrowOnError>): import("./client").RequestResult<GetChartResponses, unknown, ThrowOnError, "fields">;
|
|
251
393
|
/**
|
|
252
|
-
*
|
|
394
|
+
* Update chart information.
|
|
395
|
+
*
|
|
396
|
+
* This endpoint allows you to update the values of a chart deployment.
|
|
397
|
+
*
|
|
398
|
+
* This endpoint is available to administrators of the organization only.
|
|
399
|
+
*
|
|
253
400
|
*/
|
|
254
|
-
static
|
|
255
|
-
realm?: string;
|
|
256
|
-
displayName?: string;
|
|
257
|
-
}[], unknown, ThrowOnError>;
|
|
401
|
+
static updateChart<ThrowOnError extends boolean = false>(options: Options<UpdateChartData, ThrowOnError>): import("./client").RequestResult<UpdateChartResponses, UpdateChartErrors, ThrowOnError, "fields">;
|
|
258
402
|
/**
|
|
259
|
-
* List
|
|
260
|
-
*
|
|
403
|
+
* List clusters.
|
|
404
|
+
*
|
|
405
|
+
* Returns a list of clusters under the current organization.
|
|
261
406
|
*
|
|
262
407
|
* This endpoint is available to all users in the organization.
|
|
263
408
|
*
|
|
264
409
|
*/
|
|
265
|
-
static
|
|
410
|
+
static listClusters<ThrowOnError extends boolean = false>(options?: Options<ListClustersData, ThrowOnError>): import("./client").RequestResult<ListClustersResponses, ListClustersErrors, ThrowOnError, "fields">;
|
|
266
411
|
/**
|
|
267
|
-
* Create a new
|
|
268
|
-
*
|
|
412
|
+
* Create a new cluster.
|
|
413
|
+
*
|
|
414
|
+
* 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.
|
|
415
|
+
*
|
|
416
|
+
* This endpoint is available to administrators of the organization only.
|
|
269
417
|
*
|
|
270
418
|
*/
|
|
271
|
-
static
|
|
419
|
+
static createCluster<ThrowOnError extends boolean = false>(options: Options<CreateClusterData, ThrowOnError>): import("./client").RequestResult<CreateClusterResponses, CreateClusterErrors, ThrowOnError, "fields">;
|
|
272
420
|
/**
|
|
273
|
-
*
|
|
274
|
-
*
|
|
421
|
+
* Permanently delete cluster.
|
|
422
|
+
*
|
|
423
|
+
* This endpoint will permanently delete the cluster. This operation cannot be undone.
|
|
424
|
+
*
|
|
425
|
+
* 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.
|
|
426
|
+
*
|
|
427
|
+
* This endpoint is available to administrators of the organization only.
|
|
275
428
|
*
|
|
276
429
|
*/
|
|
277
|
-
static
|
|
430
|
+
static deleteCluster<ThrowOnError extends boolean = false>(options: Options<DeleteClusterData, ThrowOnError>): import("./client").RequestResult<DeleteClusterResponses, DeleteClusterErrors, ThrowOnError, "fields">;
|
|
278
431
|
/**
|
|
279
|
-
* Get
|
|
280
|
-
*
|
|
432
|
+
* Get cluster information.
|
|
433
|
+
*
|
|
434
|
+
* Returns cluster details.
|
|
281
435
|
*
|
|
282
436
|
* This endpoint is available to all users in the organization.
|
|
283
437
|
*
|
|
284
438
|
*/
|
|
285
|
-
static
|
|
439
|
+
static getCluster<ThrowOnError extends boolean = false>(options: Options<GetClusterData, ThrowOnError>): import("./client").RequestResult<GetClusterResponses, unknown, ThrowOnError, "fields">;
|
|
286
440
|
/**
|
|
287
|
-
* Update
|
|
288
|
-
*
|
|
441
|
+
* Update cluster information.
|
|
442
|
+
*
|
|
443
|
+
* 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.
|
|
444
|
+
*
|
|
445
|
+
* This is a full overwrite: any field omitted from the request is reset to its default rather than left unchanged.
|
|
446
|
+
*
|
|
447
|
+
* This endpoint is available to administrators of the organization only.
|
|
448
|
+
*
|
|
449
|
+
*/
|
|
450
|
+
static updateCluster<ThrowOnError extends boolean = false>(options: Options<UpdateClusterData, ThrowOnError>): import("./client").RequestResult<UpdateClusterResponses, UpdateClusterErrors, ThrowOnError, "fields">;
|
|
451
|
+
/**
|
|
452
|
+
* Node join information for the cluster
|
|
453
|
+
*
|
|
454
|
+
* 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.
|
|
455
|
+
*
|
|
456
|
+
*/
|
|
457
|
+
static getJoinInformation<ThrowOnError extends boolean = false>(options: Options<GetJoinInformationData, ThrowOnError>): import("./client").RequestResult<GetJoinInformationResponses, GetJoinInformationErrors, ThrowOnError, "fields">;
|
|
458
|
+
}
|
|
459
|
+
export declare class BillingService {
|
|
460
|
+
/**
|
|
461
|
+
* Get billing usage information.
|
|
462
|
+
*
|
|
463
|
+
* 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.
|
|
289
464
|
*
|
|
290
465
|
*/
|
|
291
|
-
static
|
|
466
|
+
static getUsage<ThrowOnError extends boolean = false>(options?: Options<GetUsageData, ThrowOnError>): import("./client").RequestResult<GetUsageResponses, GetUsageErrors, ThrowOnError, "fields">;
|
|
292
467
|
/**
|
|
293
|
-
*
|
|
294
|
-
*
|
|
468
|
+
* Get Stripe client secret.
|
|
469
|
+
*
|
|
470
|
+
* 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.
|
|
471
|
+
*
|
|
472
|
+
*/
|
|
473
|
+
static getPaymentMethodSecret<ThrowOnError extends boolean = false>(options?: Options<GetPaymentMethodSecretData, ThrowOnError>): import("./client").RequestResult<GetPaymentMethodSecretResponses, unknown, ThrowOnError, "fields">;
|
|
474
|
+
/**
|
|
475
|
+
* List organization payment methods.
|
|
476
|
+
*
|
|
477
|
+
* 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.
|
|
295
478
|
*
|
|
296
479
|
*/
|
|
297
|
-
static
|
|
480
|
+
static listPaymentMethods<ThrowOnError extends boolean = false>(options?: Options<ListPaymentMethodsData, ThrowOnError>): import("./client").RequestResult<ListPaymentMethodsResponses, ListPaymentMethodsErrors, ThrowOnError, "fields">;
|
|
298
481
|
/**
|
|
299
|
-
*
|
|
300
|
-
*
|
|
482
|
+
* Set the default payment method.
|
|
483
|
+
*
|
|
484
|
+
* Sets the given payment method as the default used for invoices and active subscriptions. Requires the Administrator role.
|
|
485
|
+
*
|
|
486
|
+
*/
|
|
487
|
+
static setDefaultPaymentMethod<ThrowOnError extends boolean = false>(options: Options<SetDefaultPaymentMethodData, ThrowOnError>): import("./client").RequestResult<SetDefaultPaymentMethodResponses, SetDefaultPaymentMethodErrors, ThrowOnError, "fields">;
|
|
488
|
+
/**
|
|
489
|
+
* Delete a payment method.
|
|
490
|
+
*
|
|
491
|
+
* 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.
|
|
492
|
+
*
|
|
493
|
+
*/
|
|
494
|
+
static deletePaymentMethod<ThrowOnError extends boolean = false>(options: Options<DeletePaymentMethodData, ThrowOnError>): import("./client").RequestResult<DeletePaymentMethodResponses, DeletePaymentMethodErrors, ThrowOnError, "fields">;
|
|
495
|
+
/**
|
|
496
|
+
* List issued invoices.
|
|
497
|
+
*
|
|
498
|
+
* 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.
|
|
499
|
+
*
|
|
500
|
+
*/
|
|
501
|
+
static listInvoices<ThrowOnError extends boolean = false>(options?: Options<ListInvoicesData, ThrowOnError>): import("./client").RequestResult<ListInvoicesResponses, ListInvoicesErrors, ThrowOnError, "fields">;
|
|
502
|
+
/**
|
|
503
|
+
* Pay the organization's open invoices.
|
|
504
|
+
*
|
|
505
|
+
* Charges all open invoices of the organization against its default payment method. This endpoint is available to administrators of the organization only.
|
|
506
|
+
*
|
|
507
|
+
*/
|
|
508
|
+
static payOpenInvoices<ThrowOnError extends boolean = false>(options?: Options<PayOpenInvoicesData, ThrowOnError>): import("./client").RequestResult<PayOpenInvoicesResponses, PayOpenInvoicesErrors, ThrowOnError, "fields">;
|
|
509
|
+
/**
|
|
510
|
+
* Get organization contact and billing address information.
|
|
511
|
+
*
|
|
512
|
+
* Returns the organization contact and billing address information. This endpoint is available to all users in the organization.
|
|
513
|
+
*
|
|
514
|
+
*/
|
|
515
|
+
static getContact<ThrowOnError extends boolean = false>(options?: Options<GetContactData, ThrowOnError>): import("./client").RequestResult<GetContactResponses, unknown, ThrowOnError, "fields">;
|
|
516
|
+
/**
|
|
517
|
+
* Update organization contact information and billing address.
|
|
518
|
+
*
|
|
519
|
+
* This endpoint allows you to update organization details with its contact information. This endpoint is available to administrators of the organization only.
|
|
520
|
+
*
|
|
521
|
+
*/
|
|
522
|
+
static updateContact<ThrowOnError extends boolean = false>(options: Options<UpdateContactData, ThrowOnError>): import("./client").RequestResult<UpdateContactResponses, unknown, ThrowOnError, "fields">;
|
|
523
|
+
/**
|
|
524
|
+
* Get applied promotional credits
|
|
525
|
+
*
|
|
526
|
+
* 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.
|
|
527
|
+
*
|
|
528
|
+
*/
|
|
529
|
+
static getCredits<ThrowOnError extends boolean = false>(options?: Options<GetCreditsData, ThrowOnError>): import("./client").RequestResult<GetCreditsResponses, GetCreditsErrors, ThrowOnError, "fields">;
|
|
530
|
+
/**
|
|
531
|
+
* Redeem promotional credits code.
|
|
532
|
+
*
|
|
533
|
+
* 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.
|
|
301
534
|
*
|
|
302
535
|
*/
|
|
303
|
-
static
|
|
536
|
+
static redeemCredits<ThrowOnError extends boolean = false>(options: Options<RedeemCreditsData, ThrowOnError>): import("./client").RequestResult<RedeemCreditsResponses, RedeemCreditsErrors, ThrowOnError, "fields">;
|
|
304
537
|
}
|
|
305
538
|
//# sourceMappingURL=sdk.gen.d.ts.map
|