@cloudfleet/sdk 0.0.1-76e2a56 → 0.0.1-7796b47

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.
Files changed (88) hide show
  1. package/README.md +26 -2
  2. package/dist/@tanstack/react-query.gen.d.ts +1199 -0
  3. package/dist/@tanstack/react-query.gen.d.ts.map +1 -0
  4. package/dist/@tanstack/react-query.gen.js +1215 -0
  5. package/dist/@tanstack/react-query.gen.js.map +1 -0
  6. package/dist/client/client.gen.d.ts +3 -0
  7. package/dist/client/client.gen.d.ts.map +1 -0
  8. package/dist/client/client.gen.js +217 -0
  9. package/dist/client/client.gen.js.map +1 -0
  10. package/dist/client/index.d.ts +9 -0
  11. package/dist/client/index.d.ts.map +1 -0
  12. package/dist/client/index.js +7 -0
  13. package/dist/client/index.js.map +1 -0
  14. package/dist/client/types.gen.d.ts +121 -0
  15. package/dist/client/types.gen.d.ts.map +1 -0
  16. package/dist/client/types.gen.js +3 -0
  17. package/dist/client/types.gen.js.map +1 -0
  18. package/dist/client/utils.gen.d.ts +38 -0
  19. package/dist/client/utils.gen.d.ts.map +1 -0
  20. package/dist/client/utils.gen.js +229 -0
  21. package/dist/client/utils.gen.js.map +1 -0
  22. package/dist/client.gen.d.ts +4 -4
  23. package/dist/client.gen.d.ts.map +1 -1
  24. package/dist/client.gen.js +2 -4
  25. package/dist/client.gen.js.map +1 -1
  26. package/dist/core/auth.gen.d.ts +19 -0
  27. package/dist/core/auth.gen.d.ts.map +1 -0
  28. package/dist/core/auth.gen.js +15 -0
  29. package/dist/core/auth.gen.js.map +1 -0
  30. package/dist/core/bodySerializer.gen.d.ts +26 -0
  31. package/dist/core/bodySerializer.gen.d.ts.map +1 -0
  32. package/dist/core/bodySerializer.gen.js +58 -0
  33. package/dist/core/bodySerializer.gen.js.map +1 -0
  34. package/dist/core/params.gen.d.ts +44 -0
  35. package/dist/core/params.gen.d.ts.map +1 -0
  36. package/dist/core/params.gen.js +101 -0
  37. package/dist/core/params.gen.js.map +1 -0
  38. package/dist/core/pathSerializer.gen.d.ts +34 -0
  39. package/dist/core/pathSerializer.gen.d.ts.map +1 -0
  40. package/dist/core/pathSerializer.gen.js +107 -0
  41. package/dist/core/pathSerializer.gen.js.map +1 -0
  42. package/dist/core/queryKeySerializer.gen.d.ts +19 -0
  43. package/dist/core/queryKeySerializer.gen.d.ts.map +1 -0
  44. package/dist/core/queryKeySerializer.gen.js +93 -0
  45. package/dist/core/queryKeySerializer.gen.js.map +1 -0
  46. package/dist/core/serverSentEvents.gen.d.ts +72 -0
  47. package/dist/core/serverSentEvents.gen.d.ts.map +1 -0
  48. package/dist/core/serverSentEvents.gen.js +133 -0
  49. package/dist/core/serverSentEvents.gen.js.map +1 -0
  50. package/dist/core/types.gen.d.ts +79 -0
  51. package/dist/core/types.gen.d.ts.map +1 -0
  52. package/dist/core/types.gen.js +3 -0
  53. package/dist/core/types.gen.js.map +1 -0
  54. package/dist/core/utils.gen.d.ts +20 -0
  55. package/dist/core/utils.gen.d.ts.map +1 -0
  56. package/dist/core/utils.gen.js +88 -0
  57. package/dist/core/utils.gen.js.map +1 -0
  58. package/dist/index.d.ts +3 -0
  59. package/dist/index.d.ts.map +1 -1
  60. package/dist/index.js +3 -0
  61. package/dist/index.js.map +1 -1
  62. package/dist/schemas.gen.d.ts +1794 -906
  63. package/dist/schemas.gen.d.ts.map +1 -1
  64. package/dist/schemas.gen.js +3141 -966
  65. package/dist/schemas.gen.js.map +1 -1
  66. package/dist/sdk.gen.d.ts +340 -202
  67. package/dist/sdk.gen.d.ts.map +1 -1
  68. package/dist/sdk.gen.js +471 -307
  69. package/dist/sdk.gen.js.map +1 -1
  70. package/dist/services/kubernetes/api.d.ts +196 -0
  71. package/dist/services/kubernetes/api.d.ts.map +1 -0
  72. package/dist/services/kubernetes/api.js +140 -0
  73. package/dist/services/kubernetes/api.js.map +1 -0
  74. package/dist/services/kubernetes/index.d.ts +44 -0
  75. package/dist/services/kubernetes/index.d.ts.map +1 -0
  76. package/dist/services/kubernetes/index.js +68 -0
  77. package/dist/services/kubernetes/index.js.map +1 -0
  78. package/dist/services/kubernetes/types.d.ts +1335 -0
  79. package/dist/services/kubernetes/types.d.ts.map +1 -0
  80. package/dist/services/kubernetes/types.js +2 -0
  81. package/dist/services/kubernetes/types.js.map +1 -0
  82. package/dist/types.gen.d.ts +2027 -1168
  83. package/dist/types.gen.d.ts.map +1 -1
  84. package/dist/zod.gen.d.ts +3982 -2497
  85. package/dist/zod.gen.d.ts.map +1 -1
  86. package/dist/zod.gen.js +1712 -893
  87. package/dist/zod.gen.js.map +1 -1
  88. package/package.json +30 -7
package/dist/sdk.gen.d.ts CHANGED
@@ -1,6 +1,6 @@
1
- import type { Options as ClientOptions, TDataShape, Client } from '@hey-api/client-fetch';
2
- import type { GetUsageData, GetBalanceData, GetPaymentMethodData, GetPaymentMethodSecretData, ListInvoicesData, GetInvoiceData, GetContactData, UpdateContactData, ListFleetsData, CreateFleetData, DeleteFleetData, GetFleetData, UpdateFleetData, QueryClusterData, ListClustersData, CreateClusterData, DeleteClusterData, GetClusterData, UpdateClusterData, GetJoinInformationData, GetInfrastructureData, GetFacetsData, GetRegionsData, ListInvitesData, CreateInviteData, GetInviteData, DeleteInviteData, GetOrganizationData, CreateOrganizationData, ListTokensData, CreateTokenData, DeleteTokenData, GetTokenData, UpdateTokenData, RegenerateTokenData, ListUserOrganizationsData, ListUsersData, CreateUserData, DeleteUserData, GetUserData, UpdateUserData, DeleteClusterPermissionsData, SetClusterPermissionsData } from './types.gen';
3
- export type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean> = ClientOptions<TData, ThrowOnError> & {
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, GetBasicPriceConsentData, GetBasicPriceConsentResponses, 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, SetBasicPriceConsentData, SetBasicPriceConsentErrors, SetBasicPriceConsentResponses, SetDefaultPaymentMethodData, SetDefaultPaymentMethodErrors, SetDefaultPaymentMethodResponses, UpdateChartData, UpdateChartErrors, UpdateChartResponses, UpdateClusterData, UpdateClusterErrors, UpdateClusterResponses, UpdateContactData, UpdateContactResponses, UpdateFleetData, UpdateFleetErrors, UpdateFleetResponses, UpdateTokenData, UpdateTokenErrors, UpdateTokenResponses, UpdateUserData, UpdateUserResponses } from './types.gen';
3
+ export type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean, TResponse = unknown> = Options2<TData, ThrowOnError, TResponse> & {
4
4
  /**
5
5
  * You can provide a client instance returned by `createClient()` instead of
6
6
  * individual options. This might be also useful if you want to implement a
@@ -13,354 +13,492 @@ export type Options<TData extends TDataShape = TDataShape, ThrowOnError extends
13
13
  */
14
14
  meta?: Record<string, unknown>;
15
15
  };
16
- export declare class BillingService {
16
+ export declare class UsersService {
17
17
  /**
18
- * Get billing usage information.
19
- * Returns aggregated usage information 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.
18
+ * Get a list of organizations the user belongs to. Used during authentication process.
19
+ */
20
+ static listUserOrganizations<ThrowOnError extends boolean = false>(options: Options<ListUserOrganizationsData, ThrowOnError>): import("./client").RequestResult<ListUserOrganizationsResponses, unknown, ThrowOnError, "fields">;
21
+ /**
22
+ * List users in organization.
23
+ *
24
+ * Returns a list of user details and their roles. For more information on identity access management, see [Users](https://cloudfleet.ai/docs/organization/users/) section of documentaiton.
25
+ *
26
+ * This endpoint is available to all users in the organization.
20
27
  *
21
28
  */
22
- static getUsage<ThrowOnError extends boolean = false>(options?: Options<GetUsageData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<import("./types.gen").Usage[], unknown, ThrowOnError>;
29
+ static listUsers<ThrowOnError extends boolean = false>(options?: Options<ListUsersData, ThrowOnError>): import("./client").RequestResult<ListUsersResponses, ListUsersErrors, ThrowOnError, "fields">;
23
30
  /**
24
- * Get billing balance information.
25
- * Returns the current balance of the organization in USD as a floating-point number. 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.
31
+ * Create a new user.
32
+ *
33
+ * Create a new user in your Cloudfleet organization. Requires a valid invite code generated by the `invites create` command. The invite code is a unique string that can be used only once to create a new user. The invite code is generated by the `POST /invites` endpoint.
26
34
  *
27
35
  */
28
- static getBalance<ThrowOnError extends boolean = false>(options?: Options<GetBalanceData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<number, unknown, ThrowOnError>;
36
+ static createUser<ThrowOnError extends boolean = false>(options: Options<CreateUserData, ThrowOnError>): import("./client").RequestResult<CreateUserResponses, unknown, ThrowOnError, "fields">;
29
37
  /**
30
- * Get organization payment method information.
31
- * 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.
38
+ * Delete user by id.
39
+ *
40
+ * Sets user status to `inactive`. Inactive users cannot log in and manage organization resources. This endpoint is available to administrators of the organization only.
32
41
  *
33
42
  */
34
- static getPaymentMethod<ThrowOnError extends boolean = false>(options?: Options<GetPaymentMethodData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<import("./types.gen").PaymentMethod, unknown, ThrowOnError>;
43
+ static deleteUser<ThrowOnError extends boolean = false>(options: Options<DeleteUserData, ThrowOnError>): import("./client").RequestResult<DeleteUserResponses, DeleteUserErrors, ThrowOnError, "fields">;
35
44
  /**
36
- * Get Stripe client secret.
37
- * 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.
45
+ * Get user profile information by id.
46
+ *
47
+ * Returns user details including their roles. For more information on identity access management, see [Users](https://cloudfleet.ai/docs/organization/users/) section of documentaiton.
48
+ *
49
+ * This endpoint is available to all users in the organization.
38
50
  *
39
51
  */
40
- static getPaymentMethodSecret<ThrowOnError extends boolean = false>(options?: Options<GetPaymentMethodSecretData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<{
41
- id?: string;
42
- }, unknown, ThrowOnError>;
52
+ static getUser<ThrowOnError extends boolean = false>(options: Options<GetUserData, ThrowOnError>): import("./client").RequestResult<GetUserResponses, GetUserErrors, ThrowOnError, "fields">;
43
53
  /**
44
- * List issued invoices.
45
- * 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.
54
+ * Update user profile information.
55
+ *
56
+ * Update user profile information: email, first name, last name, role. This endpoint can be accessed by administrators and the user itself. Role and status can be changed by administrators only.
46
57
  *
47
58
  */
48
- static listInvoices<ThrowOnError extends boolean = false>(options: Options<ListInvoicesData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<import("./types.gen").Invoice[], unknown, ThrowOnError>;
59
+ static updateUser<ThrowOnError extends boolean = false>(options: Options<UpdateUserData, ThrowOnError>): import("./client").RequestResult<UpdateUserResponses, unknown, ThrowOnError, "fields">;
60
+ }
61
+ export declare class TokensService {
49
62
  /**
50
- * Get invoice information.
51
- * Returns a single Invoice as HTML referenced by id. This endpoint is available to all users in the organization.
63
+ * List access tokens in organization.
64
+ *
65
+ * This endpoint allows you to get a list of all access tokens details in organization. For more information about identity access management and security, see [Service Accounts](https://cloudfleet.ai/docs/organization/api-tokens/) section of documentaiton. This endpoint is available to all users in the organization.
52
66
  *
53
67
  */
54
- static getInvoice<ThrowOnError extends boolean = false>(options: Options<GetInvoiceData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<{
55
- html?: string;
56
- }, unknown, ThrowOnError>;
68
+ static listTokens<ThrowOnError extends boolean = false>(options?: Options<ListTokensData, ThrowOnError>): import("./client").RequestResult<ListTokensResponses, ListTokensErrors, ThrowOnError, "fields">;
57
69
  /**
58
- * Get organization contact and billing address information.
59
- * Returns the organization contact and billing address information. This endpoint is available to all users in the organization.
70
+ * Create a new access token.
71
+ *
72
+ * This endpoint allows you to create a new access token. For more information about identity access management and security, see [Service Accounts](https://cloudfleet.ai/docs/organization/api-tokens/) section of documentaiton.
73
+ *
74
+ * This endpoint is available to administrators of the organization only.
60
75
  *
61
76
  */
62
- static getContact<ThrowOnError extends boolean = false>(options?: Options<GetContactData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<import("./types.gen").BillingContact, unknown, ThrowOnError>;
77
+ static createToken<ThrowOnError extends boolean = false>(options: Options<CreateTokenData, ThrowOnError>): import("./client").RequestResult<CreateTokenResponses, CreateTokenErrors, ThrowOnError, "fields">;
63
78
  /**
64
- * Update organization contact information and billing address.
65
- * This endpoint allows you to update organization details with its contact information. This endpoint is available to administrators of the organization only.
79
+ * Permanently delete access token.
80
+ *
81
+ * This endpoint allows you to delete an access token. For more information about identity access management and security, see [Service Accounts](https://cloudfleet.ai/docs/organization/api-tokens/) section of documentaiton. This endpoint is available to administrators of the organization only.
66
82
  *
67
83
  */
68
- static updateContact<ThrowOnError extends boolean = false>(options: Options<UpdateContactData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<import("./types.gen").BillingContact, unknown, ThrowOnError>;
69
- }
70
- export declare class ClustersService {
84
+ static deleteToken<ThrowOnError extends boolean = false>(options: Options<DeleteTokenData, ThrowOnError>): import("./client").RequestResult<DeleteTokenResponses, unknown, ThrowOnError, "fields">;
71
85
  /**
72
- * List fleets.
73
- * Returns a list of fleets belonging to the cluster. For more information, see [Fleets and fleet types](https://cloudfleet.ai/docs/cloud-infrastructure/fleets-and-fleet-types/) section of documentaiton.
86
+ * Get access token information.
74
87
  *
75
- * This endpoint is available to all users in the organization.
88
+ * This endpoint allows you to get access token details. For more information about identity access management and security, see [Service Accounts](https://cloudfleet.ai/docs/organization/api-tokens/) section of documentaiton. This endpoint is available to all users in the organization.
76
89
  *
77
90
  */
78
- static listFleets<ThrowOnError extends boolean = false>(options: Options<ListFleetsData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<import("./types.gen").Fleet[], unknown, ThrowOnError>;
91
+ static getToken<ThrowOnError extends boolean = false>(options: Options<GetTokenData, ThrowOnError>): import("./client").RequestResult<GetTokenResponses, GetTokenErrors, ThrowOnError, "fields">;
79
92
  /**
80
- * Create a new fleet.
81
- * 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 and fleet types](https://cloudfleet.ai/docs/cloud-infrastructure/fleets-and-fleet-types/) section of documentaiton.
93
+ * Update access token information.
94
+ *
95
+ * This endpoint allows you to update access token details. For more information about identity access management and security, see [Service Accounts](https://cloudfleet.ai/docs/organization/api-tokens/) section of documentaiton.
82
96
  *
83
97
  * This endpoint is available to administrators of the organization only.
84
98
  *
85
99
  */
86
- static createFleet<ThrowOnError extends boolean = false>(options: Options<CreateFleetData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<string, string, ThrowOnError>;
100
+ static updateToken<ThrowOnError extends boolean = false>(options: Options<UpdateTokenData, ThrowOnError>): import("./client").RequestResult<UpdateTokenResponses, UpdateTokenErrors, ThrowOnError, "fields">;
87
101
  /**
88
- * Permanently delete fleet.
89
- * This endpoint will permanently delete fleet. This operation cannot be undone. Your subscription will end by the end of the current billing period and you will not be able to receive credit for unused time. If you want to keep using the Connected Fleet until the end of the billing period, set the status to `cancelling`. For more information, see [Fleets and fleet types](https://cloudfleet.ai/docs/cloud-infrastructure/fleets-and-fleet-types/) section of documentaiton.
102
+ * Regenerate access token secret key.
90
103
  *
91
- * This endpoint is available to administrators of the organization only.
104
+ * Generates a new access token secret. Old secret will not be valid anymore.
105
+ */
106
+ static regenerateToken<ThrowOnError extends boolean = false>(options: Options<RegenerateTokenData, ThrowOnError>): import("./client").RequestResult<RegenerateTokenResponses, RegenerateTokenErrors, ThrowOnError, "fields">;
107
+ }
108
+ export declare class TicketsService {
109
+ /**
110
+ * List tickets for the current organization.
111
+ *
112
+ * Returns all tickets belonging to the caller's organization, newest first.
92
113
  *
93
114
  */
94
- static deleteFleet<ThrowOnError extends boolean = false>(options: Options<DeleteFleetData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<string, unknown, ThrowOnError>;
115
+ static listTickets<ThrowOnError extends boolean = false>(options?: Options<ListTicketsData, ThrowOnError>): import("./client").RequestResult<ListTicketsResponses, unknown, ThrowOnError, "fields">;
95
116
  /**
96
- * Get fleet information.
97
- * Returns fleet details. For more information, see [Fleets and fleet types](https://cloudfleet.ai/docs/cloud-infrastructure/fleets-and-fleet-types/) section of documentaiton.
117
+ * Create a new support ticket.
98
118
  *
99
- * This endpoint is available to all users in the organization.
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).
100
120
  *
101
121
  */
102
- static getFleet<ThrowOnError extends boolean = false>(options: Options<GetFleetData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<import("./types.gen").Fleet, unknown, ThrowOnError>;
122
+ static createTicket<ThrowOnError extends boolean = false>(options: Options<CreateTicketData, ThrowOnError>): import("./client").RequestResult<CreateTicketResponses, unknown, ThrowOnError, "fields">;
103
123
  /**
104
- * Update fleet information.
105
- * This endpoint allows you to update fleet details.
124
+ * Close a ticket (soft close).
106
125
  *
107
- * Setting status to `deleted` will permanently delete fleet. This operation cannot be undone. Your subscription will end by the end of the current billing period and you will not be able to receive credit for unused time. If you want to keep using the Connected Fleet until the end of the billing period, set the status to `cancelling`.
126
+ * Marks the ticket as closed. Closed is a terminal state users cannot reply to a closed ticket; a new ticket must be opened instead.
108
127
  *
109
- * For more information, see [Fleets and fleet types](https://cloudfleet.ai/docs/cloud-infrastructure/fleets-and-fleet-types/) section of documentaiton.
128
+ */
129
+ static closeTicket<ThrowOnError extends boolean = false>(options: Options<CloseTicketData, ThrowOnError>): import("./client").RequestResult<CloseTicketResponses, unknown, ThrowOnError, "fields">;
130
+ /**
131
+ * Get a ticket and its messages.
132
+ */
133
+ static getTicket<ThrowOnError extends boolean = false>(options: Options<GetTicketData, ThrowOnError>): import("./client").RequestResult<GetTicketResponses, unknown, ThrowOnError, "fields">;
134
+ /**
135
+ * Append a customer reply to a ticket.
110
136
  *
111
- * This endpoint is available to administrators of the organization only.
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.
112
138
  *
113
139
  */
114
- static updateFleet<ThrowOnError extends boolean = false>(options: Options<UpdateFleetData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<string, string, ThrowOnError>;
140
+ static replyTicket<ThrowOnError extends boolean = false>(options: Options<ReplyTicketData, ThrowOnError>): import("./client").RequestResult<ReplyTicketResponses, ReplyTicketErrors, ThrowOnError, "fields">;
115
141
  /**
116
- * Query Kubernetes cluster API
117
- * 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.
118
143
  */
119
- static queryCluster<ThrowOnError extends boolean = false>(options: Options<QueryClusterData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<unknown, unknown, ThrowOnError>;
144
+ static getTicketAttachment<ThrowOnError extends boolean = false>(options: Options<GetTicketAttachmentData, ThrowOnError>): import("./client").RequestResult<GetTicketAttachmentResponses, unknown, ThrowOnError, "fields">;
145
+ }
146
+ export declare class RegistryService {
120
147
  /**
121
- * List clusters.
122
- * 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
123
149
  *
124
- * 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.
125
151
  *
126
152
  */
127
- static listClusters<ThrowOnError extends boolean = false>(options?: Options<ListClustersData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<import("./types.gen").Cluster[], unknown, ThrowOnError>;
153
+ static listRepositories<ThrowOnError extends boolean = false>(options?: Options<ListRepositoriesData, ThrowOnError>): import("./client").RequestResult<ListRepositoriesResponses, ListRepositoriesErrors, ThrowOnError, "fields">;
128
154
  /**
129
- * Create a new cluster.
130
- * Create a new cluster under the current organization. Clusters allow you to group resources and you can create multiple clusters under the same organization, with billing delegated to the parent organization.
155
+ * List tags for a repository
131
156
  *
132
- * This endpoint is available to administrators of the organization only.
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.
133
158
  *
134
159
  */
135
- static createCluster<ThrowOnError extends boolean = false>(options: Options<CreateClusterData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<string, string, ThrowOnError>;
160
+ static listTags<ThrowOnError extends boolean = false>(options: Options<ListTagsData, ThrowOnError>): import("./client").RequestResult<ListTagsResponses, ListTagsErrors, ThrowOnError, "fields">;
136
161
  /**
137
- * Permanently delete cluster.
138
- * This endpoint will permanently delete the cluster. This operation cannot be undone.
162
+ * Delete tag
139
163
  *
140
- * This endpoint is available to administrators of the organization only.
164
+ * Permanently deletes a specific tag from a repository. This endpoint is available to administrators of the organization only.
141
165
  *
142
166
  */
143
- static deleteCluster<ThrowOnError extends boolean = false>(options: Options<DeleteClusterData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<string, unknown, ThrowOnError>;
167
+ static deleteTag<ThrowOnError extends boolean = false>(options: Options<DeleteTagData, ThrowOnError>): import("./client").RequestResult<DeleteTagResponses, DeleteTagErrors, ThrowOnError, "fields">;
144
168
  /**
145
- * Get cluster information.
146
- * Returns cluster details 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.
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.
172
+ *
173
+ */
174
+ static getTag<ThrowOnError extends boolean = false>(options: Options<GetTagData, ThrowOnError>): import("./client").RequestResult<GetTagResponses, GetTagErrors, ThrowOnError, "fields">;
175
+ }
176
+ export declare class OrganizationService {
177
+ /**
178
+ * Get organization information.
179
+ *
180
+ * Returns organization details including quota. For more information about quotas, see [Quotas and limits](https://cloudfleet.ai/docs/organization/quotas/) section of documentaiton.
147
181
  *
148
182
  * This endpoint is available to all users in the organization.
149
183
  *
150
184
  */
151
- static getCluster<ThrowOnError extends boolean = false>(options: Options<GetClusterData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<import("./types.gen").Cluster, unknown, ThrowOnError>;
185
+ static getOrganization<ThrowOnError extends boolean = false>(options?: Options<GetOrganizationData, ThrowOnError>): import("./client").RequestResult<GetOrganizationResponses, unknown, ThrowOnError, "fields">;
152
186
  /**
153
- * Update cluster information.
154
- * This endpoint allows you to update cluster details, including quota and cluster status. For more information about clusters, see [Clusters](https://cloudfleet.ai/docs/cluster-management/cluster-types/) section of documentaiton.
187
+ * Create a new organization / Cloudfleet account signup.
155
188
  *
156
- * This endpoint is available to administrators of the organization only.
189
+ * This endpoint allows you to create a new Cloudfleet organization and an administrator user.
157
190
  *
158
191
  */
159
- static updateCluster<ThrowOnError extends boolean = false>(options: Options<UpdateClusterData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<import("./types.gen").Cluster, unknown, ThrowOnError>;
192
+ static createOrganization<ThrowOnError extends boolean = false>(options: Options<CreateOrganizationData, ThrowOnError>): import("./client").RequestResult<CreateOrganizationResponses, unknown, ThrowOnError, "fields">;
160
193
  /**
161
- * Node join information for the cluster
162
- * Returns the join information for the cluster. This information is used to add a self-managed cluster to the CFKE cluster. This endpoint is available to only admins of the organization.
194
+ * Get the organization's consent status for the new Basic price.
195
+ *
196
+ * Returns the organization's consent status for the migration from the free tier to the paid Basic plan. `pending` means an administrator must opt in; `not_applicable` means the organization is not in scope for the migration; `accepted` / `rejected` reflect a recorded decision.
197
+ *
198
+ * This endpoint is available to all users in the organization and drives the consent dialog in the console.
163
199
  *
164
200
  */
165
- static getJoinInformation<ThrowOnError extends boolean = false>(options: Options<GetJoinInformationData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<import("./types.gen").Cluster, unknown, ThrowOnError>;
201
+ static getBasicPriceConsent<ThrowOnError extends boolean = false>(options?: Options<GetBasicPriceConsentData, ThrowOnError>): import("./client").RequestResult<GetBasicPriceConsentResponses, unknown, ThrowOnError, "fields">;
202
+ /**
203
+ * Record an administrator's decision on the new Basic price.
204
+ *
205
+ * Records an affirmative decision to continue on the paid Basic plan (`accepted`) or to opt out (`rejected`). This is an organization-binding financial decision, so it is restricted to administrators. Each call appends an immutable audit entry (who and when) and sends a confirmation email to the acting administrator.
206
+ *
207
+ */
208
+ static setBasicPriceConsent<ThrowOnError extends boolean = false>(options: Options<SetBasicPriceConsentData, ThrowOnError>): import("./client").RequestResult<SetBasicPriceConsentResponses, SetBasicPriceConsentErrors, ThrowOnError, "fields">;
166
209
  }
167
- export declare class InfrastructureService {
168
- /**
169
- * Search infrastructure catalog.
170
- * This endpoint is used to search the infrastructure catalog for the right virtual machine / instance type when creating a new task. The search is performed by specifying a set of filters. The filters are combined using the logical AND operator. For example, if you want to find all available instances with Nvidia A100 GPUs in the US, you would use the following query:
171
- *
172
- * `GET /infrastructure?accelerator_name=A100&region=northamerica`
173
- *
174
- * Catalog is dynamic and updated regularly to reflect the latest changes in the cloud providers' offerings. Although we try to keep the catalog up to date, it is possible that some instances are missing or that some information is outdated. It is possible that the final price you will see in the billing section will be different from the price shown in the catalog. Additionally, catalog does not account for any limitaitons and quotas set by the cloud providers, as well as current availability of specific instance types.
175
- *
176
- * **Note:** This endpoint is available for both authenticated and unauthenticated users. However, unauthenticated users will only see limited results and will be rate limited. To get full access to the catalog, please create a Cloudfleet account and log in.
177
- *
178
- * For full documentation of the infrastructure catalog, see [Cloud providers and instance types](https://cloudfleet.ai/docs/cloud-infrastructure/) section of the documentation.
179
- *
180
- */
181
- static getInfrastructure<ThrowOnError extends boolean = false>(options?: Options<GetInfrastructureData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<import("./types.gen").InfrastructureInstance[], string, ThrowOnError>;
182
- /**
183
- * Infrastructure catalog facets.
184
- * This endpoint returns calculated search facets from the infrastructure catalog.
185
- *
186
- */
187
- static getFacets<ThrowOnError extends boolean = false>(options?: Options<GetFacetsData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<{
188
- provider?: Array<string>;
189
- region?: Array<string>;
190
- sub_region?: Array<string>;
191
- csp_region?: Array<string>;
192
- vcpu_min?: number;
193
- vcpu_max?: number;
194
- memory_min?: number;
195
- memory_max?: number;
196
- storage_local_min?: number;
197
- storage_local_max?: number;
198
- accelerator_name?: Array<string>;
199
- accelerator_manufacturer?: Array<string>;
200
- accelerator_count_min?: number;
201
- accelerator_count_max?: number;
202
- accelerator_memory_min?: number;
203
- accelerator_memory_max?: number;
204
- price_min?: number;
205
- price_max?: number;
206
- regions_struct?: Array<{
207
- region?: string;
208
- sub_region?: Array<string>;
209
- }>;
210
- accelerators_struct?: Array<{
211
- accelerator_manufacturer?: string;
212
- accelerator_name?: Array<string>;
213
- }>;
214
- count_total?: number;
215
- count_accelerators?: number;
216
- count_instance_types?: number;
217
- count_accelerators_instance_types?: number;
218
- }[], unknown, ThrowOnError>;
219
- /**
220
- * Available Cloudfleet regions and Kubernetes versions.
221
- * Available Cloudfleet regions and Kubernetes versions.
222
- *
223
- */
224
- static getRegions<ThrowOnError extends boolean = false>(options?: Options<GetRegionsData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<{
225
- [key: string]: unknown;
226
- }, unknown, ThrowOnError>;
210
+ export declare class McpService {
211
+ /**
212
+ * MCP endpoint
213
+ *
214
+ * MCP endpoint for handling Model Context Protocol JSON-RPC 2.0 messages.
215
+ */
216
+ static postMcp<ThrowOnError extends boolean = false>(options: Options<PostMcpData, ThrowOnError>): import("./client").RequestResult<PostMcpResponses, PostMcpErrors, ThrowOnError, "fields">;
217
+ }
218
+ export declare class ChartsMarketplaceService {
219
+ /**
220
+ * List chart listings available in the marketplace.
221
+ *
222
+ * Returns a list of available charts in the marketplace.
223
+ *
224
+ * This endpoint is available to all users in the organization.
225
+ *
226
+ */
227
+ static listMarketplaceCharts<ThrowOnError extends boolean = false>(options?: Options<ListMarketplaceChartsData, ThrowOnError>): import("./client").RequestResult<ListMarketplaceChartsResponses, ListMarketplaceChartsErrors, ThrowOnError, "fields">;
228
+ /**
229
+ * Get chart files for a specific version channel.
230
+ *
231
+ * Returns the Chart.yaml, values.yaml, and values.schema.json files for the latest version matching the specified version channel.
232
+ *
233
+ * 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.
234
+ *
235
+ * This endpoint is available to all users in the organization.
236
+ *
237
+ */
238
+ static getMarketplaceChartFiles<ThrowOnError extends boolean = false>(options: Options<GetMarketplaceChartFilesData, ThrowOnError>): import("./client").RequestResult<GetMarketplaceChartFilesResponses, GetMarketplaceChartFilesErrors, ThrowOnError, "fields">;
227
239
  }
228
240
  export declare class InvitesService {
229
241
  /**
230
242
  * List invites.
231
- * Returns a list of invites under the current organization. This endpoint is available to all users in the organization.
243
+ *
244
+ * Returns a list of pending (non-expired) invites under the current organization. This endpoint is available to administrators of the organization only.
232
245
  *
233
246
  */
234
- static listInvites<ThrowOnError extends boolean = false>(options?: Options<ListInvitesData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<import("./types.gen").Invite[], unknown, ThrowOnError>;
247
+ static listInvites<ThrowOnError extends boolean = false>(options?: Options<ListInvitesData, ThrowOnError>): import("./client").RequestResult<ListInvitesResponses, ListInvitesErrors, ThrowOnError, "fields">;
235
248
  /**
236
249
  * Create a new invite.
237
- * Invite a new user to your CloudFlett organization. The user will receive an email with a link to create a new account. This endpoint is available to administrators of the organization only.
250
+ *
251
+ * Invite a new user to your Cloudfleet organization. The user will receive an email with a link to create a new account. This endpoint is available to administrators of the organization only.
238
252
  *
239
253
  */
240
- static createInvite<ThrowOnError extends boolean = false>(options: Options<CreateInviteData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<import("./types.gen").Invite, unknown, ThrowOnError>;
254
+ static createInvite<ThrowOnError extends boolean = false>(options: Options<CreateInviteData, ThrowOnError>): import("./client").RequestResult<CreateInviteResponses, unknown, ThrowOnError, "fields">;
241
255
  /**
242
256
  * Get invite information.
243
- * Returns invite details.
257
+ *
258
+ * 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.
244
259
  *
245
260
  */
246
- static getInvite<ThrowOnError extends boolean = false>(options: Options<GetInviteData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<import("./types.gen").Invite, unknown, ThrowOnError>;
261
+ static getInvite<ThrowOnError extends boolean = false>(options: Options<GetInviteData, ThrowOnError>): import("./client").RequestResult<GetInviteResponses, unknown, ThrowOnError, "fields">;
247
262
  /**
248
263
  * Permanently delete invite.
264
+ *
249
265
  * Permanently deletes invite from the organization. This endpoint is available to administrators of the organization only.
250
266
  *
251
267
  */
252
- static deleteInvite<ThrowOnError extends boolean = false>(options: Options<DeleteInviteData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<unknown, unknown, ThrowOnError>;
268
+ static deleteInvite<ThrowOnError extends boolean = false>(options: Options<DeleteInviteData, ThrowOnError>): import("./client").RequestResult<DeleteInviteResponses, unknown, ThrowOnError, "fields">;
253
269
  }
254
- export declare class OrganizationService {
270
+ export declare class ClustersService {
255
271
  /**
256
- * Get organization information.
257
- * Returns organization details including quota. For more information about quotas, see [Quotas and limits](https://cloudfleet.ai/docs/organization/quotas/) section of documentaiton.
272
+ * Query Kubernetes cluster API
273
+ *
274
+ * 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.
275
+ */
276
+ static queryCluster<ThrowOnError extends boolean = false>(options: Options<QueryClusterData, ThrowOnError>): import("./client").RequestResult<QueryClusterResponses, QueryClusterErrors, ThrowOnError, "fields">;
277
+ /**
278
+ * List fleets.
279
+ *
280
+ * Returns a list of fleets belonging to the cluster. For more information, see [Fleets](https://cloudfleet.ai/docs/cloud-infrastructure/fleets/) section of documentaiton.
258
281
  *
259
282
  * This endpoint is available to all users in the organization.
260
283
  *
261
284
  */
262
- static getOrganization<ThrowOnError extends boolean = false>(options?: Options<GetOrganizationData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<import("./types.gen").Organization, unknown, ThrowOnError>;
285
+ static listFleets<ThrowOnError extends boolean = false>(options: Options<ListFleetsData, ThrowOnError>): import("./client").RequestResult<ListFleetsResponses, ListFleetsErrors, ThrowOnError, "fields">;
263
286
  /**
264
- * Create a new organization / Cloudfleet account signup.
265
- * This endpoint allows you to create a new Cloudfleet organization and an administrator user.
287
+ * Create a new fleet.
288
+ *
289
+ * 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.
290
+ *
291
+ * The cluster must be ready (status `deployed`) before a fleet can be added. Adding a fleet while the cluster is still provisioning returns `409`.
292
+ *
293
+ * This endpoint is available to administrators of the organization only.
266
294
  *
267
295
  */
268
- static createOrganization<ThrowOnError extends boolean = false>(options: Options<CreateOrganizationData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<unknown, unknown, ThrowOnError>;
269
- }
270
- export declare class TokensService {
296
+ static createFleet<ThrowOnError extends boolean = false>(options: Options<CreateFleetData, ThrowOnError>): import("./client").RequestResult<CreateFleetResponses, CreateFleetErrors, ThrowOnError, "fields">;
271
297
  /**
272
- * List access tokens in organization.
273
- * 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.
298
+ * Permanently delete fleet.
299
+ *
300
+ * 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.
301
+ *
302
+ * 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.
303
+ *
304
+ * This endpoint is available to administrators of the organization only.
274
305
  *
275
306
  */
276
- static listTokens<ThrowOnError extends boolean = false>(options?: Options<ListTokensData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<import("./types.gen").Token[], unknown, ThrowOnError>;
307
+ static deleteFleet<ThrowOnError extends boolean = false>(options: Options<DeleteFleetData, ThrowOnError>): import("./client").RequestResult<DeleteFleetResponses, DeleteFleetErrors, ThrowOnError, "fields">;
277
308
  /**
278
- * Create a new access token.
279
- * 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.
309
+ * Get fleet information.
310
+ *
311
+ * Returns fleet details. For more information, see [Fleets](https://cloudfleet.ai/docs/cloud-infrastructure/fleets/) section of documentaiton.
312
+ *
313
+ * This endpoint is available to all users in the organization.
314
+ *
315
+ */
316
+ static getFleet<ThrowOnError extends boolean = false>(options: Options<GetFleetData, ThrowOnError>): import("./client").RequestResult<GetFleetResponses, unknown, ThrowOnError, "fields">;
317
+ /**
318
+ * Update fleet information.
319
+ *
320
+ * This endpoint allows you to update fleet details.
321
+ *
322
+ * For more information, see [Fleets](https://cloudfleet.ai/docs/cloud-infrastructure/fleets/) section of documentaiton.
323
+ *
324
+ * 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).
280
325
  *
281
326
  * This endpoint is available to administrators of the organization only.
282
327
  *
283
328
  */
284
- static createToken<ThrowOnError extends boolean = false>(options: Options<CreateTokenData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<import("./types.gen").Token, unknown, ThrowOnError>;
329
+ static updateFleet<ThrowOnError extends boolean = false>(options: Options<UpdateFleetData, ThrowOnError>): import("./client").RequestResult<UpdateFleetResponses, UpdateFleetErrors, ThrowOnError, "fields">;
285
330
  /**
286
- * Permanently delete access token.
287
- * 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.
331
+ * List charts.
332
+ *
333
+ * Returns a list of charts in the cluster.
334
+ *
335
+ * This endpoint is available to all users in the organization.
288
336
  *
289
337
  */
290
- static deleteToken<ThrowOnError extends boolean = false>(options: Options<DeleteTokenData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<unknown, unknown, ThrowOnError>;
338
+ static listCharts<ThrowOnError extends boolean = false>(options: Options<ListChartsData, ThrowOnError>): import("./client").RequestResult<ListChartsResponses, ListChartsErrors, ThrowOnError, "fields">;
291
339
  /**
292
- * Get access token information.
293
- * 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.
340
+ * Create a new chart.
341
+ *
342
+ * Create a new chart deployment.
343
+ *
344
+ * This endpoint is available to administrators of the organization only.
294
345
  *
295
346
  */
296
- static getToken<ThrowOnError extends boolean = false>(options: Options<GetTokenData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<import("./types.gen").Token, unknown, ThrowOnError>;
347
+ static createChart<ThrowOnError extends boolean = false>(options: Options<CreateChartData, ThrowOnError>): import("./client").RequestResult<CreateChartResponses, CreateChartErrors, ThrowOnError, "fields">;
297
348
  /**
298
- * Update access token information.
299
- * 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.
349
+ * Permanently delete the chart deployment from the cluster.
350
+ *
351
+ * This endpoint will permanently delete chart. This operation cannot be undone.
300
352
  *
301
353
  * This endpoint is available to administrators of the organization only.
302
354
  *
303
355
  */
304
- static updateToken<ThrowOnError extends boolean = false>(options: Options<UpdateTokenData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<import("./types.gen").Token, unknown, ThrowOnError>;
356
+ static deleteChart<ThrowOnError extends boolean = false>(options: Options<DeleteChartData, ThrowOnError>): import("./client").RequestResult<DeleteChartResponses, DeleteChartErrors, ThrowOnError, "fields">;
305
357
  /**
306
- * Regenerate access token secret key.
307
- * Generates a new access token secret. Old secret will not be valid anymore.
358
+ * Get chart information.
359
+ *
360
+ * Returns the details of the chart deployment.
361
+ *
362
+ * This endpoint is available to all users in the organization.
363
+ *
308
364
  */
309
- static regenerateToken<ThrowOnError extends boolean = false>(options: Options<RegenerateTokenData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<import("./types.gen").Token, unknown, ThrowOnError>;
310
- }
311
- export declare class UsersService {
365
+ static getChart<ThrowOnError extends boolean = false>(options: Options<GetChartData, ThrowOnError>): import("./client").RequestResult<GetChartResponses, unknown, ThrowOnError, "fields">;
312
366
  /**
313
- * Get a list of organizations the user belongs to. Used during authentication process.
367
+ * Update chart information.
368
+ *
369
+ * This endpoint allows you to update the values of a chart deployment.
370
+ *
371
+ * This endpoint is available to administrators of the organization only.
372
+ *
314
373
  */
315
- static listUserOrganizations<ThrowOnError extends boolean = false>(options: Options<ListUserOrganizationsData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<{
316
- realm?: string;
317
- displayName?: string;
318
- }[], unknown, ThrowOnError>;
374
+ static updateChart<ThrowOnError extends boolean = false>(options: Options<UpdateChartData, ThrowOnError>): import("./client").RequestResult<UpdateChartResponses, UpdateChartErrors, ThrowOnError, "fields">;
319
375
  /**
320
- * List users in organization.
321
- * Returns a list of user details, including roles and cluster permissions. For more information on identity access management, see [Users](https://cloudfleet.ai/docs/organization/users/) section of documentaiton.
376
+ * List clusters.
377
+ *
378
+ * Returns a list of clusters under the current organization.
322
379
  *
323
380
  * This endpoint is available to all users in the organization.
324
381
  *
325
382
  */
326
- static listUsers<ThrowOnError extends boolean = false>(options?: Options<ListUsersData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<import("./types.gen").User[], unknown, ThrowOnError>;
383
+ static listClusters<ThrowOnError extends boolean = false>(options?: Options<ListClustersData, ThrowOnError>): import("./client").RequestResult<ListClustersResponses, ListClustersErrors, ThrowOnError, "fields">;
327
384
  /**
328
- * Create a new user.
329
- * Create a new user in your CloudFlett 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.
385
+ * Create a new cluster.
386
+ *
387
+ * 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.
388
+ *
389
+ * This endpoint is available to administrators of the organization only.
330
390
  *
331
391
  */
332
- static createUser<ThrowOnError extends boolean = false>(options: Options<CreateUserData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<import("./types.gen").User, unknown, ThrowOnError>;
392
+ static createCluster<ThrowOnError extends boolean = false>(options: Options<CreateClusterData, ThrowOnError>): import("./client").RequestResult<CreateClusterResponses, CreateClusterErrors, ThrowOnError, "fields">;
333
393
  /**
334
- * Delete user by id.
335
- * Sets user status to `inactive`. Inactive users cannot log in and manage organization resources. This endpoint is available to administrators of the organization only.
394
+ * Permanently delete cluster.
395
+ *
396
+ * This endpoint will permanently delete the cluster. This operation cannot be undone.
397
+ *
398
+ * 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.
399
+ *
400
+ * This endpoint is available to administrators of the organization only.
336
401
  *
337
402
  */
338
- static deleteUser<ThrowOnError extends boolean = false>(options: Options<DeleteUserData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<import("./types.gen").User, unknown, ThrowOnError>;
403
+ static deleteCluster<ThrowOnError extends boolean = false>(options: Options<DeleteClusterData, ThrowOnError>): import("./client").RequestResult<DeleteClusterResponses, DeleteClusterErrors, ThrowOnError, "fields">;
339
404
  /**
340
- * Get user profile information by id.
341
- * Returns user details, including roles and cluster permissions. For more information on identity access management, see [Users](https://cloudfleet.ai/docs/organization/users/) section of documentaiton.
405
+ * Get cluster information.
406
+ *
407
+ * Returns cluster details.
342
408
  *
343
409
  * This endpoint is available to all users in the organization.
344
410
  *
345
411
  */
346
- static getUser<ThrowOnError extends boolean = false>(options: Options<GetUserData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<import("./types.gen").User, unknown, ThrowOnError>;
412
+ static getCluster<ThrowOnError extends boolean = false>(options: Options<GetClusterData, ThrowOnError>): import("./client").RequestResult<GetClusterResponses, unknown, ThrowOnError, "fields">;
347
413
  /**
348
- * Update user profile information.
349
- * 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.
414
+ * Update cluster information.
415
+ *
416
+ * 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.
417
+ *
418
+ * This is a full overwrite: any field omitted from the request is reset to its default rather than left unchanged.
419
+ *
420
+ * This endpoint is available to administrators of the organization only.
421
+ *
422
+ */
423
+ static updateCluster<ThrowOnError extends boolean = false>(options: Options<UpdateClusterData, ThrowOnError>): import("./client").RequestResult<UpdateClusterResponses, UpdateClusterErrors, ThrowOnError, "fields">;
424
+ /**
425
+ * Node join information for the cluster
426
+ *
427
+ * 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.
428
+ *
429
+ */
430
+ static getJoinInformation<ThrowOnError extends boolean = false>(options: Options<GetJoinInformationData, ThrowOnError>): import("./client").RequestResult<GetJoinInformationResponses, GetJoinInformationErrors, ThrowOnError, "fields">;
431
+ }
432
+ export declare class BillingService {
433
+ /**
434
+ * Get billing usage information.
435
+ *
436
+ * 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.
437
+ *
438
+ */
439
+ static getUsage<ThrowOnError extends boolean = false>(options?: Options<GetUsageData, ThrowOnError>): import("./client").RequestResult<GetUsageResponses, GetUsageErrors, ThrowOnError, "fields">;
440
+ /**
441
+ * Get Stripe client secret.
442
+ *
443
+ * 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.
350
444
  *
351
445
  */
352
- static updateUser<ThrowOnError extends boolean = false>(options: Options<UpdateUserData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<import("./types.gen").User, unknown, ThrowOnError>;
446
+ static getPaymentMethodSecret<ThrowOnError extends boolean = false>(options?: Options<GetPaymentMethodSecretData, ThrowOnError>): import("./client").RequestResult<GetPaymentMethodSecretResponses, unknown, ThrowOnError, "fields">;
353
447
  /**
354
- * Remove user from cluster.
355
- * Removes user from the cluster. The user will no longer be able to access the cluster and all its resources. This endpoint is available to administrators of the organization only.
448
+ * List organization payment methods.
449
+ *
450
+ * 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.
356
451
  *
357
452
  */
358
- static deleteClusterPermissions<ThrowOnError extends boolean = false>(options: Options<DeleteClusterPermissionsData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<import("./types.gen").User, unknown, ThrowOnError>;
453
+ static listPaymentMethods<ThrowOnError extends boolean = false>(options?: Options<ListPaymentMethodsData, ThrowOnError>): import("./client").RequestResult<ListPaymentMethodsResponses, ListPaymentMethodsErrors, ThrowOnError, "fields">;
359
454
  /**
360
- * Add user to cluster and set permissions.
361
- * Add user to the cluster and set / update access permissions. This endpoint is available to administrators of the organization only.
455
+ * Set the default payment method.
456
+ *
457
+ * Sets the given payment method as the default used for invoices and active subscriptions. Requires the Administrator role.
458
+ *
459
+ */
460
+ static setDefaultPaymentMethod<ThrowOnError extends boolean = false>(options: Options<SetDefaultPaymentMethodData, ThrowOnError>): import("./client").RequestResult<SetDefaultPaymentMethodResponses, SetDefaultPaymentMethodErrors, ThrowOnError, "fields">;
461
+ /**
462
+ * Delete a payment method.
463
+ *
464
+ * 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.
465
+ *
466
+ */
467
+ static deletePaymentMethod<ThrowOnError extends boolean = false>(options: Options<DeletePaymentMethodData, ThrowOnError>): import("./client").RequestResult<DeletePaymentMethodResponses, DeletePaymentMethodErrors, ThrowOnError, "fields">;
468
+ /**
469
+ * List issued invoices.
470
+ *
471
+ * 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.
472
+ *
473
+ */
474
+ static listInvoices<ThrowOnError extends boolean = false>(options?: Options<ListInvoicesData, ThrowOnError>): import("./client").RequestResult<ListInvoicesResponses, ListInvoicesErrors, ThrowOnError, "fields">;
475
+ /**
476
+ * Get organization contact and billing address information.
477
+ *
478
+ * Returns the organization contact and billing address information. This endpoint is available to all users in the organization.
479
+ *
480
+ */
481
+ static getContact<ThrowOnError extends boolean = false>(options?: Options<GetContactData, ThrowOnError>): import("./client").RequestResult<GetContactResponses, unknown, ThrowOnError, "fields">;
482
+ /**
483
+ * Update organization contact information and billing address.
484
+ *
485
+ * This endpoint allows you to update organization details with its contact information. This endpoint is available to administrators of the organization only.
486
+ *
487
+ */
488
+ static updateContact<ThrowOnError extends boolean = false>(options: Options<UpdateContactData, ThrowOnError>): import("./client").RequestResult<UpdateContactResponses, unknown, ThrowOnError, "fields">;
489
+ /**
490
+ * Get applied promotional credits
491
+ *
492
+ * 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.
493
+ *
494
+ */
495
+ static getCredits<ThrowOnError extends boolean = false>(options?: Options<GetCreditsData, ThrowOnError>): import("./client").RequestResult<GetCreditsResponses, GetCreditsErrors, ThrowOnError, "fields">;
496
+ /**
497
+ * Redeem promotional credits code.
498
+ *
499
+ * 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.
362
500
  *
363
501
  */
364
- static setClusterPermissions<ThrowOnError extends boolean = false>(options: Options<SetClusterPermissionsData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<import("./types.gen").User, unknown, ThrowOnError>;
502
+ static redeemCredits<ThrowOnError extends boolean = false>(options: Options<RedeemCreditsData, ThrowOnError>): import("./client").RequestResult<RedeemCreditsResponses, RedeemCreditsErrors, ThrowOnError, "fields">;
365
503
  }
366
504
  //# sourceMappingURL=sdk.gen.d.ts.map