@cloudfleet/sdk 0.0.1-6a8db0f → 0.0.1-6d7ad01

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 (68) 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 +205 -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 +125 -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 +231 -0
  16. package/dist/client/utils.gen.js.map +1 -0
  17. package/dist/client.gen.d.ts +4 -4
  18. package/dist/client.gen.d.ts.map +1 -1
  19. package/dist/client.gen.js +1 -1
  20. package/dist/client.gen.js.map +1 -1
  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 +18 -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 +34 -0
  30. package/dist/core/params.gen.d.ts.map +1 -0
  31. package/dist/core/params.gen.js +89 -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 +115 -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 +100 -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 +136 -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/schemas.gen.d.ts +574 -487
  54. package/dist/schemas.gen.d.ts.map +1 -1
  55. package/dist/schemas.gen.js +604 -536
  56. package/dist/schemas.gen.js.map +1 -1
  57. package/dist/sdk.gen.d.ts +134 -69
  58. package/dist/sdk.gen.d.ts.map +1 -1
  59. package/dist/sdk.gen.js +178 -87
  60. package/dist/sdk.gen.js.map +1 -1
  61. package/dist/services/kubernetes/api.d.ts +12 -12
  62. package/dist/types.gen.d.ts +546 -332
  63. package/dist/types.gen.d.ts.map +1 -1
  64. package/dist/zod.gen.d.ts +1785 -2101
  65. package/dist/zod.gen.d.ts.map +1 -1
  66. package/dist/zod.gen.js +728 -760
  67. package/dist/zod.gen.js.map +1 -1
  68. package/package.json +5 -6
package/dist/sdk.gen.js CHANGED
@@ -1,121 +1,107 @@
1
1
  // This file is auto-generated by @hey-api/openapi-ts
2
- import { client as _heyApiClient } from './client.gen';
2
+ import { client } from './client.gen';
3
3
  export class BillingService {
4
4
  /**
5
5
  * Get billing usage information.
6
- * 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.
6
+ *
7
+ * 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.
7
8
  *
8
9
  */
9
10
  static getUsage(options) {
10
- return (options?.client ?? _heyApiClient).get({
11
+ return (options?.client ?? client).get({
11
12
  url: '/billing/usage',
12
13
  ...options
13
14
  });
14
15
  }
15
- /**
16
- * Get billing balance information.
17
- * 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.
18
- *
19
- */
20
- static getBalance(options) {
21
- return (options?.client ?? _heyApiClient).get({
22
- url: '/billing/balance',
23
- ...options
24
- });
25
- }
26
16
  /**
27
17
  * Get organization payment method information.
18
+ *
28
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.
29
20
  *
30
21
  */
31
22
  static getPaymentMethod(options) {
32
- return (options?.client ?? _heyApiClient).get({
23
+ return (options?.client ?? client).get({
33
24
  url: '/billing/payment-method',
34
25
  ...options
35
26
  });
36
27
  }
37
28
  /**
38
29
  * Get Stripe client secret.
30
+ *
39
31
  * 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.
40
32
  *
41
33
  */
42
34
  static getPaymentMethodSecret(options) {
43
- return (options?.client ?? _heyApiClient).put({
35
+ return (options?.client ?? client).put({
44
36
  url: '/billing/payment-method',
45
37
  ...options
46
38
  });
47
39
  }
48
40
  /**
49
41
  * List issued invoices.
42
+ *
50
43
  * 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.
51
44
  *
52
45
  */
53
46
  static listInvoices(options) {
54
- return (options.client ?? _heyApiClient).get({
47
+ return (options?.client ?? client).get({
55
48
  url: '/billing/invoices',
56
49
  ...options
57
50
  });
58
51
  }
59
- /**
60
- * Get invoice information.
61
- * Returns a single Invoice as HTML referenced by id. This endpoint is available to all users in the organization.
62
- *
63
- */
64
- static getInvoice(options) {
65
- return (options.client ?? _heyApiClient).get({
66
- url: '/billing/invoices/{id}',
67
- ...options
68
- });
69
- }
70
52
  /**
71
53
  * Get organization contact and billing address information.
54
+ *
72
55
  * Returns the organization contact and billing address information. This endpoint is available to all users in the organization.
73
56
  *
74
57
  */
75
58
  static getContact(options) {
76
- return (options?.client ?? _heyApiClient).get({
59
+ return (options?.client ?? client).get({
77
60
  url: '/billing/contact',
78
61
  ...options
79
62
  });
80
63
  }
81
64
  /**
82
65
  * Update organization contact information and billing address.
66
+ *
83
67
  * This endpoint allows you to update organization details with its contact information. This endpoint is available to administrators of the organization only.
84
68
  *
85
69
  */
86
70
  static updateContact(options) {
87
- return (options.client ?? _heyApiClient).put({
71
+ return (options.client ?? client).put({
88
72
  url: '/billing/contact',
89
73
  ...options,
90
74
  headers: {
91
75
  'Content-Type': 'application/json',
92
- ...options?.headers
76
+ ...options.headers
93
77
  }
94
78
  });
95
79
  }
96
80
  /**
97
81
  * Get applied promotional credits
82
+ *
98
83
  * 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.
99
84
  *
100
85
  */
101
86
  static getCredits(options) {
102
- return (options?.client ?? _heyApiClient).get({
87
+ return (options?.client ?? client).get({
103
88
  url: '/billing/credits',
104
89
  ...options
105
90
  });
106
91
  }
107
92
  /**
108
93
  * Redeem promotional credits code.
94
+ *
109
95
  * 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.
110
96
  *
111
97
  */
112
98
  static redeemCredits(options) {
113
- return (options.client ?? _heyApiClient).post({
99
+ return (options.client ?? client).post({
114
100
  url: '/billing/credits',
115
101
  ...options,
116
102
  headers: {
117
103
  'Content-Type': 'application/json',
118
- ...options?.headers
104
+ ...options.headers
119
105
  }
120
106
  });
121
107
  }
@@ -123,135 +109,145 @@ export class BillingService {
123
109
  export class ClustersService {
124
110
  /**
125
111
  * List charts.
112
+ *
126
113
  * Returns a list of charts in the cluster.
127
114
  *
128
115
  * This endpoint is available to all users in the organization.
129
116
  *
130
117
  */
131
118
  static listCharts(options) {
132
- return (options.client ?? _heyApiClient).get({
119
+ return (options.client ?? client).get({
133
120
  url: '/clusters/{cluster_id}/charts',
134
121
  ...options
135
122
  });
136
123
  }
137
124
  /**
138
125
  * Create a new chart.
126
+ *
139
127
  * Create a new chart deployment.
140
128
  *
141
129
  * This endpoint is available to administrators of the organization only.
142
130
  *
143
131
  */
144
132
  static createChart(options) {
145
- return (options.client ?? _heyApiClient).post({
133
+ return (options.client ?? client).post({
146
134
  url: '/clusters/{cluster_id}/charts',
147
135
  ...options,
148
136
  headers: {
149
137
  'Content-Type': 'application/json',
150
- ...options?.headers
138
+ ...options.headers
151
139
  }
152
140
  });
153
141
  }
154
142
  /**
155
143
  * Permanently delete the chart deployment from the cluster.
144
+ *
156
145
  * This endpoint will permanently delete chart. This operation cannot be undone.
157
146
  *
158
147
  * This endpoint is available to administrators of the organization only.
159
148
  *
160
149
  */
161
150
  static deleteChart(options) {
162
- return (options.client ?? _heyApiClient).delete({
151
+ return (options.client ?? client).delete({
163
152
  url: '/clusters/{cluster_id}/charts/{chart_name}',
164
153
  ...options
165
154
  });
166
155
  }
167
156
  /**
168
157
  * Get chart information.
158
+ *
169
159
  * Returns the details of the chart deployment.
170
160
  *
171
161
  * This endpoint is available to all users in the organization.
172
162
  *
173
163
  */
174
164
  static getChart(options) {
175
- return (options.client ?? _heyApiClient).get({
165
+ return (options.client ?? client).get({
176
166
  url: '/clusters/{cluster_id}/charts/{chart_name}',
177
167
  ...options
178
168
  });
179
169
  }
180
170
  /**
181
171
  * Update chart information.
172
+ *
182
173
  * This endpoint allows you to update the values of a chart deployment.
183
174
  *
184
175
  * This endpoint is available to administrators of the organization only.
185
176
  *
186
177
  */
187
178
  static updateChart(options) {
188
- return (options.client ?? _heyApiClient).put({
179
+ return (options.client ?? client).put({
189
180
  url: '/clusters/{cluster_id}/charts/{chart_name}',
190
181
  ...options,
191
182
  headers: {
192
183
  'Content-Type': 'application/json',
193
- ...options?.headers
184
+ ...options.headers
194
185
  }
195
186
  });
196
187
  }
197
188
  /**
198
189
  * List fleets.
190
+ *
199
191
  * Returns a list of fleets belonging to the cluster. For more information, see [Fleets](https://cloudfleet.ai/docs/cloud-infrastructure/fleets/) section of documentaiton.
200
192
  *
201
193
  * This endpoint is available to all users in the organization.
202
194
  *
203
195
  */
204
196
  static listFleets(options) {
205
- return (options.client ?? _heyApiClient).get({
197
+ return (options.client ?? client).get({
206
198
  url: '/clusters/{cluster_id}/fleets',
207
199
  ...options
208
200
  });
209
201
  }
210
202
  /**
211
203
  * Create a new fleet.
204
+ *
212
205
  * 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.
213
206
  *
214
207
  * This endpoint is available to administrators of the organization only.
215
208
  *
216
209
  */
217
210
  static createFleet(options) {
218
- return (options.client ?? _heyApiClient).post({
211
+ return (options.client ?? client).post({
219
212
  url: '/clusters/{cluster_id}/fleets',
220
213
  ...options,
221
214
  headers: {
222
215
  'Content-Type': 'application/json',
223
- ...options?.headers
216
+ ...options.headers
224
217
  }
225
218
  });
226
219
  }
227
220
  /**
228
221
  * Permanently delete fleet.
222
+ *
229
223
  * 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.
230
224
  *
231
225
  * This endpoint is available to administrators of the organization only.
232
226
  *
233
227
  */
234
228
  static deleteFleet(options) {
235
- return (options.client ?? _heyApiClient).delete({
229
+ return (options.client ?? client).delete({
236
230
  url: '/clusters/{cluster_id}/fleets/{fleet_name}',
237
231
  ...options
238
232
  });
239
233
  }
240
234
  /**
241
235
  * Get fleet information.
236
+ *
242
237
  * Returns fleet details. For more information, see [Fleets](https://cloudfleet.ai/docs/cloud-infrastructure/fleets/) section of documentaiton.
243
238
  *
244
239
  * This endpoint is available to all users in the organization.
245
240
  *
246
241
  */
247
242
  static getFleet(options) {
248
- return (options.client ?? _heyApiClient).get({
243
+ return (options.client ?? client).get({
249
244
  url: '/clusters/{cluster_id}/fleets/{fleet_name}',
250
245
  ...options
251
246
  });
252
247
  }
253
248
  /**
254
249
  * Update fleet information.
250
+ *
255
251
  * This endpoint allows you to update fleet details.
256
252
  *
257
253
  * 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`.
@@ -262,105 +258,112 @@ export class ClustersService {
262
258
  *
263
259
  */
264
260
  static updateFleet(options) {
265
- return (options.client ?? _heyApiClient).put({
261
+ return (options.client ?? client).put({
266
262
  url: '/clusters/{cluster_id}/fleets/{fleet_name}',
267
263
  ...options,
268
264
  headers: {
269
265
  'Content-Type': 'application/json',
270
- ...options?.headers
266
+ ...options.headers
271
267
  }
272
268
  });
273
269
  }
274
270
  /**
275
271
  * Query Kubernetes cluster API
272
+ *
276
273
  * 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.
277
274
  */
278
275
  static queryCluster(options) {
279
- return (options.client ?? _heyApiClient).get({
276
+ return (options.client ?? client).get({
280
277
  url: '/clusters/{cluster_id}/query',
281
278
  ...options
282
279
  });
283
280
  }
284
281
  /**
285
282
  * List clusters.
283
+ *
286
284
  * 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.
287
285
  *
288
286
  * This endpoint is available to all users in the organization.
289
287
  *
290
288
  */
291
289
  static listClusters(options) {
292
- return (options?.client ?? _heyApiClient).get({
290
+ return (options?.client ?? client).get({
293
291
  url: '/clusters',
294
292
  ...options
295
293
  });
296
294
  }
297
295
  /**
298
296
  * Create a new cluster.
297
+ *
299
298
  * 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.
300
299
  *
301
300
  * This endpoint is available to administrators of the organization only.
302
301
  *
303
302
  */
304
303
  static createCluster(options) {
305
- return (options.client ?? _heyApiClient).post({
304
+ return (options.client ?? client).post({
306
305
  url: '/clusters',
307
306
  ...options,
308
307
  headers: {
309
308
  'Content-Type': 'application/json',
310
- ...options?.headers
309
+ ...options.headers
311
310
  }
312
311
  });
313
312
  }
314
313
  /**
315
314
  * Permanently delete cluster.
315
+ *
316
316
  * This endpoint will permanently delete the cluster. This operation cannot be undone.
317
317
  *
318
318
  * This endpoint is available to administrators of the organization only.
319
319
  *
320
320
  */
321
321
  static deleteCluster(options) {
322
- return (options.client ?? _heyApiClient).delete({
322
+ return (options.client ?? client).delete({
323
323
  url: '/clusters/{cluster_id}',
324
324
  ...options
325
325
  });
326
326
  }
327
327
  /**
328
328
  * Get cluster information.
329
+ *
329
330
  * 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.
330
331
  *
331
332
  * This endpoint is available to all users in the organization.
332
333
  *
333
334
  */
334
335
  static getCluster(options) {
335
- return (options.client ?? _heyApiClient).get({
336
+ return (options.client ?? client).get({
336
337
  url: '/clusters/{cluster_id}',
337
338
  ...options
338
339
  });
339
340
  }
340
341
  /**
341
342
  * Update cluster information.
343
+ *
342
344
  * 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.
343
345
  *
344
346
  * This endpoint is available to administrators of the organization only.
345
347
  *
346
348
  */
347
349
  static updateCluster(options) {
348
- return (options.client ?? _heyApiClient).put({
350
+ return (options.client ?? client).put({
349
351
  url: '/clusters/{cluster_id}',
350
352
  ...options,
351
353
  headers: {
352
354
  'Content-Type': 'application/json',
353
- ...options?.headers
355
+ ...options.headers
354
356
  }
355
357
  });
356
358
  }
357
359
  /**
358
360
  * Node join information for the cluster
361
+ *
359
362
  * 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.
360
363
  *
361
364
  */
362
365
  static getJoinInformation(options) {
363
- return (options.client ?? _heyApiClient).post({
366
+ return (options.client ?? client).post({
364
367
  url: '/clusters/{cluster_id}/join_information',
365
368
  ...options
366
369
  });
@@ -369,48 +372,52 @@ export class ClustersService {
369
372
  export class InvitesService {
370
373
  /**
371
374
  * List invites.
375
+ *
372
376
  * Returns a list of invites under the current organization. This endpoint is available to all users in the organization.
373
377
  *
374
378
  */
375
379
  static listInvites(options) {
376
- return (options?.client ?? _heyApiClient).get({
380
+ return (options?.client ?? client).get({
377
381
  url: '/invites',
378
382
  ...options
379
383
  });
380
384
  }
381
385
  /**
382
386
  * Create a new invite.
387
+ *
383
388
  * 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.
384
389
  *
385
390
  */
386
391
  static createInvite(options) {
387
- return (options.client ?? _heyApiClient).post({
392
+ return (options.client ?? client).post({
388
393
  url: '/invites',
389
394
  ...options,
390
395
  headers: {
391
396
  'Content-Type': 'application/json',
392
- ...options?.headers
397
+ ...options.headers
393
398
  }
394
399
  });
395
400
  }
396
401
  /**
397
402
  * Get invite information.
403
+ *
398
404
  * Returns invite details.
399
405
  *
400
406
  */
401
407
  static getInvite(options) {
402
- return (options.client ?? _heyApiClient).get({
408
+ return (options.client ?? client).get({
403
409
  url: '/invites/{code}',
404
410
  ...options
405
411
  });
406
412
  }
407
413
  /**
408
414
  * Permanently delete invite.
415
+ *
409
416
  * Permanently deletes invite from the organization. This endpoint is available to administrators of the organization only.
410
417
  *
411
418
  */
412
419
  static deleteInvite(options) {
413
- return (options.client ?? _heyApiClient).delete({
420
+ return (options.client ?? client).delete({
414
421
  url: '/invites/{email}',
415
422
  ...options
416
423
  });
@@ -419,135 +426,214 @@ export class InvitesService {
419
426
  export class ChartsMarketplaceService {
420
427
  /**
421
428
  * List chart listings available in the marketplace.
429
+ *
422
430
  * Returns a list of available charts in the marketplace.
423
431
  *
424
432
  * This endpoint is available to all users in the organization.
425
433
  *
426
434
  */
427
435
  static listMarketplaceCharts(options) {
428
- return (options?.client ?? _heyApiClient).get({
436
+ return (options?.client ?? client).get({
429
437
  url: '/marketplace',
430
438
  ...options
431
439
  });
432
440
  }
433
441
  /**
434
- * Get chart listing details.
435
- * Returns details of the chart listing.
442
+ * Get chart files for a specific version channel.
443
+ *
444
+ * Returns the Chart.yaml, values.yaml, and values.schema.json files for the latest version matching the specified version channel.
445
+ *
446
+ * 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.
436
447
  *
437
448
  * This endpoint is available to all users in the organization.
438
449
  *
439
450
  */
440
- static getMarketplaceChart(options) {
441
- return (options.client ?? _heyApiClient).get({
442
- url: '/marketplace/{listing_id}',
451
+ static getMarketplaceChartFiles(options) {
452
+ return (options.client ?? client).get({
453
+ url: '/marketplace/{chart_name}/files/{version_channel}',
443
454
  ...options
444
455
  });
445
456
  }
446
457
  }
458
+ export class McpService {
459
+ /**
460
+ * MCP endpoint
461
+ *
462
+ * MCP endpoint for handling Model Context Protocol JSON-RPC 2.0 messages.
463
+ */
464
+ static postMcp(options) {
465
+ return (options.client ?? client).post({
466
+ url: '/mcp',
467
+ ...options,
468
+ headers: {
469
+ 'Content-Type': 'application/json',
470
+ ...options.headers
471
+ }
472
+ });
473
+ }
474
+ }
447
475
  export class OrganizationService {
448
476
  /**
449
477
  * Get organization information.
478
+ *
450
479
  * Returns organization details including quota. For more information about quotas, see [Quotas and limits](https://cloudfleet.ai/docs/organization/quotas/) section of documentaiton.
451
480
  *
452
481
  * This endpoint is available to all users in the organization.
453
482
  *
454
483
  */
455
484
  static getOrganization(options) {
456
- return (options?.client ?? _heyApiClient).get({
485
+ return (options?.client ?? client).get({
457
486
  url: '/organization',
458
487
  ...options
459
488
  });
460
489
  }
461
490
  /**
462
491
  * Create a new organization / Cloudfleet account signup.
492
+ *
463
493
  * This endpoint allows you to create a new Cloudfleet organization and an administrator user.
464
494
  *
465
495
  */
466
496
  static createOrganization(options) {
467
- return (options.client ?? _heyApiClient).post({
497
+ return (options.client ?? client).post({
468
498
  url: '/organization',
469
499
  ...options,
470
500
  headers: {
471
501
  'Content-Type': 'application/json',
472
- ...options?.headers
502
+ ...options.headers
473
503
  }
474
504
  });
475
505
  }
476
506
  }
507
+ export class RegistryService {
508
+ /**
509
+ * List repositories
510
+ *
511
+ * Returns a list of repositories in the registry across all regions. This endpoint is available to all users in the organization.
512
+ *
513
+ */
514
+ static listRepositories(options) {
515
+ return (options?.client ?? client).get({
516
+ url: '/registry',
517
+ ...options
518
+ });
519
+ }
520
+ /**
521
+ * List tags for a repository
522
+ *
523
+ * 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.
524
+ *
525
+ */
526
+ static listTags(options) {
527
+ return (options.client ?? client).get({
528
+ url: '/registry/{region}/{repository}',
529
+ ...options
530
+ });
531
+ }
532
+ /**
533
+ * Delete tag
534
+ *
535
+ * Permanently deletes a specific tag from a repository. This endpoint is available to administrators of the organization only.
536
+ *
537
+ */
538
+ static deleteTag(options) {
539
+ return (options.client ?? client).delete({
540
+ url: '/registry/{region}/{repository}/{tag}',
541
+ ...options
542
+ });
543
+ }
544
+ /**
545
+ * Get tag details
546
+ *
547
+ * 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.
548
+ *
549
+ */
550
+ static getTag(options) {
551
+ return (options.client ?? client).get({
552
+ url: '/registry/{region}/{repository}/{tag}',
553
+ ...options
554
+ });
555
+ }
556
+ }
477
557
  export class TokensService {
478
558
  /**
479
559
  * List access tokens in organization.
560
+ *
480
561
  * 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.
481
562
  *
482
563
  */
483
564
  static listTokens(options) {
484
- return (options?.client ?? _heyApiClient).get({
565
+ return (options?.client ?? client).get({
485
566
  url: '/tokens',
486
567
  ...options
487
568
  });
488
569
  }
489
570
  /**
490
571
  * Create a new access token.
572
+ *
491
573
  * 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.
492
574
  *
493
575
  * This endpoint is available to administrators of the organization only.
494
576
  *
495
577
  */
496
578
  static createToken(options) {
497
- return (options.client ?? _heyApiClient).post({
579
+ return (options.client ?? client).post({
498
580
  url: '/tokens',
499
581
  ...options,
500
582
  headers: {
501
583
  'Content-Type': 'application/json',
502
- ...options?.headers
584
+ ...options.headers
503
585
  }
504
586
  });
505
587
  }
506
588
  /**
507
589
  * Permanently delete access token.
590
+ *
508
591
  * 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.
509
592
  *
510
593
  */
511
594
  static deleteToken(options) {
512
- return (options.client ?? _heyApiClient).delete({
595
+ return (options.client ?? client).delete({
513
596
  url: '/tokens/{token_id}',
514
597
  ...options
515
598
  });
516
599
  }
517
600
  /**
518
601
  * Get access token information.
602
+ *
519
603
  * 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.
520
604
  *
521
605
  */
522
606
  static getToken(options) {
523
- return (options.client ?? _heyApiClient).get({
607
+ return (options.client ?? client).get({
524
608
  url: '/tokens/{token_id}',
525
609
  ...options
526
610
  });
527
611
  }
528
612
  /**
529
613
  * Update access token information.
614
+ *
530
615
  * 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.
531
616
  *
532
617
  * This endpoint is available to administrators of the organization only.
533
618
  *
534
619
  */
535
620
  static updateToken(options) {
536
- return (options.client ?? _heyApiClient).put({
621
+ return (options.client ?? client).put({
537
622
  url: '/tokens/{token_id}',
538
623
  ...options,
539
624
  headers: {
540
625
  'Content-Type': 'application/json',
541
- ...options?.headers
626
+ ...options.headers
542
627
  }
543
628
  });
544
629
  }
545
630
  /**
546
631
  * Regenerate access token secret key.
632
+ *
547
633
  * Generates a new access token secret. Old secret will not be valid anymore.
548
634
  */
549
635
  static regenerateToken(options) {
550
- return (options.client ?? _heyApiClient).put({
636
+ return (options.client ?? client).put({
551
637
  url: '/tokens/{token_id}/secret',
552
638
  ...options
553
639
  });
@@ -558,75 +644,80 @@ export class UsersService {
558
644
  * Get a list of organizations the user belongs to. Used during authentication process.
559
645
  */
560
646
  static listUserOrganizations(options) {
561
- return (options.client ?? _heyApiClient).get({
647
+ return (options.client ?? client).get({
562
648
  url: '/users/organizations/{email}',
563
649
  ...options
564
650
  });
565
651
  }
566
652
  /**
567
653
  * List users in organization.
654
+ *
568
655
  * 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.
569
656
  *
570
657
  * This endpoint is available to all users in the organization.
571
658
  *
572
659
  */
573
660
  static listUsers(options) {
574
- return (options?.client ?? _heyApiClient).get({
661
+ return (options?.client ?? client).get({
575
662
  url: '/users',
576
663
  ...options
577
664
  });
578
665
  }
579
666
  /**
580
667
  * Create a new user.
668
+ *
581
669
  * 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.
582
670
  *
583
671
  */
584
672
  static createUser(options) {
585
- return (options.client ?? _heyApiClient).post({
673
+ return (options.client ?? client).post({
586
674
  url: '/users',
587
675
  ...options,
588
676
  headers: {
589
677
  'Content-Type': 'application/json',
590
- ...options?.headers
678
+ ...options.headers
591
679
  }
592
680
  });
593
681
  }
594
682
  /**
595
683
  * Delete user by id.
684
+ *
596
685
  * Sets user status to `inactive`. Inactive users cannot log in and manage organization resources. This endpoint is available to administrators of the organization only.
597
686
  *
598
687
  */
599
688
  static deleteUser(options) {
600
- return (options.client ?? _heyApiClient).delete({
689
+ return (options.client ?? client).delete({
601
690
  url: '/users/{user_id}',
602
691
  ...options
603
692
  });
604
693
  }
605
694
  /**
606
695
  * Get user profile information by id.
696
+ *
607
697
  * Returns user details including their roles. For more information on identity access management, see [Users](https://cloudfleet.ai/docs/organization/users/) section of documentaiton.
608
698
  *
609
699
  * This endpoint is available to all users in the organization.
610
700
  *
611
701
  */
612
702
  static getUser(options) {
613
- return (options.client ?? _heyApiClient).get({
703
+ return (options.client ?? client).get({
614
704
  url: '/users/{user_id}',
615
705
  ...options
616
706
  });
617
707
  }
618
708
  /**
619
709
  * Update user profile information.
710
+ *
620
711
  * 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.
621
712
  *
622
713
  */
623
714
  static updateUser(options) {
624
- return (options.client ?? _heyApiClient).put({
715
+ return (options.client ?? client).put({
625
716
  url: '/users/{user_id}',
626
717
  ...options,
627
718
  headers: {
628
719
  'Content-Type': 'application/json',
629
- ...options?.headers
720
+ ...options.headers
630
721
  }
631
722
  });
632
723
  }