@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
package/dist/sdk.gen.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type Client, type Options as Options2, type TDataShape } from './client';
|
|
2
|
-
import type { CloseTicketData, CloseTicketResponses,
|
|
2
|
+
import type { CloseTicketData, CloseTicketResponses, CreateClusterData, CreateClusterErrors, CreateClusterResponses, CreateFleetData, CreateFleetErrors, CreateFleetResponses, CreateInviteData, CreateInviteResponses, CreateOrganizationData, CreateOrganizationResponses, CreateTicketData, CreateTicketResponses, CreateTokenData, CreateTokenErrors, CreateTokenResponses, CreateUserData, CreateUserResponses, DeleteClusterData, DeleteClusterErrors, DeleteClusterResponses, DeleteFleetData, DeleteFleetErrors, DeleteFleetResponses, DeleteInviteData, DeleteInviteResponses, DeletePaymentMethodData, DeletePaymentMethodErrors, DeletePaymentMethodResponses, DeleteTagData, DeleteTagErrors, DeleteTagResponses, DeleteTokenData, DeleteTokenResponses, DeleteUserData, DeleteUserErrors, DeleteUserResponses, GetClusterData, GetClusterResponses, GetContactData, GetContactResponses, GetCreditsData, GetCreditsErrors, GetCreditsResponses, GetFleetData, GetFleetResponses, GetInviteData, GetInviteResponses, GetJoinInformationData, GetJoinInformationErrors, GetJoinInformationResponses, GetOrganizationData, GetOrganizationResponses, GetPaymentMethodSecretData, GetPaymentMethodSecretResponses, GetTagData, GetTagErrors, GetTagResponses, GetTicketAttachmentData, GetTicketAttachmentResponses, GetTicketData, GetTicketResponses, GetTokenData, GetTokenErrors, GetTokenResponses, GetUsageData, GetUsageErrors, GetUsageResponses, GetUserData, GetUserErrors, GetUserResponses, GrantTicketSupportAccessData, GrantTicketSupportAccessErrors, GrantTicketSupportAccessResponses, ListClustersData, ListClustersErrors, ListClustersResponses, ListFleetsData, ListFleetsErrors, ListFleetsResponses, ListInvitesData, ListInvitesErrors, ListInvitesResponses, ListInvoicesData, ListInvoicesErrors, ListInvoicesResponses, 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, UpdateClusterData, UpdateClusterErrors, UpdateClusterResponses, UpdateContactData, UpdateContactResponses, UpdateFleetData, UpdateFleetErrors, UpdateFleetResponses, UpdateTokenData, UpdateTokenErrors, UpdateTokenResponses, UpdateUserData, UpdateUserResponses, VoteRoadmapData, VoteRoadmapErrors, VoteRoadmapResponses } from './types.gen';
|
|
3
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
|
|
@@ -13,229 +13,225 @@ 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
|
-
*
|
|
20
|
-
* 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.
|
|
21
|
-
*
|
|
18
|
+
* Get a list of organizations the user belongs to. Used during authentication process.
|
|
22
19
|
*/
|
|
23
|
-
static
|
|
20
|
+
static listUserOrganizations<ThrowOnError extends boolean = false>(options: Options<ListUserOrganizationsData, ThrowOnError>): import("./client").RequestResult<ListUserOrganizationsResponses, unknown, ThrowOnError, "fields">;
|
|
24
21
|
/**
|
|
25
|
-
*
|
|
26
|
-
*
|
|
27
|
-
* 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.
|
|
22
|
+
* List users in organization.
|
|
28
23
|
*
|
|
29
|
-
|
|
30
|
-
static getPaymentMethodSecret<ThrowOnError extends boolean = false>(options?: Options<GetPaymentMethodSecretData, ThrowOnError>): import("./client").RequestResult<GetPaymentMethodSecretResponses, unknown, ThrowOnError, "fields">;
|
|
31
|
-
/**
|
|
32
|
-
* List organization payment methods.
|
|
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.
|
|
33
25
|
*
|
|
34
|
-
*
|
|
26
|
+
* This endpoint is available to all users in the organization.
|
|
35
27
|
*
|
|
36
28
|
*/
|
|
37
|
-
static
|
|
29
|
+
static listUsers<ThrowOnError extends boolean = false>(options?: Options<ListUsersData, ThrowOnError>): import("./client").RequestResult<ListUsersResponses, ListUsersErrors, ThrowOnError, "fields">;
|
|
38
30
|
/**
|
|
39
|
-
*
|
|
31
|
+
* Create a new user.
|
|
40
32
|
*
|
|
41
|
-
*
|
|
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.
|
|
42
34
|
*
|
|
43
35
|
*/
|
|
44
|
-
static
|
|
36
|
+
static createUser<ThrowOnError extends boolean = false>(options: Options<CreateUserData, ThrowOnError>): import("./client").RequestResult<CreateUserResponses, unknown, ThrowOnError, "fields">;
|
|
45
37
|
/**
|
|
46
|
-
* Delete
|
|
38
|
+
* Delete user by id.
|
|
47
39
|
*
|
|
48
|
-
*
|
|
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.
|
|
49
41
|
*
|
|
50
42
|
*/
|
|
51
|
-
static
|
|
43
|
+
static deleteUser<ThrowOnError extends boolean = false>(options: Options<DeleteUserData, ThrowOnError>): import("./client").RequestResult<DeleteUserResponses, DeleteUserErrors, ThrowOnError, "fields">;
|
|
52
44
|
/**
|
|
53
|
-
*
|
|
45
|
+
* Get user profile information by id.
|
|
54
46
|
*
|
|
55
|
-
* Returns
|
|
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.
|
|
56
50
|
*
|
|
57
51
|
*/
|
|
58
|
-
static
|
|
52
|
+
static getUser<ThrowOnError extends boolean = false>(options: Options<GetUserData, ThrowOnError>): import("./client").RequestResult<GetUserResponses, GetUserErrors, ThrowOnError, "fields">;
|
|
59
53
|
/**
|
|
60
|
-
*
|
|
54
|
+
* Update user profile information.
|
|
61
55
|
*
|
|
62
|
-
*
|
|
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.
|
|
63
57
|
*
|
|
64
58
|
*/
|
|
65
|
-
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 {
|
|
66
62
|
/**
|
|
67
|
-
*
|
|
63
|
+
* List access tokens in organization.
|
|
68
64
|
*
|
|
69
|
-
* This endpoint allows you to
|
|
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.
|
|
70
66
|
*
|
|
71
67
|
*/
|
|
72
|
-
static
|
|
68
|
+
static listTokens<ThrowOnError extends boolean = false>(options?: Options<ListTokensData, ThrowOnError>): import("./client").RequestResult<ListTokensResponses, ListTokensErrors, ThrowOnError, "fields">;
|
|
73
69
|
/**
|
|
74
|
-
*
|
|
70
|
+
* Create a new access token.
|
|
75
71
|
*
|
|
76
|
-
*
|
|
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.
|
|
77
75
|
*
|
|
78
76
|
*/
|
|
79
|
-
static
|
|
77
|
+
static createToken<ThrowOnError extends boolean = false>(options: Options<CreateTokenData, ThrowOnError>): import("./client").RequestResult<CreateTokenResponses, CreateTokenErrors, ThrowOnError, "fields">;
|
|
80
78
|
/**
|
|
81
|
-
*
|
|
79
|
+
* Permanently delete access token.
|
|
82
80
|
*
|
|
83
|
-
*
|
|
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.
|
|
84
82
|
*
|
|
85
83
|
*/
|
|
86
|
-
static
|
|
87
|
-
}
|
|
88
|
-
export declare class ClustersService {
|
|
84
|
+
static deleteToken<ThrowOnError extends boolean = false>(options: Options<DeleteTokenData, ThrowOnError>): import("./client").RequestResult<DeleteTokenResponses, unknown, ThrowOnError, "fields">;
|
|
89
85
|
/**
|
|
90
|
-
*
|
|
91
|
-
*
|
|
92
|
-
* Returns a list of charts in the cluster.
|
|
86
|
+
* Get access token information.
|
|
93
87
|
*
|
|
94
|
-
* 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.
|
|
95
89
|
*
|
|
96
90
|
*/
|
|
97
|
-
static
|
|
91
|
+
static getToken<ThrowOnError extends boolean = false>(options: Options<GetTokenData, ThrowOnError>): import("./client").RequestResult<GetTokenResponses, GetTokenErrors, ThrowOnError, "fields">;
|
|
98
92
|
/**
|
|
99
|
-
*
|
|
93
|
+
* Update access token information.
|
|
100
94
|
*
|
|
101
|
-
*
|
|
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.
|
|
102
96
|
*
|
|
103
97
|
* This endpoint is available to administrators of the organization only.
|
|
104
98
|
*
|
|
105
99
|
*/
|
|
106
|
-
static
|
|
100
|
+
static updateToken<ThrowOnError extends boolean = false>(options: Options<UpdateTokenData, ThrowOnError>): import("./client").RequestResult<UpdateTokenResponses, UpdateTokenErrors, ThrowOnError, "fields">;
|
|
107
101
|
/**
|
|
108
|
-
*
|
|
109
|
-
*
|
|
110
|
-
* This endpoint will permanently delete chart. This operation cannot be undone.
|
|
111
|
-
*
|
|
112
|
-
* This endpoint is available to administrators of the organization only.
|
|
102
|
+
* Regenerate access token secret key.
|
|
113
103
|
*
|
|
104
|
+
* Generates a new access token secret. Old secret will not be valid anymore.
|
|
114
105
|
*/
|
|
115
|
-
static
|
|
106
|
+
static regenerateToken<ThrowOnError extends boolean = false>(options: Options<RegenerateTokenData, ThrowOnError>): import("./client").RequestResult<RegenerateTokenResponses, RegenerateTokenErrors, ThrowOnError, "fields">;
|
|
107
|
+
}
|
|
108
|
+
export declare class TicketsService {
|
|
116
109
|
/**
|
|
117
|
-
*
|
|
118
|
-
*
|
|
119
|
-
* Returns the details of the chart deployment.
|
|
110
|
+
* List tickets for the current organization.
|
|
120
111
|
*
|
|
121
|
-
*
|
|
112
|
+
* Returns all tickets belonging to the caller's organization, newest first.
|
|
122
113
|
*
|
|
123
114
|
*/
|
|
124
|
-
static
|
|
115
|
+
static listTickets<ThrowOnError extends boolean = false>(options?: Options<ListTicketsData, ThrowOnError>): import("./client").RequestResult<ListTicketsResponses, unknown, ThrowOnError, "fields">;
|
|
125
116
|
/**
|
|
126
|
-
*
|
|
127
|
-
*
|
|
128
|
-
* This endpoint allows you to update the values of a chart deployment.
|
|
117
|
+
* Create a new support ticket.
|
|
129
118
|
*
|
|
130
|
-
*
|
|
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).
|
|
131
120
|
*
|
|
132
121
|
*/
|
|
133
|
-
static
|
|
122
|
+
static createTicket<ThrowOnError extends boolean = false>(options: Options<CreateTicketData, ThrowOnError>): import("./client").RequestResult<CreateTicketResponses, unknown, ThrowOnError, "fields">;
|
|
134
123
|
/**
|
|
135
|
-
*
|
|
136
|
-
*
|
|
137
|
-
* Returns a list of fleets belonging to the cluster. For more information, see [Fleets](https://cloudfleet.ai/docs/cloud-infrastructure/fleets/) section of documentaiton.
|
|
124
|
+
* Close a ticket (soft close).
|
|
138
125
|
*
|
|
139
|
-
*
|
|
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.
|
|
140
127
|
*
|
|
141
128
|
*/
|
|
142
|
-
static
|
|
129
|
+
static closeTicket<ThrowOnError extends boolean = false>(options: Options<CloseTicketData, ThrowOnError>): import("./client").RequestResult<CloseTicketResponses, unknown, ThrowOnError, "fields">;
|
|
143
130
|
/**
|
|
144
|
-
*
|
|
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.
|
|
145
136
|
*
|
|
146
|
-
*
|
|
147
|
-
*
|
|
148
|
-
* This endpoint is available to administrators of the organization only.
|
|
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.
|
|
149
138
|
*
|
|
150
139
|
*/
|
|
151
|
-
static
|
|
140
|
+
static grantTicketSupportAccess<ThrowOnError extends boolean = false>(options: Options<GrantTicketSupportAccessData, ThrowOnError>): import("./client").RequestResult<GrantTicketSupportAccessResponses, GrantTicketSupportAccessErrors, ThrowOnError, "fields">;
|
|
152
141
|
/**
|
|
153
|
-
*
|
|
154
|
-
*
|
|
155
|
-
* 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.
|
|
142
|
+
* Append a customer reply to a ticket.
|
|
156
143
|
*
|
|
157
|
-
*
|
|
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.
|
|
158
145
|
*
|
|
159
146
|
*/
|
|
160
|
-
static
|
|
147
|
+
static replyTicket<ThrowOnError extends boolean = false>(options: Options<ReplyTicketData, ThrowOnError>): import("./client").RequestResult<ReplyTicketResponses, ReplyTicketErrors, ThrowOnError, "fields">;
|
|
161
148
|
/**
|
|
162
|
-
*
|
|
163
|
-
|
|
164
|
-
|
|
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.
|
|
165
156
|
*
|
|
166
|
-
*
|
|
157
|
+
* Returns the published roadmap items, newest first, each with your own vote. Votes of other users are not returned.
|
|
167
158
|
*
|
|
168
159
|
*/
|
|
169
|
-
static
|
|
160
|
+
static listRoadmap<ThrowOnError extends boolean = false>(options?: Options<ListRoadmapData, ThrowOnError>): import("./client").RequestResult<ListRoadmapResponses, unknown, ThrowOnError, "fields">;
|
|
170
161
|
/**
|
|
171
|
-
*
|
|
162
|
+
* Suggest a new roadmap item.
|
|
172
163
|
*
|
|
173
|
-
*
|
|
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.
|
|
174
165
|
*
|
|
175
|
-
|
|
166
|
+
*/
|
|
167
|
+
static suggestRoadmap<ThrowOnError extends boolean = false>(options: Options<SuggestRoadmapData, ThrowOnError>): import("./client").RequestResult<SuggestRoadmapResponses, unknown, ThrowOnError, "fields">;
|
|
168
|
+
/**
|
|
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.
|
|
176
174
|
*
|
|
177
|
-
*
|
|
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.
|
|
178
176
|
*
|
|
179
177
|
*/
|
|
180
|
-
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 {
|
|
181
181
|
/**
|
|
182
|
-
*
|
|
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.
|
|
183
185
|
*
|
|
184
|
-
* 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.
|
|
185
186
|
*/
|
|
186
|
-
static
|
|
187
|
+
static listRepositories<ThrowOnError extends boolean = false>(options?: Options<ListRepositoriesData, ThrowOnError>): import("./client").RequestResult<ListRepositoriesResponses, ListRepositoriesErrors, ThrowOnError, "fields">;
|
|
187
188
|
/**
|
|
188
|
-
* List
|
|
189
|
-
*
|
|
190
|
-
* Returns a list of clusters under the current organization.
|
|
189
|
+
* List tags for a repository
|
|
191
190
|
*
|
|
192
|
-
* This endpoint is available to all users in the organization.
|
|
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.
|
|
193
192
|
*
|
|
194
193
|
*/
|
|
195
|
-
static
|
|
194
|
+
static listTags<ThrowOnError extends boolean = false>(options: Options<ListTagsData, ThrowOnError>): import("./client").RequestResult<ListTagsResponses, ListTagsErrors, ThrowOnError, "fields">;
|
|
196
195
|
/**
|
|
197
|
-
*
|
|
198
|
-
*
|
|
199
|
-
* 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.
|
|
196
|
+
* Delete tag
|
|
200
197
|
*
|
|
201
|
-
* This endpoint is available to administrators of the organization only.
|
|
198
|
+
* Permanently deletes a specific tag from a repository. This endpoint is available to administrators of the organization only.
|
|
202
199
|
*
|
|
203
200
|
*/
|
|
204
|
-
static
|
|
201
|
+
static deleteTag<ThrowOnError extends boolean = false>(options: Options<DeleteTagData, ThrowOnError>): import("./client").RequestResult<DeleteTagResponses, DeleteTagErrors, ThrowOnError, "fields">;
|
|
205
202
|
/**
|
|
206
|
-
*
|
|
207
|
-
*
|
|
208
|
-
* This endpoint will permanently delete the cluster. This operation cannot be undone.
|
|
203
|
+
* Get tag details
|
|
209
204
|
*
|
|
210
|
-
* This endpoint is available to
|
|
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.
|
|
211
206
|
*
|
|
212
207
|
*/
|
|
213
|
-
static
|
|
208
|
+
static getTag<ThrowOnError extends boolean = false>(options: Options<GetTagData, ThrowOnError>): import("./client").RequestResult<GetTagResponses, GetTagErrors, ThrowOnError, "fields">;
|
|
209
|
+
}
|
|
210
|
+
export declare class OrganizationService {
|
|
214
211
|
/**
|
|
215
|
-
* Get
|
|
212
|
+
* Get organization information.
|
|
216
213
|
*
|
|
217
|
-
* Returns
|
|
214
|
+
* Returns organization details including quota. For more information about quotas, see [Quotas and limits](https://cloudfleet.ai/docs/organization/quotas/) section of documentaiton.
|
|
218
215
|
*
|
|
219
216
|
* This endpoint is available to all users in the organization.
|
|
220
217
|
*
|
|
221
218
|
*/
|
|
222
|
-
static
|
|
219
|
+
static getOrganization<ThrowOnError extends boolean = false>(options?: Options<GetOrganizationData, ThrowOnError>): import("./client").RequestResult<GetOrganizationResponses, unknown, ThrowOnError, "fields">;
|
|
223
220
|
/**
|
|
224
|
-
*
|
|
225
|
-
*
|
|
226
|
-
* 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.
|
|
221
|
+
* Create a new organization / Cloudfleet account signup.
|
|
227
222
|
*
|
|
228
|
-
* This endpoint
|
|
223
|
+
* This endpoint allows you to create a new Cloudfleet organization and an administrator user.
|
|
229
224
|
*
|
|
230
225
|
*/
|
|
231
|
-
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 {
|
|
232
229
|
/**
|
|
233
|
-
*
|
|
234
|
-
*
|
|
235
|
-
* 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.
|
|
230
|
+
* MCP endpoint
|
|
236
231
|
*
|
|
232
|
+
* MCP endpoint for handling Model Context Protocol JSON-RPC 2.0 messages.
|
|
237
233
|
*/
|
|
238
|
-
static
|
|
234
|
+
static postMcp<ThrowOnError extends boolean = false>(options: Options<PostMcpData, ThrowOnError>): import("./client").RequestResult<PostMcpResponses, PostMcpErrors, ThrowOnError, "fields">;
|
|
239
235
|
}
|
|
240
236
|
export declare class InvitesService {
|
|
241
237
|
/**
|
|
@@ -267,212 +263,209 @@ export declare class InvitesService {
|
|
|
267
263
|
*/
|
|
268
264
|
static deleteInvite<ThrowOnError extends boolean = false>(options: Options<DeleteInviteData, ThrowOnError>): import("./client").RequestResult<DeleteInviteResponses, unknown, ThrowOnError, "fields">;
|
|
269
265
|
}
|
|
270
|
-
export declare class
|
|
266
|
+
export declare class FeedbackService {
|
|
271
267
|
/**
|
|
272
|
-
*
|
|
273
|
-
*
|
|
274
|
-
* Returns a list of available charts in the marketplace.
|
|
268
|
+
* Send feedback to the Cloudfleet team
|
|
275
269
|
*
|
|
276
|
-
*
|
|
270
|
+
* 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.
|
|
277
271
|
*
|
|
278
272
|
*/
|
|
279
|
-
static
|
|
273
|
+
static sendFeedback<ThrowOnError extends boolean = false>(options: Options<SendFeedbackData, ThrowOnError>): import("./client").RequestResult<SendFeedbackResponses, SendFeedbackErrors, ThrowOnError, "fields">;
|
|
274
|
+
}
|
|
275
|
+
export declare class ClustersService {
|
|
280
276
|
/**
|
|
281
|
-
*
|
|
277
|
+
* Query Kubernetes cluster API
|
|
282
278
|
*
|
|
283
|
-
*
|
|
279
|
+
* 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.
|
|
280
|
+
*/
|
|
281
|
+
static queryCluster<ThrowOnError extends boolean = false>(options: Options<QueryClusterData, ThrowOnError>): import("./client").RequestResult<QueryClusterResponses, QueryClusterErrors, ThrowOnError, "fields">;
|
|
282
|
+
/**
|
|
283
|
+
* List fleets.
|
|
284
284
|
*
|
|
285
|
-
*
|
|
285
|
+
* Returns a list of fleets belonging to the cluster. For more information, see [Fleets](https://cloudfleet.ai/docs/cloud-infrastructure/fleets/) section of documentaiton.
|
|
286
286
|
*
|
|
287
287
|
* This endpoint is available to all users in the organization.
|
|
288
288
|
*
|
|
289
289
|
*/
|
|
290
|
-
static
|
|
291
|
-
}
|
|
292
|
-
export declare class McpService {
|
|
290
|
+
static listFleets<ThrowOnError extends boolean = false>(options: Options<ListFleetsData, ThrowOnError>): import("./client").RequestResult<ListFleetsResponses, ListFleetsErrors, ThrowOnError, "fields">;
|
|
293
291
|
/**
|
|
294
|
-
*
|
|
292
|
+
* Create a new fleet.
|
|
295
293
|
*
|
|
296
|
-
*
|
|
297
|
-
*/
|
|
298
|
-
static postMcp<ThrowOnError extends boolean = false>(options: Options<PostMcpData, ThrowOnError>): import("./client").RequestResult<PostMcpResponses, PostMcpErrors, ThrowOnError, "fields">;
|
|
299
|
-
}
|
|
300
|
-
export declare class OrganizationService {
|
|
301
|
-
/**
|
|
302
|
-
* Get organization information.
|
|
294
|
+
* 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.
|
|
303
295
|
*
|
|
304
|
-
*
|
|
296
|
+
* The cluster must be ready (status `deployed`) before a fleet can be added. Adding a fleet while the cluster is still provisioning returns `409`.
|
|
305
297
|
*
|
|
306
|
-
* This endpoint is available to
|
|
298
|
+
* This endpoint is available to administrators of the organization only.
|
|
307
299
|
*
|
|
308
300
|
*/
|
|
309
|
-
static
|
|
301
|
+
static createFleet<ThrowOnError extends boolean = false>(options: Options<CreateFleetData, ThrowOnError>): import("./client").RequestResult<CreateFleetResponses, CreateFleetErrors, ThrowOnError, "fields">;
|
|
310
302
|
/**
|
|
311
|
-
*
|
|
303
|
+
* Permanently delete fleet.
|
|
312
304
|
*
|
|
313
|
-
* This endpoint
|
|
305
|
+
* 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.
|
|
314
306
|
*
|
|
315
|
-
|
|
316
|
-
static createOrganization<ThrowOnError extends boolean = false>(options: Options<CreateOrganizationData, ThrowOnError>): import("./client").RequestResult<CreateOrganizationResponses, unknown, ThrowOnError, "fields">;
|
|
317
|
-
}
|
|
318
|
-
export declare class RegistryService {
|
|
319
|
-
/**
|
|
320
|
-
* List repositories
|
|
307
|
+
* 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.
|
|
321
308
|
*
|
|
322
|
-
*
|
|
309
|
+
* This endpoint is available to administrators of the organization only.
|
|
323
310
|
*
|
|
324
311
|
*/
|
|
325
|
-
static
|
|
312
|
+
static deleteFleet<ThrowOnError extends boolean = false>(options: Options<DeleteFleetData, ThrowOnError>): import("./client").RequestResult<DeleteFleetResponses, DeleteFleetErrors, ThrowOnError, "fields">;
|
|
326
313
|
/**
|
|
327
|
-
*
|
|
314
|
+
* Get fleet information.
|
|
328
315
|
*
|
|
329
|
-
* Returns
|
|
316
|
+
* Returns fleet details. For more information, see [Fleets](https://cloudfleet.ai/docs/cloud-infrastructure/fleets/) section of documentaiton.
|
|
317
|
+
*
|
|
318
|
+
* This endpoint is available to all users in the organization.
|
|
330
319
|
*
|
|
331
320
|
*/
|
|
332
|
-
static
|
|
321
|
+
static getFleet<ThrowOnError extends boolean = false>(options: Options<GetFleetData, ThrowOnError>): import("./client").RequestResult<GetFleetResponses, unknown, ThrowOnError, "fields">;
|
|
333
322
|
/**
|
|
334
|
-
*
|
|
323
|
+
* Update fleet information.
|
|
335
324
|
*
|
|
336
|
-
*
|
|
325
|
+
* This endpoint allows you to update fleet details.
|
|
337
326
|
*
|
|
338
|
-
|
|
339
|
-
static deleteTag<ThrowOnError extends boolean = false>(options: Options<DeleteTagData, ThrowOnError>): import("./client").RequestResult<DeleteTagResponses, DeleteTagErrors, ThrowOnError, "fields">;
|
|
340
|
-
/**
|
|
341
|
-
* Get tag details
|
|
327
|
+
* For more information, see [Fleets](https://cloudfleet.ai/docs/cloud-infrastructure/fleets/) section of documentaiton.
|
|
342
328
|
*
|
|
343
|
-
*
|
|
329
|
+
* 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).
|
|
330
|
+
*
|
|
331
|
+
* This endpoint is available to administrators of the organization only.
|
|
344
332
|
*
|
|
345
333
|
*/
|
|
346
|
-
static
|
|
347
|
-
}
|
|
348
|
-
export declare class TicketsService {
|
|
334
|
+
static updateFleet<ThrowOnError extends boolean = false>(options: Options<UpdateFleetData, ThrowOnError>): import("./client").RequestResult<UpdateFleetResponses, UpdateFleetErrors, ThrowOnError, "fields">;
|
|
349
335
|
/**
|
|
350
|
-
* List
|
|
336
|
+
* List clusters.
|
|
351
337
|
*
|
|
352
|
-
* Returns
|
|
338
|
+
* Returns a list of clusters under the current organization.
|
|
339
|
+
*
|
|
340
|
+
* This endpoint is available to all users in the organization.
|
|
353
341
|
*
|
|
354
342
|
*/
|
|
355
|
-
static
|
|
343
|
+
static listClusters<ThrowOnError extends boolean = false>(options?: Options<ListClustersData, ThrowOnError>): import("./client").RequestResult<ListClustersResponses, ListClustersErrors, ThrowOnError, "fields">;
|
|
356
344
|
/**
|
|
357
|
-
* Create a new
|
|
345
|
+
* Create a new cluster.
|
|
346
|
+
*
|
|
347
|
+
* 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.
|
|
358
348
|
*
|
|
359
|
-
*
|
|
349
|
+
* This endpoint is available to administrators of the organization only.
|
|
360
350
|
*
|
|
361
351
|
*/
|
|
362
|
-
static
|
|
352
|
+
static createCluster<ThrowOnError extends boolean = false>(options: Options<CreateClusterData, ThrowOnError>): import("./client").RequestResult<CreateClusterResponses, CreateClusterErrors, ThrowOnError, "fields">;
|
|
363
353
|
/**
|
|
364
|
-
*
|
|
354
|
+
* Permanently delete cluster.
|
|
365
355
|
*
|
|
366
|
-
*
|
|
356
|
+
* This endpoint will permanently delete the cluster. This operation cannot be undone.
|
|
357
|
+
*
|
|
358
|
+
* 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.
|
|
359
|
+
*
|
|
360
|
+
* This endpoint is available to administrators of the organization only.
|
|
367
361
|
*
|
|
368
362
|
*/
|
|
369
|
-
static
|
|
363
|
+
static deleteCluster<ThrowOnError extends boolean = false>(options: Options<DeleteClusterData, ThrowOnError>): import("./client").RequestResult<DeleteClusterResponses, DeleteClusterErrors, ThrowOnError, "fields">;
|
|
370
364
|
/**
|
|
371
|
-
* Get
|
|
365
|
+
* Get cluster information.
|
|
366
|
+
*
|
|
367
|
+
* Returns cluster details.
|
|
368
|
+
*
|
|
369
|
+
* This endpoint is available to all users in the organization.
|
|
370
|
+
*
|
|
372
371
|
*/
|
|
373
|
-
static
|
|
372
|
+
static getCluster<ThrowOnError extends boolean = false>(options: Options<GetClusterData, ThrowOnError>): import("./client").RequestResult<GetClusterResponses, unknown, ThrowOnError, "fields">;
|
|
374
373
|
/**
|
|
375
|
-
*
|
|
374
|
+
* Update cluster information.
|
|
376
375
|
*
|
|
377
|
-
*
|
|
376
|
+
* 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.
|
|
377
|
+
*
|
|
378
|
+
* This is a full overwrite: any field omitted from the request is reset to its default rather than left unchanged.
|
|
379
|
+
*
|
|
380
|
+
* This endpoint is available to administrators of the organization only.
|
|
378
381
|
*
|
|
379
382
|
*/
|
|
380
|
-
static
|
|
383
|
+
static updateCluster<ThrowOnError extends boolean = false>(options: Options<UpdateClusterData, ThrowOnError>): import("./client").RequestResult<UpdateClusterResponses, UpdateClusterErrors, ThrowOnError, "fields">;
|
|
381
384
|
/**
|
|
382
|
-
*
|
|
385
|
+
* Node join information for the cluster
|
|
386
|
+
*
|
|
387
|
+
* 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.
|
|
388
|
+
*
|
|
383
389
|
*/
|
|
384
|
-
static
|
|
390
|
+
static getJoinInformation<ThrowOnError extends boolean = false>(options: Options<GetJoinInformationData, ThrowOnError>): import("./client").RequestResult<GetJoinInformationResponses, GetJoinInformationErrors, ThrowOnError, "fields">;
|
|
385
391
|
}
|
|
386
|
-
export declare class
|
|
392
|
+
export declare class BillingService {
|
|
387
393
|
/**
|
|
388
|
-
*
|
|
394
|
+
* Get billing usage information.
|
|
389
395
|
*
|
|
390
|
-
*
|
|
396
|
+
* 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.
|
|
391
397
|
*
|
|
392
398
|
*/
|
|
393
|
-
static
|
|
399
|
+
static getUsage<ThrowOnError extends boolean = false>(options?: Options<GetUsageData, ThrowOnError>): import("./client").RequestResult<GetUsageResponses, GetUsageErrors, ThrowOnError, "fields">;
|
|
394
400
|
/**
|
|
395
|
-
*
|
|
396
|
-
*
|
|
397
|
-
* 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.
|
|
401
|
+
* Get Stripe client secret.
|
|
398
402
|
*
|
|
399
|
-
* This endpoint is available to administrators of the organization only.
|
|
403
|
+
* 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.
|
|
400
404
|
*
|
|
401
405
|
*/
|
|
402
|
-
static
|
|
406
|
+
static getPaymentMethodSecret<ThrowOnError extends boolean = false>(options?: Options<GetPaymentMethodSecretData, ThrowOnError>): import("./client").RequestResult<GetPaymentMethodSecretResponses, unknown, ThrowOnError, "fields">;
|
|
403
407
|
/**
|
|
404
|
-
*
|
|
408
|
+
* List organization payment methods.
|
|
405
409
|
*
|
|
406
|
-
*
|
|
410
|
+
* 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.
|
|
407
411
|
*
|
|
408
412
|
*/
|
|
409
|
-
static
|
|
413
|
+
static listPaymentMethods<ThrowOnError extends boolean = false>(options?: Options<ListPaymentMethodsData, ThrowOnError>): import("./client").RequestResult<ListPaymentMethodsResponses, ListPaymentMethodsErrors, ThrowOnError, "fields">;
|
|
410
414
|
/**
|
|
411
|
-
*
|
|
415
|
+
* Set the default payment method.
|
|
412
416
|
*
|
|
413
|
-
*
|
|
417
|
+
* Sets the given payment method as the default used for invoices and active subscriptions. Requires the Administrator role.
|
|
414
418
|
*
|
|
415
419
|
*/
|
|
416
|
-
static
|
|
420
|
+
static setDefaultPaymentMethod<ThrowOnError extends boolean = false>(options: Options<SetDefaultPaymentMethodData, ThrowOnError>): import("./client").RequestResult<SetDefaultPaymentMethodResponses, SetDefaultPaymentMethodErrors, ThrowOnError, "fields">;
|
|
417
421
|
/**
|
|
418
|
-
*
|
|
419
|
-
*
|
|
420
|
-
* 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.
|
|
422
|
+
* Delete a payment method.
|
|
421
423
|
*
|
|
422
|
-
*
|
|
424
|
+
* 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.
|
|
423
425
|
*
|
|
424
426
|
*/
|
|
425
|
-
static
|
|
427
|
+
static deletePaymentMethod<ThrowOnError extends boolean = false>(options: Options<DeletePaymentMethodData, ThrowOnError>): import("./client").RequestResult<DeletePaymentMethodResponses, DeletePaymentMethodErrors, ThrowOnError, "fields">;
|
|
426
428
|
/**
|
|
427
|
-
*
|
|
429
|
+
* List issued invoices.
|
|
430
|
+
*
|
|
431
|
+
* 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.
|
|
428
432
|
*
|
|
429
|
-
* Generates a new access token secret. Old secret will not be valid anymore.
|
|
430
|
-
*/
|
|
431
|
-
static regenerateToken<ThrowOnError extends boolean = false>(options: Options<RegenerateTokenData, ThrowOnError>): import("./client").RequestResult<RegenerateTokenResponses, RegenerateTokenErrors, ThrowOnError, "fields">;
|
|
432
|
-
}
|
|
433
|
-
export declare class UsersService {
|
|
434
|
-
/**
|
|
435
|
-
* Get a list of organizations the user belongs to. Used during authentication process.
|
|
436
433
|
*/
|
|
437
|
-
static
|
|
434
|
+
static listInvoices<ThrowOnError extends boolean = false>(options?: Options<ListInvoicesData, ThrowOnError>): import("./client").RequestResult<ListInvoicesResponses, ListInvoicesErrors, ThrowOnError, "fields">;
|
|
438
435
|
/**
|
|
439
|
-
*
|
|
436
|
+
* Pay the organization's open invoices.
|
|
440
437
|
*
|
|
441
|
-
*
|
|
442
|
-
*
|
|
443
|
-
* This endpoint is available to all users in the organization.
|
|
438
|
+
* Charges all open invoices of the organization against its default payment method. This endpoint is available to administrators of the organization only.
|
|
444
439
|
*
|
|
445
440
|
*/
|
|
446
|
-
static
|
|
441
|
+
static payOpenInvoices<ThrowOnError extends boolean = false>(options?: Options<PayOpenInvoicesData, ThrowOnError>): import("./client").RequestResult<PayOpenInvoicesResponses, PayOpenInvoicesErrors, ThrowOnError, "fields">;
|
|
447
442
|
/**
|
|
448
|
-
*
|
|
443
|
+
* Get organization contact and billing address information.
|
|
449
444
|
*
|
|
450
|
-
*
|
|
445
|
+
* Returns the organization contact and billing address information. This endpoint is available to all users in the organization.
|
|
451
446
|
*
|
|
452
447
|
*/
|
|
453
|
-
static
|
|
448
|
+
static getContact<ThrowOnError extends boolean = false>(options?: Options<GetContactData, ThrowOnError>): import("./client").RequestResult<GetContactResponses, unknown, ThrowOnError, "fields">;
|
|
454
449
|
/**
|
|
455
|
-
*
|
|
450
|
+
* Update organization contact information and billing address.
|
|
456
451
|
*
|
|
457
|
-
*
|
|
452
|
+
* This endpoint allows you to update organization details with its contact information. This endpoint is available to administrators of the organization only.
|
|
458
453
|
*
|
|
459
454
|
*/
|
|
460
|
-
static
|
|
455
|
+
static updateContact<ThrowOnError extends boolean = false>(options: Options<UpdateContactData, ThrowOnError>): import("./client").RequestResult<UpdateContactResponses, unknown, ThrowOnError, "fields">;
|
|
461
456
|
/**
|
|
462
|
-
* Get
|
|
463
|
-
*
|
|
464
|
-
* Returns user details including their roles. For more information on identity access management, see [Users](https://cloudfleet.ai/docs/organization/users/) section of documentaiton.
|
|
457
|
+
* Get applied promotional credits
|
|
465
458
|
*
|
|
466
|
-
* This endpoint is available to all users in the organization.
|
|
459
|
+
* 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.
|
|
467
460
|
*
|
|
468
461
|
*/
|
|
469
|
-
static
|
|
462
|
+
static getCredits<ThrowOnError extends boolean = false>(options?: Options<GetCreditsData, ThrowOnError>): import("./client").RequestResult<GetCreditsResponses, GetCreditsErrors, ThrowOnError, "fields">;
|
|
470
463
|
/**
|
|
471
|
-
*
|
|
464
|
+
* Redeem promotional credits code.
|
|
472
465
|
*
|
|
473
|
-
*
|
|
466
|
+
* 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.
|
|
474
467
|
*
|
|
475
468
|
*/
|
|
476
|
-
static
|
|
469
|
+
static redeemCredits<ThrowOnError extends boolean = false>(options: Options<RedeemCreditsData, ThrowOnError>): import("./client").RequestResult<RedeemCreditsResponses, RedeemCreditsErrors, ThrowOnError, "fields">;
|
|
477
470
|
}
|
|
478
471
|
//# sourceMappingURL=sdk.gen.d.ts.map
|