@cloudfleet/sdk 0.12.2 → 1.0.0

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.
@@ -163,6 +163,9 @@ export type ChartUpdateInput = {
163
163
  */
164
164
  version_channel: string;
165
165
  };
166
+ /**
167
+ * Mutable cluster configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
168
+ */
166
169
  export type ClusterCreateInput = {
167
170
  /**
168
171
  * Name of the cluster.
@@ -171,15 +174,61 @@ export type ClusterCreateInput = {
171
174
  /**
172
175
  * Tier of the cluster.
173
176
  */
174
- tier: 'basic' | 'pro';
177
+ tier?: 'basic' | 'pro' | 'enterprise';
178
+ /**
179
+ * Version of the kubernetes cluster.
180
+ */
181
+ version_channel?: string;
182
+ /**
183
+ * Release channel for the cluster's control plane.
184
+ */
185
+ release_channel?: 'rapid' | 'stable' | 'extended';
186
+ /**
187
+ * Cluster feature toggles.
188
+ */
189
+ features?: {
190
+ /**
191
+ * GPU sharing strategy.
192
+ */
193
+ gpu_sharing_strategy?: 'none' | 'mps' | 'time_slicing';
194
+ /**
195
+ * Maximum number of pods that may share a single GPU.
196
+ */
197
+ gpu_max_shared_clients_per_gpu?: number;
198
+ /**
199
+ * Restrict Cilium socket load-balancing to the host namespace. Required for the Tailscale operator and Istio.
200
+ */
201
+ cilium_socket_lb_host_namespace_only?: boolean;
202
+ };
175
203
  /**
176
204
  * Cloudfleet control plane region. This field can not be updated after creation.
177
205
  */
178
206
  region: string;
179
207
  /**
180
- * Version of the kubernetes cluster.
208
+ * Cluster networking configuration. Immutable after creation.
181
209
  */
182
- version_channel?: string;
210
+ networking?: {
211
+ /**
212
+ * CIDR block for pod IPs.
213
+ */
214
+ pod_cidr?: string;
215
+ /**
216
+ * CIDR block for service IPs.
217
+ */
218
+ service_cidr?: string;
219
+ /**
220
+ * Enable IPv4+IPv6 dual-stack networking.
221
+ */
222
+ dual_stack?: boolean;
223
+ /**
224
+ * IPv6 pod CIDR. Requires dual_stack.
225
+ */
226
+ pod_cidr_v6?: string;
227
+ /**
228
+ * IPv6 service CIDR. Requires dual_stack.
229
+ */
230
+ service_cidr_v6?: string;
231
+ };
183
232
  };
184
233
  export type ClusterJoinInformation = {
185
234
  /**
@@ -245,6 +294,9 @@ export type ClusterJoinInformation = {
245
294
  gcp_workload_identity_provider: string;
246
295
  };
247
296
  };
297
+ /**
298
+ * Mutable cluster configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
299
+ */
248
300
  export type Cluster = {
249
301
  /**
250
302
  * Name of the cluster.
@@ -253,19 +305,69 @@ export type Cluster = {
253
305
  /**
254
306
  * Tier of the cluster.
255
307
  */
256
- tier: 'basic' | 'pro';
308
+ tier: 'basic' | 'pro' | 'enterprise';
309
+ /**
310
+ * Version of the kubernetes cluster.
311
+ */
312
+ version_channel: string;
313
+ /**
314
+ * Release channel for the cluster's control plane.
315
+ */
316
+ release_channel: 'rapid' | 'stable' | 'extended';
317
+ /**
318
+ * Cluster feature toggles.
319
+ */
320
+ features: {
321
+ /**
322
+ * GPU sharing strategy.
323
+ */
324
+ gpu_sharing_strategy: 'none' | 'mps' | 'time_slicing';
325
+ /**
326
+ * Maximum number of pods that may share a single GPU.
327
+ */
328
+ gpu_max_shared_clients_per_gpu: number;
329
+ /**
330
+ * Restrict Cilium socket load-balancing to the host namespace. Required for the Tailscale operator and Istio.
331
+ */
332
+ cilium_socket_lb_host_namespace_only: boolean;
333
+ };
257
334
  /**
258
335
  * Cloudfleet control plane region. This field can not be updated after creation.
259
336
  */
260
337
  region: string;
338
+ /**
339
+ * Cluster networking configuration. Immutable after creation.
340
+ */
341
+ networking: {
342
+ /**
343
+ * CIDR block for pod IPs.
344
+ */
345
+ pod_cidr: string;
346
+ /**
347
+ * CIDR block for service IPs.
348
+ */
349
+ service_cidr: string;
350
+ /**
351
+ * Enable IPv4+IPv6 dual-stack networking.
352
+ */
353
+ dual_stack: boolean;
354
+ /**
355
+ * IPv6 pod CIDR. Requires dual_stack.
356
+ */
357
+ pod_cidr_v6: string;
358
+ /**
359
+ * IPv6 service CIDR. Requires dual_stack.
360
+ */
361
+ service_cidr_v6: string;
362
+ };
261
363
  /**
262
364
  * Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
263
365
  */
264
366
  id: string;
265
367
  /**
266
- * Status of the cluster. When creating a new cluster, set to `active`. When deleting a clusters, set to `deleted`.
368
+ * Status of the cluster.
267
369
  */
268
- status: 'active' | 'disabled' | 'deleted' | 'creating' | 'deployed' | 'failed' | 'updating';
370
+ status: 'creating' | 'deployed' | 'updating' | 'disabled';
269
371
  endpoint?: string | '';
270
372
  endpoint_public?: string | '';
271
373
  /**
@@ -287,26 +389,49 @@ export type Cluster = {
287
389
  /**
288
390
  * Indicates if the cluster is ready to be used.
289
391
  */
290
- ready?: boolean;
291
- /**
292
- * Version of the kubernetes cluster.
293
- */
294
- version_channel?: string;
392
+ ready: boolean;
295
393
  };
394
+ /**
395
+ * Mutable cluster configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
396
+ */
296
397
  export type ClusterUpdateInput = {
297
398
  /**
298
399
  * Name of the cluster.
299
400
  */
300
- name?: string;
401
+ name: string;
301
402
  /**
302
403
  * Tier of the cluster.
303
404
  */
304
- tier: 'basic' | 'pro';
405
+ tier?: 'basic' | 'pro' | 'enterprise';
305
406
  /**
306
407
  * Version of the kubernetes cluster.
307
408
  */
308
409
  version_channel?: string;
410
+ /**
411
+ * Release channel for the cluster's control plane.
412
+ */
413
+ release_channel?: 'rapid' | 'stable' | 'extended';
414
+ /**
415
+ * Cluster feature toggles.
416
+ */
417
+ features?: {
418
+ /**
419
+ * GPU sharing strategy.
420
+ */
421
+ gpu_sharing_strategy?: 'none' | 'mps' | 'time_slicing';
422
+ /**
423
+ * Maximum number of pods that may share a single GPU.
424
+ */
425
+ gpu_max_shared_clients_per_gpu?: number;
426
+ /**
427
+ * Restrict Cilium socket load-balancing to the host namespace. Required for the Tailscale operator and Istio.
428
+ */
429
+ cilium_socket_lb_host_namespace_only?: boolean;
430
+ };
309
431
  };
432
+ /**
433
+ * Mutable fleet configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
434
+ */
310
435
  export type FleetCreateInput = {
311
436
  /**
312
437
  * Limits define a set of bounds for provisioning capacity.
@@ -327,7 +452,7 @@ export type FleetCreateInput = {
327
452
  hetzner?: {
328
453
  enabled: boolean;
329
454
  /**
330
- * Hetzner Cloud API token with read / write access (64 alphanumeric characters). Omit this field to keep the existing value.
455
+ * Hetzner Cloud API token with read/write access (64 alphanumeric characters). Write-only: reads return a redacted placeholder, never the token. Omit the field, or send the placeholder back unchanged, to keep the existing key. Send a new value to rotate it.
331
456
  */
332
457
  apiKey?: string;
333
458
  };
@@ -339,7 +464,7 @@ export type FleetCreateInput = {
339
464
  controllerRoleArn?: string;
340
465
  };
341
466
  /**
342
- * 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. Omit a field to place no restriction on that key.
467
+ * Constraints define scheduling and provisioning requirements for the fleet. Each field restricts the values allowed for a given Kubernetes label key. Multiple constraints are ANDed together.
343
468
  */
344
469
  constraints?: {
345
470
  /**
@@ -360,7 +485,7 @@ export type FleetCreateInput = {
360
485
  'topology.kubernetes.io/region'?: Array<'africa-south1' | 'ap-northeast-1' | 'ap-northeast-2' | 'ap-northeast-3' | 'ap-south-1' | 'ap-southeast-1' | 'ap-southeast-2' | 'ash' | 'asia-east1' | 'asia-east2' | 'asia-northeast1' | 'asia-northeast2' | 'asia-northeast3' | 'asia-south1' | 'asia-south2' | 'asia-southeast1' | 'asia-southeast2' | 'australia-southeast1' | 'australia-southeast2' | 'ca-central-1' | 'eu-central-1' | 'eu-central-2' | 'eu-north-1' | 'eu-west-1' | 'eu-west-2' | 'eu-west-3' | 'europe-central2' | 'europe-north1' | 'europe-southwest1' | 'europe-west1' | 'europe-west10' | 'europe-west12' | 'europe-west2' | 'europe-west3' | 'europe-west4' | 'europe-west6' | 'europe-west8' | 'europe-west9' | 'fsn1' | 'hel1' | 'hil' | 'me-central1' | 'me-central2' | 'me-west1' | 'nbg1' | 'northamerica-northeast1' | 'northamerica-northeast2' | 'sa-east-1' | 'sin' | 'southamerica-east1' | 'southamerica-west1' | 'us-central1' | 'us-east-1' | 'us-east-2' | 'us-east1' | 'us-east4' | 'us-east5' | 'us-south1' | 'us-west-1' | 'us-west-2' | 'us-west1' | 'us-west2' | 'us-west3' | 'us-west4'>;
361
486
  };
362
487
  /**
363
- * Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.
488
+ * Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet. Full-overwrite: omit to reset to the default (`conservative`).
364
489
  */
365
490
  scalingProfile?: 'aggressive' | 'conservative';
366
491
  /**
@@ -368,6 +493,9 @@ export type FleetCreateInput = {
368
493
  */
369
494
  id: string;
370
495
  };
496
+ /**
497
+ * Mutable fleet configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
498
+ */
371
499
  export type Fleet = {
372
500
  /**
373
501
  * Limits define a set of bounds for provisioning capacity.
@@ -400,17 +528,17 @@ export type Fleet = {
400
528
  controllerRoleArn?: string;
401
529
  };
402
530
  /**
403
- * 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. Omit a field to place no restriction on that key.
531
+ * Constraints define scheduling and provisioning requirements for the fleet. Each field restricts the values allowed for a given Kubernetes label key. Multiple constraints are ANDed together.
404
532
  */
405
- constraints?: {
533
+ constraints: {
406
534
  /**
407
535
  * Allowed values for `karpenter.sh/capacity-type`.
408
536
  */
409
- 'karpenter.sh/capacity-type'?: Array<'on-demand' | 'spot'>;
537
+ 'karpenter.sh/capacity-type': Array<'on-demand' | 'spot'>;
410
538
  /**
411
539
  * Allowed values for `kubernetes.io/arch`.
412
540
  */
413
- 'kubernetes.io/arch'?: Array<'amd64' | 'arm64'>;
541
+ 'kubernetes.io/arch': Array<'amd64' | 'arm64'>;
414
542
  /**
415
543
  * Allowed values for `cfke.io/instance-family`.
416
544
  */
@@ -421,14 +549,33 @@ export type Fleet = {
421
549
  'topology.kubernetes.io/region'?: Array<'africa-south1' | 'ap-northeast-1' | 'ap-northeast-2' | 'ap-northeast-3' | 'ap-south-1' | 'ap-southeast-1' | 'ap-southeast-2' | 'ash' | 'asia-east1' | 'asia-east2' | 'asia-northeast1' | 'asia-northeast2' | 'asia-northeast3' | 'asia-south1' | 'asia-south2' | 'asia-southeast1' | 'asia-southeast2' | 'australia-southeast1' | 'australia-southeast2' | 'ca-central-1' | 'eu-central-1' | 'eu-central-2' | 'eu-north-1' | 'eu-west-1' | 'eu-west-2' | 'eu-west-3' | 'europe-central2' | 'europe-north1' | 'europe-southwest1' | 'europe-west1' | 'europe-west10' | 'europe-west12' | 'europe-west2' | 'europe-west3' | 'europe-west4' | 'europe-west6' | 'europe-west8' | 'europe-west9' | 'fsn1' | 'hel1' | 'hil' | 'me-central1' | 'me-central2' | 'me-west1' | 'nbg1' | 'northamerica-northeast1' | 'northamerica-northeast2' | 'sa-east-1' | 'sin' | 'southamerica-east1' | 'southamerica-west1' | 'us-central1' | 'us-east-1' | 'us-east-2' | 'us-east1' | 'us-east4' | 'us-east5' | 'us-south1' | 'us-west-1' | 'us-west-2' | 'us-west1' | 'us-west2' | 'us-west3' | 'us-west4'>;
422
550
  };
423
551
  /**
424
- * Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.
552
+ * Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet. Full-overwrite: omit to reset to the default (`conservative`).
425
553
  */
426
554
  scalingProfile: 'aggressive' | 'conservative';
427
555
  /**
428
556
  * Unique identifier of the kubernetes fleet.
429
557
  */
430
558
  id: string;
559
+ /**
560
+ * Indicates whether the fleet configuration is healthy.
561
+ */
562
+ ready: boolean;
563
+ /**
564
+ * Human-readable reason the fleet is not ready. Present only when `ready` is false.
565
+ */
566
+ status_message?: string;
567
+ /**
568
+ * Creation date and time of the fleet.
569
+ */
570
+ created_at: string;
571
+ /**
572
+ * Date and time the fleet was last updated.
573
+ */
574
+ updated_at: string;
431
575
  };
576
+ /**
577
+ * Mutable fleet configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
578
+ */
432
579
  export type FleetUpdateInput = {
433
580
  /**
434
581
  * Limits define a set of bounds for provisioning capacity.
@@ -449,7 +596,7 @@ export type FleetUpdateInput = {
449
596
  hetzner?: {
450
597
  enabled: boolean;
451
598
  /**
452
- * Hetzner Cloud API token with read / write access (64 alphanumeric characters). Omit this field to keep the existing value.
599
+ * Hetzner Cloud API token with read/write access (64 alphanumeric characters). Write-only: reads return a redacted placeholder, never the token. Omit the field, or send the placeholder back unchanged, to keep the existing key. Send a new value to rotate it.
453
600
  */
454
601
  apiKey?: string;
455
602
  };
@@ -461,7 +608,7 @@ export type FleetUpdateInput = {
461
608
  controllerRoleArn?: string;
462
609
  };
463
610
  /**
464
- * 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. Omit a field to place no restriction on that key.
611
+ * Constraints define scheduling and provisioning requirements for the fleet. Each field restricts the values allowed for a given Kubernetes label key. Multiple constraints are ANDed together.
465
612
  */
466
613
  constraints?: {
467
614
  /**
@@ -482,9 +629,9 @@ export type FleetUpdateInput = {
482
629
  'topology.kubernetes.io/region'?: Array<'africa-south1' | 'ap-northeast-1' | 'ap-northeast-2' | 'ap-northeast-3' | 'ap-south-1' | 'ap-southeast-1' | 'ap-southeast-2' | 'ash' | 'asia-east1' | 'asia-east2' | 'asia-northeast1' | 'asia-northeast2' | 'asia-northeast3' | 'asia-south1' | 'asia-south2' | 'asia-southeast1' | 'asia-southeast2' | 'australia-southeast1' | 'australia-southeast2' | 'ca-central-1' | 'eu-central-1' | 'eu-central-2' | 'eu-north-1' | 'eu-west-1' | 'eu-west-2' | 'eu-west-3' | 'europe-central2' | 'europe-north1' | 'europe-southwest1' | 'europe-west1' | 'europe-west10' | 'europe-west12' | 'europe-west2' | 'europe-west3' | 'europe-west4' | 'europe-west6' | 'europe-west8' | 'europe-west9' | 'fsn1' | 'hel1' | 'hil' | 'me-central1' | 'me-central2' | 'me-west1' | 'nbg1' | 'northamerica-northeast1' | 'northamerica-northeast2' | 'sa-east-1' | 'sin' | 'southamerica-east1' | 'southamerica-west1' | 'us-central1' | 'us-east-1' | 'us-east-2' | 'us-east1' | 'us-east4' | 'us-east5' | 'us-south1' | 'us-west-1' | 'us-west-2' | 'us-west1' | 'us-west2' | 'us-west3' | 'us-west4'>;
483
630
  };
484
631
  /**
485
- * Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.
632
+ * Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet. Full-overwrite: omit to reset to the default (`conservative`).
486
633
  */
487
- scalingProfile: 'aggressive' | 'conservative';
634
+ scalingProfile?: 'aggressive' | 'conservative';
488
635
  };
489
636
  export type InviteCreateInput = {
490
637
  /**
@@ -709,6 +856,14 @@ export type Organization = {
709
856
  * Available number of Pro clusters that can be created.
710
857
  */
711
858
  pro_clusters_available: number;
859
+ /**
860
+ * Maximum number of Enterprise clusters that can be created.
861
+ */
862
+ enterprise_clusters_max: number;
863
+ /**
864
+ * Available number of Enterprise clusters that can be created.
865
+ */
866
+ enterprise_clusters_available: number;
712
867
  /**
713
868
  * Maximum number of fleets that can be created per cluster.
714
869
  */
@@ -807,6 +962,14 @@ export type PlatformQuota = {
807
962
  * Available number of Pro clusters that can be created.
808
963
  */
809
964
  pro_clusters_available: number;
965
+ /**
966
+ * Maximum number of Enterprise clusters that can be created.
967
+ */
968
+ enterprise_clusters_max: number;
969
+ /**
970
+ * Available number of Enterprise clusters that can be created.
971
+ */
972
+ enterprise_clusters_available: number;
810
973
  /**
811
974
  * Maximum number of fleets that can be created per cluster.
812
975
  */
@@ -1433,614 +1596,632 @@ export type UserUpdateInput = {
1433
1596
  */
1434
1597
  status?: 'active' | 'inactive';
1435
1598
  };
1436
- export type GetUsageData = {
1599
+ export type ListUserOrganizationsData = {
1437
1600
  body?: never;
1438
- path?: never;
1439
- query?: {
1601
+ path: {
1440
1602
  /**
1441
- * Time granularity for usage aggregation - hourly (Past 48 hours aggregated by hour), daily (Past 30 days aggregated by day), monthly (Past 12 months aggregated by month)
1603
+ * User email address.
1442
1604
  */
1443
- granularity?: 'hourly' | 'daily' | 'monthly';
1605
+ email: string;
1444
1606
  };
1445
- url: '/billing/usage';
1446
- };
1447
- export type GetUsageErrors = {
1448
- /**
1449
- * Not authenticated
1450
- */
1451
- 401: unknown;
1452
- };
1453
- export type GetUsageResponses = {
1454
- /**
1455
- * Usage data with facets for filtering
1456
- */
1457
- 200: UsageResponse;
1458
- };
1459
- export type GetUsageResponse = GetUsageResponses[keyof GetUsageResponses];
1460
- export type GetPaymentMethodSecretData = {
1461
- body?: never;
1462
- path?: never;
1463
1607
  query?: never;
1464
- url: '/billing/payment-method';
1608
+ url: '/users/organizations/{email}';
1465
1609
  };
1466
- export type GetPaymentMethodSecretResponses = {
1610
+ export type ListUserOrganizationsResponses = {
1467
1611
  /**
1468
- * 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.
1469
- *
1612
+ * An array of organizations the user belongs to.
1470
1613
  */
1471
- 200: {
1614
+ 200: Array<{
1472
1615
  /**
1473
- * The client secret.
1616
+ * Unique identifier of the organization. UUID v4 string in canonical form
1474
1617
  */
1475
- id?: string;
1476
- };
1618
+ realm?: string;
1619
+ /**
1620
+ * Human-readable name of the organization
1621
+ */
1622
+ displayName?: string;
1623
+ }>;
1477
1624
  };
1478
- export type GetPaymentMethodSecretResponse = GetPaymentMethodSecretResponses[keyof GetPaymentMethodSecretResponses];
1479
- export type ListPaymentMethodsData = {
1625
+ export type ListUserOrganizationsResponse = ListUserOrganizationsResponses[keyof ListUserOrganizationsResponses];
1626
+ export type ListUsersData = {
1480
1627
  body?: never;
1481
1628
  path?: never;
1482
1629
  query?: never;
1483
- url: '/billing/payment-methods';
1630
+ url: '/users';
1484
1631
  };
1485
- export type ListPaymentMethodsErrors = {
1632
+ export type ListUsersErrors = {
1486
1633
  /**
1487
1634
  * Not authenticated
1488
1635
  */
1489
1636
  401: unknown;
1490
1637
  };
1491
- export type ListPaymentMethodsResponses = {
1638
+ export type ListUsersResponses = {
1492
1639
  /**
1493
- * An array of payment methods.
1640
+ * An array of users
1494
1641
  */
1495
- 200: Array<PaymentMethod>;
1642
+ 200: Array<User>;
1496
1643
  };
1497
- export type ListPaymentMethodsResponse = ListPaymentMethodsResponses[keyof ListPaymentMethodsResponses];
1498
- export type SetDefaultPaymentMethodData = {
1644
+ export type ListUsersResponse = ListUsersResponses[keyof ListUsersResponses];
1645
+ export type CreateUserData = {
1646
+ body: UserCreateInput;
1647
+ path?: never;
1648
+ query?: never;
1649
+ url: '/users';
1650
+ };
1651
+ export type CreateUserResponses = {
1652
+ /**
1653
+ * Successfully created. Returns created user details.
1654
+ */
1655
+ 200: User;
1656
+ };
1657
+ export type CreateUserResponse = CreateUserResponses[keyof CreateUserResponses];
1658
+ export type DeleteUserData = {
1499
1659
  body?: never;
1500
1660
  path: {
1501
1661
  /**
1502
- * Stripe payment method identifier.
1662
+ * Unique user identifier. UUID v4 string in canonical form
1503
1663
  */
1504
- paymentMethodId: string;
1664
+ user_id: string;
1505
1665
  };
1506
1666
  query?: never;
1507
- url: '/billing/payment-methods/{paymentMethodId}/default';
1667
+ url: '/users/{user_id}';
1508
1668
  };
1509
- export type SetDefaultPaymentMethodErrors = {
1669
+ export type DeleteUserErrors = {
1510
1670
  /**
1511
- * The bank transfer payment method cannot be set as the default.
1671
+ * Deleting own user is not allowed. Delete your organization instead.
1512
1672
  */
1513
1673
  400: unknown;
1514
1674
  /**
1515
1675
  * Not authenticated
1516
1676
  */
1517
1677
  401: unknown;
1518
- /**
1519
- * Payment method not found.
1520
- */
1521
- 404: unknown;
1522
1678
  };
1523
- export type SetDefaultPaymentMethodResponses = {
1679
+ export type DeleteUserResponses = {
1524
1680
  /**
1525
- * Default payment method updated.
1681
+ * User profile information
1526
1682
  */
1527
- 204: void;
1683
+ 200: User;
1528
1684
  };
1529
- export type SetDefaultPaymentMethodResponse = SetDefaultPaymentMethodResponses[keyof SetDefaultPaymentMethodResponses];
1530
- export type DeletePaymentMethodData = {
1685
+ export type DeleteUserResponse = DeleteUserResponses[keyof DeleteUserResponses];
1686
+ export type GetUserData = {
1531
1687
  body?: never;
1532
1688
  path: {
1533
1689
  /**
1534
- * Stripe payment method identifier.
1690
+ * Unique user identifier. UUID v4 string in canonical form
1535
1691
  */
1536
- paymentMethodId: string;
1692
+ user_id: string;
1537
1693
  };
1538
1694
  query?: never;
1539
- url: '/billing/payment-methods/{paymentMethodId}';
1695
+ url: '/users/{user_id}';
1540
1696
  };
1541
- export type DeletePaymentMethodErrors = {
1542
- /**
1543
- * The bank transfer payment method cannot be removed.
1544
- */
1545
- 400: unknown;
1697
+ export type GetUserErrors = {
1546
1698
  /**
1547
1699
  * Not authenticated
1548
1700
  */
1549
1701
  401: unknown;
1702
+ };
1703
+ export type GetUserResponses = {
1550
1704
  /**
1551
- * Payment method not found.
1552
- */
1553
- 404: unknown;
1554
- /**
1555
- * Cannot delete the only remaining payment method.
1705
+ * User profile information
1556
1706
  */
1557
- 409: unknown;
1707
+ 200: User;
1558
1708
  };
1559
- export type DeletePaymentMethodResponses = {
1709
+ export type GetUserResponse = GetUserResponses[keyof GetUserResponses];
1710
+ export type UpdateUserData = {
1711
+ body: UserUpdateInput;
1712
+ path: {
1713
+ /**
1714
+ * Unique user identifier. UUID v4 string in canonical form
1715
+ */
1716
+ user_id: string;
1717
+ };
1718
+ query?: never;
1719
+ url: '/users/{user_id}';
1720
+ };
1721
+ export type UpdateUserResponses = {
1560
1722
  /**
1561
- * Payment method deleted.
1723
+ * Successfully created. Returns created user details.
1562
1724
  */
1563
- 204: void;
1725
+ 200: User;
1564
1726
  };
1565
- export type DeletePaymentMethodResponse = DeletePaymentMethodResponses[keyof DeletePaymentMethodResponses];
1566
- export type ListInvoicesData = {
1727
+ export type UpdateUserResponse = UpdateUserResponses[keyof UpdateUserResponses];
1728
+ export type ListTokensData = {
1567
1729
  body?: never;
1568
1730
  path?: never;
1569
1731
  query?: never;
1570
- url: '/billing/invoices';
1732
+ url: '/tokens';
1571
1733
  };
1572
- export type ListInvoicesErrors = {
1734
+ export type ListTokensErrors = {
1573
1735
  /**
1574
1736
  * Not authenticated
1575
1737
  */
1576
1738
  401: unknown;
1577
1739
  };
1578
- export type ListInvoicesResponses = {
1740
+ export type ListTokensResponses = {
1579
1741
  /**
1580
- * An array of usage records.
1742
+ * Returns a list of access token details with masked secrets.
1581
1743
  */
1582
- 200: Array<Invoice>;
1744
+ 200: Array<Token>;
1583
1745
  };
1584
- export type ListInvoicesResponse = ListInvoicesResponses[keyof ListInvoicesResponses];
1585
- export type GetContactData = {
1586
- body?: never;
1746
+ export type ListTokensResponse = ListTokensResponses[keyof ListTokensResponses];
1747
+ export type CreateTokenData = {
1748
+ body: TokenCreateInput;
1587
1749
  path?: never;
1588
1750
  query?: never;
1589
- url: '/billing/contact';
1751
+ url: '/tokens';
1590
1752
  };
1591
- export type GetContactResponses = {
1753
+ export type CreateTokenErrors = {
1592
1754
  /**
1593
- * Returns a single object containing organization contact and billing address details.
1755
+ * Not authenticated
1594
1756
  */
1595
- 200: BillingContact;
1757
+ 401: unknown;
1596
1758
  };
1597
- export type GetContactResponse = GetContactResponses[keyof GetContactResponses];
1598
- export type UpdateContactData = {
1599
- body: BillingContact;
1600
- path?: never;
1759
+ export type CreateTokenResponses = {
1760
+ /**
1761
+ * Successfully created. Returns created token details with unmasked/raw secret.
1762
+ */
1763
+ 200: Token;
1764
+ };
1765
+ export type CreateTokenResponse = CreateTokenResponses[keyof CreateTokenResponses];
1766
+ export type DeleteTokenData = {
1767
+ body?: never;
1768
+ path: {
1769
+ /**
1770
+ * Generated unique identifier of the access token.
1771
+ */
1772
+ token_id: string;
1773
+ };
1601
1774
  query?: never;
1602
- url: '/billing/contact';
1775
+ url: '/tokens/{token_id}';
1603
1776
  };
1604
- export type UpdateContactResponses = {
1777
+ export type DeleteTokenResponses = {
1605
1778
  /**
1606
- * Successfully updated. Returns updated organization details.
1779
+ * Successfully deleted.
1607
1780
  */
1608
- 200: BillingContact;
1781
+ 200: unknown;
1609
1782
  };
1610
- export type UpdateContactResponse = UpdateContactResponses[keyof UpdateContactResponses];
1611
- export type GetCreditsData = {
1783
+ export type GetTokenData = {
1612
1784
  body?: never;
1613
- path?: never;
1785
+ path: {
1786
+ /**
1787
+ * Generated unique identifier of the access token.
1788
+ */
1789
+ token_id: string;
1790
+ };
1614
1791
  query?: never;
1615
- url: '/billing/credits';
1792
+ url: '/tokens/{token_id}';
1616
1793
  };
1617
- export type GetCreditsErrors = {
1794
+ export type GetTokenErrors = {
1618
1795
  /**
1619
1796
  * Not authenticated
1620
1797
  */
1621
1798
  401: unknown;
1622
1799
  };
1623
- export type GetCreditsResponses = {
1800
+ export type GetTokenResponses = {
1624
1801
  /**
1625
- * An array of the applied promotional credits records.
1802
+ * Returns access token details with masked secret.
1626
1803
  */
1627
- 200: Array<BillingCredits>;
1804
+ 200: Token;
1628
1805
  };
1629
- export type GetCreditsResponse = GetCreditsResponses[keyof GetCreditsResponses];
1630
- export type RedeemCreditsData = {
1631
- body: {
1806
+ export type GetTokenResponse = GetTokenResponses[keyof GetTokenResponses];
1807
+ export type UpdateTokenData = {
1808
+ body: TokenUpdateInput;
1809
+ path: {
1632
1810
  /**
1633
- * Promotional code to redeem
1811
+ * Generated unique identifier of the access token.
1634
1812
  */
1635
- code?: string;
1813
+ token_id: string;
1636
1814
  };
1637
- path?: never;
1638
1815
  query?: never;
1639
- url: '/billing/credits';
1816
+ url: '/tokens/{token_id}';
1640
1817
  };
1641
- export type RedeemCreditsErrors = {
1818
+ export type UpdateTokenErrors = {
1642
1819
  /**
1643
1820
  * Not authenticated
1644
1821
  */
1645
1822
  401: unknown;
1646
1823
  };
1647
- export type RedeemCreditsResponses = {
1824
+ export type UpdateTokenResponses = {
1648
1825
  /**
1649
- * Successfully created a new organization.
1826
+ * Successfully updated. Returns updated token details with masked secret.
1650
1827
  */
1651
- 200: unknown;
1828
+ 200: Token;
1652
1829
  };
1653
- export type ListChartsData = {
1830
+ export type UpdateTokenResponse = UpdateTokenResponses[keyof UpdateTokenResponses];
1831
+ export type RegenerateTokenData = {
1654
1832
  body?: never;
1655
1833
  path: {
1656
1834
  /**
1657
- * Unique identifier of the cluster. UUID v4 string in canonical form
1835
+ * Generated unique identifier of the access token.
1658
1836
  */
1659
- cluster_id: string;
1837
+ token_id: string;
1660
1838
  };
1661
1839
  query?: never;
1662
- url: '/clusters/{cluster_id}/charts';
1840
+ url: '/tokens/{token_id}/secret';
1663
1841
  };
1664
- export type ListChartsErrors = {
1842
+ export type RegenerateTokenErrors = {
1665
1843
  /**
1666
1844
  * Not authenticated
1667
1845
  */
1668
1846
  401: unknown;
1669
1847
  };
1670
- export type ListChartsResponses = {
1848
+ export type RegenerateTokenResponses = {
1671
1849
  /**
1672
- * An array of charts
1850
+ * Successfully updated. Returns updated token details with unmasked / raw secret.
1673
1851
  */
1674
- 200: Array<Chart>;
1852
+ 200: Token;
1675
1853
  };
1676
- export type ListChartsResponse = ListChartsResponses[keyof ListChartsResponses];
1677
- export type CreateChartData = {
1678
- body: ChartCreateInput;
1679
- path: {
1680
- /**
1681
- * Unique identifier of the cluster. UUID v4 string in canonical form
1682
- */
1683
- cluster_id: string;
1684
- };
1854
+ export type RegenerateTokenResponse = RegenerateTokenResponses[keyof RegenerateTokenResponses];
1855
+ export type ListTicketsData = {
1856
+ body?: never;
1857
+ path?: never;
1685
1858
  query?: never;
1686
- url: '/clusters/{cluster_id}/charts';
1859
+ url: '/tickets';
1687
1860
  };
1688
- export type CreateChartResponses = {
1861
+ export type ListTicketsResponses = {
1689
1862
  /**
1690
- * Successfully created. Returns created Chart ID.
1863
+ * Tickets for the organization.
1691
1864
  */
1692
- 200: string;
1865
+ 200: TicketListResponse;
1693
1866
  };
1694
- export type CreateChartResponse = CreateChartResponses[keyof CreateChartResponses];
1695
- export type DeleteChartData = {
1696
- body?: never;
1697
- path: {
1698
- /**
1699
- * Unique identifier of the cluster. UUID v4 string in canonical form
1700
- */
1701
- cluster_id: string;
1867
+ export type ListTicketsResponse = ListTicketsResponses[keyof ListTicketsResponses];
1868
+ export type CreateTicketData = {
1869
+ body: {
1702
1870
  /**
1703
- * Chart deployment name as the unique identifier of the chart.
1871
+ * JSON-encoded TicketCreateInput.
1704
1872
  */
1705
- chart_name: string;
1873
+ payload?: string;
1874
+ attachments?: Array<Blob | File>;
1706
1875
  };
1876
+ path?: never;
1707
1877
  query?: never;
1708
- url: '/clusters/{cluster_id}/charts/{chart_name}';
1878
+ url: '/tickets';
1709
1879
  };
1710
- export type DeleteChartResponses = {
1880
+ export type CreateTicketResponses = {
1711
1881
  /**
1712
- * Successfully deleted.
1882
+ * Ticket created.
1713
1883
  */
1714
- 200: string;
1884
+ 200: Ticket;
1715
1885
  };
1716
- export type DeleteChartResponse = DeleteChartResponses[keyof DeleteChartResponses];
1717
- export type GetChartData = {
1886
+ export type CreateTicketResponse = CreateTicketResponses[keyof CreateTicketResponses];
1887
+ export type CloseTicketData = {
1718
1888
  body?: never;
1719
1889
  path: {
1720
- /**
1721
- * Unique identifier of the cluster. UUID v4 string in canonical form
1722
- */
1723
- cluster_id: string;
1724
- /**
1725
- * Chart deployment name as the unique identifier of the chart.
1726
- */
1727
- chart_name: string;
1890
+ ticket_id: string;
1728
1891
  };
1729
1892
  query?: never;
1730
- url: '/clusters/{cluster_id}/charts/{chart_name}';
1893
+ url: '/tickets/{ticket_id}';
1731
1894
  };
1732
- export type GetChartResponses = {
1895
+ export type CloseTicketResponses = {
1733
1896
  /**
1734
- * Returns a single object containing chart details.
1897
+ * Ticket closed.
1735
1898
  */
1736
- 200: Chart;
1899
+ 200: Ticket;
1737
1900
  };
1738
- export type GetChartResponse = GetChartResponses[keyof GetChartResponses];
1739
- export type UpdateChartData = {
1740
- body: ChartUpdateInput;
1901
+ export type CloseTicketResponse = CloseTicketResponses[keyof CloseTicketResponses];
1902
+ export type GetTicketData = {
1903
+ body?: never;
1741
1904
  path: {
1742
- /**
1743
- * Unique identifier of the cluster. UUID v4 string in canonical form
1744
- */
1745
- cluster_id: string;
1746
- /**
1747
- * Chart deployment name as the unique identifier of the chart.
1748
- */
1749
- chart_name: string;
1905
+ ticket_id: string;
1750
1906
  };
1751
1907
  query?: never;
1752
- url: '/clusters/{cluster_id}/charts/{chart_name}';
1908
+ url: '/tickets/{ticket_id}';
1753
1909
  };
1754
- export type UpdateChartResponses = {
1910
+ export type GetTicketResponses = {
1755
1911
  /**
1756
- * Successfully updated.
1912
+ * Ticket with messages (internal notes excluded).
1757
1913
  */
1758
- 200: string;
1914
+ 200: Ticket;
1759
1915
  };
1760
- export type UpdateChartResponse = UpdateChartResponses[keyof UpdateChartResponses];
1761
- export type ListFleetsData = {
1762
- body?: never;
1763
- path: {
1916
+ export type GetTicketResponse = GetTicketResponses[keyof GetTicketResponses];
1917
+ export type ReplyTicketData = {
1918
+ body: {
1764
1919
  /**
1765
- * Unique identifier of the cluster. UUID v4 string in canonical form
1920
+ * JSON-encoded TicketMessageInput.
1766
1921
  */
1767
- cluster_id: string;
1922
+ payload?: string;
1923
+ attachments?: Array<Blob | File>;
1924
+ };
1925
+ path: {
1926
+ ticket_id: string;
1768
1927
  };
1769
1928
  query?: never;
1770
- url: '/clusters/{cluster_id}/fleets';
1929
+ url: '/tickets/{ticket_id}/messages';
1771
1930
  };
1772
- export type ListFleetsErrors = {
1931
+ export type ReplyTicketErrors = {
1773
1932
  /**
1774
- * Not authenticated
1933
+ * Ticket is closed. Open a new ticket instead.
1775
1934
  */
1776
- 401: unknown;
1935
+ 409: unknown;
1777
1936
  };
1778
- export type ListFleetsResponses = {
1937
+ export type ReplyTicketResponses = {
1779
1938
  /**
1780
- * An array of fleets
1939
+ * Reply appended.
1781
1940
  */
1782
- 200: Array<Fleet>;
1941
+ 200: TicketMessage;
1783
1942
  };
1784
- export type ListFleetsResponse = ListFleetsResponses[keyof ListFleetsResponses];
1785
- export type CreateFleetData = {
1786
- body: FleetCreateInput;
1943
+ export type ReplyTicketResponse = ReplyTicketResponses[keyof ReplyTicketResponses];
1944
+ export type GetTicketAttachmentData = {
1945
+ body?: never;
1787
1946
  path: {
1788
- /**
1789
- * Unique identifier of the cluster. UUID v4 string in canonical form
1790
- */
1791
- cluster_id: string;
1947
+ ticket_id: string;
1948
+ attachment_id: string;
1792
1949
  };
1793
1950
  query?: never;
1794
- url: '/clusters/{cluster_id}/fleets';
1951
+ url: '/tickets/{ticket_id}/attachments/{attachment_id}';
1795
1952
  };
1796
- export type CreateFleetErrors = {
1953
+ export type GetTicketAttachmentResponses = {
1797
1954
  /**
1798
- * Cluster quota exceeded. Maximum number of fleets per cluster allowed in this organization is reached.
1955
+ * Attachment binary stream.
1799
1956
  */
1800
- 402: string;
1957
+ 200: Blob | File;
1801
1958
  };
1802
- export type CreateFleetError = CreateFleetErrors[keyof CreateFleetErrors];
1803
- export type CreateFleetResponses = {
1959
+ export type GetTicketAttachmentResponse = GetTicketAttachmentResponses[keyof GetTicketAttachmentResponses];
1960
+ export type ListRepositoriesData = {
1961
+ body?: never;
1962
+ path?: never;
1963
+ query?: never;
1964
+ url: '/registry';
1965
+ };
1966
+ export type ListRepositoriesErrors = {
1804
1967
  /**
1805
- * Successfully created. Returns created Fleet ID.
1968
+ * Not authenticated
1806
1969
  */
1807
- 200: string;
1970
+ 401: unknown;
1971
+ /**
1972
+ * Internal server error
1973
+ */
1974
+ 500: unknown;
1808
1975
  };
1809
- export type CreateFleetResponse = CreateFleetResponses[keyof CreateFleetResponses];
1810
- export type DeleteFleetData = {
1976
+ export type ListRepositoriesResponses = {
1977
+ /**
1978
+ * List of repositories
1979
+ */
1980
+ 200: Array<RegistryRepository>;
1981
+ };
1982
+ export type ListRepositoriesResponse = ListRepositoriesResponses[keyof ListRepositoriesResponses];
1983
+ export type ListTagsData = {
1811
1984
  body?: never;
1812
1985
  path: {
1813
1986
  /**
1814
- * Unique identifier of the cluster. UUID v4 string in canonical form
1987
+ * Region where the repository is located
1815
1988
  */
1816
- cluster_id: string;
1989
+ region: string;
1817
1990
  /**
1818
- * Unique identifier of the fleet. UUID v4 string in canonical form
1991
+ * Name of the repository
1819
1992
  */
1820
- fleet_name: string;
1993
+ repository: string;
1821
1994
  };
1822
1995
  query?: never;
1823
- url: '/clusters/{cluster_id}/fleets/{fleet_name}';
1996
+ url: '/registry/{region}/{repository}';
1824
1997
  };
1825
- export type DeleteFleetResponses = {
1998
+ export type ListTagsErrors = {
1826
1999
  /**
1827
- * Successfully deleted.
2000
+ * Not authenticated
1828
2001
  */
1829
- 200: string;
2002
+ 401: unknown;
2003
+ /**
2004
+ * Repository not found
2005
+ */
2006
+ 404: unknown;
2007
+ /**
2008
+ * Internal server error
2009
+ */
2010
+ 500: unknown;
1830
2011
  };
1831
- export type DeleteFleetResponse = DeleteFleetResponses[keyof DeleteFleetResponses];
1832
- export type GetFleetData = {
2012
+ export type ListTagsResponses = {
2013
+ /**
2014
+ * Repository with tags
2015
+ */
2016
+ 200: RegistryRepositoryWithTags;
2017
+ };
2018
+ export type ListTagsResponse = ListTagsResponses[keyof ListTagsResponses];
2019
+ export type DeleteTagData = {
1833
2020
  body?: never;
1834
2021
  path: {
1835
2022
  /**
1836
- * Unique identifier of the cluster. UUID v4 string in canonical form
2023
+ * Region where the repository is located
1837
2024
  */
1838
- cluster_id: string;
2025
+ region: string;
1839
2026
  /**
1840
- * Unique identifier of the fleet. UUID v4 string in canonical form
2027
+ * Name of the repository
1841
2028
  */
1842
- fleet_name: string;
2029
+ repository: string;
2030
+ /**
2031
+ * Name of the tag
2032
+ */
2033
+ tag: string;
1843
2034
  };
1844
2035
  query?: never;
1845
- url: '/clusters/{cluster_id}/fleets/{fleet_name}';
2036
+ url: '/registry/{region}/{repository}/{tag}';
1846
2037
  };
1847
- export type GetFleetResponses = {
2038
+ export type DeleteTagErrors = {
1848
2039
  /**
1849
- * Returns a single object containing fleet details.
2040
+ * Not authenticated
1850
2041
  */
1851
- 200: Fleet;
2042
+ 401: unknown;
2043
+ /**
2044
+ * Tag not found
2045
+ */
2046
+ 404: unknown;
2047
+ /**
2048
+ * Internal server error
2049
+ */
2050
+ 500: unknown;
1852
2051
  };
1853
- export type GetFleetResponse = GetFleetResponses[keyof GetFleetResponses];
1854
- export type UpdateFleetData = {
1855
- body: FleetUpdateInput;
2052
+ export type DeleteTagResponses = {
2053
+ /**
2054
+ * Tag successfully deleted
2055
+ */
2056
+ 200: unknown;
2057
+ };
2058
+ export type GetTagData = {
2059
+ body?: never;
1856
2060
  path: {
1857
2061
  /**
1858
- * Unique identifier of the cluster. UUID v4 string in canonical form
2062
+ * Region where the repository is located
1859
2063
  */
1860
- cluster_id: string;
2064
+ region: string;
1861
2065
  /**
1862
- * Unique identifier of the fleet. UUID v4 string in canonical form
2066
+ * Name of the repository
1863
2067
  */
1864
- fleet_name: string;
2068
+ repository: string;
2069
+ /**
2070
+ * Name of the tag
2071
+ */
2072
+ tag: string;
1865
2073
  };
1866
2074
  query?: never;
1867
- url: '/clusters/{cluster_id}/fleets/{fleet_name}';
2075
+ url: '/registry/{region}/{repository}/{tag}';
1868
2076
  };
1869
- export type UpdateFleetErrors = {
2077
+ export type GetTagErrors = {
1870
2078
  /**
1871
- * Organization must have a valid payment method configured to access this endpoint.
2079
+ * Not authenticated
1872
2080
  */
1873
- 402: string;
2081
+ 401: unknown;
2082
+ /**
2083
+ * Tag not found
2084
+ */
2085
+ 404: unknown;
2086
+ /**
2087
+ * Internal server error
2088
+ */
2089
+ 500: unknown;
1874
2090
  };
1875
- export type UpdateFleetError = UpdateFleetErrors[keyof UpdateFleetErrors];
1876
- export type UpdateFleetResponses = {
2091
+ export type GetTagResponses = {
1877
2092
  /**
1878
- * Successfully updated.
2093
+ * Tag details
1879
2094
  */
1880
- 200: string;
2095
+ 200: RegistryTag;
1881
2096
  };
1882
- export type UpdateFleetResponse = UpdateFleetResponses[keyof UpdateFleetResponses];
1883
- export type QueryClusterData = {
2097
+ export type GetTagResponse = GetTagResponses[keyof GetTagResponses];
2098
+ export type GetOrganizationData = {
1884
2099
  body?: never;
1885
- path: {
1886
- /**
1887
- * Unique identifier of the cluster. UUID v4 string in canonical form
1888
- */
1889
- cluster_id: string;
1890
- };
2100
+ path?: never;
1891
2101
  query?: never;
1892
- url: '/clusters/{cluster_id}/query';
2102
+ url: '/organization';
1893
2103
  };
1894
- export type QueryClusterErrors = {
2104
+ export type GetOrganizationResponses = {
1895
2105
  /**
1896
- * Not authenticated
2106
+ * Returns a single object containing organization details.
1897
2107
  */
1898
- 401: unknown;
2108
+ 200: Organization;
1899
2109
  };
1900
- export type QueryClusterResponses = {
2110
+ export type GetOrganizationResponse = GetOrganizationResponses[keyof GetOrganizationResponses];
2111
+ export type CreateOrganizationData = {
2112
+ body: OrganizationCreateInput;
2113
+ path?: never;
2114
+ query?: never;
2115
+ url: '/organization';
2116
+ };
2117
+ export type CreateOrganizationResponses = {
1901
2118
  /**
1902
- * Kubernetes API response
2119
+ * Organization signup accepted. Returns the generated organization id immediately; provisioning (billing, Keycloak realm, user) continues asynchronously in the background.
2120
+ *
1903
2121
  */
1904
- 200: unknown;
2122
+ 200: OrganizationCreateOutput;
1905
2123
  };
1906
- export type ListClustersData = {
1907
- body?: never;
2124
+ export type CreateOrganizationResponse = CreateOrganizationResponses[keyof CreateOrganizationResponses];
2125
+ export type PostMcpData = {
2126
+ /**
2127
+ * JSON-RPC 2.0 request payload
2128
+ */
2129
+ body: {
2130
+ jsonrpc?: string;
2131
+ method?: string;
2132
+ id?: string | number;
2133
+ /**
2134
+ * Method-specific parameters
2135
+ */
2136
+ params?: {
2137
+ [key: string]: unknown;
2138
+ };
2139
+ };
1908
2140
  path?: never;
1909
2141
  query?: never;
1910
- url: '/clusters';
2142
+ url: '/mcp';
1911
2143
  };
1912
- export type ListClustersErrors = {
2144
+ export type PostMcpErrors = {
1913
2145
  /**
1914
2146
  * Not authenticated
1915
2147
  */
1916
2148
  401: unknown;
1917
2149
  };
1918
- export type ListClustersResponses = {
2150
+ export type PostMcpResponses = {
1919
2151
  /**
1920
- * An array of clusters
2152
+ * JSON-RPC 2.0 success or error response
1921
2153
  */
1922
- 200: Array<Cluster>;
2154
+ 200: {
2155
+ jsonrpc?: string;
2156
+ id?: string | number;
2157
+ result?: {
2158
+ [key: string]: unknown;
2159
+ };
2160
+ error?: {
2161
+ code?: number;
2162
+ message?: string;
2163
+ };
2164
+ };
1923
2165
  };
1924
- export type ListClustersResponse = ListClustersResponses[keyof ListClustersResponses];
1925
- export type CreateClusterData = {
1926
- body: ClusterCreateInput;
2166
+ export type PostMcpResponse = PostMcpResponses[keyof PostMcpResponses];
2167
+ export type ListMarketplaceChartsData = {
2168
+ body?: never;
1927
2169
  path?: never;
1928
2170
  query?: never;
1929
- url: '/clusters';
2171
+ url: '/marketplace';
1930
2172
  };
1931
- export type CreateClusterErrors = {
2173
+ export type ListMarketplaceChartsErrors = {
1932
2174
  /**
1933
- * Cluster quota exceeded. Maximum number of clusters allowed in this organization is reached.
2175
+ * Not authenticated
1934
2176
  */
1935
- 402: string;
2177
+ 401: unknown;
1936
2178
  };
1937
- export type CreateClusterError = CreateClusterErrors[keyof CreateClusterErrors];
1938
- export type CreateClusterResponses = {
2179
+ export type ListMarketplaceChartsResponses = {
1939
2180
  /**
1940
- * Successfully created. Returns created Cluster ID.
2181
+ * An array of chart listings in the marketplace.
1941
2182
  */
1942
- 200: string;
2183
+ 200: Array<MarketplaceListing>;
1943
2184
  };
1944
- export type CreateClusterResponse = CreateClusterResponses[keyof CreateClusterResponses];
1945
- export type DeleteClusterData = {
2185
+ export type ListMarketplaceChartsResponse = ListMarketplaceChartsResponses[keyof ListMarketplaceChartsResponses];
2186
+ export type GetMarketplaceChartFilesData = {
1946
2187
  body?: never;
1947
2188
  path: {
1948
2189
  /**
1949
- * Unique identifier of the cluster. UUID v4 string in canonical form
2190
+ * Name of the chart in the marketplace.
1950
2191
  */
1951
- cluster_id: string;
2192
+ chart_name: string;
2193
+ /**
2194
+ * Version channel pattern to match (e.g., "1.31.x-cfke.x" for latest 1.31 patch, "1.x.x-cfke.x" for latest 1.x minor).
2195
+ */
2196
+ version_channel: string;
1952
2197
  };
1953
2198
  query?: never;
1954
- url: '/clusters/{cluster_id}';
2199
+ url: '/marketplace/{chart_name}/files/{version_channel}';
1955
2200
  };
1956
- export type DeleteClusterErrors = {
2201
+ export type GetMarketplaceChartFilesErrors = {
1957
2202
  /**
1958
- * Cluster not found it does not exist or has already been deleted.
2203
+ * Chart not found or no version matches the channel
1959
2204
  */
1960
2205
  404: unknown;
1961
- /**
1962
- * Transient failure tearing down the cluster; retry the request.
1963
- */
1964
- 503: unknown;
1965
2206
  };
1966
- export type DeleteClusterResponses = {
2207
+ export type GetMarketplaceChartFilesResponses = {
1967
2208
  /**
1968
- * Successfully deleted. The cluster has been torn down.
2209
+ * Returns an object containing the chart files for the latest matching version.
1969
2210
  */
1970
- 200: string;
2211
+ 200: MarketplaceListingFiles;
1971
2212
  };
1972
- export type DeleteClusterResponse = DeleteClusterResponses[keyof DeleteClusterResponses];
1973
- export type GetClusterData = {
2213
+ export type GetMarketplaceChartFilesResponse = GetMarketplaceChartFilesResponses[keyof GetMarketplaceChartFilesResponses];
2214
+ export type ListInvitesData = {
1974
2215
  body?: never;
1975
- path: {
1976
- /**
1977
- * Unique identifier of the cluster. UUID v4 string in canonical form
1978
- */
1979
- cluster_id: string;
1980
- };
2216
+ path?: never;
1981
2217
  query?: never;
1982
- url: '/clusters/{cluster_id}';
2218
+ url: '/invites';
1983
2219
  };
1984
- export type GetClusterResponses = {
2220
+ export type ListInvitesErrors = {
1985
2221
  /**
1986
- * Returns a single object containing cluster details.
2222
+ * Not authenticated
1987
2223
  */
1988
- 200: Cluster;
1989
- };
1990
- export type GetClusterResponse = GetClusterResponses[keyof GetClusterResponses];
1991
- export type UpdateClusterData = {
1992
- body: ClusterUpdateInput;
1993
- path: {
1994
- /**
1995
- * Unique identifier of the cluster. UUID v4 string in canonical form
1996
- */
1997
- cluster_id: string;
1998
- };
1999
- query?: never;
2000
- url: '/clusters/{cluster_id}';
2001
- };
2002
- export type UpdateClusterResponses = {
2003
- /**
2004
- * Successfully updated. Returns updated cluster details.
2005
- */
2006
- 200: Cluster;
2007
- };
2008
- export type UpdateClusterResponse = UpdateClusterResponses[keyof UpdateClusterResponses];
2009
- export type GetJoinInformationData = {
2010
- body?: never;
2011
- path: {
2012
- /**
2013
- * Unique identifier of the cluster. UUID v4 string in canonical form
2014
- */
2015
- cluster_id: string;
2016
- };
2017
- query?: never;
2018
- url: '/clusters/{cluster_id}/join_information';
2019
- };
2020
- export type GetJoinInformationErrors = {
2021
- /**
2022
- * Not authenticated
2023
- */
2024
- 401: unknown;
2025
- };
2026
- export type GetJoinInformationResponses = {
2027
- /**
2028
- * An object of cluster join information
2029
- */
2030
- 200: ClusterJoinInformation;
2031
- };
2032
- export type GetJoinInformationResponse = GetJoinInformationResponses[keyof GetJoinInformationResponses];
2033
- export type ListInvitesData = {
2034
- body?: never;
2035
- path?: never;
2036
- query?: never;
2037
- url: '/invites';
2038
- };
2039
- export type ListInvitesErrors = {
2040
- /**
2041
- * Not authenticated
2042
- */
2043
- 401: unknown;
2224
+ 401: unknown;
2044
2225
  };
2045
2226
  export type ListInvitesResponses = {
2046
2227
  /**
@@ -2106,619 +2287,654 @@ export type DeleteInviteResponses = {
2106
2287
  */
2107
2288
  200: unknown;
2108
2289
  };
2109
- export type ListMarketplaceChartsData = {
2290
+ export type QueryClusterData = {
2110
2291
  body?: never;
2111
- path?: never;
2292
+ path: {
2293
+ /**
2294
+ * Unique identifier of the cluster. UUID v4 string in canonical form
2295
+ */
2296
+ cluster_id: string;
2297
+ };
2112
2298
  query?: never;
2113
- url: '/marketplace';
2299
+ url: '/clusters/{cluster_id}/query';
2114
2300
  };
2115
- export type ListMarketplaceChartsErrors = {
2301
+ export type QueryClusterErrors = {
2116
2302
  /**
2117
2303
  * Not authenticated
2118
2304
  */
2119
2305
  401: unknown;
2120
2306
  };
2121
- export type ListMarketplaceChartsResponses = {
2307
+ export type QueryClusterResponses = {
2122
2308
  /**
2123
- * An array of chart listings in the marketplace.
2309
+ * Kubernetes API response
2124
2310
  */
2125
- 200: Array<MarketplaceListing>;
2311
+ 200: unknown;
2126
2312
  };
2127
- export type ListMarketplaceChartsResponse = ListMarketplaceChartsResponses[keyof ListMarketplaceChartsResponses];
2128
- export type GetMarketplaceChartFilesData = {
2313
+ export type ListFleetsData = {
2129
2314
  body?: never;
2130
2315
  path: {
2131
2316
  /**
2132
- * Name of the chart in the marketplace.
2133
- */
2134
- chart_name: string;
2135
- /**
2136
- * 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).
2317
+ * Unique identifier of the cluster. UUID v4 string in canonical form
2137
2318
  */
2138
- version_channel: string;
2319
+ cluster_id: string;
2139
2320
  };
2140
2321
  query?: never;
2141
- url: '/marketplace/{chart_name}/files/{version_channel}';
2322
+ url: '/clusters/{cluster_id}/fleets';
2142
2323
  };
2143
- export type GetMarketplaceChartFilesErrors = {
2324
+ export type ListFleetsErrors = {
2144
2325
  /**
2145
- * Chart not found or no version matches the channel
2326
+ * Not authenticated
2146
2327
  */
2147
- 404: unknown;
2328
+ 401: unknown;
2148
2329
  };
2149
- export type GetMarketplaceChartFilesResponses = {
2330
+ export type ListFleetsResponses = {
2150
2331
  /**
2151
- * Returns an object containing the chart files for the latest matching version.
2332
+ * An array of fleets
2152
2333
  */
2153
- 200: MarketplaceListingFiles;
2334
+ 200: Array<Fleet>;
2154
2335
  };
2155
- export type GetMarketplaceChartFilesResponse = GetMarketplaceChartFilesResponses[keyof GetMarketplaceChartFilesResponses];
2156
- export type PostMcpData = {
2157
- /**
2158
- * JSON-RPC 2.0 request payload
2159
- */
2160
- body: {
2161
- jsonrpc?: string;
2162
- method?: string;
2163
- id?: string | number;
2336
+ export type ListFleetsResponse = ListFleetsResponses[keyof ListFleetsResponses];
2337
+ export type CreateFleetData = {
2338
+ body: FleetCreateInput;
2339
+ path: {
2164
2340
  /**
2165
- * Method-specific parameters
2341
+ * Unique identifier of the cluster. UUID v4 string in canonical form
2166
2342
  */
2167
- params?: {
2168
- [key: string]: unknown;
2169
- };
2343
+ cluster_id: string;
2170
2344
  };
2171
- path?: never;
2172
2345
  query?: never;
2173
- url: '/mcp';
2346
+ url: '/clusters/{cluster_id}/fleets';
2174
2347
  };
2175
- export type PostMcpErrors = {
2348
+ export type CreateFleetErrors = {
2176
2349
  /**
2177
- * Not authenticated
2350
+ * Cluster quota exceeded. Maximum number of fleets per cluster allowed in this organization is reached.
2178
2351
  */
2179
- 401: unknown;
2352
+ 402: string;
2353
+ /**
2354
+ * The cluster cannot service this operation: it is still being created, or it is suspended. Retry once it is ready, or resume the cluster first.
2355
+ */
2356
+ 409: string;
2180
2357
  };
2181
- export type PostMcpResponses = {
2358
+ export type CreateFleetError = CreateFleetErrors[keyof CreateFleetErrors];
2359
+ export type CreateFleetResponses = {
2182
2360
  /**
2183
- * JSON-RPC 2.0 success or error response
2361
+ * Successfully created. Returns created Fleet ID.
2184
2362
  */
2185
- 200: {
2186
- jsonrpc?: string;
2187
- id?: string | number;
2188
- result?: {
2189
- [key: string]: unknown;
2190
- };
2191
- error?: {
2192
- code?: number;
2193
- message?: string;
2194
- };
2195
- };
2363
+ 200: string;
2196
2364
  };
2197
- export type PostMcpResponse = PostMcpResponses[keyof PostMcpResponses];
2198
- export type GetOrganizationData = {
2365
+ export type CreateFleetResponse = CreateFleetResponses[keyof CreateFleetResponses];
2366
+ export type DeleteFleetData = {
2199
2367
  body?: never;
2200
- path?: never;
2368
+ path: {
2369
+ /**
2370
+ * Unique identifier of the cluster. UUID v4 string in canonical form
2371
+ */
2372
+ cluster_id: string;
2373
+ /**
2374
+ * Unique identifier of the fleet. UUID v4 string in canonical form
2375
+ */
2376
+ fleet_name: string;
2377
+ };
2201
2378
  query?: never;
2202
- url: '/organization';
2379
+ url: '/clusters/{cluster_id}/fleets/{fleet_name}';
2203
2380
  };
2204
- export type GetOrganizationResponses = {
2381
+ export type DeleteFleetErrors = {
2205
2382
  /**
2206
- * Returns a single object containing organization details.
2383
+ * The cluster cannot service this operation: it is still being created, or it is suspended. Retry once it is ready, or resume the cluster first.
2207
2384
  */
2208
- 200: Organization;
2209
- };
2210
- export type GetOrganizationResponse = GetOrganizationResponses[keyof GetOrganizationResponses];
2211
- export type CreateOrganizationData = {
2212
- body: OrganizationCreateInput;
2213
- path?: never;
2214
- query?: never;
2215
- url: '/organization';
2385
+ 409: string;
2216
2386
  };
2217
- export type CreateOrganizationResponses = {
2387
+ export type DeleteFleetError = DeleteFleetErrors[keyof DeleteFleetErrors];
2388
+ export type DeleteFleetResponses = {
2218
2389
  /**
2219
- * Organization signup accepted. Returns the generated organization id immediately; provisioning (billing, Keycloak realm, user) continues asynchronously in the background.
2220
- *
2390
+ * Successfully deleted.
2221
2391
  */
2222
- 200: OrganizationCreateOutput;
2392
+ 200: string;
2223
2393
  };
2224
- export type CreateOrganizationResponse = CreateOrganizationResponses[keyof CreateOrganizationResponses];
2225
- export type ListRepositoriesData = {
2394
+ export type DeleteFleetResponse = DeleteFleetResponses[keyof DeleteFleetResponses];
2395
+ export type GetFleetData = {
2226
2396
  body?: never;
2227
- path?: never;
2397
+ path: {
2398
+ /**
2399
+ * Unique identifier of the cluster. UUID v4 string in canonical form
2400
+ */
2401
+ cluster_id: string;
2402
+ /**
2403
+ * Unique identifier of the fleet. UUID v4 string in canonical form
2404
+ */
2405
+ fleet_name: string;
2406
+ };
2228
2407
  query?: never;
2229
- url: '/registry';
2230
- };
2231
- export type ListRepositoriesErrors = {
2232
- /**
2233
- * Not authenticated
2234
- */
2235
- 401: unknown;
2236
- /**
2237
- * Internal server error
2238
- */
2239
- 500: unknown;
2408
+ url: '/clusters/{cluster_id}/fleets/{fleet_name}';
2240
2409
  };
2241
- export type ListRepositoriesResponses = {
2410
+ export type GetFleetResponses = {
2242
2411
  /**
2243
- * List of repositories
2412
+ * Returns a single object containing fleet details.
2244
2413
  */
2245
- 200: Array<RegistryRepository>;
2414
+ 200: Fleet;
2246
2415
  };
2247
- export type ListRepositoriesResponse = ListRepositoriesResponses[keyof ListRepositoriesResponses];
2248
- export type ListTagsData = {
2249
- body?: never;
2416
+ export type GetFleetResponse = GetFleetResponses[keyof GetFleetResponses];
2417
+ export type UpdateFleetData = {
2418
+ body: FleetUpdateInput;
2250
2419
  path: {
2251
2420
  /**
2252
- * Region where the repository is located
2421
+ * Unique identifier of the cluster. UUID v4 string in canonical form
2253
2422
  */
2254
- region: string;
2423
+ cluster_id: string;
2255
2424
  /**
2256
- * Name of the repository
2425
+ * Unique identifier of the fleet. UUID v4 string in canonical form
2257
2426
  */
2258
- repository: string;
2427
+ fleet_name: string;
2259
2428
  };
2260
2429
  query?: never;
2261
- url: '/registry/{region}/{repository}';
2430
+ url: '/clusters/{cluster_id}/fleets/{fleet_name}';
2262
2431
  };
2263
- export type ListTagsErrors = {
2264
- /**
2265
- * Not authenticated
2266
- */
2267
- 401: unknown;
2432
+ export type UpdateFleetErrors = {
2268
2433
  /**
2269
- * Repository not found
2434
+ * Organization must have a valid payment method configured to access this endpoint.
2270
2435
  */
2271
- 404: unknown;
2436
+ 402: string;
2272
2437
  /**
2273
- * Internal server error
2438
+ * The cluster cannot service this operation: it is still being created, or it is suspended. Retry once it is ready, or resume the cluster first.
2274
2439
  */
2275
- 500: unknown;
2440
+ 409: string;
2276
2441
  };
2277
- export type ListTagsResponses = {
2442
+ export type UpdateFleetError = UpdateFleetErrors[keyof UpdateFleetErrors];
2443
+ export type UpdateFleetResponses = {
2278
2444
  /**
2279
- * Repository with tags
2445
+ * Successfully updated.
2280
2446
  */
2281
- 200: RegistryRepositoryWithTags;
2447
+ 200: string;
2282
2448
  };
2283
- export type ListTagsResponse = ListTagsResponses[keyof ListTagsResponses];
2284
- export type DeleteTagData = {
2449
+ export type UpdateFleetResponse = UpdateFleetResponses[keyof UpdateFleetResponses];
2450
+ export type ListChartsData = {
2285
2451
  body?: never;
2286
2452
  path: {
2287
2453
  /**
2288
- * Region where the repository is located
2289
- */
2290
- region: string;
2291
- /**
2292
- * Name of the repository
2454
+ * Unique identifier of the cluster. UUID v4 string in canonical form
2293
2455
  */
2294
- repository: string;
2295
- /**
2296
- * Name of the tag
2297
- */
2298
- tag: string;
2456
+ cluster_id: string;
2299
2457
  };
2300
2458
  query?: never;
2301
- url: '/registry/{region}/{repository}/{tag}';
2459
+ url: '/clusters/{cluster_id}/charts';
2302
2460
  };
2303
- export type DeleteTagErrors = {
2461
+ export type ListChartsErrors = {
2304
2462
  /**
2305
2463
  * Not authenticated
2306
2464
  */
2307
2465
  401: unknown;
2466
+ };
2467
+ export type ListChartsResponses = {
2308
2468
  /**
2309
- * Tag not found
2469
+ * An array of charts
2310
2470
  */
2311
- 404: unknown;
2471
+ 200: Array<Chart>;
2472
+ };
2473
+ export type ListChartsResponse = ListChartsResponses[keyof ListChartsResponses];
2474
+ export type CreateChartData = {
2475
+ body: ChartCreateInput;
2476
+ path: {
2477
+ /**
2478
+ * Unique identifier of the cluster. UUID v4 string in canonical form
2479
+ */
2480
+ cluster_id: string;
2481
+ };
2482
+ query?: never;
2483
+ url: '/clusters/{cluster_id}/charts';
2484
+ };
2485
+ export type CreateChartErrors = {
2312
2486
  /**
2313
- * Internal server error
2487
+ * The cluster cannot service this operation: it is still being created, or it is suspended. Retry once it is ready, or resume the cluster first.
2314
2488
  */
2315
- 500: unknown;
2489
+ 409: string;
2316
2490
  };
2317
- export type DeleteTagResponses = {
2491
+ export type CreateChartError = CreateChartErrors[keyof CreateChartErrors];
2492
+ export type CreateChartResponses = {
2318
2493
  /**
2319
- * Tag successfully deleted
2494
+ * Successfully created. Returns created Chart ID.
2320
2495
  */
2321
- 200: unknown;
2496
+ 200: string;
2322
2497
  };
2323
- export type GetTagData = {
2498
+ export type CreateChartResponse = CreateChartResponses[keyof CreateChartResponses];
2499
+ export type DeleteChartData = {
2324
2500
  body?: never;
2325
2501
  path: {
2326
2502
  /**
2327
- * Region where the repository is located
2328
- */
2329
- region: string;
2330
- /**
2331
- * Name of the repository
2503
+ * Unique identifier of the cluster. UUID v4 string in canonical form
2332
2504
  */
2333
- repository: string;
2505
+ cluster_id: string;
2334
2506
  /**
2335
- * Name of the tag
2507
+ * Chart deployment name as the unique identifier of the chart.
2336
2508
  */
2337
- tag: string;
2509
+ chart_name: string;
2338
2510
  };
2339
2511
  query?: never;
2340
- url: '/registry/{region}/{repository}/{tag}';
2512
+ url: '/clusters/{cluster_id}/charts/{chart_name}';
2341
2513
  };
2342
- export type GetTagErrors = {
2343
- /**
2344
- * Not authenticated
2345
- */
2346
- 401: unknown;
2347
- /**
2348
- * Tag not found
2349
- */
2350
- 404: unknown;
2514
+ export type DeleteChartErrors = {
2351
2515
  /**
2352
- * Internal server error
2516
+ * The cluster cannot service this operation: it is still being created, or it is suspended. Retry once it is ready, or resume the cluster first.
2353
2517
  */
2354
- 500: unknown;
2518
+ 409: string;
2355
2519
  };
2356
- export type GetTagResponses = {
2520
+ export type DeleteChartError = DeleteChartErrors[keyof DeleteChartErrors];
2521
+ export type DeleteChartResponses = {
2357
2522
  /**
2358
- * Tag details
2523
+ * Successfully deleted.
2359
2524
  */
2360
- 200: RegistryTag;
2525
+ 200: string;
2361
2526
  };
2362
- export type GetTagResponse = GetTagResponses[keyof GetTagResponses];
2363
- export type ListTicketsData = {
2527
+ export type DeleteChartResponse = DeleteChartResponses[keyof DeleteChartResponses];
2528
+ export type GetChartData = {
2364
2529
  body?: never;
2365
- path?: never;
2530
+ path: {
2531
+ /**
2532
+ * Unique identifier of the cluster. UUID v4 string in canonical form
2533
+ */
2534
+ cluster_id: string;
2535
+ /**
2536
+ * Chart deployment name as the unique identifier of the chart.
2537
+ */
2538
+ chart_name: string;
2539
+ };
2366
2540
  query?: never;
2367
- url: '/tickets';
2541
+ url: '/clusters/{cluster_id}/charts/{chart_name}';
2368
2542
  };
2369
- export type ListTicketsResponses = {
2543
+ export type GetChartResponses = {
2370
2544
  /**
2371
- * Tickets for the organization.
2545
+ * Returns a single object containing chart details.
2372
2546
  */
2373
- 200: TicketListResponse;
2547
+ 200: Chart;
2374
2548
  };
2375
- export type ListTicketsResponse = ListTicketsResponses[keyof ListTicketsResponses];
2376
- export type CreateTicketData = {
2377
- body: {
2549
+ export type GetChartResponse = GetChartResponses[keyof GetChartResponses];
2550
+ export type UpdateChartData = {
2551
+ body: ChartUpdateInput;
2552
+ path: {
2378
2553
  /**
2379
- * JSON-encoded TicketCreateInput.
2554
+ * Unique identifier of the cluster. UUID v4 string in canonical form
2380
2555
  */
2381
- payload?: string;
2382
- attachments?: Array<Blob | File>;
2556
+ cluster_id: string;
2557
+ /**
2558
+ * Chart deployment name as the unique identifier of the chart.
2559
+ */
2560
+ chart_name: string;
2383
2561
  };
2384
- path?: never;
2385
2562
  query?: never;
2386
- url: '/tickets';
2563
+ url: '/clusters/{cluster_id}/charts/{chart_name}';
2387
2564
  };
2388
- export type CreateTicketResponses = {
2565
+ export type UpdateChartErrors = {
2389
2566
  /**
2390
- * Ticket created.
2567
+ * The cluster cannot service this operation: it is still being created, or it is suspended. Retry once it is ready, or resume the cluster first.
2391
2568
  */
2392
- 200: Ticket;
2393
- };
2394
- export type CreateTicketResponse = CreateTicketResponses[keyof CreateTicketResponses];
2395
- export type CloseTicketData = {
2396
- body?: never;
2397
- path: {
2398
- ticket_id: string;
2399
- };
2400
- query?: never;
2401
- url: '/tickets/{ticket_id}';
2569
+ 409: string;
2402
2570
  };
2403
- export type CloseTicketResponses = {
2571
+ export type UpdateChartError = UpdateChartErrors[keyof UpdateChartErrors];
2572
+ export type UpdateChartResponses = {
2404
2573
  /**
2405
- * Ticket closed.
2574
+ * Successfully updated.
2406
2575
  */
2407
- 200: Ticket;
2576
+ 200: string;
2408
2577
  };
2409
- export type CloseTicketResponse = CloseTicketResponses[keyof CloseTicketResponses];
2410
- export type GetTicketData = {
2578
+ export type UpdateChartResponse = UpdateChartResponses[keyof UpdateChartResponses];
2579
+ export type ListClustersData = {
2411
2580
  body?: never;
2412
- path: {
2413
- ticket_id: string;
2414
- };
2581
+ path?: never;
2415
2582
  query?: never;
2416
- url: '/tickets/{ticket_id}';
2583
+ url: '/clusters';
2417
2584
  };
2418
- export type GetTicketResponses = {
2585
+ export type ListClustersErrors = {
2419
2586
  /**
2420
- * Ticket with messages (internal notes excluded).
2587
+ * Not authenticated
2421
2588
  */
2422
- 200: Ticket;
2589
+ 401: unknown;
2423
2590
  };
2424
- export type GetTicketResponse = GetTicketResponses[keyof GetTicketResponses];
2425
- export type ReplyTicketData = {
2426
- body: {
2427
- /**
2428
- * JSON-encoded TicketMessageInput.
2429
- */
2430
- payload?: string;
2431
- attachments?: Array<Blob | File>;
2432
- };
2433
- path: {
2434
- ticket_id: string;
2435
- };
2591
+ export type ListClustersResponses = {
2592
+ /**
2593
+ * An array of clusters
2594
+ */
2595
+ 200: Array<Cluster>;
2596
+ };
2597
+ export type ListClustersResponse = ListClustersResponses[keyof ListClustersResponses];
2598
+ export type CreateClusterData = {
2599
+ body: ClusterCreateInput;
2600
+ path?: never;
2436
2601
  query?: never;
2437
- url: '/tickets/{ticket_id}/messages';
2602
+ url: '/clusters';
2438
2603
  };
2439
- export type ReplyTicketErrors = {
2604
+ export type CreateClusterErrors = {
2440
2605
  /**
2441
- * Ticket is closed. Open a new ticket instead.
2606
+ * Cluster quota exceeded. Maximum number of clusters allowed in this organization is reached.
2442
2607
  */
2443
- 409: unknown;
2608
+ 402: string;
2444
2609
  };
2445
- export type ReplyTicketResponses = {
2610
+ export type CreateClusterError = CreateClusterErrors[keyof CreateClusterErrors];
2611
+ export type CreateClusterResponses = {
2446
2612
  /**
2447
- * Reply appended.
2613
+ * Successfully created. Returns created Cluster ID.
2448
2614
  */
2449
- 200: TicketMessage;
2615
+ 200: string;
2450
2616
  };
2451
- export type ReplyTicketResponse = ReplyTicketResponses[keyof ReplyTicketResponses];
2452
- export type GetTicketAttachmentData = {
2617
+ export type CreateClusterResponse = CreateClusterResponses[keyof CreateClusterResponses];
2618
+ export type DeleteClusterData = {
2453
2619
  body?: never;
2454
2620
  path: {
2455
- ticket_id: string;
2456
- attachment_id: string;
2621
+ /**
2622
+ * Unique identifier of the cluster. UUID v4 string in canonical form
2623
+ */
2624
+ cluster_id: string;
2457
2625
  };
2458
2626
  query?: never;
2459
- url: '/tickets/{ticket_id}/attachments/{attachment_id}';
2627
+ url: '/clusters/{cluster_id}';
2460
2628
  };
2461
- export type GetTicketAttachmentResponses = {
2629
+ export type DeleteClusterErrors = {
2462
2630
  /**
2463
- * Attachment binary stream.
2631
+ * Cluster not found; it does not exist or has already been deleted.
2464
2632
  */
2465
- 200: Blob | File;
2466
- };
2467
- export type GetTicketAttachmentResponse = GetTicketAttachmentResponses[keyof GetTicketAttachmentResponses];
2468
- export type ListTokensData = {
2469
- body?: never;
2470
- path?: never;
2471
- query?: never;
2472
- url: '/tokens';
2633
+ 404: unknown;
2634
+ /**
2635
+ * The cluster cannot service this operation: it is still being created, or it is suspended. Retry once it is ready, or resume the cluster first.
2636
+ */
2637
+ 409: string;
2638
+ /**
2639
+ * Transient failure tearing down the cluster; retry the request.
2640
+ */
2641
+ 503: unknown;
2473
2642
  };
2474
- export type ListTokensErrors = {
2643
+ export type DeleteClusterError = DeleteClusterErrors[keyof DeleteClusterErrors];
2644
+ export type DeleteClusterResponses = {
2475
2645
  /**
2476
- * Not authenticated
2646
+ * Successfully deleted. The cluster has been torn down.
2477
2647
  */
2478
- 401: unknown;
2648
+ 200: string;
2479
2649
  };
2480
- export type ListTokensResponses = {
2650
+ export type DeleteClusterResponse = DeleteClusterResponses[keyof DeleteClusterResponses];
2651
+ export type GetClusterData = {
2652
+ body?: never;
2653
+ path: {
2654
+ /**
2655
+ * Unique identifier of the cluster. UUID v4 string in canonical form
2656
+ */
2657
+ cluster_id: string;
2658
+ };
2659
+ query?: never;
2660
+ url: '/clusters/{cluster_id}';
2661
+ };
2662
+ export type GetClusterResponses = {
2481
2663
  /**
2482
- * Returns a list of access token details with masked secrets.
2664
+ * Returns a single object containing cluster details.
2483
2665
  */
2484
- 200: Array<Token>;
2666
+ 200: Cluster;
2485
2667
  };
2486
- export type ListTokensResponse = ListTokensResponses[keyof ListTokensResponses];
2487
- export type CreateTokenData = {
2488
- body: TokenCreateInput;
2489
- path?: never;
2668
+ export type GetClusterResponse = GetClusterResponses[keyof GetClusterResponses];
2669
+ export type UpdateClusterData = {
2670
+ body: ClusterUpdateInput;
2671
+ path: {
2672
+ /**
2673
+ * Unique identifier of the cluster. UUID v4 string in canonical form
2674
+ */
2675
+ cluster_id: string;
2676
+ };
2490
2677
  query?: never;
2491
- url: '/tokens';
2678
+ url: '/clusters/{cluster_id}';
2492
2679
  };
2493
- export type CreateTokenErrors = {
2680
+ export type UpdateClusterErrors = {
2494
2681
  /**
2495
- * Not authenticated
2682
+ * The cluster cannot service this operation: it is still being created, or it is suspended. Retry once it is ready, or resume the cluster first.
2496
2683
  */
2497
- 401: unknown;
2684
+ 409: string;
2498
2685
  };
2499
- export type CreateTokenResponses = {
2686
+ export type UpdateClusterError = UpdateClusterErrors[keyof UpdateClusterErrors];
2687
+ export type UpdateClusterResponses = {
2500
2688
  /**
2501
- * Successfully created. Returns created token details with unmasked/raw secret.
2689
+ * Successfully updated. Returns updated cluster details.
2502
2690
  */
2503
- 200: Token;
2691
+ 200: Cluster;
2504
2692
  };
2505
- export type CreateTokenResponse = CreateTokenResponses[keyof CreateTokenResponses];
2506
- export type DeleteTokenData = {
2693
+ export type UpdateClusterResponse = UpdateClusterResponses[keyof UpdateClusterResponses];
2694
+ export type GetJoinInformationData = {
2507
2695
  body?: never;
2508
2696
  path: {
2509
2697
  /**
2510
- * Generated unique identifier of the access token.
2698
+ * Unique identifier of the cluster. UUID v4 string in canonical form
2511
2699
  */
2512
- token_id: string;
2700
+ cluster_id: string;
2513
2701
  };
2514
2702
  query?: never;
2515
- url: '/tokens/{token_id}';
2703
+ url: '/clusters/{cluster_id}/join_information';
2516
2704
  };
2517
- export type DeleteTokenResponses = {
2705
+ export type GetJoinInformationErrors = {
2518
2706
  /**
2519
- * Successfully deleted.
2707
+ * Not authenticated
2520
2708
  */
2521
- 200: unknown;
2709
+ 401: unknown;
2710
+ /**
2711
+ * The cluster cannot service this operation: it is still being created, or it is suspended. Retry once it is ready, or resume the cluster first.
2712
+ */
2713
+ 409: string;
2522
2714
  };
2523
- export type GetTokenData = {
2715
+ export type GetJoinInformationError = GetJoinInformationErrors[keyof GetJoinInformationErrors];
2716
+ export type GetJoinInformationResponses = {
2717
+ /**
2718
+ * An object of cluster join information
2719
+ */
2720
+ 200: ClusterJoinInformation;
2721
+ };
2722
+ export type GetJoinInformationResponse = GetJoinInformationResponses[keyof GetJoinInformationResponses];
2723
+ export type GetUsageData = {
2524
2724
  body?: never;
2525
- path: {
2725
+ path?: never;
2726
+ query?: {
2526
2727
  /**
2527
- * Generated unique identifier of the access token.
2728
+ * Time granularity for usage aggregation - hourly (Past 48 hours aggregated by hour), daily (Past 30 days aggregated by day), monthly (Past 12 months aggregated by month)
2528
2729
  */
2529
- token_id: string;
2730
+ granularity?: 'hourly' | 'daily' | 'monthly';
2530
2731
  };
2531
- query?: never;
2532
- url: '/tokens/{token_id}';
2732
+ url: '/billing/usage';
2533
2733
  };
2534
- export type GetTokenErrors = {
2734
+ export type GetUsageErrors = {
2535
2735
  /**
2536
2736
  * Not authenticated
2537
2737
  */
2538
2738
  401: unknown;
2539
2739
  };
2540
- export type GetTokenResponses = {
2740
+ export type GetUsageResponses = {
2541
2741
  /**
2542
- * Returns access token details with masked secret.
2742
+ * Usage data with facets for filtering
2543
2743
  */
2544
- 200: Token;
2744
+ 200: UsageResponse;
2545
2745
  };
2546
- export type GetTokenResponse = GetTokenResponses[keyof GetTokenResponses];
2547
- export type UpdateTokenData = {
2548
- body: TokenUpdateInput;
2549
- path: {
2746
+ export type GetUsageResponse = GetUsageResponses[keyof GetUsageResponses];
2747
+ export type GetPaymentMethodSecretData = {
2748
+ body?: never;
2749
+ path?: never;
2750
+ query?: never;
2751
+ url: '/billing/payment-method';
2752
+ };
2753
+ export type GetPaymentMethodSecretResponses = {
2754
+ /**
2755
+ * The client secret. Used for client-side retrieval using a publishable key. The client secret can be used to complete a payment from your frontend. It should not be stored, logged, or exposed to anyone other than the customer. Make sure that you have TLS enabled on any page that includes the client secret.
2756
+ *
2757
+ */
2758
+ 200: {
2550
2759
  /**
2551
- * Generated unique identifier of the access token.
2760
+ * The client secret.
2552
2761
  */
2553
- token_id: string;
2762
+ id?: string;
2554
2763
  };
2764
+ };
2765
+ export type GetPaymentMethodSecretResponse = GetPaymentMethodSecretResponses[keyof GetPaymentMethodSecretResponses];
2766
+ export type ListPaymentMethodsData = {
2767
+ body?: never;
2768
+ path?: never;
2555
2769
  query?: never;
2556
- url: '/tokens/{token_id}';
2770
+ url: '/billing/payment-methods';
2557
2771
  };
2558
- export type UpdateTokenErrors = {
2772
+ export type ListPaymentMethodsErrors = {
2559
2773
  /**
2560
2774
  * Not authenticated
2561
2775
  */
2562
2776
  401: unknown;
2563
2777
  };
2564
- export type UpdateTokenResponses = {
2778
+ export type ListPaymentMethodsResponses = {
2565
2779
  /**
2566
- * Successfully updated. Returns updated token details with masked secret.
2780
+ * An array of payment methods.
2567
2781
  */
2568
- 200: Token;
2782
+ 200: Array<PaymentMethod>;
2569
2783
  };
2570
- export type UpdateTokenResponse = UpdateTokenResponses[keyof UpdateTokenResponses];
2571
- export type RegenerateTokenData = {
2784
+ export type ListPaymentMethodsResponse = ListPaymentMethodsResponses[keyof ListPaymentMethodsResponses];
2785
+ export type SetDefaultPaymentMethodData = {
2572
2786
  body?: never;
2573
2787
  path: {
2574
2788
  /**
2575
- * Generated unique identifier of the access token.
2789
+ * Stripe payment method identifier.
2576
2790
  */
2577
- token_id: string;
2791
+ paymentMethodId: string;
2578
2792
  };
2579
2793
  query?: never;
2580
- url: '/tokens/{token_id}/secret';
2794
+ url: '/billing/payment-methods/{paymentMethodId}/default';
2581
2795
  };
2582
- export type RegenerateTokenErrors = {
2796
+ export type SetDefaultPaymentMethodErrors = {
2797
+ /**
2798
+ * The bank transfer payment method cannot be set as the default.
2799
+ */
2800
+ 400: unknown;
2583
2801
  /**
2584
2802
  * Not authenticated
2585
2803
  */
2586
2804
  401: unknown;
2805
+ /**
2806
+ * Payment method not found.
2807
+ */
2808
+ 404: unknown;
2587
2809
  };
2588
- export type RegenerateTokenResponses = {
2810
+ export type SetDefaultPaymentMethodResponses = {
2589
2811
  /**
2590
- * Successfully updated. Returns updated token details with unmasked / raw secret.
2812
+ * Default payment method updated.
2591
2813
  */
2592
- 200: Token;
2814
+ 204: void;
2593
2815
  };
2594
- export type RegenerateTokenResponse = RegenerateTokenResponses[keyof RegenerateTokenResponses];
2595
- export type ListUserOrganizationsData = {
2816
+ export type SetDefaultPaymentMethodResponse = SetDefaultPaymentMethodResponses[keyof SetDefaultPaymentMethodResponses];
2817
+ export type DeletePaymentMethodData = {
2596
2818
  body?: never;
2597
2819
  path: {
2598
2820
  /**
2599
- * User email address.
2821
+ * Stripe payment method identifier.
2600
2822
  */
2601
- email: string;
2823
+ paymentMethodId: string;
2602
2824
  };
2603
2825
  query?: never;
2604
- url: '/users/organizations/{email}';
2826
+ url: '/billing/payment-methods/{paymentMethodId}';
2605
2827
  };
2606
- export type ListUserOrganizationsResponses = {
2828
+ export type DeletePaymentMethodErrors = {
2607
2829
  /**
2608
- * An array of organizations the user belongs to.
2830
+ * The bank transfer payment method cannot be removed.
2609
2831
  */
2610
- 200: Array<{
2611
- /**
2612
- * Unique identifier of the organization. UUID v4 string in canonical form
2613
- */
2614
- realm?: string;
2615
- /**
2616
- * Human-readable name of the organization
2617
- */
2618
- displayName?: string;
2619
- }>;
2832
+ 400: unknown;
2833
+ /**
2834
+ * Not authenticated
2835
+ */
2836
+ 401: unknown;
2837
+ /**
2838
+ * Payment method not found.
2839
+ */
2840
+ 404: unknown;
2841
+ /**
2842
+ * Cannot delete the only remaining payment method.
2843
+ */
2844
+ 409: unknown;
2620
2845
  };
2621
- export type ListUserOrganizationsResponse = ListUserOrganizationsResponses[keyof ListUserOrganizationsResponses];
2622
- export type ListUsersData = {
2846
+ export type DeletePaymentMethodResponses = {
2847
+ /**
2848
+ * Payment method deleted.
2849
+ */
2850
+ 204: void;
2851
+ };
2852
+ export type DeletePaymentMethodResponse = DeletePaymentMethodResponses[keyof DeletePaymentMethodResponses];
2853
+ export type ListInvoicesData = {
2623
2854
  body?: never;
2624
2855
  path?: never;
2625
2856
  query?: never;
2626
- url: '/users';
2857
+ url: '/billing/invoices';
2627
2858
  };
2628
- export type ListUsersErrors = {
2859
+ export type ListInvoicesErrors = {
2629
2860
  /**
2630
2861
  * Not authenticated
2631
2862
  */
2632
2863
  401: unknown;
2633
2864
  };
2634
- export type ListUsersResponses = {
2865
+ export type ListInvoicesResponses = {
2635
2866
  /**
2636
- * An array of users
2867
+ * An array of usage records.
2637
2868
  */
2638
- 200: Array<User>;
2869
+ 200: Array<Invoice>;
2639
2870
  };
2640
- export type ListUsersResponse = ListUsersResponses[keyof ListUsersResponses];
2641
- export type CreateUserData = {
2642
- body: UserCreateInput;
2871
+ export type ListInvoicesResponse = ListInvoicesResponses[keyof ListInvoicesResponses];
2872
+ export type GetContactData = {
2873
+ body?: never;
2643
2874
  path?: never;
2644
2875
  query?: never;
2645
- url: '/users';
2876
+ url: '/billing/contact';
2646
2877
  };
2647
- export type CreateUserResponses = {
2878
+ export type GetContactResponses = {
2648
2879
  /**
2649
- * Successfully created. Returns created user details.
2880
+ * Returns a single object containing organization contact and billing address details.
2650
2881
  */
2651
- 200: User;
2882
+ 200: BillingContact;
2652
2883
  };
2653
- export type CreateUserResponse = CreateUserResponses[keyof CreateUserResponses];
2654
- export type DeleteUserData = {
2655
- body?: never;
2656
- path: {
2657
- /**
2658
- * Unique user identifier. UUID v4 string in canonical form
2659
- */
2660
- user_id: string;
2661
- };
2884
+ export type GetContactResponse = GetContactResponses[keyof GetContactResponses];
2885
+ export type UpdateContactData = {
2886
+ body: BillingContact;
2887
+ path?: never;
2662
2888
  query?: never;
2663
- url: '/users/{user_id}';
2889
+ url: '/billing/contact';
2664
2890
  };
2665
- export type DeleteUserErrors = {
2891
+ export type UpdateContactResponses = {
2666
2892
  /**
2667
- * Deleting own user is not allowed. Delete your organization instead.
2893
+ * Successfully updated. Returns updated organization details.
2668
2894
  */
2669
- 400: unknown;
2895
+ 200: BillingContact;
2896
+ };
2897
+ export type UpdateContactResponse = UpdateContactResponses[keyof UpdateContactResponses];
2898
+ export type GetCreditsData = {
2899
+ body?: never;
2900
+ path?: never;
2901
+ query?: never;
2902
+ url: '/billing/credits';
2903
+ };
2904
+ export type GetCreditsErrors = {
2670
2905
  /**
2671
2906
  * Not authenticated
2672
2907
  */
2673
2908
  401: unknown;
2674
2909
  };
2675
- export type DeleteUserResponses = {
2910
+ export type GetCreditsResponses = {
2676
2911
  /**
2677
- * User profile information
2912
+ * An array of the applied promotional credits records.
2678
2913
  */
2679
- 200: User;
2914
+ 200: Array<BillingCredits>;
2680
2915
  };
2681
- export type DeleteUserResponse = DeleteUserResponses[keyof DeleteUserResponses];
2682
- export type GetUserData = {
2683
- body?: never;
2684
- path: {
2916
+ export type GetCreditsResponse = GetCreditsResponses[keyof GetCreditsResponses];
2917
+ export type RedeemCreditsData = {
2918
+ body: {
2685
2919
  /**
2686
- * Unique user identifier. UUID v4 string in canonical form
2920
+ * Promotional code to redeem
2687
2921
  */
2688
- user_id: string;
2922
+ code?: string;
2689
2923
  };
2924
+ path?: never;
2690
2925
  query?: never;
2691
- url: '/users/{user_id}';
2926
+ url: '/billing/credits';
2692
2927
  };
2693
- export type GetUserErrors = {
2928
+ export type RedeemCreditsErrors = {
2694
2929
  /**
2695
2930
  * Not authenticated
2696
2931
  */
2697
2932
  401: unknown;
2698
2933
  };
2699
- export type GetUserResponses = {
2700
- /**
2701
- * User profile information
2702
- */
2703
- 200: User;
2704
- };
2705
- export type GetUserResponse = GetUserResponses[keyof GetUserResponses];
2706
- export type UpdateUserData = {
2707
- body: UserUpdateInput;
2708
- path: {
2709
- /**
2710
- * Unique user identifier. UUID v4 string in canonical form
2711
- */
2712
- user_id: string;
2713
- };
2714
- query?: never;
2715
- url: '/users/{user_id}';
2716
- };
2717
- export type UpdateUserResponses = {
2934
+ export type RedeemCreditsResponses = {
2718
2935
  /**
2719
- * Successfully created. Returns created user details.
2936
+ * Successfully created a new organization.
2720
2937
  */
2721
- 200: User;
2938
+ 200: unknown;
2722
2939
  };
2723
- export type UpdateUserResponse = UpdateUserResponses[keyof UpdateUserResponses];
2724
2940
  //# sourceMappingURL=types.gen.d.ts.map