@cloudfleet/sdk 0.0.1-a104fac → 0.0.1-a3d32c9

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