@cloudfleet/sdk 0.0.1-e9ffb68 → 0.0.1-ea4847c
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 +1149 -0
- package/dist/@tanstack/react-query.gen.d.ts.map +1 -0
- package/dist/@tanstack/react-query.gen.js +1165 -0
- package/dist/@tanstack/react-query.gen.js.map +1 -0
- package/dist/client/client.gen.d.ts.map +1 -1
- package/dist/client/client.gen.js +104 -123
- package/dist/client/client.gen.js.map +1 -1
- package/dist/client/types.gen.d.ts +6 -3
- package/dist/client/types.gen.d.ts.map +1 -1
- package/dist/client/utils.gen.d.ts +7 -3
- 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/core/serverSentEvents.gen.d.ts +1 -1
- package/dist/core/serverSentEvents.gen.d.ts.map +1 -1
- package/dist/core/serverSentEvents.gen.js +3 -4
- package/dist/core/serverSentEvents.gen.js.map +1 -1
- package/dist/schemas.gen.d.ts +993 -107
- package/dist/schemas.gen.d.ts.map +1 -1
- package/dist/schemas.gen.js +1905 -174
- package/dist/schemas.gen.js.map +1 -1
- package/dist/sdk.gen.d.ts +240 -197
- package/dist/sdk.gen.d.ts.map +1 -1
- package/dist/sdk.gen.js +348 -274
- package/dist/sdk.gen.js.map +1 -1
- package/dist/services/kubernetes/api.d.ts +8 -8
- package/dist/types.gen.d.ts +1493 -756
- package/dist/types.gen.d.ts.map +1 -1
- package/dist/zod.gen.d.ts +3339 -1205
- package/dist/zod.gen.d.ts.map +1 -1
- package/dist/zod.gen.js +1239 -292
- package/dist/zod.gen.js.map +1 -1
- package/package.json +27 -11
package/dist/sdk.gen.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type
|
|
2
|
-
import type { CreateChartData, CreateChartResponses, CreateClusterData, CreateClusterErrors, CreateClusterResponses, CreateFleetData, CreateFleetErrors, CreateFleetResponses, CreateInviteData, CreateInviteResponses, CreateOrganizationData, CreateOrganizationResponses, CreateTokenData, CreateTokenErrors, CreateTokenResponses, CreateUserData, CreateUserResponses, DeleteChartData, DeleteChartResponses, DeleteClusterData, DeleteClusterResponses, DeleteFleetData, DeleteFleetResponses, DeleteInviteData, DeleteInviteResponses, DeleteTagData, DeleteTagErrors, DeleteTagResponses, DeleteTokenData, DeleteTokenResponses, DeleteUserData, DeleteUserErrors, DeleteUserResponses, GetChartData, GetChartResponses,
|
|
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, ListChartsData, ListChartsErrors, ListChartsResponses, ListClustersData, ListClustersErrors, ListClustersResponses, ListFleetsData, ListFleetsErrors, ListFleetsResponses, ListInvitesData, ListInvitesErrors, ListInvitesResponses, ListInvoicesData, ListInvoicesErrors, ListInvoicesResponses, ListMarketplaceChartsData, ListMarketplaceChartsErrors, ListMarketplaceChartsResponses, ListPaymentMethodsData, ListPaymentMethodsErrors, ListPaymentMethodsResponses, ListRepositoriesData, ListRepositoriesErrors, ListRepositoriesResponses, ListTagsData, ListTagsErrors, ListTagsResponses, ListTicketsData, ListTicketsResponses, ListTokensData, ListTokensErrors, ListTokensResponses, ListUserOrganizationsData, ListUserOrganizationsResponses, ListUsersData, ListUsersErrors, ListUsersResponses, PostMcpData, PostMcpErrors, PostMcpResponses, QueryClusterData, QueryClusterErrors, QueryClusterResponses, RedeemCreditsData, RedeemCreditsErrors, RedeemCreditsResponses, RegenerateTokenData, RegenerateTokenErrors, RegenerateTokenResponses, ReplyTicketData, ReplyTicketErrors, ReplyTicketResponses, SetDefaultPaymentMethodData, SetDefaultPaymentMethodErrors, SetDefaultPaymentMethodResponses, UpdateChartData, UpdateChartErrors, UpdateChartResponses, UpdateClusterData, UpdateClusterErrors, UpdateClusterResponses, UpdateContactData, UpdateContactResponses, UpdateFleetData, UpdateFleetErrors, UpdateFleetResponses, UpdateTokenData, UpdateTokenErrors, UpdateTokenResponses, UpdateUserData, UpdateUserResponses } 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,230 +13,219 @@ 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
|
-
* Returns the information about the payment card associated with the organization with sensitive information redacted. Payment details can be updated in the Cloudfleet console only, please visit https://console.cloudfleet.ai. This endpoint is available to all users in the organization.
|
|
22
|
+
* List users in organization.
|
|
28
23
|
*
|
|
29
|
-
|
|
30
|
-
static getPaymentMethod<ThrowOnError extends boolean = false>(options?: Options<GetPaymentMethodData, ThrowOnError>): import("./client").RequestResult<GetPaymentMethodResponses, GetPaymentMethodErrors, ThrowOnError, "fields">;
|
|
31
|
-
/**
|
|
32
|
-
* Get Stripe client secret.
|
|
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
|
-
*
|
|
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
|
-
*
|
|
54
|
-
*
|
|
55
|
-
* This endpoint allows you to update organization details with its contact information. This endpoint is available to administrators of the organization only.
|
|
45
|
+
* Get user profile information by id.
|
|
56
46
|
*
|
|
57
|
-
|
|
58
|
-
static updateContact<ThrowOnError extends boolean = false>(options: Options<UpdateContactData, ThrowOnError>): import("./client").RequestResult<UpdateContactResponses, unknown, ThrowOnError, "fields">;
|
|
59
|
-
/**
|
|
60
|
-
* Get applied promotional credits
|
|
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.
|
|
61
48
|
*
|
|
62
|
-
*
|
|
49
|
+
* This endpoint is available to all users in the organization.
|
|
63
50
|
*
|
|
64
51
|
*/
|
|
65
|
-
static
|
|
52
|
+
static getUser<ThrowOnError extends boolean = false>(options: Options<GetUserData, ThrowOnError>): import("./client").RequestResult<GetUserResponses, GetUserErrors, ThrowOnError, "fields">;
|
|
66
53
|
/**
|
|
67
|
-
*
|
|
54
|
+
* Update user profile information.
|
|
68
55
|
*
|
|
69
|
-
*
|
|
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.
|
|
70
57
|
*
|
|
71
58
|
*/
|
|
72
|
-
static
|
|
59
|
+
static updateUser<ThrowOnError extends boolean = false>(options: Options<UpdateUserData, ThrowOnError>): import("./client").RequestResult<UpdateUserResponses, unknown, ThrowOnError, "fields">;
|
|
73
60
|
}
|
|
74
|
-
export declare class
|
|
61
|
+
export declare class TokensService {
|
|
75
62
|
/**
|
|
76
|
-
* List
|
|
77
|
-
*
|
|
78
|
-
* Returns a list of charts in the cluster.
|
|
63
|
+
* List access tokens in organization.
|
|
79
64
|
*
|
|
80
|
-
* This endpoint is available to all users in the organization.
|
|
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.
|
|
81
66
|
*
|
|
82
67
|
*/
|
|
83
|
-
static
|
|
68
|
+
static listTokens<ThrowOnError extends boolean = false>(options?: Options<ListTokensData, ThrowOnError>): import("./client").RequestResult<ListTokensResponses, ListTokensErrors, ThrowOnError, "fields">;
|
|
84
69
|
/**
|
|
85
|
-
* Create a new
|
|
70
|
+
* Create a new access token.
|
|
86
71
|
*
|
|
87
|
-
*
|
|
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.
|
|
88
73
|
*
|
|
89
74
|
* This endpoint is available to administrators of the organization only.
|
|
90
75
|
*
|
|
91
76
|
*/
|
|
92
|
-
static
|
|
77
|
+
static createToken<ThrowOnError extends boolean = false>(options: Options<CreateTokenData, ThrowOnError>): import("./client").RequestResult<CreateTokenResponses, CreateTokenErrors, ThrowOnError, "fields">;
|
|
93
78
|
/**
|
|
94
|
-
* Permanently delete
|
|
95
|
-
*
|
|
96
|
-
* This endpoint will permanently delete chart. This operation cannot be undone.
|
|
79
|
+
* Permanently delete access token.
|
|
97
80
|
*
|
|
98
|
-
* This endpoint is available to administrators of the organization only.
|
|
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.
|
|
99
82
|
*
|
|
100
83
|
*/
|
|
101
|
-
static
|
|
84
|
+
static deleteToken<ThrowOnError extends boolean = false>(options: Options<DeleteTokenData, ThrowOnError>): import("./client").RequestResult<DeleteTokenResponses, unknown, ThrowOnError, "fields">;
|
|
102
85
|
/**
|
|
103
|
-
* Get
|
|
104
|
-
*
|
|
105
|
-
* Returns the details of the chart deployment.
|
|
86
|
+
* Get access token information.
|
|
106
87
|
*
|
|
107
|
-
* 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.
|
|
108
89
|
*
|
|
109
90
|
*/
|
|
110
|
-
static
|
|
91
|
+
static getToken<ThrowOnError extends boolean = false>(options: Options<GetTokenData, ThrowOnError>): import("./client").RequestResult<GetTokenResponses, GetTokenErrors, ThrowOnError, "fields">;
|
|
111
92
|
/**
|
|
112
|
-
* Update
|
|
93
|
+
* Update access token information.
|
|
113
94
|
*
|
|
114
|
-
* This endpoint allows you to update
|
|
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.
|
|
115
96
|
*
|
|
116
97
|
* This endpoint is available to administrators of the organization only.
|
|
117
98
|
*
|
|
118
99
|
*/
|
|
119
|
-
static
|
|
100
|
+
static updateToken<ThrowOnError extends boolean = false>(options: Options<UpdateTokenData, ThrowOnError>): import("./client").RequestResult<UpdateTokenResponses, UpdateTokenErrors, ThrowOnError, "fields">;
|
|
120
101
|
/**
|
|
121
|
-
*
|
|
122
|
-
*
|
|
123
|
-
* 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
|
-
*
|
|
125
|
-
* This endpoint is available to all users in the organization.
|
|
102
|
+
* Regenerate access token secret key.
|
|
126
103
|
*
|
|
104
|
+
* Generates a new access token secret. Old secret will not be valid anymore.
|
|
127
105
|
*/
|
|
128
|
-
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 {
|
|
129
109
|
/**
|
|
130
|
-
*
|
|
131
|
-
*
|
|
132
|
-
* 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.
|
|
110
|
+
* List tickets for the current organization.
|
|
133
111
|
*
|
|
134
|
-
*
|
|
112
|
+
* Returns all tickets belonging to the caller's organization, newest first.
|
|
135
113
|
*
|
|
136
114
|
*/
|
|
137
|
-
static
|
|
115
|
+
static listTickets<ThrowOnError extends boolean = false>(options?: Options<ListTicketsData, ThrowOnError>): import("./client").RequestResult<ListTicketsResponses, unknown, ThrowOnError, "fields">;
|
|
138
116
|
/**
|
|
139
|
-
*
|
|
140
|
-
*
|
|
141
|
-
* 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 Fleet until the end of the billing period, set the status to `cancelling`. For more information, see [Fleets](https://cloudfleet.ai/docs/cloud-infrastructure/fleets/) section of documentaiton.
|
|
117
|
+
* Create a new support ticket.
|
|
142
118
|
*
|
|
143
|
-
*
|
|
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`, plus up to 3 `attachments` files (10 MB max each).
|
|
144
120
|
*
|
|
145
121
|
*/
|
|
146
|
-
static
|
|
122
|
+
static createTicket<ThrowOnError extends boolean = false>(options: Options<CreateTicketData, ThrowOnError>): import("./client").RequestResult<CreateTicketResponses, unknown, ThrowOnError, "fields">;
|
|
147
123
|
/**
|
|
148
|
-
*
|
|
149
|
-
*
|
|
150
|
-
* Returns fleet details. For more information, see [Fleets](https://cloudfleet.ai/docs/cloud-infrastructure/fleets/) section of documentaiton.
|
|
124
|
+
* Close a ticket (soft close).
|
|
151
125
|
*
|
|
152
|
-
*
|
|
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.
|
|
153
127
|
*
|
|
154
128
|
*/
|
|
155
|
-
static
|
|
129
|
+
static closeTicket<ThrowOnError extends boolean = false>(options: Options<CloseTicketData, ThrowOnError>): import("./client").RequestResult<CloseTicketResponses, unknown, ThrowOnError, "fields">;
|
|
156
130
|
/**
|
|
157
|
-
*
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
*
|
|
162
|
-
*
|
|
163
|
-
* For more information, see [Fleets](https://cloudfleet.ai/docs/cloud-infrastructure/fleets/) section of documentaiton.
|
|
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
|
+
* Append a customer reply to a ticket.
|
|
164
136
|
*
|
|
165
|
-
*
|
|
137
|
+
* Multipart form-data with a JSON-encoded `payload` field carrying `body`, plus up to 3 `attachments` files. Returns 409 if the ticket is closed.
|
|
166
138
|
*
|
|
167
139
|
*/
|
|
168
|
-
static
|
|
140
|
+
static replyTicket<ThrowOnError extends boolean = false>(options: Options<ReplyTicketData, ThrowOnError>): import("./client").RequestResult<ReplyTicketResponses, ReplyTicketErrors, ThrowOnError, "fields">;
|
|
169
141
|
/**
|
|
170
|
-
*
|
|
171
|
-
*
|
|
172
|
-
* 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.
|
|
142
|
+
* Download a ticket attachment.
|
|
173
143
|
*/
|
|
174
|
-
static
|
|
144
|
+
static getTicketAttachment<ThrowOnError extends boolean = false>(options: Options<GetTicketAttachmentData, ThrowOnError>): import("./client").RequestResult<GetTicketAttachmentResponses, unknown, ThrowOnError, "fields">;
|
|
145
|
+
}
|
|
146
|
+
export declare class RegistryService {
|
|
175
147
|
/**
|
|
176
|
-
* List
|
|
177
|
-
*
|
|
178
|
-
* Returns a list of clusters under the current organization, including quota. Quota is a set of filters defined by the admin of the organization that will be applied to all resources created in the cluster. Quota information returned here does not take into account quota set on organization or platform level. For calculated quota applied to this account, use /clusters/{cluster_id}/quota endpoint. For more information about quotas, see [Quotas and limits](https://cloudfleet.ai/docs/organization/quotas/) section of documentaiton.
|
|
148
|
+
* List repositories
|
|
179
149
|
*
|
|
180
|
-
* This endpoint is available to all users in the organization.
|
|
150
|
+
* Returns a list of repositories in the registry across all regions. This endpoint is available to all users in the organization.
|
|
181
151
|
*
|
|
182
152
|
*/
|
|
183
|
-
static
|
|
153
|
+
static listRepositories<ThrowOnError extends boolean = false>(options?: Options<ListRepositoriesData, ThrowOnError>): import("./client").RequestResult<ListRepositoriesResponses, ListRepositoriesErrors, ThrowOnError, "fields">;
|
|
184
154
|
/**
|
|
185
|
-
*
|
|
186
|
-
*
|
|
187
|
-
* 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.
|
|
155
|
+
* List tags for a repository
|
|
188
156
|
*
|
|
189
|
-
* This endpoint is available to
|
|
157
|
+
* 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.
|
|
190
158
|
*
|
|
191
159
|
*/
|
|
192
|
-
static
|
|
160
|
+
static listTags<ThrowOnError extends boolean = false>(options: Options<ListTagsData, ThrowOnError>): import("./client").RequestResult<ListTagsResponses, ListTagsErrors, ThrowOnError, "fields">;
|
|
193
161
|
/**
|
|
194
|
-
*
|
|
162
|
+
* Delete tag
|
|
195
163
|
*
|
|
196
|
-
*
|
|
164
|
+
* Permanently deletes a specific tag from a repository. This endpoint is available to administrators of the organization only.
|
|
197
165
|
*
|
|
198
|
-
|
|
166
|
+
*/
|
|
167
|
+
static deleteTag<ThrowOnError extends boolean = false>(options: Options<DeleteTagData, ThrowOnError>): import("./client").RequestResult<DeleteTagResponses, DeleteTagErrors, ThrowOnError, "fields">;
|
|
168
|
+
/**
|
|
169
|
+
* Get tag details
|
|
170
|
+
*
|
|
171
|
+
* 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.
|
|
199
172
|
*
|
|
200
173
|
*/
|
|
201
|
-
static
|
|
174
|
+
static getTag<ThrowOnError extends boolean = false>(options: Options<GetTagData, ThrowOnError>): import("./client").RequestResult<GetTagResponses, GetTagErrors, ThrowOnError, "fields">;
|
|
175
|
+
}
|
|
176
|
+
export declare class OrganizationService {
|
|
202
177
|
/**
|
|
203
|
-
* Get
|
|
178
|
+
* Get organization information.
|
|
204
179
|
*
|
|
205
|
-
* Returns
|
|
180
|
+
* Returns organization details including quota. For more information about quotas, see [Quotas and limits](https://cloudfleet.ai/docs/organization/quotas/) section of documentaiton.
|
|
206
181
|
*
|
|
207
182
|
* This endpoint is available to all users in the organization.
|
|
208
183
|
*
|
|
209
184
|
*/
|
|
210
|
-
static
|
|
185
|
+
static getOrganization<ThrowOnError extends boolean = false>(options?: Options<GetOrganizationData, ThrowOnError>): import("./client").RequestResult<GetOrganizationResponses, unknown, ThrowOnError, "fields">;
|
|
211
186
|
/**
|
|
212
|
-
*
|
|
187
|
+
* Create a new organization / Cloudfleet account signup.
|
|
213
188
|
*
|
|
214
|
-
* This endpoint allows you to
|
|
189
|
+
* This endpoint allows you to create a new Cloudfleet organization and an administrator user.
|
|
215
190
|
*
|
|
216
|
-
|
|
191
|
+
*/
|
|
192
|
+
static createOrganization<ThrowOnError extends boolean = false>(options: Options<CreateOrganizationData, ThrowOnError>): import("./client").RequestResult<CreateOrganizationResponses, unknown, ThrowOnError, "fields">;
|
|
193
|
+
}
|
|
194
|
+
export declare class McpService {
|
|
195
|
+
/**
|
|
196
|
+
* MCP endpoint
|
|
217
197
|
*
|
|
198
|
+
* MCP endpoint for handling Model Context Protocol JSON-RPC 2.0 messages.
|
|
218
199
|
*/
|
|
219
|
-
static
|
|
200
|
+
static postMcp<ThrowOnError extends boolean = false>(options: Options<PostMcpData, ThrowOnError>): import("./client").RequestResult<PostMcpResponses, PostMcpErrors, ThrowOnError, "fields">;
|
|
201
|
+
}
|
|
202
|
+
export declare class ChartsMarketplaceService {
|
|
220
203
|
/**
|
|
221
|
-
*
|
|
204
|
+
* List chart listings available in the marketplace.
|
|
205
|
+
*
|
|
206
|
+
* Returns a list of available charts in the marketplace.
|
|
222
207
|
*
|
|
223
|
-
*
|
|
208
|
+
* This endpoint is available to all users in the organization.
|
|
224
209
|
*
|
|
225
210
|
*/
|
|
226
|
-
static
|
|
211
|
+
static listMarketplaceCharts<ThrowOnError extends boolean = false>(options?: Options<ListMarketplaceChartsData, ThrowOnError>): import("./client").RequestResult<ListMarketplaceChartsResponses, ListMarketplaceChartsErrors, ThrowOnError, "fields">;
|
|
227
212
|
/**
|
|
228
|
-
*
|
|
213
|
+
* Get chart files for a specific version channel.
|
|
229
214
|
*
|
|
230
|
-
* Returns the
|
|
215
|
+
* Returns the Chart.yaml, values.yaml, and values.schema.json files for the latest version matching the specified version channel.
|
|
216
|
+
*
|
|
217
|
+
* 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.
|
|
218
|
+
*
|
|
219
|
+
* This endpoint is available to all users in the organization.
|
|
231
220
|
*
|
|
232
221
|
*/
|
|
233
|
-
static
|
|
222
|
+
static getMarketplaceChartFiles<ThrowOnError extends boolean = false>(options: Options<GetMarketplaceChartFilesData, ThrowOnError>): import("./client").RequestResult<GetMarketplaceChartFilesResponses, GetMarketplaceChartFilesErrors, ThrowOnError, "fields">;
|
|
234
223
|
}
|
|
235
224
|
export declare class InvitesService {
|
|
236
225
|
/**
|
|
237
226
|
* List invites.
|
|
238
227
|
*
|
|
239
|
-
* Returns a list of invites under the current organization. This endpoint is available to
|
|
228
|
+
* Returns a list of pending (non-expired) invites under the current organization. This endpoint is available to administrators of the organization only.
|
|
240
229
|
*
|
|
241
230
|
*/
|
|
242
231
|
static listInvites<ThrowOnError extends boolean = false>(options?: Options<ListInvitesData, ThrowOnError>): import("./client").RequestResult<ListInvitesResponses, ListInvitesErrors, ThrowOnError, "fields">;
|
|
@@ -250,7 +239,7 @@ export declare class InvitesService {
|
|
|
250
239
|
/**
|
|
251
240
|
* Get invite information.
|
|
252
241
|
*
|
|
253
|
-
*
|
|
242
|
+
* 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.
|
|
254
243
|
*
|
|
255
244
|
*/
|
|
256
245
|
static getInvite<ThrowOnError extends boolean = false>(options: Options<GetInviteData, ThrowOnError>): import("./client").RequestResult<GetInviteResponses, unknown, ThrowOnError, "fields">;
|
|
@@ -262,174 +251,228 @@ export declare class InvitesService {
|
|
|
262
251
|
*/
|
|
263
252
|
static deleteInvite<ThrowOnError extends boolean = false>(options: Options<DeleteInviteData, ThrowOnError>): import("./client").RequestResult<DeleteInviteResponses, unknown, ThrowOnError, "fields">;
|
|
264
253
|
}
|
|
265
|
-
export declare class
|
|
254
|
+
export declare class ClustersService {
|
|
266
255
|
/**
|
|
267
|
-
*
|
|
256
|
+
* Query Kubernetes cluster API
|
|
268
257
|
*
|
|
269
|
-
*
|
|
258
|
+
* 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.
|
|
259
|
+
*/
|
|
260
|
+
static queryCluster<ThrowOnError extends boolean = false>(options: Options<QueryClusterData, ThrowOnError>): import("./client").RequestResult<QueryClusterResponses, QueryClusterErrors, ThrowOnError, "fields">;
|
|
261
|
+
/**
|
|
262
|
+
* List fleets.
|
|
263
|
+
*
|
|
264
|
+
* Returns a list of fleets belonging to the cluster. For more information, see [Fleets](https://cloudfleet.ai/docs/cloud-infrastructure/fleets/) section of documentaiton.
|
|
270
265
|
*
|
|
271
266
|
* This endpoint is available to all users in the organization.
|
|
272
267
|
*
|
|
273
268
|
*/
|
|
274
|
-
static
|
|
269
|
+
static listFleets<ThrowOnError extends boolean = false>(options: Options<ListFleetsData, ThrowOnError>): import("./client").RequestResult<ListFleetsResponses, ListFleetsErrors, ThrowOnError, "fields">;
|
|
275
270
|
/**
|
|
276
|
-
*
|
|
277
|
-
*
|
|
278
|
-
* Returns the Chart.yaml, values.yaml, and values.schema.json files for the latest version matching the specified version channel.
|
|
271
|
+
* Create a new fleet.
|
|
279
272
|
*
|
|
280
|
-
*
|
|
273
|
+
* 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.
|
|
281
274
|
*
|
|
282
|
-
* This endpoint is available to
|
|
275
|
+
* This endpoint is available to administrators of the organization only.
|
|
283
276
|
*
|
|
284
277
|
*/
|
|
285
|
-
static
|
|
286
|
-
}
|
|
287
|
-
export declare class McpService {
|
|
278
|
+
static createFleet<ThrowOnError extends boolean = false>(options: Options<CreateFleetData, ThrowOnError>): import("./client").RequestResult<CreateFleetResponses, CreateFleetErrors, ThrowOnError, "fields">;
|
|
288
279
|
/**
|
|
289
|
-
*
|
|
280
|
+
* Permanently delete fleet.
|
|
281
|
+
*
|
|
282
|
+
* 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.
|
|
283
|
+
*
|
|
284
|
+
* This endpoint is available to administrators of the organization only.
|
|
290
285
|
*
|
|
291
|
-
* MCP endpoint for handling Model Context Protocol JSON-RPC 2.0 messages.
|
|
292
286
|
*/
|
|
293
|
-
static
|
|
294
|
-
}
|
|
295
|
-
export declare class OrganizationService {
|
|
287
|
+
static deleteFleet<ThrowOnError extends boolean = false>(options: Options<DeleteFleetData, ThrowOnError>): import("./client").RequestResult<DeleteFleetResponses, DeleteFleetErrors, ThrowOnError, "fields">;
|
|
296
288
|
/**
|
|
297
|
-
* Get
|
|
289
|
+
* Get fleet information.
|
|
298
290
|
*
|
|
299
|
-
* Returns
|
|
291
|
+
* Returns fleet details. For more information, see [Fleets](https://cloudfleet.ai/docs/cloud-infrastructure/fleets/) section of documentaiton.
|
|
300
292
|
*
|
|
301
293
|
* This endpoint is available to all users in the organization.
|
|
302
294
|
*
|
|
303
295
|
*/
|
|
304
|
-
static
|
|
296
|
+
static getFleet<ThrowOnError extends boolean = false>(options: Options<GetFleetData, ThrowOnError>): import("./client").RequestResult<GetFleetResponses, unknown, ThrowOnError, "fields">;
|
|
305
297
|
/**
|
|
306
|
-
*
|
|
298
|
+
* Update fleet information.
|
|
307
299
|
*
|
|
308
|
-
* This endpoint allows you to
|
|
300
|
+
* This endpoint allows you to update fleet details.
|
|
301
|
+
*
|
|
302
|
+
* For more information, see [Fleets](https://cloudfleet.ai/docs/cloud-infrastructure/fleets/) section of documentaiton.
|
|
303
|
+
*
|
|
304
|
+
* This endpoint is available to administrators of the organization only.
|
|
309
305
|
*
|
|
310
306
|
*/
|
|
311
|
-
static
|
|
312
|
-
}
|
|
313
|
-
export declare class RegistryService {
|
|
307
|
+
static updateFleet<ThrowOnError extends boolean = false>(options: Options<UpdateFleetData, ThrowOnError>): import("./client").RequestResult<UpdateFleetResponses, UpdateFleetErrors, ThrowOnError, "fields">;
|
|
314
308
|
/**
|
|
315
|
-
* List
|
|
309
|
+
* List charts.
|
|
316
310
|
*
|
|
317
|
-
* Returns a list of
|
|
311
|
+
* Returns a list of charts in the cluster.
|
|
312
|
+
*
|
|
313
|
+
* This endpoint is available to all users in the organization.
|
|
318
314
|
*
|
|
319
315
|
*/
|
|
320
|
-
static
|
|
316
|
+
static listCharts<ThrowOnError extends boolean = false>(options: Options<ListChartsData, ThrowOnError>): import("./client").RequestResult<ListChartsResponses, ListChartsErrors, ThrowOnError, "fields">;
|
|
321
317
|
/**
|
|
322
|
-
*
|
|
318
|
+
* Create a new chart.
|
|
323
319
|
*
|
|
324
|
-
*
|
|
320
|
+
* Create a new chart deployment.
|
|
321
|
+
*
|
|
322
|
+
* This endpoint is available to administrators of the organization only.
|
|
325
323
|
*
|
|
326
324
|
*/
|
|
327
|
-
static
|
|
325
|
+
static createChart<ThrowOnError extends boolean = false>(options: Options<CreateChartData, ThrowOnError>): import("./client").RequestResult<CreateChartResponses, CreateChartErrors, ThrowOnError, "fields">;
|
|
328
326
|
/**
|
|
329
|
-
*
|
|
327
|
+
* Permanently delete the chart deployment from the cluster.
|
|
330
328
|
*
|
|
331
|
-
*
|
|
329
|
+
* This endpoint will permanently delete chart. This operation cannot be undone.
|
|
330
|
+
*
|
|
331
|
+
* This endpoint is available to administrators of the organization only.
|
|
332
332
|
*
|
|
333
333
|
*/
|
|
334
|
-
static
|
|
334
|
+
static deleteChart<ThrowOnError extends boolean = false>(options: Options<DeleteChartData, ThrowOnError>): import("./client").RequestResult<DeleteChartResponses, DeleteChartErrors, ThrowOnError, "fields">;
|
|
335
335
|
/**
|
|
336
|
-
* Get
|
|
336
|
+
* Get chart information.
|
|
337
337
|
*
|
|
338
|
-
* Returns
|
|
338
|
+
* Returns the details of the chart deployment.
|
|
339
|
+
*
|
|
340
|
+
* This endpoint is available to all users in the organization.
|
|
339
341
|
*
|
|
340
342
|
*/
|
|
341
|
-
static
|
|
342
|
-
}
|
|
343
|
-
export declare class TokensService {
|
|
343
|
+
static getChart<ThrowOnError extends boolean = false>(options: Options<GetChartData, ThrowOnError>): import("./client").RequestResult<GetChartResponses, unknown, ThrowOnError, "fields">;
|
|
344
344
|
/**
|
|
345
|
-
*
|
|
345
|
+
* Update chart information.
|
|
346
346
|
*
|
|
347
|
-
* This endpoint allows you to
|
|
347
|
+
* This endpoint allows you to update the values of a chart deployment.
|
|
348
|
+
*
|
|
349
|
+
* This endpoint is available to administrators of the organization only.
|
|
348
350
|
*
|
|
349
351
|
*/
|
|
350
|
-
static
|
|
352
|
+
static updateChart<ThrowOnError extends boolean = false>(options: Options<UpdateChartData, ThrowOnError>): import("./client").RequestResult<UpdateChartResponses, UpdateChartErrors, ThrowOnError, "fields">;
|
|
351
353
|
/**
|
|
352
|
-
*
|
|
354
|
+
* List clusters.
|
|
353
355
|
*
|
|
354
|
-
*
|
|
356
|
+
* Returns a list of clusters under the current organization.
|
|
357
|
+
*
|
|
358
|
+
* This endpoint is available to all users in the organization.
|
|
359
|
+
*
|
|
360
|
+
*/
|
|
361
|
+
static listClusters<ThrowOnError extends boolean = false>(options?: Options<ListClustersData, ThrowOnError>): import("./client").RequestResult<ListClustersResponses, ListClustersErrors, ThrowOnError, "fields">;
|
|
362
|
+
/**
|
|
363
|
+
* Create a new cluster.
|
|
364
|
+
*
|
|
365
|
+
* 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.
|
|
355
366
|
*
|
|
356
367
|
* This endpoint is available to administrators of the organization only.
|
|
357
368
|
*
|
|
358
369
|
*/
|
|
359
|
-
static
|
|
370
|
+
static createCluster<ThrowOnError extends boolean = false>(options: Options<CreateClusterData, ThrowOnError>): import("./client").RequestResult<CreateClusterResponses, CreateClusterErrors, ThrowOnError, "fields">;
|
|
360
371
|
/**
|
|
361
|
-
* Permanently delete
|
|
372
|
+
* Permanently delete cluster.
|
|
362
373
|
*
|
|
363
|
-
* This endpoint
|
|
374
|
+
* This endpoint will permanently delete the cluster. This operation cannot be undone.
|
|
375
|
+
*
|
|
376
|
+
* This endpoint is available to administrators of the organization only.
|
|
364
377
|
*
|
|
365
378
|
*/
|
|
366
|
-
static
|
|
379
|
+
static deleteCluster<ThrowOnError extends boolean = false>(options: Options<DeleteClusterData, ThrowOnError>): import("./client").RequestResult<DeleteClusterResponses, DeleteClusterErrors, ThrowOnError, "fields">;
|
|
367
380
|
/**
|
|
368
|
-
* Get
|
|
381
|
+
* Get cluster information.
|
|
369
382
|
*
|
|
370
|
-
*
|
|
383
|
+
* Returns cluster details.
|
|
384
|
+
*
|
|
385
|
+
* This endpoint is available to all users in the organization.
|
|
371
386
|
*
|
|
372
387
|
*/
|
|
373
|
-
static
|
|
388
|
+
static getCluster<ThrowOnError extends boolean = false>(options: Options<GetClusterData, ThrowOnError>): import("./client").RequestResult<GetClusterResponses, unknown, ThrowOnError, "fields">;
|
|
374
389
|
/**
|
|
375
|
-
* Update
|
|
390
|
+
* Update cluster information.
|
|
376
391
|
*
|
|
377
|
-
* This endpoint allows you to update
|
|
392
|
+
* 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.
|
|
378
393
|
*
|
|
379
394
|
* This endpoint is available to administrators of the organization only.
|
|
380
395
|
*
|
|
381
396
|
*/
|
|
382
|
-
static
|
|
397
|
+
static updateCluster<ThrowOnError extends boolean = false>(options: Options<UpdateClusterData, ThrowOnError>): import("./client").RequestResult<UpdateClusterResponses, UpdateClusterErrors, ThrowOnError, "fields">;
|
|
383
398
|
/**
|
|
384
|
-
*
|
|
399
|
+
* Node join information for the cluster
|
|
400
|
+
*
|
|
401
|
+
* 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.
|
|
385
402
|
*
|
|
386
|
-
* Generates a new access token secret. Old secret will not be valid anymore.
|
|
387
403
|
*/
|
|
388
|
-
static
|
|
404
|
+
static getJoinInformation<ThrowOnError extends boolean = false>(options: Options<GetJoinInformationData, ThrowOnError>): import("./client").RequestResult<GetJoinInformationResponses, GetJoinInformationErrors, ThrowOnError, "fields">;
|
|
389
405
|
}
|
|
390
|
-
export declare class
|
|
406
|
+
export declare class BillingService {
|
|
391
407
|
/**
|
|
392
|
-
* Get
|
|
408
|
+
* Get billing usage information.
|
|
409
|
+
*
|
|
410
|
+
* 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.
|
|
411
|
+
*
|
|
393
412
|
*/
|
|
394
|
-
static
|
|
413
|
+
static getUsage<ThrowOnError extends boolean = false>(options?: Options<GetUsageData, ThrowOnError>): import("./client").RequestResult<GetUsageResponses, GetUsageErrors, ThrowOnError, "fields">;
|
|
395
414
|
/**
|
|
396
|
-
*
|
|
415
|
+
* Get Stripe client secret.
|
|
397
416
|
*
|
|
398
|
-
*
|
|
417
|
+
* 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.
|
|
399
418
|
*
|
|
400
|
-
|
|
419
|
+
*/
|
|
420
|
+
static getPaymentMethodSecret<ThrowOnError extends boolean = false>(options?: Options<GetPaymentMethodSecretData, ThrowOnError>): import("./client").RequestResult<GetPaymentMethodSecretResponses, unknown, ThrowOnError, "fields">;
|
|
421
|
+
/**
|
|
422
|
+
* List organization payment methods.
|
|
423
|
+
*
|
|
424
|
+
* 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.
|
|
401
425
|
*
|
|
402
426
|
*/
|
|
403
|
-
static
|
|
427
|
+
static listPaymentMethods<ThrowOnError extends boolean = false>(options?: Options<ListPaymentMethodsData, ThrowOnError>): import("./client").RequestResult<ListPaymentMethodsResponses, ListPaymentMethodsErrors, ThrowOnError, "fields">;
|
|
404
428
|
/**
|
|
405
|
-
*
|
|
429
|
+
* Set the default payment method.
|
|
406
430
|
*
|
|
407
|
-
*
|
|
431
|
+
* Sets the given payment method as the default used for invoices and active subscriptions. Requires the Administrator role.
|
|
408
432
|
*
|
|
409
433
|
*/
|
|
410
|
-
static
|
|
434
|
+
static setDefaultPaymentMethod<ThrowOnError extends boolean = false>(options: Options<SetDefaultPaymentMethodData, ThrowOnError>): import("./client").RequestResult<SetDefaultPaymentMethodResponses, SetDefaultPaymentMethodErrors, ThrowOnError, "fields">;
|
|
411
435
|
/**
|
|
412
|
-
* Delete
|
|
436
|
+
* Delete a payment method.
|
|
413
437
|
*
|
|
414
|
-
*
|
|
438
|
+
* 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.
|
|
415
439
|
*
|
|
416
440
|
*/
|
|
417
|
-
static
|
|
441
|
+
static deletePaymentMethod<ThrowOnError extends boolean = false>(options: Options<DeletePaymentMethodData, ThrowOnError>): import("./client").RequestResult<DeletePaymentMethodResponses, DeletePaymentMethodErrors, ThrowOnError, "fields">;
|
|
418
442
|
/**
|
|
419
|
-
*
|
|
443
|
+
* List issued invoices.
|
|
420
444
|
*
|
|
421
|
-
* Returns
|
|
445
|
+
* 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.
|
|
422
446
|
*
|
|
423
|
-
|
|
447
|
+
*/
|
|
448
|
+
static listInvoices<ThrowOnError extends boolean = false>(options?: Options<ListInvoicesData, ThrowOnError>): import("./client").RequestResult<ListInvoicesResponses, ListInvoicesErrors, ThrowOnError, "fields">;
|
|
449
|
+
/**
|
|
450
|
+
* Get organization contact and billing address information.
|
|
451
|
+
*
|
|
452
|
+
* Returns the organization contact and billing address information. This endpoint is available to all users in the organization.
|
|
424
453
|
*
|
|
425
454
|
*/
|
|
426
|
-
static
|
|
455
|
+
static getContact<ThrowOnError extends boolean = false>(options?: Options<GetContactData, ThrowOnError>): import("./client").RequestResult<GetContactResponses, unknown, ThrowOnError, "fields">;
|
|
427
456
|
/**
|
|
428
|
-
* Update
|
|
457
|
+
* Update organization contact information and billing address.
|
|
429
458
|
*
|
|
430
|
-
*
|
|
459
|
+
* This endpoint allows you to update organization details with its contact information. This endpoint is available to administrators of the organization only.
|
|
431
460
|
*
|
|
432
461
|
*/
|
|
433
|
-
static
|
|
462
|
+
static updateContact<ThrowOnError extends boolean = false>(options: Options<UpdateContactData, ThrowOnError>): import("./client").RequestResult<UpdateContactResponses, unknown, ThrowOnError, "fields">;
|
|
463
|
+
/**
|
|
464
|
+
* Get applied promotional credits
|
|
465
|
+
*
|
|
466
|
+
* 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
|
+
*
|
|
468
|
+
*/
|
|
469
|
+
static getCredits<ThrowOnError extends boolean = false>(options?: Options<GetCreditsData, ThrowOnError>): import("./client").RequestResult<GetCreditsResponses, GetCreditsErrors, ThrowOnError, "fields">;
|
|
470
|
+
/**
|
|
471
|
+
* Redeem promotional credits code.
|
|
472
|
+
*
|
|
473
|
+
* 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
|
+
*
|
|
475
|
+
*/
|
|
476
|
+
static redeemCredits<ThrowOnError extends boolean = false>(options: Options<RedeemCreditsData, ThrowOnError>): import("./client").RequestResult<RedeemCreditsResponses, RedeemCreditsErrors, ThrowOnError, "fields">;
|
|
434
477
|
}
|
|
435
478
|
//# sourceMappingURL=sdk.gen.d.ts.map
|