@cloudfleet/sdk 0.0.1-4ffe368 → 0.0.1-5175d16

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 (87) hide show
  1. package/dist/@tanstack/react-query.gen.d.ts +1149 -0
  2. package/dist/@tanstack/react-query.gen.d.ts.map +1 -0
  3. package/dist/@tanstack/react-query.gen.js +1165 -0
  4. package/dist/@tanstack/react-query.gen.js.map +1 -0
  5. package/dist/client/client.gen.d.ts +3 -0
  6. package/dist/client/client.gen.d.ts.map +1 -0
  7. package/dist/client/client.gen.js +220 -0
  8. package/dist/client/client.gen.js.map +1 -0
  9. package/dist/client/index.d.ts +9 -0
  10. package/dist/client/index.d.ts.map +1 -0
  11. package/dist/client/index.js +7 -0
  12. package/dist/client/index.js.map +1 -0
  13. package/dist/client/types.gen.d.ts +121 -0
  14. package/dist/client/types.gen.d.ts.map +1 -0
  15. package/dist/client/types.gen.js +3 -0
  16. package/dist/client/types.gen.js.map +1 -0
  17. package/dist/client/utils.gen.d.ts +38 -0
  18. package/dist/client/utils.gen.d.ts.map +1 -0
  19. package/dist/client/utils.gen.js +229 -0
  20. package/dist/client/utils.gen.js.map +1 -0
  21. package/dist/client.gen.d.ts +13 -0
  22. package/dist/client.gen.d.ts.map +1 -0
  23. package/dist/client.gen.js +4 -0
  24. package/dist/client.gen.js.map +1 -0
  25. package/dist/core/auth.gen.d.ts +19 -0
  26. package/dist/core/auth.gen.d.ts.map +1 -0
  27. package/dist/core/auth.gen.js +15 -0
  28. package/dist/core/auth.gen.js.map +1 -0
  29. package/dist/core/bodySerializer.gen.d.ts +26 -0
  30. package/dist/core/bodySerializer.gen.d.ts.map +1 -0
  31. package/dist/core/bodySerializer.gen.js +58 -0
  32. package/dist/core/bodySerializer.gen.js.map +1 -0
  33. package/dist/core/params.gen.d.ts +44 -0
  34. package/dist/core/params.gen.d.ts.map +1 -0
  35. package/dist/core/params.gen.js +101 -0
  36. package/dist/core/params.gen.js.map +1 -0
  37. package/dist/core/pathSerializer.gen.d.ts +34 -0
  38. package/dist/core/pathSerializer.gen.d.ts.map +1 -0
  39. package/dist/core/pathSerializer.gen.js +107 -0
  40. package/dist/core/pathSerializer.gen.js.map +1 -0
  41. package/dist/core/queryKeySerializer.gen.d.ts +19 -0
  42. package/dist/core/queryKeySerializer.gen.d.ts.map +1 -0
  43. package/dist/core/queryKeySerializer.gen.js +93 -0
  44. package/dist/core/queryKeySerializer.gen.js.map +1 -0
  45. package/dist/core/serverSentEvents.gen.d.ts +72 -0
  46. package/dist/core/serverSentEvents.gen.d.ts.map +1 -0
  47. package/dist/core/serverSentEvents.gen.js +133 -0
  48. package/dist/core/serverSentEvents.gen.js.map +1 -0
  49. package/dist/core/types.gen.d.ts +79 -0
  50. package/dist/core/types.gen.d.ts.map +1 -0
  51. package/dist/core/types.gen.js +3 -0
  52. package/dist/core/types.gen.js.map +1 -0
  53. package/dist/core/utils.gen.d.ts +20 -0
  54. package/dist/core/utils.gen.d.ts.map +1 -0
  55. package/dist/core/utils.gen.js +88 -0
  56. package/dist/core/utils.gen.js.map +1 -0
  57. package/dist/index.d.ts +3 -0
  58. package/dist/index.d.ts.map +1 -1
  59. package/dist/index.js +3 -0
  60. package/dist/index.js.map +1 -1
  61. package/dist/schemas.gen.d.ts +1865 -1142
  62. package/dist/schemas.gen.d.ts.map +1 -1
  63. package/dist/schemas.gen.js +3124 -1162
  64. package/dist/schemas.gen.js.map +1 -1
  65. package/dist/sdk.gen.d.ts +278 -150
  66. package/dist/sdk.gen.d.ts.map +1 -1
  67. package/dist/sdk.gen.js +366 -231
  68. package/dist/sdk.gen.js.map +1 -1
  69. package/dist/services/kubernetes/api.d.ts +196 -0
  70. package/dist/services/kubernetes/api.d.ts.map +1 -0
  71. package/dist/services/kubernetes/api.js +140 -0
  72. package/dist/services/kubernetes/api.js.map +1 -0
  73. package/dist/services/kubernetes/index.d.ts +44 -0
  74. package/dist/services/kubernetes/index.d.ts.map +1 -0
  75. package/dist/services/kubernetes/index.js +68 -0
  76. package/dist/services/kubernetes/index.js.map +1 -0
  77. package/dist/services/kubernetes/types.d.ts +1335 -0
  78. package/dist/services/kubernetes/types.d.ts.map +1 -0
  79. package/dist/services/kubernetes/types.js +2 -0
  80. package/dist/services/kubernetes/types.js.map +1 -0
  81. package/dist/types.gen.d.ts +1710 -963
  82. package/dist/types.gen.d.ts.map +1 -1
  83. package/dist/zod.gen.d.ts +3846 -2906
  84. package/dist/zod.gen.d.ts.map +1 -1
  85. package/dist/zod.gen.js +1621 -931
  86. package/dist/zod.gen.js.map +1 -1
  87. package/package.json +31 -5
package/dist/sdk.gen.d.ts CHANGED
@@ -1,350 +1,478 @@
1
- import { type Options } from '@hey-api/client-fetch';
2
- import type { GetUsageData, GetBalanceData, GetPaymentMethodData, GetPaymentMethodSecretData, ListInvoicesData, GetInvoiceData, ListFleetsData, CreateFleetData, DeleteFleetData, GetFleetData, UpdateFleetData, QueryClusterData, ListClustersData, CreateClusterData, DeleteClusterData, GetClusterData, UpdateClusterData, GetJoinInformationData, GetInfrastructureData, GetFacetsData, GetRegionsData, ListInvitesData, CreateInviteData, GetInviteData, DeleteInviteData, GetOrganizationData, CreateOrganizationData, UpdateOrganizationData, 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, type Options as Options2, type TDataShape } from './client';
2
+ import type { CloseTicketData, CloseTicketResponses, CreateChartData, CreateChartErrors, CreateChartResponses, CreateClusterData, CreateClusterErrors, CreateClusterResponses, CreateFleetData, CreateFleetErrors, CreateFleetResponses, CreateInviteData, CreateInviteResponses, CreateOrganizationData, CreateOrganizationResponses, CreateTicketData, CreateTicketResponses, CreateTokenData, CreateTokenErrors, CreateTokenResponses, CreateUserData, CreateUserResponses, DeleteChartData, DeleteChartErrors, DeleteChartResponses, DeleteClusterData, DeleteClusterErrors, DeleteClusterResponses, DeleteFleetData, DeleteFleetErrors, DeleteFleetResponses, DeleteInviteData, DeleteInviteResponses, DeletePaymentMethodData, DeletePaymentMethodErrors, DeletePaymentMethodResponses, DeleteTagData, DeleteTagErrors, DeleteTagResponses, DeleteTokenData, DeleteTokenResponses, DeleteUserData, DeleteUserErrors, DeleteUserResponses, GetChartData, GetChartResponses, GetClusterData, GetClusterResponses, GetContactData, GetContactResponses, GetCreditsData, GetCreditsErrors, GetCreditsResponses, GetFleetData, GetFleetResponses, GetInviteData, GetInviteResponses, GetJoinInformationData, GetJoinInformationErrors, GetJoinInformationResponses, GetMarketplaceChartFilesData, GetMarketplaceChartFilesErrors, GetMarketplaceChartFilesResponses, GetOrganizationData, GetOrganizationResponses, GetPaymentMethodSecretData, GetPaymentMethodSecretResponses, GetTagData, GetTagErrors, GetTagResponses, GetTicketAttachmentData, GetTicketAttachmentResponses, GetTicketData, GetTicketResponses, GetTokenData, GetTokenErrors, GetTokenResponses, GetUsageData, GetUsageErrors, GetUsageResponses, GetUserData, GetUserErrors, GetUserResponses, ListChartsData, ListChartsErrors, ListChartsResponses, ListClustersData, ListClustersErrors, ListClustersResponses, ListFleetsData, ListFleetsErrors, ListFleetsResponses, ListInvitesData, ListInvitesErrors, ListInvitesResponses, ListInvoicesData, ListInvoicesErrors, ListInvoicesResponses, ListMarketplaceChartsData, ListMarketplaceChartsErrors, ListMarketplaceChartsResponses, ListPaymentMethodsData, ListPaymentMethodsErrors, ListPaymentMethodsResponses, ListRepositoriesData, ListRepositoriesErrors, ListRepositoriesResponses, ListTagsData, ListTagsErrors, ListTagsResponses, ListTicketsData, ListTicketsResponses, ListTokensData, ListTokensErrors, ListTokensResponses, ListUserOrganizationsData, ListUserOrganizationsResponses, ListUsersData, ListUsersErrors, ListUsersResponses, PostMcpData, PostMcpErrors, PostMcpResponses, QueryClusterData, QueryClusterErrors, QueryClusterResponses, RedeemCreditsData, RedeemCreditsErrors, RedeemCreditsResponses, RegenerateTokenData, RegenerateTokenErrors, RegenerateTokenResponses, ReplyTicketData, ReplyTicketErrors, ReplyTicketResponses, SetDefaultPaymentMethodData, SetDefaultPaymentMethodErrors, SetDefaultPaymentMethodResponses, UpdateChartData, UpdateChartErrors, UpdateChartResponses, UpdateClusterData, UpdateClusterErrors, UpdateClusterResponses, UpdateContactData, UpdateContactResponses, UpdateFleetData, UpdateFleetErrors, UpdateFleetResponses, UpdateTokenData, UpdateTokenErrors, UpdateTokenResponses, UpdateUserData, UpdateUserResponses } from './types.gen';
3
+ export type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean, TResponse = unknown> = Options2<TData, ThrowOnError, TResponse> & {
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.
19
+ *
20
+ * Returns aggregated usage information for the organization with facets for filtering. For more information on billing and payments, see [Billing and pricing](https://cloudfleet.ai/docs/organization/billing/) section of documentaiton. This endpoint is available to all users in the organization.
8
21
  *
9
22
  */
10
- static getUsage<ThrowOnError extends boolean = false>(options?: Options<GetUsageData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<import("./types.gen").Usage[], unknown, ThrowOnError>;
23
+ static getUsage<ThrowOnError extends boolean = false>(options?: Options<GetUsageData, ThrowOnError>): import("./client").RequestResult<GetUsageResponses, GetUsageErrors, ThrowOnError, "fields">;
11
24
  /**
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.
25
+ * Get Stripe client secret.
26
+ *
27
+ * Endpoint returns the Stripe secret key for the organization. This key is used to securely update the payment method in the Cloudfleet console only, please visit https://console.cloudfleet.ai. This endpoint is available to administrators of the organization only.
14
28
  *
15
29
  */
16
- static getBalance<ThrowOnError extends boolean = false>(options?: Options<GetBalanceData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<number, unknown, ThrowOnError>;
30
+ static getPaymentMethodSecret<ThrowOnError extends boolean = false>(options?: Options<GetPaymentMethodSecretData, ThrowOnError>): import("./client").RequestResult<GetPaymentMethodSecretResponses, unknown, ThrowOnError, "fields">;
17
31
  /**
18
- * Get organization payment method information.
19
- * 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.
32
+ * List organization payment methods.
33
+ *
34
+ * 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.
20
35
  *
21
36
  */
22
- static getPaymentMethod<ThrowOnError extends boolean = false>(options?: Options<GetPaymentMethodData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<import("./types.gen").PaymentMethod, unknown, ThrowOnError>;
37
+ static listPaymentMethods<ThrowOnError extends boolean = false>(options?: Options<ListPaymentMethodsData, ThrowOnError>): import("./client").RequestResult<ListPaymentMethodsResponses, ListPaymentMethodsErrors, ThrowOnError, "fields">;
23
38
  /**
24
- * Get Stripe client secret.
25
- * 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.
39
+ * Set the default payment method.
40
+ *
41
+ * Sets the given payment method as the default used for invoices and active subscriptions. Requires the Administrator role.
26
42
  *
27
43
  */
28
- static getPaymentMethodSecret<ThrowOnError extends boolean = false>(options?: Options<GetPaymentMethodSecretData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<{
29
- id?: string;
30
- }, unknown, ThrowOnError>;
44
+ static setDefaultPaymentMethod<ThrowOnError extends boolean = false>(options: Options<SetDefaultPaymentMethodData, ThrowOnError>): import("./client").RequestResult<SetDefaultPaymentMethodResponses, SetDefaultPaymentMethodErrors, ThrowOnError, "fields">;
45
+ /**
46
+ * Delete a payment method.
47
+ *
48
+ * 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.
49
+ *
50
+ */
51
+ static deletePaymentMethod<ThrowOnError extends boolean = false>(options: Options<DeletePaymentMethodData, ThrowOnError>): import("./client").RequestResult<DeletePaymentMethodResponses, DeletePaymentMethodErrors, ThrowOnError, "fields">;
31
52
  /**
32
53
  * List issued invoices.
54
+ *
33
55
  * 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
56
  *
35
57
  */
36
- static listInvoices<ThrowOnError extends boolean = false>(options: Options<ListInvoicesData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<import("./types.gen").Invoice[], unknown, ThrowOnError>;
58
+ static listInvoices<ThrowOnError extends boolean = false>(options?: Options<ListInvoicesData, ThrowOnError>): import("./client").RequestResult<ListInvoicesResponses, ListInvoicesErrors, ThrowOnError, "fields">;
59
+ /**
60
+ * Get organization contact and billing address information.
61
+ *
62
+ * Returns the organization contact and billing address information. This endpoint is available to all users in the organization.
63
+ *
64
+ */
65
+ static getContact<ThrowOnError extends boolean = false>(options?: Options<GetContactData, ThrowOnError>): import("./client").RequestResult<GetContactResponses, unknown, ThrowOnError, "fields">;
66
+ /**
67
+ * Update organization contact information and billing address.
68
+ *
69
+ * This endpoint allows you to update organization details with its contact information. This endpoint is available to administrators of the organization only.
70
+ *
71
+ */
72
+ static updateContact<ThrowOnError extends boolean = false>(options: Options<UpdateContactData, ThrowOnError>): import("./client").RequestResult<UpdateContactResponses, unknown, ThrowOnError, "fields">;
37
73
  /**
38
- * Get invoice information.
39
- * Returns a single Invoice as HTML referenced by id. This endpoint is available to all users in the organization.
74
+ * Get applied promotional credits
75
+ *
76
+ * 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.
40
77
  *
41
78
  */
42
- static getInvoice<ThrowOnError extends boolean = false>(options: Options<GetInvoiceData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<{
43
- html?: string;
44
- }, unknown, ThrowOnError>;
79
+ static getCredits<ThrowOnError extends boolean = false>(options?: Options<GetCreditsData, ThrowOnError>): import("./client").RequestResult<GetCreditsResponses, GetCreditsErrors, ThrowOnError, "fields">;
80
+ /**
81
+ * Redeem promotional credits code.
82
+ *
83
+ * 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.
84
+ *
85
+ */
86
+ static redeemCredits<ThrowOnError extends boolean = false>(options: Options<RedeemCreditsData, ThrowOnError>): import("./client").RequestResult<RedeemCreditsResponses, RedeemCreditsErrors, ThrowOnError, "fields">;
45
87
  }
46
88
  export declare class ClustersService {
89
+ /**
90
+ * List charts.
91
+ *
92
+ * Returns a list of charts in the cluster.
93
+ *
94
+ * This endpoint is available to all users in the organization.
95
+ *
96
+ */
97
+ static listCharts<ThrowOnError extends boolean = false>(options: Options<ListChartsData, ThrowOnError>): import("./client").RequestResult<ListChartsResponses, ListChartsErrors, ThrowOnError, "fields">;
98
+ /**
99
+ * Create a new chart.
100
+ *
101
+ * Create a new chart deployment.
102
+ *
103
+ * This endpoint is available to administrators of the organization only.
104
+ *
105
+ */
106
+ static createChart<ThrowOnError extends boolean = false>(options: Options<CreateChartData, ThrowOnError>): import("./client").RequestResult<CreateChartResponses, CreateChartErrors, ThrowOnError, "fields">;
107
+ /**
108
+ * Permanently delete the chart deployment from the cluster.
109
+ *
110
+ * This endpoint will permanently delete chart. This operation cannot be undone.
111
+ *
112
+ * This endpoint is available to administrators of the organization only.
113
+ *
114
+ */
115
+ static deleteChart<ThrowOnError extends boolean = false>(options: Options<DeleteChartData, ThrowOnError>): import("./client").RequestResult<DeleteChartResponses, DeleteChartErrors, ThrowOnError, "fields">;
116
+ /**
117
+ * Get chart information.
118
+ *
119
+ * Returns the details of the chart deployment.
120
+ *
121
+ * This endpoint is available to all users in the organization.
122
+ *
123
+ */
124
+ static getChart<ThrowOnError extends boolean = false>(options: Options<GetChartData, ThrowOnError>): import("./client").RequestResult<GetChartResponses, unknown, ThrowOnError, "fields">;
125
+ /**
126
+ * Update chart information.
127
+ *
128
+ * This endpoint allows you to update the values of a chart deployment.
129
+ *
130
+ * This endpoint is available to administrators of the organization only.
131
+ *
132
+ */
133
+ static updateChart<ThrowOnError extends boolean = false>(options: Options<UpdateChartData, ThrowOnError>): import("./client").RequestResult<UpdateChartResponses, UpdateChartErrors, ThrowOnError, "fields">;
47
134
  /**
48
135
  * List fleets.
49
- * 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.
136
+ *
137
+ * Returns a list of fleets belonging to the cluster. For more information, see [Fleets](https://cloudfleet.ai/docs/cloud-infrastructure/fleets/) section of documentaiton.
50
138
  *
51
139
  * This endpoint is available to all users in the organization.
52
140
  *
53
141
  */
54
- static listFleets<ThrowOnError extends boolean = false>(options: Options<ListFleetsData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<import("./types.gen").Fleet[], unknown, ThrowOnError>;
142
+ static listFleets<ThrowOnError extends boolean = false>(options: Options<ListFleetsData, ThrowOnError>): import("./client").RequestResult<ListFleetsResponses, ListFleetsErrors, ThrowOnError, "fields">;
55
143
  /**
56
144
  * Create a new fleet.
57
- * 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.
145
+ *
146
+ * 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.
58
147
  *
59
148
  * This endpoint is available to administrators of the organization only.
60
149
  *
61
150
  */
62
- static createFleet<ThrowOnError extends boolean = false>(options: Options<CreateFleetData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<string, string, ThrowOnError>;
151
+ static createFleet<ThrowOnError extends boolean = false>(options: Options<CreateFleetData, ThrowOnError>): import("./client").RequestResult<CreateFleetResponses, CreateFleetErrors, ThrowOnError, "fields">;
63
152
  /**
64
153
  * Permanently delete fleet.
65
- * 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.
154
+ *
155
+ * This endpoint will permanently delete fleet. This operation cannot be undone. Your subscription will end by the end of the current billing period and you will not be able to receive credit for unused time. For more information, see [Fleets](https://cloudfleet.ai/docs/cloud-infrastructure/fleets/) section of documentaiton.
66
156
  *
67
157
  * This endpoint is available to administrators of the organization only.
68
158
  *
69
159
  */
70
- static deleteFleet<ThrowOnError extends boolean = false>(options: Options<DeleteFleetData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<string, unknown, ThrowOnError>;
160
+ static deleteFleet<ThrowOnError extends boolean = false>(options: Options<DeleteFleetData, ThrowOnError>): import("./client").RequestResult<DeleteFleetResponses, DeleteFleetErrors, ThrowOnError, "fields">;
71
161
  /**
72
162
  * Get fleet information.
73
- * Returns fleet details. For more information, see [Fleets and fleet types](https://cloudfleet.ai/docs/cloud-infrastructure/fleets-and-fleet-types/) section of documentaiton.
163
+ *
164
+ * Returns fleet details. For more information, see [Fleets](https://cloudfleet.ai/docs/cloud-infrastructure/fleets/) section of documentaiton.
74
165
  *
75
166
  * This endpoint is available to all users in the organization.
76
167
  *
77
168
  */
78
- static getFleet<ThrowOnError extends boolean = false>(options: Options<GetFleetData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<import("./types.gen").Fleet, unknown, ThrowOnError>;
169
+ static getFleet<ThrowOnError extends boolean = false>(options: Options<GetFleetData, ThrowOnError>): import("./client").RequestResult<GetFleetResponses, unknown, ThrowOnError, "fields">;
79
170
  /**
80
171
  * Update fleet information.
81
- * This endpoint allows you to update fleet details.
82
172
  *
83
- * 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`.
173
+ * This endpoint allows you to update fleet details.
84
174
  *
85
- * For more information, see [Fleets and fleet types](https://cloudfleet.ai/docs/cloud-infrastructure/fleets-and-fleet-types/) section of documentaiton.
175
+ * For more information, see [Fleets](https://cloudfleet.ai/docs/cloud-infrastructure/fleets/) section of documentaiton.
86
176
  *
87
177
  * This endpoint is available to administrators of the organization only.
88
178
  *
89
179
  */
90
- static updateFleet<ThrowOnError extends boolean = false>(options: Options<UpdateFleetData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<string, string, ThrowOnError>;
180
+ static updateFleet<ThrowOnError extends boolean = false>(options: Options<UpdateFleetData, ThrowOnError>): import("./client").RequestResult<UpdateFleetResponses, UpdateFleetErrors, ThrowOnError, "fields">;
91
181
  /**
92
182
  * Query Kubernetes cluster API
183
+ *
93
184
  * An API endpoint for directly querying a Kubernetes cluster API without requiring kubectl or other tools. This endpoint is ideal for automation and scripting, as well as for internal use in fetching data for the Cloudfleet Console. It acts as a passthrough to the Kubernetes API, allowing access to any valid Kubernetes API endpoint, including those not exposed in the Cloudfleet Console. The endpoint is strictly read-only, ensuring no modifications to the cluster state. It is accessible to all users within the organization and uses the same authentication mechanisms as other Cloudfleet API endpoints.
94
185
  */
95
- static queryCluster<ThrowOnError extends boolean = false>(options: Options<QueryClusterData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<unknown, unknown, ThrowOnError>;
186
+ static queryCluster<ThrowOnError extends boolean = false>(options: Options<QueryClusterData, ThrowOnError>): import("./client").RequestResult<QueryClusterResponses, QueryClusterErrors, ThrowOnError, "fields">;
96
187
  /**
97
188
  * List clusters.
98
- * 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.
189
+ *
190
+ * Returns a list of clusters under the current organization.
99
191
  *
100
192
  * This endpoint is available to all users in the organization.
101
193
  *
102
194
  */
103
- static listClusters<ThrowOnError extends boolean = false>(options?: Options<ListClustersData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<import("./types.gen").Cluster[], unknown, ThrowOnError>;
195
+ static listClusters<ThrowOnError extends boolean = false>(options?: Options<ListClustersData, ThrowOnError>): import("./client").RequestResult<ListClustersResponses, ListClustersErrors, ThrowOnError, "fields">;
104
196
  /**
105
197
  * Create a new cluster.
198
+ *
106
199
  * Create a new cluster under the current organization. Clusters allow you to group resources and you can create multiple clusters under the same organization, with billing delegated to the parent organization.
107
200
  *
108
201
  * This endpoint is available to administrators of the organization only.
109
202
  *
110
203
  */
111
- static createCluster<ThrowOnError extends boolean = false>(options: Options<CreateClusterData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<string, string, ThrowOnError>;
204
+ static createCluster<ThrowOnError extends boolean = false>(options: Options<CreateClusterData, ThrowOnError>): import("./client").RequestResult<CreateClusterResponses, CreateClusterErrors, ThrowOnError, "fields">;
112
205
  /**
113
206
  * Permanently delete cluster.
207
+ *
114
208
  * This endpoint will permanently delete the cluster. This operation cannot be undone.
115
209
  *
116
210
  * This endpoint is available to administrators of the organization only.
117
211
  *
118
212
  */
119
- static deleteCluster<ThrowOnError extends boolean = false>(options: Options<DeleteClusterData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<string, unknown, ThrowOnError>;
213
+ static deleteCluster<ThrowOnError extends boolean = false>(options: Options<DeleteClusterData, ThrowOnError>): import("./client").RequestResult<DeleteClusterResponses, DeleteClusterErrors, ThrowOnError, "fields">;
120
214
  /**
121
215
  * Get cluster information.
122
- * 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.
216
+ *
217
+ * Returns cluster details.
123
218
  *
124
219
  * This endpoint is available to all users in the organization.
125
220
  *
126
221
  */
127
- static getCluster<ThrowOnError extends boolean = false>(options: Options<GetClusterData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<import("./types.gen").Cluster, unknown, ThrowOnError>;
222
+ static getCluster<ThrowOnError extends boolean = false>(options: Options<GetClusterData, ThrowOnError>): import("./client").RequestResult<GetClusterResponses, unknown, ThrowOnError, "fields">;
128
223
  /**
129
224
  * Update cluster information.
130
- * 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.
225
+ *
226
+ * This endpoint allows you to update cluster details such as name, tier, and Kubernetes version. For more information about clusters, see [Clusters](https://cloudfleet.ai/docs/cluster-management/cluster-types/) section of documentation.
131
227
  *
132
228
  * This endpoint is available to administrators of the organization only.
133
229
  *
134
230
  */
135
- static updateCluster<ThrowOnError extends boolean = false>(options: Options<UpdateClusterData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<import("./types.gen").Cluster, unknown, ThrowOnError>;
231
+ static updateCluster<ThrowOnError extends boolean = false>(options: Options<UpdateClusterData, ThrowOnError>): import("./client").RequestResult<UpdateClusterResponses, UpdateClusterErrors, ThrowOnError, "fields">;
136
232
  /**
137
233
  * Node join information for the cluster
138
- * 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.
234
+ *
235
+ * Returns the join information for the cluster. This information is used to add a self-managed nodes to the CFKE cluster. This endpoint is available to only admins of the organization.
139
236
  *
140
237
  */
141
- static getJoinInformation<ThrowOnError extends boolean = false>(options: Options<GetJoinInformationData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<import("./types.gen").Cluster, unknown, ThrowOnError>;
142
- }
143
- export declare class InfrastructureService {
144
- /**
145
- * Search infrastructure catalog.
146
- * 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:
147
- *
148
- * `GET /infrastructure?accelerator_name=A100&region=northamerica`
149
- *
150
- * 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.
151
- *
152
- * **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.
153
- *
154
- * For full documentation of the infrastructure catalog, see [Cloud providers and instance types](https://cloudfleet.ai/docs/cloud-infrastructure/) section of the documentation.
155
- *
156
- */
157
- static getInfrastructure<ThrowOnError extends boolean = false>(options?: Options<GetInfrastructureData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<import("./types.gen").InfrastructureInstance[], Blob | File, ThrowOnError>;
158
- /**
159
- * Infrastructure catalog facets.
160
- * This endpoint returns calculated search facets from the infrastructure catalog.
161
- *
162
- */
163
- static getFacets<ThrowOnError extends boolean = false>(options?: Options<GetFacetsData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<{
164
- provider?: Array<string>;
165
- region?: Array<string>;
166
- sub_region?: Array<string>;
167
- csp_region?: Array<string>;
168
- vcpu_min?: number;
169
- vcpu_max?: number;
170
- memory_min?: number;
171
- memory_max?: number;
172
- storage_local_min?: number;
173
- storage_local_max?: number;
174
- accelerator_name?: Array<string>;
175
- accelerator_manufacturer?: Array<string>;
176
- accelerator_count_min?: number;
177
- accelerator_count_max?: number;
178
- accelerator_memory_min?: number;
179
- accelerator_memory_max?: number;
180
- price_min?: number;
181
- price_max?: number;
182
- regions_struct?: Array<{
183
- region?: string;
184
- sub_region?: Array<string>;
185
- }>;
186
- accelerators_struct?: Array<{
187
- accelerator_manufacturer?: string;
188
- accelerator_name?: Array<string>;
189
- }>;
190
- count_total?: number;
191
- count_accelerators?: number;
192
- count_instance_types?: number;
193
- count_accelerators_instance_types?: number;
194
- }[], unknown, ThrowOnError>;
195
- /**
196
- * Available Cloudfleet regions and Kubernetes versions.
197
- * Available Cloudfleet regions and Kubernetes versions.
198
- *
199
- */
200
- static getRegions<ThrowOnError extends boolean = false>(options?: Options<GetRegionsData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<{
201
- [key: string]: unknown;
202
- }, unknown, ThrowOnError>;
238
+ static getJoinInformation<ThrowOnError extends boolean = false>(options: Options<GetJoinInformationData, ThrowOnError>): import("./client").RequestResult<GetJoinInformationResponses, GetJoinInformationErrors, ThrowOnError, "fields">;
203
239
  }
204
240
  export declare class InvitesService {
205
241
  /**
206
242
  * List invites.
207
- * 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.
208
245
  *
209
246
  */
210
- 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">;
211
248
  /**
212
249
  * Create a new invite.
213
- * 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.
214
252
  *
215
253
  */
216
- 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">;
217
255
  /**
218
256
  * Get invite information.
219
- * 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.
220
259
  *
221
260
  */
222
- 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">;
223
262
  /**
224
263
  * Permanently delete invite.
264
+ *
225
265
  * Permanently deletes invite from the organization. This endpoint is available to administrators of the organization only.
226
266
  *
227
267
  */
228
- 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">;
269
+ }
270
+ export declare class ChartsMarketplaceService {
271
+ /**
272
+ * List chart listings available in the marketplace.
273
+ *
274
+ * Returns a list of available charts in the marketplace.
275
+ *
276
+ * This endpoint is available to all users in the organization.
277
+ *
278
+ */
279
+ static listMarketplaceCharts<ThrowOnError extends boolean = false>(options?: Options<ListMarketplaceChartsData, ThrowOnError>): import("./client").RequestResult<ListMarketplaceChartsResponses, ListMarketplaceChartsErrors, ThrowOnError, "fields">;
280
+ /**
281
+ * Get chart files for a specific version channel.
282
+ *
283
+ * Returns the Chart.yaml, values.yaml, and values.schema.json files for the latest version matching the specified version channel.
284
+ *
285
+ * 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.
286
+ *
287
+ * This endpoint is available to all users in the organization.
288
+ *
289
+ */
290
+ static getMarketplaceChartFiles<ThrowOnError extends boolean = false>(options: Options<GetMarketplaceChartFilesData, ThrowOnError>): import("./client").RequestResult<GetMarketplaceChartFilesResponses, GetMarketplaceChartFilesErrors, ThrowOnError, "fields">;
291
+ }
292
+ export declare class McpService {
293
+ /**
294
+ * MCP endpoint
295
+ *
296
+ * MCP endpoint for handling Model Context Protocol JSON-RPC 2.0 messages.
297
+ */
298
+ static postMcp<ThrowOnError extends boolean = false>(options: Options<PostMcpData, ThrowOnError>): import("./client").RequestResult<PostMcpResponses, PostMcpErrors, ThrowOnError, "fields">;
229
299
  }
230
300
  export declare class OrganizationService {
231
301
  /**
232
302
  * Get organization information.
303
+ *
233
304
  * Returns organization details including quota. For more information about quotas, see [Quotas and limits](https://cloudfleet.ai/docs/organization/quotas/) section of documentaiton.
234
305
  *
235
306
  * This endpoint is available to all users in the organization.
236
307
  *
237
308
  */
238
- static getOrganization<ThrowOnError extends boolean = false>(options?: Options<GetOrganizationData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<import("./types.gen").Organization, unknown, ThrowOnError>;
309
+ static getOrganization<ThrowOnError extends boolean = false>(options?: Options<GetOrganizationData, ThrowOnError>): import("./client").RequestResult<GetOrganizationResponses, unknown, ThrowOnError, "fields">;
239
310
  /**
240
311
  * Create a new organization / Cloudfleet account signup.
241
- * This endpoint allows you to create a new Cloudfleet organization with its contact information. For security reasons, platform quota is controlled by Cloudfleet and can be updated only by Cloudfleet administrators. Please open a support ticket if you need to change the platform quota. For more information about organizations and quotas, see [Quotas and limits](https://cloudfleet.ai/docs/organization/quotas/) section of documentaiton.
312
+ *
313
+ * This endpoint allows you to create a new Cloudfleet organization and an administrator user.
314
+ *
315
+ */
316
+ static createOrganization<ThrowOnError extends boolean = false>(options: Options<CreateOrganizationData, ThrowOnError>): import("./client").RequestResult<CreateOrganizationResponses, unknown, ThrowOnError, "fields">;
317
+ }
318
+ export declare class RegistryService {
319
+ /**
320
+ * List repositories
321
+ *
322
+ * Returns a list of repositories in the registry across all regions. This endpoint is available to all users in the organization.
242
323
  *
243
324
  */
244
- static createOrganization<ThrowOnError extends boolean = false>(options: Options<CreateOrganizationData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<import("./types.gen").Organization, unknown, ThrowOnError>;
325
+ static listRepositories<ThrowOnError extends boolean = false>(options?: Options<ListRepositoriesData, ThrowOnError>): import("./client").RequestResult<ListRepositoriesResponses, ListRepositoriesErrors, ThrowOnError, "fields">;
245
326
  /**
246
- * Update organization information.
247
- * This endpoint allows you to update organization details with its contact information. For security reasons, platform quota is controlled by Cloudfleet and can be updated only by Cloudfleet administrators. Please open a support ticket if you need to change the platform quota. For more information about organizations and quotas, see [Quotas and limits](https://cloudfleet.ai/docs/organization/quotas/) section of documentaiton.
327
+ * List tags for a repository
248
328
  *
249
- * This endpoint is available to administrators of the organization only.
329
+ * 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.
250
330
  *
251
331
  */
252
- static updateOrganization<ThrowOnError extends boolean = false>(options: Options<UpdateOrganizationData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<import("./types.gen").Organization, unknown, ThrowOnError>;
332
+ static listTags<ThrowOnError extends boolean = false>(options: Options<ListTagsData, ThrowOnError>): import("./client").RequestResult<ListTagsResponses, ListTagsErrors, ThrowOnError, "fields">;
333
+ /**
334
+ * Delete tag
335
+ *
336
+ * Permanently deletes a specific tag from a repository. This endpoint is available to administrators of the organization only.
337
+ *
338
+ */
339
+ static deleteTag<ThrowOnError extends boolean = false>(options: Options<DeleteTagData, ThrowOnError>): import("./client").RequestResult<DeleteTagResponses, DeleteTagErrors, ThrowOnError, "fields">;
340
+ /**
341
+ * Get tag details
342
+ *
343
+ * 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.
344
+ *
345
+ */
346
+ static getTag<ThrowOnError extends boolean = false>(options: Options<GetTagData, ThrowOnError>): import("./client").RequestResult<GetTagResponses, GetTagErrors, ThrowOnError, "fields">;
347
+ }
348
+ export declare class TicketsService {
349
+ /**
350
+ * List tickets for the current organization.
351
+ *
352
+ * Returns all tickets belonging to the caller's organization, newest first.
353
+ *
354
+ */
355
+ static listTickets<ThrowOnError extends boolean = false>(options?: Options<ListTicketsData, ThrowOnError>): import("./client").RequestResult<ListTicketsResponses, unknown, ThrowOnError, "fields">;
356
+ /**
357
+ * Create a new support ticket.
358
+ *
359
+ * 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).
360
+ *
361
+ */
362
+ static createTicket<ThrowOnError extends boolean = false>(options: Options<CreateTicketData, ThrowOnError>): import("./client").RequestResult<CreateTicketResponses, unknown, ThrowOnError, "fields">;
363
+ /**
364
+ * Close a ticket (soft close).
365
+ *
366
+ * Marks the ticket as closed. Closed is a terminal state — users cannot reply to a closed ticket; a new ticket must be opened instead.
367
+ *
368
+ */
369
+ static closeTicket<ThrowOnError extends boolean = false>(options: Options<CloseTicketData, ThrowOnError>): import("./client").RequestResult<CloseTicketResponses, unknown, ThrowOnError, "fields">;
370
+ /**
371
+ * Get a ticket and its messages.
372
+ */
373
+ static getTicket<ThrowOnError extends boolean = false>(options: Options<GetTicketData, ThrowOnError>): import("./client").RequestResult<GetTicketResponses, unknown, ThrowOnError, "fields">;
374
+ /**
375
+ * Append a customer reply to a ticket.
376
+ *
377
+ * Multipart form-data with a JSON-encoded `payload` field carrying `body`, plus up to 3 `attachments` files. Returns 409 if the ticket is closed.
378
+ *
379
+ */
380
+ static replyTicket<ThrowOnError extends boolean = false>(options: Options<ReplyTicketData, ThrowOnError>): import("./client").RequestResult<ReplyTicketResponses, ReplyTicketErrors, ThrowOnError, "fields">;
381
+ /**
382
+ * Download a ticket attachment.
383
+ */
384
+ static getTicketAttachment<ThrowOnError extends boolean = false>(options: Options<GetTicketAttachmentData, ThrowOnError>): import("./client").RequestResult<GetTicketAttachmentResponses, unknown, ThrowOnError, "fields">;
253
385
  }
254
386
  export declare class TokensService {
255
387
  /**
256
388
  * List access tokens in organization.
389
+ *
257
390
  * 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.
258
391
  *
259
392
  */
260
- static listTokens<ThrowOnError extends boolean = false>(options?: Options<ListTokensData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<import("./types.gen").Token[], unknown, ThrowOnError>;
393
+ static listTokens<ThrowOnError extends boolean = false>(options?: Options<ListTokensData, ThrowOnError>): import("./client").RequestResult<ListTokensResponses, ListTokensErrors, ThrowOnError, "fields">;
261
394
  /**
262
395
  * Create a new access token.
396
+ *
263
397
  * This endpoint allows you to create a new access token. For more information about identity access management and security, see [Service Accounts](https://cloudfleet.ai/docs/organization/api-tokens/) section of documentaiton.
264
398
  *
265
399
  * This endpoint is available to administrators of the organization only.
266
400
  *
267
401
  */
268
- static createToken<ThrowOnError extends boolean = false>(options: Options<CreateTokenData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<import("./types.gen").Token, unknown, ThrowOnError>;
402
+ static createToken<ThrowOnError extends boolean = false>(options: Options<CreateTokenData, ThrowOnError>): import("./client").RequestResult<CreateTokenResponses, CreateTokenErrors, ThrowOnError, "fields">;
269
403
  /**
270
404
  * Permanently delete access token.
405
+ *
271
406
  * 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.
272
407
  *
273
408
  */
274
- static deleteToken<ThrowOnError extends boolean = false>(options: Options<DeleteTokenData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<unknown, unknown, ThrowOnError>;
409
+ static deleteToken<ThrowOnError extends boolean = false>(options: Options<DeleteTokenData, ThrowOnError>): import("./client").RequestResult<DeleteTokenResponses, unknown, ThrowOnError, "fields">;
275
410
  /**
276
411
  * Get access token information.
412
+ *
277
413
  * 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.
278
414
  *
279
415
  */
280
- static getToken<ThrowOnError extends boolean = false>(options: Options<GetTokenData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<import("./types.gen").Token, unknown, ThrowOnError>;
416
+ static getToken<ThrowOnError extends boolean = false>(options: Options<GetTokenData, ThrowOnError>): import("./client").RequestResult<GetTokenResponses, GetTokenErrors, ThrowOnError, "fields">;
281
417
  /**
282
418
  * Update access token information.
419
+ *
283
420
  * This endpoint allows you to update access token details. For more information about identity access management and security, see [Service Accounts](https://cloudfleet.ai/docs/organization/api-tokens/) section of documentaiton.
284
421
  *
285
422
  * This endpoint is available to administrators of the organization only.
286
423
  *
287
424
  */
288
- static updateToken<ThrowOnError extends boolean = false>(options: Options<UpdateTokenData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<import("./types.gen").Token, unknown, ThrowOnError>;
425
+ static updateToken<ThrowOnError extends boolean = false>(options: Options<UpdateTokenData, ThrowOnError>): import("./client").RequestResult<UpdateTokenResponses, UpdateTokenErrors, ThrowOnError, "fields">;
289
426
  /**
290
427
  * Regenerate access token secret key.
428
+ *
291
429
  * Generates a new access token secret. Old secret will not be valid anymore.
292
430
  */
293
- static regenerateToken<ThrowOnError extends boolean = false>(options: Options<RegenerateTokenData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<import("./types.gen").Token, unknown, ThrowOnError>;
431
+ static regenerateToken<ThrowOnError extends boolean = false>(options: Options<RegenerateTokenData, ThrowOnError>): import("./client").RequestResult<RegenerateTokenResponses, RegenerateTokenErrors, ThrowOnError, "fields">;
294
432
  }
295
433
  export declare class UsersService {
296
434
  /**
297
435
  * Get a list of organizations the user belongs to. Used during authentication process.
298
436
  */
299
- static listUserOrganizations<ThrowOnError extends boolean = false>(options: Options<ListUserOrganizationsData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<{
300
- realm?: string;
301
- displayName?: string;
302
- }[], unknown, ThrowOnError>;
437
+ static listUserOrganizations<ThrowOnError extends boolean = false>(options: Options<ListUserOrganizationsData, ThrowOnError>): import("./client").RequestResult<ListUserOrganizationsResponses, unknown, ThrowOnError, "fields">;
303
438
  /**
304
439
  * List users in organization.
305
- * 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.
440
+ *
441
+ * 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.
306
442
  *
307
443
  * This endpoint is available to all users in the organization.
308
444
  *
309
445
  */
310
- static listUsers<ThrowOnError extends boolean = false>(options?: Options<ListUsersData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<import("./types.gen").User[], unknown, ThrowOnError>;
446
+ static listUsers<ThrowOnError extends boolean = false>(options?: Options<ListUsersData, ThrowOnError>): import("./client").RequestResult<ListUsersResponses, ListUsersErrors, ThrowOnError, "fields">;
311
447
  /**
312
448
  * Create a new user.
313
- * 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.
449
+ *
450
+ * 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.
314
451
  *
315
452
  */
316
- static createUser<ThrowOnError extends boolean = false>(options: Options<CreateUserData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<import("./types.gen").User, unknown, ThrowOnError>;
453
+ static createUser<ThrowOnError extends boolean = false>(options: Options<CreateUserData, ThrowOnError>): import("./client").RequestResult<CreateUserResponses, unknown, ThrowOnError, "fields">;
317
454
  /**
318
455
  * Delete user by id.
456
+ *
319
457
  * Sets user status to `inactive`. Inactive users cannot log in and manage organization resources. This endpoint is available to administrators of the organization only.
320
458
  *
321
459
  */
322
- static deleteUser<ThrowOnError extends boolean = false>(options: Options<DeleteUserData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<import("./types.gen").User, unknown, ThrowOnError>;
460
+ static deleteUser<ThrowOnError extends boolean = false>(options: Options<DeleteUserData, ThrowOnError>): import("./client").RequestResult<DeleteUserResponses, DeleteUserErrors, ThrowOnError, "fields">;
323
461
  /**
324
462
  * Get user profile information by id.
325
- * 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.
463
+ *
464
+ * Returns user details including their roles. For more information on identity access management, see [Users](https://cloudfleet.ai/docs/organization/users/) section of documentaiton.
326
465
  *
327
466
  * This endpoint is available to all users in the organization.
328
467
  *
329
468
  */
330
- static getUser<ThrowOnError extends boolean = false>(options: Options<GetUserData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<import("./types.gen").User, unknown, ThrowOnError>;
469
+ static getUser<ThrowOnError extends boolean = false>(options: Options<GetUserData, ThrowOnError>): import("./client").RequestResult<GetUserResponses, GetUserErrors, ThrowOnError, "fields">;
331
470
  /**
332
471
  * Update user profile information.
333
- * 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.
334
472
  *
335
- */
336
- static updateUser<ThrowOnError extends boolean = false>(options: Options<UpdateUserData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<import("./types.gen").User, unknown, ThrowOnError>;
337
- /**
338
- * Remove user from cluster.
339
- * 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.
340
- *
341
- */
342
- static deleteClusterPermissions<ThrowOnError extends boolean = false>(options: Options<DeleteClusterPermissionsData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<import("./types.gen").User, unknown, ThrowOnError>;
343
- /**
344
- * Add user to cluster and set permissions.
345
- * Add user to the cluster and set / update access permissions. This endpoint is available to administrators of the organization only.
473
+ * 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.
346
474
  *
347
475
  */
348
- static setClusterPermissions<ThrowOnError extends boolean = false>(options: Options<SetClusterPermissionsData, ThrowOnError>): import("@hey-api/client-fetch").RequestResult<import("./types.gen").User, unknown, ThrowOnError>;
476
+ static updateUser<ThrowOnError extends boolean = false>(options: Options<UpdateUserData, ThrowOnError>): import("./client").RequestResult<UpdateUserResponses, unknown, ThrowOnError, "fields">;
349
477
  }
350
478
  //# sourceMappingURL=sdk.gen.d.ts.map