@cloudfleet/sdk 0.0.1-638a41b → 0.0.1-64ee009

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 (83) hide show
  1. package/dist/client/client.gen.d.ts +3 -0
  2. package/dist/client/client.gen.d.ts.map +1 -0
  3. package/dist/client/client.gen.js +235 -0
  4. package/dist/client/client.gen.js.map +1 -0
  5. package/dist/client/index.d.ts +9 -0
  6. package/dist/client/index.d.ts.map +1 -0
  7. package/dist/client/index.js +7 -0
  8. package/dist/client/index.js.map +1 -0
  9. package/dist/client/types.gen.d.ts +118 -0
  10. package/dist/client/types.gen.d.ts.map +1 -0
  11. package/dist/client/types.gen.js +3 -0
  12. package/dist/client/types.gen.js.map +1 -0
  13. package/dist/client/utils.gen.d.ts +34 -0
  14. package/dist/client/utils.gen.d.ts.map +1 -0
  15. package/dist/client/utils.gen.js +229 -0
  16. package/dist/client/utils.gen.js.map +1 -0
  17. package/dist/client.gen.d.ts +13 -0
  18. package/dist/client.gen.d.ts.map +1 -0
  19. package/dist/client.gen.js +4 -0
  20. package/dist/client.gen.js.map +1 -0
  21. package/dist/core/auth.gen.d.ts +19 -0
  22. package/dist/core/auth.gen.d.ts.map +1 -0
  23. package/dist/core/auth.gen.js +15 -0
  24. package/dist/core/auth.gen.js.map +1 -0
  25. package/dist/core/bodySerializer.gen.d.ts +26 -0
  26. package/dist/core/bodySerializer.gen.d.ts.map +1 -0
  27. package/dist/core/bodySerializer.gen.js +58 -0
  28. package/dist/core/bodySerializer.gen.js.map +1 -0
  29. package/dist/core/params.gen.d.ts +44 -0
  30. package/dist/core/params.gen.d.ts.map +1 -0
  31. package/dist/core/params.gen.js +101 -0
  32. package/dist/core/params.gen.js.map +1 -0
  33. package/dist/core/pathSerializer.gen.d.ts +34 -0
  34. package/dist/core/pathSerializer.gen.d.ts.map +1 -0
  35. package/dist/core/pathSerializer.gen.js +107 -0
  36. package/dist/core/pathSerializer.gen.js.map +1 -0
  37. package/dist/core/queryKeySerializer.gen.d.ts +19 -0
  38. package/dist/core/queryKeySerializer.gen.d.ts.map +1 -0
  39. package/dist/core/queryKeySerializer.gen.js +93 -0
  40. package/dist/core/queryKeySerializer.gen.js.map +1 -0
  41. package/dist/core/serverSentEvents.gen.d.ts +72 -0
  42. package/dist/core/serverSentEvents.gen.d.ts.map +1 -0
  43. package/dist/core/serverSentEvents.gen.js +134 -0
  44. package/dist/core/serverSentEvents.gen.js.map +1 -0
  45. package/dist/core/types.gen.d.ts +79 -0
  46. package/dist/core/types.gen.d.ts.map +1 -0
  47. package/dist/core/types.gen.js +3 -0
  48. package/dist/core/types.gen.js.map +1 -0
  49. package/dist/core/utils.gen.d.ts +20 -0
  50. package/dist/core/utils.gen.d.ts.map +1 -0
  51. package/dist/core/utils.gen.js +88 -0
  52. package/dist/core/utils.gen.js.map +1 -0
  53. package/dist/index.d.ts +3 -0
  54. package/dist/index.d.ts.map +1 -1
  55. package/dist/index.js +3 -0
  56. package/dist/index.js.map +1 -1
  57. package/dist/schemas.gen.d.ts +983 -887
  58. package/dist/schemas.gen.d.ts.map +1 -1
  59. package/dist/schemas.gen.js +1458 -937
  60. package/dist/schemas.gen.js.map +1 -1
  61. package/dist/sdk.gen.d.ts +216 -142
  62. package/dist/sdk.gen.d.ts.map +1 -1
  63. package/dist/sdk.gen.js +269 -226
  64. package/dist/sdk.gen.js.map +1 -1
  65. package/dist/services/kubernetes/api.d.ts +196 -0
  66. package/dist/services/kubernetes/api.d.ts.map +1 -0
  67. package/dist/services/kubernetes/api.js +140 -0
  68. package/dist/services/kubernetes/api.js.map +1 -0
  69. package/dist/services/kubernetes/index.d.ts +44 -0
  70. package/dist/services/kubernetes/index.d.ts.map +1 -0
  71. package/dist/services/kubernetes/index.js +68 -0
  72. package/dist/services/kubernetes/index.js.map +1 -0
  73. package/dist/services/kubernetes/types.d.ts +1335 -0
  74. package/dist/services/kubernetes/types.d.ts.map +1 -0
  75. package/dist/services/kubernetes/types.js +2 -0
  76. package/dist/services/kubernetes/types.js.map +1 -0
  77. package/dist/types.gen.d.ts +914 -785
  78. package/dist/types.gen.d.ts.map +1 -1
  79. package/dist/zod.gen.d.ts +1881 -2401
  80. package/dist/zod.gen.d.ts.map +1 -1
  81. package/dist/zod.gen.js +875 -841
  82. package/dist/zod.gen.js.map +1 -1
  83. package/package.json +12 -5
package/dist/sdk.gen.d.ts CHANGED
@@ -1,354 +1,428 @@
1
- import { type Options } 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 declare const client: import("@hey-api/client-fetch").Client<Request, Response, unknown, import("@hey-api/client-fetch").RequestOptions<boolean, string>>;
1
+ import type { Client, Options as Options2, TDataShape } from './client';
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, GetClusterData, GetClusterResponses, GetContactData, GetContactResponses, GetCreditsData, GetCreditsErrors, GetCreditsResponses, GetFleetData, GetFleetResponses, GetInviteData, GetInviteResponses, GetJoinInformationData, GetJoinInformationErrors, GetJoinInformationResponses, GetMarketplaceChartFilesData, GetMarketplaceChartFilesErrors, GetMarketplaceChartFilesResponses, GetOrganizationData, GetOrganizationResponses, GetPaymentMethodData, GetPaymentMethodErrors, GetPaymentMethodResponses, GetPaymentMethodSecretData, GetPaymentMethodSecretResponses, GetTagData, GetTagErrors, GetTagResponses, 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, ListRepositoriesData, ListRepositoriesErrors, ListRepositoriesResponses, ListTagsData, ListTagsErrors, ListTagsResponses, ListTokensData, ListTokensErrors, ListTokensResponses, ListUserOrganizationsData, ListUserOrganizationsResponses, ListUsersData, ListUsersErrors, ListUsersResponses, PostMcpData, PostMcpErrors, PostMcpResponses, QueryClusterData, QueryClusterErrors, QueryClusterResponses, RedeemCreditsData, RedeemCreditsErrors, RedeemCreditsResponses, RegenerateTokenData, RegenerateTokenErrors, RegenerateTokenResponses, UpdateChartData, UpdateChartResponses, UpdateClusterData, 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> = Options2<TData, ThrowOnError> & {
4
+ /**
5
+ * You can provide a client instance returned by `createClient()` instead of
6
+ * individual options. This might be also useful if you want to implement a
7
+ * custom client.
8
+ */
9
+ client?: Client;
10
+ /**
11
+ * You can pass arbitrary values through the `meta` object. This can be
12
+ * used to access values that aren't defined as part of the SDK function.
13
+ */
14
+ meta?: Record<string, unknown>;
15
+ };
4
16
  export declare class BillingService {
5
17
  /**
6
18
  * Get billing usage information.
7
- * 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.
8
19
  *
9
- */
10
- static getUsage<ThrowOnError extends boolean = false>(options?: Options<GetUsageData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<import("./types.gen").Usage[], unknown, ThrowOnError>;
11
- /**
12
- * Get billing balance information.
13
- * 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.
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.
14
21
  *
15
22
  */
16
- static getBalance<ThrowOnError extends boolean = false>(options?: Options<GetBalanceData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<number, unknown, ThrowOnError>;
23
+ static getUsage<ThrowOnError extends boolean = false>(options?: Options<GetUsageData, ThrowOnError>): import("./client").RequestResult<GetUsageResponses, GetUsageErrors, ThrowOnError, "fields">;
17
24
  /**
18
25
  * Get organization payment method information.
26
+ *
19
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.
20
28
  *
21
29
  */
22
- static getPaymentMethod<ThrowOnError extends boolean = false>(options?: Options<GetPaymentMethodData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<import("./types.gen").PaymentMethod, unknown, ThrowOnError>;
30
+ static getPaymentMethod<ThrowOnError extends boolean = false>(options?: Options<GetPaymentMethodData, ThrowOnError>): import("./client").RequestResult<GetPaymentMethodResponses, GetPaymentMethodErrors, ThrowOnError, "fields">;
23
31
  /**
24
32
  * Get Stripe client secret.
33
+ *
25
34
  * 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.
26
35
  *
27
36
  */
28
- static getPaymentMethodSecret<ThrowOnError extends boolean = false>(options?: Options<GetPaymentMethodSecretData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<{
29
- id?: string;
30
- }, unknown, ThrowOnError>;
37
+ static getPaymentMethodSecret<ThrowOnError extends boolean = false>(options?: Options<GetPaymentMethodSecretData, ThrowOnError>): import("./client").RequestResult<GetPaymentMethodSecretResponses, unknown, ThrowOnError, "fields">;
31
38
  /**
32
39
  * List issued invoices.
33
- * 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.
34
40
  *
35
- */
36
- static listInvoices<ThrowOnError extends boolean = false>(options: Options<ListInvoicesData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<import("./types.gen").Invoice[], unknown, ThrowOnError>;
37
- /**
38
- * Get invoice information.
39
- * Returns a single Invoice as HTML referenced by id. This endpoint is available to all users in the organization.
41
+ * 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.
40
42
  *
41
43
  */
42
- static getInvoice<ThrowOnError extends boolean = false>(options: Options<GetInvoiceData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<{
43
- html?: string;
44
- }, unknown, ThrowOnError>;
44
+ static listInvoices<ThrowOnError extends boolean = false>(options?: Options<ListInvoicesData, ThrowOnError>): import("./client").RequestResult<ListInvoicesResponses, ListInvoicesErrors, ThrowOnError, "fields">;
45
45
  /**
46
46
  * Get organization contact and billing address information.
47
+ *
47
48
  * Returns the organization contact and billing address information. This endpoint is available to all users in the organization.
48
49
  *
49
50
  */
50
- static getContact<ThrowOnError extends boolean = false>(options?: Options<GetContactData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<import("./types.gen").BillingContact, unknown, ThrowOnError>;
51
+ static getContact<ThrowOnError extends boolean = false>(options?: Options<GetContactData, ThrowOnError>): import("./client").RequestResult<GetContactResponses, unknown, ThrowOnError, "fields">;
51
52
  /**
52
53
  * Update organization contact information and billing address.
54
+ *
53
55
  * This endpoint allows you to update organization details with its contact information. This endpoint is available to administrators of the organization only.
54
56
  *
55
57
  */
56
- static updateContact<ThrowOnError extends boolean = false>(options: Options<UpdateContactData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<import("./types.gen").BillingContact, unknown, ThrowOnError>;
58
+ static updateContact<ThrowOnError extends boolean = false>(options: Options<UpdateContactData, ThrowOnError>): import("./client").RequestResult<UpdateContactResponses, unknown, ThrowOnError, "fields">;
59
+ /**
60
+ * Get applied promotional credits
61
+ *
62
+ * 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.
63
+ *
64
+ */
65
+ static getCredits<ThrowOnError extends boolean = false>(options?: Options<GetCreditsData, ThrowOnError>): import("./client").RequestResult<GetCreditsResponses, GetCreditsErrors, ThrowOnError, "fields">;
66
+ /**
67
+ * Redeem promotional credits code.
68
+ *
69
+ * 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.
70
+ *
71
+ */
72
+ static redeemCredits<ThrowOnError extends boolean = false>(options: Options<RedeemCreditsData, ThrowOnError>): import("./client").RequestResult<RedeemCreditsResponses, RedeemCreditsErrors, ThrowOnError, "fields">;
57
73
  }
58
74
  export declare class ClustersService {
75
+ /**
76
+ * List charts.
77
+ *
78
+ * Returns a list of charts in the cluster.
79
+ *
80
+ * This endpoint is available to all users in the organization.
81
+ *
82
+ */
83
+ static listCharts<ThrowOnError extends boolean = false>(options: Options<ListChartsData, ThrowOnError>): import("./client").RequestResult<ListChartsResponses, ListChartsErrors, ThrowOnError, "fields">;
84
+ /**
85
+ * Create a new chart.
86
+ *
87
+ * Create a new chart deployment.
88
+ *
89
+ * This endpoint is available to administrators of the organization only.
90
+ *
91
+ */
92
+ static createChart<ThrowOnError extends boolean = false>(options: Options<CreateChartData, ThrowOnError>): import("./client").RequestResult<CreateChartResponses, unknown, ThrowOnError, "fields">;
93
+ /**
94
+ * Permanently delete the chart deployment from the cluster.
95
+ *
96
+ * This endpoint will permanently delete chart. This operation cannot be undone.
97
+ *
98
+ * This endpoint is available to administrators of the organization only.
99
+ *
100
+ */
101
+ static deleteChart<ThrowOnError extends boolean = false>(options: Options<DeleteChartData, ThrowOnError>): import("./client").RequestResult<DeleteChartResponses, unknown, ThrowOnError, "fields">;
102
+ /**
103
+ * Get chart information.
104
+ *
105
+ * Returns the details of the chart deployment.
106
+ *
107
+ * This endpoint is available to all users in the organization.
108
+ *
109
+ */
110
+ static getChart<ThrowOnError extends boolean = false>(options: Options<GetChartData, ThrowOnError>): import("./client").RequestResult<GetChartResponses, unknown, ThrowOnError, "fields">;
111
+ /**
112
+ * Update chart information.
113
+ *
114
+ * This endpoint allows you to update the values of a chart deployment.
115
+ *
116
+ * This endpoint is available to administrators of the organization only.
117
+ *
118
+ */
119
+ static updateChart<ThrowOnError extends boolean = false>(options: Options<UpdateChartData, ThrowOnError>): import("./client").RequestResult<UpdateChartResponses, unknown, ThrowOnError, "fields">;
59
120
  /**
60
121
  * List fleets.
61
- * 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.
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.
62
124
  *
63
125
  * This endpoint is available to all users in the organization.
64
126
  *
65
127
  */
66
- static listFleets<ThrowOnError extends boolean = false>(options: Options<ListFleetsData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<import("./types.gen").Fleet[], unknown, ThrowOnError>;
128
+ static listFleets<ThrowOnError extends boolean = false>(options: Options<ListFleetsData, ThrowOnError>): import("./client").RequestResult<ListFleetsResponses, ListFleetsErrors, ThrowOnError, "fields">;
67
129
  /**
68
130
  * Create a new fleet.
69
- * 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.
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.
70
133
  *
71
134
  * This endpoint is available to administrators of the organization only.
72
135
  *
73
136
  */
74
- static createFleet<ThrowOnError extends boolean = false>(options: Options<CreateFleetData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<string, string, ThrowOnError>;
137
+ static createFleet<ThrowOnError extends boolean = false>(options: Options<CreateFleetData, ThrowOnError>): import("./client").RequestResult<CreateFleetResponses, CreateFleetErrors, ThrowOnError, "fields">;
75
138
  /**
76
139
  * Permanently delete fleet.
77
- * 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.
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.
78
142
  *
79
143
  * This endpoint is available to administrators of the organization only.
80
144
  *
81
145
  */
82
- static deleteFleet<ThrowOnError extends boolean = false>(options: Options<DeleteFleetData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<string, unknown, ThrowOnError>;
146
+ static deleteFleet<ThrowOnError extends boolean = false>(options: Options<DeleteFleetData, ThrowOnError>): import("./client").RequestResult<DeleteFleetResponses, unknown, ThrowOnError, "fields">;
83
147
  /**
84
148
  * Get fleet information.
85
- * Returns fleet details. For more information, see [Fleets and fleet types](https://cloudfleet.ai/docs/cloud-infrastructure/fleets-and-fleet-types/) section of documentaiton.
149
+ *
150
+ * Returns fleet details. For more information, see [Fleets](https://cloudfleet.ai/docs/cloud-infrastructure/fleets/) section of documentaiton.
86
151
  *
87
152
  * This endpoint is available to all users in the organization.
88
153
  *
89
154
  */
90
- static getFleet<ThrowOnError extends boolean = false>(options: Options<GetFleetData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<import("./types.gen").Fleet, unknown, ThrowOnError>;
155
+ static getFleet<ThrowOnError extends boolean = false>(options: Options<GetFleetData, ThrowOnError>): import("./client").RequestResult<GetFleetResponses, unknown, ThrowOnError, "fields">;
91
156
  /**
92
157
  * Update fleet information.
158
+ *
93
159
  * This endpoint allows you to update fleet details.
94
160
  *
95
- * 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`.
161
+ * 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 Fleet until the end of the billing period, set the status to `cancelling`.
96
162
  *
97
- * For more information, see [Fleets and fleet types](https://cloudfleet.ai/docs/cloud-infrastructure/fleets-and-fleet-types/) section of documentaiton.
163
+ * For more information, see [Fleets](https://cloudfleet.ai/docs/cloud-infrastructure/fleets/) section of documentaiton.
98
164
  *
99
165
  * This endpoint is available to administrators of the organization only.
100
166
  *
101
167
  */
102
- static updateFleet<ThrowOnError extends boolean = false>(options: Options<UpdateFleetData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<string, string, ThrowOnError>;
168
+ static updateFleet<ThrowOnError extends boolean = false>(options: Options<UpdateFleetData, ThrowOnError>): import("./client").RequestResult<UpdateFleetResponses, UpdateFleetErrors, ThrowOnError, "fields">;
103
169
  /**
104
170
  * Query Kubernetes cluster API
171
+ *
105
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.
106
173
  */
107
- static queryCluster<ThrowOnError extends boolean = false>(options: Options<QueryClusterData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<unknown, unknown, ThrowOnError>;
174
+ static queryCluster<ThrowOnError extends boolean = false>(options: Options<QueryClusterData, ThrowOnError>): import("./client").RequestResult<QueryClusterResponses, QueryClusterErrors, ThrowOnError, "fields">;
108
175
  /**
109
176
  * List clusters.
177
+ *
110
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.
111
179
  *
112
180
  * This endpoint is available to all users in the organization.
113
181
  *
114
182
  */
115
- static listClusters<ThrowOnError extends boolean = false>(options?: Options<ListClustersData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<import("./types.gen").Cluster[], unknown, ThrowOnError>;
183
+ static listClusters<ThrowOnError extends boolean = false>(options?: Options<ListClustersData, ThrowOnError>): import("./client").RequestResult<ListClustersResponses, ListClustersErrors, ThrowOnError, "fields">;
116
184
  /**
117
185
  * Create a new cluster.
186
+ *
118
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.
119
188
  *
120
189
  * This endpoint is available to administrators of the organization only.
121
190
  *
122
191
  */
123
- static createCluster<ThrowOnError extends boolean = false>(options: Options<CreateClusterData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<string, string, ThrowOnError>;
192
+ static createCluster<ThrowOnError extends boolean = false>(options: Options<CreateClusterData, ThrowOnError>): import("./client").RequestResult<CreateClusterResponses, CreateClusterErrors, ThrowOnError, "fields">;
124
193
  /**
125
194
  * Permanently delete cluster.
195
+ *
126
196
  * This endpoint will permanently delete the cluster. This operation cannot be undone.
127
197
  *
128
198
  * This endpoint is available to administrators of the organization only.
129
199
  *
130
200
  */
131
- static deleteCluster<ThrowOnError extends boolean = false>(options: Options<DeleteClusterData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<string, unknown, ThrowOnError>;
201
+ static deleteCluster<ThrowOnError extends boolean = false>(options: Options<DeleteClusterData, ThrowOnError>): import("./client").RequestResult<DeleteClusterResponses, unknown, ThrowOnError, "fields">;
132
202
  /**
133
203
  * Get cluster information.
204
+ *
134
205
  * 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.
135
206
  *
136
207
  * This endpoint is available to all users in the organization.
137
208
  *
138
209
  */
139
- static getCluster<ThrowOnError extends boolean = false>(options: Options<GetClusterData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<import("./types.gen").Cluster, unknown, ThrowOnError>;
210
+ static getCluster<ThrowOnError extends boolean = false>(options: Options<GetClusterData, ThrowOnError>): import("./client").RequestResult<GetClusterResponses, unknown, ThrowOnError, "fields">;
140
211
  /**
141
212
  * Update cluster information.
213
+ *
142
214
  * 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.
143
215
  *
144
216
  * This endpoint is available to administrators of the organization only.
145
217
  *
146
218
  */
147
- static updateCluster<ThrowOnError extends boolean = false>(options: Options<UpdateClusterData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<import("./types.gen").Cluster, unknown, ThrowOnError>;
219
+ static updateCluster<ThrowOnError extends boolean = false>(options: Options<UpdateClusterData, ThrowOnError>): import("./client").RequestResult<UpdateClusterResponses, unknown, ThrowOnError, "fields">;
148
220
  /**
149
221
  * Node join information for the cluster
150
- * 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.
222
+ *
223
+ * 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.
151
224
  *
152
225
  */
153
- static getJoinInformation<ThrowOnError extends boolean = false>(options: Options<GetJoinInformationData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<import("./types.gen").Cluster, unknown, ThrowOnError>;
154
- }
155
- export declare class InfrastructureService {
156
- /**
157
- * Search infrastructure catalog.
158
- * 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:
159
- *
160
- * `GET /infrastructure?accelerator_name=A100&region=northamerica`
161
- *
162
- * 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.
163
- *
164
- * **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.
165
- *
166
- * For full documentation of the infrastructure catalog, see [Cloud providers and instance types](https://cloudfleet.ai/docs/cloud-infrastructure/) section of the documentation.
167
- *
168
- */
169
- static getInfrastructure<ThrowOnError extends boolean = false>(options?: Options<GetInfrastructureData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<import("./types.gen").InfrastructureInstance[], Blob | File, ThrowOnError>;
170
- /**
171
- * Infrastructure catalog facets.
172
- * This endpoint returns calculated search facets from the infrastructure catalog.
173
- *
174
- */
175
- static getFacets<ThrowOnError extends boolean = false>(options?: Options<GetFacetsData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<{
176
- provider?: Array<string>;
177
- region?: Array<string>;
178
- sub_region?: Array<string>;
179
- csp_region?: Array<string>;
180
- vcpu_min?: number;
181
- vcpu_max?: number;
182
- memory_min?: number;
183
- memory_max?: number;
184
- storage_local_min?: number;
185
- storage_local_max?: number;
186
- accelerator_name?: Array<string>;
187
- accelerator_manufacturer?: Array<string>;
188
- accelerator_count_min?: number;
189
- accelerator_count_max?: number;
190
- accelerator_memory_min?: number;
191
- accelerator_memory_max?: number;
192
- price_min?: number;
193
- price_max?: number;
194
- regions_struct?: Array<{
195
- region?: string;
196
- sub_region?: Array<string>;
197
- }>;
198
- accelerators_struct?: Array<{
199
- accelerator_manufacturer?: string;
200
- accelerator_name?: Array<string>;
201
- }>;
202
- count_total?: number;
203
- count_accelerators?: number;
204
- count_instance_types?: number;
205
- count_accelerators_instance_types?: number;
206
- }[], unknown, ThrowOnError>;
207
- /**
208
- * Available Cloudfleet regions and Kubernetes versions.
209
- * Available Cloudfleet regions and Kubernetes versions.
210
- *
211
- */
212
- static getRegions<ThrowOnError extends boolean = false>(options?: Options<GetRegionsData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<{
213
- [key: string]: unknown;
214
- }, unknown, ThrowOnError>;
226
+ static getJoinInformation<ThrowOnError extends boolean = false>(options: Options<GetJoinInformationData, ThrowOnError>): import("./client").RequestResult<GetJoinInformationResponses, GetJoinInformationErrors, ThrowOnError, "fields">;
215
227
  }
216
228
  export declare class InvitesService {
217
229
  /**
218
230
  * List invites.
231
+ *
219
232
  * Returns a list of invites under the current organization. This endpoint is available to all users in the organization.
220
233
  *
221
234
  */
222
- static listInvites<ThrowOnError extends boolean = false>(options?: Options<ListInvitesData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<import("./types.gen").Invite[], unknown, ThrowOnError>;
235
+ static listInvites<ThrowOnError extends boolean = false>(options?: Options<ListInvitesData, ThrowOnError>): import("./client").RequestResult<ListInvitesResponses, ListInvitesErrors, ThrowOnError, "fields">;
223
236
  /**
224
237
  * Create a new invite.
225
- * 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.
238
+ *
239
+ * 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.
226
240
  *
227
241
  */
228
- static createInvite<ThrowOnError extends boolean = false>(options: Options<CreateInviteData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<import("./types.gen").Invite, unknown, ThrowOnError>;
242
+ static createInvite<ThrowOnError extends boolean = false>(options: Options<CreateInviteData, ThrowOnError>): import("./client").RequestResult<CreateInviteResponses, unknown, ThrowOnError, "fields">;
229
243
  /**
230
244
  * Get invite information.
245
+ *
231
246
  * Returns invite details.
232
247
  *
233
248
  */
234
- static getInvite<ThrowOnError extends boolean = false>(options: Options<GetInviteData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<import("./types.gen").Invite, unknown, ThrowOnError>;
249
+ static getInvite<ThrowOnError extends boolean = false>(options: Options<GetInviteData, ThrowOnError>): import("./client").RequestResult<GetInviteResponses, unknown, ThrowOnError, "fields">;
235
250
  /**
236
251
  * Permanently delete invite.
252
+ *
237
253
  * Permanently deletes invite from the organization. This endpoint is available to administrators of the organization only.
238
254
  *
239
255
  */
240
- static deleteInvite<ThrowOnError extends boolean = false>(options: Options<DeleteInviteData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<unknown, unknown, ThrowOnError>;
256
+ static deleteInvite<ThrowOnError extends boolean = false>(options: Options<DeleteInviteData, ThrowOnError>): import("./client").RequestResult<DeleteInviteResponses, unknown, ThrowOnError, "fields">;
257
+ }
258
+ export declare class ChartsMarketplaceService {
259
+ /**
260
+ * List chart listings available in the marketplace.
261
+ *
262
+ * Returns a list of available charts in the marketplace.
263
+ *
264
+ * This endpoint is available to all users in the organization.
265
+ *
266
+ */
267
+ static listMarketplaceCharts<ThrowOnError extends boolean = false>(options?: Options<ListMarketplaceChartsData, ThrowOnError>): import("./client").RequestResult<ListMarketplaceChartsResponses, ListMarketplaceChartsErrors, ThrowOnError, "fields">;
268
+ /**
269
+ * Get chart files for a specific version channel.
270
+ *
271
+ * Returns the Chart.yaml, values.yaml, and values.schema.json files for the latest version matching the specified version channel.
272
+ *
273
+ * 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.
274
+ *
275
+ * This endpoint is available to all users in the organization.
276
+ *
277
+ */
278
+ static getMarketplaceChartFiles<ThrowOnError extends boolean = false>(options: Options<GetMarketplaceChartFilesData, ThrowOnError>): import("./client").RequestResult<GetMarketplaceChartFilesResponses, GetMarketplaceChartFilesErrors, ThrowOnError, "fields">;
279
+ }
280
+ export declare class McpService {
281
+ /**
282
+ * MCP endpoint
283
+ *
284
+ * MCP endpoint for handling Model Context Protocol JSON-RPC 2.0 messages.
285
+ */
286
+ static postMcp<ThrowOnError extends boolean = false>(options: Options<PostMcpData, ThrowOnError>): import("./client").RequestResult<PostMcpResponses, PostMcpErrors, ThrowOnError, "fields">;
241
287
  }
242
288
  export declare class OrganizationService {
243
289
  /**
244
290
  * Get organization information.
291
+ *
245
292
  * Returns organization details including quota. For more information about quotas, see [Quotas and limits](https://cloudfleet.ai/docs/organization/quotas/) section of documentaiton.
246
293
  *
247
294
  * This endpoint is available to all users in the organization.
248
295
  *
249
296
  */
250
- static getOrganization<ThrowOnError extends boolean = false>(options?: Options<GetOrganizationData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<import("./types.gen").Organization, unknown, ThrowOnError>;
297
+ static getOrganization<ThrowOnError extends boolean = false>(options?: Options<GetOrganizationData, ThrowOnError>): import("./client").RequestResult<GetOrganizationResponses, unknown, ThrowOnError, "fields">;
251
298
  /**
252
299
  * Create a new organization / Cloudfleet account signup.
300
+ *
253
301
  * This endpoint allows you to create a new Cloudfleet organization and an administrator user.
254
302
  *
255
303
  */
256
- static createOrganization<ThrowOnError extends boolean = false>(options: Options<CreateOrganizationData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<unknown, unknown, ThrowOnError>;
304
+ static createOrganization<ThrowOnError extends boolean = false>(options: Options<CreateOrganizationData, ThrowOnError>): import("./client").RequestResult<CreateOrganizationResponses, unknown, ThrowOnError, "fields">;
305
+ }
306
+ export declare class RegistryService {
307
+ /**
308
+ * List repositories
309
+ *
310
+ * Returns a list of repositories in the registry across all regions. This endpoint is available to all users in the organization.
311
+ *
312
+ */
313
+ static listRepositories<ThrowOnError extends boolean = false>(options?: Options<ListRepositoriesData, ThrowOnError>): import("./client").RequestResult<ListRepositoriesResponses, ListRepositoriesErrors, ThrowOnError, "fields">;
314
+ /**
315
+ * List tags for a repository
316
+ *
317
+ * 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.
318
+ *
319
+ */
320
+ static listTags<ThrowOnError extends boolean = false>(options: Options<ListTagsData, ThrowOnError>): import("./client").RequestResult<ListTagsResponses, ListTagsErrors, ThrowOnError, "fields">;
321
+ /**
322
+ * Delete tag
323
+ *
324
+ * Permanently deletes a specific tag from a repository. This endpoint is available to administrators of the organization only.
325
+ *
326
+ */
327
+ static deleteTag<ThrowOnError extends boolean = false>(options: Options<DeleteTagData, ThrowOnError>): import("./client").RequestResult<DeleteTagResponses, DeleteTagErrors, ThrowOnError, "fields">;
328
+ /**
329
+ * Get tag details
330
+ *
331
+ * 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.
332
+ *
333
+ */
334
+ static getTag<ThrowOnError extends boolean = false>(options: Options<GetTagData, ThrowOnError>): import("./client").RequestResult<GetTagResponses, GetTagErrors, ThrowOnError, "fields">;
257
335
  }
258
336
  export declare class TokensService {
259
337
  /**
260
338
  * List access tokens in organization.
339
+ *
261
340
  * 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.
262
341
  *
263
342
  */
264
- static listTokens<ThrowOnError extends boolean = false>(options?: Options<ListTokensData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<import("./types.gen").Token[], unknown, ThrowOnError>;
343
+ static listTokens<ThrowOnError extends boolean = false>(options?: Options<ListTokensData, ThrowOnError>): import("./client").RequestResult<ListTokensResponses, ListTokensErrors, ThrowOnError, "fields">;
265
344
  /**
266
345
  * Create a new access token.
346
+ *
267
347
  * 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.
268
348
  *
269
349
  * This endpoint is available to administrators of the organization only.
270
350
  *
271
351
  */
272
- static createToken<ThrowOnError extends boolean = false>(options: Options<CreateTokenData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<import("./types.gen").Token, unknown, ThrowOnError>;
352
+ static createToken<ThrowOnError extends boolean = false>(options: Options<CreateTokenData, ThrowOnError>): import("./client").RequestResult<CreateTokenResponses, CreateTokenErrors, ThrowOnError, "fields">;
273
353
  /**
274
354
  * Permanently delete access token.
355
+ *
275
356
  * 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.
276
357
  *
277
358
  */
278
- static deleteToken<ThrowOnError extends boolean = false>(options: Options<DeleteTokenData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<unknown, unknown, ThrowOnError>;
359
+ static deleteToken<ThrowOnError extends boolean = false>(options: Options<DeleteTokenData, ThrowOnError>): import("./client").RequestResult<DeleteTokenResponses, unknown, ThrowOnError, "fields">;
279
360
  /**
280
361
  * Get access token information.
362
+ *
281
363
  * 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.
282
364
  *
283
365
  */
284
- static getToken<ThrowOnError extends boolean = false>(options: Options<GetTokenData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<import("./types.gen").Token, unknown, ThrowOnError>;
366
+ static getToken<ThrowOnError extends boolean = false>(options: Options<GetTokenData, ThrowOnError>): import("./client").RequestResult<GetTokenResponses, GetTokenErrors, ThrowOnError, "fields">;
285
367
  /**
286
368
  * Update access token information.
369
+ *
287
370
  * 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.
288
371
  *
289
372
  * This endpoint is available to administrators of the organization only.
290
373
  *
291
374
  */
292
- static updateToken<ThrowOnError extends boolean = false>(options: Options<UpdateTokenData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<import("./types.gen").Token, unknown, ThrowOnError>;
375
+ static updateToken<ThrowOnError extends boolean = false>(options: Options<UpdateTokenData, ThrowOnError>): import("./client").RequestResult<UpdateTokenResponses, UpdateTokenErrors, ThrowOnError, "fields">;
293
376
  /**
294
377
  * Regenerate access token secret key.
378
+ *
295
379
  * Generates a new access token secret. Old secret will not be valid anymore.
296
380
  */
297
- static regenerateToken<ThrowOnError extends boolean = false>(options: Options<RegenerateTokenData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<import("./types.gen").Token, unknown, ThrowOnError>;
381
+ static regenerateToken<ThrowOnError extends boolean = false>(options: Options<RegenerateTokenData, ThrowOnError>): import("./client").RequestResult<RegenerateTokenResponses, RegenerateTokenErrors, ThrowOnError, "fields">;
298
382
  }
299
383
  export declare class UsersService {
300
384
  /**
301
385
  * Get a list of organizations the user belongs to. Used during authentication process.
302
386
  */
303
- static listUserOrganizations<ThrowOnError extends boolean = false>(options: Options<ListUserOrganizationsData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<{
304
- realm?: string;
305
- displayName?: string;
306
- }[], unknown, ThrowOnError>;
387
+ static listUserOrganizations<ThrowOnError extends boolean = false>(options: Options<ListUserOrganizationsData, ThrowOnError>): import("./client").RequestResult<ListUserOrganizationsResponses, unknown, ThrowOnError, "fields">;
307
388
  /**
308
389
  * List users in organization.
309
- * 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.
390
+ *
391
+ * 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.
310
392
  *
311
393
  * This endpoint is available to all users in the organization.
312
394
  *
313
395
  */
314
- static listUsers<ThrowOnError extends boolean = false>(options?: Options<ListUsersData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<import("./types.gen").User[], unknown, ThrowOnError>;
396
+ static listUsers<ThrowOnError extends boolean = false>(options?: Options<ListUsersData, ThrowOnError>): import("./client").RequestResult<ListUsersResponses, ListUsersErrors, ThrowOnError, "fields">;
315
397
  /**
316
398
  * Create a new user.
317
- * 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.
399
+ *
400
+ * 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.
318
401
  *
319
402
  */
320
- static createUser<ThrowOnError extends boolean = false>(options: Options<CreateUserData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<import("./types.gen").User, unknown, ThrowOnError>;
403
+ static createUser<ThrowOnError extends boolean = false>(options: Options<CreateUserData, ThrowOnError>): import("./client").RequestResult<CreateUserResponses, unknown, ThrowOnError, "fields">;
321
404
  /**
322
405
  * Delete user by id.
406
+ *
323
407
  * Sets user status to `inactive`. Inactive users cannot log in and manage organization resources. This endpoint is available to administrators of the organization only.
324
408
  *
325
409
  */
326
- static deleteUser<ThrowOnError extends boolean = false>(options: Options<DeleteUserData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<import("./types.gen").User, unknown, ThrowOnError>;
410
+ static deleteUser<ThrowOnError extends boolean = false>(options: Options<DeleteUserData, ThrowOnError>): import("./client").RequestResult<DeleteUserResponses, DeleteUserErrors, ThrowOnError, "fields">;
327
411
  /**
328
412
  * Get user profile information by id.
329
- * 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.
413
+ *
414
+ * Returns user details including their roles. For more information on identity access management, see [Users](https://cloudfleet.ai/docs/organization/users/) section of documentaiton.
330
415
  *
331
416
  * This endpoint is available to all users in the organization.
332
417
  *
333
418
  */
334
- static getUser<ThrowOnError extends boolean = false>(options: Options<GetUserData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<import("./types.gen").User, unknown, ThrowOnError>;
419
+ static getUser<ThrowOnError extends boolean = false>(options: Options<GetUserData, ThrowOnError>): import("./client").RequestResult<GetUserResponses, GetUserErrors, ThrowOnError, "fields">;
335
420
  /**
336
421
  * Update user profile information.
337
- * 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.
338
- *
339
- */
340
- static updateUser<ThrowOnError extends boolean = false>(options: Options<UpdateUserData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<import("./types.gen").User, unknown, ThrowOnError>;
341
- /**
342
- * Remove user from cluster.
343
- * 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.
344
422
  *
345
- */
346
- static deleteClusterPermissions<ThrowOnError extends boolean = false>(options: Options<DeleteClusterPermissionsData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<import("./types.gen").User, unknown, ThrowOnError>;
347
- /**
348
- * Add user to cluster and set permissions.
349
- * Add user to the cluster and set / update access permissions. This endpoint is available to administrators of the organization only.
423
+ * 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.
350
424
  *
351
425
  */
352
- static setClusterPermissions<ThrowOnError extends boolean = false>(options: Options<SetClusterPermissionsData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<import("./types.gen").User, unknown, ThrowOnError>;
426
+ static updateUser<ThrowOnError extends boolean = false>(options: Options<UpdateUserData, ThrowOnError>): import("./client").RequestResult<UpdateUserResponses, unknown, ThrowOnError, "fields">;
353
427
  }
354
428
  //# sourceMappingURL=sdk.gen.d.ts.map