@cloudfleet/sdk 0.0.1-e9ffb68 → 0.0.1-eb7ee45

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