@cloudfleet/sdk 0.0.1-a0f38b2 → 0.0.1-a3b700e

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 (61) hide show
  1. package/README.md +26 -2
  2. package/dist/@tanstack/react-query.gen.d.ts +1149 -0
  3. package/dist/@tanstack/react-query.gen.d.ts.map +1 -0
  4. package/dist/@tanstack/react-query.gen.js +1165 -0
  5. package/dist/@tanstack/react-query.gen.js.map +1 -0
  6. package/dist/client/client.gen.d.ts.map +1 -1
  7. package/dist/client/client.gen.js +114 -102
  8. package/dist/client/client.gen.js.map +1 -1
  9. package/dist/client/index.d.ts +1 -1
  10. package/dist/client/index.d.ts.map +1 -1
  11. package/dist/client/index.js.map +1 -1
  12. package/dist/client/types.gen.d.ts +9 -13
  13. package/dist/client/types.gen.d.ts.map +1 -1
  14. package/dist/client/utils.gen.d.ts +8 -4
  15. package/dist/client/utils.gen.d.ts.map +1 -1
  16. package/dist/client/utils.gen.js +13 -15
  17. package/dist/client/utils.gen.js.map +1 -1
  18. package/dist/client.gen.d.ts.map +1 -1
  19. package/dist/client.gen.js +1 -3
  20. package/dist/client.gen.js.map +1 -1
  21. package/dist/core/auth.gen.d.ts.map +1 -1
  22. package/dist/core/auth.gen.js.map +1 -1
  23. package/dist/core/bodySerializer.gen.d.ts +16 -8
  24. package/dist/core/bodySerializer.gen.d.ts.map +1 -1
  25. package/dist/core/bodySerializer.gen.js +1 -1
  26. package/dist/core/bodySerializer.gen.js.map +1 -1
  27. package/dist/core/params.gen.d.ts +10 -0
  28. package/dist/core/params.gen.d.ts.map +1 -1
  29. package/dist/core/params.gen.js +22 -10
  30. package/dist/core/params.gen.js.map +1 -1
  31. package/dist/core/pathSerializer.gen.d.ts.map +1 -1
  32. package/dist/core/pathSerializer.gen.js +3 -11
  33. package/dist/core/pathSerializer.gen.js.map +1 -1
  34. package/dist/core/queryKeySerializer.gen.d.ts.map +1 -1
  35. package/dist/core/queryKeySerializer.gen.js +4 -11
  36. package/dist/core/queryKeySerializer.gen.js.map +1 -1
  37. package/dist/core/serverSentEvents.gen.d.ts +1 -1
  38. package/dist/core/serverSentEvents.gen.d.ts.map +1 -1
  39. package/dist/core/serverSentEvents.gen.js +6 -9
  40. package/dist/core/serverSentEvents.gen.js.map +1 -1
  41. package/dist/core/types.gen.d.ts +1 -1
  42. package/dist/core/types.gen.d.ts.map +1 -1
  43. package/dist/core/utils.gen.d.ts.map +1 -1
  44. package/dist/core/utils.gen.js +1 -1
  45. package/dist/core/utils.gen.js.map +1 -1
  46. package/dist/schemas.gen.d.ts +1067 -132
  47. package/dist/schemas.gen.d.ts.map +1 -1
  48. package/dist/schemas.gen.js +2439 -211
  49. package/dist/schemas.gen.js.map +1 -1
  50. package/dist/sdk.gen.d.ts +242 -192
  51. package/dist/sdk.gen.d.ts.map +1 -1
  52. package/dist/sdk.gen.js +348 -370
  53. package/dist/sdk.gen.js.map +1 -1
  54. package/dist/services/kubernetes/api.d.ts +8 -8
  55. package/dist/types.gen.d.ts +1542 -748
  56. package/dist/types.gen.d.ts.map +1 -1
  57. package/dist/zod.gen.d.ts +3387 -1429
  58. package/dist/zod.gen.d.ts.map +1 -1
  59. package/dist/zod.gen.js +1353 -635
  60. package/dist/zod.gen.js.map +1 -1
  61. package/package.json +28 -8
@@ -2,6 +2,10 @@ export type ClientOptions = {
2
2
  baseUrl: 'https://api.cloudfleet.ai/v1' | (string & {});
3
3
  };
4
4
  export type BillingContact = {
5
+ /**
6
+ * Type of the organization. `business` for legal entities, `personal` for individuals.
7
+ */
8
+ type: 'business' | 'personal';
5
9
  /**
6
10
  * Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
7
11
  */
@@ -129,9 +133,9 @@ export type Chart = {
129
133
  */
130
134
  chart: string;
131
135
  /**
132
- * Status of the chart deployment.
136
+ * Status of the chart deployment (Flux HelmRelease Ready condition reason, e.g. InstallSucceeded, UpgradeFailed, Progressing).
133
137
  */
134
- status: 'InstallSucceeded' | 'InstallFailed' | 'UpgradeSucceeded' | 'UpgradeFailed' | 'TestSucceeded' | 'TestFailed' | 'RollbackSucceeded' | 'RollbackFailed' | 'UninstallSucceeded' | 'UninstallFailed' | 'ArtifactFailed' | 'DependencyNotReady' | 'Progressing' | 'SourceNotReady';
138
+ status: string;
135
139
  /**
136
140
  * Current version of the chart deployment.
137
141
  */
@@ -159,6 +163,9 @@ export type ChartUpdateInput = {
159
163
  */
160
164
  version_channel: string;
161
165
  };
166
+ /**
167
+ * Mutable cluster configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
168
+ */
162
169
  export type ClusterCreateInput = {
163
170
  /**
164
171
  * Name of the cluster.
@@ -167,15 +174,61 @@ export type ClusterCreateInput = {
167
174
  /**
168
175
  * Tier of the cluster.
169
176
  */
170
- tier: 'basic' | 'pro';
177
+ tier?: 'basic' | 'pro';
178
+ /**
179
+ * Version of the kubernetes cluster.
180
+ */
181
+ version_channel?: string;
171
182
  /**
172
- * Cloudfleet control plane region. One of "staging", "northamerica-central-1", "europe-central-1a", "northamerica-central-1a". This field can not be updated after creation.
183
+ * Release channel for the cluster's control plane.
173
184
  */
174
- region?: 'staging' | 'northamerica-central-1' | 'europe-central-1a' | 'northamerica-central-1a';
185
+ release_channel?: 'rapid' | 'stable' | 'extended';
175
186
  /**
176
- * Version of the kubernetes cluster.
187
+ * Cluster feature toggles.
188
+ */
189
+ features?: {
190
+ /**
191
+ * GPU sharing strategy.
192
+ */
193
+ gpu_sharing_strategy?: 'none' | 'mps' | 'time_slicing';
194
+ /**
195
+ * Maximum number of pods that may share a single GPU.
196
+ */
197
+ gpu_max_shared_clients_per_gpu?: number;
198
+ /**
199
+ * Restrict Cilium socket load-balancing to the host namespace. Required for the Tailscale operator and Istio.
200
+ */
201
+ cilium_socket_lb_host_namespace_only?: boolean;
202
+ };
203
+ /**
204
+ * Cloudfleet control plane region. This field can not be updated after creation.
205
+ */
206
+ region: string;
207
+ /**
208
+ * Cluster networking configuration. Immutable after creation.
177
209
  */
178
- version_channel?: '1.x.x-cfke.x' | '1.31.x-cfke.x' | '1.32.x-cfke.x' | '1.33.x-cfke.x';
210
+ networking?: {
211
+ /**
212
+ * CIDR block for pod IPs.
213
+ */
214
+ pod_cidr?: string;
215
+ /**
216
+ * CIDR block for service IPs.
217
+ */
218
+ service_cidr?: string;
219
+ /**
220
+ * Enable IPv4+IPv6 dual-stack networking.
221
+ */
222
+ dual_stack?: boolean;
223
+ /**
224
+ * IPv6 pod CIDR. Requires dual_stack.
225
+ */
226
+ pod_cidr_v6?: string;
227
+ /**
228
+ * IPv6 service CIDR. Requires dual_stack.
229
+ */
230
+ service_cidr_v6?: string;
231
+ };
179
232
  };
180
233
  export type ClusterJoinInformation = {
181
234
  /**
@@ -186,6 +239,14 @@ export type ClusterJoinInformation = {
186
239
  * Internal URL of the Kubernetes cluster control plane. This is the endpoint that kubelet uses to connect to the cluster.
187
240
  */
188
241
  endpoint: string;
242
+ /**
243
+ * Cluster DNS IP address. This is the IP address of the kube-dns service in the cluster.
244
+ */
245
+ cluster_dns: string;
246
+ /**
247
+ * Pod CIDR for the cluster. Used to configure iptables rules on nodes to prevent Tailscale routing loops.
248
+ */
249
+ pod_cidr: string;
189
250
  /**
190
251
  * Authentication key for the cluster.
191
252
  */
@@ -233,6 +294,9 @@ export type ClusterJoinInformation = {
233
294
  gcp_workload_identity_provider: string;
234
295
  };
235
296
  };
297
+ /**
298
+ * Mutable cluster configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
299
+ */
236
300
  export type Cluster = {
237
301
  /**
238
302
  * Name of the cluster.
@@ -243,18 +307,69 @@ export type Cluster = {
243
307
  */
244
308
  tier: 'basic' | 'pro';
245
309
  /**
246
- * Cloudfleet control plane region. One of "staging", "northamerica-central-1", "europe-central-1a", "northamerica-central-1a". This field can not be updated after creation.
310
+ * Version of the kubernetes cluster.
311
+ */
312
+ version_channel: string;
313
+ /**
314
+ * Release channel for the cluster's control plane.
315
+ */
316
+ release_channel: 'rapid' | 'stable' | 'extended';
317
+ /**
318
+ * Cluster feature toggles.
319
+ */
320
+ features: {
321
+ /**
322
+ * GPU sharing strategy.
323
+ */
324
+ gpu_sharing_strategy: 'none' | 'mps' | 'time_slicing';
325
+ /**
326
+ * Maximum number of pods that may share a single GPU.
327
+ */
328
+ gpu_max_shared_clients_per_gpu: number;
329
+ /**
330
+ * Restrict Cilium socket load-balancing to the host namespace. Required for the Tailscale operator and Istio.
331
+ */
332
+ cilium_socket_lb_host_namespace_only: boolean;
333
+ };
334
+ /**
335
+ * Cloudfleet control plane region. This field can not be updated after creation.
336
+ */
337
+ region: string;
338
+ /**
339
+ * Cluster networking configuration. Immutable after creation.
247
340
  */
248
- region?: 'staging' | 'northamerica-central-1' | 'europe-central-1a' | 'northamerica-central-1a';
341
+ networking: {
342
+ /**
343
+ * CIDR block for pod IPs.
344
+ */
345
+ pod_cidr: string;
346
+ /**
347
+ * CIDR block for service IPs.
348
+ */
349
+ service_cidr: string;
350
+ /**
351
+ * Enable IPv4+IPv6 dual-stack networking.
352
+ */
353
+ dual_stack: boolean;
354
+ /**
355
+ * IPv6 pod CIDR. Requires dual_stack.
356
+ */
357
+ pod_cidr_v6: string;
358
+ /**
359
+ * IPv6 service CIDR. Requires dual_stack.
360
+ */
361
+ service_cidr_v6: string;
362
+ };
249
363
  /**
250
364
  * Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
251
365
  */
252
366
  id: string;
253
367
  /**
254
- * Status of the cluster. When creating a new cluster, set to `active`. When deleting a clusters, set to `deleted`.
368
+ * Status of the cluster.
255
369
  */
256
- status: 'active' | 'disabled' | 'deleted' | 'creating' | 'deployed' | 'failed' | 'updating';
370
+ status: 'creating' | 'deployed' | 'updating' | 'disabled';
257
371
  endpoint?: string | '';
372
+ endpoint_public?: string | '';
258
373
  /**
259
374
  * Certificate authority data for the kubernetes cluster. This is the root certificate authority for the cluster.
260
375
  */
@@ -274,129 +389,259 @@ export type Cluster = {
274
389
  /**
275
390
  * Indicates if the cluster is ready to be used.
276
391
  */
277
- ready?: boolean;
278
- /**
279
- * Version of the kubernetes cluster.
280
- */
281
- version_channel?: string;
392
+ ready: boolean;
282
393
  };
394
+ /**
395
+ * Mutable cluster configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
396
+ */
283
397
  export type ClusterUpdateInput = {
284
398
  /**
285
399
  * Name of the cluster.
286
400
  */
287
- name?: string;
401
+ name: string;
288
402
  /**
289
403
  * Tier of the cluster.
290
404
  */
291
- tier: 'basic' | 'pro';
405
+ tier?: 'basic' | 'pro';
292
406
  /**
293
407
  * Version of the kubernetes cluster.
294
408
  */
295
409
  version_channel?: string;
410
+ /**
411
+ * Release channel for the cluster's control plane.
412
+ */
413
+ release_channel?: 'rapid' | 'stable' | 'extended';
414
+ /**
415
+ * Cluster feature toggles.
416
+ */
417
+ features?: {
418
+ /**
419
+ * GPU sharing strategy.
420
+ */
421
+ gpu_sharing_strategy?: 'none' | 'mps' | 'time_slicing';
422
+ /**
423
+ * Maximum number of pods that may share a single GPU.
424
+ */
425
+ gpu_max_shared_clients_per_gpu?: number;
426
+ /**
427
+ * Restrict Cilium socket load-balancing to the host namespace. Required for the Tailscale operator and Istio.
428
+ */
429
+ cilium_socket_lb_host_namespace_only?: boolean;
430
+ };
296
431
  };
432
+ /**
433
+ * Mutable fleet configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
434
+ */
297
435
  export type FleetCreateInput = {
298
436
  /**
299
437
  * Limits define a set of bounds for provisioning capacity.
300
438
  */
301
439
  limits?: {
302
440
  /**
303
- * CPU limit in cores.
441
+ * CPU limit in cores. Maximum 100,000.
304
442
  */
305
- cpu: number;
443
+ cpu?: number;
306
444
  };
307
445
  gcp?: {
308
- enabled?: boolean;
446
+ enabled: boolean;
309
447
  /**
310
- * Project GCP Project id to deploy instances into
448
+ * GCP project ID to deploy instances into. 6-30 chars, lowercase letters/digits/hyphens, must start with a letter and not end with a hyphen. Omit when GCP is disabled.
311
449
  */
312
- project: string;
450
+ project?: string;
313
451
  };
314
452
  hetzner?: {
315
- enabled?: boolean;
453
+ enabled: boolean;
316
454
  /**
317
- * Hetzner Cloud API key with read / write access
455
+ * Hetzner Cloud API token with read / write access (64 alphanumeric characters). Omit this field to keep the existing value.
318
456
  */
319
- apiKey: string;
457
+ apiKey?: string;
320
458
  };
321
459
  aws?: {
322
- enabled?: boolean;
460
+ enabled: boolean;
461
+ /**
462
+ * AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.
463
+ */
464
+ controllerRoleArn?: string;
465
+ };
466
+ /**
467
+ * Constraints define scheduling and provisioning requirements for the fleet. Each field restricts the values allowed for a given Kubernetes label key. Multiple constraints are ANDed together.
468
+ */
469
+ constraints?: {
323
470
  /**
324
- * ControllerRoleArn is the AWS IAM role that Karpenter uses to manage resources.
471
+ * Allowed values for `karpenter.sh/capacity-type`.
325
472
  */
326
- controllerRoleArn: string;
473
+ 'karpenter.sh/capacity-type'?: Array<'on-demand' | 'spot'>;
474
+ /**
475
+ * Allowed values for `kubernetes.io/arch`.
476
+ */
477
+ 'kubernetes.io/arch'?: Array<'amd64' | 'arm64'>;
478
+ /**
479
+ * Allowed values for `cfke.io/instance-family`.
480
+ */
481
+ 'cfke.io/instance-family'?: Array<'a1' | 'a2' | 'a3' | 'a4' | 'c1' | 'c2' | 'c2d' | 'c3' | 'c3d' | 'c4' | 'c4a' | 'c4d' | 'c5' | 'c5a' | 'c5ad' | 'c5d' | 'c5n' | 'c6a' | 'c6g' | 'c6gd' | 'c6gn' | 'c6i' | 'c6id' | 'c6in' | 'c7a' | 'c7g' | 'c7gd' | 'c7gn' | 'c7i' | 'c7i-flex' | 'c8g' | 'c8gd' | 'cax' | 'ccx' | 'cpx' | 'cx' | 'd2' | 'd3' | 'd3en' | 'dl1' | 'dl2q' | 'e2' | 'f1' | 'f2' | 'g1' | 'g2' | 'g4ad' | 'g4dn' | 'g5' | 'g5g' | 'g6' | 'g6e' | 'gr6' | 'h1' | 'h3' | 'hpc6a' | 'hpc6id' | 'hpc7a' | 'hpc7g' | 'i2' | 'i3' | 'i3en' | 'i4g' | 'i4i' | 'i7i' | 'i7ie' | 'i8g' | 'im4gn' | 'inf1' | 'inf2' | 'is4gen' | 'm1' | 'm2' | 'm3' | 'm4' | 'm5' | 'm5a' | 'm5ad' | 'm5d' | 'm5dn' | 'm5n' | 'm5zn' | 'm6a' | 'm6g' | 'm6gd' | 'm6i' | 'm6id' | 'm6idn' | 'm6in' | 'm7a' | 'm7g' | 'm7gd' | 'm7i' | 'm7i-flex' | 'm8g' | 'm8gd' | 'n1' | 'n2' | 'n2d' | 'n4' | 'p3' | 'p3dn' | 'p4d' | 'p4de' | 'p5' | 'p5e' | 'p5en' | 'p6-b200' | 'r3' | 'r4' | 'r5' | 'r5a' | 'r5ad' | 'r5b' | 'r5d' | 'r5dn' | 'r5n' | 'r6a' | 'r6g' | 'r6gd' | 'r6i' | 'r6id' | 'r6idn' | 'r6in' | 'r7a' | 'r7g' | 'r7gd' | 'r7i' | 'r7iz' | 'r8g' | 'r8gd' | 't2' | 't2a' | 't2d' | 't3' | 't3a' | 't4g' | 'trn1' | 'trn1n' | 'u-3tb1' | 'u-6tb1' | 'u7i-12tb' | 'u7i-6tb' | 'u7i-8tb' | 'u7in-16tb' | 'u7in-24tb' | 'u7in-32tb' | 'vt1' | 'x1' | 'x1e' | 'x2gd' | 'x2idn' | 'x2iedn' | 'x2iezn' | 'x4' | 'x8g' | 'z1d' | 'z3'>;
482
+ /**
483
+ * Allowed values for `topology.kubernetes.io/region`.
484
+ */
485
+ 'topology.kubernetes.io/region'?: Array<'africa-south1' | 'ap-northeast-1' | 'ap-northeast-2' | 'ap-northeast-3' | 'ap-south-1' | 'ap-southeast-1' | 'ap-southeast-2' | 'ash' | 'asia-east1' | 'asia-east2' | 'asia-northeast1' | 'asia-northeast2' | 'asia-northeast3' | 'asia-south1' | 'asia-south2' | 'asia-southeast1' | 'asia-southeast2' | 'australia-southeast1' | 'australia-southeast2' | 'ca-central-1' | 'eu-central-1' | 'eu-central-2' | 'eu-north-1' | 'eu-west-1' | 'eu-west-2' | 'eu-west-3' | 'europe-central2' | 'europe-north1' | 'europe-southwest1' | 'europe-west1' | 'europe-west10' | 'europe-west12' | 'europe-west2' | 'europe-west3' | 'europe-west4' | 'europe-west6' | 'europe-west8' | 'europe-west9' | 'fsn1' | 'hel1' | 'hil' | 'me-central1' | 'me-central2' | 'me-west1' | 'nbg1' | 'northamerica-northeast1' | 'northamerica-northeast2' | 'sa-east-1' | 'sin' | 'southamerica-east1' | 'southamerica-west1' | 'us-central1' | 'us-east-1' | 'us-east-2' | 'us-east1' | 'us-east4' | 'us-east5' | 'us-south1' | 'us-west-1' | 'us-west-2' | 'us-west1' | 'us-west2' | 'us-west3' | 'us-west4'>;
327
486
  };
487
+ /**
488
+ * Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet. Full-overwrite: omit to reset to the default (`conservative`).
489
+ */
490
+ scalingProfile?: 'aggressive' | 'conservative';
328
491
  /**
329
492
  * Unique identifier of the kubernetes fleet.
330
493
  */
331
494
  id: string;
332
495
  };
496
+ /**
497
+ * Mutable fleet configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
498
+ */
333
499
  export type Fleet = {
334
500
  /**
335
501
  * Limits define a set of bounds for provisioning capacity.
336
502
  */
337
503
  limits?: {
338
504
  /**
339
- * CPU limit in cores.
505
+ * CPU limit in cores. Maximum 100,000.
340
506
  */
341
- cpu: number;
507
+ cpu?: number;
342
508
  };
343
509
  gcp?: {
344
- enabled?: boolean;
510
+ enabled: boolean;
345
511
  /**
346
- * Project GCP Project id to deploy instances into
512
+ * GCP project ID to deploy instances into. 6-30 chars, lowercase letters/digits/hyphens, must start with a letter and not end with a hyphen. Omit when GCP is disabled.
347
513
  */
348
- project: string;
514
+ project?: string;
349
515
  };
350
516
  hetzner?: {
351
- enabled?: boolean;
517
+ enabled: boolean;
352
518
  /**
353
- * Hetzner Cloud API key with read / write access
519
+ * Redacted Hetzner API token. Returned as 64 asterisks when a token is configured; omitted otherwise. The real value is never echoed by the API.
354
520
  */
355
- apiKey: string;
521
+ apiKey?: string;
356
522
  };
357
523
  aws?: {
358
- enabled?: boolean;
524
+ enabled: boolean;
359
525
  /**
360
- * ControllerRoleArn is the AWS IAM role that Karpenter uses to manage resources.
526
+ * AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.
361
527
  */
362
- controllerRoleArn: string;
528
+ controllerRoleArn?: string;
363
529
  };
530
+ /**
531
+ * Constraints define scheduling and provisioning requirements for the fleet. Each field restricts the values allowed for a given Kubernetes label key. Multiple constraints are ANDed together.
532
+ */
533
+ constraints: {
534
+ /**
535
+ * Allowed values for `karpenter.sh/capacity-type`.
536
+ */
537
+ 'karpenter.sh/capacity-type': Array<'on-demand' | 'spot'>;
538
+ /**
539
+ * Allowed values for `kubernetes.io/arch`.
540
+ */
541
+ 'kubernetes.io/arch': Array<'amd64' | 'arm64'>;
542
+ /**
543
+ * Allowed values for `cfke.io/instance-family`.
544
+ */
545
+ 'cfke.io/instance-family'?: Array<'a1' | 'a2' | 'a3' | 'a4' | 'c1' | 'c2' | 'c2d' | 'c3' | 'c3d' | 'c4' | 'c4a' | 'c4d' | 'c5' | 'c5a' | 'c5ad' | 'c5d' | 'c5n' | 'c6a' | 'c6g' | 'c6gd' | 'c6gn' | 'c6i' | 'c6id' | 'c6in' | 'c7a' | 'c7g' | 'c7gd' | 'c7gn' | 'c7i' | 'c7i-flex' | 'c8g' | 'c8gd' | 'cax' | 'ccx' | 'cpx' | 'cx' | 'd2' | 'd3' | 'd3en' | 'dl1' | 'dl2q' | 'e2' | 'f1' | 'f2' | 'g1' | 'g2' | 'g4ad' | 'g4dn' | 'g5' | 'g5g' | 'g6' | 'g6e' | 'gr6' | 'h1' | 'h3' | 'hpc6a' | 'hpc6id' | 'hpc7a' | 'hpc7g' | 'i2' | 'i3' | 'i3en' | 'i4g' | 'i4i' | 'i7i' | 'i7ie' | 'i8g' | 'im4gn' | 'inf1' | 'inf2' | 'is4gen' | 'm1' | 'm2' | 'm3' | 'm4' | 'm5' | 'm5a' | 'm5ad' | 'm5d' | 'm5dn' | 'm5n' | 'm5zn' | 'm6a' | 'm6g' | 'm6gd' | 'm6i' | 'm6id' | 'm6idn' | 'm6in' | 'm7a' | 'm7g' | 'm7gd' | 'm7i' | 'm7i-flex' | 'm8g' | 'm8gd' | 'n1' | 'n2' | 'n2d' | 'n4' | 'p3' | 'p3dn' | 'p4d' | 'p4de' | 'p5' | 'p5e' | 'p5en' | 'p6-b200' | 'r3' | 'r4' | 'r5' | 'r5a' | 'r5ad' | 'r5b' | 'r5d' | 'r5dn' | 'r5n' | 'r6a' | 'r6g' | 'r6gd' | 'r6i' | 'r6id' | 'r6idn' | 'r6in' | 'r7a' | 'r7g' | 'r7gd' | 'r7i' | 'r7iz' | 'r8g' | 'r8gd' | 't2' | 't2a' | 't2d' | 't3' | 't3a' | 't4g' | 'trn1' | 'trn1n' | 'u-3tb1' | 'u-6tb1' | 'u7i-12tb' | 'u7i-6tb' | 'u7i-8tb' | 'u7in-16tb' | 'u7in-24tb' | 'u7in-32tb' | 'vt1' | 'x1' | 'x1e' | 'x2gd' | 'x2idn' | 'x2iedn' | 'x2iezn' | 'x4' | 'x8g' | 'z1d' | 'z3'>;
546
+ /**
547
+ * Allowed values for `topology.kubernetes.io/region`.
548
+ */
549
+ 'topology.kubernetes.io/region'?: Array<'africa-south1' | 'ap-northeast-1' | 'ap-northeast-2' | 'ap-northeast-3' | 'ap-south-1' | 'ap-southeast-1' | 'ap-southeast-2' | 'ash' | 'asia-east1' | 'asia-east2' | 'asia-northeast1' | 'asia-northeast2' | 'asia-northeast3' | 'asia-south1' | 'asia-south2' | 'asia-southeast1' | 'asia-southeast2' | 'australia-southeast1' | 'australia-southeast2' | 'ca-central-1' | 'eu-central-1' | 'eu-central-2' | 'eu-north-1' | 'eu-west-1' | 'eu-west-2' | 'eu-west-3' | 'europe-central2' | 'europe-north1' | 'europe-southwest1' | 'europe-west1' | 'europe-west10' | 'europe-west12' | 'europe-west2' | 'europe-west3' | 'europe-west4' | 'europe-west6' | 'europe-west8' | 'europe-west9' | 'fsn1' | 'hel1' | 'hil' | 'me-central1' | 'me-central2' | 'me-west1' | 'nbg1' | 'northamerica-northeast1' | 'northamerica-northeast2' | 'sa-east-1' | 'sin' | 'southamerica-east1' | 'southamerica-west1' | 'us-central1' | 'us-east-1' | 'us-east-2' | 'us-east1' | 'us-east4' | 'us-east5' | 'us-south1' | 'us-west-1' | 'us-west-2' | 'us-west1' | 'us-west2' | 'us-west3' | 'us-west4'>;
550
+ };
551
+ /**
552
+ * Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet. Full-overwrite: omit to reset to the default (`conservative`).
553
+ */
554
+ scalingProfile: 'aggressive' | 'conservative';
364
555
  /**
365
556
  * Unique identifier of the kubernetes fleet.
366
557
  */
367
558
  id: string;
559
+ /**
560
+ * Indicates whether the fleet configuration is healthy.
561
+ */
562
+ ready: boolean;
563
+ /**
564
+ * Human-readable reason the fleet is not ready. Present only when `ready` is false.
565
+ */
566
+ status_message?: string;
567
+ /**
568
+ * Creation date and time of the fleet.
569
+ */
570
+ created_at: string;
571
+ /**
572
+ * Date and time the fleet was last updated.
573
+ */
574
+ updated_at: string;
368
575
  };
576
+ /**
577
+ * Mutable fleet configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
578
+ */
369
579
  export type FleetUpdateInput = {
370
580
  /**
371
581
  * Limits define a set of bounds for provisioning capacity.
372
582
  */
373
583
  limits?: {
374
584
  /**
375
- * CPU limit in cores.
585
+ * CPU limit in cores. Maximum 100,000.
376
586
  */
377
- cpu: number;
587
+ cpu?: number;
378
588
  };
379
589
  gcp?: {
380
- enabled?: boolean;
590
+ enabled: boolean;
381
591
  /**
382
- * Project GCP Project id to deploy instances into
592
+ * GCP project ID to deploy instances into. 6-30 chars, lowercase letters/digits/hyphens, must start with a letter and not end with a hyphen. Omit when GCP is disabled.
383
593
  */
384
- project: string;
594
+ project?: string;
385
595
  };
386
596
  hetzner?: {
387
- enabled?: boolean;
597
+ enabled: boolean;
388
598
  /**
389
- * Hetzner Cloud API key with read / write access
599
+ * Hetzner Cloud API token with read / write access (64 alphanumeric characters). Omit this field to keep the existing value.
390
600
  */
391
- apiKey: string;
601
+ apiKey?: string;
392
602
  };
393
603
  aws?: {
394
- enabled?: boolean;
604
+ enabled: boolean;
605
+ /**
606
+ * AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.
607
+ */
608
+ controllerRoleArn?: string;
609
+ };
610
+ /**
611
+ * Constraints define scheduling and provisioning requirements for the fleet. Each field restricts the values allowed for a given Kubernetes label key. Multiple constraints are ANDed together.
612
+ */
613
+ constraints?: {
614
+ /**
615
+ * Allowed values for `karpenter.sh/capacity-type`.
616
+ */
617
+ 'karpenter.sh/capacity-type'?: Array<'on-demand' | 'spot'>;
618
+ /**
619
+ * Allowed values for `kubernetes.io/arch`.
620
+ */
621
+ 'kubernetes.io/arch'?: Array<'amd64' | 'arm64'>;
622
+ /**
623
+ * Allowed values for `cfke.io/instance-family`.
624
+ */
625
+ 'cfke.io/instance-family'?: Array<'a1' | 'a2' | 'a3' | 'a4' | 'c1' | 'c2' | 'c2d' | 'c3' | 'c3d' | 'c4' | 'c4a' | 'c4d' | 'c5' | 'c5a' | 'c5ad' | 'c5d' | 'c5n' | 'c6a' | 'c6g' | 'c6gd' | 'c6gn' | 'c6i' | 'c6id' | 'c6in' | 'c7a' | 'c7g' | 'c7gd' | 'c7gn' | 'c7i' | 'c7i-flex' | 'c8g' | 'c8gd' | 'cax' | 'ccx' | 'cpx' | 'cx' | 'd2' | 'd3' | 'd3en' | 'dl1' | 'dl2q' | 'e2' | 'f1' | 'f2' | 'g1' | 'g2' | 'g4ad' | 'g4dn' | 'g5' | 'g5g' | 'g6' | 'g6e' | 'gr6' | 'h1' | 'h3' | 'hpc6a' | 'hpc6id' | 'hpc7a' | 'hpc7g' | 'i2' | 'i3' | 'i3en' | 'i4g' | 'i4i' | 'i7i' | 'i7ie' | 'i8g' | 'im4gn' | 'inf1' | 'inf2' | 'is4gen' | 'm1' | 'm2' | 'm3' | 'm4' | 'm5' | 'm5a' | 'm5ad' | 'm5d' | 'm5dn' | 'm5n' | 'm5zn' | 'm6a' | 'm6g' | 'm6gd' | 'm6i' | 'm6id' | 'm6idn' | 'm6in' | 'm7a' | 'm7g' | 'm7gd' | 'm7i' | 'm7i-flex' | 'm8g' | 'm8gd' | 'n1' | 'n2' | 'n2d' | 'n4' | 'p3' | 'p3dn' | 'p4d' | 'p4de' | 'p5' | 'p5e' | 'p5en' | 'p6-b200' | 'r3' | 'r4' | 'r5' | 'r5a' | 'r5ad' | 'r5b' | 'r5d' | 'r5dn' | 'r5n' | 'r6a' | 'r6g' | 'r6gd' | 'r6i' | 'r6id' | 'r6idn' | 'r6in' | 'r7a' | 'r7g' | 'r7gd' | 'r7i' | 'r7iz' | 'r8g' | 'r8gd' | 't2' | 't2a' | 't2d' | 't3' | 't3a' | 't4g' | 'trn1' | 'trn1n' | 'u-3tb1' | 'u-6tb1' | 'u7i-12tb' | 'u7i-6tb' | 'u7i-8tb' | 'u7in-16tb' | 'u7in-24tb' | 'u7in-32tb' | 'vt1' | 'x1' | 'x1e' | 'x2gd' | 'x2idn' | 'x2iedn' | 'x2iezn' | 'x4' | 'x8g' | 'z1d' | 'z3'>;
395
626
  /**
396
- * ControllerRoleArn is the AWS IAM role that Karpenter uses to manage resources.
627
+ * Allowed values for `topology.kubernetes.io/region`.
397
628
  */
398
- controllerRoleArn: string;
629
+ 'topology.kubernetes.io/region'?: Array<'africa-south1' | 'ap-northeast-1' | 'ap-northeast-2' | 'ap-northeast-3' | 'ap-south-1' | 'ap-southeast-1' | 'ap-southeast-2' | 'ash' | 'asia-east1' | 'asia-east2' | 'asia-northeast1' | 'asia-northeast2' | 'asia-northeast3' | 'asia-south1' | 'asia-south2' | 'asia-southeast1' | 'asia-southeast2' | 'australia-southeast1' | 'australia-southeast2' | 'ca-central-1' | 'eu-central-1' | 'eu-central-2' | 'eu-north-1' | 'eu-west-1' | 'eu-west-2' | 'eu-west-3' | 'europe-central2' | 'europe-north1' | 'europe-southwest1' | 'europe-west1' | 'europe-west10' | 'europe-west12' | 'europe-west2' | 'europe-west3' | 'europe-west4' | 'europe-west6' | 'europe-west8' | 'europe-west9' | 'fsn1' | 'hel1' | 'hil' | 'me-central1' | 'me-central2' | 'me-west1' | 'nbg1' | 'northamerica-northeast1' | 'northamerica-northeast2' | 'sa-east-1' | 'sin' | 'southamerica-east1' | 'southamerica-west1' | 'us-central1' | 'us-east-1' | 'us-east-2' | 'us-east1' | 'us-east4' | 'us-east5' | 'us-south1' | 'us-west-1' | 'us-west-2' | 'us-west1' | 'us-west2' | 'us-west3' | 'us-west4'>;
399
630
  };
631
+ /**
632
+ * Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet. Full-overwrite: omit to reset to the default (`conservative`).
633
+ */
634
+ scalingProfile?: 'aggressive' | 'conservative';
635
+ };
636
+ export type InviteCreateInput = {
637
+ /**
638
+ * Email address of the user to invite.
639
+ */
640
+ email: string;
641
+ /**
642
+ * Role the invited user will be assigned on redemption. Can be 'Administrator' or 'User'.
643
+ */
644
+ role?: 'Administrator' | 'User';
400
645
  };
401
646
  export type Invite = {
402
647
  /**
@@ -419,6 +664,10 @@ export type Invite = {
419
664
  * Generated unique invite code.
420
665
  */
421
666
  code?: string;
667
+ /**
668
+ * Role the invited user will be assigned on redemption. Can be 'Administrator' or 'User'.
669
+ */
670
+ role?: 'Administrator' | 'User';
422
671
  };
423
672
  export type Invoice = {
424
673
  /**
@@ -515,6 +764,10 @@ export type MarketplaceListing = {
515
764
  * Chart home URL
516
765
  */
517
766
  home?: string;
767
+ /**
768
+ * A URL to an SVG or PNG image to be used as an icon
769
+ */
770
+ icon?: string;
518
771
  /**
519
772
  * Chart source URLs
520
773
  */
@@ -535,6 +788,10 @@ export type MarketplaceListing = {
535
788
  };
536
789
  };
537
790
  export type OrganizationCreateInput = {
791
+ /**
792
+ * Type of the organization. `business` for legal entities, `personal` for individuals.
793
+ */
794
+ type: 'business' | 'personal';
538
795
  /**
539
796
  * Email address used for billing as a string.
540
797
  */
@@ -556,6 +813,12 @@ export type OrganizationCreateInput = {
556
813
  */
557
814
  password: string;
558
815
  };
816
+ export type OrganizationCreateOutput = {
817
+ /**
818
+ * Unique identifier of the newly created organization. Generated by the API and safe to use for client-side tracking immediately.
819
+ */
820
+ id: string;
821
+ };
559
822
  export type Organization = {
560
823
  /**
561
824
  * Unique identifier of the organization. UUID v4 string in canonical form
@@ -565,6 +828,10 @@ export type Organization = {
565
828
  * Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
566
829
  */
567
830
  name?: string;
831
+ /**
832
+ * Type of the organization. `business` for legal entities, `personal` for individuals.
833
+ */
834
+ type: 'business' | 'personal';
568
835
  /**
569
836
  * Creation date of the organization. ISO 8601 date string in UTC timezone
570
837
  */
@@ -615,48 +882,60 @@ export type Organization = {
615
882
  label: string;
616
883
  }>;
617
884
  /**
618
- * User-level maximum number of tokens Cloudfleet Copilot can process per hour.
619
- */
620
- copilot_user_hourly_tokens: number;
621
- /**
622
- * Organization-level maximum number of tokens Cloudfleet Copilot can process per hour.
885
+ * Organization-level maximum CFCR storage volume in GB. -1 means no limit.
623
886
  */
624
- copilot_organization_hourly_tokens: number;
887
+ cfcr_storage_gb: number;
625
888
  };
626
889
  /**
627
890
  * Status of the organization. Can be `active` or `closed`, or `suspended`.
628
891
  */
629
892
  status: 'active' | 'closed' | 'suspended';
893
+ /**
894
+ * Verification status of the organization, which determines the assigned quota. `none` when billing information is incomplete, `submitted` when billing information is complete but the organization is not yet verified, `verified` when the organization is verified.
895
+ */
896
+ verification: 'none' | 'submitted' | 'verified';
630
897
  };
631
898
  export type PaymentMethod = {
632
899
  /**
633
- * Unique identifier of the organization. UUID v4 string in canonical form.
900
+ * Payment method identifier. Stripe payment method id for cards/SEPA; the constant `bank_transfer` for the invoice/bank-transfer method. Used to set as default or delete the payment method.
634
901
  */
635
902
  id: string;
636
903
  /**
637
- * Whether organization payment method was set up and ready to use for payments.
638
- */
639
- setup: boolean;
640
- /**
641
- * Payment method type type. Only `card` payments supported at the moment.
904
+ * Payment method type. `card`, `sepa_debit` for SEPA Direct Debit (business accounts only), or `bank_transfer` for paying invoices by bank transfer.
642
905
  */
643
- type: 'card';
906
+ type: 'card' | 'sepa_debit' | 'bank_transfer';
644
907
  /**
645
- * Last 4 digits of the payment card number.
908
+ * Last 4 digits of the payment card number, of the bank account (IBAN) for SEPA Direct Debit, or of the destination IBAN for bank transfer.
646
909
  */
647
910
  last4: string;
648
911
  /**
649
- * Two-digit number representing the card's expiration month.
912
+ * Two-digit number representing the card's expiration month. Null for SEPA Direct Debit and bank transfer.
650
913
  */
651
914
  exp_month: number;
652
915
  /**
653
- * Four-digit number representing the card's expiration year.
916
+ * Four-digit number representing the card's expiration year. May be in the past for an expired card still on file. Null for SEPA Direct Debit and bank transfer.
654
917
  */
655
918
  exp_year: number;
656
919
  /**
657
- * Payment card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `mastercard`, `unionpay`, `visa`, or `unknown`.
920
+ * Payment card brand as reported by Stripe, e.g. `visa`, `mastercard`, `amex`, `cartes_bancaires`, or `unknown`. Null for SEPA Direct Debit and bank transfer.
921
+ */
922
+ brand: string;
923
+ /**
924
+ * Full destination IBAN to send bank transfers to. Set only for `bank_transfer`; null otherwise. This is Cloudfleet's virtual receiving account, shown in full so the customer can pay into it.
925
+ */
926
+ iban: string;
927
+ /**
928
+ * BIC/SWIFT of the destination bank for bank transfers. Set only for `bank_transfer`; null otherwise.
929
+ */
930
+ bic: string;
931
+ /**
932
+ * Account holder name of the destination bank account for bank transfers. Set only for `bank_transfer`; null otherwise.
933
+ */
934
+ account_holder_name: string;
935
+ /**
936
+ * Whether this payment method is the default used for invoices and active subscriptions. Always false for `bank_transfer` (it cannot be a Stripe default payment method).
658
937
  */
659
- brand: 'amex' | 'diners' | 'discover' | 'eftpos_au' | 'jcb' | 'mastercard' | 'unionpay' | 'visa' | 'unknown';
938
+ is_default: boolean;
660
939
  };
661
940
  export type PlatformQuota = {
662
941
  /**
@@ -701,13 +980,9 @@ export type PlatformQuota = {
701
980
  label: string;
702
981
  }>;
703
982
  /**
704
- * User-level maximum number of tokens Cloudfleet Copilot can process per hour.
705
- */
706
- copilot_user_hourly_tokens: number;
707
- /**
708
- * Organization-level maximum number of tokens Cloudfleet Copilot can process per hour.
983
+ * Organization-level maximum CFCR storage volume in GB. -1 means no limit.
709
984
  */
710
- copilot_organization_hourly_tokens: number;
985
+ cfcr_storage_gb: number;
711
986
  };
712
987
  export type RegistryRepository = {
713
988
  /**
@@ -752,6 +1027,10 @@ export type RegistryRepositoryWithTags = {
752
1027
  * Media type of the manifest.
753
1028
  */
754
1029
  mediaType?: string;
1030
+ /**
1031
+ * Array of platform strings for multi-arch images (e.g., linux/amd64, linux/arm64).
1032
+ */
1033
+ platforms?: Array<string>;
755
1034
  }>;
756
1035
  /**
757
1036
  * Total size of all tags in the repository in bytes.
@@ -763,6 +1042,10 @@ export type RegistryTag = {
763
1042
  * Tag name.
764
1043
  */
765
1044
  name: string;
1045
+ /**
1046
+ * Manifest digest for pulling by digest.
1047
+ */
1048
+ digest: string;
766
1049
  /**
767
1050
  * Media type of the manifest.
768
1051
  */
@@ -780,6 +1063,10 @@ export type RegistryTag = {
780
1063
  * Array of layer metadata.
781
1064
  */
782
1065
  layers?: Array<{
1066
+ /**
1067
+ * Digest of the layer.
1068
+ */
1069
+ digest?: string;
783
1070
  /**
784
1071
  * Size of the layer in bytes.
785
1072
  */
@@ -805,7 +1092,28 @@ export type RegistryTag = {
805
1092
  * Operating system of the platform.
806
1093
  */
807
1094
  os: string;
1095
+ /**
1096
+ * Variant of the platform (e.g., v7, v8 for ARM).
1097
+ */
1098
+ variant?: string;
808
1099
  };
1100
+ /**
1101
+ * Layers for this platform.
1102
+ */
1103
+ layers?: Array<{
1104
+ /**
1105
+ * Digest of the layer.
1106
+ */
1107
+ digest?: string;
1108
+ /**
1109
+ * Size of the layer in bytes.
1110
+ */
1111
+ size: number;
1112
+ }>;
1113
+ /**
1114
+ * Total size of this platform manifest in bytes.
1115
+ */
1116
+ size?: number;
809
1117
  }>;
810
1118
  /**
811
1119
  * Total size of the tag in bytes.
@@ -824,106 +1132,358 @@ export type RegistryTag = {
824
1132
  */
825
1133
  uri: string;
826
1134
  };
827
- export type TokenCreateInput = {
828
- /**
829
- * Human readable access token name.
830
- */
831
- name: string;
832
- /**
833
- * Role assumed by the token.
834
- */
835
- role: 'Administrator' | 'User';
836
- };
837
- export type Token = {
838
- /**
839
- * Human readable access token name.
840
- */
841
- name: string;
1135
+ export type TicketAttachment = {
842
1136
  /**
843
- * Role assumed by the token.
1137
+ * Unique identifier of the attachment (Mongo ObjectId).
844
1138
  */
845
- role: 'Administrator' | 'User';
1139
+ id: string;
846
1140
  /**
847
- * Generated unique identifier of the access token.
1141
+ * Original filename as uploaded.
848
1142
  */
849
- id?: string;
1143
+ filename: string;
850
1144
  /**
851
- * Access token secret. Unmasked only during creation.
1145
+ * MIME content type of the attachment.
852
1146
  */
853
- secret?: string;
1147
+ content_type: string;
854
1148
  /**
855
- * Creation date of the access token. ISO 8601 date string in UTC timezone
1149
+ * Size of the attachment in bytes.
856
1150
  */
857
- date_created: string;
1151
+ size: number;
858
1152
  };
859
- export type TokenUpdateInput = {
860
- /**
861
- * Human readable access token name.
862
- */
863
- name?: string;
1153
+ export type TicketCreateInput = {
864
1154
  /**
865
- * Role assumed by the token.
1155
+ * Ticket category. Drives auto-assignment and may carry a subcategory in `properties`.
866
1156
  */
867
- role?: 'Administrator' | 'User';
868
- };
869
- export type UsageFacets = {
1157
+ category: 'billing' | 'technical' | 'general';
870
1158
  /**
871
- * List of unique cluster IDs
1159
+ * Initial message body in markdown. There is no separate subject — the first message body is the description.
872
1160
  */
873
- cluster_id?: Array<string>;
1161
+ body: string;
874
1162
  /**
875
- * List of unique products
1163
+ * Free-form key/value bag set by the UI (e.g. `subcategory`, `cluster_id`, `cluster_name`, `region`).
876
1164
  */
877
- product?: Array<string>;
1165
+ properties?: {
1166
+ [key: string]: unknown;
1167
+ };
878
1168
  };
879
- export type UsageResponse = {
1169
+ export type TicketListResponse = {
880
1170
  /**
881
- * Usage data
1171
+ * Tickets for the organization, ordered newest first. Messages are omitted from list responses.
882
1172
  */
883
- data: Array<{
1173
+ items: Array<{
884
1174
  /**
885
- * Hour of the usage
1175
+ * Unique identifier of the ticket (Mongo ObjectId).
886
1176
  */
887
- hour: string;
1177
+ id: string;
888
1178
  /**
889
- * Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
1179
+ * Current state of the ticket.
890
1180
  */
891
- cluster_id: string;
1181
+ status: 'waiting_on_us' | 'waiting_on_user' | 'closed';
892
1182
  /**
893
- * The product the usage is associated with
1183
+ * Ticket category.
894
1184
  */
895
- product: string;
1185
+ category: 'billing' | 'technical' | 'general';
896
1186
  /**
897
- * Consumption
1187
+ * First 128 characters of the initial message body, with markdown formatting and newlines stripped. Used for ticket list previews.
898
1188
  */
899
- value: number;
1189
+ summary: string;
900
1190
  /**
901
- * Price per unit
1191
+ * Closure timestamp. Null while the ticket is open.
902
1192
  */
903
- price: number;
1193
+ closed_at?: string;
904
1194
  /**
905
- * Total cost
1195
+ * Creation date of the ticket. ISO 8601 UTC.
906
1196
  */
907
- total: number;
908
- }>;
909
- /**
910
- * Facets for filtering
911
- */
912
- facets: {
1197
+ date_created: string;
913
1198
  /**
914
- * List of unique cluster IDs
1199
+ * Last update date of the ticket. ISO 8601 UTC.
915
1200
  */
916
- cluster_id?: Array<string>;
1201
+ date_updated: string;
917
1202
  /**
918
- * List of unique products
1203
+ * Messages on the ticket in chronological order. Internal notes are excluded. Returned by the detail endpoint only.
919
1204
  */
920
- product?: Array<string>;
921
- };
922
- };
923
- export type Usage = {
924
- /**
925
- * Hour of the usage
926
- */
1205
+ messages?: Array<{
1206
+ /**
1207
+ * Unique identifier of the message (Mongo ObjectId).
1208
+ */
1209
+ id: string;
1210
+ /**
1211
+ * Message type. Internal notes are filtered out of customer-facing responses.
1212
+ */
1213
+ type: 'customer_reply' | 'agent_reply';
1214
+ /**
1215
+ * Message body in markdown.
1216
+ */
1217
+ body: string;
1218
+ /**
1219
+ * First name of the author. Null when not provided.
1220
+ */
1221
+ author_first_name?: string;
1222
+ /**
1223
+ * Last name of the author. Null when not provided.
1224
+ */
1225
+ author_last_name?: string;
1226
+ /**
1227
+ * Attachments associated with this message.
1228
+ */
1229
+ attachments?: Array<{
1230
+ /**
1231
+ * Unique identifier of the attachment (Mongo ObjectId).
1232
+ */
1233
+ id: string;
1234
+ /**
1235
+ * Original filename as uploaded.
1236
+ */
1237
+ filename: string;
1238
+ /**
1239
+ * MIME content type of the attachment.
1240
+ */
1241
+ content_type: string;
1242
+ /**
1243
+ * Size of the attachment in bytes.
1244
+ */
1245
+ size: number;
1246
+ }>;
1247
+ /**
1248
+ * Creation date of the message. ISO 8601 UTC.
1249
+ */
1250
+ date_created: string;
1251
+ }>;
1252
+ }>;
1253
+ };
1254
+ export type TicketMessageInput = {
1255
+ /**
1256
+ * Reply body in markdown.
1257
+ */
1258
+ body: string;
1259
+ };
1260
+ export type TicketMessage = {
1261
+ /**
1262
+ * Unique identifier of the message (Mongo ObjectId).
1263
+ */
1264
+ id: string;
1265
+ /**
1266
+ * Message type. Internal notes are filtered out of customer-facing responses.
1267
+ */
1268
+ type: 'customer_reply' | 'agent_reply';
1269
+ /**
1270
+ * Message body in markdown.
1271
+ */
1272
+ body: string;
1273
+ /**
1274
+ * First name of the author. Null when not provided.
1275
+ */
1276
+ author_first_name?: string;
1277
+ /**
1278
+ * Last name of the author. Null when not provided.
1279
+ */
1280
+ author_last_name?: string;
1281
+ /**
1282
+ * Attachments associated with this message.
1283
+ */
1284
+ attachments?: Array<{
1285
+ /**
1286
+ * Unique identifier of the attachment (Mongo ObjectId).
1287
+ */
1288
+ id: string;
1289
+ /**
1290
+ * Original filename as uploaded.
1291
+ */
1292
+ filename: string;
1293
+ /**
1294
+ * MIME content type of the attachment.
1295
+ */
1296
+ content_type: string;
1297
+ /**
1298
+ * Size of the attachment in bytes.
1299
+ */
1300
+ size: number;
1301
+ }>;
1302
+ /**
1303
+ * Creation date of the message. ISO 8601 UTC.
1304
+ */
1305
+ date_created: string;
1306
+ };
1307
+ export type Ticket = {
1308
+ /**
1309
+ * Unique identifier of the ticket (Mongo ObjectId).
1310
+ */
1311
+ id: string;
1312
+ /**
1313
+ * Current state of the ticket.
1314
+ */
1315
+ status: 'waiting_on_us' | 'waiting_on_user' | 'closed';
1316
+ /**
1317
+ * Ticket category.
1318
+ */
1319
+ category: 'billing' | 'technical' | 'general';
1320
+ /**
1321
+ * First 128 characters of the initial message body, with markdown formatting and newlines stripped. Used for ticket list previews.
1322
+ */
1323
+ summary: string;
1324
+ /**
1325
+ * Closure timestamp. Null while the ticket is open.
1326
+ */
1327
+ closed_at?: string;
1328
+ /**
1329
+ * Creation date of the ticket. ISO 8601 UTC.
1330
+ */
1331
+ date_created: string;
1332
+ /**
1333
+ * Last update date of the ticket. ISO 8601 UTC.
1334
+ */
1335
+ date_updated: string;
1336
+ /**
1337
+ * Messages on the ticket in chronological order. Internal notes are excluded. Returned by the detail endpoint only.
1338
+ */
1339
+ messages?: Array<{
1340
+ /**
1341
+ * Unique identifier of the message (Mongo ObjectId).
1342
+ */
1343
+ id: string;
1344
+ /**
1345
+ * Message type. Internal notes are filtered out of customer-facing responses.
1346
+ */
1347
+ type: 'customer_reply' | 'agent_reply';
1348
+ /**
1349
+ * Message body in markdown.
1350
+ */
1351
+ body: string;
1352
+ /**
1353
+ * First name of the author. Null when not provided.
1354
+ */
1355
+ author_first_name?: string;
1356
+ /**
1357
+ * Last name of the author. Null when not provided.
1358
+ */
1359
+ author_last_name?: string;
1360
+ /**
1361
+ * Attachments associated with this message.
1362
+ */
1363
+ attachments?: Array<{
1364
+ /**
1365
+ * Unique identifier of the attachment (Mongo ObjectId).
1366
+ */
1367
+ id: string;
1368
+ /**
1369
+ * Original filename as uploaded.
1370
+ */
1371
+ filename: string;
1372
+ /**
1373
+ * MIME content type of the attachment.
1374
+ */
1375
+ content_type: string;
1376
+ /**
1377
+ * Size of the attachment in bytes.
1378
+ */
1379
+ size: number;
1380
+ }>;
1381
+ /**
1382
+ * Creation date of the message. ISO 8601 UTC.
1383
+ */
1384
+ date_created: string;
1385
+ }>;
1386
+ };
1387
+ export type TokenCreateInput = {
1388
+ /**
1389
+ * Human readable access token name.
1390
+ */
1391
+ name: string;
1392
+ /**
1393
+ * Role assumed by the token.
1394
+ */
1395
+ role: 'Administrator' | 'User';
1396
+ };
1397
+ export type Token = {
1398
+ /**
1399
+ * Human readable access token name.
1400
+ */
1401
+ name: string;
1402
+ /**
1403
+ * Role assumed by the token.
1404
+ */
1405
+ role: 'Administrator' | 'User';
1406
+ /**
1407
+ * Generated unique identifier of the access token.
1408
+ */
1409
+ id?: string;
1410
+ /**
1411
+ * Access token secret. Unmasked only during creation.
1412
+ */
1413
+ secret?: string;
1414
+ /**
1415
+ * Creation date of the access token. ISO 8601 date string in UTC timezone
1416
+ */
1417
+ date_created: string;
1418
+ };
1419
+ export type TokenUpdateInput = {
1420
+ /**
1421
+ * Human readable access token name.
1422
+ */
1423
+ name?: string;
1424
+ /**
1425
+ * Role assumed by the token.
1426
+ */
1427
+ role?: 'Administrator' | 'User';
1428
+ };
1429
+ export type UsageFacets = {
1430
+ /**
1431
+ * List of unique cluster IDs
1432
+ */
1433
+ cluster_id?: Array<string>;
1434
+ /**
1435
+ * List of unique products
1436
+ */
1437
+ product?: Array<string>;
1438
+ };
1439
+ export type UsageResponse = {
1440
+ /**
1441
+ * Usage data
1442
+ */
1443
+ data: Array<{
1444
+ /**
1445
+ * Hour of the usage
1446
+ */
1447
+ hour: string;
1448
+ /**
1449
+ * Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
1450
+ */
1451
+ cluster_id: string;
1452
+ /**
1453
+ * The product the usage is associated with
1454
+ */
1455
+ product: string;
1456
+ /**
1457
+ * Consumption
1458
+ */
1459
+ value: number;
1460
+ /**
1461
+ * Price per unit
1462
+ */
1463
+ price: number;
1464
+ /**
1465
+ * Total cost
1466
+ */
1467
+ total: number;
1468
+ }>;
1469
+ /**
1470
+ * Facets for filtering
1471
+ */
1472
+ facets: {
1473
+ /**
1474
+ * List of unique cluster IDs
1475
+ */
1476
+ cluster_id?: Array<string>;
1477
+ /**
1478
+ * List of unique products
1479
+ */
1480
+ product?: Array<string>;
1481
+ };
1482
+ };
1483
+ export type Usage = {
1484
+ /**
1485
+ * Hour of the usage
1486
+ */
927
1487
  hour: string;
928
1488
  /**
929
1489
  * Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
@@ -967,14 +1527,6 @@ export type UserCreateInput = {
967
1527
  * User password. Must be at least 8 characters long.
968
1528
  */
969
1529
  password: string;
970
- /**
971
- * Status of the user. Can be `active` or `inactive`. Inactive users cannot log in or manage organization resources.
972
- */
973
- status?: 'active' | 'inactive';
974
- /**
975
- * User role. Can be 'Administrator', 'User'.
976
- */
977
- role?: 'Administrator' | 'User';
978
1530
  };
979
1531
  export type User = {
980
1532
  /**
@@ -1028,448 +1580,698 @@ export type UserUpdateInput = {
1028
1580
  */
1029
1581
  status?: 'active' | 'inactive';
1030
1582
  };
1031
- export type GetUsageData = {
1583
+ export type ListUserOrganizationsData = {
1032
1584
  body?: never;
1033
- path?: never;
1034
- query?: {
1585
+ path: {
1035
1586
  /**
1036
- * Time granularity for usage aggregation - hourly (Past 48 hours aggregated by hour), daily (Past 30 days aggregated by day), monthly (Past 12 months aggregated by month)
1587
+ * User email address.
1037
1588
  */
1038
- granularity?: 'hourly' | 'daily' | 'monthly';
1589
+ email: string;
1039
1590
  };
1040
- url: '/billing/usage';
1041
- };
1042
- export type GetUsageErrors = {
1043
- /**
1044
- * Not authenticated
1045
- */
1046
- 401: unknown;
1591
+ query?: never;
1592
+ url: '/users/organizations/{email}';
1047
1593
  };
1048
- export type GetUsageResponses = {
1594
+ export type ListUserOrganizationsResponses = {
1049
1595
  /**
1050
- * Usage data with facets for filtering
1596
+ * An array of organizations the user belongs to.
1051
1597
  */
1052
- 200: UsageResponse;
1598
+ 200: Array<{
1599
+ /**
1600
+ * Unique identifier of the organization. UUID v4 string in canonical form
1601
+ */
1602
+ realm?: string;
1603
+ /**
1604
+ * Human-readable name of the organization
1605
+ */
1606
+ displayName?: string;
1607
+ }>;
1053
1608
  };
1054
- export type GetUsageResponse = GetUsageResponses[keyof GetUsageResponses];
1055
- export type GetPaymentMethodData = {
1609
+ export type ListUserOrganizationsResponse = ListUserOrganizationsResponses[keyof ListUserOrganizationsResponses];
1610
+ export type ListUsersData = {
1056
1611
  body?: never;
1057
1612
  path?: never;
1058
1613
  query?: never;
1059
- url: '/billing/payment-method';
1614
+ url: '/users';
1060
1615
  };
1061
- export type GetPaymentMethodErrors = {
1616
+ export type ListUsersErrors = {
1062
1617
  /**
1063
- * Returns 404 Not Found if the organization does not have a payment method set up.
1618
+ * Not authenticated
1064
1619
  */
1065
- 404: unknown;
1620
+ 401: unknown;
1066
1621
  };
1067
- export type GetPaymentMethodResponses = {
1622
+ export type ListUsersResponses = {
1068
1623
  /**
1069
- * Redacted payment card information.
1624
+ * An array of users
1070
1625
  */
1071
- 200: PaymentMethod;
1626
+ 200: Array<User>;
1072
1627
  };
1073
- export type GetPaymentMethodResponse = GetPaymentMethodResponses[keyof GetPaymentMethodResponses];
1074
- export type GetPaymentMethodSecretData = {
1075
- body?: never;
1628
+ export type ListUsersResponse = ListUsersResponses[keyof ListUsersResponses];
1629
+ export type CreateUserData = {
1630
+ body: UserCreateInput;
1076
1631
  path?: never;
1077
1632
  query?: never;
1078
- url: '/billing/payment-method';
1633
+ url: '/users';
1079
1634
  };
1080
- export type GetPaymentMethodSecretResponses = {
1635
+ export type CreateUserResponses = {
1081
1636
  /**
1082
- * The client secret. Used for client-side retrieval using a publishable key. The client secret can be used to complete a payment from your frontend. It should not be stored, logged, or exposed to anyone other than the customer. Make sure that you have TLS enabled on any page that includes the client secret.
1083
- *
1637
+ * Successfully created. Returns created user details.
1084
1638
  */
1085
- 200: {
1639
+ 200: User;
1640
+ };
1641
+ export type CreateUserResponse = CreateUserResponses[keyof CreateUserResponses];
1642
+ export type DeleteUserData = {
1643
+ body?: never;
1644
+ path: {
1086
1645
  /**
1087
- * The client secret.
1646
+ * Unique user identifier. UUID v4 string in canonical form
1088
1647
  */
1089
- id?: string;
1648
+ user_id: string;
1090
1649
  };
1091
- };
1092
- export type GetPaymentMethodSecretResponse = GetPaymentMethodSecretResponses[keyof GetPaymentMethodSecretResponses];
1093
- export type ListInvoicesData = {
1094
- body?: never;
1095
- path?: never;
1096
1650
  query?: never;
1097
- url: '/billing/invoices';
1651
+ url: '/users/{user_id}';
1098
1652
  };
1099
- export type ListInvoicesErrors = {
1653
+ export type DeleteUserErrors = {
1654
+ /**
1655
+ * Deleting own user is not allowed. Delete your organization instead.
1656
+ */
1657
+ 400: unknown;
1100
1658
  /**
1101
1659
  * Not authenticated
1102
1660
  */
1103
1661
  401: unknown;
1104
1662
  };
1105
- export type ListInvoicesResponses = {
1663
+ export type DeleteUserResponses = {
1106
1664
  /**
1107
- * An array of usage records.
1665
+ * User profile information
1108
1666
  */
1109
- 200: Array<Invoice>;
1667
+ 200: User;
1110
1668
  };
1111
- export type ListInvoicesResponse = ListInvoicesResponses[keyof ListInvoicesResponses];
1112
- export type GetContactData = {
1669
+ export type DeleteUserResponse = DeleteUserResponses[keyof DeleteUserResponses];
1670
+ export type GetUserData = {
1113
1671
  body?: never;
1114
- path?: never;
1672
+ path: {
1673
+ /**
1674
+ * Unique user identifier. UUID v4 string in canonical form
1675
+ */
1676
+ user_id: string;
1677
+ };
1115
1678
  query?: never;
1116
- url: '/billing/contact';
1679
+ url: '/users/{user_id}';
1117
1680
  };
1118
- export type GetContactResponses = {
1681
+ export type GetUserErrors = {
1119
1682
  /**
1120
- * Returns a single object containing organization contact and billing address details.
1683
+ * Not authenticated
1121
1684
  */
1122
- 200: BillingContact;
1685
+ 401: unknown;
1123
1686
  };
1124
- export type GetContactResponse = GetContactResponses[keyof GetContactResponses];
1125
- export type UpdateContactData = {
1126
- body: BillingContact;
1127
- path?: never;
1687
+ export type GetUserResponses = {
1688
+ /**
1689
+ * User profile information
1690
+ */
1691
+ 200: User;
1692
+ };
1693
+ export type GetUserResponse = GetUserResponses[keyof GetUserResponses];
1694
+ export type UpdateUserData = {
1695
+ body: UserUpdateInput;
1696
+ path: {
1697
+ /**
1698
+ * Unique user identifier. UUID v4 string in canonical form
1699
+ */
1700
+ user_id: string;
1701
+ };
1128
1702
  query?: never;
1129
- url: '/billing/contact';
1703
+ url: '/users/{user_id}';
1130
1704
  };
1131
- export type UpdateContactResponses = {
1705
+ export type UpdateUserResponses = {
1132
1706
  /**
1133
- * Successfully updated. Returns updated organization details.
1707
+ * Successfully created. Returns created user details.
1134
1708
  */
1135
- 200: BillingContact;
1709
+ 200: User;
1136
1710
  };
1137
- export type UpdateContactResponse = UpdateContactResponses[keyof UpdateContactResponses];
1138
- export type GetCreditsData = {
1711
+ export type UpdateUserResponse = UpdateUserResponses[keyof UpdateUserResponses];
1712
+ export type ListTokensData = {
1139
1713
  body?: never;
1140
1714
  path?: never;
1141
1715
  query?: never;
1142
- url: '/billing/credits';
1716
+ url: '/tokens';
1143
1717
  };
1144
- export type GetCreditsErrors = {
1718
+ export type ListTokensErrors = {
1145
1719
  /**
1146
1720
  * Not authenticated
1147
1721
  */
1148
1722
  401: unknown;
1149
1723
  };
1150
- export type GetCreditsResponses = {
1724
+ export type ListTokensResponses = {
1151
1725
  /**
1152
- * An array of the applied promotional credits records.
1726
+ * Returns a list of access token details with masked secrets.
1153
1727
  */
1154
- 200: Array<BillingCredits>;
1728
+ 200: Array<Token>;
1155
1729
  };
1156
- export type GetCreditsResponse = GetCreditsResponses[keyof GetCreditsResponses];
1157
- export type RedeemCreditsData = {
1158
- body: {
1159
- /**
1160
- * Promotional code to redeem
1161
- */
1162
- code?: string;
1163
- };
1730
+ export type ListTokensResponse = ListTokensResponses[keyof ListTokensResponses];
1731
+ export type CreateTokenData = {
1732
+ body: TokenCreateInput;
1164
1733
  path?: never;
1165
1734
  query?: never;
1166
- url: '/billing/credits';
1735
+ url: '/tokens';
1167
1736
  };
1168
- export type RedeemCreditsErrors = {
1737
+ export type CreateTokenErrors = {
1169
1738
  /**
1170
1739
  * Not authenticated
1171
1740
  */
1172
1741
  401: unknown;
1173
1742
  };
1174
- export type RedeemCreditsResponses = {
1743
+ export type CreateTokenResponses = {
1175
1744
  /**
1176
- * Successfully created a new organization.
1745
+ * Successfully created. Returns created token details with unmasked/raw secret.
1746
+ */
1747
+ 200: Token;
1748
+ };
1749
+ export type CreateTokenResponse = CreateTokenResponses[keyof CreateTokenResponses];
1750
+ export type DeleteTokenData = {
1751
+ body?: never;
1752
+ path: {
1753
+ /**
1754
+ * Generated unique identifier of the access token.
1755
+ */
1756
+ token_id: string;
1757
+ };
1758
+ query?: never;
1759
+ url: '/tokens/{token_id}';
1760
+ };
1761
+ export type DeleteTokenResponses = {
1762
+ /**
1763
+ * Successfully deleted.
1177
1764
  */
1178
1765
  200: unknown;
1179
1766
  };
1180
- export type ListChartsData = {
1767
+ export type GetTokenData = {
1181
1768
  body?: never;
1182
1769
  path: {
1183
1770
  /**
1184
- * Unique identifier of the cluster. UUID v4 string in canonical form
1771
+ * Generated unique identifier of the access token.
1185
1772
  */
1186
- cluster_id: string;
1773
+ token_id: string;
1187
1774
  };
1188
1775
  query?: never;
1189
- url: '/clusters/{cluster_id}/charts';
1776
+ url: '/tokens/{token_id}';
1190
1777
  };
1191
- export type ListChartsErrors = {
1778
+ export type GetTokenErrors = {
1192
1779
  /**
1193
1780
  * Not authenticated
1194
1781
  */
1195
1782
  401: unknown;
1196
1783
  };
1197
- export type ListChartsResponses = {
1784
+ export type GetTokenResponses = {
1198
1785
  /**
1199
- * An array of charts
1786
+ * Returns access token details with masked secret.
1200
1787
  */
1201
- 200: Array<Chart>;
1788
+ 200: Token;
1202
1789
  };
1203
- export type ListChartsResponse = ListChartsResponses[keyof ListChartsResponses];
1204
- export type CreateChartData = {
1205
- body: ChartCreateInput;
1790
+ export type GetTokenResponse = GetTokenResponses[keyof GetTokenResponses];
1791
+ export type UpdateTokenData = {
1792
+ body: TokenUpdateInput;
1206
1793
  path: {
1207
1794
  /**
1208
- * Unique identifier of the cluster. UUID v4 string in canonical form
1795
+ * Generated unique identifier of the access token.
1209
1796
  */
1210
- cluster_id: string;
1797
+ token_id: string;
1211
1798
  };
1212
1799
  query?: never;
1213
- url: '/clusters/{cluster_id}/charts';
1800
+ url: '/tokens/{token_id}';
1214
1801
  };
1215
- export type CreateChartResponses = {
1802
+ export type UpdateTokenErrors = {
1216
1803
  /**
1217
- * Successfully created. Returns created Chart ID.
1804
+ * Not authenticated
1218
1805
  */
1219
- 200: string;
1806
+ 401: unknown;
1220
1807
  };
1221
- export type CreateChartResponse = CreateChartResponses[keyof CreateChartResponses];
1222
- export type DeleteChartData = {
1808
+ export type UpdateTokenResponses = {
1809
+ /**
1810
+ * Successfully updated. Returns updated token details with masked secret.
1811
+ */
1812
+ 200: Token;
1813
+ };
1814
+ export type UpdateTokenResponse = UpdateTokenResponses[keyof UpdateTokenResponses];
1815
+ export type RegenerateTokenData = {
1223
1816
  body?: never;
1224
1817
  path: {
1225
1818
  /**
1226
- * Unique identifier of the cluster. UUID v4 string in canonical form
1227
- */
1228
- cluster_id: string;
1229
- /**
1230
- * Chart deployment name as the unique identifier of the chart.
1819
+ * Generated unique identifier of the access token.
1231
1820
  */
1232
- chart_name: string;
1821
+ token_id: string;
1233
1822
  };
1234
1823
  query?: never;
1235
- url: '/clusters/{cluster_id}/charts/{chart_name}';
1824
+ url: '/tokens/{token_id}/secret';
1236
1825
  };
1237
- export type DeleteChartResponses = {
1826
+ export type RegenerateTokenErrors = {
1238
1827
  /**
1239
- * Successfully deleted.
1828
+ * Not authenticated
1240
1829
  */
1241
- 200: string;
1830
+ 401: unknown;
1242
1831
  };
1243
- export type DeleteChartResponse = DeleteChartResponses[keyof DeleteChartResponses];
1244
- export type GetChartData = {
1832
+ export type RegenerateTokenResponses = {
1833
+ /**
1834
+ * Successfully updated. Returns updated token details with unmasked / raw secret.
1835
+ */
1836
+ 200: Token;
1837
+ };
1838
+ export type RegenerateTokenResponse = RegenerateTokenResponses[keyof RegenerateTokenResponses];
1839
+ export type ListTicketsData = {
1245
1840
  body?: never;
1246
- path: {
1247
- /**
1248
- * Unique identifier of the cluster. UUID v4 string in canonical form
1249
- */
1250
- cluster_id: string;
1841
+ path?: never;
1842
+ query?: never;
1843
+ url: '/tickets';
1844
+ };
1845
+ export type ListTicketsResponses = {
1846
+ /**
1847
+ * Tickets for the organization.
1848
+ */
1849
+ 200: TicketListResponse;
1850
+ };
1851
+ export type ListTicketsResponse = ListTicketsResponses[keyof ListTicketsResponses];
1852
+ export type CreateTicketData = {
1853
+ body: {
1251
1854
  /**
1252
- * Chart deployment name as the unique identifier of the chart.
1855
+ * JSON-encoded TicketCreateInput.
1253
1856
  */
1254
- chart_name: string;
1857
+ payload?: string;
1858
+ attachments?: Array<Blob | File>;
1255
1859
  };
1860
+ path?: never;
1256
1861
  query?: never;
1257
- url: '/clusters/{cluster_id}/charts/{chart_name}';
1862
+ url: '/tickets';
1258
1863
  };
1259
- export type GetChartResponses = {
1864
+ export type CreateTicketResponses = {
1260
1865
  /**
1261
- * Returns a single object containing chart details.
1866
+ * Ticket created.
1262
1867
  */
1263
- 200: Chart;
1868
+ 200: Ticket;
1264
1869
  };
1265
- export type GetChartResponse = GetChartResponses[keyof GetChartResponses];
1266
- export type UpdateChartData = {
1267
- body: ChartUpdateInput;
1870
+ export type CreateTicketResponse = CreateTicketResponses[keyof CreateTicketResponses];
1871
+ export type CloseTicketData = {
1872
+ body?: never;
1268
1873
  path: {
1269
- /**
1270
- * Unique identifier of the cluster. UUID v4 string in canonical form
1271
- */
1272
- cluster_id: string;
1273
- /**
1274
- * Chart deployment name as the unique identifier of the chart.
1275
- */
1276
- chart_name: string;
1874
+ ticket_id: string;
1277
1875
  };
1278
1876
  query?: never;
1279
- url: '/clusters/{cluster_id}/charts/{chart_name}';
1877
+ url: '/tickets/{ticket_id}';
1280
1878
  };
1281
- export type UpdateChartResponses = {
1879
+ export type CloseTicketResponses = {
1282
1880
  /**
1283
- * Successfully updated.
1881
+ * Ticket closed.
1284
1882
  */
1285
- 200: string;
1883
+ 200: Ticket;
1286
1884
  };
1287
- export type UpdateChartResponse = UpdateChartResponses[keyof UpdateChartResponses];
1288
- export type ListFleetsData = {
1885
+ export type CloseTicketResponse = CloseTicketResponses[keyof CloseTicketResponses];
1886
+ export type GetTicketData = {
1289
1887
  body?: never;
1290
1888
  path: {
1889
+ ticket_id: string;
1890
+ };
1891
+ query?: never;
1892
+ url: '/tickets/{ticket_id}';
1893
+ };
1894
+ export type GetTicketResponses = {
1895
+ /**
1896
+ * Ticket with messages (internal notes excluded).
1897
+ */
1898
+ 200: Ticket;
1899
+ };
1900
+ export type GetTicketResponse = GetTicketResponses[keyof GetTicketResponses];
1901
+ export type ReplyTicketData = {
1902
+ body: {
1291
1903
  /**
1292
- * Unique identifier of the cluster. UUID v4 string in canonical form
1904
+ * JSON-encoded TicketMessageInput.
1293
1905
  */
1294
- cluster_id: string;
1906
+ payload?: string;
1907
+ attachments?: Array<Blob | File>;
1908
+ };
1909
+ path: {
1910
+ ticket_id: string;
1295
1911
  };
1296
1912
  query?: never;
1297
- url: '/clusters/{cluster_id}/fleets';
1913
+ url: '/tickets/{ticket_id}/messages';
1298
1914
  };
1299
- export type ListFleetsErrors = {
1915
+ export type ReplyTicketErrors = {
1300
1916
  /**
1301
- * Not authenticated
1917
+ * Ticket is closed. Open a new ticket instead.
1302
1918
  */
1303
- 401: unknown;
1919
+ 409: unknown;
1304
1920
  };
1305
- export type ListFleetsResponses = {
1921
+ export type ReplyTicketResponses = {
1306
1922
  /**
1307
- * An array of fleets
1923
+ * Reply appended.
1308
1924
  */
1309
- 200: Array<Fleet>;
1925
+ 200: TicketMessage;
1310
1926
  };
1311
- export type ListFleetsResponse = ListFleetsResponses[keyof ListFleetsResponses];
1312
- export type CreateFleetData = {
1313
- body: FleetCreateInput;
1927
+ export type ReplyTicketResponse = ReplyTicketResponses[keyof ReplyTicketResponses];
1928
+ export type GetTicketAttachmentData = {
1929
+ body?: never;
1314
1930
  path: {
1315
- /**
1316
- * Unique identifier of the cluster. UUID v4 string in canonical form
1317
- */
1318
- cluster_id: string;
1931
+ ticket_id: string;
1932
+ attachment_id: string;
1319
1933
  };
1320
1934
  query?: never;
1321
- url: '/clusters/{cluster_id}/fleets';
1935
+ url: '/tickets/{ticket_id}/attachments/{attachment_id}';
1322
1936
  };
1323
- export type CreateFleetErrors = {
1937
+ export type GetTicketAttachmentResponses = {
1324
1938
  /**
1325
- * Cluster quota exceeded. Maximum number of fleets per cluster allowed in this organization is reached.
1939
+ * Attachment binary stream.
1326
1940
  */
1327
- 402: string;
1941
+ 200: Blob | File;
1328
1942
  };
1329
- export type CreateFleetError = CreateFleetErrors[keyof CreateFleetErrors];
1330
- export type CreateFleetResponses = {
1943
+ export type GetTicketAttachmentResponse = GetTicketAttachmentResponses[keyof GetTicketAttachmentResponses];
1944
+ export type ListRepositoriesData = {
1945
+ body?: never;
1946
+ path?: never;
1947
+ query?: never;
1948
+ url: '/registry';
1949
+ };
1950
+ export type ListRepositoriesErrors = {
1331
1951
  /**
1332
- * Successfully created. Returns created Fleet ID.
1952
+ * Not authenticated
1333
1953
  */
1334
- 200: string;
1954
+ 401: unknown;
1955
+ /**
1956
+ * Internal server error
1957
+ */
1958
+ 500: unknown;
1335
1959
  };
1336
- export type CreateFleetResponse = CreateFleetResponses[keyof CreateFleetResponses];
1337
- export type DeleteFleetData = {
1960
+ export type ListRepositoriesResponses = {
1961
+ /**
1962
+ * List of repositories
1963
+ */
1964
+ 200: Array<RegistryRepository>;
1965
+ };
1966
+ export type ListRepositoriesResponse = ListRepositoriesResponses[keyof ListRepositoriesResponses];
1967
+ export type ListTagsData = {
1338
1968
  body?: never;
1339
1969
  path: {
1340
1970
  /**
1341
- * Unique identifier of the cluster. UUID v4 string in canonical form
1971
+ * Region where the repository is located
1342
1972
  */
1343
- cluster_id: string;
1973
+ region: string;
1344
1974
  /**
1345
- * Unique identifier of the fleet. UUID v4 string in canonical form
1975
+ * Name of the repository
1346
1976
  */
1347
- fleet_name: string;
1977
+ repository: string;
1348
1978
  };
1349
1979
  query?: never;
1350
- url: '/clusters/{cluster_id}/fleets/{fleet_name}';
1980
+ url: '/registry/{region}/{repository}';
1351
1981
  };
1352
- export type DeleteFleetResponses = {
1982
+ export type ListTagsErrors = {
1353
1983
  /**
1354
- * Successfully deleted.
1984
+ * Not authenticated
1355
1985
  */
1356
- 200: string;
1986
+ 401: unknown;
1987
+ /**
1988
+ * Repository not found
1989
+ */
1990
+ 404: unknown;
1991
+ /**
1992
+ * Internal server error
1993
+ */
1994
+ 500: unknown;
1357
1995
  };
1358
- export type DeleteFleetResponse = DeleteFleetResponses[keyof DeleteFleetResponses];
1359
- export type GetFleetData = {
1996
+ export type ListTagsResponses = {
1997
+ /**
1998
+ * Repository with tags
1999
+ */
2000
+ 200: RegistryRepositoryWithTags;
2001
+ };
2002
+ export type ListTagsResponse = ListTagsResponses[keyof ListTagsResponses];
2003
+ export type DeleteTagData = {
1360
2004
  body?: never;
1361
2005
  path: {
1362
2006
  /**
1363
- * Unique identifier of the cluster. UUID v4 string in canonical form
2007
+ * Region where the repository is located
1364
2008
  */
1365
- cluster_id: string;
2009
+ region: string;
1366
2010
  /**
1367
- * Unique identifier of the fleet. UUID v4 string in canonical form
2011
+ * Name of the repository
1368
2012
  */
1369
- fleet_name: string;
2013
+ repository: string;
2014
+ /**
2015
+ * Name of the tag
2016
+ */
2017
+ tag: string;
1370
2018
  };
1371
2019
  query?: never;
1372
- url: '/clusters/{cluster_id}/fleets/{fleet_name}';
2020
+ url: '/registry/{region}/{repository}/{tag}';
1373
2021
  };
1374
- export type GetFleetResponses = {
2022
+ export type DeleteTagErrors = {
1375
2023
  /**
1376
- * Returns a single object containing fleet details.
2024
+ * Not authenticated
1377
2025
  */
1378
- 200: Fleet;
2026
+ 401: unknown;
2027
+ /**
2028
+ * Tag not found
2029
+ */
2030
+ 404: unknown;
2031
+ /**
2032
+ * Internal server error
2033
+ */
2034
+ 500: unknown;
1379
2035
  };
1380
- export type GetFleetResponse = GetFleetResponses[keyof GetFleetResponses];
1381
- export type UpdateFleetData = {
1382
- body: FleetUpdateInput;
2036
+ export type DeleteTagResponses = {
2037
+ /**
2038
+ * Tag successfully deleted
2039
+ */
2040
+ 200: unknown;
2041
+ };
2042
+ export type GetTagData = {
2043
+ body?: never;
1383
2044
  path: {
1384
2045
  /**
1385
- * Unique identifier of the cluster. UUID v4 string in canonical form
2046
+ * Region where the repository is located
1386
2047
  */
1387
- cluster_id: string;
2048
+ region: string;
1388
2049
  /**
1389
- * Unique identifier of the fleet. UUID v4 string in canonical form
2050
+ * Name of the repository
1390
2051
  */
1391
- fleet_name: string;
2052
+ repository: string;
2053
+ /**
2054
+ * Name of the tag
2055
+ */
2056
+ tag: string;
1392
2057
  };
1393
2058
  query?: never;
1394
- url: '/clusters/{cluster_id}/fleets/{fleet_name}';
2059
+ url: '/registry/{region}/{repository}/{tag}';
1395
2060
  };
1396
- export type UpdateFleetErrors = {
2061
+ export type GetTagErrors = {
1397
2062
  /**
1398
- * Organization must have a valid payment method configured to access this endpoint.
2063
+ * Not authenticated
1399
2064
  */
1400
- 402: string;
2065
+ 401: unknown;
2066
+ /**
2067
+ * Tag not found
2068
+ */
2069
+ 404: unknown;
2070
+ /**
2071
+ * Internal server error
2072
+ */
2073
+ 500: unknown;
1401
2074
  };
1402
- export type UpdateFleetError = UpdateFleetErrors[keyof UpdateFleetErrors];
1403
- export type UpdateFleetResponses = {
2075
+ export type GetTagResponses = {
1404
2076
  /**
1405
- * Successfully updated.
2077
+ * Tag details
1406
2078
  */
1407
- 200: string;
2079
+ 200: RegistryTag;
1408
2080
  };
1409
- export type UpdateFleetResponse = UpdateFleetResponses[keyof UpdateFleetResponses];
1410
- export type QueryClusterData = {
2081
+ export type GetTagResponse = GetTagResponses[keyof GetTagResponses];
2082
+ export type GetOrganizationData = {
1411
2083
  body?: never;
1412
- path: {
2084
+ path?: never;
2085
+ query?: never;
2086
+ url: '/organization';
2087
+ };
2088
+ export type GetOrganizationResponses = {
2089
+ /**
2090
+ * Returns a single object containing organization details.
2091
+ */
2092
+ 200: Organization;
2093
+ };
2094
+ export type GetOrganizationResponse = GetOrganizationResponses[keyof GetOrganizationResponses];
2095
+ export type CreateOrganizationData = {
2096
+ body: OrganizationCreateInput;
2097
+ path?: never;
2098
+ query?: never;
2099
+ url: '/organization';
2100
+ };
2101
+ export type CreateOrganizationResponses = {
2102
+ /**
2103
+ * Organization signup accepted. Returns the generated organization id immediately; provisioning (billing, Keycloak realm, user) continues asynchronously in the background.
2104
+ *
2105
+ */
2106
+ 200: OrganizationCreateOutput;
2107
+ };
2108
+ export type CreateOrganizationResponse = CreateOrganizationResponses[keyof CreateOrganizationResponses];
2109
+ export type PostMcpData = {
2110
+ /**
2111
+ * JSON-RPC 2.0 request payload
2112
+ */
2113
+ body: {
2114
+ jsonrpc?: string;
2115
+ method?: string;
2116
+ id?: string | number;
1413
2117
  /**
1414
- * Unique identifier of the cluster. UUID v4 string in canonical form
2118
+ * Method-specific parameters
1415
2119
  */
1416
- cluster_id: string;
2120
+ params?: {
2121
+ [key: string]: unknown;
2122
+ };
1417
2123
  };
2124
+ path?: never;
1418
2125
  query?: never;
1419
- url: '/clusters/{cluster_id}/query';
2126
+ url: '/mcp';
1420
2127
  };
1421
- export type QueryClusterErrors = {
2128
+ export type PostMcpErrors = {
1422
2129
  /**
1423
2130
  * Not authenticated
1424
2131
  */
1425
2132
  401: unknown;
1426
2133
  };
1427
- export type QueryClusterResponses = {
2134
+ export type PostMcpResponses = {
1428
2135
  /**
1429
- * Kubernetes API response
2136
+ * JSON-RPC 2.0 success or error response
1430
2137
  */
1431
- 200: unknown;
2138
+ 200: {
2139
+ jsonrpc?: string;
2140
+ id?: string | number;
2141
+ result?: {
2142
+ [key: string]: unknown;
2143
+ };
2144
+ error?: {
2145
+ code?: number;
2146
+ message?: string;
2147
+ };
2148
+ };
1432
2149
  };
1433
- export type ListClustersData = {
2150
+ export type PostMcpResponse = PostMcpResponses[keyof PostMcpResponses];
2151
+ export type ListMarketplaceChartsData = {
1434
2152
  body?: never;
1435
2153
  path?: never;
1436
2154
  query?: never;
1437
- url: '/clusters';
2155
+ url: '/marketplace';
1438
2156
  };
1439
- export type ListClustersErrors = {
2157
+ export type ListMarketplaceChartsErrors = {
1440
2158
  /**
1441
2159
  * Not authenticated
1442
2160
  */
1443
2161
  401: unknown;
1444
2162
  };
1445
- export type ListClustersResponses = {
2163
+ export type ListMarketplaceChartsResponses = {
1446
2164
  /**
1447
- * An array of clusters
2165
+ * An array of chart listings in the marketplace.
1448
2166
  */
1449
- 200: Array<Cluster>;
2167
+ 200: Array<MarketplaceListing>;
1450
2168
  };
1451
- export type ListClustersResponse = ListClustersResponses[keyof ListClustersResponses];
1452
- export type CreateClusterData = {
1453
- body: ClusterCreateInput;
2169
+ export type ListMarketplaceChartsResponse = ListMarketplaceChartsResponses[keyof ListMarketplaceChartsResponses];
2170
+ export type GetMarketplaceChartFilesData = {
2171
+ body?: never;
2172
+ path: {
2173
+ /**
2174
+ * Name of the chart in the marketplace.
2175
+ */
2176
+ chart_name: string;
2177
+ /**
2178
+ * Version channel pattern to match (e.g., "1.31.x-cfke.x" for latest 1.31 patch, "1.x.x-cfke.x" for latest 1.x minor).
2179
+ */
2180
+ version_channel: string;
2181
+ };
2182
+ query?: never;
2183
+ url: '/marketplace/{chart_name}/files/{version_channel}';
2184
+ };
2185
+ export type GetMarketplaceChartFilesErrors = {
2186
+ /**
2187
+ * Chart not found or no version matches the channel
2188
+ */
2189
+ 404: unknown;
2190
+ };
2191
+ export type GetMarketplaceChartFilesResponses = {
2192
+ /**
2193
+ * Returns an object containing the chart files for the latest matching version.
2194
+ */
2195
+ 200: MarketplaceListingFiles;
2196
+ };
2197
+ export type GetMarketplaceChartFilesResponse = GetMarketplaceChartFilesResponses[keyof GetMarketplaceChartFilesResponses];
2198
+ export type ListInvitesData = {
2199
+ body?: never;
1454
2200
  path?: never;
1455
2201
  query?: never;
1456
- url: '/clusters';
2202
+ url: '/invites';
1457
2203
  };
1458
- export type CreateClusterErrors = {
2204
+ export type ListInvitesErrors = {
1459
2205
  /**
1460
- * Cluster quota exceeded. Maximum number of clusters allowed in this organization is reached.
2206
+ * Not authenticated
1461
2207
  */
1462
- 402: string;
2208
+ 401: unknown;
1463
2209
  };
1464
- export type CreateClusterError = CreateClusterErrors[keyof CreateClusterErrors];
1465
- export type CreateClusterResponses = {
2210
+ export type ListInvitesResponses = {
1466
2211
  /**
1467
- * Successfully created. Returns created Cluster ID.
2212
+ * An array of invites
1468
2213
  */
1469
- 200: string;
2214
+ 200: Array<Invite>;
1470
2215
  };
1471
- export type CreateClusterResponse = CreateClusterResponses[keyof CreateClusterResponses];
1472
- export type DeleteClusterData = {
2216
+ export type ListInvitesResponse = ListInvitesResponses[keyof ListInvitesResponses];
2217
+ export type CreateInviteData = {
2218
+ body: InviteCreateInput;
2219
+ path?: never;
2220
+ query?: never;
2221
+ url: '/invites';
2222
+ };
2223
+ export type CreateInviteResponses = {
2224
+ /**
2225
+ * Successfully created. Returns created invite details.
2226
+ */
2227
+ 200: Invite;
2228
+ };
2229
+ export type CreateInviteResponse = CreateInviteResponses[keyof CreateInviteResponses];
2230
+ export type GetInviteData = {
2231
+ body?: never;
2232
+ path: {
2233
+ /**
2234
+ * Invitation code
2235
+ */
2236
+ code: string;
2237
+ };
2238
+ query?: never;
2239
+ url: '/invites/{code}';
2240
+ };
2241
+ export type GetInviteResponses = {
2242
+ /**
2243
+ * The invitation code is valid. Returns the invited email and organization.
2244
+ */
2245
+ 200: {
2246
+ /**
2247
+ * Email address the invite was issued to.
2248
+ */
2249
+ email?: string;
2250
+ /**
2251
+ * Identifier of the organization the invite grants access to.
2252
+ */
2253
+ organization_id?: string;
2254
+ };
2255
+ };
2256
+ export type GetInviteResponse = GetInviteResponses[keyof GetInviteResponses];
2257
+ export type DeleteInviteData = {
2258
+ body?: never;
2259
+ path: {
2260
+ /**
2261
+ * User email address
2262
+ */
2263
+ email: string;
2264
+ };
2265
+ query?: never;
2266
+ url: '/invites/{email}';
2267
+ };
2268
+ export type DeleteInviteResponses = {
2269
+ /**
2270
+ * Successfully deleted.
2271
+ */
2272
+ 200: unknown;
2273
+ };
2274
+ export type QueryClusterData = {
1473
2275
  body?: never;
1474
2276
  path: {
1475
2277
  /**
@@ -1478,16 +2280,21 @@ export type DeleteClusterData = {
1478
2280
  cluster_id: string;
1479
2281
  };
1480
2282
  query?: never;
1481
- url: '/clusters/{cluster_id}';
2283
+ url: '/clusters/{cluster_id}/query';
1482
2284
  };
1483
- export type DeleteClusterResponses = {
2285
+ export type QueryClusterErrors = {
1484
2286
  /**
1485
- * Successfully deleted.
2287
+ * Not authenticated
1486
2288
  */
1487
- 200: string;
2289
+ 401: unknown;
1488
2290
  };
1489
- export type DeleteClusterResponse = DeleteClusterResponses[keyof DeleteClusterResponses];
1490
- export type GetClusterData = {
2291
+ export type QueryClusterResponses = {
2292
+ /**
2293
+ * Kubernetes API response
2294
+ */
2295
+ 200: unknown;
2296
+ };
2297
+ export type ListFleetsData = {
1491
2298
  body?: never;
1492
2299
  path: {
1493
2300
  /**
@@ -1496,17 +2303,23 @@ export type GetClusterData = {
1496
2303
  cluster_id: string;
1497
2304
  };
1498
2305
  query?: never;
1499
- url: '/clusters/{cluster_id}';
2306
+ url: '/clusters/{cluster_id}/fleets';
1500
2307
  };
1501
- export type GetClusterResponses = {
2308
+ export type ListFleetsErrors = {
1502
2309
  /**
1503
- * Returns a single object containing cluster details.
2310
+ * Not authenticated
1504
2311
  */
1505
- 200: Cluster;
2312
+ 401: unknown;
1506
2313
  };
1507
- export type GetClusterResponse = GetClusterResponses[keyof GetClusterResponses];
1508
- export type UpdateClusterData = {
1509
- body: ClusterUpdateInput;
2314
+ export type ListFleetsResponses = {
2315
+ /**
2316
+ * An array of fleets
2317
+ */
2318
+ 200: Array<Fleet>;
2319
+ };
2320
+ export type ListFleetsResponse = ListFleetsResponses[keyof ListFleetsResponses];
2321
+ export type CreateFleetData = {
2322
+ body: FleetCreateInput;
1510
2323
  path: {
1511
2324
  /**
1512
2325
  * Unique identifier of the cluster. UUID v4 string in canonical form
@@ -1514,617 +2327,598 @@ export type UpdateClusterData = {
1514
2327
  cluster_id: string;
1515
2328
  };
1516
2329
  query?: never;
1517
- url: '/clusters/{cluster_id}';
2330
+ url: '/clusters/{cluster_id}/fleets';
1518
2331
  };
1519
- export type UpdateClusterResponses = {
2332
+ export type CreateFleetErrors = {
1520
2333
  /**
1521
- * Successfully updated. Returns updated cluster details.
2334
+ * Cluster quota exceeded. Maximum number of fleets per cluster allowed in this organization is reached.
1522
2335
  */
1523
- 200: Cluster;
2336
+ 402: string;
2337
+ /**
2338
+ * The cluster cannot service this operation: it is still being created, or it is suspended. Retry once it is ready, or resume the cluster first.
2339
+ */
2340
+ 409: string;
1524
2341
  };
1525
- export type UpdateClusterResponse = UpdateClusterResponses[keyof UpdateClusterResponses];
1526
- export type GetJoinInformationData = {
2342
+ export type CreateFleetError = CreateFleetErrors[keyof CreateFleetErrors];
2343
+ export type CreateFleetResponses = {
2344
+ /**
2345
+ * Successfully created. Returns created Fleet ID.
2346
+ */
2347
+ 200: string;
2348
+ };
2349
+ export type CreateFleetResponse = CreateFleetResponses[keyof CreateFleetResponses];
2350
+ export type DeleteFleetData = {
1527
2351
  body?: never;
1528
2352
  path: {
1529
2353
  /**
1530
2354
  * Unique identifier of the cluster. UUID v4 string in canonical form
1531
2355
  */
1532
2356
  cluster_id: string;
2357
+ /**
2358
+ * Unique identifier of the fleet. UUID v4 string in canonical form
2359
+ */
2360
+ fleet_name: string;
1533
2361
  };
1534
2362
  query?: never;
1535
- url: '/clusters/{cluster_id}/join_information';
2363
+ url: '/clusters/{cluster_id}/fleets/{fleet_name}';
1536
2364
  };
1537
- export type GetJoinInformationErrors = {
2365
+ export type DeleteFleetErrors = {
1538
2366
  /**
1539
- * Not authenticated
2367
+ * The cluster cannot service this operation: it is still being created, or it is suspended. Retry once it is ready, or resume the cluster first.
1540
2368
  */
1541
- 401: unknown;
2369
+ 409: string;
1542
2370
  };
1543
- export type GetJoinInformationResponses = {
2371
+ export type DeleteFleetError = DeleteFleetErrors[keyof DeleteFleetErrors];
2372
+ export type DeleteFleetResponses = {
1544
2373
  /**
1545
- * An object of cluster join information
2374
+ * Successfully deleted.
1546
2375
  */
1547
- 200: ClusterJoinInformation;
2376
+ 200: string;
1548
2377
  };
1549
- export type GetJoinInformationResponse = GetJoinInformationResponses[keyof GetJoinInformationResponses];
1550
- export type ListInvitesData = {
2378
+ export type DeleteFleetResponse = DeleteFleetResponses[keyof DeleteFleetResponses];
2379
+ export type GetFleetData = {
1551
2380
  body?: never;
1552
- path?: never;
2381
+ path: {
2382
+ /**
2383
+ * Unique identifier of the cluster. UUID v4 string in canonical form
2384
+ */
2385
+ cluster_id: string;
2386
+ /**
2387
+ * Unique identifier of the fleet. UUID v4 string in canonical form
2388
+ */
2389
+ fleet_name: string;
2390
+ };
1553
2391
  query?: never;
1554
- url: '/invites';
2392
+ url: '/clusters/{cluster_id}/fleets/{fleet_name}';
1555
2393
  };
1556
- export type ListInvitesErrors = {
2394
+ export type GetFleetResponses = {
1557
2395
  /**
1558
- * Not authenticated
2396
+ * Returns a single object containing fleet details.
1559
2397
  */
1560
- 401: unknown;
2398
+ 200: Fleet;
1561
2399
  };
1562
- export type ListInvitesResponses = {
2400
+ export type GetFleetResponse = GetFleetResponses[keyof GetFleetResponses];
2401
+ export type UpdateFleetData = {
2402
+ body: FleetUpdateInput;
2403
+ path: {
2404
+ /**
2405
+ * Unique identifier of the cluster. UUID v4 string in canonical form
2406
+ */
2407
+ cluster_id: string;
2408
+ /**
2409
+ * Unique identifier of the fleet. UUID v4 string in canonical form
2410
+ */
2411
+ fleet_name: string;
2412
+ };
2413
+ query?: never;
2414
+ url: '/clusters/{cluster_id}/fleets/{fleet_name}';
2415
+ };
2416
+ export type UpdateFleetErrors = {
1563
2417
  /**
1564
- * An array of invites
2418
+ * Organization must have a valid payment method configured to access this endpoint.
1565
2419
  */
1566
- 200: Array<Invite>;
2420
+ 402: string;
2421
+ /**
2422
+ * The cluster cannot service this operation: it is still being created, or it is suspended. Retry once it is ready, or resume the cluster first.
2423
+ */
2424
+ 409: string;
1567
2425
  };
1568
- export type ListInvitesResponse = ListInvitesResponses[keyof ListInvitesResponses];
1569
- export type CreateInviteData = {
1570
- body: {
2426
+ export type UpdateFleetError = UpdateFleetErrors[keyof UpdateFleetErrors];
2427
+ export type UpdateFleetResponses = {
2428
+ /**
2429
+ * Successfully updated.
2430
+ */
2431
+ 200: string;
2432
+ };
2433
+ export type UpdateFleetResponse = UpdateFleetResponses[keyof UpdateFleetResponses];
2434
+ export type ListChartsData = {
2435
+ body?: never;
2436
+ path: {
1571
2437
  /**
1572
- * User email address
2438
+ * Unique identifier of the cluster. UUID v4 string in canonical form
1573
2439
  */
1574
- email?: string;
2440
+ cluster_id: string;
1575
2441
  };
1576
- path?: never;
1577
2442
  query?: never;
1578
- url: '/invites';
2443
+ url: '/clusters/{cluster_id}/charts';
1579
2444
  };
1580
- export type CreateInviteResponses = {
2445
+ export type ListChartsErrors = {
1581
2446
  /**
1582
- * Successfully created. Returns created invite details.
2447
+ * Not authenticated
1583
2448
  */
1584
- 200: Invite;
2449
+ 401: unknown;
1585
2450
  };
1586
- export type CreateInviteResponse = CreateInviteResponses[keyof CreateInviteResponses];
1587
- export type GetInviteData = {
1588
- body?: never;
2451
+ export type ListChartsResponses = {
2452
+ /**
2453
+ * An array of charts
2454
+ */
2455
+ 200: Array<Chart>;
2456
+ };
2457
+ export type ListChartsResponse = ListChartsResponses[keyof ListChartsResponses];
2458
+ export type CreateChartData = {
2459
+ body: ChartCreateInput;
1589
2460
  path: {
1590
2461
  /**
1591
- * Invitation code
2462
+ * Unique identifier of the cluster. UUID v4 string in canonical form
1592
2463
  */
1593
- code: string;
2464
+ cluster_id: string;
1594
2465
  };
1595
2466
  query?: never;
1596
- url: '/invites/{code}';
2467
+ url: '/clusters/{cluster_id}/charts';
1597
2468
  };
1598
- export type GetInviteResponses = {
2469
+ export type CreateChartErrors = {
1599
2470
  /**
1600
- * Returns a single object containing invite details.
2471
+ * The cluster cannot service this operation: it is still being created, or it is suspended. Retry once it is ready, or resume the cluster first.
1601
2472
  */
1602
- 200: Invite;
2473
+ 409: string;
1603
2474
  };
1604
- export type GetInviteResponse = GetInviteResponses[keyof GetInviteResponses];
1605
- export type DeleteInviteData = {
2475
+ export type CreateChartError = CreateChartErrors[keyof CreateChartErrors];
2476
+ export type CreateChartResponses = {
2477
+ /**
2478
+ * Successfully created. Returns created Chart ID.
2479
+ */
2480
+ 200: string;
2481
+ };
2482
+ export type CreateChartResponse = CreateChartResponses[keyof CreateChartResponses];
2483
+ export type DeleteChartData = {
1606
2484
  body?: never;
1607
2485
  path: {
1608
2486
  /**
1609
- * User email address
2487
+ * Unique identifier of the cluster. UUID v4 string in canonical form
1610
2488
  */
1611
- email: string;
2489
+ cluster_id: string;
2490
+ /**
2491
+ * Chart deployment name as the unique identifier of the chart.
2492
+ */
2493
+ chart_name: string;
1612
2494
  };
1613
2495
  query?: never;
1614
- url: '/invites/{email}';
1615
- };
1616
- export type DeleteInviteResponses = {
1617
- /**
1618
- * Successfully deleted.
1619
- */
1620
- 200: unknown;
1621
- };
1622
- export type ListMarketplaceChartsData = {
1623
- body?: never;
1624
- path?: never;
1625
- query?: never;
1626
- url: '/marketplace';
2496
+ url: '/clusters/{cluster_id}/charts/{chart_name}';
1627
2497
  };
1628
- export type ListMarketplaceChartsErrors = {
2498
+ export type DeleteChartErrors = {
1629
2499
  /**
1630
- * Not authenticated
2500
+ * The cluster cannot service this operation: it is still being created, or it is suspended. Retry once it is ready, or resume the cluster first.
1631
2501
  */
1632
- 401: unknown;
2502
+ 409: string;
1633
2503
  };
1634
- export type ListMarketplaceChartsResponses = {
2504
+ export type DeleteChartError = DeleteChartErrors[keyof DeleteChartErrors];
2505
+ export type DeleteChartResponses = {
1635
2506
  /**
1636
- * An array of chart listings in the marketplace.
2507
+ * Successfully deleted.
1637
2508
  */
1638
- 200: Array<MarketplaceListing>;
2509
+ 200: string;
1639
2510
  };
1640
- export type ListMarketplaceChartsResponse = ListMarketplaceChartsResponses[keyof ListMarketplaceChartsResponses];
1641
- export type GetMarketplaceChartFilesData = {
2511
+ export type DeleteChartResponse = DeleteChartResponses[keyof DeleteChartResponses];
2512
+ export type GetChartData = {
1642
2513
  body?: never;
1643
2514
  path: {
1644
2515
  /**
1645
- * Name of the chart in the marketplace.
2516
+ * Unique identifier of the cluster. UUID v4 string in canonical form
1646
2517
  */
1647
- chart_name: string;
2518
+ cluster_id: string;
1648
2519
  /**
1649
- * Version channel pattern to match (e.g., "1.31.x-cfke.x" for latest 1.31 patch, "1.x.x-cfke.x" for latest 1.x minor).
2520
+ * Chart deployment name as the unique identifier of the chart.
1650
2521
  */
1651
- version_channel: string;
2522
+ chart_name: string;
1652
2523
  };
1653
2524
  query?: never;
1654
- url: '/marketplace/{chart_name}/files/{version_channel}';
1655
- };
1656
- export type GetMarketplaceChartFilesErrors = {
1657
- /**
1658
- * Chart not found or no version matches the channel
1659
- */
1660
- 404: unknown;
2525
+ url: '/clusters/{cluster_id}/charts/{chart_name}';
1661
2526
  };
1662
- export type GetMarketplaceChartFilesResponses = {
2527
+ export type GetChartResponses = {
1663
2528
  /**
1664
- * Returns an object containing the chart files for the latest matching version.
2529
+ * Returns a single object containing chart details.
1665
2530
  */
1666
- 200: MarketplaceListingFiles;
2531
+ 200: Chart;
1667
2532
  };
1668
- export type GetMarketplaceChartFilesResponse = GetMarketplaceChartFilesResponses[keyof GetMarketplaceChartFilesResponses];
1669
- export type PostMcpData = {
1670
- /**
1671
- * JSON-RPC 2.0 request payload
1672
- */
1673
- body: {
1674
- jsonrpc?: string;
1675
- method?: string;
1676
- id?: string | number;
2533
+ export type GetChartResponse = GetChartResponses[keyof GetChartResponses];
2534
+ export type UpdateChartData = {
2535
+ body: ChartUpdateInput;
2536
+ path: {
1677
2537
  /**
1678
- * Method-specific parameters
2538
+ * Unique identifier of the cluster. UUID v4 string in canonical form
1679
2539
  */
1680
- params?: {
1681
- [key: string]: unknown;
1682
- };
2540
+ cluster_id: string;
2541
+ /**
2542
+ * Chart deployment name as the unique identifier of the chart.
2543
+ */
2544
+ chart_name: string;
1683
2545
  };
1684
- path?: never;
1685
2546
  query?: never;
1686
- url: '/mcp';
2547
+ url: '/clusters/{cluster_id}/charts/{chart_name}';
1687
2548
  };
1688
- export type PostMcpErrors = {
2549
+ export type UpdateChartErrors = {
1689
2550
  /**
1690
- * Not authenticated
2551
+ * The cluster cannot service this operation: it is still being created, or it is suspended. Retry once it is ready, or resume the cluster first.
1691
2552
  */
1692
- 401: unknown;
2553
+ 409: string;
1693
2554
  };
1694
- export type PostMcpResponses = {
2555
+ export type UpdateChartError = UpdateChartErrors[keyof UpdateChartErrors];
2556
+ export type UpdateChartResponses = {
1695
2557
  /**
1696
- * JSON-RPC 2.0 success or error response
2558
+ * Successfully updated.
1697
2559
  */
1698
- 200: {
1699
- jsonrpc?: string;
1700
- id?: string | number;
1701
- result?: {
1702
- [key: string]: unknown;
1703
- };
1704
- error?: {
1705
- code?: number;
1706
- message?: string;
1707
- };
1708
- };
2560
+ 200: string;
1709
2561
  };
1710
- export type PostMcpResponse = PostMcpResponses[keyof PostMcpResponses];
1711
- export type GetOrganizationData = {
2562
+ export type UpdateChartResponse = UpdateChartResponses[keyof UpdateChartResponses];
2563
+ export type ListClustersData = {
1712
2564
  body?: never;
1713
2565
  path?: never;
1714
2566
  query?: never;
1715
- url: '/organization';
2567
+ url: '/clusters';
1716
2568
  };
1717
- export type GetOrganizationResponses = {
2569
+ export type ListClustersErrors = {
1718
2570
  /**
1719
- * Returns a single object containing organization details.
2571
+ * Not authenticated
1720
2572
  */
1721
- 200: Organization;
1722
- };
1723
- export type GetOrganizationResponse = GetOrganizationResponses[keyof GetOrganizationResponses];
1724
- export type CreateOrganizationData = {
1725
- body: OrganizationCreateInput;
1726
- path?: never;
1727
- query?: never;
1728
- url: '/organization';
2573
+ 401: unknown;
1729
2574
  };
1730
- export type CreateOrganizationResponses = {
2575
+ export type ListClustersResponses = {
1731
2576
  /**
1732
- * Successfully created a new organization.
2577
+ * An array of clusters
1733
2578
  */
1734
- 200: unknown;
2579
+ 200: Array<Cluster>;
1735
2580
  };
1736
- export type ListRepositoriesData = {
1737
- body?: never;
2581
+ export type ListClustersResponse = ListClustersResponses[keyof ListClustersResponses];
2582
+ export type CreateClusterData = {
2583
+ body: ClusterCreateInput;
1738
2584
  path?: never;
1739
2585
  query?: never;
1740
- url: '/registry';
2586
+ url: '/clusters';
1741
2587
  };
1742
- export type ListRepositoriesErrors = {
1743
- /**
1744
- * Not authenticated
1745
- */
1746
- 401: unknown;
2588
+ export type CreateClusterErrors = {
1747
2589
  /**
1748
- * Internal server error
2590
+ * Cluster quota exceeded. Maximum number of clusters allowed in this organization is reached.
1749
2591
  */
1750
- 500: unknown;
2592
+ 402: string;
1751
2593
  };
1752
- export type ListRepositoriesResponses = {
2594
+ export type CreateClusterError = CreateClusterErrors[keyof CreateClusterErrors];
2595
+ export type CreateClusterResponses = {
1753
2596
  /**
1754
- * List of repositories
2597
+ * Successfully created. Returns created Cluster ID.
1755
2598
  */
1756
- 200: Array<RegistryRepository>;
2599
+ 200: string;
1757
2600
  };
1758
- export type ListRepositoriesResponse = ListRepositoriesResponses[keyof ListRepositoriesResponses];
1759
- export type ListTagsData = {
2601
+ export type CreateClusterResponse = CreateClusterResponses[keyof CreateClusterResponses];
2602
+ export type DeleteClusterData = {
1760
2603
  body?: never;
1761
2604
  path: {
1762
2605
  /**
1763
- * Region where the repository is located
1764
- */
1765
- region: string;
1766
- /**
1767
- * Name of the repository
2606
+ * Unique identifier of the cluster. UUID v4 string in canonical form
1768
2607
  */
1769
- repository: string;
2608
+ cluster_id: string;
1770
2609
  };
1771
2610
  query?: never;
1772
- url: '/registry/{region}/{repository}';
2611
+ url: '/clusters/{cluster_id}';
1773
2612
  };
1774
- export type ListTagsErrors = {
2613
+ export type DeleteClusterErrors = {
1775
2614
  /**
1776
- * Not authenticated
2615
+ * Cluster not found — it does not exist or has already been deleted.
1777
2616
  */
1778
- 401: unknown;
2617
+ 404: unknown;
1779
2618
  /**
1780
- * Repository not found
2619
+ * The cluster cannot service this operation: it is still being created, or it is suspended. Retry once it is ready, or resume the cluster first.
1781
2620
  */
1782
- 404: unknown;
2621
+ 409: string;
1783
2622
  /**
1784
- * Internal server error
2623
+ * Transient failure tearing down the cluster; retry the request.
1785
2624
  */
1786
- 500: unknown;
2625
+ 503: unknown;
1787
2626
  };
1788
- export type ListTagsResponses = {
2627
+ export type DeleteClusterError = DeleteClusterErrors[keyof DeleteClusterErrors];
2628
+ export type DeleteClusterResponses = {
1789
2629
  /**
1790
- * Repository with tags
2630
+ * Successfully deleted. The cluster has been torn down.
1791
2631
  */
1792
- 200: RegistryRepositoryWithTags;
2632
+ 200: string;
1793
2633
  };
1794
- export type ListTagsResponse = ListTagsResponses[keyof ListTagsResponses];
1795
- export type DeleteTagData = {
2634
+ export type DeleteClusterResponse = DeleteClusterResponses[keyof DeleteClusterResponses];
2635
+ export type GetClusterData = {
1796
2636
  body?: never;
1797
2637
  path: {
1798
2638
  /**
1799
- * Region where the repository is located
1800
- */
1801
- region: string;
1802
- /**
1803
- * Name of the repository
1804
- */
1805
- repository: string;
1806
- /**
1807
- * Name of the tag
2639
+ * Unique identifier of the cluster. UUID v4 string in canonical form
1808
2640
  */
1809
- tag: string;
2641
+ cluster_id: string;
1810
2642
  };
1811
2643
  query?: never;
1812
- url: '/registry/{region}/{repository}/{tag}';
2644
+ url: '/clusters/{cluster_id}';
1813
2645
  };
1814
- export type DeleteTagErrors = {
1815
- /**
1816
- * Not authenticated
1817
- */
1818
- 401: unknown;
2646
+ export type GetClusterResponses = {
1819
2647
  /**
1820
- * Tag not found
2648
+ * Returns a single object containing cluster details.
1821
2649
  */
1822
- 404: unknown;
2650
+ 200: Cluster;
2651
+ };
2652
+ export type GetClusterResponse = GetClusterResponses[keyof GetClusterResponses];
2653
+ export type UpdateClusterData = {
2654
+ body: ClusterUpdateInput;
2655
+ path: {
2656
+ /**
2657
+ * Unique identifier of the cluster. UUID v4 string in canonical form
2658
+ */
2659
+ cluster_id: string;
2660
+ };
2661
+ query?: never;
2662
+ url: '/clusters/{cluster_id}';
2663
+ };
2664
+ export type UpdateClusterErrors = {
1823
2665
  /**
1824
- * Internal server error
2666
+ * The cluster cannot service this operation: it is still being created, or it is suspended. Retry once it is ready, or resume the cluster first.
1825
2667
  */
1826
- 500: unknown;
2668
+ 409: string;
1827
2669
  };
1828
- export type DeleteTagResponses = {
2670
+ export type UpdateClusterError = UpdateClusterErrors[keyof UpdateClusterErrors];
2671
+ export type UpdateClusterResponses = {
1829
2672
  /**
1830
- * Tag successfully deleted
2673
+ * Successfully updated. Returns updated cluster details.
1831
2674
  */
1832
- 200: unknown;
2675
+ 200: Cluster;
1833
2676
  };
1834
- export type GetTagData = {
1835
- body?: never;
1836
- path: {
1837
- /**
1838
- * Region where the repository is located
1839
- */
1840
- region: string;
1841
- /**
1842
- * Name of the repository
1843
- */
1844
- repository: string;
2677
+ export type UpdateClusterResponse = UpdateClusterResponses[keyof UpdateClusterResponses];
2678
+ export type GetJoinInformationData = {
2679
+ body?: never;
2680
+ path: {
1845
2681
  /**
1846
- * Name of the tag
2682
+ * Unique identifier of the cluster. UUID v4 string in canonical form
1847
2683
  */
1848
- tag: string;
2684
+ cluster_id: string;
1849
2685
  };
1850
2686
  query?: never;
1851
- url: '/registry/{region}/{repository}/{tag}';
2687
+ url: '/clusters/{cluster_id}/join_information';
1852
2688
  };
1853
- export type GetTagErrors = {
2689
+ export type GetJoinInformationErrors = {
1854
2690
  /**
1855
2691
  * Not authenticated
1856
2692
  */
1857
2693
  401: unknown;
1858
2694
  /**
1859
- * Tag not found
1860
- */
1861
- 404: unknown;
1862
- /**
1863
- * Internal server error
2695
+ * The cluster cannot service this operation: it is still being created, or it is suspended. Retry once it is ready, or resume the cluster first.
1864
2696
  */
1865
- 500: unknown;
2697
+ 409: string;
1866
2698
  };
1867
- export type GetTagResponses = {
2699
+ export type GetJoinInformationError = GetJoinInformationErrors[keyof GetJoinInformationErrors];
2700
+ export type GetJoinInformationResponses = {
1868
2701
  /**
1869
- * Tag details
2702
+ * An object of cluster join information
1870
2703
  */
1871
- 200: RegistryTag;
2704
+ 200: ClusterJoinInformation;
1872
2705
  };
1873
- export type GetTagResponse = GetTagResponses[keyof GetTagResponses];
1874
- export type ListTokensData = {
2706
+ export type GetJoinInformationResponse = GetJoinInformationResponses[keyof GetJoinInformationResponses];
2707
+ export type GetUsageData = {
1875
2708
  body?: never;
1876
2709
  path?: never;
1877
- query?: never;
1878
- url: '/tokens';
2710
+ query?: {
2711
+ /**
2712
+ * Time granularity for usage aggregation - hourly (Past 48 hours aggregated by hour), daily (Past 30 days aggregated by day), monthly (Past 12 months aggregated by month)
2713
+ */
2714
+ granularity?: 'hourly' | 'daily' | 'monthly';
2715
+ };
2716
+ url: '/billing/usage';
1879
2717
  };
1880
- export type ListTokensErrors = {
2718
+ export type GetUsageErrors = {
1881
2719
  /**
1882
2720
  * Not authenticated
1883
2721
  */
1884
2722
  401: unknown;
1885
2723
  };
1886
- export type ListTokensResponses = {
2724
+ export type GetUsageResponses = {
1887
2725
  /**
1888
- * Returns a list of access token details with masked secrets.
2726
+ * Usage data with facets for filtering
1889
2727
  */
1890
- 200: Array<Token>;
2728
+ 200: UsageResponse;
1891
2729
  };
1892
- export type ListTokensResponse = ListTokensResponses[keyof ListTokensResponses];
1893
- export type CreateTokenData = {
1894
- body: TokenCreateInput;
2730
+ export type GetUsageResponse = GetUsageResponses[keyof GetUsageResponses];
2731
+ export type GetPaymentMethodSecretData = {
2732
+ body?: never;
1895
2733
  path?: never;
1896
2734
  query?: never;
1897
- url: '/tokens';
1898
- };
1899
- export type CreateTokenErrors = {
1900
- /**
1901
- * Not authenticated
1902
- */
1903
- 401: unknown;
2735
+ url: '/billing/payment-method';
1904
2736
  };
1905
- export type CreateTokenResponses = {
2737
+ export type GetPaymentMethodSecretResponses = {
1906
2738
  /**
1907
- * Successfully created. Returns created token details with unmasked/raw secret.
2739
+ * The client secret. Used for client-side retrieval using a publishable key. The client secret can be used to complete a payment from your frontend. It should not be stored, logged, or exposed to anyone other than the customer. Make sure that you have TLS enabled on any page that includes the client secret.
2740
+ *
1908
2741
  */
1909
- 200: Token;
1910
- };
1911
- export type CreateTokenResponse = CreateTokenResponses[keyof CreateTokenResponses];
1912
- export type DeleteTokenData = {
1913
- body?: never;
1914
- path: {
2742
+ 200: {
1915
2743
  /**
1916
- * Generated unique identifier of the access token.
2744
+ * The client secret.
1917
2745
  */
1918
- token_id: string;
2746
+ id?: string;
1919
2747
  };
1920
- query?: never;
1921
- url: '/tokens/{token_id}';
1922
- };
1923
- export type DeleteTokenResponses = {
1924
- /**
1925
- * Successfully deleted.
1926
- */
1927
- 200: unknown;
1928
2748
  };
1929
- export type GetTokenData = {
2749
+ export type GetPaymentMethodSecretResponse = GetPaymentMethodSecretResponses[keyof GetPaymentMethodSecretResponses];
2750
+ export type ListPaymentMethodsData = {
1930
2751
  body?: never;
1931
- path: {
1932
- /**
1933
- * Generated unique identifier of the access token.
1934
- */
1935
- token_id: string;
1936
- };
2752
+ path?: never;
1937
2753
  query?: never;
1938
- url: '/tokens/{token_id}';
2754
+ url: '/billing/payment-methods';
1939
2755
  };
1940
- export type GetTokenErrors = {
2756
+ export type ListPaymentMethodsErrors = {
1941
2757
  /**
1942
2758
  * Not authenticated
1943
2759
  */
1944
2760
  401: unknown;
1945
2761
  };
1946
- export type GetTokenResponses = {
2762
+ export type ListPaymentMethodsResponses = {
1947
2763
  /**
1948
- * Returns access token details with masked secret.
2764
+ * An array of payment methods.
1949
2765
  */
1950
- 200: Token;
2766
+ 200: Array<PaymentMethod>;
1951
2767
  };
1952
- export type GetTokenResponse = GetTokenResponses[keyof GetTokenResponses];
1953
- export type UpdateTokenData = {
1954
- body: TokenUpdateInput;
2768
+ export type ListPaymentMethodsResponse = ListPaymentMethodsResponses[keyof ListPaymentMethodsResponses];
2769
+ export type SetDefaultPaymentMethodData = {
2770
+ body?: never;
1955
2771
  path: {
1956
2772
  /**
1957
- * Generated unique identifier of the access token.
2773
+ * Stripe payment method identifier.
1958
2774
  */
1959
- token_id: string;
2775
+ paymentMethodId: string;
1960
2776
  };
1961
2777
  query?: never;
1962
- url: '/tokens/{token_id}';
2778
+ url: '/billing/payment-methods/{paymentMethodId}/default';
1963
2779
  };
1964
- export type UpdateTokenErrors = {
2780
+ export type SetDefaultPaymentMethodErrors = {
2781
+ /**
2782
+ * The bank transfer payment method cannot be set as the default.
2783
+ */
2784
+ 400: unknown;
1965
2785
  /**
1966
2786
  * Not authenticated
1967
2787
  */
1968
2788
  401: unknown;
2789
+ /**
2790
+ * Payment method not found.
2791
+ */
2792
+ 404: unknown;
1969
2793
  };
1970
- export type UpdateTokenResponses = {
2794
+ export type SetDefaultPaymentMethodResponses = {
1971
2795
  /**
1972
- * Successfully updated. Returns updated token details with masked secret.
2796
+ * Default payment method updated.
1973
2797
  */
1974
- 200: Token;
2798
+ 204: void;
1975
2799
  };
1976
- export type UpdateTokenResponse = UpdateTokenResponses[keyof UpdateTokenResponses];
1977
- export type RegenerateTokenData = {
2800
+ export type SetDefaultPaymentMethodResponse = SetDefaultPaymentMethodResponses[keyof SetDefaultPaymentMethodResponses];
2801
+ export type DeletePaymentMethodData = {
1978
2802
  body?: never;
1979
2803
  path: {
1980
2804
  /**
1981
- * Generated unique identifier of the access token.
2805
+ * Stripe payment method identifier.
1982
2806
  */
1983
- token_id: string;
2807
+ paymentMethodId: string;
1984
2808
  };
1985
2809
  query?: never;
1986
- url: '/tokens/{token_id}/secret';
2810
+ url: '/billing/payment-methods/{paymentMethodId}';
1987
2811
  };
1988
- export type RegenerateTokenErrors = {
2812
+ export type DeletePaymentMethodErrors = {
2813
+ /**
2814
+ * The bank transfer payment method cannot be removed.
2815
+ */
2816
+ 400: unknown;
1989
2817
  /**
1990
2818
  * Not authenticated
1991
2819
  */
1992
2820
  401: unknown;
1993
- };
1994
- export type RegenerateTokenResponses = {
1995
2821
  /**
1996
- * Successfully updated. Returns updated token details with unmasked / raw secret.
2822
+ * Payment method not found.
1997
2823
  */
1998
- 200: Token;
1999
- };
2000
- export type RegenerateTokenResponse = RegenerateTokenResponses[keyof RegenerateTokenResponses];
2001
- export type ListUserOrganizationsData = {
2002
- body?: never;
2003
- path: {
2004
- /**
2005
- * User email address.
2006
- */
2007
- email: string;
2008
- };
2009
- query?: never;
2010
- url: '/users/organizations/{email}';
2824
+ 404: unknown;
2825
+ /**
2826
+ * Cannot delete the only remaining payment method.
2827
+ */
2828
+ 409: unknown;
2011
2829
  };
2012
- export type ListUserOrganizationsResponses = {
2830
+ export type DeletePaymentMethodResponses = {
2013
2831
  /**
2014
- * An array of organizations the user belongs to.
2832
+ * Payment method deleted.
2015
2833
  */
2016
- 200: Array<{
2017
- /**
2018
- * Unique identifier of the organization. UUID v4 string in canonical form
2019
- */
2020
- realm?: string;
2021
- /**
2022
- * Human-readable name of the organization
2023
- */
2024
- displayName?: string;
2025
- }>;
2834
+ 204: void;
2026
2835
  };
2027
- export type ListUserOrganizationsResponse = ListUserOrganizationsResponses[keyof ListUserOrganizationsResponses];
2028
- export type ListUsersData = {
2836
+ export type DeletePaymentMethodResponse = DeletePaymentMethodResponses[keyof DeletePaymentMethodResponses];
2837
+ export type ListInvoicesData = {
2029
2838
  body?: never;
2030
2839
  path?: never;
2031
2840
  query?: never;
2032
- url: '/users';
2841
+ url: '/billing/invoices';
2033
2842
  };
2034
- export type ListUsersErrors = {
2843
+ export type ListInvoicesErrors = {
2035
2844
  /**
2036
2845
  * Not authenticated
2037
2846
  */
2038
2847
  401: unknown;
2039
2848
  };
2040
- export type ListUsersResponses = {
2849
+ export type ListInvoicesResponses = {
2041
2850
  /**
2042
- * An array of users
2851
+ * An array of usage records.
2043
2852
  */
2044
- 200: Array<User>;
2853
+ 200: Array<Invoice>;
2045
2854
  };
2046
- export type ListUsersResponse = ListUsersResponses[keyof ListUsersResponses];
2047
- export type CreateUserData = {
2048
- body: UserCreateInput;
2855
+ export type ListInvoicesResponse = ListInvoicesResponses[keyof ListInvoicesResponses];
2856
+ export type GetContactData = {
2857
+ body?: never;
2049
2858
  path?: never;
2050
2859
  query?: never;
2051
- url: '/users';
2860
+ url: '/billing/contact';
2052
2861
  };
2053
- export type CreateUserResponses = {
2862
+ export type GetContactResponses = {
2054
2863
  /**
2055
- * Successfully created. Returns created user details.
2864
+ * Returns a single object containing organization contact and billing address details.
2056
2865
  */
2057
- 200: User;
2866
+ 200: BillingContact;
2058
2867
  };
2059
- export type CreateUserResponse = CreateUserResponses[keyof CreateUserResponses];
2060
- export type DeleteUserData = {
2061
- body?: never;
2062
- path: {
2063
- /**
2064
- * Unique user identifier. UUID v4 string in canonical form
2065
- */
2066
- user_id: string;
2067
- };
2868
+ export type GetContactResponse = GetContactResponses[keyof GetContactResponses];
2869
+ export type UpdateContactData = {
2870
+ body: BillingContact;
2871
+ path?: never;
2068
2872
  query?: never;
2069
- url: '/users/{user_id}';
2873
+ url: '/billing/contact';
2070
2874
  };
2071
- export type DeleteUserErrors = {
2875
+ export type UpdateContactResponses = {
2072
2876
  /**
2073
- * Deleting own user is not allowed. Delete your organization instead.
2877
+ * Successfully updated. Returns updated organization details.
2074
2878
  */
2075
- 400: unknown;
2879
+ 200: BillingContact;
2880
+ };
2881
+ export type UpdateContactResponse = UpdateContactResponses[keyof UpdateContactResponses];
2882
+ export type GetCreditsData = {
2883
+ body?: never;
2884
+ path?: never;
2885
+ query?: never;
2886
+ url: '/billing/credits';
2887
+ };
2888
+ export type GetCreditsErrors = {
2076
2889
  /**
2077
2890
  * Not authenticated
2078
2891
  */
2079
2892
  401: unknown;
2080
2893
  };
2081
- export type DeleteUserResponses = {
2894
+ export type GetCreditsResponses = {
2082
2895
  /**
2083
- * User profile information
2896
+ * An array of the applied promotional credits records.
2084
2897
  */
2085
- 200: User;
2898
+ 200: Array<BillingCredits>;
2086
2899
  };
2087
- export type DeleteUserResponse = DeleteUserResponses[keyof DeleteUserResponses];
2088
- export type GetUserData = {
2089
- body?: never;
2090
- path: {
2900
+ export type GetCreditsResponse = GetCreditsResponses[keyof GetCreditsResponses];
2901
+ export type RedeemCreditsData = {
2902
+ body: {
2091
2903
  /**
2092
- * Unique user identifier. UUID v4 string in canonical form
2904
+ * Promotional code to redeem
2093
2905
  */
2094
- user_id: string;
2906
+ code?: string;
2095
2907
  };
2908
+ path?: never;
2096
2909
  query?: never;
2097
- url: '/users/{user_id}';
2910
+ url: '/billing/credits';
2098
2911
  };
2099
- export type GetUserErrors = {
2912
+ export type RedeemCreditsErrors = {
2100
2913
  /**
2101
2914
  * Not authenticated
2102
2915
  */
2103
2916
  401: unknown;
2104
2917
  };
2105
- export type GetUserResponses = {
2106
- /**
2107
- * User profile information
2108
- */
2109
- 200: User;
2110
- };
2111
- export type GetUserResponse = GetUserResponses[keyof GetUserResponses];
2112
- export type UpdateUserData = {
2113
- body: UserUpdateInput;
2114
- path: {
2115
- /**
2116
- * Unique user identifier. UUID v4 string in canonical form
2117
- */
2118
- user_id: string;
2119
- };
2120
- query?: never;
2121
- url: '/users/{user_id}';
2122
- };
2123
- export type UpdateUserResponses = {
2918
+ export type RedeemCreditsResponses = {
2124
2919
  /**
2125
- * Successfully created. Returns created user details.
2920
+ * Successfully created a new organization.
2126
2921
  */
2127
- 200: User;
2922
+ 200: unknown;
2128
2923
  };
2129
- export type UpdateUserResponse = UpdateUserResponses[keyof UpdateUserResponses];
2130
2924
  //# sourceMappingURL=types.gen.d.ts.map