@cloudfleet/sdk 0.0.1-cb875c6 → 0.0.1-cc82d04

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