@cloudfleet/sdk 0.0.1-d4c7bbc → 0.0.1-d53b3d0

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