@cloudfleet/sdk 0.0.1-c440601 → 0.0.1-c4563f6

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 +1070 -0
  3. package/dist/@tanstack/react-query.gen.d.ts.map +1 -0
  4. package/dist/@tanstack/react-query.gen.js +1267 -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 +1169 -141
  22. package/dist/schemas.gen.d.ts.map +1 -1
  23. package/dist/schemas.gen.js +2203 -246
  24. package/dist/schemas.gen.js.map +1 -1
  25. package/dist/sdk.gen.d.ts +279 -185
  26. package/dist/sdk.gen.d.ts.map +1 -1
  27. package/dist/sdk.gen.js +427 -276
  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 +1624 -687
  31. package/dist/types.gen.d.ts.map +1 -1
  32. package/dist/zod.gen.d.ts +3493 -1142
  33. package/dist/zod.gen.d.ts.map +1 -1
  34. package/dist/zod.gen.js +1373 -291
  35. package/dist/zod.gen.js.map +1 -1
  36. package/package.json +28 -12
@@ -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,10 +243,18 @@ 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
  */
196
253
  auth_key: string;
254
+ /**
255
+ * Coordination server the node registers against. Empty on data plane v1 clusters, where the node advertises its own tag instead. A non-empty value requires a client that declares the dataplane-v2 capability.
256
+ */
257
+ login_server: string;
197
258
  /**
198
259
  * Bootstrap token for the cluster.
199
260
  */
@@ -237,6 +298,9 @@ export type ClusterJoinInformation = {
237
298
  gcp_workload_identity_provider: string;
238
299
  };
239
300
  };
301
+ /**
302
+ * Mutable cluster configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
303
+ */
240
304
  export type Cluster = {
241
305
  /**
242
306
  * Name of the cluster.
@@ -245,20 +309,71 @@ export type Cluster = {
245
309
  /**
246
310
  * Tier of the cluster.
247
311
  */
248
- tier: 'basic' | 'pro';
312
+ tier: 'basic' | 'pro' | 'enterprise';
313
+ /**
314
+ * Version of the kubernetes cluster.
315
+ */
316
+ version_channel: string;
317
+ /**
318
+ * Release channel for the cluster's control plane.
319
+ */
320
+ release_channel: 'rapid' | 'stable' | 'extended';
321
+ /**
322
+ * Cluster feature toggles.
323
+ */
324
+ features: {
325
+ /**
326
+ * GPU sharing strategy.
327
+ */
328
+ gpu_sharing_strategy: 'none' | 'mps' | 'time_slicing';
329
+ /**
330
+ * Maximum number of pods that may share a single GPU.
331
+ */
332
+ gpu_max_shared_clients_per_gpu: number;
333
+ /**
334
+ * Restrict Cilium socket load-balancing to the host namespace. Required for the Tailscale operator and Istio.
335
+ */
336
+ cilium_socket_lb_host_namespace_only: boolean;
337
+ };
338
+ /**
339
+ * Cloudfleet control plane region. This field can not be updated after creation.
340
+ */
341
+ region: string;
249
342
  /**
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.
343
+ * Cluster networking configuration. Immutable after creation.
251
344
  */
252
- region?: 'staging-1a' | 'northamerica-central-1' | 'europe-central-1a' | 'northamerica-central-1a';
345
+ networking: {
346
+ /**
347
+ * CIDR block for pod IPs.
348
+ */
349
+ pod_cidr: string;
350
+ /**
351
+ * CIDR block for service IPs.
352
+ */
353
+ service_cidr: string;
354
+ /**
355
+ * Enable IPv4+IPv6 dual-stack networking.
356
+ */
357
+ dual_stack: boolean;
358
+ /**
359
+ * IPv6 pod CIDR. Requires dual_stack.
360
+ */
361
+ pod_cidr_v6: string;
362
+ /**
363
+ * IPv6 service CIDR. Requires dual_stack.
364
+ */
365
+ service_cidr_v6: string;
366
+ };
253
367
  /**
254
368
  * Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
255
369
  */
256
370
  id: string;
257
371
  /**
258
- * Status of the cluster. When creating a new cluster, set to `active`. When deleting a clusters, set to `deleted`.
372
+ * Status of the cluster.
259
373
  */
260
- status: 'active' | 'disabled' | 'deleted' | 'creating' | 'deployed' | 'failed' | 'updating';
374
+ status: 'creating' | 'deployed' | 'updating' | 'disabled';
261
375
  endpoint?: string | '';
376
+ endpoint_public?: string | '';
262
377
  /**
263
378
  * Certificate authority data for the kubernetes cluster. This is the root certificate authority for the cluster.
264
379
  */
@@ -278,129 +393,310 @@ export type Cluster = {
278
393
  /**
279
394
  * Indicates if the cluster is ready to be used.
280
395
  */
281
- ready?: boolean;
282
- /**
283
- * Version of the kubernetes cluster.
284
- */
285
- version_channel?: string;
396
+ ready: boolean;
286
397
  };
398
+ /**
399
+ * Mutable cluster configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
400
+ */
287
401
  export type ClusterUpdateInput = {
288
402
  /**
289
403
  * Name of the cluster.
290
404
  */
291
- name?: string;
405
+ name: string;
292
406
  /**
293
407
  * Tier of the cluster.
294
408
  */
295
- tier: 'basic' | 'pro';
409
+ tier?: 'basic' | 'pro' | 'enterprise';
296
410
  /**
297
411
  * Version of the kubernetes cluster.
298
412
  */
299
413
  version_channel?: string;
414
+ /**
415
+ * Release channel for the cluster's control plane.
416
+ */
417
+ release_channel?: 'rapid' | 'stable' | 'extended';
418
+ /**
419
+ * Cluster feature toggles.
420
+ */
421
+ features?: {
422
+ /**
423
+ * GPU sharing strategy.
424
+ */
425
+ gpu_sharing_strategy?: 'none' | 'mps' | 'time_slicing';
426
+ /**
427
+ * Maximum number of pods that may share a single GPU.
428
+ */
429
+ gpu_max_shared_clients_per_gpu?: number;
430
+ /**
431
+ * Restrict Cilium socket load-balancing to the host namespace. Required for the Tailscale operator and Istio.
432
+ */
433
+ cilium_socket_lb_host_namespace_only?: boolean;
434
+ };
300
435
  };
436
+ /**
437
+ * Mutable fleet configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
438
+ */
301
439
  export type FleetCreateInput = {
302
440
  /**
303
441
  * Limits define a set of bounds for provisioning capacity.
304
442
  */
305
443
  limits?: {
306
444
  /**
307
- * CPU limit in cores.
445
+ * CPU limit in cores. Maximum 100,000.
308
446
  */
309
- cpu: number;
447
+ cpu?: number;
310
448
  };
311
449
  gcp?: {
312
- enabled?: boolean;
450
+ enabled: boolean;
313
451
  /**
314
- * Project GCP Project id to deploy instances into
452
+ * 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
453
  */
316
- project: string;
454
+ project?: string;
317
455
  };
318
456
  hetzner?: {
319
- enabled?: boolean;
457
+ enabled: boolean;
320
458
  /**
321
- * Hetzner Cloud API key with read / write access
459
+ * 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
460
  */
323
- apiKey: string;
461
+ apiKey?: string;
324
462
  };
325
463
  aws?: {
326
- enabled?: boolean;
464
+ enabled: boolean;
465
+ /**
466
+ * AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.
467
+ */
468
+ controllerRoleArn?: string;
469
+ };
470
+ /**
471
+ * 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.
472
+ */
473
+ constraints?: {
474
+ /**
475
+ * Allowed values for `karpenter.sh/capacity-type`.
476
+ */
477
+ 'karpenter.sh/capacity-type'?: Array<'on-demand' | 'spot'>;
327
478
  /**
328
- * ControllerRoleArn is the AWS IAM role that Karpenter uses to manage resources.
479
+ * Allowed values for `kubernetes.io/arch`.
329
480
  */
330
- controllerRoleArn: string;
481
+ 'kubernetes.io/arch'?: Array<'amd64' | 'arm64'>;
482
+ /**
483
+ * Allowed values for `cfke.io/instance-family`.
484
+ */
485
+ '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'>;
486
+ /**
487
+ * Allowed values for `topology.kubernetes.io/region`.
488
+ */
489
+ '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
490
  };
491
+ /**
492
+ * 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`).
493
+ */
494
+ scalingProfile?: 'aggressive' | 'conservative';
495
+ /**
496
+ * Taints applied to every node the fleet provisions, so only pods that tolerate them schedule there. Each key and effect pair may appear once. Full-overwrite: omit to remove all taints.
497
+ */
498
+ taints?: Array<{
499
+ /**
500
+ * Taint key: a Kubernetes qualified name with an optional DNS subdomain prefix. Keys under `node.kubernetes.io`, `node.cloudprovider.kubernetes.io`, `node.cilium.io`, `karpenter.sh` and `cfke.io` (and their subdomains) are reserved.
501
+ */
502
+ key: string;
503
+ /**
504
+ * Taint value. Optional.
505
+ */
506
+ value?: string;
507
+ /**
508
+ * Taint effect.
509
+ */
510
+ effect: 'NoSchedule' | 'PreferNoSchedule' | 'NoExecute';
511
+ }>;
332
512
  /**
333
513
  * Unique identifier of the kubernetes fleet.
334
514
  */
335
515
  id: string;
336
516
  };
517
+ /**
518
+ * Mutable fleet configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
519
+ */
337
520
  export type Fleet = {
338
521
  /**
339
522
  * Limits define a set of bounds for provisioning capacity.
340
523
  */
341
524
  limits?: {
342
525
  /**
343
- * CPU limit in cores.
526
+ * CPU limit in cores. Maximum 100,000.
344
527
  */
345
- cpu: number;
528
+ cpu?: number;
346
529
  };
347
530
  gcp?: {
348
- enabled?: boolean;
531
+ enabled: boolean;
349
532
  /**
350
- * Project GCP Project id to deploy instances into
533
+ * 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
534
  */
352
- project: string;
535
+ project?: string;
353
536
  };
354
537
  hetzner?: {
355
- enabled?: boolean;
538
+ enabled: boolean;
356
539
  /**
357
- * Hetzner Cloud API key with read / write access
540
+ * 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
541
  */
359
- apiKey: string;
542
+ apiKey?: string;
360
543
  };
361
544
  aws?: {
362
- enabled?: boolean;
545
+ enabled: boolean;
546
+ /**
547
+ * AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.
548
+ */
549
+ controllerRoleArn?: string;
550
+ };
551
+ /**
552
+ * 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.
553
+ */
554
+ constraints: {
555
+ /**
556
+ * Allowed values for `karpenter.sh/capacity-type`.
557
+ */
558
+ 'karpenter.sh/capacity-type': Array<'on-demand' | 'spot'>;
559
+ /**
560
+ * Allowed values for `kubernetes.io/arch`.
561
+ */
562
+ 'kubernetes.io/arch': Array<'amd64' | 'arm64'>;
363
563
  /**
364
- * ControllerRoleArn is the AWS IAM role that Karpenter uses to manage resources.
564
+ * Allowed values for `cfke.io/instance-family`.
365
565
  */
366
- controllerRoleArn: string;
566
+ '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'>;
567
+ /**
568
+ * Allowed values for `topology.kubernetes.io/region`.
569
+ */
570
+ '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
571
  };
572
+ /**
573
+ * 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`).
574
+ */
575
+ scalingProfile: 'aggressive' | 'conservative';
576
+ /**
577
+ * Taints applied to every node the fleet provisions, so only pods that tolerate them schedule there. Each key and effect pair may appear once. Full-overwrite: omit to remove all taints.
578
+ */
579
+ taints: Array<{
580
+ /**
581
+ * Taint key: a Kubernetes qualified name with an optional DNS subdomain prefix. Keys under `node.kubernetes.io`, `node.cloudprovider.kubernetes.io`, `node.cilium.io`, `karpenter.sh` and `cfke.io` (and their subdomains) are reserved.
582
+ */
583
+ key: string;
584
+ /**
585
+ * Taint value. Optional.
586
+ */
587
+ value?: string;
588
+ /**
589
+ * Taint effect.
590
+ */
591
+ effect: 'NoSchedule' | 'PreferNoSchedule' | 'NoExecute';
592
+ }>;
368
593
  /**
369
594
  * Unique identifier of the kubernetes fleet.
370
595
  */
371
596
  id: string;
597
+ /**
598
+ * Indicates whether the fleet configuration is healthy.
599
+ */
600
+ ready: boolean;
601
+ /**
602
+ * Human-readable reason the fleet is not ready. Present only when `ready` is false.
603
+ */
604
+ status_message?: string;
605
+ /**
606
+ * Creation date and time of the fleet.
607
+ */
608
+ created_at: string;
609
+ /**
610
+ * Date and time the fleet was last updated.
611
+ */
612
+ updated_at: string;
372
613
  };
614
+ /**
615
+ * Mutable fleet configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
616
+ */
373
617
  export type FleetUpdateInput = {
374
618
  /**
375
619
  * Limits define a set of bounds for provisioning capacity.
376
620
  */
377
621
  limits?: {
378
622
  /**
379
- * CPU limit in cores.
623
+ * CPU limit in cores. Maximum 100,000.
380
624
  */
381
- cpu: number;
625
+ cpu?: number;
382
626
  };
383
627
  gcp?: {
384
- enabled?: boolean;
628
+ enabled: boolean;
385
629
  /**
386
- * Project GCP Project id to deploy instances into
630
+ * 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
631
  */
388
- project: string;
632
+ project?: string;
389
633
  };
390
634
  hetzner?: {
391
- enabled?: boolean;
635
+ enabled: boolean;
392
636
  /**
393
- * Hetzner Cloud API key with read / write access
637
+ * 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
638
  */
395
- apiKey: string;
639
+ apiKey?: string;
396
640
  };
397
641
  aws?: {
398
- enabled?: boolean;
642
+ enabled: boolean;
643
+ /**
644
+ * AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.
645
+ */
646
+ controllerRoleArn?: string;
647
+ };
648
+ /**
649
+ * 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.
650
+ */
651
+ constraints?: {
652
+ /**
653
+ * Allowed values for `karpenter.sh/capacity-type`.
654
+ */
655
+ 'karpenter.sh/capacity-type'?: Array<'on-demand' | 'spot'>;
656
+ /**
657
+ * Allowed values for `kubernetes.io/arch`.
658
+ */
659
+ 'kubernetes.io/arch'?: Array<'amd64' | 'arm64'>;
660
+ /**
661
+ * Allowed values for `cfke.io/instance-family`.
662
+ */
663
+ '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
664
  /**
400
- * ControllerRoleArn is the AWS IAM role that Karpenter uses to manage resources.
665
+ * Allowed values for `topology.kubernetes.io/region`.
401
666
  */
402
- controllerRoleArn: string;
667
+ '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
668
  };
669
+ /**
670
+ * 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`).
671
+ */
672
+ scalingProfile?: 'aggressive' | 'conservative';
673
+ /**
674
+ * Taints applied to every node the fleet provisions, so only pods that tolerate them schedule there. Each key and effect pair may appear once. Full-overwrite: omit to remove all taints.
675
+ */
676
+ taints?: Array<{
677
+ /**
678
+ * Taint key: a Kubernetes qualified name with an optional DNS subdomain prefix. Keys under `node.kubernetes.io`, `node.cloudprovider.kubernetes.io`, `node.cilium.io`, `karpenter.sh` and `cfke.io` (and their subdomains) are reserved.
679
+ */
680
+ key: string;
681
+ /**
682
+ * Taint value. Optional.
683
+ */
684
+ value?: string;
685
+ /**
686
+ * Taint effect.
687
+ */
688
+ effect: 'NoSchedule' | 'PreferNoSchedule' | 'NoExecute';
689
+ }>;
690
+ };
691
+ export type InviteCreateInput = {
692
+ /**
693
+ * Email address of the user to invite.
694
+ */
695
+ email: string;
696
+ /**
697
+ * Role the invited user will be assigned on redemption. Can be 'Administrator' or 'User'.
698
+ */
699
+ role?: 'Administrator' | 'User';
404
700
  };
405
701
  export type Invite = {
406
702
  /**
@@ -423,6 +719,91 @@ export type Invite = {
423
719
  * Generated unique invite code.
424
720
  */
425
721
  code?: string;
722
+ /**
723
+ * Role the invited user will be assigned on redemption. Can be 'Administrator' or 'User'.
724
+ */
725
+ role?: 'Administrator' | 'User';
726
+ };
727
+ export type InvoicePaymentAttempt = {
728
+ /**
729
+ * Identifier of the invoice.
730
+ */
731
+ invoice_id: string;
732
+ /**
733
+ * Invoice number. Null if the invoice has no number.
734
+ */
735
+ number: string;
736
+ /**
737
+ * Amount outstanding when the charge was attempted, in the smallest currency unit.
738
+ */
739
+ amount: number;
740
+ /**
741
+ * Currency of the invoice.
742
+ */
743
+ currency: string;
744
+ /**
745
+ * Outcome for this invoice: `paid`, `processing` (accepted, not yet settled), `requires_action` (awaiting customer authentication), or `failed` (declined).
746
+ */
747
+ status: 'paid' | 'processing' | 'requires_action' | 'failed';
748
+ /**
749
+ * Client secret used to complete customer authentication. Set only when `status` is `requires_action`.
750
+ */
751
+ client_secret: string;
752
+ /**
753
+ * Decline code. Set only when `status` is `failed`.
754
+ */
755
+ failure_code: string;
756
+ /**
757
+ * Explanation of the decline, suitable for display. Set only when `status` is `failed`.
758
+ */
759
+ failure_message: string;
760
+ };
761
+ export type InvoicePaymentResult = {
762
+ /**
763
+ * Overall outcome: `paid` (nothing outstanding), `processing` (all accepted, not yet settled), `action_required` (one or more await customer authentication), `partially_paid`, `failed`, `nothing_due`, or `bank_transfer_due` (the organization pays by bank transfer; nothing was charged).
764
+ */
765
+ code: 'paid' | 'processing' | 'action_required' | 'partially_paid' | 'failed' | 'nothing_due' | 'bank_transfer_due';
766
+ /**
767
+ * Summary of the outcome, suitable for display.
768
+ */
769
+ message: string;
770
+ /**
771
+ * One entry per invoice charged, oldest first.
772
+ */
773
+ results: Array<{
774
+ /**
775
+ * Identifier of the invoice.
776
+ */
777
+ invoice_id: string;
778
+ /**
779
+ * Invoice number. Null if the invoice has no number.
780
+ */
781
+ number: string;
782
+ /**
783
+ * Amount outstanding when the charge was attempted, in the smallest currency unit.
784
+ */
785
+ amount: number;
786
+ /**
787
+ * Currency of the invoice.
788
+ */
789
+ currency: string;
790
+ /**
791
+ * Outcome for this invoice: `paid`, `processing` (accepted, not yet settled), `requires_action` (awaiting customer authentication), or `failed` (declined).
792
+ */
793
+ status: 'paid' | 'processing' | 'requires_action' | 'failed';
794
+ /**
795
+ * Client secret used to complete customer authentication. Set only when `status` is `requires_action`.
796
+ */
797
+ client_secret: string;
798
+ /**
799
+ * Decline code. Set only when `status` is `failed`.
800
+ */
801
+ failure_code: string;
802
+ /**
803
+ * Explanation of the decline, suitable for display. Set only when `status` is `failed`.
804
+ */
805
+ failure_message: string;
806
+ }>;
426
807
  };
427
808
  export type Invoice = {
428
809
  /**
@@ -543,6 +924,10 @@ export type MarketplaceListing = {
543
924
  };
544
925
  };
545
926
  export type OrganizationCreateInput = {
927
+ /**
928
+ * Type of the organization. `business` for legal entities, `personal` for individuals.
929
+ */
930
+ type: 'business' | 'personal';
546
931
  /**
547
932
  * Email address used for billing as a string.
548
933
  */
@@ -564,6 +949,12 @@ export type OrganizationCreateInput = {
564
949
  */
565
950
  password: string;
566
951
  };
952
+ export type OrganizationCreateOutput = {
953
+ /**
954
+ * Unique identifier of the newly created organization. Generated by the API and safe to use for client-side tracking immediately.
955
+ */
956
+ id: string;
957
+ };
567
958
  export type Organization = {
568
959
  /**
569
960
  * Unique identifier of the organization. UUID v4 string in canonical form
@@ -573,6 +964,10 @@ export type Organization = {
573
964
  * Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
574
965
  */
575
966
  name?: string;
967
+ /**
968
+ * Type of the organization. `business` for legal entities, `personal` for individuals.
969
+ */
970
+ type: 'business' | 'personal';
576
971
  /**
577
972
  * Creation date of the organization. ISO 8601 date string in UTC timezone
578
973
  */
@@ -597,6 +992,14 @@ export type Organization = {
597
992
  * Available number of Pro clusters that can be created.
598
993
  */
599
994
  pro_clusters_available: number;
995
+ /**
996
+ * Maximum number of Enterprise clusters that can be created.
997
+ */
998
+ enterprise_clusters_max: number;
999
+ /**
1000
+ * Available number of Enterprise clusters that can be created.
1001
+ */
1002
+ enterprise_clusters_available: number;
600
1003
  /**
601
1004
  * Maximum number of fleets that can be created per cluster.
602
1005
  */
@@ -622,14 +1025,6 @@ export type Organization = {
622
1025
  */
623
1026
  label: string;
624
1027
  }>;
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
1028
  /**
634
1029
  * Organization-level maximum CFCR storage volume in GB. -1 means no limit.
635
1030
  */
@@ -639,36 +1034,52 @@ export type Organization = {
639
1034
  * Status of the organization. Can be `active` or `closed`, or `suspended`.
640
1035
  */
641
1036
  status: 'active' | 'closed' | 'suspended';
1037
+ /**
1038
+ * 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.
1039
+ */
1040
+ verification: 'none' | 'submitted' | 'verified';
642
1041
  };
643
1042
  export type PaymentMethod = {
644
1043
  /**
645
- * Unique identifier of the organization. UUID v4 string in canonical form.
1044
+ * 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
1045
  */
647
1046
  id: string;
648
1047
  /**
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.
1048
+ * Payment method type. `card`, `sepa_debit` for SEPA Direct Debit (business accounts only), or `bank_transfer` for paying invoices by bank transfer.
654
1049
  */
655
- type: 'card';
1050
+ type: 'card' | 'sepa_debit' | 'bank_transfer';
656
1051
  /**
657
- * Last 4 digits of the payment card number.
1052
+ * 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
1053
  */
659
1054
  last4: string;
660
1055
  /**
661
- * Two-digit number representing the card's expiration month.
1056
+ * Two-digit number representing the card's expiration month. Null for SEPA Direct Debit and bank transfer.
662
1057
  */
663
1058
  exp_month: number;
664
1059
  /**
665
- * Four-digit number representing the card's expiration year.
1060
+ * 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
1061
  */
667
1062
  exp_year: number;
668
1063
  /**
669
- * Payment card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `mastercard`, `unionpay`, `visa`, or `unknown`.
1064
+ * Payment card brand as reported by Stripe, e.g. `visa`, `mastercard`, `amex`, `cartes_bancaires`, or `unknown`. Null for SEPA Direct Debit and bank transfer.
1065
+ */
1066
+ brand: string;
1067
+ /**
1068
+ * 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.
1069
+ */
1070
+ iban: string;
1071
+ /**
1072
+ * BIC/SWIFT of the destination bank for bank transfers. Set only for `bank_transfer`; null otherwise.
1073
+ */
1074
+ bic: string;
1075
+ /**
1076
+ * Account holder name of the destination bank account for bank transfers. Set only for `bank_transfer`; null otherwise.
1077
+ */
1078
+ account_holder_name: string;
1079
+ /**
1080
+ * 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
1081
  */
671
- brand: 'amex' | 'diners' | 'discover' | 'eftpos_au' | 'jcb' | 'mastercard' | 'unionpay' | 'visa' | 'unknown';
1082
+ is_default: boolean;
672
1083
  };
673
1084
  export type PlatformQuota = {
674
1085
  /**
@@ -687,6 +1098,14 @@ export type PlatformQuota = {
687
1098
  * Available number of Pro clusters that can be created.
688
1099
  */
689
1100
  pro_clusters_available: number;
1101
+ /**
1102
+ * Maximum number of Enterprise clusters that can be created.
1103
+ */
1104
+ enterprise_clusters_max: number;
1105
+ /**
1106
+ * Available number of Enterprise clusters that can be created.
1107
+ */
1108
+ enterprise_clusters_available: number;
690
1109
  /**
691
1110
  * Maximum number of fleets that can be created per cluster.
692
1111
  */
@@ -712,14 +1131,6 @@ export type PlatformQuota = {
712
1131
  */
713
1132
  label: string;
714
1133
  }>;
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
1134
  /**
724
1135
  * Organization-level maximum CFCR storage volume in GB. -1 means no limit.
725
1136
  */
@@ -873,21 +1284,214 @@ export type RegistryTag = {
873
1284
  */
874
1285
  uri: string;
875
1286
  };
876
- export type TokenCreateInput = {
1287
+ export type RoadmapItemCreateInput = {
877
1288
  /**
878
- * Human readable access token name.
1289
+ * Your suggestion in one or two sentences. It is reviewed before it appears on the roadmap.
879
1290
  */
880
- name: string;
1291
+ text: string;
1292
+ };
1293
+ export type RoadmapItem = {
881
1294
  /**
882
- * Role assumed by the token.
1295
+ * Unique identifier of the roadmap item (Mongo ObjectId).
883
1296
  */
884
- role: 'Administrator' | 'User';
885
- };
886
- export type Token = {
1297
+ id: string;
887
1298
  /**
888
- * Human readable access token name.
1299
+ * Short description of the roadmap item.
889
1300
  */
890
- name: string;
1301
+ text: string;
1302
+ /**
1303
+ * The caller's vote on this item: -1 (down), 1 (up), 2 (double up), or null if the caller has not voted.
1304
+ */
1305
+ vote: -1 | 1 | 2;
1306
+ };
1307
+ export type RoadmapVoteInput = {
1308
+ /**
1309
+ * Vote value: -1 (down), 1 (up), or 2 (double up).
1310
+ */
1311
+ value: -1 | 1 | 2;
1312
+ };
1313
+ export type TicketAttachment = {
1314
+ /**
1315
+ * Unique identifier of the attachment (Mongo ObjectId).
1316
+ */
1317
+ id: string;
1318
+ /**
1319
+ * Original filename as uploaded.
1320
+ */
1321
+ filename: string;
1322
+ /**
1323
+ * MIME content type of the attachment.
1324
+ */
1325
+ content_type: string;
1326
+ /**
1327
+ * Size of the attachment in bytes.
1328
+ */
1329
+ size: number;
1330
+ };
1331
+ export type TicketCreateInput = {
1332
+ /**
1333
+ * Ticket category. Drives auto-assignment and may carry a subcategory in `properties`.
1334
+ */
1335
+ category: 'billing' | 'technical' | 'general';
1336
+ /**
1337
+ * Initial message body in markdown. There is no separate subject — the first message body is the description.
1338
+ */
1339
+ body: string;
1340
+ /**
1341
+ * Free-form key/value bag set by the UI (e.g. `subcategory`, `cluster_id`, `cluster_name`, `region`).
1342
+ */
1343
+ properties?: {
1344
+ [key: string]: unknown;
1345
+ };
1346
+ };
1347
+ export type TicketMessageInput = {
1348
+ /**
1349
+ * Reply body in markdown.
1350
+ */
1351
+ body: string;
1352
+ };
1353
+ export type TicketMessage = {
1354
+ /**
1355
+ * Unique identifier of the message (Mongo ObjectId).
1356
+ */
1357
+ id: string;
1358
+ /**
1359
+ * Message type. Internal notes are filtered out of customer-facing responses.
1360
+ */
1361
+ type: 'customer_reply' | 'agent_reply';
1362
+ /**
1363
+ * Message body in markdown.
1364
+ */
1365
+ body: string;
1366
+ /**
1367
+ * First name of the author. Null when not provided.
1368
+ */
1369
+ author_first_name?: string;
1370
+ /**
1371
+ * Last name of the author. Null when not provided.
1372
+ */
1373
+ author_last_name?: string;
1374
+ /**
1375
+ * Attachments associated with this message.
1376
+ */
1377
+ attachments?: Array<{
1378
+ /**
1379
+ * Unique identifier of the attachment (Mongo ObjectId).
1380
+ */
1381
+ id: string;
1382
+ /**
1383
+ * Original filename as uploaded.
1384
+ */
1385
+ filename: string;
1386
+ /**
1387
+ * MIME content type of the attachment.
1388
+ */
1389
+ content_type: string;
1390
+ /**
1391
+ * Size of the attachment in bytes.
1392
+ */
1393
+ size: number;
1394
+ }>;
1395
+ /**
1396
+ * Creation date of the message. ISO 8601 UTC.
1397
+ */
1398
+ date_created: string;
1399
+ };
1400
+ export type Ticket = {
1401
+ /**
1402
+ * Unique identifier of the ticket (Mongo ObjectId).
1403
+ */
1404
+ id: string;
1405
+ /**
1406
+ * Current state of the ticket.
1407
+ */
1408
+ status: 'waiting_on_us' | 'waiting_on_user' | 'closed';
1409
+ /**
1410
+ * Ticket category.
1411
+ */
1412
+ category: 'billing' | 'technical' | 'general';
1413
+ /**
1414
+ * First 128 characters of the initial message body, with markdown formatting and newlines stripped. Used for ticket list previews.
1415
+ */
1416
+ summary: string;
1417
+ /**
1418
+ * Closure timestamp. Null while the ticket is open.
1419
+ */
1420
+ closed_at?: string;
1421
+ /**
1422
+ * Creation date of the ticket. ISO 8601 UTC.
1423
+ */
1424
+ date_created: string;
1425
+ /**
1426
+ * Last update date of the ticket. ISO 8601 UTC.
1427
+ */
1428
+ date_updated: string;
1429
+ /**
1430
+ * Messages on the ticket in chronological order. Internal notes are excluded. Returned by the detail endpoint only.
1431
+ */
1432
+ messages?: Array<{
1433
+ /**
1434
+ * Unique identifier of the message (Mongo ObjectId).
1435
+ */
1436
+ id: string;
1437
+ /**
1438
+ * Message type. Internal notes are filtered out of customer-facing responses.
1439
+ */
1440
+ type: 'customer_reply' | 'agent_reply';
1441
+ /**
1442
+ * Message body in markdown.
1443
+ */
1444
+ body: string;
1445
+ /**
1446
+ * First name of the author. Null when not provided.
1447
+ */
1448
+ author_first_name?: string;
1449
+ /**
1450
+ * Last name of the author. Null when not provided.
1451
+ */
1452
+ author_last_name?: string;
1453
+ /**
1454
+ * Attachments associated with this message.
1455
+ */
1456
+ attachments?: Array<{
1457
+ /**
1458
+ * Unique identifier of the attachment (Mongo ObjectId).
1459
+ */
1460
+ id: string;
1461
+ /**
1462
+ * Original filename as uploaded.
1463
+ */
1464
+ filename: string;
1465
+ /**
1466
+ * MIME content type of the attachment.
1467
+ */
1468
+ content_type: string;
1469
+ /**
1470
+ * Size of the attachment in bytes.
1471
+ */
1472
+ size: number;
1473
+ }>;
1474
+ /**
1475
+ * Creation date of the message. ISO 8601 UTC.
1476
+ */
1477
+ date_created: string;
1478
+ }>;
1479
+ };
1480
+ export type TokenCreateInput = {
1481
+ /**
1482
+ * Human readable access token name.
1483
+ */
1484
+ name: string;
1485
+ /**
1486
+ * Role assumed by the token.
1487
+ */
1488
+ role: 'Administrator' | 'User';
1489
+ };
1490
+ export type Token = {
1491
+ /**
1492
+ * Human readable access token name.
1493
+ */
1494
+ name: string;
891
1495
  /**
892
1496
  * Role assumed by the token.
893
1497
  */
@@ -923,7 +1527,7 @@ export type UsageFacets = {
923
1527
  /**
924
1528
  * List of unique products
925
1529
  */
926
- product?: Array<string>;
1530
+ product?: Array<'cfke_controlplane_basic' | 'cfke_controlplane_pro' | 'cfke_controlplane_enterprise' | 'cfke_connected_nodes_basic' | 'cfke_connected_nodes_pro' | 'cfke_connected_nodes_enterprise' | 'cfcr_storage'>;
927
1531
  };
928
1532
  export type UsageResponse = {
929
1533
  /**
@@ -941,7 +1545,7 @@ export type UsageResponse = {
941
1545
  /**
942
1546
  * The product the usage is associated with
943
1547
  */
944
- product: string;
1548
+ product: 'cfke_controlplane_basic' | 'cfke_controlplane_pro' | 'cfke_controlplane_enterprise' | 'cfke_connected_nodes_basic' | 'cfke_connected_nodes_pro' | 'cfke_connected_nodes_enterprise' | 'cfcr_storage';
945
1549
  /**
946
1550
  * Consumption
947
1551
  */
@@ -966,7 +1570,7 @@ export type UsageResponse = {
966
1570
  /**
967
1571
  * List of unique products
968
1572
  */
969
- product?: Array<string>;
1573
+ product?: Array<'cfke_controlplane_basic' | 'cfke_controlplane_pro' | 'cfke_controlplane_enterprise' | 'cfke_connected_nodes_basic' | 'cfke_connected_nodes_pro' | 'cfke_connected_nodes_enterprise' | 'cfcr_storage'>;
970
1574
  };
971
1575
  };
972
1576
  export type Usage = {
@@ -981,7 +1585,7 @@ export type Usage = {
981
1585
  /**
982
1586
  * The product the usage is associated with
983
1587
  */
984
- product: string;
1588
+ product: 'cfke_controlplane_basic' | 'cfke_controlplane_pro' | 'cfke_controlplane_enterprise' | 'cfke_connected_nodes_basic' | 'cfke_connected_nodes_pro' | 'cfke_connected_nodes_enterprise' | 'cfcr_storage';
985
1589
  /**
986
1590
  * Consumption
987
1591
  */
@@ -1016,14 +1620,6 @@ export type UserCreateInput = {
1016
1620
  * User password. Must be at least 8 characters long.
1017
1621
  */
1018
1622
  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
1623
  };
1028
1624
  export type User = {
1029
1625
  /**
@@ -1077,597 +1673,642 @@ export type UserUpdateInput = {
1077
1673
  */
1078
1674
  status?: 'active' | 'inactive';
1079
1675
  };
1080
- export type GetUsageData = {
1676
+ export type ListUserOrganizationsData = {
1081
1677
  body?: never;
1082
- path?: never;
1083
- query?: {
1678
+ path: {
1084
1679
  /**
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)
1680
+ * User email address.
1086
1681
  */
1087
- granularity?: 'hourly' | 'daily' | 'monthly';
1682
+ email: string;
1088
1683
  };
1089
- url: '/billing/usage';
1090
- };
1091
- export type GetUsageErrors = {
1092
- /**
1093
- * Not authenticated
1094
- */
1095
- 401: unknown;
1684
+ query?: never;
1685
+ url: '/users/organizations/{email}';
1096
1686
  };
1097
- export type GetUsageResponses = {
1687
+ export type ListUserOrganizationsResponses = {
1098
1688
  /**
1099
- * Usage data with facets for filtering
1689
+ * An array of organizations the user belongs to.
1100
1690
  */
1101
- 200: UsageResponse;
1691
+ 200: Array<{
1692
+ /**
1693
+ * Unique identifier of the organization. UUID v4 string in canonical form
1694
+ */
1695
+ realm?: string;
1696
+ /**
1697
+ * Human-readable name of the organization
1698
+ */
1699
+ displayName?: string;
1700
+ }>;
1102
1701
  };
1103
- export type GetUsageResponse = GetUsageResponses[keyof GetUsageResponses];
1104
- export type GetPaymentMethodData = {
1702
+ export type ListUserOrganizationsResponse = ListUserOrganizationsResponses[keyof ListUserOrganizationsResponses];
1703
+ export type ListUsersData = {
1105
1704
  body?: never;
1106
1705
  path?: never;
1107
1706
  query?: never;
1108
- url: '/billing/payment-method';
1707
+ url: '/users';
1109
1708
  };
1110
- export type GetPaymentMethodErrors = {
1709
+ export type ListUsersErrors = {
1111
1710
  /**
1112
- * Returns 404 Not Found if the organization does not have a payment method set up.
1711
+ * Not authenticated
1113
1712
  */
1114
- 404: unknown;
1713
+ 401: unknown;
1115
1714
  };
1116
- export type GetPaymentMethodResponses = {
1715
+ export type ListUsersResponses = {
1117
1716
  /**
1118
- * Redacted payment card information.
1717
+ * An array of users
1119
1718
  */
1120
- 200: PaymentMethod;
1719
+ 200: Array<User>;
1121
1720
  };
1122
- export type GetPaymentMethodResponse = GetPaymentMethodResponses[keyof GetPaymentMethodResponses];
1123
- export type GetPaymentMethodSecretData = {
1124
- body?: never;
1721
+ export type ListUsersResponse = ListUsersResponses[keyof ListUsersResponses];
1722
+ export type CreateUserData = {
1723
+ body: UserCreateInput;
1125
1724
  path?: never;
1126
1725
  query?: never;
1127
- url: '/billing/payment-method';
1726
+ url: '/users';
1128
1727
  };
1129
- export type GetPaymentMethodSecretResponses = {
1728
+ export type CreateUserResponses = {
1130
1729
  /**
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
- *
1730
+ * Successfully created. Returns created user details.
1133
1731
  */
1134
- 200: {
1732
+ 200: User;
1733
+ };
1734
+ export type CreateUserResponse = CreateUserResponses[keyof CreateUserResponses];
1735
+ export type DeleteUserData = {
1736
+ body?: never;
1737
+ path: {
1135
1738
  /**
1136
- * The client secret.
1739
+ * Unique user identifier. UUID v4 string in canonical form
1137
1740
  */
1138
- id?: string;
1741
+ user_id: string;
1139
1742
  };
1140
- };
1141
- export type GetPaymentMethodSecretResponse = GetPaymentMethodSecretResponses[keyof GetPaymentMethodSecretResponses];
1142
- export type ListInvoicesData = {
1143
- body?: never;
1144
- path?: never;
1145
1743
  query?: never;
1146
- url: '/billing/invoices';
1744
+ url: '/users/{user_id}';
1147
1745
  };
1148
- export type ListInvoicesErrors = {
1746
+ export type DeleteUserErrors = {
1747
+ /**
1748
+ * Deleting own user is not allowed. Delete your organization instead.
1749
+ */
1750
+ 400: unknown;
1149
1751
  /**
1150
1752
  * Not authenticated
1151
1753
  */
1152
1754
  401: unknown;
1153
1755
  };
1154
- export type ListInvoicesResponses = {
1756
+ export type DeleteUserResponses = {
1155
1757
  /**
1156
- * An array of usage records.
1758
+ * User profile information
1157
1759
  */
1158
- 200: Array<Invoice>;
1760
+ 200: User;
1159
1761
  };
1160
- export type ListInvoicesResponse = ListInvoicesResponses[keyof ListInvoicesResponses];
1161
- export type GetContactData = {
1762
+ export type DeleteUserResponse = DeleteUserResponses[keyof DeleteUserResponses];
1763
+ export type GetUserData = {
1162
1764
  body?: never;
1163
- path?: never;
1765
+ path: {
1766
+ /**
1767
+ * Unique user identifier. UUID v4 string in canonical form
1768
+ */
1769
+ user_id: string;
1770
+ };
1164
1771
  query?: never;
1165
- url: '/billing/contact';
1772
+ url: '/users/{user_id}';
1166
1773
  };
1167
- export type GetContactResponses = {
1774
+ export type GetUserErrors = {
1168
1775
  /**
1169
- * Returns a single object containing organization contact and billing address details.
1776
+ * Not authenticated
1170
1777
  */
1171
- 200: BillingContact;
1778
+ 401: unknown;
1172
1779
  };
1173
- export type GetContactResponse = GetContactResponses[keyof GetContactResponses];
1174
- export type UpdateContactData = {
1175
- body: BillingContact;
1176
- path?: never;
1780
+ export type GetUserResponses = {
1781
+ /**
1782
+ * User profile information
1783
+ */
1784
+ 200: User;
1785
+ };
1786
+ export type GetUserResponse = GetUserResponses[keyof GetUserResponses];
1787
+ export type UpdateUserData = {
1788
+ body: UserUpdateInput;
1789
+ path: {
1790
+ /**
1791
+ * Unique user identifier. UUID v4 string in canonical form
1792
+ */
1793
+ user_id: string;
1794
+ };
1177
1795
  query?: never;
1178
- url: '/billing/contact';
1796
+ url: '/users/{user_id}';
1179
1797
  };
1180
- export type UpdateContactResponses = {
1798
+ export type UpdateUserResponses = {
1181
1799
  /**
1182
- * Successfully updated. Returns updated organization details.
1800
+ * Successfully created. Returns created user details.
1183
1801
  */
1184
- 200: BillingContact;
1802
+ 200: User;
1185
1803
  };
1186
- export type UpdateContactResponse = UpdateContactResponses[keyof UpdateContactResponses];
1187
- export type GetCreditsData = {
1804
+ export type UpdateUserResponse = UpdateUserResponses[keyof UpdateUserResponses];
1805
+ export type ListTokensData = {
1188
1806
  body?: never;
1189
1807
  path?: never;
1190
1808
  query?: never;
1191
- url: '/billing/credits';
1809
+ url: '/tokens';
1192
1810
  };
1193
- export type GetCreditsErrors = {
1811
+ export type ListTokensErrors = {
1194
1812
  /**
1195
1813
  * Not authenticated
1196
1814
  */
1197
1815
  401: unknown;
1198
1816
  };
1199
- export type GetCreditsResponses = {
1817
+ export type ListTokensResponses = {
1200
1818
  /**
1201
- * An array of the applied promotional credits records.
1819
+ * Returns a list of access token details with masked secrets.
1202
1820
  */
1203
- 200: Array<BillingCredits>;
1821
+ 200: Array<Token>;
1204
1822
  };
1205
- export type GetCreditsResponse = GetCreditsResponses[keyof GetCreditsResponses];
1206
- export type RedeemCreditsData = {
1207
- body: {
1208
- /**
1209
- * Promotional code to redeem
1210
- */
1211
- code?: string;
1212
- };
1823
+ export type ListTokensResponse = ListTokensResponses[keyof ListTokensResponses];
1824
+ export type CreateTokenData = {
1825
+ body: TokenCreateInput;
1213
1826
  path?: never;
1214
1827
  query?: never;
1215
- url: '/billing/credits';
1828
+ url: '/tokens';
1216
1829
  };
1217
- export type RedeemCreditsErrors = {
1830
+ export type CreateTokenErrors = {
1218
1831
  /**
1219
1832
  * Not authenticated
1220
1833
  */
1221
1834
  401: unknown;
1222
1835
  };
1223
- export type RedeemCreditsResponses = {
1836
+ export type CreateTokenResponses = {
1224
1837
  /**
1225
- * Successfully created a new organization.
1838
+ * Successfully created. Returns created token details with unmasked/raw secret.
1839
+ */
1840
+ 200: Token;
1841
+ };
1842
+ export type CreateTokenResponse = CreateTokenResponses[keyof CreateTokenResponses];
1843
+ export type DeleteTokenData = {
1844
+ body?: never;
1845
+ path: {
1846
+ /**
1847
+ * Generated unique identifier of the access token.
1848
+ */
1849
+ token_id: string;
1850
+ };
1851
+ query?: never;
1852
+ url: '/tokens/{token_id}';
1853
+ };
1854
+ export type DeleteTokenResponses = {
1855
+ /**
1856
+ * Successfully deleted.
1226
1857
  */
1227
1858
  200: unknown;
1228
1859
  };
1229
- export type ListChartsData = {
1860
+ export type GetTokenData = {
1230
1861
  body?: never;
1231
1862
  path: {
1232
1863
  /**
1233
- * Unique identifier of the cluster. UUID v4 string in canonical form
1864
+ * Generated unique identifier of the access token.
1234
1865
  */
1235
- cluster_id: string;
1866
+ token_id: string;
1236
1867
  };
1237
1868
  query?: never;
1238
- url: '/clusters/{cluster_id}/charts';
1869
+ url: '/tokens/{token_id}';
1239
1870
  };
1240
- export type ListChartsErrors = {
1871
+ export type GetTokenErrors = {
1241
1872
  /**
1242
1873
  * Not authenticated
1243
1874
  */
1244
1875
  401: unknown;
1245
1876
  };
1246
- export type ListChartsResponses = {
1877
+ export type GetTokenResponses = {
1247
1878
  /**
1248
- * An array of charts
1879
+ * Returns access token details with masked secret.
1249
1880
  */
1250
- 200: Array<Chart>;
1881
+ 200: Token;
1251
1882
  };
1252
- export type ListChartsResponse = ListChartsResponses[keyof ListChartsResponses];
1253
- export type CreateChartData = {
1254
- body: ChartCreateInput;
1883
+ export type GetTokenResponse = GetTokenResponses[keyof GetTokenResponses];
1884
+ export type UpdateTokenData = {
1885
+ body: TokenUpdateInput;
1255
1886
  path: {
1256
1887
  /**
1257
- * Unique identifier of the cluster. UUID v4 string in canonical form
1888
+ * Generated unique identifier of the access token.
1258
1889
  */
1259
- cluster_id: string;
1890
+ token_id: string;
1260
1891
  };
1261
1892
  query?: never;
1262
- url: '/clusters/{cluster_id}/charts';
1893
+ url: '/tokens/{token_id}';
1263
1894
  };
1264
- export type CreateChartResponses = {
1895
+ export type UpdateTokenErrors = {
1265
1896
  /**
1266
- * Successfully created. Returns created Chart ID.
1897
+ * Not authenticated
1267
1898
  */
1268
- 200: string;
1899
+ 401: unknown;
1269
1900
  };
1270
- export type CreateChartResponse = CreateChartResponses[keyof CreateChartResponses];
1271
- export type DeleteChartData = {
1901
+ export type UpdateTokenResponses = {
1902
+ /**
1903
+ * Successfully updated. Returns updated token details with masked secret.
1904
+ */
1905
+ 200: Token;
1906
+ };
1907
+ export type UpdateTokenResponse = UpdateTokenResponses[keyof UpdateTokenResponses];
1908
+ export type RegenerateTokenData = {
1272
1909
  body?: never;
1273
1910
  path: {
1274
1911
  /**
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.
1912
+ * Generated unique identifier of the access token.
1280
1913
  */
1281
- chart_name: string;
1914
+ token_id: string;
1282
1915
  };
1283
1916
  query?: never;
1284
- url: '/clusters/{cluster_id}/charts/{chart_name}';
1917
+ url: '/tokens/{token_id}/secret';
1285
1918
  };
1286
- export type DeleteChartResponses = {
1919
+ export type RegenerateTokenErrors = {
1287
1920
  /**
1288
- * Successfully deleted.
1921
+ * Not authenticated
1289
1922
  */
1290
- 200: string;
1923
+ 401: unknown;
1291
1924
  };
1292
- export type DeleteChartResponse = DeleteChartResponses[keyof DeleteChartResponses];
1293
- export type GetChartData = {
1925
+ export type RegenerateTokenResponses = {
1926
+ /**
1927
+ * Successfully updated. Returns updated token details with unmasked / raw secret.
1928
+ */
1929
+ 200: Token;
1930
+ };
1931
+ export type RegenerateTokenResponse = RegenerateTokenResponses[keyof RegenerateTokenResponses];
1932
+ export type ListTicketsData = {
1294
1933
  body?: never;
1295
- path: {
1296
- /**
1297
- * Unique identifier of the cluster. UUID v4 string in canonical form
1298
- */
1299
- cluster_id: string;
1300
- /**
1301
- * Chart deployment name as the unique identifier of the chart.
1302
- */
1303
- chart_name: string;
1304
- };
1934
+ path?: never;
1305
1935
  query?: never;
1306
- url: '/clusters/{cluster_id}/charts/{chart_name}';
1936
+ url: '/tickets';
1307
1937
  };
1308
- export type GetChartResponses = {
1938
+ export type ListTicketsResponses = {
1309
1939
  /**
1310
- * Returns a single object containing chart details.
1940
+ * An array of tickets for the organization, newest first.
1311
1941
  */
1312
- 200: Chart;
1942
+ 200: Array<Ticket>;
1313
1943
  };
1314
- export type GetChartResponse = GetChartResponses[keyof GetChartResponses];
1315
- export type UpdateChartData = {
1316
- body: ChartUpdateInput;
1317
- path: {
1318
- /**
1319
- * Unique identifier of the cluster. UUID v4 string in canonical form
1320
- */
1321
- cluster_id: string;
1944
+ export type ListTicketsResponse = ListTicketsResponses[keyof ListTicketsResponses];
1945
+ export type CreateTicketData = {
1946
+ body: {
1322
1947
  /**
1323
- * Chart deployment name as the unique identifier of the chart.
1948
+ * JSON-encoded TicketCreateInput.
1324
1949
  */
1325
- chart_name: string;
1950
+ payload?: string;
1951
+ attachments?: Array<Blob | File>;
1326
1952
  };
1953
+ path?: never;
1327
1954
  query?: never;
1328
- url: '/clusters/{cluster_id}/charts/{chart_name}';
1955
+ url: '/tickets';
1329
1956
  };
1330
- export type UpdateChartResponses = {
1957
+ export type CreateTicketResponses = {
1331
1958
  /**
1332
- * Successfully updated.
1959
+ * Ticket created.
1333
1960
  */
1334
- 200: string;
1961
+ 200: Ticket;
1335
1962
  };
1336
- export type UpdateChartResponse = UpdateChartResponses[keyof UpdateChartResponses];
1337
- export type ListFleetsData = {
1963
+ export type CreateTicketResponse = CreateTicketResponses[keyof CreateTicketResponses];
1964
+ export type CloseTicketData = {
1338
1965
  body?: never;
1339
1966
  path: {
1340
- /**
1341
- * Unique identifier of the cluster. UUID v4 string in canonical form
1342
- */
1343
- cluster_id: string;
1967
+ ticket_id: string;
1344
1968
  };
1345
1969
  query?: never;
1346
- url: '/clusters/{cluster_id}/fleets';
1970
+ url: '/tickets/{ticket_id}';
1347
1971
  };
1348
- export type ListFleetsErrors = {
1972
+ export type CloseTicketResponses = {
1349
1973
  /**
1350
- * Not authenticated
1974
+ * Ticket closed.
1351
1975
  */
1352
- 401: unknown;
1976
+ 200: Ticket;
1353
1977
  };
1354
- export type ListFleetsResponses = {
1978
+ export type CloseTicketResponse = CloseTicketResponses[keyof CloseTicketResponses];
1979
+ export type GetTicketData = {
1980
+ body?: never;
1981
+ path: {
1982
+ ticket_id: string;
1983
+ };
1984
+ query?: never;
1985
+ url: '/tickets/{ticket_id}';
1986
+ };
1987
+ export type GetTicketResponses = {
1355
1988
  /**
1356
- * An array of fleets
1989
+ * Ticket with messages (internal notes excluded).
1357
1990
  */
1358
- 200: Array<Fleet>;
1991
+ 200: Ticket;
1359
1992
  };
1360
- export type ListFleetsResponse = ListFleetsResponses[keyof ListFleetsResponses];
1361
- export type CreateFleetData = {
1362
- body: FleetCreateInput;
1363
- path: {
1993
+ export type GetTicketResponse = GetTicketResponses[keyof GetTicketResponses];
1994
+ export type ReplyTicketData = {
1995
+ body: {
1364
1996
  /**
1365
- * Unique identifier of the cluster. UUID v4 string in canonical form
1997
+ * JSON-encoded TicketMessageInput.
1366
1998
  */
1367
- cluster_id: string;
1999
+ payload?: string;
2000
+ attachments?: Array<Blob | File>;
2001
+ };
2002
+ path: {
2003
+ ticket_id: string;
1368
2004
  };
1369
2005
  query?: never;
1370
- url: '/clusters/{cluster_id}/fleets';
2006
+ url: '/tickets/{ticket_id}/messages';
1371
2007
  };
1372
- export type CreateFleetErrors = {
2008
+ export type ReplyTicketErrors = {
1373
2009
  /**
1374
- * Cluster quota exceeded. Maximum number of fleets per cluster allowed in this organization is reached.
2010
+ * Ticket is closed. Open a new ticket instead.
1375
2011
  */
1376
- 402: string;
2012
+ 409: unknown;
1377
2013
  };
1378
- export type CreateFleetError = CreateFleetErrors[keyof CreateFleetErrors];
1379
- export type CreateFleetResponses = {
2014
+ export type ReplyTicketResponses = {
1380
2015
  /**
1381
- * Successfully created. Returns created Fleet ID.
2016
+ * Reply appended.
1382
2017
  */
1383
- 200: string;
2018
+ 200: TicketMessage;
1384
2019
  };
1385
- export type CreateFleetResponse = CreateFleetResponses[keyof CreateFleetResponses];
1386
- export type DeleteFleetData = {
2020
+ export type ReplyTicketResponse = ReplyTicketResponses[keyof ReplyTicketResponses];
2021
+ export type GetTicketAttachmentData = {
1387
2022
  body?: never;
1388
2023
  path: {
1389
- /**
1390
- * Unique identifier of the cluster. UUID v4 string in canonical form
1391
- */
1392
- cluster_id: string;
1393
- /**
1394
- * Unique identifier of the fleet. UUID v4 string in canonical form
1395
- */
1396
- fleet_name: string;
2024
+ ticket_id: string;
2025
+ attachment_id: string;
1397
2026
  };
1398
2027
  query?: never;
1399
- url: '/clusters/{cluster_id}/fleets/{fleet_name}';
2028
+ url: '/tickets/{ticket_id}/attachments/{attachment_id}';
1400
2029
  };
1401
- export type DeleteFleetResponses = {
2030
+ export type GetTicketAttachmentResponses = {
1402
2031
  /**
1403
- * Successfully deleted.
2032
+ * Attachment binary stream.
1404
2033
  */
1405
- 200: string;
2034
+ 200: Blob | File;
1406
2035
  };
1407
- export type DeleteFleetResponse = DeleteFleetResponses[keyof DeleteFleetResponses];
1408
- export type GetFleetData = {
2036
+ export type GetTicketAttachmentResponse = GetTicketAttachmentResponses[keyof GetTicketAttachmentResponses];
2037
+ export type ListRoadmapData = {
1409
2038
  body?: never;
1410
- path: {
1411
- /**
1412
- * Unique identifier of the cluster. UUID v4 string in canonical form
1413
- */
1414
- cluster_id: string;
1415
- /**
1416
- * Unique identifier of the fleet. UUID v4 string in canonical form
1417
- */
1418
- fleet_name: string;
1419
- };
2039
+ path?: never;
1420
2040
  query?: never;
1421
- url: '/clusters/{cluster_id}/fleets/{fleet_name}';
2041
+ url: '/roadmap';
1422
2042
  };
1423
- export type GetFleetResponses = {
2043
+ export type ListRoadmapResponses = {
1424
2044
  /**
1425
- * Returns a single object containing fleet details.
2045
+ * An array of roadmap items, newest first.
1426
2046
  */
1427
- 200: Fleet;
2047
+ 200: Array<RoadmapItem>;
1428
2048
  };
1429
- export type GetFleetResponse = GetFleetResponses[keyof GetFleetResponses];
1430
- export type UpdateFleetData = {
1431
- body: FleetUpdateInput;
2049
+ export type ListRoadmapResponse = ListRoadmapResponses[keyof ListRoadmapResponses];
2050
+ export type SuggestRoadmapData = {
2051
+ body: RoadmapItemCreateInput;
2052
+ path?: never;
2053
+ query?: never;
2054
+ url: '/roadmap';
2055
+ };
2056
+ export type SuggestRoadmapResponses = {
2057
+ /**
2058
+ * Suggestion submitted for review.
2059
+ */
2060
+ 200: RoadmapItem;
2061
+ };
2062
+ export type SuggestRoadmapResponse = SuggestRoadmapResponses[keyof SuggestRoadmapResponses];
2063
+ export type UnvoteRoadmapData = {
2064
+ body?: never;
1432
2065
  path: {
1433
- /**
1434
- * Unique identifier of the cluster. UUID v4 string in canonical form
1435
- */
1436
- cluster_id: string;
1437
- /**
1438
- * Unique identifier of the fleet. UUID v4 string in canonical form
1439
- */
1440
- fleet_name: string;
2066
+ item_id: string;
1441
2067
  };
1442
2068
  query?: never;
1443
- url: '/clusters/{cluster_id}/fleets/{fleet_name}';
2069
+ url: '/roadmap/{item_id}/vote';
1444
2070
  };
1445
- export type UpdateFleetErrors = {
2071
+ export type UnvoteRoadmapErrors = {
1446
2072
  /**
1447
- * Organization must have a valid payment method configured to access this endpoint.
2073
+ * Roadmap item not found.
1448
2074
  */
1449
- 402: string;
2075
+ 404: unknown;
1450
2076
  };
1451
- export type UpdateFleetError = UpdateFleetErrors[keyof UpdateFleetErrors];
1452
- export type UpdateFleetResponses = {
2077
+ export type UnvoteRoadmapResponses = {
1453
2078
  /**
1454
- * Successfully updated.
2079
+ * Vote removed. Returns the item without a vote.
1455
2080
  */
1456
- 200: string;
2081
+ 200: RoadmapItem;
1457
2082
  };
1458
- export type UpdateFleetResponse = UpdateFleetResponses[keyof UpdateFleetResponses];
1459
- export type QueryClusterData = {
1460
- body?: never;
2083
+ export type UnvoteRoadmapResponse = UnvoteRoadmapResponses[keyof UnvoteRoadmapResponses];
2084
+ export type VoteRoadmapData = {
2085
+ body: RoadmapVoteInput;
1461
2086
  path: {
1462
- /**
1463
- * Unique identifier of the cluster. UUID v4 string in canonical form
1464
- */
1465
- cluster_id: string;
2087
+ item_id: string;
1466
2088
  };
1467
2089
  query?: never;
1468
- url: '/clusters/{cluster_id}/query';
2090
+ url: '/roadmap/{item_id}/vote';
1469
2091
  };
1470
- export type QueryClusterErrors = {
2092
+ export type VoteRoadmapErrors = {
1471
2093
  /**
1472
- * Not authenticated
2094
+ * Roadmap item not found.
1473
2095
  */
1474
- 401: unknown;
2096
+ 404: unknown;
1475
2097
  };
1476
- export type QueryClusterResponses = {
2098
+ export type VoteRoadmapResponses = {
1477
2099
  /**
1478
- * Kubernetes API response
2100
+ * Vote saved. Returns the item with your vote.
1479
2101
  */
1480
- 200: unknown;
2102
+ 200: RoadmapItem;
1481
2103
  };
1482
- export type ListClustersData = {
2104
+ export type VoteRoadmapResponse = VoteRoadmapResponses[keyof VoteRoadmapResponses];
2105
+ export type ListRepositoriesData = {
1483
2106
  body?: never;
1484
2107
  path?: never;
1485
2108
  query?: never;
1486
- url: '/clusters';
2109
+ url: '/registry';
1487
2110
  };
1488
- export type ListClustersErrors = {
2111
+ export type ListRepositoriesErrors = {
1489
2112
  /**
1490
2113
  * Not authenticated
1491
2114
  */
1492
2115
  401: unknown;
1493
- };
1494
- export type ListClustersResponses = {
1495
- /**
1496
- * An array of clusters
1497
- */
1498
- 200: Array<Cluster>;
1499
- };
1500
- export type ListClustersResponse = ListClustersResponses[keyof ListClustersResponses];
1501
- export type CreateClusterData = {
1502
- body: ClusterCreateInput;
1503
- path?: never;
1504
- query?: never;
1505
- url: '/clusters';
1506
- };
1507
- export type CreateClusterErrors = {
1508
2116
  /**
1509
- * Cluster quota exceeded. Maximum number of clusters allowed in this organization is reached.
2117
+ * Internal server error
1510
2118
  */
1511
- 402: string;
2119
+ 500: unknown;
1512
2120
  };
1513
- export type CreateClusterError = CreateClusterErrors[keyof CreateClusterErrors];
1514
- export type CreateClusterResponses = {
2121
+ export type ListRepositoriesResponses = {
1515
2122
  /**
1516
- * Successfully created. Returns created Cluster ID.
2123
+ * List of repositories
1517
2124
  */
1518
- 200: string;
2125
+ 200: Array<RegistryRepository>;
1519
2126
  };
1520
- export type CreateClusterResponse = CreateClusterResponses[keyof CreateClusterResponses];
1521
- export type DeleteClusterData = {
2127
+ export type ListRepositoriesResponse = ListRepositoriesResponses[keyof ListRepositoriesResponses];
2128
+ export type ListTagsData = {
1522
2129
  body?: never;
1523
2130
  path: {
1524
2131
  /**
1525
- * Unique identifier of the cluster. UUID v4 string in canonical form
2132
+ * Region where the repository is located
1526
2133
  */
1527
- cluster_id: string;
2134
+ region: string;
2135
+ /**
2136
+ * Name of the repository
2137
+ */
2138
+ repository: string;
1528
2139
  };
1529
2140
  query?: never;
1530
- url: '/clusters/{cluster_id}';
2141
+ url: '/registry/{region}/{repository}';
1531
2142
  };
1532
- export type DeleteClusterResponses = {
2143
+ export type ListTagsErrors = {
1533
2144
  /**
1534
- * Successfully deleted.
2145
+ * Not authenticated
1535
2146
  */
1536
- 200: string;
2147
+ 401: unknown;
2148
+ /**
2149
+ * Repository not found
2150
+ */
2151
+ 404: unknown;
2152
+ /**
2153
+ * Internal server error
2154
+ */
2155
+ 500: unknown;
1537
2156
  };
1538
- export type DeleteClusterResponse = DeleteClusterResponses[keyof DeleteClusterResponses];
1539
- export type GetClusterData = {
2157
+ export type ListTagsResponses = {
2158
+ /**
2159
+ * Repository with tags
2160
+ */
2161
+ 200: RegistryRepositoryWithTags;
2162
+ };
2163
+ export type ListTagsResponse = ListTagsResponses[keyof ListTagsResponses];
2164
+ export type DeleteTagData = {
1540
2165
  body?: never;
1541
2166
  path: {
1542
2167
  /**
1543
- * Unique identifier of the cluster. UUID v4 string in canonical form
2168
+ * Region where the repository is located
1544
2169
  */
1545
- cluster_id: string;
2170
+ region: string;
2171
+ /**
2172
+ * Name of the repository
2173
+ */
2174
+ repository: string;
2175
+ /**
2176
+ * Name of the tag
2177
+ */
2178
+ tag: string;
1546
2179
  };
1547
2180
  query?: never;
1548
- url: '/clusters/{cluster_id}';
2181
+ url: '/registry/{region}/{repository}/{tag}';
1549
2182
  };
1550
- export type GetClusterResponses = {
2183
+ export type DeleteTagErrors = {
1551
2184
  /**
1552
- * Returns a single object containing cluster details.
2185
+ * Not authenticated
1553
2186
  */
1554
- 200: Cluster;
1555
- };
1556
- export type GetClusterResponse = GetClusterResponses[keyof GetClusterResponses];
1557
- export type UpdateClusterData = {
1558
- body: ClusterUpdateInput;
1559
- path: {
1560
- /**
1561
- * Unique identifier of the cluster. UUID v4 string in canonical form
1562
- */
1563
- cluster_id: string;
1564
- };
1565
- query?: never;
1566
- url: '/clusters/{cluster_id}';
2187
+ 401: unknown;
2188
+ /**
2189
+ * Tag not found
2190
+ */
2191
+ 404: unknown;
2192
+ /**
2193
+ * Internal server error
2194
+ */
2195
+ 500: unknown;
1567
2196
  };
1568
- export type UpdateClusterResponses = {
2197
+ export type DeleteTagResponses = {
1569
2198
  /**
1570
- * Successfully updated. Returns updated cluster details.
2199
+ * Tag successfully deleted
1571
2200
  */
1572
- 200: Cluster;
2201
+ 200: unknown;
1573
2202
  };
1574
- export type UpdateClusterResponse = UpdateClusterResponses[keyof UpdateClusterResponses];
1575
- export type GetJoinInformationData = {
2203
+ export type GetTagData = {
1576
2204
  body?: never;
1577
2205
  path: {
1578
2206
  /**
1579
- * Unique identifier of the cluster. UUID v4 string in canonical form
2207
+ * Region where the repository is located
1580
2208
  */
1581
- cluster_id: string;
2209
+ region: string;
2210
+ /**
2211
+ * Name of the repository
2212
+ */
2213
+ repository: string;
2214
+ /**
2215
+ * Name of the tag
2216
+ */
2217
+ tag: string;
1582
2218
  };
1583
2219
  query?: never;
1584
- url: '/clusters/{cluster_id}/join_information';
2220
+ url: '/registry/{region}/{repository}/{tag}';
1585
2221
  };
1586
- export type GetJoinInformationErrors = {
2222
+ export type GetTagErrors = {
1587
2223
  /**
1588
2224
  * Not authenticated
1589
2225
  */
1590
2226
  401: unknown;
2227
+ /**
2228
+ * Tag not found
2229
+ */
2230
+ 404: unknown;
2231
+ /**
2232
+ * Internal server error
2233
+ */
2234
+ 500: unknown;
1591
2235
  };
1592
- export type GetJoinInformationResponses = {
2236
+ export type GetTagResponses = {
1593
2237
  /**
1594
- * An object of cluster join information
2238
+ * Tag details
1595
2239
  */
1596
- 200: ClusterJoinInformation;
2240
+ 200: RegistryTag;
1597
2241
  };
1598
- export type GetJoinInformationResponse = GetJoinInformationResponses[keyof GetJoinInformationResponses];
1599
- export type ListInvitesData = {
2242
+ export type GetTagResponse = GetTagResponses[keyof GetTagResponses];
2243
+ export type GetOrganizationData = {
1600
2244
  body?: never;
1601
2245
  path?: never;
1602
2246
  query?: never;
1603
- url: '/invites';
1604
- };
1605
- export type ListInvitesErrors = {
1606
- /**
1607
- * Not authenticated
1608
- */
1609
- 401: unknown;
2247
+ url: '/organization';
1610
2248
  };
1611
- export type ListInvitesResponses = {
2249
+ export type GetOrganizationResponses = {
1612
2250
  /**
1613
- * An array of invites
2251
+ * Returns a single object containing organization details.
1614
2252
  */
1615
- 200: Array<Invite>;
2253
+ 200: Organization;
1616
2254
  };
1617
- export type ListInvitesResponse = ListInvitesResponses[keyof ListInvitesResponses];
1618
- export type CreateInviteData = {
1619
- body: {
1620
- /**
1621
- * User email address
1622
- */
1623
- email?: string;
1624
- };
2255
+ export type GetOrganizationResponse = GetOrganizationResponses[keyof GetOrganizationResponses];
2256
+ export type CreateOrganizationData = {
2257
+ body: OrganizationCreateInput;
1625
2258
  path?: never;
1626
2259
  query?: never;
1627
- url: '/invites';
2260
+ url: '/organization';
1628
2261
  };
1629
- export type CreateInviteResponses = {
2262
+ export type CreateOrganizationResponses = {
1630
2263
  /**
1631
- * Successfully created. Returns created invite details.
2264
+ * Organization signup accepted. Returns the generated organization id immediately; provisioning (billing, Keycloak realm, user) continues asynchronously in the background.
2265
+ *
1632
2266
  */
1633
- 200: Invite;
2267
+ 200: OrganizationCreateOutput;
1634
2268
  };
1635
- export type CreateInviteResponse = CreateInviteResponses[keyof CreateInviteResponses];
1636
- export type GetInviteData = {
1637
- body?: never;
1638
- path: {
2269
+ export type CreateOrganizationResponse = CreateOrganizationResponses[keyof CreateOrganizationResponses];
2270
+ export type PostMcpData = {
2271
+ /**
2272
+ * JSON-RPC 2.0 request payload
2273
+ */
2274
+ body: {
2275
+ jsonrpc?: string;
2276
+ method?: string;
2277
+ id?: string | number;
1639
2278
  /**
1640
- * Invitation code
2279
+ * Method-specific parameters
1641
2280
  */
1642
- code: string;
2281
+ params?: {
2282
+ [key: string]: unknown;
2283
+ };
1643
2284
  };
2285
+ path?: never;
1644
2286
  query?: never;
1645
- url: '/invites/{code}';
2287
+ url: '/mcp';
1646
2288
  };
1647
- export type GetInviteResponses = {
2289
+ export type PostMcpErrors = {
1648
2290
  /**
1649
- * Returns a single object containing invite details.
2291
+ * Not authenticated
1650
2292
  */
1651
- 200: Invite;
1652
- };
1653
- export type GetInviteResponse = GetInviteResponses[keyof GetInviteResponses];
1654
- export type DeleteInviteData = {
1655
- body?: never;
1656
- path: {
1657
- /**
1658
- * User email address
1659
- */
1660
- email: string;
1661
- };
1662
- query?: never;
1663
- url: '/invites/{email}';
2293
+ 401: unknown;
1664
2294
  };
1665
- export type DeleteInviteResponses = {
2295
+ export type PostMcpResponses = {
1666
2296
  /**
1667
- * Successfully deleted.
2297
+ * JSON-RPC 2.0 success or error response
1668
2298
  */
1669
- 200: unknown;
2299
+ 200: {
2300
+ jsonrpc?: string;
2301
+ id?: string | number;
2302
+ result?: {
2303
+ [key: string]: unknown;
2304
+ };
2305
+ error?: {
2306
+ code?: number;
2307
+ message?: string;
2308
+ };
2309
+ };
1670
2310
  };
2311
+ export type PostMcpResponse = PostMcpResponses[keyof PostMcpResponses];
1671
2312
  export type ListMarketplaceChartsData = {
1672
2313
  body?: never;
1673
2314
  path?: never;
@@ -1715,465 +2356,761 @@ export type GetMarketplaceChartFilesResponses = {
1715
2356
  200: MarketplaceListingFiles;
1716
2357
  };
1717
2358
  export type GetMarketplaceChartFilesResponse = GetMarketplaceChartFilesResponses[keyof GetMarketplaceChartFilesResponses];
1718
- export type PostMcpData = {
2359
+ export type ListInvitesData = {
2360
+ body?: never;
2361
+ path?: never;
2362
+ query?: never;
2363
+ url: '/invites';
2364
+ };
2365
+ export type ListInvitesErrors = {
1719
2366
  /**
1720
- * JSON-RPC 2.0 request payload
2367
+ * Not authenticated
1721
2368
  */
1722
- body: {
1723
- jsonrpc?: string;
1724
- method?: string;
1725
- id?: string | number;
1726
- /**
1727
- * Method-specific parameters
1728
- */
1729
- params?: {
1730
- [key: string]: unknown;
1731
- };
1732
- };
2369
+ 401: unknown;
2370
+ };
2371
+ export type ListInvitesResponses = {
2372
+ /**
2373
+ * An array of invites
2374
+ */
2375
+ 200: Array<Invite>;
2376
+ };
2377
+ export type ListInvitesResponse = ListInvitesResponses[keyof ListInvitesResponses];
2378
+ export type CreateInviteData = {
2379
+ body: InviteCreateInput;
1733
2380
  path?: never;
1734
2381
  query?: never;
1735
- url: '/mcp';
2382
+ url: '/invites';
1736
2383
  };
1737
- export type PostMcpErrors = {
2384
+ export type CreateInviteResponses = {
1738
2385
  /**
1739
- * Not authenticated
2386
+ * Successfully created. Returns created invite details.
1740
2387
  */
1741
- 401: unknown;
2388
+ 200: Invite;
1742
2389
  };
1743
- export type PostMcpResponses = {
2390
+ export type CreateInviteResponse = CreateInviteResponses[keyof CreateInviteResponses];
2391
+ export type GetInviteData = {
2392
+ body?: never;
2393
+ path: {
2394
+ /**
2395
+ * Invitation code
2396
+ */
2397
+ code: string;
2398
+ };
2399
+ query?: never;
2400
+ url: '/invites/{code}';
2401
+ };
2402
+ export type GetInviteResponses = {
1744
2403
  /**
1745
- * JSON-RPC 2.0 success or error response
2404
+ * The invitation code is valid. Returns the invited email and organization.
1746
2405
  */
1747
2406
  200: {
1748
- jsonrpc?: string;
1749
- id?: string | number;
1750
- result?: {
1751
- [key: string]: unknown;
1752
- };
1753
- error?: {
1754
- code?: number;
1755
- message?: string;
1756
- };
2407
+ /**
2408
+ * Email address the invite was issued to.
2409
+ */
2410
+ email?: string;
2411
+ /**
2412
+ * Identifier of the organization the invite grants access to.
2413
+ */
2414
+ organization_id?: string;
1757
2415
  };
1758
2416
  };
1759
- export type PostMcpResponse = PostMcpResponses[keyof PostMcpResponses];
1760
- export type GetOrganizationData = {
2417
+ export type GetInviteResponse = GetInviteResponses[keyof GetInviteResponses];
2418
+ export type DeleteInviteData = {
1761
2419
  body?: never;
1762
- path?: never;
2420
+ path: {
2421
+ /**
2422
+ * User email address
2423
+ */
2424
+ email: string;
2425
+ };
1763
2426
  query?: never;
1764
- url: '/organization';
2427
+ url: '/invites/{email}';
1765
2428
  };
1766
- export type GetOrganizationResponses = {
2429
+ export type DeleteInviteResponses = {
1767
2430
  /**
1768
- * Returns a single object containing organization details.
2431
+ * Successfully deleted.
1769
2432
  */
1770
- 200: Organization;
2433
+ 200: unknown;
1771
2434
  };
1772
- export type GetOrganizationResponse = GetOrganizationResponses[keyof GetOrganizationResponses];
1773
- export type CreateOrganizationData = {
1774
- body: OrganizationCreateInput;
1775
- path?: never;
2435
+ export type QueryClusterData = {
2436
+ body?: never;
2437
+ path: {
2438
+ /**
2439
+ * Unique identifier of the cluster. UUID v4 string in canonical form
2440
+ */
2441
+ cluster_id: string;
2442
+ };
1776
2443
  query?: never;
1777
- url: '/organization';
2444
+ url: '/clusters/{cluster_id}/query';
1778
2445
  };
1779
- export type CreateOrganizationResponses = {
2446
+ export type QueryClusterErrors = {
1780
2447
  /**
1781
- * Successfully created a new organization.
2448
+ * Not authenticated
2449
+ */
2450
+ 401: unknown;
2451
+ };
2452
+ export type QueryClusterResponses = {
2453
+ /**
2454
+ * Kubernetes API response
1782
2455
  */
1783
2456
  200: unknown;
1784
2457
  };
1785
- export type ListRepositoriesData = {
2458
+ export type ListFleetsData = {
1786
2459
  body?: never;
1787
- path?: never;
2460
+ path: {
2461
+ /**
2462
+ * Unique identifier of the cluster. UUID v4 string in canonical form
2463
+ */
2464
+ cluster_id: string;
2465
+ };
1788
2466
  query?: never;
1789
- url: '/registry';
2467
+ url: '/clusters/{cluster_id}/fleets';
1790
2468
  };
1791
- export type ListRepositoriesErrors = {
2469
+ export type ListFleetsErrors = {
1792
2470
  /**
1793
2471
  * Not authenticated
1794
2472
  */
1795
2473
  401: unknown;
2474
+ };
2475
+ export type ListFleetsResponses = {
1796
2476
  /**
1797
- * Internal server error
2477
+ * An array of fleets
1798
2478
  */
1799
- 500: unknown;
2479
+ 200: Array<Fleet>;
1800
2480
  };
1801
- export type ListRepositoriesResponses = {
2481
+ export type ListFleetsResponse = ListFleetsResponses[keyof ListFleetsResponses];
2482
+ export type CreateFleetData = {
2483
+ body: FleetCreateInput;
2484
+ path: {
2485
+ /**
2486
+ * Unique identifier of the cluster. UUID v4 string in canonical form
2487
+ */
2488
+ cluster_id: string;
2489
+ };
2490
+ query?: never;
2491
+ url: '/clusters/{cluster_id}/fleets';
2492
+ };
2493
+ export type CreateFleetErrors = {
1802
2494
  /**
1803
- * List of repositories
2495
+ * Cluster quota exceeded. Maximum number of fleets per cluster allowed in this organization is reached.
1804
2496
  */
1805
- 200: Array<RegistryRepository>;
2497
+ 402: string;
2498
+ /**
2499
+ * 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.
2500
+ */
2501
+ 409: string;
1806
2502
  };
1807
- export type ListRepositoriesResponse = ListRepositoriesResponses[keyof ListRepositoriesResponses];
1808
- export type ListTagsData = {
2503
+ export type CreateFleetError = CreateFleetErrors[keyof CreateFleetErrors];
2504
+ export type CreateFleetResponses = {
2505
+ /**
2506
+ * Successfully created. Returns created Fleet ID.
2507
+ */
2508
+ 200: string;
2509
+ };
2510
+ export type CreateFleetResponse = CreateFleetResponses[keyof CreateFleetResponses];
2511
+ export type DeleteFleetData = {
1809
2512
  body?: never;
1810
2513
  path: {
1811
2514
  /**
1812
- * Region where the repository is located
2515
+ * Unique identifier of the cluster. UUID v4 string in canonical form
1813
2516
  */
1814
- region: string;
2517
+ cluster_id: string;
1815
2518
  /**
1816
- * Name of the repository
2519
+ * Unique identifier of the fleet. UUID v4 string in canonical form
1817
2520
  */
1818
- repository: string;
2521
+ fleet_name: string;
1819
2522
  };
1820
2523
  query?: never;
1821
- url: '/registry/{region}/{repository}';
2524
+ url: '/clusters/{cluster_id}/fleets/{fleet_name}';
1822
2525
  };
1823
- export type ListTagsErrors = {
2526
+ export type DeleteFleetErrors = {
2527
+ /**
2528
+ * 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.
2529
+ */
2530
+ 409: string;
2531
+ };
2532
+ export type DeleteFleetError = DeleteFleetErrors[keyof DeleteFleetErrors];
2533
+ export type DeleteFleetResponses = {
2534
+ /**
2535
+ * Successfully deleted.
2536
+ */
2537
+ 200: string;
2538
+ };
2539
+ export type DeleteFleetResponse = DeleteFleetResponses[keyof DeleteFleetResponses];
2540
+ export type GetFleetData = {
2541
+ body?: never;
2542
+ path: {
2543
+ /**
2544
+ * Unique identifier of the cluster. UUID v4 string in canonical form
2545
+ */
2546
+ cluster_id: string;
2547
+ /**
2548
+ * Unique identifier of the fleet. UUID v4 string in canonical form
2549
+ */
2550
+ fleet_name: string;
2551
+ };
2552
+ query?: never;
2553
+ url: '/clusters/{cluster_id}/fleets/{fleet_name}';
2554
+ };
2555
+ export type GetFleetResponses = {
2556
+ /**
2557
+ * Returns a single object containing fleet details.
2558
+ */
2559
+ 200: Fleet;
2560
+ };
2561
+ export type GetFleetResponse = GetFleetResponses[keyof GetFleetResponses];
2562
+ export type UpdateFleetData = {
2563
+ body: FleetUpdateInput;
2564
+ path: {
2565
+ /**
2566
+ * Unique identifier of the cluster. UUID v4 string in canonical form
2567
+ */
2568
+ cluster_id: string;
2569
+ /**
2570
+ * Unique identifier of the fleet. UUID v4 string in canonical form
2571
+ */
2572
+ fleet_name: string;
2573
+ };
2574
+ query?: never;
2575
+ url: '/clusters/{cluster_id}/fleets/{fleet_name}';
2576
+ };
2577
+ export type UpdateFleetErrors = {
2578
+ /**
2579
+ * Organization must have a valid payment method configured to access this endpoint.
2580
+ */
2581
+ 402: string;
2582
+ /**
2583
+ * 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.
2584
+ */
2585
+ 409: string;
2586
+ };
2587
+ export type UpdateFleetError = UpdateFleetErrors[keyof UpdateFleetErrors];
2588
+ export type UpdateFleetResponses = {
2589
+ /**
2590
+ * Successfully updated.
2591
+ */
2592
+ 200: string;
2593
+ };
2594
+ export type UpdateFleetResponse = UpdateFleetResponses[keyof UpdateFleetResponses];
2595
+ export type ListChartsData = {
2596
+ body?: never;
2597
+ path: {
2598
+ /**
2599
+ * Unique identifier of the cluster. UUID v4 string in canonical form
2600
+ */
2601
+ cluster_id: string;
2602
+ };
2603
+ query?: never;
2604
+ url: '/clusters/{cluster_id}/charts';
2605
+ };
2606
+ export type ListChartsErrors = {
1824
2607
  /**
1825
2608
  * Not authenticated
1826
2609
  */
1827
2610
  401: unknown;
2611
+ };
2612
+ export type ListChartsResponses = {
1828
2613
  /**
1829
- * Repository not found
2614
+ * An array of charts
1830
2615
  */
1831
- 404: unknown;
2616
+ 200: Array<Chart>;
2617
+ };
2618
+ export type ListChartsResponse = ListChartsResponses[keyof ListChartsResponses];
2619
+ export type CreateChartData = {
2620
+ body: ChartCreateInput;
2621
+ path: {
2622
+ /**
2623
+ * Unique identifier of the cluster. UUID v4 string in canonical form
2624
+ */
2625
+ cluster_id: string;
2626
+ };
2627
+ query?: never;
2628
+ url: '/clusters/{cluster_id}/charts';
2629
+ };
2630
+ export type CreateChartErrors = {
1832
2631
  /**
1833
- * Internal server error
2632
+ * 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.
1834
2633
  */
1835
- 500: unknown;
2634
+ 409: string;
1836
2635
  };
1837
- export type ListTagsResponses = {
2636
+ export type CreateChartError = CreateChartErrors[keyof CreateChartErrors];
2637
+ export type CreateChartResponses = {
1838
2638
  /**
1839
- * Repository with tags
2639
+ * Successfully created. Returns created Chart ID.
1840
2640
  */
1841
- 200: RegistryRepositoryWithTags;
2641
+ 200: string;
1842
2642
  };
1843
- export type ListTagsResponse = ListTagsResponses[keyof ListTagsResponses];
1844
- export type DeleteTagData = {
2643
+ export type CreateChartResponse = CreateChartResponses[keyof CreateChartResponses];
2644
+ export type DeleteChartData = {
1845
2645
  body?: never;
1846
2646
  path: {
1847
2647
  /**
1848
- * Region where the repository is located
2648
+ * Unique identifier of the cluster. UUID v4 string in canonical form
1849
2649
  */
1850
- region: string;
2650
+ cluster_id: string;
1851
2651
  /**
1852
- * Name of the repository
2652
+ * Chart deployment name as the unique identifier of the chart.
1853
2653
  */
1854
- repository: string;
2654
+ chart_name: string;
2655
+ };
2656
+ query?: never;
2657
+ url: '/clusters/{cluster_id}/charts/{chart_name}';
2658
+ };
2659
+ export type DeleteChartErrors = {
2660
+ /**
2661
+ * 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.
2662
+ */
2663
+ 409: string;
2664
+ };
2665
+ export type DeleteChartError = DeleteChartErrors[keyof DeleteChartErrors];
2666
+ export type DeleteChartResponses = {
2667
+ /**
2668
+ * Successfully deleted.
2669
+ */
2670
+ 200: string;
2671
+ };
2672
+ export type DeleteChartResponse = DeleteChartResponses[keyof DeleteChartResponses];
2673
+ export type GetChartData = {
2674
+ body?: never;
2675
+ path: {
1855
2676
  /**
1856
- * Name of the tag
2677
+ * Unique identifier of the cluster. UUID v4 string in canonical form
1857
2678
  */
1858
- tag: string;
2679
+ cluster_id: string;
2680
+ /**
2681
+ * Chart deployment name as the unique identifier of the chart.
2682
+ */
2683
+ chart_name: string;
1859
2684
  };
1860
2685
  query?: never;
1861
- url: '/registry/{region}/{repository}/{tag}';
2686
+ url: '/clusters/{cluster_id}/charts/{chart_name}';
1862
2687
  };
1863
- export type DeleteTagErrors = {
2688
+ export type GetChartResponses = {
2689
+ /**
2690
+ * Returns a single object containing chart details.
2691
+ */
2692
+ 200: Chart;
2693
+ };
2694
+ export type GetChartResponse = GetChartResponses[keyof GetChartResponses];
2695
+ export type UpdateChartData = {
2696
+ body: ChartUpdateInput;
2697
+ path: {
2698
+ /**
2699
+ * Unique identifier of the cluster. UUID v4 string in canonical form
2700
+ */
2701
+ cluster_id: string;
2702
+ /**
2703
+ * Chart deployment name as the unique identifier of the chart.
2704
+ */
2705
+ chart_name: string;
2706
+ };
2707
+ query?: never;
2708
+ url: '/clusters/{cluster_id}/charts/{chart_name}';
2709
+ };
2710
+ export type UpdateChartErrors = {
2711
+ /**
2712
+ * 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.
2713
+ */
2714
+ 409: string;
2715
+ };
2716
+ export type UpdateChartError = UpdateChartErrors[keyof UpdateChartErrors];
2717
+ export type UpdateChartResponses = {
2718
+ /**
2719
+ * Successfully updated.
2720
+ */
2721
+ 200: string;
2722
+ };
2723
+ export type UpdateChartResponse = UpdateChartResponses[keyof UpdateChartResponses];
2724
+ export type ListClustersData = {
2725
+ body?: never;
2726
+ path?: never;
2727
+ query?: never;
2728
+ url: '/clusters';
2729
+ };
2730
+ export type ListClustersErrors = {
1864
2731
  /**
1865
2732
  * Not authenticated
1866
2733
  */
1867
2734
  401: unknown;
2735
+ };
2736
+ export type ListClustersResponses = {
1868
2737
  /**
1869
- * Tag not found
2738
+ * An array of clusters
2739
+ */
2740
+ 200: Array<Cluster>;
2741
+ };
2742
+ export type ListClustersResponse = ListClustersResponses[keyof ListClustersResponses];
2743
+ export type CreateClusterData = {
2744
+ body: ClusterCreateInput;
2745
+ path?: never;
2746
+ query?: never;
2747
+ url: '/clusters';
2748
+ };
2749
+ export type CreateClusterErrors = {
2750
+ /**
2751
+ * Cluster quota exceeded. Maximum number of clusters allowed in this organization is reached.
2752
+ */
2753
+ 402: string;
2754
+ };
2755
+ export type CreateClusterError = CreateClusterErrors[keyof CreateClusterErrors];
2756
+ export type CreateClusterResponses = {
2757
+ /**
2758
+ * Successfully created. Returns created Cluster ID.
2759
+ */
2760
+ 200: string;
2761
+ };
2762
+ export type CreateClusterResponse = CreateClusterResponses[keyof CreateClusterResponses];
2763
+ export type DeleteClusterData = {
2764
+ body?: never;
2765
+ path: {
2766
+ /**
2767
+ * Unique identifier of the cluster. UUID v4 string in canonical form
2768
+ */
2769
+ cluster_id: string;
2770
+ };
2771
+ query?: never;
2772
+ url: '/clusters/{cluster_id}';
2773
+ };
2774
+ export type DeleteClusterErrors = {
2775
+ /**
2776
+ * Cluster not found; it does not exist or has already been deleted.
1870
2777
  */
1871
2778
  404: unknown;
1872
2779
  /**
1873
- * Internal server error
2780
+ * 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
2781
  */
1875
- 500: unknown;
2782
+ 409: string;
2783
+ /**
2784
+ * Transient failure tearing down the cluster; retry the request.
2785
+ */
2786
+ 503: unknown;
1876
2787
  };
1877
- export type DeleteTagResponses = {
2788
+ export type DeleteClusterError = DeleteClusterErrors[keyof DeleteClusterErrors];
2789
+ export type DeleteClusterResponses = {
1878
2790
  /**
1879
- * Tag successfully deleted
2791
+ * Successfully deleted. The cluster has been torn down.
1880
2792
  */
1881
- 200: unknown;
2793
+ 200: string;
1882
2794
  };
1883
- export type GetTagData = {
2795
+ export type DeleteClusterResponse = DeleteClusterResponses[keyof DeleteClusterResponses];
2796
+ export type GetClusterData = {
1884
2797
  body?: never;
1885
2798
  path: {
1886
2799
  /**
1887
- * Region where the repository is located
2800
+ * Unique identifier of the cluster. UUID v4 string in canonical form
1888
2801
  */
1889
- region: string;
2802
+ cluster_id: string;
2803
+ };
2804
+ query?: never;
2805
+ url: '/clusters/{cluster_id}';
2806
+ };
2807
+ export type GetClusterResponses = {
2808
+ /**
2809
+ * Returns a single object containing cluster details.
2810
+ */
2811
+ 200: Cluster;
2812
+ };
2813
+ export type GetClusterResponse = GetClusterResponses[keyof GetClusterResponses];
2814
+ export type UpdateClusterData = {
2815
+ body: ClusterUpdateInput;
2816
+ path: {
1890
2817
  /**
1891
- * Name of the repository
2818
+ * Unique identifier of the cluster. UUID v4 string in canonical form
1892
2819
  */
1893
- repository: string;
2820
+ cluster_id: string;
2821
+ };
2822
+ query?: never;
2823
+ url: '/clusters/{cluster_id}';
2824
+ };
2825
+ export type UpdateClusterErrors = {
2826
+ /**
2827
+ * 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.
2828
+ */
2829
+ 409: string;
2830
+ };
2831
+ export type UpdateClusterError = UpdateClusterErrors[keyof UpdateClusterErrors];
2832
+ export type UpdateClusterResponses = {
2833
+ /**
2834
+ * Successfully updated. Returns updated cluster details.
2835
+ */
2836
+ 200: Cluster;
2837
+ };
2838
+ export type UpdateClusterResponse = UpdateClusterResponses[keyof UpdateClusterResponses];
2839
+ export type GetJoinInformationData = {
2840
+ body?: never;
2841
+ path: {
1894
2842
  /**
1895
- * Name of the tag
2843
+ * Unique identifier of the cluster. UUID v4 string in canonical form
1896
2844
  */
1897
- tag: string;
2845
+ cluster_id: string;
1898
2846
  };
1899
2847
  query?: never;
1900
- url: '/registry/{region}/{repository}/{tag}';
2848
+ url: '/clusters/{cluster_id}/join_information';
1901
2849
  };
1902
- export type GetTagErrors = {
2850
+ export type GetJoinInformationErrors = {
1903
2851
  /**
1904
2852
  * Not authenticated
1905
2853
  */
1906
2854
  401: unknown;
1907
2855
  /**
1908
- * Tag not found
2856
+ * 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.
1909
2857
  */
1910
- 404: unknown;
2858
+ 409: string;
1911
2859
  /**
1912
- * Internal server error
2860
+ * The cluster runs on Cloudfleet data plane v2 and the calling client did not declare the dataplane-v2 capability, so it cannot provision a node for it. Upgrade the Cloudfleet CLI or Terraform provider.
1913
2861
  */
1914
- 500: unknown;
2862
+ 426: string;
1915
2863
  };
1916
- export type GetTagResponses = {
2864
+ export type GetJoinInformationError = GetJoinInformationErrors[keyof GetJoinInformationErrors];
2865
+ export type GetJoinInformationResponses = {
1917
2866
  /**
1918
- * Tag details
2867
+ * An object of cluster join information
1919
2868
  */
1920
- 200: RegistryTag;
2869
+ 200: ClusterJoinInformation;
1921
2870
  };
1922
- export type GetTagResponse = GetTagResponses[keyof GetTagResponses];
1923
- export type ListTokensData = {
2871
+ export type GetJoinInformationResponse = GetJoinInformationResponses[keyof GetJoinInformationResponses];
2872
+ export type GetUsageData = {
1924
2873
  body?: never;
1925
2874
  path?: never;
1926
- query?: never;
1927
- url: '/tokens';
2875
+ query?: {
2876
+ /**
2877
+ * 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)
2878
+ */
2879
+ granularity?: 'hourly' | 'daily' | 'monthly';
2880
+ };
2881
+ url: '/billing/usage';
1928
2882
  };
1929
- export type ListTokensErrors = {
2883
+ export type GetUsageErrors = {
1930
2884
  /**
1931
2885
  * Not authenticated
1932
2886
  */
1933
2887
  401: unknown;
1934
2888
  };
1935
- export type ListTokensResponses = {
2889
+ export type GetUsageResponses = {
1936
2890
  /**
1937
- * Returns a list of access token details with masked secrets.
2891
+ * Usage data with facets for filtering
1938
2892
  */
1939
- 200: Array<Token>;
2893
+ 200: UsageResponse;
1940
2894
  };
1941
- export type ListTokensResponse = ListTokensResponses[keyof ListTokensResponses];
1942
- export type CreateTokenData = {
1943
- body: TokenCreateInput;
2895
+ export type GetUsageResponse = GetUsageResponses[keyof GetUsageResponses];
2896
+ export type GetPaymentMethodSecretData = {
2897
+ body?: never;
1944
2898
  path?: never;
1945
2899
  query?: never;
1946
- url: '/tokens';
1947
- };
1948
- export type CreateTokenErrors = {
1949
- /**
1950
- * Not authenticated
1951
- */
1952
- 401: unknown;
2900
+ url: '/billing/payment-method';
1953
2901
  };
1954
- export type CreateTokenResponses = {
2902
+ export type GetPaymentMethodSecretResponses = {
1955
2903
  /**
1956
- * Successfully created. Returns created token details with unmasked/raw secret.
2904
+ * 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.
2905
+ *
1957
2906
  */
1958
- 200: Token;
1959
- };
1960
- export type CreateTokenResponse = CreateTokenResponses[keyof CreateTokenResponses];
1961
- export type DeleteTokenData = {
1962
- body?: never;
1963
- path: {
2907
+ 200: {
1964
2908
  /**
1965
- * Generated unique identifier of the access token.
2909
+ * The client secret.
1966
2910
  */
1967
- token_id: string;
2911
+ id?: string;
1968
2912
  };
1969
- query?: never;
1970
- url: '/tokens/{token_id}';
1971
- };
1972
- export type DeleteTokenResponses = {
1973
- /**
1974
- * Successfully deleted.
1975
- */
1976
- 200: unknown;
1977
2913
  };
1978
- export type GetTokenData = {
2914
+ export type GetPaymentMethodSecretResponse = GetPaymentMethodSecretResponses[keyof GetPaymentMethodSecretResponses];
2915
+ export type ListPaymentMethodsData = {
1979
2916
  body?: never;
1980
- path: {
1981
- /**
1982
- * Generated unique identifier of the access token.
1983
- */
1984
- token_id: string;
1985
- };
2917
+ path?: never;
1986
2918
  query?: never;
1987
- url: '/tokens/{token_id}';
2919
+ url: '/billing/payment-methods';
1988
2920
  };
1989
- export type GetTokenErrors = {
2921
+ export type ListPaymentMethodsErrors = {
1990
2922
  /**
1991
2923
  * Not authenticated
1992
2924
  */
1993
2925
  401: unknown;
1994
2926
  };
1995
- export type GetTokenResponses = {
2927
+ export type ListPaymentMethodsResponses = {
1996
2928
  /**
1997
- * Returns access token details with masked secret.
2929
+ * An array of payment methods.
1998
2930
  */
1999
- 200: Token;
2931
+ 200: Array<PaymentMethod>;
2000
2932
  };
2001
- export type GetTokenResponse = GetTokenResponses[keyof GetTokenResponses];
2002
- export type UpdateTokenData = {
2003
- body: TokenUpdateInput;
2933
+ export type ListPaymentMethodsResponse = ListPaymentMethodsResponses[keyof ListPaymentMethodsResponses];
2934
+ export type SetDefaultPaymentMethodData = {
2935
+ body?: never;
2004
2936
  path: {
2005
2937
  /**
2006
- * Generated unique identifier of the access token.
2938
+ * Stripe payment method identifier.
2007
2939
  */
2008
- token_id: string;
2940
+ paymentMethodId: string;
2009
2941
  };
2010
2942
  query?: never;
2011
- url: '/tokens/{token_id}';
2943
+ url: '/billing/payment-methods/{paymentMethodId}/default';
2012
2944
  };
2013
- export type UpdateTokenErrors = {
2945
+ export type SetDefaultPaymentMethodErrors = {
2946
+ /**
2947
+ * The bank transfer payment method cannot be set as the default.
2948
+ */
2949
+ 400: unknown;
2014
2950
  /**
2015
2951
  * Not authenticated
2016
2952
  */
2017
2953
  401: unknown;
2954
+ /**
2955
+ * Payment method not found.
2956
+ */
2957
+ 404: unknown;
2018
2958
  };
2019
- export type UpdateTokenResponses = {
2959
+ export type SetDefaultPaymentMethodResponses = {
2020
2960
  /**
2021
- * Successfully updated. Returns updated token details with masked secret.
2961
+ * Default payment method updated.
2022
2962
  */
2023
- 200: Token;
2963
+ 204: void;
2024
2964
  };
2025
- export type UpdateTokenResponse = UpdateTokenResponses[keyof UpdateTokenResponses];
2026
- export type RegenerateTokenData = {
2965
+ export type SetDefaultPaymentMethodResponse = SetDefaultPaymentMethodResponses[keyof SetDefaultPaymentMethodResponses];
2966
+ export type DeletePaymentMethodData = {
2027
2967
  body?: never;
2028
2968
  path: {
2029
2969
  /**
2030
- * Generated unique identifier of the access token.
2970
+ * Stripe payment method identifier.
2031
2971
  */
2032
- token_id: string;
2972
+ paymentMethodId: string;
2033
2973
  };
2034
2974
  query?: never;
2035
- url: '/tokens/{token_id}/secret';
2975
+ url: '/billing/payment-methods/{paymentMethodId}';
2036
2976
  };
2037
- export type RegenerateTokenErrors = {
2977
+ export type DeletePaymentMethodErrors = {
2978
+ /**
2979
+ * The bank transfer payment method cannot be removed.
2980
+ */
2981
+ 400: unknown;
2038
2982
  /**
2039
2983
  * Not authenticated
2040
2984
  */
2041
2985
  401: unknown;
2986
+ /**
2987
+ * Payment method not found.
2988
+ */
2989
+ 404: unknown;
2990
+ /**
2991
+ * Cannot delete the only remaining payment method.
2992
+ */
2993
+ 409: unknown;
2042
2994
  };
2043
- export type RegenerateTokenResponses = {
2995
+ export type DeletePaymentMethodResponses = {
2044
2996
  /**
2045
- * Successfully updated. Returns updated token details with unmasked / raw secret.
2997
+ * Payment method deleted.
2046
2998
  */
2047
- 200: Token;
2999
+ 204: void;
2048
3000
  };
2049
- export type RegenerateTokenResponse = RegenerateTokenResponses[keyof RegenerateTokenResponses];
2050
- export type ListUserOrganizationsData = {
3001
+ export type DeletePaymentMethodResponse = DeletePaymentMethodResponses[keyof DeletePaymentMethodResponses];
3002
+ export type ListInvoicesData = {
2051
3003
  body?: never;
2052
- path: {
2053
- /**
2054
- * User email address.
2055
- */
2056
- email: string;
2057
- };
3004
+ path?: never;
2058
3005
  query?: never;
2059
- url: '/users/organizations/{email}';
3006
+ url: '/billing/invoices';
2060
3007
  };
2061
- export type ListUserOrganizationsResponses = {
3008
+ export type ListInvoicesErrors = {
2062
3009
  /**
2063
- * An array of organizations the user belongs to.
3010
+ * Not authenticated
2064
3011
  */
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
- }>;
3012
+ 401: unknown;
2075
3013
  };
2076
- export type ListUserOrganizationsResponse = ListUserOrganizationsResponses[keyof ListUserOrganizationsResponses];
2077
- export type ListUsersData = {
3014
+ export type ListInvoicesResponses = {
3015
+ /**
3016
+ * An array of usage records.
3017
+ */
3018
+ 200: Array<Invoice>;
3019
+ };
3020
+ export type ListInvoicesResponse = ListInvoicesResponses[keyof ListInvoicesResponses];
3021
+ export type PayOpenInvoicesData = {
2078
3022
  body?: never;
2079
3023
  path?: never;
2080
3024
  query?: never;
2081
- url: '/users';
3025
+ url: '/billing/invoices/pay';
2082
3026
  };
2083
- export type ListUsersErrors = {
3027
+ export type PayOpenInvoicesErrors = {
3028
+ /**
3029
+ * The organization has no payment method that can be charged.
3030
+ */
3031
+ 400: unknown;
2084
3032
  /**
2085
3033
  * Not authenticated
2086
3034
  */
2087
3035
  401: unknown;
3036
+ /**
3037
+ * Too many payment attempts for this organization.
3038
+ */
3039
+ 429: unknown;
2088
3040
  };
2089
- export type ListUsersResponses = {
3041
+ export type PayOpenInvoicesResponses = {
2090
3042
  /**
2091
- * An array of users
3043
+ * The outcome of the attempt.
2092
3044
  */
2093
- 200: Array<User>;
3045
+ 200: InvoicePaymentResult;
2094
3046
  };
2095
- export type ListUsersResponse = ListUsersResponses[keyof ListUsersResponses];
2096
- export type CreateUserData = {
2097
- body: UserCreateInput;
3047
+ export type PayOpenInvoicesResponse = PayOpenInvoicesResponses[keyof PayOpenInvoicesResponses];
3048
+ export type GetContactData = {
3049
+ body?: never;
2098
3050
  path?: never;
2099
3051
  query?: never;
2100
- url: '/users';
3052
+ url: '/billing/contact';
2101
3053
  };
2102
- export type CreateUserResponses = {
3054
+ export type GetContactResponses = {
2103
3055
  /**
2104
- * Successfully created. Returns created user details.
3056
+ * Returns a single object containing organization contact and billing address details.
2105
3057
  */
2106
- 200: User;
3058
+ 200: BillingContact;
2107
3059
  };
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
- };
3060
+ export type GetContactResponse = GetContactResponses[keyof GetContactResponses];
3061
+ export type UpdateContactData = {
3062
+ body: BillingContact;
3063
+ path?: never;
2117
3064
  query?: never;
2118
- url: '/users/{user_id}';
3065
+ url: '/billing/contact';
2119
3066
  };
2120
- export type DeleteUserErrors = {
3067
+ export type UpdateContactResponses = {
2121
3068
  /**
2122
- * Deleting own user is not allowed. Delete your organization instead.
3069
+ * Successfully updated. Returns updated organization details.
2123
3070
  */
2124
- 400: unknown;
3071
+ 200: BillingContact;
3072
+ };
3073
+ export type UpdateContactResponse = UpdateContactResponses[keyof UpdateContactResponses];
3074
+ export type GetCreditsData = {
3075
+ body?: never;
3076
+ path?: never;
3077
+ query?: never;
3078
+ url: '/billing/credits';
3079
+ };
3080
+ export type GetCreditsErrors = {
2125
3081
  /**
2126
3082
  * Not authenticated
2127
3083
  */
2128
3084
  401: unknown;
2129
3085
  };
2130
- export type DeleteUserResponses = {
3086
+ export type GetCreditsResponses = {
2131
3087
  /**
2132
- * User profile information
3088
+ * An array of the applied promotional credits records.
2133
3089
  */
2134
- 200: User;
3090
+ 200: Array<BillingCredits>;
2135
3091
  };
2136
- export type DeleteUserResponse = DeleteUserResponses[keyof DeleteUserResponses];
2137
- export type GetUserData = {
2138
- body?: never;
2139
- path: {
3092
+ export type GetCreditsResponse = GetCreditsResponses[keyof GetCreditsResponses];
3093
+ export type RedeemCreditsData = {
3094
+ body: {
2140
3095
  /**
2141
- * Unique user identifier. UUID v4 string in canonical form
3096
+ * Promotional code to redeem
2142
3097
  */
2143
- user_id: string;
3098
+ code?: string;
2144
3099
  };
3100
+ path?: never;
2145
3101
  query?: never;
2146
- url: '/users/{user_id}';
3102
+ url: '/billing/credits';
2147
3103
  };
2148
- export type GetUserErrors = {
3104
+ export type RedeemCreditsErrors = {
2149
3105
  /**
2150
3106
  * Not authenticated
2151
3107
  */
2152
3108
  401: unknown;
2153
3109
  };
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 = {
3110
+ export type RedeemCreditsResponses = {
2173
3111
  /**
2174
- * Successfully created. Returns created user details.
3112
+ * Successfully created a new organization.
2175
3113
  */
2176
- 200: User;
3114
+ 200: unknown;
2177
3115
  };
2178
- export type UpdateUserResponse = UpdateUserResponses[keyof UpdateUserResponses];
2179
3116
  //# sourceMappingURL=types.gen.d.ts.map