@cloudfleet/sdk 0.0.1-d4c7bbc → 0.0.1-d5822b9

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 +1159 -0
  3. package/dist/@tanstack/react-query.gen.d.ts.map +1 -0
  4. package/dist/@tanstack/react-query.gen.js +1175 -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 +1020 -136
  22. package/dist/schemas.gen.d.ts.map +1 -1
  23. package/dist/schemas.gen.js +1937 -205
  24. package/dist/schemas.gen.js.map +1 -1
  25. package/dist/sdk.gen.d.ts +250 -190
  26. package/dist/sdk.gen.d.ts.map +1 -1
  27. package/dist/sdk.gen.js +358 -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 +1527 -766
  31. package/dist/types.gen.d.ts.map +1 -1
  32. package/dist/zod.gen.d.ts +3353 -1204
  33. package/dist/zod.gen.d.ts.map +1 -1
  34. package/dist/zod.gen.js +1255 -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' | 'enterprise';
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.
177
205
  */
178
- version_channel?: '1.x.x-cfke.x' | '1.31.x-cfke.x' | '1.32.x-cfke.x' | '1.33.x-cfke.x';
206
+ region: string;
207
+ /**
208
+ * Cluster networking configuration. Immutable after creation.
209
+ */
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.
@@ -245,20 +305,71 @@ export type Cluster = {
245
305
  /**
246
306
  * Tier of the cluster.
247
307
  */
248
- tier: 'basic' | 'pro';
308
+ tier: 'basic' | 'pro' | 'enterprise';
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.
336
+ */
337
+ region: string;
338
+ /**
339
+ * Cluster networking configuration. Immutable after creation.
251
340
  */
252
- region?: 'staging-1a' | 'northamerica-central-1' | 'europe-central-1a' | 'northamerica-central-1a';
341
+ networking: {
342
+ /**
343
+ * CIDR block for pod IPs.
344
+ */
345
+ pod_cidr: string;
346
+ /**
347
+ * CIDR block for service IPs.
348
+ */
349
+ service_cidr: string;
350
+ /**
351
+ * Enable IPv4+IPv6 dual-stack networking.
352
+ */
353
+ dual_stack: boolean;
354
+ /**
355
+ * IPv6 pod CIDR. Requires dual_stack.
356
+ */
357
+ pod_cidr_v6: string;
358
+ /**
359
+ * IPv6 service CIDR. Requires dual_stack.
360
+ */
361
+ service_cidr_v6: string;
362
+ };
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' | 'enterprise';
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). Write-only: reads return a redacted placeholder, never the token. Omit the field, or send the placeholder back unchanged, to keep the existing key. Send a new value to rotate it.
322
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'>;
474
+ /**
475
+ * Allowed values for `kubernetes.io/arch`.
476
+ */
477
+ 'kubernetes.io/arch'?: Array<'amd64' | 'arm64'>;
327
478
  /**
328
- * ControllerRoleArn is the AWS IAM role that Karpenter uses to manage resources.
479
+ * Allowed values for `cfke.io/instance-family`.
329
480
  */
330
- controllerRoleArn: string;
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). Write-only: reads return a redacted placeholder, never the token. Omit the field, or send the placeholder back unchanged, to keep the existing key. Send a new value to rotate it.
394
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
  */
@@ -597,6 +856,14 @@ export type Organization = {
597
856
  * Available number of Pro clusters that can be created.
598
857
  */
599
858
  pro_clusters_available: number;
859
+ /**
860
+ * Maximum number of Enterprise clusters that can be created.
861
+ */
862
+ enterprise_clusters_max: number;
863
+ /**
864
+ * Available number of Enterprise clusters that can be created.
865
+ */
866
+ enterprise_clusters_available: number;
600
867
  /**
601
868
  * Maximum number of fleets that can be created per cluster.
602
869
  */
@@ -622,14 +889,6 @@ export type Organization = {
622
889
  */
623
890
  label: string;
624
891
  }>;
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
892
  /**
634
893
  * Organization-level maximum CFCR storage volume in GB. -1 means no limit.
635
894
  */
@@ -639,36 +898,52 @@ export type Organization = {
639
898
  * Status of the organization. Can be `active` or `closed`, or `suspended`.
640
899
  */
641
900
  status: 'active' | 'closed' | 'suspended';
901
+ /**
902
+ * 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.
903
+ */
904
+ verification: 'none' | 'submitted' | 'verified';
642
905
  };
643
906
  export type PaymentMethod = {
644
907
  /**
645
- * Unique identifier of the organization. UUID v4 string in canonical form.
908
+ * 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
909
  */
647
910
  id: string;
648
911
  /**
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.
912
+ * Payment method type. `card`, `sepa_debit` for SEPA Direct Debit (business accounts only), or `bank_transfer` for paying invoices by bank transfer.
654
913
  */
655
- type: 'card';
914
+ type: 'card' | 'sepa_debit' | 'bank_transfer';
656
915
  /**
657
- * Last 4 digits of the payment card number.
916
+ * 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
917
  */
659
918
  last4: string;
660
919
  /**
661
- * Two-digit number representing the card's expiration month.
920
+ * Two-digit number representing the card's expiration month. Null for SEPA Direct Debit and bank transfer.
662
921
  */
663
922
  exp_month: number;
664
923
  /**
665
- * Four-digit number representing the card's expiration year.
924
+ * 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
925
  */
667
926
  exp_year: number;
668
927
  /**
669
- * Payment card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `mastercard`, `unionpay`, `visa`, or `unknown`.
928
+ * Payment card brand as reported by Stripe, e.g. `visa`, `mastercard`, `amex`, `cartes_bancaires`, or `unknown`. Null for SEPA Direct Debit and bank transfer.
929
+ */
930
+ brand: string;
931
+ /**
932
+ * 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.
933
+ */
934
+ iban: string;
935
+ /**
936
+ * BIC/SWIFT of the destination bank for bank transfers. Set only for `bank_transfer`; null otherwise.
937
+ */
938
+ bic: string;
939
+ /**
940
+ * Account holder name of the destination bank account for bank transfers. Set only for `bank_transfer`; null otherwise.
941
+ */
942
+ account_holder_name: string;
943
+ /**
944
+ * 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
945
  */
671
- brand: 'amex' | 'diners' | 'discover' | 'eftpos_au' | 'jcb' | 'mastercard' | 'unionpay' | 'visa' | 'unknown';
946
+ is_default: boolean;
672
947
  };
673
948
  export type PlatformQuota = {
674
949
  /**
@@ -687,6 +962,14 @@ export type PlatformQuota = {
687
962
  * Available number of Pro clusters that can be created.
688
963
  */
689
964
  pro_clusters_available: number;
965
+ /**
966
+ * Maximum number of Enterprise clusters that can be created.
967
+ */
968
+ enterprise_clusters_max: number;
969
+ /**
970
+ * Available number of Enterprise clusters that can be created.
971
+ */
972
+ enterprise_clusters_available: number;
690
973
  /**
691
974
  * Maximum number of fleets that can be created per cluster.
692
975
  */
@@ -712,14 +995,6 @@ export type PlatformQuota = {
712
995
  */
713
996
  label: string;
714
997
  }>;
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
998
  /**
724
999
  * Organization-level maximum CFCR storage volume in GB. -1 means no limit.
725
1000
  */
@@ -873,117 +1148,369 @@ export type RegistryTag = {
873
1148
  */
874
1149
  uri: string;
875
1150
  };
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;
1151
+ export type TicketAttachment = {
891
1152
  /**
892
- * Role assumed by the token.
1153
+ * Unique identifier of the attachment (Mongo ObjectId).
893
1154
  */
894
- role: 'Administrator' | 'User';
1155
+ id: string;
895
1156
  /**
896
- * Generated unique identifier of the access token.
1157
+ * Original filename as uploaded.
897
1158
  */
898
- id?: string;
1159
+ filename: string;
899
1160
  /**
900
- * Access token secret. Unmasked only during creation.
1161
+ * MIME content type of the attachment.
901
1162
  */
902
- secret?: string;
1163
+ content_type: string;
903
1164
  /**
904
- * Creation date of the access token. ISO 8601 date string in UTC timezone
1165
+ * Size of the attachment in bytes.
905
1166
  */
906
- date_created: string;
1167
+ size: number;
907
1168
  };
908
- export type TokenUpdateInput = {
909
- /**
910
- * Human readable access token name.
911
- */
912
- name?: string;
1169
+ export type TicketCreateInput = {
913
1170
  /**
914
- * Role assumed by the token.
1171
+ * Ticket category. Drives auto-assignment and may carry a subcategory in `properties`.
915
1172
  */
916
- role?: 'Administrator' | 'User';
917
- };
918
- export type UsageFacets = {
1173
+ category: 'billing' | 'technical' | 'general';
919
1174
  /**
920
- * List of unique cluster IDs
1175
+ * Initial message body in markdown. There is no separate subject — the first message body is the description.
921
1176
  */
922
- cluster_id?: Array<string>;
1177
+ body: string;
923
1178
  /**
924
- * List of unique products
1179
+ * Free-form key/value bag set by the UI (e.g. `subcategory`, `cluster_id`, `cluster_name`, `region`).
925
1180
  */
926
- product?: Array<string>;
1181
+ properties?: {
1182
+ [key: string]: unknown;
1183
+ };
927
1184
  };
928
- export type UsageResponse = {
1185
+ export type TicketListResponse = {
929
1186
  /**
930
- * Usage data
1187
+ * Tickets for the organization, ordered newest first. Messages are omitted from list responses.
931
1188
  */
932
- data: Array<{
1189
+ items: Array<{
933
1190
  /**
934
- * Hour of the usage
1191
+ * Unique identifier of the ticket (Mongo ObjectId).
935
1192
  */
936
- hour: string;
1193
+ id: string;
937
1194
  /**
938
- * Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
1195
+ * Current state of the ticket.
939
1196
  */
940
- cluster_id: string;
1197
+ status: 'waiting_on_us' | 'waiting_on_user' | 'closed';
941
1198
  /**
942
- * The product the usage is associated with
1199
+ * Ticket category.
943
1200
  */
944
- product: string;
1201
+ category: 'billing' | 'technical' | 'general';
945
1202
  /**
946
- * Consumption
1203
+ * First 128 characters of the initial message body, with markdown formatting and newlines stripped. Used for ticket list previews.
947
1204
  */
948
- value: number;
1205
+ summary: string;
949
1206
  /**
950
- * Price per unit
1207
+ * Closure timestamp. Null while the ticket is open.
951
1208
  */
952
- price: number;
1209
+ closed_at?: string;
953
1210
  /**
954
- * Total cost
1211
+ * Creation date of the ticket. ISO 8601 UTC.
955
1212
  */
956
- total: number;
957
- }>;
958
- /**
959
- * Facets for filtering
960
- */
961
- facets: {
1213
+ date_created: string;
962
1214
  /**
963
- * List of unique cluster IDs
1215
+ * Last update date of the ticket. ISO 8601 UTC.
964
1216
  */
965
- cluster_id?: Array<string>;
1217
+ date_updated: string;
966
1218
  /**
967
- * List of unique products
1219
+ * Messages on the ticket in chronological order. Internal notes are excluded. Returned by the detail endpoint only.
968
1220
  */
969
- product?: Array<string>;
970
- };
971
- };
972
- export type Usage = {
973
- /**
974
- * Hour of the usage
975
- */
976
- hour: string;
977
- /**
978
- * Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
979
- */
980
- cluster_id: string;
981
- /**
982
- * The product the usage is associated with
983
- */
984
- product: string;
985
- /**
986
- * Consumption
1221
+ messages?: Array<{
1222
+ /**
1223
+ * Unique identifier of the message (Mongo ObjectId).
1224
+ */
1225
+ id: string;
1226
+ /**
1227
+ * Message type. Internal notes are filtered out of customer-facing responses.
1228
+ */
1229
+ type: 'customer_reply' | 'agent_reply';
1230
+ /**
1231
+ * Message body in markdown.
1232
+ */
1233
+ body: string;
1234
+ /**
1235
+ * First name of the author. Null when not provided.
1236
+ */
1237
+ author_first_name?: string;
1238
+ /**
1239
+ * Last name of the author. Null when not provided.
1240
+ */
1241
+ author_last_name?: string;
1242
+ /**
1243
+ * Attachments associated with this message.
1244
+ */
1245
+ attachments?: Array<{
1246
+ /**
1247
+ * Unique identifier of the attachment (Mongo ObjectId).
1248
+ */
1249
+ id: string;
1250
+ /**
1251
+ * Original filename as uploaded.
1252
+ */
1253
+ filename: string;
1254
+ /**
1255
+ * MIME content type of the attachment.
1256
+ */
1257
+ content_type: string;
1258
+ /**
1259
+ * Size of the attachment in bytes.
1260
+ */
1261
+ size: number;
1262
+ }>;
1263
+ /**
1264
+ * Creation date of the message. ISO 8601 UTC.
1265
+ */
1266
+ date_created: string;
1267
+ }>;
1268
+ }>;
1269
+ };
1270
+ export type TicketMessageInput = {
1271
+ /**
1272
+ * Reply body in markdown.
1273
+ */
1274
+ body: string;
1275
+ };
1276
+ export type TicketMessage = {
1277
+ /**
1278
+ * Unique identifier of the message (Mongo ObjectId).
1279
+ */
1280
+ id: string;
1281
+ /**
1282
+ * Message type. Internal notes are filtered out of customer-facing responses.
1283
+ */
1284
+ type: 'customer_reply' | 'agent_reply';
1285
+ /**
1286
+ * Message body in markdown.
1287
+ */
1288
+ body: string;
1289
+ /**
1290
+ * First name of the author. Null when not provided.
1291
+ */
1292
+ author_first_name?: string;
1293
+ /**
1294
+ * Last name of the author. Null when not provided.
1295
+ */
1296
+ author_last_name?: string;
1297
+ /**
1298
+ * Attachments associated with this message.
1299
+ */
1300
+ attachments?: Array<{
1301
+ /**
1302
+ * Unique identifier of the attachment (Mongo ObjectId).
1303
+ */
1304
+ id: string;
1305
+ /**
1306
+ * Original filename as uploaded.
1307
+ */
1308
+ filename: string;
1309
+ /**
1310
+ * MIME content type of the attachment.
1311
+ */
1312
+ content_type: string;
1313
+ /**
1314
+ * Size of the attachment in bytes.
1315
+ */
1316
+ size: number;
1317
+ }>;
1318
+ /**
1319
+ * Creation date of the message. ISO 8601 UTC.
1320
+ */
1321
+ date_created: string;
1322
+ };
1323
+ export type Ticket = {
1324
+ /**
1325
+ * Unique identifier of the ticket (Mongo ObjectId).
1326
+ */
1327
+ id: string;
1328
+ /**
1329
+ * Current state of the ticket.
1330
+ */
1331
+ status: 'waiting_on_us' | 'waiting_on_user' | 'closed';
1332
+ /**
1333
+ * Ticket category.
1334
+ */
1335
+ category: 'billing' | 'technical' | 'general';
1336
+ /**
1337
+ * First 128 characters of the initial message body, with markdown formatting and newlines stripped. Used for ticket list previews.
1338
+ */
1339
+ summary: string;
1340
+ /**
1341
+ * Closure timestamp. Null while the ticket is open.
1342
+ */
1343
+ closed_at?: string;
1344
+ /**
1345
+ * Creation date of the ticket. ISO 8601 UTC.
1346
+ */
1347
+ date_created: string;
1348
+ /**
1349
+ * Last update date of the ticket. ISO 8601 UTC.
1350
+ */
1351
+ date_updated: string;
1352
+ /**
1353
+ * Messages on the ticket in chronological order. Internal notes are excluded. Returned by the detail endpoint only.
1354
+ */
1355
+ messages?: Array<{
1356
+ /**
1357
+ * Unique identifier of the message (Mongo ObjectId).
1358
+ */
1359
+ id: string;
1360
+ /**
1361
+ * Message type. Internal notes are filtered out of customer-facing responses.
1362
+ */
1363
+ type: 'customer_reply' | 'agent_reply';
1364
+ /**
1365
+ * Message body in markdown.
1366
+ */
1367
+ body: string;
1368
+ /**
1369
+ * First name of the author. Null when not provided.
1370
+ */
1371
+ author_first_name?: string;
1372
+ /**
1373
+ * Last name of the author. Null when not provided.
1374
+ */
1375
+ author_last_name?: string;
1376
+ /**
1377
+ * Attachments associated with this message.
1378
+ */
1379
+ attachments?: Array<{
1380
+ /**
1381
+ * Unique identifier of the attachment (Mongo ObjectId).
1382
+ */
1383
+ id: string;
1384
+ /**
1385
+ * Original filename as uploaded.
1386
+ */
1387
+ filename: string;
1388
+ /**
1389
+ * MIME content type of the attachment.
1390
+ */
1391
+ content_type: string;
1392
+ /**
1393
+ * Size of the attachment in bytes.
1394
+ */
1395
+ size: number;
1396
+ }>;
1397
+ /**
1398
+ * Creation date of the message. ISO 8601 UTC.
1399
+ */
1400
+ date_created: string;
1401
+ }>;
1402
+ };
1403
+ export type TokenCreateInput = {
1404
+ /**
1405
+ * Human readable access token name.
1406
+ */
1407
+ name: string;
1408
+ /**
1409
+ * Role assumed by the token.
1410
+ */
1411
+ role: 'Administrator' | 'User';
1412
+ };
1413
+ export type Token = {
1414
+ /**
1415
+ * Human readable access token name.
1416
+ */
1417
+ name: string;
1418
+ /**
1419
+ * Role assumed by the token.
1420
+ */
1421
+ role: 'Administrator' | 'User';
1422
+ /**
1423
+ * Generated unique identifier of the access token.
1424
+ */
1425
+ id?: string;
1426
+ /**
1427
+ * Access token secret. Unmasked only during creation.
1428
+ */
1429
+ secret?: string;
1430
+ /**
1431
+ * Creation date of the access token. ISO 8601 date string in UTC timezone
1432
+ */
1433
+ date_created: string;
1434
+ };
1435
+ export type TokenUpdateInput = {
1436
+ /**
1437
+ * Human readable access token name.
1438
+ */
1439
+ name?: string;
1440
+ /**
1441
+ * Role assumed by the token.
1442
+ */
1443
+ role?: 'Administrator' | 'User';
1444
+ };
1445
+ export type UsageFacets = {
1446
+ /**
1447
+ * List of unique cluster IDs
1448
+ */
1449
+ cluster_id?: Array<string>;
1450
+ /**
1451
+ * List of unique products
1452
+ */
1453
+ product?: Array<string>;
1454
+ };
1455
+ export type UsageResponse = {
1456
+ /**
1457
+ * Usage data
1458
+ */
1459
+ data: Array<{
1460
+ /**
1461
+ * Hour of the usage
1462
+ */
1463
+ hour: string;
1464
+ /**
1465
+ * Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
1466
+ */
1467
+ cluster_id: string;
1468
+ /**
1469
+ * The product the usage is associated with
1470
+ */
1471
+ product: string;
1472
+ /**
1473
+ * Consumption
1474
+ */
1475
+ value: number;
1476
+ /**
1477
+ * Price per unit
1478
+ */
1479
+ price: number;
1480
+ /**
1481
+ * Total cost
1482
+ */
1483
+ total: number;
1484
+ }>;
1485
+ /**
1486
+ * Facets for filtering
1487
+ */
1488
+ facets: {
1489
+ /**
1490
+ * List of unique cluster IDs
1491
+ */
1492
+ cluster_id?: Array<string>;
1493
+ /**
1494
+ * List of unique products
1495
+ */
1496
+ product?: Array<string>;
1497
+ };
1498
+ };
1499
+ export type Usage = {
1500
+ /**
1501
+ * Hour of the usage
1502
+ */
1503
+ hour: string;
1504
+ /**
1505
+ * Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
1506
+ */
1507
+ cluster_id: string;
1508
+ /**
1509
+ * The product the usage is associated with
1510
+ */
1511
+ product: string;
1512
+ /**
1513
+ * Consumption
987
1514
  */
988
1515
  value: number;
989
1516
  /**
@@ -1016,14 +1543,6 @@ export type UserCreateInput = {
1016
1543
  * User password. Must be at least 8 characters long.
1017
1544
  */
1018
1545
  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
1546
  };
1028
1547
  export type User = {
1029
1548
  /**
@@ -1077,448 +1596,698 @@ export type UserUpdateInput = {
1077
1596
  */
1078
1597
  status?: 'active' | 'inactive';
1079
1598
  };
1080
- export type GetUsageData = {
1599
+ export type ListUserOrganizationsData = {
1081
1600
  body?: never;
1082
- path?: never;
1083
- query?: {
1601
+ path: {
1084
1602
  /**
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)
1603
+ * User email address.
1086
1604
  */
1087
- granularity?: 'hourly' | 'daily' | 'monthly';
1605
+ email: string;
1088
1606
  };
1089
- url: '/billing/usage';
1090
- };
1091
- export type GetUsageErrors = {
1092
- /**
1093
- * Not authenticated
1094
- */
1095
- 401: unknown;
1607
+ query?: never;
1608
+ url: '/users/organizations/{email}';
1096
1609
  };
1097
- export type GetUsageResponses = {
1610
+ export type ListUserOrganizationsResponses = {
1098
1611
  /**
1099
- * Usage data with facets for filtering
1612
+ * An array of organizations the user belongs to.
1100
1613
  */
1101
- 200: UsageResponse;
1614
+ 200: Array<{
1615
+ /**
1616
+ * Unique identifier of the organization. UUID v4 string in canonical form
1617
+ */
1618
+ realm?: string;
1619
+ /**
1620
+ * Human-readable name of the organization
1621
+ */
1622
+ displayName?: string;
1623
+ }>;
1102
1624
  };
1103
- export type GetUsageResponse = GetUsageResponses[keyof GetUsageResponses];
1104
- export type GetPaymentMethodData = {
1625
+ export type ListUserOrganizationsResponse = ListUserOrganizationsResponses[keyof ListUserOrganizationsResponses];
1626
+ export type ListUsersData = {
1105
1627
  body?: never;
1106
1628
  path?: never;
1107
1629
  query?: never;
1108
- url: '/billing/payment-method';
1630
+ url: '/users';
1109
1631
  };
1110
- export type GetPaymentMethodErrors = {
1632
+ export type ListUsersErrors = {
1111
1633
  /**
1112
- * Returns 404 Not Found if the organization does not have a payment method set up.
1634
+ * Not authenticated
1113
1635
  */
1114
- 404: unknown;
1636
+ 401: unknown;
1115
1637
  };
1116
- export type GetPaymentMethodResponses = {
1638
+ export type ListUsersResponses = {
1117
1639
  /**
1118
- * Redacted payment card information.
1640
+ * An array of users
1119
1641
  */
1120
- 200: PaymentMethod;
1642
+ 200: Array<User>;
1121
1643
  };
1122
- export type GetPaymentMethodResponse = GetPaymentMethodResponses[keyof GetPaymentMethodResponses];
1123
- export type GetPaymentMethodSecretData = {
1124
- body?: never;
1644
+ export type ListUsersResponse = ListUsersResponses[keyof ListUsersResponses];
1645
+ export type CreateUserData = {
1646
+ body: UserCreateInput;
1125
1647
  path?: never;
1126
1648
  query?: never;
1127
- url: '/billing/payment-method';
1649
+ url: '/users';
1128
1650
  };
1129
- export type GetPaymentMethodSecretResponses = {
1651
+ export type CreateUserResponses = {
1130
1652
  /**
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
- *
1653
+ * Successfully created. Returns created user details.
1133
1654
  */
1134
- 200: {
1655
+ 200: User;
1656
+ };
1657
+ export type CreateUserResponse = CreateUserResponses[keyof CreateUserResponses];
1658
+ export type DeleteUserData = {
1659
+ body?: never;
1660
+ path: {
1135
1661
  /**
1136
- * The client secret.
1662
+ * Unique user identifier. UUID v4 string in canonical form
1137
1663
  */
1138
- id?: string;
1664
+ user_id: string;
1139
1665
  };
1140
- };
1141
- export type GetPaymentMethodSecretResponse = GetPaymentMethodSecretResponses[keyof GetPaymentMethodSecretResponses];
1142
- export type ListInvoicesData = {
1143
- body?: never;
1144
- path?: never;
1145
1666
  query?: never;
1146
- url: '/billing/invoices';
1667
+ url: '/users/{user_id}';
1147
1668
  };
1148
- export type ListInvoicesErrors = {
1669
+ export type DeleteUserErrors = {
1670
+ /**
1671
+ * Deleting own user is not allowed. Delete your organization instead.
1672
+ */
1673
+ 400: unknown;
1149
1674
  /**
1150
1675
  * Not authenticated
1151
1676
  */
1152
1677
  401: unknown;
1153
1678
  };
1154
- export type ListInvoicesResponses = {
1679
+ export type DeleteUserResponses = {
1155
1680
  /**
1156
- * An array of usage records.
1681
+ * User profile information
1157
1682
  */
1158
- 200: Array<Invoice>;
1683
+ 200: User;
1159
1684
  };
1160
- export type ListInvoicesResponse = ListInvoicesResponses[keyof ListInvoicesResponses];
1161
- export type GetContactData = {
1685
+ export type DeleteUserResponse = DeleteUserResponses[keyof DeleteUserResponses];
1686
+ export type GetUserData = {
1162
1687
  body?: never;
1163
- path?: never;
1688
+ path: {
1689
+ /**
1690
+ * Unique user identifier. UUID v4 string in canonical form
1691
+ */
1692
+ user_id: string;
1693
+ };
1164
1694
  query?: never;
1165
- url: '/billing/contact';
1695
+ url: '/users/{user_id}';
1166
1696
  };
1167
- export type GetContactResponses = {
1697
+ export type GetUserErrors = {
1168
1698
  /**
1169
- * Returns a single object containing organization contact and billing address details.
1699
+ * Not authenticated
1170
1700
  */
1171
- 200: BillingContact;
1701
+ 401: unknown;
1172
1702
  };
1173
- export type GetContactResponse = GetContactResponses[keyof GetContactResponses];
1174
- export type UpdateContactData = {
1175
- body: BillingContact;
1176
- path?: never;
1703
+ export type GetUserResponses = {
1704
+ /**
1705
+ * User profile information
1706
+ */
1707
+ 200: User;
1708
+ };
1709
+ export type GetUserResponse = GetUserResponses[keyof GetUserResponses];
1710
+ export type UpdateUserData = {
1711
+ body: UserUpdateInput;
1712
+ path: {
1713
+ /**
1714
+ * Unique user identifier. UUID v4 string in canonical form
1715
+ */
1716
+ user_id: string;
1717
+ };
1177
1718
  query?: never;
1178
- url: '/billing/contact';
1719
+ url: '/users/{user_id}';
1179
1720
  };
1180
- export type UpdateContactResponses = {
1721
+ export type UpdateUserResponses = {
1181
1722
  /**
1182
- * Successfully updated. Returns updated organization details.
1723
+ * Successfully created. Returns created user details.
1183
1724
  */
1184
- 200: BillingContact;
1725
+ 200: User;
1185
1726
  };
1186
- export type UpdateContactResponse = UpdateContactResponses[keyof UpdateContactResponses];
1187
- export type GetCreditsData = {
1727
+ export type UpdateUserResponse = UpdateUserResponses[keyof UpdateUserResponses];
1728
+ export type ListTokensData = {
1188
1729
  body?: never;
1189
1730
  path?: never;
1190
1731
  query?: never;
1191
- url: '/billing/credits';
1732
+ url: '/tokens';
1192
1733
  };
1193
- export type GetCreditsErrors = {
1734
+ export type ListTokensErrors = {
1194
1735
  /**
1195
1736
  * Not authenticated
1196
1737
  */
1197
1738
  401: unknown;
1198
1739
  };
1199
- export type GetCreditsResponses = {
1740
+ export type ListTokensResponses = {
1200
1741
  /**
1201
- * An array of the applied promotional credits records.
1742
+ * Returns a list of access token details with masked secrets.
1202
1743
  */
1203
- 200: Array<BillingCredits>;
1744
+ 200: Array<Token>;
1204
1745
  };
1205
- export type GetCreditsResponse = GetCreditsResponses[keyof GetCreditsResponses];
1206
- export type RedeemCreditsData = {
1207
- body: {
1208
- /**
1209
- * Promotional code to redeem
1210
- */
1211
- code?: string;
1212
- };
1746
+ export type ListTokensResponse = ListTokensResponses[keyof ListTokensResponses];
1747
+ export type CreateTokenData = {
1748
+ body: TokenCreateInput;
1213
1749
  path?: never;
1214
1750
  query?: never;
1215
- url: '/billing/credits';
1751
+ url: '/tokens';
1216
1752
  };
1217
- export type RedeemCreditsErrors = {
1753
+ export type CreateTokenErrors = {
1218
1754
  /**
1219
1755
  * Not authenticated
1220
1756
  */
1221
1757
  401: unknown;
1222
1758
  };
1223
- export type RedeemCreditsResponses = {
1759
+ export type CreateTokenResponses = {
1224
1760
  /**
1225
- * Successfully created a new organization.
1761
+ * Successfully created. Returns created token details with unmasked/raw secret.
1762
+ */
1763
+ 200: Token;
1764
+ };
1765
+ export type CreateTokenResponse = CreateTokenResponses[keyof CreateTokenResponses];
1766
+ export type DeleteTokenData = {
1767
+ body?: never;
1768
+ path: {
1769
+ /**
1770
+ * Generated unique identifier of the access token.
1771
+ */
1772
+ token_id: string;
1773
+ };
1774
+ query?: never;
1775
+ url: '/tokens/{token_id}';
1776
+ };
1777
+ export type DeleteTokenResponses = {
1778
+ /**
1779
+ * Successfully deleted.
1226
1780
  */
1227
1781
  200: unknown;
1228
1782
  };
1229
- export type ListChartsData = {
1783
+ export type GetTokenData = {
1230
1784
  body?: never;
1231
1785
  path: {
1232
1786
  /**
1233
- * Unique identifier of the cluster. UUID v4 string in canonical form
1787
+ * Generated unique identifier of the access token.
1234
1788
  */
1235
- cluster_id: string;
1789
+ token_id: string;
1236
1790
  };
1237
1791
  query?: never;
1238
- url: '/clusters/{cluster_id}/charts';
1792
+ url: '/tokens/{token_id}';
1239
1793
  };
1240
- export type ListChartsErrors = {
1794
+ export type GetTokenErrors = {
1241
1795
  /**
1242
1796
  * Not authenticated
1243
1797
  */
1244
1798
  401: unknown;
1245
1799
  };
1246
- export type ListChartsResponses = {
1800
+ export type GetTokenResponses = {
1247
1801
  /**
1248
- * An array of charts
1802
+ * Returns access token details with masked secret.
1249
1803
  */
1250
- 200: Array<Chart>;
1804
+ 200: Token;
1251
1805
  };
1252
- export type ListChartsResponse = ListChartsResponses[keyof ListChartsResponses];
1253
- export type CreateChartData = {
1254
- body: ChartCreateInput;
1806
+ export type GetTokenResponse = GetTokenResponses[keyof GetTokenResponses];
1807
+ export type UpdateTokenData = {
1808
+ body: TokenUpdateInput;
1255
1809
  path: {
1256
1810
  /**
1257
- * Unique identifier of the cluster. UUID v4 string in canonical form
1811
+ * Generated unique identifier of the access token.
1258
1812
  */
1259
- cluster_id: string;
1813
+ token_id: string;
1260
1814
  };
1261
1815
  query?: never;
1262
- url: '/clusters/{cluster_id}/charts';
1816
+ url: '/tokens/{token_id}';
1263
1817
  };
1264
- export type CreateChartResponses = {
1818
+ export type UpdateTokenErrors = {
1265
1819
  /**
1266
- * Successfully created. Returns created Chart ID.
1820
+ * Not authenticated
1267
1821
  */
1268
- 200: string;
1822
+ 401: unknown;
1269
1823
  };
1270
- export type CreateChartResponse = CreateChartResponses[keyof CreateChartResponses];
1271
- export type DeleteChartData = {
1824
+ export type UpdateTokenResponses = {
1825
+ /**
1826
+ * Successfully updated. Returns updated token details with masked secret.
1827
+ */
1828
+ 200: Token;
1829
+ };
1830
+ export type UpdateTokenResponse = UpdateTokenResponses[keyof UpdateTokenResponses];
1831
+ export type RegenerateTokenData = {
1272
1832
  body?: never;
1273
1833
  path: {
1274
1834
  /**
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.
1835
+ * Generated unique identifier of the access token.
1280
1836
  */
1281
- chart_name: string;
1837
+ token_id: string;
1282
1838
  };
1283
1839
  query?: never;
1284
- url: '/clusters/{cluster_id}/charts/{chart_name}';
1840
+ url: '/tokens/{token_id}/secret';
1285
1841
  };
1286
- export type DeleteChartResponses = {
1842
+ export type RegenerateTokenErrors = {
1287
1843
  /**
1288
- * Successfully deleted.
1844
+ * Not authenticated
1289
1845
  */
1290
- 200: string;
1846
+ 401: unknown;
1291
1847
  };
1292
- export type DeleteChartResponse = DeleteChartResponses[keyof DeleteChartResponses];
1293
- export type GetChartData = {
1848
+ export type RegenerateTokenResponses = {
1849
+ /**
1850
+ * Successfully updated. Returns updated token details with unmasked / raw secret.
1851
+ */
1852
+ 200: Token;
1853
+ };
1854
+ export type RegenerateTokenResponse = RegenerateTokenResponses[keyof RegenerateTokenResponses];
1855
+ export type ListTicketsData = {
1294
1856
  body?: never;
1295
- path: {
1296
- /**
1297
- * Unique identifier of the cluster. UUID v4 string in canonical form
1298
- */
1299
- cluster_id: string;
1857
+ path?: never;
1858
+ query?: never;
1859
+ url: '/tickets';
1860
+ };
1861
+ export type ListTicketsResponses = {
1862
+ /**
1863
+ * Tickets for the organization.
1864
+ */
1865
+ 200: TicketListResponse;
1866
+ };
1867
+ export type ListTicketsResponse = ListTicketsResponses[keyof ListTicketsResponses];
1868
+ export type CreateTicketData = {
1869
+ body: {
1300
1870
  /**
1301
- * Chart deployment name as the unique identifier of the chart.
1871
+ * JSON-encoded TicketCreateInput.
1302
1872
  */
1303
- chart_name: string;
1873
+ payload?: string;
1874
+ attachments?: Array<Blob | File>;
1304
1875
  };
1876
+ path?: never;
1305
1877
  query?: never;
1306
- url: '/clusters/{cluster_id}/charts/{chart_name}';
1878
+ url: '/tickets';
1307
1879
  };
1308
- export type GetChartResponses = {
1880
+ export type CreateTicketResponses = {
1309
1881
  /**
1310
- * Returns a single object containing chart details.
1882
+ * Ticket created.
1311
1883
  */
1312
- 200: Chart;
1884
+ 200: Ticket;
1313
1885
  };
1314
- export type GetChartResponse = GetChartResponses[keyof GetChartResponses];
1315
- export type UpdateChartData = {
1316
- body: ChartUpdateInput;
1886
+ export type CreateTicketResponse = CreateTicketResponses[keyof CreateTicketResponses];
1887
+ export type CloseTicketData = {
1888
+ body?: never;
1317
1889
  path: {
1318
- /**
1319
- * Unique identifier of the cluster. UUID v4 string in canonical form
1320
- */
1321
- cluster_id: string;
1322
- /**
1323
- * Chart deployment name as the unique identifier of the chart.
1324
- */
1325
- chart_name: string;
1890
+ ticket_id: string;
1326
1891
  };
1327
1892
  query?: never;
1328
- url: '/clusters/{cluster_id}/charts/{chart_name}';
1893
+ url: '/tickets/{ticket_id}';
1329
1894
  };
1330
- export type UpdateChartResponses = {
1895
+ export type CloseTicketResponses = {
1331
1896
  /**
1332
- * Successfully updated.
1897
+ * Ticket closed.
1333
1898
  */
1334
- 200: string;
1899
+ 200: Ticket;
1335
1900
  };
1336
- export type UpdateChartResponse = UpdateChartResponses[keyof UpdateChartResponses];
1337
- export type ListFleetsData = {
1901
+ export type CloseTicketResponse = CloseTicketResponses[keyof CloseTicketResponses];
1902
+ export type GetTicketData = {
1338
1903
  body?: never;
1339
1904
  path: {
1340
- /**
1341
- * Unique identifier of the cluster. UUID v4 string in canonical form
1342
- */
1343
- cluster_id: string;
1905
+ ticket_id: string;
1344
1906
  };
1345
1907
  query?: never;
1346
- url: '/clusters/{cluster_id}/fleets';
1908
+ url: '/tickets/{ticket_id}';
1347
1909
  };
1348
- export type ListFleetsErrors = {
1910
+ export type GetTicketResponses = {
1349
1911
  /**
1350
- * Not authenticated
1912
+ * Ticket with messages (internal notes excluded).
1351
1913
  */
1352
- 401: unknown;
1914
+ 200: Ticket;
1353
1915
  };
1354
- export type ListFleetsResponses = {
1916
+ export type GetTicketResponse = GetTicketResponses[keyof GetTicketResponses];
1917
+ export type ReplyTicketData = {
1918
+ body: {
1919
+ /**
1920
+ * JSON-encoded TicketMessageInput.
1921
+ */
1922
+ payload?: string;
1923
+ attachments?: Array<Blob | File>;
1924
+ };
1925
+ path: {
1926
+ ticket_id: string;
1927
+ };
1928
+ query?: never;
1929
+ url: '/tickets/{ticket_id}/messages';
1930
+ };
1931
+ export type ReplyTicketErrors = {
1355
1932
  /**
1356
- * An array of fleets
1933
+ * Ticket is closed. Open a new ticket instead.
1357
1934
  */
1358
- 200: Array<Fleet>;
1935
+ 409: unknown;
1359
1936
  };
1360
- export type ListFleetsResponse = ListFleetsResponses[keyof ListFleetsResponses];
1361
- export type CreateFleetData = {
1362
- body: FleetCreateInput;
1937
+ export type ReplyTicketResponses = {
1938
+ /**
1939
+ * Reply appended.
1940
+ */
1941
+ 200: TicketMessage;
1942
+ };
1943
+ export type ReplyTicketResponse = ReplyTicketResponses[keyof ReplyTicketResponses];
1944
+ export type GetTicketAttachmentData = {
1945
+ body?: never;
1363
1946
  path: {
1364
- /**
1365
- * Unique identifier of the cluster. UUID v4 string in canonical form
1366
- */
1367
- cluster_id: string;
1947
+ ticket_id: string;
1948
+ attachment_id: string;
1368
1949
  };
1369
1950
  query?: never;
1370
- url: '/clusters/{cluster_id}/fleets';
1951
+ url: '/tickets/{ticket_id}/attachments/{attachment_id}';
1371
1952
  };
1372
- export type CreateFleetErrors = {
1953
+ export type GetTicketAttachmentResponses = {
1373
1954
  /**
1374
- * Cluster quota exceeded. Maximum number of fleets per cluster allowed in this organization is reached.
1955
+ * Attachment binary stream.
1375
1956
  */
1376
- 402: string;
1957
+ 200: Blob | File;
1377
1958
  };
1378
- export type CreateFleetError = CreateFleetErrors[keyof CreateFleetErrors];
1379
- export type CreateFleetResponses = {
1959
+ export type GetTicketAttachmentResponse = GetTicketAttachmentResponses[keyof GetTicketAttachmentResponses];
1960
+ export type ListRepositoriesData = {
1961
+ body?: never;
1962
+ path?: never;
1963
+ query?: never;
1964
+ url: '/registry';
1965
+ };
1966
+ export type ListRepositoriesErrors = {
1380
1967
  /**
1381
- * Successfully created. Returns created Fleet ID.
1968
+ * Not authenticated
1382
1969
  */
1383
- 200: string;
1970
+ 401: unknown;
1971
+ /**
1972
+ * Internal server error
1973
+ */
1974
+ 500: unknown;
1384
1975
  };
1385
- export type CreateFleetResponse = CreateFleetResponses[keyof CreateFleetResponses];
1386
- export type DeleteFleetData = {
1976
+ export type ListRepositoriesResponses = {
1977
+ /**
1978
+ * List of repositories
1979
+ */
1980
+ 200: Array<RegistryRepository>;
1981
+ };
1982
+ export type ListRepositoriesResponse = ListRepositoriesResponses[keyof ListRepositoriesResponses];
1983
+ export type ListTagsData = {
1387
1984
  body?: never;
1388
1985
  path: {
1389
1986
  /**
1390
- * Unique identifier of the cluster. UUID v4 string in canonical form
1987
+ * Region where the repository is located
1391
1988
  */
1392
- cluster_id: string;
1989
+ region: string;
1393
1990
  /**
1394
- * Unique identifier of the fleet. UUID v4 string in canonical form
1991
+ * Name of the repository
1395
1992
  */
1396
- fleet_name: string;
1993
+ repository: string;
1397
1994
  };
1398
1995
  query?: never;
1399
- url: '/clusters/{cluster_id}/fleets/{fleet_name}';
1996
+ url: '/registry/{region}/{repository}';
1400
1997
  };
1401
- export type DeleteFleetResponses = {
1998
+ export type ListTagsErrors = {
1402
1999
  /**
1403
- * Successfully deleted.
2000
+ * Not authenticated
1404
2001
  */
1405
- 200: string;
2002
+ 401: unknown;
2003
+ /**
2004
+ * Repository not found
2005
+ */
2006
+ 404: unknown;
2007
+ /**
2008
+ * Internal server error
2009
+ */
2010
+ 500: unknown;
1406
2011
  };
1407
- export type DeleteFleetResponse = DeleteFleetResponses[keyof DeleteFleetResponses];
1408
- export type GetFleetData = {
2012
+ export type ListTagsResponses = {
2013
+ /**
2014
+ * Repository with tags
2015
+ */
2016
+ 200: RegistryRepositoryWithTags;
2017
+ };
2018
+ export type ListTagsResponse = ListTagsResponses[keyof ListTagsResponses];
2019
+ export type DeleteTagData = {
1409
2020
  body?: never;
1410
2021
  path: {
1411
2022
  /**
1412
- * Unique identifier of the cluster. UUID v4 string in canonical form
2023
+ * Region where the repository is located
1413
2024
  */
1414
- cluster_id: string;
2025
+ region: string;
1415
2026
  /**
1416
- * Unique identifier of the fleet. UUID v4 string in canonical form
2027
+ * Name of the repository
1417
2028
  */
1418
- fleet_name: string;
2029
+ repository: string;
2030
+ /**
2031
+ * Name of the tag
2032
+ */
2033
+ tag: string;
1419
2034
  };
1420
2035
  query?: never;
1421
- url: '/clusters/{cluster_id}/fleets/{fleet_name}';
2036
+ url: '/registry/{region}/{repository}/{tag}';
1422
2037
  };
1423
- export type GetFleetResponses = {
2038
+ export type DeleteTagErrors = {
1424
2039
  /**
1425
- * Returns a single object containing fleet details.
2040
+ * Not authenticated
1426
2041
  */
1427
- 200: Fleet;
2042
+ 401: unknown;
2043
+ /**
2044
+ * Tag not found
2045
+ */
2046
+ 404: unknown;
2047
+ /**
2048
+ * Internal server error
2049
+ */
2050
+ 500: unknown;
1428
2051
  };
1429
- export type GetFleetResponse = GetFleetResponses[keyof GetFleetResponses];
1430
- export type UpdateFleetData = {
1431
- body: FleetUpdateInput;
2052
+ export type DeleteTagResponses = {
2053
+ /**
2054
+ * Tag successfully deleted
2055
+ */
2056
+ 200: unknown;
2057
+ };
2058
+ export type GetTagData = {
2059
+ body?: never;
1432
2060
  path: {
1433
2061
  /**
1434
- * Unique identifier of the cluster. UUID v4 string in canonical form
2062
+ * Region where the repository is located
1435
2063
  */
1436
- cluster_id: string;
2064
+ region: string;
1437
2065
  /**
1438
- * Unique identifier of the fleet. UUID v4 string in canonical form
2066
+ * Name of the repository
1439
2067
  */
1440
- fleet_name: string;
2068
+ repository: string;
2069
+ /**
2070
+ * Name of the tag
2071
+ */
2072
+ tag: string;
1441
2073
  };
1442
2074
  query?: never;
1443
- url: '/clusters/{cluster_id}/fleets/{fleet_name}';
2075
+ url: '/registry/{region}/{repository}/{tag}';
1444
2076
  };
1445
- export type UpdateFleetErrors = {
2077
+ export type GetTagErrors = {
1446
2078
  /**
1447
- * Organization must have a valid payment method configured to access this endpoint.
2079
+ * Not authenticated
1448
2080
  */
1449
- 402: string;
2081
+ 401: unknown;
2082
+ /**
2083
+ * Tag not found
2084
+ */
2085
+ 404: unknown;
2086
+ /**
2087
+ * Internal server error
2088
+ */
2089
+ 500: unknown;
1450
2090
  };
1451
- export type UpdateFleetError = UpdateFleetErrors[keyof UpdateFleetErrors];
1452
- export type UpdateFleetResponses = {
2091
+ export type GetTagResponses = {
1453
2092
  /**
1454
- * Successfully updated.
2093
+ * Tag details
1455
2094
  */
1456
- 200: string;
2095
+ 200: RegistryTag;
1457
2096
  };
1458
- export type UpdateFleetResponse = UpdateFleetResponses[keyof UpdateFleetResponses];
1459
- export type QueryClusterData = {
2097
+ export type GetTagResponse = GetTagResponses[keyof GetTagResponses];
2098
+ export type GetOrganizationData = {
1460
2099
  body?: never;
1461
- path: {
2100
+ path?: never;
2101
+ query?: never;
2102
+ url: '/organization';
2103
+ };
2104
+ export type GetOrganizationResponses = {
2105
+ /**
2106
+ * Returns a single object containing organization details.
2107
+ */
2108
+ 200: Organization;
2109
+ };
2110
+ export type GetOrganizationResponse = GetOrganizationResponses[keyof GetOrganizationResponses];
2111
+ export type CreateOrganizationData = {
2112
+ body: OrganizationCreateInput;
2113
+ path?: never;
2114
+ query?: never;
2115
+ url: '/organization';
2116
+ };
2117
+ export type CreateOrganizationResponses = {
2118
+ /**
2119
+ * Organization signup accepted. Returns the generated organization id immediately; provisioning (billing, Keycloak realm, user) continues asynchronously in the background.
2120
+ *
2121
+ */
2122
+ 200: OrganizationCreateOutput;
2123
+ };
2124
+ export type CreateOrganizationResponse = CreateOrganizationResponses[keyof CreateOrganizationResponses];
2125
+ export type PostMcpData = {
2126
+ /**
2127
+ * JSON-RPC 2.0 request payload
2128
+ */
2129
+ body: {
2130
+ jsonrpc?: string;
2131
+ method?: string;
2132
+ id?: string | number;
1462
2133
  /**
1463
- * Unique identifier of the cluster. UUID v4 string in canonical form
2134
+ * Method-specific parameters
1464
2135
  */
1465
- cluster_id: string;
2136
+ params?: {
2137
+ [key: string]: unknown;
2138
+ };
1466
2139
  };
2140
+ path?: never;
1467
2141
  query?: never;
1468
- url: '/clusters/{cluster_id}/query';
2142
+ url: '/mcp';
1469
2143
  };
1470
- export type QueryClusterErrors = {
2144
+ export type PostMcpErrors = {
1471
2145
  /**
1472
2146
  * Not authenticated
1473
2147
  */
1474
2148
  401: unknown;
1475
2149
  };
1476
- export type QueryClusterResponses = {
2150
+ export type PostMcpResponses = {
1477
2151
  /**
1478
- * Kubernetes API response
2152
+ * JSON-RPC 2.0 success or error response
1479
2153
  */
1480
- 200: unknown;
2154
+ 200: {
2155
+ jsonrpc?: string;
2156
+ id?: string | number;
2157
+ result?: {
2158
+ [key: string]: unknown;
2159
+ };
2160
+ error?: {
2161
+ code?: number;
2162
+ message?: string;
2163
+ };
2164
+ };
1481
2165
  };
1482
- export type ListClustersData = {
2166
+ export type PostMcpResponse = PostMcpResponses[keyof PostMcpResponses];
2167
+ export type ListMarketplaceChartsData = {
1483
2168
  body?: never;
1484
2169
  path?: never;
1485
2170
  query?: never;
1486
- url: '/clusters';
2171
+ url: '/marketplace';
1487
2172
  };
1488
- export type ListClustersErrors = {
2173
+ export type ListMarketplaceChartsErrors = {
1489
2174
  /**
1490
2175
  * Not authenticated
1491
2176
  */
1492
2177
  401: unknown;
1493
2178
  };
1494
- export type ListClustersResponses = {
2179
+ export type ListMarketplaceChartsResponses = {
1495
2180
  /**
1496
- * An array of clusters
2181
+ * An array of chart listings in the marketplace.
1497
2182
  */
1498
- 200: Array<Cluster>;
2183
+ 200: Array<MarketplaceListing>;
1499
2184
  };
1500
- export type ListClustersResponse = ListClustersResponses[keyof ListClustersResponses];
1501
- export type CreateClusterData = {
1502
- body: ClusterCreateInput;
2185
+ export type ListMarketplaceChartsResponse = ListMarketplaceChartsResponses[keyof ListMarketplaceChartsResponses];
2186
+ export type GetMarketplaceChartFilesData = {
2187
+ body?: never;
2188
+ path: {
2189
+ /**
2190
+ * Name of the chart in the marketplace.
2191
+ */
2192
+ chart_name: string;
2193
+ /**
2194
+ * 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).
2195
+ */
2196
+ version_channel: string;
2197
+ };
2198
+ query?: never;
2199
+ url: '/marketplace/{chart_name}/files/{version_channel}';
2200
+ };
2201
+ export type GetMarketplaceChartFilesErrors = {
2202
+ /**
2203
+ * Chart not found or no version matches the channel
2204
+ */
2205
+ 404: unknown;
2206
+ };
2207
+ export type GetMarketplaceChartFilesResponses = {
2208
+ /**
2209
+ * Returns an object containing the chart files for the latest matching version.
2210
+ */
2211
+ 200: MarketplaceListingFiles;
2212
+ };
2213
+ export type GetMarketplaceChartFilesResponse = GetMarketplaceChartFilesResponses[keyof GetMarketplaceChartFilesResponses];
2214
+ export type ListInvitesData = {
2215
+ body?: never;
1503
2216
  path?: never;
1504
2217
  query?: never;
1505
- url: '/clusters';
2218
+ url: '/invites';
1506
2219
  };
1507
- export type CreateClusterErrors = {
2220
+ export type ListInvitesErrors = {
1508
2221
  /**
1509
- * Cluster quota exceeded. Maximum number of clusters allowed in this organization is reached.
2222
+ * Not authenticated
1510
2223
  */
1511
- 402: string;
2224
+ 401: unknown;
1512
2225
  };
1513
- export type CreateClusterError = CreateClusterErrors[keyof CreateClusterErrors];
1514
- export type CreateClusterResponses = {
2226
+ export type ListInvitesResponses = {
1515
2227
  /**
1516
- * Successfully created. Returns created Cluster ID.
2228
+ * An array of invites
1517
2229
  */
1518
- 200: string;
2230
+ 200: Array<Invite>;
1519
2231
  };
1520
- export type CreateClusterResponse = CreateClusterResponses[keyof CreateClusterResponses];
1521
- export type DeleteClusterData = {
2232
+ export type ListInvitesResponse = ListInvitesResponses[keyof ListInvitesResponses];
2233
+ export type CreateInviteData = {
2234
+ body: InviteCreateInput;
2235
+ path?: never;
2236
+ query?: never;
2237
+ url: '/invites';
2238
+ };
2239
+ export type CreateInviteResponses = {
2240
+ /**
2241
+ * Successfully created. Returns created invite details.
2242
+ */
2243
+ 200: Invite;
2244
+ };
2245
+ export type CreateInviteResponse = CreateInviteResponses[keyof CreateInviteResponses];
2246
+ export type GetInviteData = {
2247
+ body?: never;
2248
+ path: {
2249
+ /**
2250
+ * Invitation code
2251
+ */
2252
+ code: string;
2253
+ };
2254
+ query?: never;
2255
+ url: '/invites/{code}';
2256
+ };
2257
+ export type GetInviteResponses = {
2258
+ /**
2259
+ * The invitation code is valid. Returns the invited email and organization.
2260
+ */
2261
+ 200: {
2262
+ /**
2263
+ * Email address the invite was issued to.
2264
+ */
2265
+ email?: string;
2266
+ /**
2267
+ * Identifier of the organization the invite grants access to.
2268
+ */
2269
+ organization_id?: string;
2270
+ };
2271
+ };
2272
+ export type GetInviteResponse = GetInviteResponses[keyof GetInviteResponses];
2273
+ export type DeleteInviteData = {
2274
+ body?: never;
2275
+ path: {
2276
+ /**
2277
+ * User email address
2278
+ */
2279
+ email: string;
2280
+ };
2281
+ query?: never;
2282
+ url: '/invites/{email}';
2283
+ };
2284
+ export type DeleteInviteResponses = {
2285
+ /**
2286
+ * Successfully deleted.
2287
+ */
2288
+ 200: unknown;
2289
+ };
2290
+ export type QueryClusterData = {
1522
2291
  body?: never;
1523
2292
  path: {
1524
2293
  /**
@@ -1527,16 +2296,21 @@ export type DeleteClusterData = {
1527
2296
  cluster_id: string;
1528
2297
  };
1529
2298
  query?: never;
1530
- url: '/clusters/{cluster_id}';
2299
+ url: '/clusters/{cluster_id}/query';
1531
2300
  };
1532
- export type DeleteClusterResponses = {
2301
+ export type QueryClusterErrors = {
1533
2302
  /**
1534
- * Successfully deleted.
2303
+ * Not authenticated
1535
2304
  */
1536
- 200: string;
2305
+ 401: unknown;
1537
2306
  };
1538
- export type DeleteClusterResponse = DeleteClusterResponses[keyof DeleteClusterResponses];
1539
- export type GetClusterData = {
2307
+ export type QueryClusterResponses = {
2308
+ /**
2309
+ * Kubernetes API response
2310
+ */
2311
+ 200: unknown;
2312
+ };
2313
+ export type ListFleetsData = {
1540
2314
  body?: never;
1541
2315
  path: {
1542
2316
  /**
@@ -1545,17 +2319,23 @@ export type GetClusterData = {
1545
2319
  cluster_id: string;
1546
2320
  };
1547
2321
  query?: never;
1548
- url: '/clusters/{cluster_id}';
2322
+ url: '/clusters/{cluster_id}/fleets';
1549
2323
  };
1550
- export type GetClusterResponses = {
2324
+ export type ListFleetsErrors = {
1551
2325
  /**
1552
- * Returns a single object containing cluster details.
2326
+ * Not authenticated
1553
2327
  */
1554
- 200: Cluster;
2328
+ 401: unknown;
1555
2329
  };
1556
- export type GetClusterResponse = GetClusterResponses[keyof GetClusterResponses];
1557
- export type UpdateClusterData = {
1558
- body: ClusterUpdateInput;
2330
+ export type ListFleetsResponses = {
2331
+ /**
2332
+ * An array of fleets
2333
+ */
2334
+ 200: Array<Fleet>;
2335
+ };
2336
+ export type ListFleetsResponse = ListFleetsResponses[keyof ListFleetsResponses];
2337
+ export type CreateFleetData = {
2338
+ body: FleetCreateInput;
1559
2339
  path: {
1560
2340
  /**
1561
2341
  * Unique identifier of the cluster. UUID v4 string in canonical form
@@ -1563,617 +2343,598 @@ export type UpdateClusterData = {
1563
2343
  cluster_id: string;
1564
2344
  };
1565
2345
  query?: never;
1566
- url: '/clusters/{cluster_id}';
2346
+ url: '/clusters/{cluster_id}/fleets';
1567
2347
  };
1568
- export type UpdateClusterResponses = {
2348
+ export type CreateFleetErrors = {
1569
2349
  /**
1570
- * Successfully updated. Returns updated cluster details.
2350
+ * Cluster quota exceeded. Maximum number of fleets per cluster allowed in this organization is reached.
1571
2351
  */
1572
- 200: Cluster;
2352
+ 402: string;
2353
+ /**
2354
+ * 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.
2355
+ */
2356
+ 409: string;
1573
2357
  };
1574
- export type UpdateClusterResponse = UpdateClusterResponses[keyof UpdateClusterResponses];
1575
- export type GetJoinInformationData = {
2358
+ export type CreateFleetError = CreateFleetErrors[keyof CreateFleetErrors];
2359
+ export type CreateFleetResponses = {
2360
+ /**
2361
+ * Successfully created. Returns created Fleet ID.
2362
+ */
2363
+ 200: string;
2364
+ };
2365
+ export type CreateFleetResponse = CreateFleetResponses[keyof CreateFleetResponses];
2366
+ export type DeleteFleetData = {
1576
2367
  body?: never;
1577
2368
  path: {
1578
2369
  /**
1579
2370
  * Unique identifier of the cluster. UUID v4 string in canonical form
1580
2371
  */
1581
2372
  cluster_id: string;
2373
+ /**
2374
+ * Unique identifier of the fleet. UUID v4 string in canonical form
2375
+ */
2376
+ fleet_name: string;
1582
2377
  };
1583
2378
  query?: never;
1584
- url: '/clusters/{cluster_id}/join_information';
2379
+ url: '/clusters/{cluster_id}/fleets/{fleet_name}';
1585
2380
  };
1586
- export type GetJoinInformationErrors = {
2381
+ export type DeleteFleetErrors = {
1587
2382
  /**
1588
- * Not authenticated
2383
+ * 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
2384
  */
1590
- 401: unknown;
2385
+ 409: string;
1591
2386
  };
1592
- export type GetJoinInformationResponses = {
2387
+ export type DeleteFleetError = DeleteFleetErrors[keyof DeleteFleetErrors];
2388
+ export type DeleteFleetResponses = {
1593
2389
  /**
1594
- * An object of cluster join information
2390
+ * Successfully deleted.
1595
2391
  */
1596
- 200: ClusterJoinInformation;
2392
+ 200: string;
1597
2393
  };
1598
- export type GetJoinInformationResponse = GetJoinInformationResponses[keyof GetJoinInformationResponses];
1599
- export type ListInvitesData = {
2394
+ export type DeleteFleetResponse = DeleteFleetResponses[keyof DeleteFleetResponses];
2395
+ export type GetFleetData = {
1600
2396
  body?: never;
1601
- path?: never;
2397
+ path: {
2398
+ /**
2399
+ * Unique identifier of the cluster. UUID v4 string in canonical form
2400
+ */
2401
+ cluster_id: string;
2402
+ /**
2403
+ * Unique identifier of the fleet. UUID v4 string in canonical form
2404
+ */
2405
+ fleet_name: string;
2406
+ };
1602
2407
  query?: never;
1603
- url: '/invites';
2408
+ url: '/clusters/{cluster_id}/fleets/{fleet_name}';
1604
2409
  };
1605
- export type ListInvitesErrors = {
2410
+ export type GetFleetResponses = {
1606
2411
  /**
1607
- * Not authenticated
2412
+ * Returns a single object containing fleet details.
1608
2413
  */
1609
- 401: unknown;
2414
+ 200: Fleet;
1610
2415
  };
1611
- export type ListInvitesResponses = {
2416
+ export type GetFleetResponse = GetFleetResponses[keyof GetFleetResponses];
2417
+ export type UpdateFleetData = {
2418
+ body: FleetUpdateInput;
2419
+ path: {
2420
+ /**
2421
+ * Unique identifier of the cluster. UUID v4 string in canonical form
2422
+ */
2423
+ cluster_id: string;
2424
+ /**
2425
+ * Unique identifier of the fleet. UUID v4 string in canonical form
2426
+ */
2427
+ fleet_name: string;
2428
+ };
2429
+ query?: never;
2430
+ url: '/clusters/{cluster_id}/fleets/{fleet_name}';
2431
+ };
2432
+ export type UpdateFleetErrors = {
1612
2433
  /**
1613
- * An array of invites
2434
+ * Organization must have a valid payment method configured to access this endpoint.
1614
2435
  */
1615
- 200: Array<Invite>;
2436
+ 402: string;
2437
+ /**
2438
+ * 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.
2439
+ */
2440
+ 409: string;
1616
2441
  };
1617
- export type ListInvitesResponse = ListInvitesResponses[keyof ListInvitesResponses];
1618
- export type CreateInviteData = {
1619
- body: {
2442
+ export type UpdateFleetError = UpdateFleetErrors[keyof UpdateFleetErrors];
2443
+ export type UpdateFleetResponses = {
2444
+ /**
2445
+ * Successfully updated.
2446
+ */
2447
+ 200: string;
2448
+ };
2449
+ export type UpdateFleetResponse = UpdateFleetResponses[keyof UpdateFleetResponses];
2450
+ export type ListChartsData = {
2451
+ body?: never;
2452
+ path: {
1620
2453
  /**
1621
- * User email address
2454
+ * Unique identifier of the cluster. UUID v4 string in canonical form
1622
2455
  */
1623
- email?: string;
2456
+ cluster_id: string;
1624
2457
  };
1625
- path?: never;
1626
2458
  query?: never;
1627
- url: '/invites';
2459
+ url: '/clusters/{cluster_id}/charts';
1628
2460
  };
1629
- export type CreateInviteResponses = {
2461
+ export type ListChartsErrors = {
1630
2462
  /**
1631
- * Successfully created. Returns created invite details.
2463
+ * Not authenticated
1632
2464
  */
1633
- 200: Invite;
2465
+ 401: unknown;
1634
2466
  };
1635
- export type CreateInviteResponse = CreateInviteResponses[keyof CreateInviteResponses];
1636
- export type GetInviteData = {
1637
- body?: never;
2467
+ export type ListChartsResponses = {
2468
+ /**
2469
+ * An array of charts
2470
+ */
2471
+ 200: Array<Chart>;
2472
+ };
2473
+ export type ListChartsResponse = ListChartsResponses[keyof ListChartsResponses];
2474
+ export type CreateChartData = {
2475
+ body: ChartCreateInput;
1638
2476
  path: {
1639
2477
  /**
1640
- * Invitation code
2478
+ * Unique identifier of the cluster. UUID v4 string in canonical form
1641
2479
  */
1642
- code: string;
2480
+ cluster_id: string;
1643
2481
  };
1644
2482
  query?: never;
1645
- url: '/invites/{code}';
2483
+ url: '/clusters/{cluster_id}/charts';
1646
2484
  };
1647
- export type GetInviteResponses = {
2485
+ export type CreateChartErrors = {
1648
2486
  /**
1649
- * Returns a single object containing invite details.
2487
+ * 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
2488
  */
1651
- 200: Invite;
2489
+ 409: string;
1652
2490
  };
1653
- export type GetInviteResponse = GetInviteResponses[keyof GetInviteResponses];
1654
- export type DeleteInviteData = {
2491
+ export type CreateChartError = CreateChartErrors[keyof CreateChartErrors];
2492
+ export type CreateChartResponses = {
2493
+ /**
2494
+ * Successfully created. Returns created Chart ID.
2495
+ */
2496
+ 200: string;
2497
+ };
2498
+ export type CreateChartResponse = CreateChartResponses[keyof CreateChartResponses];
2499
+ export type DeleteChartData = {
1655
2500
  body?: never;
1656
2501
  path: {
1657
2502
  /**
1658
- * User email address
2503
+ * Unique identifier of the cluster. UUID v4 string in canonical form
1659
2504
  */
1660
- email: string;
2505
+ cluster_id: string;
2506
+ /**
2507
+ * Chart deployment name as the unique identifier of the chart.
2508
+ */
2509
+ chart_name: string;
1661
2510
  };
1662
2511
  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';
2512
+ url: '/clusters/{cluster_id}/charts/{chart_name}';
1676
2513
  };
1677
- export type ListMarketplaceChartsErrors = {
2514
+ export type DeleteChartErrors = {
1678
2515
  /**
1679
- * Not authenticated
2516
+ * 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
2517
  */
1681
- 401: unknown;
2518
+ 409: string;
1682
2519
  };
1683
- export type ListMarketplaceChartsResponses = {
2520
+ export type DeleteChartError = DeleteChartErrors[keyof DeleteChartErrors];
2521
+ export type DeleteChartResponses = {
1684
2522
  /**
1685
- * An array of chart listings in the marketplace.
2523
+ * Successfully deleted.
1686
2524
  */
1687
- 200: Array<MarketplaceListing>;
2525
+ 200: string;
1688
2526
  };
1689
- export type ListMarketplaceChartsResponse = ListMarketplaceChartsResponses[keyof ListMarketplaceChartsResponses];
1690
- export type GetMarketplaceChartFilesData = {
2527
+ export type DeleteChartResponse = DeleteChartResponses[keyof DeleteChartResponses];
2528
+ export type GetChartData = {
1691
2529
  body?: never;
1692
2530
  path: {
1693
2531
  /**
1694
- * Name of the chart in the marketplace.
2532
+ * Unique identifier of the cluster. UUID v4 string in canonical form
1695
2533
  */
1696
- chart_name: string;
2534
+ cluster_id: string;
1697
2535
  /**
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).
2536
+ * Chart deployment name as the unique identifier of the chart.
1699
2537
  */
1700
- version_channel: string;
2538
+ chart_name: string;
1701
2539
  };
1702
2540
  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;
2541
+ url: '/clusters/{cluster_id}/charts/{chart_name}';
1710
2542
  };
1711
- export type GetMarketplaceChartFilesResponses = {
2543
+ export type GetChartResponses = {
1712
2544
  /**
1713
- * Returns an object containing the chart files for the latest matching version.
2545
+ * Returns a single object containing chart details.
1714
2546
  */
1715
- 200: MarketplaceListingFiles;
2547
+ 200: Chart;
1716
2548
  };
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;
2549
+ export type GetChartResponse = GetChartResponses[keyof GetChartResponses];
2550
+ export type UpdateChartData = {
2551
+ body: ChartUpdateInput;
2552
+ path: {
1726
2553
  /**
1727
- * Method-specific parameters
2554
+ * Unique identifier of the cluster. UUID v4 string in canonical form
1728
2555
  */
1729
- params?: {
1730
- [key: string]: unknown;
1731
- };
2556
+ cluster_id: string;
2557
+ /**
2558
+ * Chart deployment name as the unique identifier of the chart.
2559
+ */
2560
+ chart_name: string;
1732
2561
  };
1733
- path?: never;
1734
2562
  query?: never;
1735
- url: '/mcp';
2563
+ url: '/clusters/{cluster_id}/charts/{chart_name}';
1736
2564
  };
1737
- export type PostMcpErrors = {
2565
+ export type UpdateChartErrors = {
1738
2566
  /**
1739
- * Not authenticated
2567
+ * 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
2568
  */
1741
- 401: unknown;
2569
+ 409: string;
1742
2570
  };
1743
- export type PostMcpResponses = {
2571
+ export type UpdateChartError = UpdateChartErrors[keyof UpdateChartErrors];
2572
+ export type UpdateChartResponses = {
1744
2573
  /**
1745
- * JSON-RPC 2.0 success or error response
2574
+ * Successfully updated.
1746
2575
  */
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
- };
2576
+ 200: string;
1758
2577
  };
1759
- export type PostMcpResponse = PostMcpResponses[keyof PostMcpResponses];
1760
- export type GetOrganizationData = {
2578
+ export type UpdateChartResponse = UpdateChartResponses[keyof UpdateChartResponses];
2579
+ export type ListClustersData = {
1761
2580
  body?: never;
1762
2581
  path?: never;
1763
2582
  query?: never;
1764
- url: '/organization';
2583
+ url: '/clusters';
1765
2584
  };
1766
- export type GetOrganizationResponses = {
2585
+ export type ListClustersErrors = {
1767
2586
  /**
1768
- * Returns a single object containing organization details.
2587
+ * Not authenticated
1769
2588
  */
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';
2589
+ 401: unknown;
1778
2590
  };
1779
- export type CreateOrganizationResponses = {
2591
+ export type ListClustersResponses = {
1780
2592
  /**
1781
- * Successfully created a new organization.
2593
+ * An array of clusters
1782
2594
  */
1783
- 200: unknown;
2595
+ 200: Array<Cluster>;
1784
2596
  };
1785
- export type ListRepositoriesData = {
1786
- body?: never;
2597
+ export type ListClustersResponse = ListClustersResponses[keyof ListClustersResponses];
2598
+ export type CreateClusterData = {
2599
+ body: ClusterCreateInput;
1787
2600
  path?: never;
1788
2601
  query?: never;
1789
- url: '/registry';
2602
+ url: '/clusters';
1790
2603
  };
1791
- export type ListRepositoriesErrors = {
1792
- /**
1793
- * Not authenticated
1794
- */
1795
- 401: unknown;
2604
+ export type CreateClusterErrors = {
1796
2605
  /**
1797
- * Internal server error
2606
+ * Cluster quota exceeded. Maximum number of clusters allowed in this organization is reached.
1798
2607
  */
1799
- 500: unknown;
2608
+ 402: string;
1800
2609
  };
1801
- export type ListRepositoriesResponses = {
2610
+ export type CreateClusterError = CreateClusterErrors[keyof CreateClusterErrors];
2611
+ export type CreateClusterResponses = {
1802
2612
  /**
1803
- * List of repositories
2613
+ * Successfully created. Returns created Cluster ID.
1804
2614
  */
1805
- 200: Array<RegistryRepository>;
2615
+ 200: string;
1806
2616
  };
1807
- export type ListRepositoriesResponse = ListRepositoriesResponses[keyof ListRepositoriesResponses];
1808
- export type ListTagsData = {
2617
+ export type CreateClusterResponse = CreateClusterResponses[keyof CreateClusterResponses];
2618
+ export type DeleteClusterData = {
1809
2619
  body?: never;
1810
2620
  path: {
1811
2621
  /**
1812
- * Region where the repository is located
1813
- */
1814
- region: string;
1815
- /**
1816
- * Name of the repository
2622
+ * Unique identifier of the cluster. UUID v4 string in canonical form
1817
2623
  */
1818
- repository: string;
2624
+ cluster_id: string;
1819
2625
  };
1820
2626
  query?: never;
1821
- url: '/registry/{region}/{repository}';
2627
+ url: '/clusters/{cluster_id}';
1822
2628
  };
1823
- export type ListTagsErrors = {
2629
+ export type DeleteClusterErrors = {
1824
2630
  /**
1825
- * Not authenticated
2631
+ * Cluster not found; it does not exist or has already been deleted.
1826
2632
  */
1827
- 401: unknown;
2633
+ 404: unknown;
1828
2634
  /**
1829
- * Repository not found
2635
+ * 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
2636
  */
1831
- 404: unknown;
2637
+ 409: string;
1832
2638
  /**
1833
- * Internal server error
2639
+ * Transient failure tearing down the cluster; retry the request.
1834
2640
  */
1835
- 500: unknown;
2641
+ 503: unknown;
1836
2642
  };
1837
- export type ListTagsResponses = {
2643
+ export type DeleteClusterError = DeleteClusterErrors[keyof DeleteClusterErrors];
2644
+ export type DeleteClusterResponses = {
1838
2645
  /**
1839
- * Repository with tags
2646
+ * Successfully deleted. The cluster has been torn down.
1840
2647
  */
1841
- 200: RegistryRepositoryWithTags;
2648
+ 200: string;
1842
2649
  };
1843
- export type ListTagsResponse = ListTagsResponses[keyof ListTagsResponses];
1844
- export type DeleteTagData = {
2650
+ export type DeleteClusterResponse = DeleteClusterResponses[keyof DeleteClusterResponses];
2651
+ export type GetClusterData = {
1845
2652
  body?: never;
1846
2653
  path: {
1847
2654
  /**
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
2655
+ * Unique identifier of the cluster. UUID v4 string in canonical form
1857
2656
  */
1858
- tag: string;
2657
+ cluster_id: string;
1859
2658
  };
1860
2659
  query?: never;
1861
- url: '/registry/{region}/{repository}/{tag}';
2660
+ url: '/clusters/{cluster_id}';
1862
2661
  };
1863
- export type DeleteTagErrors = {
1864
- /**
1865
- * Not authenticated
1866
- */
1867
- 401: unknown;
2662
+ export type GetClusterResponses = {
1868
2663
  /**
1869
- * Tag not found
2664
+ * Returns a single object containing cluster details.
1870
2665
  */
1871
- 404: unknown;
2666
+ 200: Cluster;
2667
+ };
2668
+ export type GetClusterResponse = GetClusterResponses[keyof GetClusterResponses];
2669
+ export type UpdateClusterData = {
2670
+ body: ClusterUpdateInput;
2671
+ path: {
2672
+ /**
2673
+ * Unique identifier of the cluster. UUID v4 string in canonical form
2674
+ */
2675
+ cluster_id: string;
2676
+ };
2677
+ query?: never;
2678
+ url: '/clusters/{cluster_id}';
2679
+ };
2680
+ export type UpdateClusterErrors = {
1872
2681
  /**
1873
- * Internal server error
2682
+ * 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
2683
  */
1875
- 500: unknown;
2684
+ 409: string;
1876
2685
  };
1877
- export type DeleteTagResponses = {
2686
+ export type UpdateClusterError = UpdateClusterErrors[keyof UpdateClusterErrors];
2687
+ export type UpdateClusterResponses = {
1878
2688
  /**
1879
- * Tag successfully deleted
2689
+ * Successfully updated. Returns updated cluster details.
1880
2690
  */
1881
- 200: unknown;
2691
+ 200: Cluster;
1882
2692
  };
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;
2693
+ export type UpdateClusterResponse = UpdateClusterResponses[keyof UpdateClusterResponses];
2694
+ export type GetJoinInformationData = {
2695
+ body?: never;
2696
+ path: {
1894
2697
  /**
1895
- * Name of the tag
2698
+ * Unique identifier of the cluster. UUID v4 string in canonical form
1896
2699
  */
1897
- tag: string;
2700
+ cluster_id: string;
1898
2701
  };
1899
2702
  query?: never;
1900
- url: '/registry/{region}/{repository}/{tag}';
2703
+ url: '/clusters/{cluster_id}/join_information';
1901
2704
  };
1902
- export type GetTagErrors = {
2705
+ export type GetJoinInformationErrors = {
1903
2706
  /**
1904
2707
  * Not authenticated
1905
2708
  */
1906
2709
  401: unknown;
1907
2710
  /**
1908
- * Tag not found
1909
- */
1910
- 404: unknown;
1911
- /**
1912
- * Internal server error
2711
+ * 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
2712
  */
1914
- 500: unknown;
2713
+ 409: string;
1915
2714
  };
1916
- export type GetTagResponses = {
2715
+ export type GetJoinInformationError = GetJoinInformationErrors[keyof GetJoinInformationErrors];
2716
+ export type GetJoinInformationResponses = {
1917
2717
  /**
1918
- * Tag details
2718
+ * An object of cluster join information
1919
2719
  */
1920
- 200: RegistryTag;
2720
+ 200: ClusterJoinInformation;
1921
2721
  };
1922
- export type GetTagResponse = GetTagResponses[keyof GetTagResponses];
1923
- export type ListTokensData = {
2722
+ export type GetJoinInformationResponse = GetJoinInformationResponses[keyof GetJoinInformationResponses];
2723
+ export type GetUsageData = {
1924
2724
  body?: never;
1925
2725
  path?: never;
1926
- query?: never;
1927
- url: '/tokens';
2726
+ query?: {
2727
+ /**
2728
+ * 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)
2729
+ */
2730
+ granularity?: 'hourly' | 'daily' | 'monthly';
2731
+ };
2732
+ url: '/billing/usage';
1928
2733
  };
1929
- export type ListTokensErrors = {
2734
+ export type GetUsageErrors = {
1930
2735
  /**
1931
2736
  * Not authenticated
1932
2737
  */
1933
2738
  401: unknown;
1934
2739
  };
1935
- export type ListTokensResponses = {
2740
+ export type GetUsageResponses = {
1936
2741
  /**
1937
- * Returns a list of access token details with masked secrets.
2742
+ * Usage data with facets for filtering
1938
2743
  */
1939
- 200: Array<Token>;
2744
+ 200: UsageResponse;
1940
2745
  };
1941
- export type ListTokensResponse = ListTokensResponses[keyof ListTokensResponses];
1942
- export type CreateTokenData = {
1943
- body: TokenCreateInput;
2746
+ export type GetUsageResponse = GetUsageResponses[keyof GetUsageResponses];
2747
+ export type GetPaymentMethodSecretData = {
2748
+ body?: never;
1944
2749
  path?: never;
1945
2750
  query?: never;
1946
- url: '/tokens';
1947
- };
1948
- export type CreateTokenErrors = {
1949
- /**
1950
- * Not authenticated
1951
- */
1952
- 401: unknown;
2751
+ url: '/billing/payment-method';
1953
2752
  };
1954
- export type CreateTokenResponses = {
2753
+ export type GetPaymentMethodSecretResponses = {
1955
2754
  /**
1956
- * Successfully created. Returns created token details with unmasked/raw secret.
2755
+ * 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.
2756
+ *
1957
2757
  */
1958
- 200: Token;
1959
- };
1960
- export type CreateTokenResponse = CreateTokenResponses[keyof CreateTokenResponses];
1961
- export type DeleteTokenData = {
1962
- body?: never;
1963
- path: {
2758
+ 200: {
1964
2759
  /**
1965
- * Generated unique identifier of the access token.
2760
+ * The client secret.
1966
2761
  */
1967
- token_id: string;
2762
+ id?: string;
1968
2763
  };
1969
- query?: never;
1970
- url: '/tokens/{token_id}';
1971
- };
1972
- export type DeleteTokenResponses = {
1973
- /**
1974
- * Successfully deleted.
1975
- */
1976
- 200: unknown;
1977
2764
  };
1978
- export type GetTokenData = {
2765
+ export type GetPaymentMethodSecretResponse = GetPaymentMethodSecretResponses[keyof GetPaymentMethodSecretResponses];
2766
+ export type ListPaymentMethodsData = {
1979
2767
  body?: never;
1980
- path: {
1981
- /**
1982
- * Generated unique identifier of the access token.
1983
- */
1984
- token_id: string;
1985
- };
2768
+ path?: never;
1986
2769
  query?: never;
1987
- url: '/tokens/{token_id}';
2770
+ url: '/billing/payment-methods';
1988
2771
  };
1989
- export type GetTokenErrors = {
2772
+ export type ListPaymentMethodsErrors = {
1990
2773
  /**
1991
2774
  * Not authenticated
1992
2775
  */
1993
2776
  401: unknown;
1994
2777
  };
1995
- export type GetTokenResponses = {
2778
+ export type ListPaymentMethodsResponses = {
1996
2779
  /**
1997
- * Returns access token details with masked secret.
2780
+ * An array of payment methods.
1998
2781
  */
1999
- 200: Token;
2782
+ 200: Array<PaymentMethod>;
2000
2783
  };
2001
- export type GetTokenResponse = GetTokenResponses[keyof GetTokenResponses];
2002
- export type UpdateTokenData = {
2003
- body: TokenUpdateInput;
2784
+ export type ListPaymentMethodsResponse = ListPaymentMethodsResponses[keyof ListPaymentMethodsResponses];
2785
+ export type SetDefaultPaymentMethodData = {
2786
+ body?: never;
2004
2787
  path: {
2005
2788
  /**
2006
- * Generated unique identifier of the access token.
2789
+ * Stripe payment method identifier.
2007
2790
  */
2008
- token_id: string;
2791
+ paymentMethodId: string;
2009
2792
  };
2010
2793
  query?: never;
2011
- url: '/tokens/{token_id}';
2794
+ url: '/billing/payment-methods/{paymentMethodId}/default';
2012
2795
  };
2013
- export type UpdateTokenErrors = {
2796
+ export type SetDefaultPaymentMethodErrors = {
2797
+ /**
2798
+ * The bank transfer payment method cannot be set as the default.
2799
+ */
2800
+ 400: unknown;
2014
2801
  /**
2015
2802
  * Not authenticated
2016
2803
  */
2017
2804
  401: unknown;
2805
+ /**
2806
+ * Payment method not found.
2807
+ */
2808
+ 404: unknown;
2018
2809
  };
2019
- export type UpdateTokenResponses = {
2810
+ export type SetDefaultPaymentMethodResponses = {
2020
2811
  /**
2021
- * Successfully updated. Returns updated token details with masked secret.
2812
+ * Default payment method updated.
2022
2813
  */
2023
- 200: Token;
2814
+ 204: void;
2024
2815
  };
2025
- export type UpdateTokenResponse = UpdateTokenResponses[keyof UpdateTokenResponses];
2026
- export type RegenerateTokenData = {
2816
+ export type SetDefaultPaymentMethodResponse = SetDefaultPaymentMethodResponses[keyof SetDefaultPaymentMethodResponses];
2817
+ export type DeletePaymentMethodData = {
2027
2818
  body?: never;
2028
2819
  path: {
2029
2820
  /**
2030
- * Generated unique identifier of the access token.
2821
+ * Stripe payment method identifier.
2031
2822
  */
2032
- token_id: string;
2823
+ paymentMethodId: string;
2033
2824
  };
2034
2825
  query?: never;
2035
- url: '/tokens/{token_id}/secret';
2826
+ url: '/billing/payment-methods/{paymentMethodId}';
2036
2827
  };
2037
- export type RegenerateTokenErrors = {
2828
+ export type DeletePaymentMethodErrors = {
2829
+ /**
2830
+ * The bank transfer payment method cannot be removed.
2831
+ */
2832
+ 400: unknown;
2038
2833
  /**
2039
2834
  * Not authenticated
2040
2835
  */
2041
2836
  401: unknown;
2042
- };
2043
- export type RegenerateTokenResponses = {
2044
2837
  /**
2045
- * Successfully updated. Returns updated token details with unmasked / raw secret.
2838
+ * Payment method not found.
2046
2839
  */
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}';
2840
+ 404: unknown;
2841
+ /**
2842
+ * Cannot delete the only remaining payment method.
2843
+ */
2844
+ 409: unknown;
2060
2845
  };
2061
- export type ListUserOrganizationsResponses = {
2846
+ export type DeletePaymentMethodResponses = {
2062
2847
  /**
2063
- * An array of organizations the user belongs to.
2848
+ * Payment method deleted.
2064
2849
  */
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
- }>;
2850
+ 204: void;
2075
2851
  };
2076
- export type ListUserOrganizationsResponse = ListUserOrganizationsResponses[keyof ListUserOrganizationsResponses];
2077
- export type ListUsersData = {
2852
+ export type DeletePaymentMethodResponse = DeletePaymentMethodResponses[keyof DeletePaymentMethodResponses];
2853
+ export type ListInvoicesData = {
2078
2854
  body?: never;
2079
2855
  path?: never;
2080
2856
  query?: never;
2081
- url: '/users';
2857
+ url: '/billing/invoices';
2082
2858
  };
2083
- export type ListUsersErrors = {
2859
+ export type ListInvoicesErrors = {
2084
2860
  /**
2085
2861
  * Not authenticated
2086
2862
  */
2087
2863
  401: unknown;
2088
2864
  };
2089
- export type ListUsersResponses = {
2865
+ export type ListInvoicesResponses = {
2090
2866
  /**
2091
- * An array of users
2867
+ * An array of usage records.
2092
2868
  */
2093
- 200: Array<User>;
2869
+ 200: Array<Invoice>;
2094
2870
  };
2095
- export type ListUsersResponse = ListUsersResponses[keyof ListUsersResponses];
2096
- export type CreateUserData = {
2097
- body: UserCreateInput;
2871
+ export type ListInvoicesResponse = ListInvoicesResponses[keyof ListInvoicesResponses];
2872
+ export type GetContactData = {
2873
+ body?: never;
2098
2874
  path?: never;
2099
2875
  query?: never;
2100
- url: '/users';
2876
+ url: '/billing/contact';
2101
2877
  };
2102
- export type CreateUserResponses = {
2878
+ export type GetContactResponses = {
2103
2879
  /**
2104
- * Successfully created. Returns created user details.
2880
+ * Returns a single object containing organization contact and billing address details.
2105
2881
  */
2106
- 200: User;
2882
+ 200: BillingContact;
2107
2883
  };
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
- };
2884
+ export type GetContactResponse = GetContactResponses[keyof GetContactResponses];
2885
+ export type UpdateContactData = {
2886
+ body: BillingContact;
2887
+ path?: never;
2117
2888
  query?: never;
2118
- url: '/users/{user_id}';
2889
+ url: '/billing/contact';
2119
2890
  };
2120
- export type DeleteUserErrors = {
2891
+ export type UpdateContactResponses = {
2121
2892
  /**
2122
- * Deleting own user is not allowed. Delete your organization instead.
2893
+ * Successfully updated. Returns updated organization details.
2123
2894
  */
2124
- 400: unknown;
2895
+ 200: BillingContact;
2896
+ };
2897
+ export type UpdateContactResponse = UpdateContactResponses[keyof UpdateContactResponses];
2898
+ export type GetCreditsData = {
2899
+ body?: never;
2900
+ path?: never;
2901
+ query?: never;
2902
+ url: '/billing/credits';
2903
+ };
2904
+ export type GetCreditsErrors = {
2125
2905
  /**
2126
2906
  * Not authenticated
2127
2907
  */
2128
2908
  401: unknown;
2129
2909
  };
2130
- export type DeleteUserResponses = {
2910
+ export type GetCreditsResponses = {
2131
2911
  /**
2132
- * User profile information
2912
+ * An array of the applied promotional credits records.
2133
2913
  */
2134
- 200: User;
2914
+ 200: Array<BillingCredits>;
2135
2915
  };
2136
- export type DeleteUserResponse = DeleteUserResponses[keyof DeleteUserResponses];
2137
- export type GetUserData = {
2138
- body?: never;
2139
- path: {
2916
+ export type GetCreditsResponse = GetCreditsResponses[keyof GetCreditsResponses];
2917
+ export type RedeemCreditsData = {
2918
+ body: {
2140
2919
  /**
2141
- * Unique user identifier. UUID v4 string in canonical form
2920
+ * Promotional code to redeem
2142
2921
  */
2143
- user_id: string;
2922
+ code?: string;
2144
2923
  };
2924
+ path?: never;
2145
2925
  query?: never;
2146
- url: '/users/{user_id}';
2926
+ url: '/billing/credits';
2147
2927
  };
2148
- export type GetUserErrors = {
2928
+ export type RedeemCreditsErrors = {
2149
2929
  /**
2150
2930
  * Not authenticated
2151
2931
  */
2152
2932
  401: unknown;
2153
2933
  };
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 = {
2934
+ export type RedeemCreditsResponses = {
2173
2935
  /**
2174
- * Successfully created. Returns created user details.
2936
+ * Successfully created a new organization.
2175
2937
  */
2176
- 200: User;
2938
+ 200: unknown;
2177
2939
  };
2178
- export type UpdateUserResponse = UpdateUserResponses[keyof UpdateUserResponses];
2179
2940
  //# sourceMappingURL=types.gen.d.ts.map