@cloudfleet/sdk 0.0.1-7aa2bb2 → 0.0.1-7cc6159

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.
@@ -133,9 +133,9 @@ export type Chart = {
133
133
  */
134
134
  chart: string;
135
135
  /**
136
- * Status of the chart deployment.
136
+ * Status of the chart deployment (Flux HelmRelease Ready condition reason, e.g. InstallSucceeded, UpgradeFailed, Progressing).
137
137
  */
138
- status: 'InstallSucceeded' | 'InstallFailed' | 'UpgradeSucceeded' | 'UpgradeFailed' | 'TestSucceeded' | 'TestFailed' | 'RollbackSucceeded' | 'RollbackFailed' | 'UninstallSucceeded' | 'UninstallFailed' | 'ArtifactFailed' | 'DependencyNotReady' | 'Progressing' | 'SourceNotReady';
138
+ status: string;
139
139
  /**
140
140
  * Current version of the chart deployment.
141
141
  */
@@ -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';
175
178
  /**
176
- * Cloudfleet control plane region. One of "staging-1a", "northamerica-central-1", "europe-central-1a", "northamerica-central-1a". This field can not be updated after creation.
179
+ * Version of the kubernetes cluster.
177
180
  */
178
- region?: 'staging-1a' | 'northamerica-central-1' | 'europe-central-1a' | 'northamerica-central-1a';
181
+ version_channel?: string;
179
182
  /**
180
- * Version of the kubernetes cluster.
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
+ };
203
+ /**
204
+ * Cloudfleet control plane region. This field can not be updated after creation.
205
+ */
206
+ region: string;
207
+ /**
208
+ * Cluster networking configuration. Immutable after creation.
181
209
  */
182
- version_channel?: '1.x.x-cfke.x' | '1.31.x-cfke.x' | '1.32.x-cfke.x' | '1.33.x-cfke.x';
210
+ networking?: {
211
+ /**
212
+ * CIDR block for pod IPs.
213
+ */
214
+ pod_cidr?: string;
215
+ /**
216
+ * CIDR block for service IPs.
217
+ */
218
+ service_cidr?: string;
219
+ /**
220
+ * Enable IPv4+IPv6 dual-stack networking.
221
+ */
222
+ dual_stack?: boolean;
223
+ /**
224
+ * IPv6 pod CIDR. Requires dual_stack.
225
+ */
226
+ pod_cidr_v6?: string;
227
+ /**
228
+ * IPv6 service CIDR. Requires dual_stack.
229
+ */
230
+ service_cidr_v6?: string;
231
+ };
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
+ };
334
+ /**
335
+ * Cloudfleet control plane region. This field can not be updated after creation.
336
+ */
337
+ region: string;
257
338
  /**
258
- * Cloudfleet control plane region. One of "staging-1a", "northamerica-central-1", "europe-central-1a", "northamerica-central-1a". This field can not be updated after creation.
339
+ * Cluster networking configuration. Immutable after creation.
259
340
  */
260
- region?: 'staging-1a' | 'northamerica-central-1' | 'europe-central-1a' | 'northamerica-central-1a';
341
+ networking: {
342
+ /**
343
+ * CIDR block for pod IPs.
344
+ */
345
+ pod_cidr: string;
346
+ /**
347
+ * CIDR block for service IPs.
348
+ */
349
+ service_cidr: string;
350
+ /**
351
+ * Enable IPv4+IPv6 dual-stack networking.
352
+ */
353
+ dual_stack: boolean;
354
+ /**
355
+ * IPv6 pod CIDR. Requires dual_stack.
356
+ */
357
+ pod_cidr_v6: string;
358
+ /**
359
+ * IPv6 service CIDR. Requires dual_stack.
360
+ */
361
+ service_cidr_v6: string;
362
+ };
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,600 +1596,628 @@ 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 = {
1811
- body?: never;
1812
- path: {
1813
- /**
1814
- * Unique identifier of the cluster. UUID v4 string in canonical form
1815
- */
1816
- cluster_id: string;
1817
- /**
1818
- * Unique identifier of the fleet. UUID v4 string in canonical form
1819
- */
1820
- fleet_name: string;
1821
- };
1822
- query?: never;
1823
- url: '/clusters/{cluster_id}/fleets/{fleet_name}';
1824
- };
1825
- export type DeleteFleetResponses = {
1976
+ export type ListRepositoriesResponses = {
1826
1977
  /**
1827
- * Successfully deleted.
1978
+ * List of repositories
1828
1979
  */
1829
- 200: string;
1980
+ 200: Array<RegistryRepository>;
1830
1981
  };
1831
- export type DeleteFleetResponse = DeleteFleetResponses[keyof DeleteFleetResponses];
1832
- export type GetFleetData = {
1982
+ export type ListRepositoriesResponse = ListRepositoriesResponses[keyof ListRepositoriesResponses];
1983
+ export type ListTagsData = {
1833
1984
  body?: never;
1834
1985
  path: {
1835
1986
  /**
1836
- * Unique identifier of the cluster. UUID v4 string in canonical form
1987
+ * Region where the repository is located
1837
1988
  */
1838
- cluster_id: string;
1989
+ region: string;
1839
1990
  /**
1840
- * Unique identifier of the fleet. UUID v4 string in canonical form
1991
+ * Name of the repository
1841
1992
  */
1842
- fleet_name: string;
1993
+ repository: string;
1843
1994
  };
1844
1995
  query?: never;
1845
- url: '/clusters/{cluster_id}/fleets/{fleet_name}';
1996
+ url: '/registry/{region}/{repository}';
1846
1997
  };
1847
- export type GetFleetResponses = {
1998
+ export type ListTagsErrors = {
1848
1999
  /**
1849
- * Returns a single object containing fleet details.
2000
+ * Not authenticated
1850
2001
  */
1851
- 200: Fleet;
1852
- };
1853
- export type GetFleetResponse = GetFleetResponses[keyof GetFleetResponses];
1854
- export type UpdateFleetData = {
1855
- body: FleetUpdateInput;
1856
- path: {
1857
- /**
1858
- * Unique identifier of the cluster. UUID v4 string in canonical form
1859
- */
1860
- cluster_id: string;
1861
- /**
1862
- * Unique identifier of the fleet. UUID v4 string in canonical form
1863
- */
1864
- fleet_name: string;
1865
- };
1866
- query?: never;
1867
- url: '/clusters/{cluster_id}/fleets/{fleet_name}';
1868
- };
1869
- export type UpdateFleetErrors = {
2002
+ 401: unknown;
1870
2003
  /**
1871
- * Organization must have a valid payment method configured to access this endpoint.
2004
+ * Repository not found
1872
2005
  */
1873
- 402: string;
2006
+ 404: unknown;
2007
+ /**
2008
+ * Internal server error
2009
+ */
2010
+ 500: unknown;
1874
2011
  };
1875
- export type UpdateFleetError = UpdateFleetErrors[keyof UpdateFleetErrors];
1876
- export type UpdateFleetResponses = {
2012
+ export type ListTagsResponses = {
1877
2013
  /**
1878
- * Successfully updated.
2014
+ * Repository with tags
1879
2015
  */
1880
- 200: string;
2016
+ 200: RegistryRepositoryWithTags;
1881
2017
  };
1882
- export type UpdateFleetResponse = UpdateFleetResponses[keyof UpdateFleetResponses];
1883
- export type QueryClusterData = {
2018
+ export type ListTagsResponse = ListTagsResponses[keyof ListTagsResponses];
2019
+ export type DeleteTagData = {
1884
2020
  body?: never;
1885
2021
  path: {
1886
2022
  /**
1887
- * Unique identifier of the cluster. UUID v4 string in canonical form
2023
+ * Region where the repository is located
1888
2024
  */
1889
- cluster_id: string;
2025
+ region: string;
2026
+ /**
2027
+ * Name of the repository
2028
+ */
2029
+ repository: string;
2030
+ /**
2031
+ * Name of the tag
2032
+ */
2033
+ tag: string;
1890
2034
  };
1891
2035
  query?: never;
1892
- url: '/clusters/{cluster_id}/query';
2036
+ url: '/registry/{region}/{repository}/{tag}';
1893
2037
  };
1894
- export type QueryClusterErrors = {
2038
+ export type DeleteTagErrors = {
1895
2039
  /**
1896
2040
  * Not authenticated
1897
2041
  */
1898
2042
  401: unknown;
2043
+ /**
2044
+ * Tag not found
2045
+ */
2046
+ 404: unknown;
2047
+ /**
2048
+ * Internal server error
2049
+ */
2050
+ 500: unknown;
1899
2051
  };
1900
- export type QueryClusterResponses = {
2052
+ export type DeleteTagResponses = {
1901
2053
  /**
1902
- * Kubernetes API response
2054
+ * Tag successfully deleted
1903
2055
  */
1904
2056
  200: unknown;
1905
2057
  };
1906
- export type ListClustersData = {
2058
+ export type GetTagData = {
1907
2059
  body?: never;
1908
- path?: never;
2060
+ path: {
2061
+ /**
2062
+ * Region where the repository is located
2063
+ */
2064
+ region: string;
2065
+ /**
2066
+ * Name of the repository
2067
+ */
2068
+ repository: string;
2069
+ /**
2070
+ * Name of the tag
2071
+ */
2072
+ tag: string;
2073
+ };
1909
2074
  query?: never;
1910
- url: '/clusters';
2075
+ url: '/registry/{region}/{repository}/{tag}';
1911
2076
  };
1912
- export type ListClustersErrors = {
2077
+ export type GetTagErrors = {
1913
2078
  /**
1914
2079
  * Not authenticated
1915
2080
  */
1916
2081
  401: unknown;
1917
- };
1918
- export type ListClustersResponses = {
1919
2082
  /**
1920
- * An array of clusters
2083
+ * Tag not found
1921
2084
  */
1922
- 200: Array<Cluster>;
1923
- };
1924
- export type ListClustersResponse = ListClustersResponses[keyof ListClustersResponses];
1925
- export type CreateClusterData = {
1926
- body: ClusterCreateInput;
1927
- path?: never;
1928
- query?: never;
1929
- url: '/clusters';
1930
- };
1931
- export type CreateClusterErrors = {
2085
+ 404: unknown;
1932
2086
  /**
1933
- * Cluster quota exceeded. Maximum number of clusters allowed in this organization is reached.
2087
+ * Internal server error
1934
2088
  */
1935
- 402: string;
2089
+ 500: unknown;
1936
2090
  };
1937
- export type CreateClusterError = CreateClusterErrors[keyof CreateClusterErrors];
1938
- export type CreateClusterResponses = {
2091
+ export type GetTagResponses = {
1939
2092
  /**
1940
- * Successfully created. Returns created Cluster ID.
2093
+ * Tag details
1941
2094
  */
1942
- 200: string;
2095
+ 200: RegistryTag;
1943
2096
  };
1944
- export type CreateClusterResponse = CreateClusterResponses[keyof CreateClusterResponses];
1945
- export type DeleteClusterData = {
2097
+ export type GetTagResponse = GetTagResponses[keyof GetTagResponses];
2098
+ export type GetOrganizationData = {
1946
2099
  body?: never;
1947
- path: {
1948
- /**
1949
- * Unique identifier of the cluster. UUID v4 string in canonical form
1950
- */
1951
- cluster_id: string;
1952
- };
2100
+ path?: never;
1953
2101
  query?: never;
1954
- url: '/clusters/{cluster_id}';
2102
+ url: '/organization';
1955
2103
  };
1956
- export type DeleteClusterResponses = {
2104
+ export type GetOrganizationResponses = {
1957
2105
  /**
1958
- * Successfully deleted.
2106
+ * Returns a single object containing organization details.
1959
2107
  */
1960
- 200: string;
2108
+ 200: Organization;
1961
2109
  };
1962
- export type DeleteClusterResponse = DeleteClusterResponses[keyof DeleteClusterResponses];
1963
- export type GetClusterData = {
1964
- body?: never;
1965
- path: {
1966
- /**
1967
- * Unique identifier of the cluster. UUID v4 string in canonical form
1968
- */
1969
- cluster_id: string;
1970
- };
2110
+ export type GetOrganizationResponse = GetOrganizationResponses[keyof GetOrganizationResponses];
2111
+ export type CreateOrganizationData = {
2112
+ body: OrganizationCreateInput;
2113
+ path?: never;
1971
2114
  query?: never;
1972
- url: '/clusters/{cluster_id}';
2115
+ url: '/organization';
1973
2116
  };
1974
- export type GetClusterResponses = {
2117
+ export type CreateOrganizationResponses = {
1975
2118
  /**
1976
- * Returns a single object containing cluster details.
2119
+ * Organization signup accepted. Returns the generated organization id immediately; provisioning (billing, Keycloak realm, user) continues asynchronously in the background.
2120
+ *
1977
2121
  */
1978
- 200: Cluster;
1979
- };
1980
- export type GetClusterResponse = GetClusterResponses[keyof GetClusterResponses];
1981
- export type UpdateClusterData = {
1982
- body: ClusterUpdateInput;
1983
- path: {
1984
- /**
1985
- * Unique identifier of the cluster. UUID v4 string in canonical form
1986
- */
1987
- cluster_id: string;
1988
- };
1989
- query?: never;
1990
- url: '/clusters/{cluster_id}';
2122
+ 200: OrganizationCreateOutput;
1991
2123
  };
1992
- export type UpdateClusterResponses = {
2124
+ export type CreateOrganizationResponse = CreateOrganizationResponses[keyof CreateOrganizationResponses];
2125
+ export type PostMcpData = {
1993
2126
  /**
1994
- * Successfully updated. Returns updated cluster details.
2127
+ * JSON-RPC 2.0 request payload
1995
2128
  */
1996
- 200: Cluster;
1997
- };
1998
- export type UpdateClusterResponse = UpdateClusterResponses[keyof UpdateClusterResponses];
1999
- export type GetJoinInformationData = {
2000
- body?: never;
2001
- path: {
2129
+ body: {
2130
+ jsonrpc?: string;
2131
+ method?: string;
2132
+ id?: string | number;
2002
2133
  /**
2003
- * Unique identifier of the cluster. UUID v4 string in canonical form
2134
+ * Method-specific parameters
2004
2135
  */
2005
- cluster_id: string;
2136
+ params?: {
2137
+ [key: string]: unknown;
2138
+ };
2006
2139
  };
2140
+ path?: never;
2007
2141
  query?: never;
2008
- url: '/clusters/{cluster_id}/join_information';
2142
+ url: '/mcp';
2009
2143
  };
2010
- export type GetJoinInformationErrors = {
2144
+ export type PostMcpErrors = {
2011
2145
  /**
2012
2146
  * Not authenticated
2013
2147
  */
2014
2148
  401: unknown;
2015
2149
  };
2016
- export type GetJoinInformationResponses = {
2150
+ export type PostMcpResponses = {
2017
2151
  /**
2018
- * An object of cluster join information
2152
+ * JSON-RPC 2.0 success or error response
2019
2153
  */
2020
- 200: ClusterJoinInformation;
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
+ };
2021
2165
  };
2022
- export type GetJoinInformationResponse = GetJoinInformationResponses[keyof GetJoinInformationResponses];
2023
- export type ListInvitesData = {
2166
+ export type PostMcpResponse = PostMcpResponses[keyof PostMcpResponses];
2167
+ export type ListMarketplaceChartsData = {
2024
2168
  body?: never;
2025
2169
  path?: never;
2026
2170
  query?: never;
2027
- url: '/invites';
2171
+ url: '/marketplace';
2028
2172
  };
2029
- export type ListInvitesErrors = {
2173
+ export type ListMarketplaceChartsErrors = {
2174
+ /**
2175
+ * Not authenticated
2176
+ */
2177
+ 401: unknown;
2178
+ };
2179
+ export type ListMarketplaceChartsResponses = {
2180
+ /**
2181
+ * An array of chart listings in the marketplace.
2182
+ */
2183
+ 200: Array<MarketplaceListing>;
2184
+ };
2185
+ export type ListMarketplaceChartsResponse = ListMarketplaceChartsResponses[keyof ListMarketplaceChartsResponses];
2186
+ export type GetMarketplaceChartFilesData = {
2187
+ body?: never;
2188
+ path: {
2189
+ /**
2190
+ * Name of the chart in the marketplace.
2191
+ */
2192
+ chart_name: string;
2193
+ /**
2194
+ * Version channel pattern to match (e.g., "1.31.x-cfke.x" for latest 1.31 patch, "1.x.x-cfke.x" for latest 1.x minor).
2195
+ */
2196
+ version_channel: string;
2197
+ };
2198
+ query?: never;
2199
+ url: '/marketplace/{chart_name}/files/{version_channel}';
2200
+ };
2201
+ export type GetMarketplaceChartFilesErrors = {
2202
+ /**
2203
+ * Chart not found or no version matches the channel
2204
+ */
2205
+ 404: unknown;
2206
+ };
2207
+ export type GetMarketplaceChartFilesResponses = {
2208
+ /**
2209
+ * Returns an object containing the chart files for the latest matching version.
2210
+ */
2211
+ 200: MarketplaceListingFiles;
2212
+ };
2213
+ export type GetMarketplaceChartFilesResponse = GetMarketplaceChartFilesResponses[keyof GetMarketplaceChartFilesResponses];
2214
+ export type ListInvitesData = {
2215
+ body?: never;
2216
+ path?: never;
2217
+ query?: never;
2218
+ url: '/invites';
2219
+ };
2220
+ export type ListInvitesErrors = {
2030
2221
  /**
2031
2222
  * Not authenticated
2032
2223
  */
@@ -2096,619 +2287,654 @@ export type DeleteInviteResponses = {
2096
2287
  */
2097
2288
  200: unknown;
2098
2289
  };
2099
- export type ListMarketplaceChartsData = {
2290
+ export type QueryClusterData = {
2100
2291
  body?: never;
2101
- path?: never;
2292
+ path: {
2293
+ /**
2294
+ * Unique identifier of the cluster. UUID v4 string in canonical form
2295
+ */
2296
+ cluster_id: string;
2297
+ };
2102
2298
  query?: never;
2103
- url: '/marketplace';
2299
+ url: '/clusters/{cluster_id}/query';
2104
2300
  };
2105
- export type ListMarketplaceChartsErrors = {
2301
+ export type QueryClusterErrors = {
2106
2302
  /**
2107
2303
  * Not authenticated
2108
2304
  */
2109
2305
  401: unknown;
2110
2306
  };
2111
- export type ListMarketplaceChartsResponses = {
2307
+ export type QueryClusterResponses = {
2112
2308
  /**
2113
- * An array of chart listings in the marketplace.
2309
+ * Kubernetes API response
2114
2310
  */
2115
- 200: Array<MarketplaceListing>;
2311
+ 200: unknown;
2116
2312
  };
2117
- export type ListMarketplaceChartsResponse = ListMarketplaceChartsResponses[keyof ListMarketplaceChartsResponses];
2118
- export type GetMarketplaceChartFilesData = {
2313
+ export type ListFleetsData = {
2119
2314
  body?: never;
2120
2315
  path: {
2121
2316
  /**
2122
- * Name of the chart in the marketplace.
2123
- */
2124
- chart_name: string;
2125
- /**
2126
- * 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
2127
2318
  */
2128
- version_channel: string;
2319
+ cluster_id: string;
2129
2320
  };
2130
2321
  query?: never;
2131
- url: '/marketplace/{chart_name}/files/{version_channel}';
2322
+ url: '/clusters/{cluster_id}/fleets';
2132
2323
  };
2133
- export type GetMarketplaceChartFilesErrors = {
2324
+ export type ListFleetsErrors = {
2134
2325
  /**
2135
- * Chart not found or no version matches the channel
2326
+ * Not authenticated
2136
2327
  */
2137
- 404: unknown;
2328
+ 401: unknown;
2138
2329
  };
2139
- export type GetMarketplaceChartFilesResponses = {
2330
+ export type ListFleetsResponses = {
2140
2331
  /**
2141
- * Returns an object containing the chart files for the latest matching version.
2332
+ * An array of fleets
2142
2333
  */
2143
- 200: MarketplaceListingFiles;
2334
+ 200: Array<Fleet>;
2144
2335
  };
2145
- export type GetMarketplaceChartFilesResponse = GetMarketplaceChartFilesResponses[keyof GetMarketplaceChartFilesResponses];
2146
- export type PostMcpData = {
2147
- /**
2148
- * JSON-RPC 2.0 request payload
2149
- */
2150
- body: {
2151
- jsonrpc?: string;
2152
- method?: string;
2153
- id?: string | number;
2336
+ export type ListFleetsResponse = ListFleetsResponses[keyof ListFleetsResponses];
2337
+ export type CreateFleetData = {
2338
+ body: FleetCreateInput;
2339
+ path: {
2154
2340
  /**
2155
- * Method-specific parameters
2341
+ * Unique identifier of the cluster. UUID v4 string in canonical form
2156
2342
  */
2157
- params?: {
2158
- [key: string]: unknown;
2159
- };
2343
+ cluster_id: string;
2160
2344
  };
2161
- path?: never;
2162
2345
  query?: never;
2163
- url: '/mcp';
2346
+ url: '/clusters/{cluster_id}/fleets';
2164
2347
  };
2165
- export type PostMcpErrors = {
2348
+ export type CreateFleetErrors = {
2166
2349
  /**
2167
- * Not authenticated
2350
+ * Cluster quota exceeded. Maximum number of fleets per cluster allowed in this organization is reached.
2168
2351
  */
2169
- 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;
2170
2357
  };
2171
- export type PostMcpResponses = {
2358
+ export type CreateFleetError = CreateFleetErrors[keyof CreateFleetErrors];
2359
+ export type CreateFleetResponses = {
2172
2360
  /**
2173
- * JSON-RPC 2.0 success or error response
2361
+ * Successfully created. Returns created Fleet ID.
2174
2362
  */
2175
- 200: {
2176
- jsonrpc?: string;
2177
- id?: string | number;
2178
- result?: {
2179
- [key: string]: unknown;
2180
- };
2181
- error?: {
2182
- code?: number;
2183
- message?: string;
2184
- };
2185
- };
2363
+ 200: string;
2186
2364
  };
2187
- export type PostMcpResponse = PostMcpResponses[keyof PostMcpResponses];
2188
- export type GetOrganizationData = {
2365
+ export type CreateFleetResponse = CreateFleetResponses[keyof CreateFleetResponses];
2366
+ export type DeleteFleetData = {
2189
2367
  body?: never;
2190
- 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
+ };
2191
2378
  query?: never;
2192
- url: '/organization';
2379
+ url: '/clusters/{cluster_id}/fleets/{fleet_name}';
2193
2380
  };
2194
- export type GetOrganizationResponses = {
2381
+ export type DeleteFleetErrors = {
2195
2382
  /**
2196
- * 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.
2197
2384
  */
2198
- 200: Organization;
2199
- };
2200
- export type GetOrganizationResponse = GetOrganizationResponses[keyof GetOrganizationResponses];
2201
- export type CreateOrganizationData = {
2202
- body: OrganizationCreateInput;
2203
- path?: never;
2204
- query?: never;
2205
- url: '/organization';
2385
+ 409: string;
2206
2386
  };
2207
- export type CreateOrganizationResponses = {
2387
+ export type DeleteFleetError = DeleteFleetErrors[keyof DeleteFleetErrors];
2388
+ export type DeleteFleetResponses = {
2208
2389
  /**
2209
- * Organization signup accepted. Returns the generated organization id immediately; provisioning (billing, Keycloak realm, user) continues asynchronously in the background.
2210
- *
2390
+ * Successfully deleted.
2211
2391
  */
2212
- 200: OrganizationCreateOutput;
2392
+ 200: string;
2213
2393
  };
2214
- export type CreateOrganizationResponse = CreateOrganizationResponses[keyof CreateOrganizationResponses];
2215
- export type ListRepositoriesData = {
2394
+ export type DeleteFleetResponse = DeleteFleetResponses[keyof DeleteFleetResponses];
2395
+ export type GetFleetData = {
2216
2396
  body?: never;
2217
- 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
+ };
2218
2407
  query?: never;
2219
- url: '/registry';
2220
- };
2221
- export type ListRepositoriesErrors = {
2222
- /**
2223
- * Not authenticated
2224
- */
2225
- 401: unknown;
2226
- /**
2227
- * Internal server error
2228
- */
2229
- 500: unknown;
2408
+ url: '/clusters/{cluster_id}/fleets/{fleet_name}';
2230
2409
  };
2231
- export type ListRepositoriesResponses = {
2410
+ export type GetFleetResponses = {
2232
2411
  /**
2233
- * List of repositories
2412
+ * Returns a single object containing fleet details.
2234
2413
  */
2235
- 200: Array<RegistryRepository>;
2414
+ 200: Fleet;
2236
2415
  };
2237
- export type ListRepositoriesResponse = ListRepositoriesResponses[keyof ListRepositoriesResponses];
2238
- export type ListTagsData = {
2239
- body?: never;
2416
+ export type GetFleetResponse = GetFleetResponses[keyof GetFleetResponses];
2417
+ export type UpdateFleetData = {
2418
+ body: FleetUpdateInput;
2240
2419
  path: {
2241
2420
  /**
2242
- * Region where the repository is located
2421
+ * Unique identifier of the cluster. UUID v4 string in canonical form
2243
2422
  */
2244
- region: string;
2423
+ cluster_id: string;
2245
2424
  /**
2246
- * Name of the repository
2425
+ * Unique identifier of the fleet. UUID v4 string in canonical form
2247
2426
  */
2248
- repository: string;
2427
+ fleet_name: string;
2249
2428
  };
2250
2429
  query?: never;
2251
- url: '/registry/{region}/{repository}';
2430
+ url: '/clusters/{cluster_id}/fleets/{fleet_name}';
2252
2431
  };
2253
- export type ListTagsErrors = {
2254
- /**
2255
- * Not authenticated
2256
- */
2257
- 401: unknown;
2432
+ export type UpdateFleetErrors = {
2258
2433
  /**
2259
- * Repository not found
2434
+ * Organization must have a valid payment method configured to access this endpoint.
2260
2435
  */
2261
- 404: unknown;
2436
+ 402: string;
2262
2437
  /**
2263
- * 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.
2264
2439
  */
2265
- 500: unknown;
2440
+ 409: string;
2266
2441
  };
2267
- export type ListTagsResponses = {
2442
+ export type UpdateFleetError = UpdateFleetErrors[keyof UpdateFleetErrors];
2443
+ export type UpdateFleetResponses = {
2268
2444
  /**
2269
- * Repository with tags
2445
+ * Successfully updated.
2270
2446
  */
2271
- 200: RegistryRepositoryWithTags;
2447
+ 200: string;
2272
2448
  };
2273
- export type ListTagsResponse = ListTagsResponses[keyof ListTagsResponses];
2274
- export type DeleteTagData = {
2449
+ export type UpdateFleetResponse = UpdateFleetResponses[keyof UpdateFleetResponses];
2450
+ export type ListChartsData = {
2275
2451
  body?: never;
2276
2452
  path: {
2277
2453
  /**
2278
- * Region where the repository is located
2279
- */
2280
- region: string;
2281
- /**
2282
- * Name of the repository
2283
- */
2284
- repository: string;
2285
- /**
2286
- * Name of the tag
2454
+ * Unique identifier of the cluster. UUID v4 string in canonical form
2287
2455
  */
2288
- tag: string;
2456
+ cluster_id: string;
2289
2457
  };
2290
2458
  query?: never;
2291
- url: '/registry/{region}/{repository}/{tag}';
2459
+ url: '/clusters/{cluster_id}/charts';
2292
2460
  };
2293
- export type DeleteTagErrors = {
2461
+ export type ListChartsErrors = {
2294
2462
  /**
2295
2463
  * Not authenticated
2296
2464
  */
2297
2465
  401: unknown;
2466
+ };
2467
+ export type ListChartsResponses = {
2298
2468
  /**
2299
- * Tag not found
2469
+ * An array of charts
2300
2470
  */
2301
- 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 = {
2302
2486
  /**
2303
- * 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.
2304
2488
  */
2305
- 500: unknown;
2489
+ 409: string;
2306
2490
  };
2307
- export type DeleteTagResponses = {
2491
+ export type CreateChartError = CreateChartErrors[keyof CreateChartErrors];
2492
+ export type CreateChartResponses = {
2308
2493
  /**
2309
- * Tag successfully deleted
2494
+ * Successfully created. Returns created Chart ID.
2310
2495
  */
2311
- 200: unknown;
2496
+ 200: string;
2312
2497
  };
2313
- export type GetTagData = {
2498
+ export type CreateChartResponse = CreateChartResponses[keyof CreateChartResponses];
2499
+ export type DeleteChartData = {
2314
2500
  body?: never;
2315
2501
  path: {
2316
2502
  /**
2317
- * Region where the repository is located
2318
- */
2319
- region: string;
2320
- /**
2321
- * Name of the repository
2503
+ * Unique identifier of the cluster. UUID v4 string in canonical form
2322
2504
  */
2323
- repository: string;
2505
+ cluster_id: string;
2324
2506
  /**
2325
- * Name of the tag
2507
+ * Chart deployment name as the unique identifier of the chart.
2326
2508
  */
2327
- tag: string;
2509
+ chart_name: string;
2328
2510
  };
2329
2511
  query?: never;
2330
- url: '/registry/{region}/{repository}/{tag}';
2512
+ url: '/clusters/{cluster_id}/charts/{chart_name}';
2331
2513
  };
2332
- export type GetTagErrors = {
2333
- /**
2334
- * Not authenticated
2335
- */
2336
- 401: unknown;
2337
- /**
2338
- * Tag not found
2339
- */
2340
- 404: unknown;
2514
+ export type DeleteChartErrors = {
2341
2515
  /**
2342
- * 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.
2343
2517
  */
2344
- 500: unknown;
2518
+ 409: string;
2345
2519
  };
2346
- export type GetTagResponses = {
2520
+ export type DeleteChartError = DeleteChartErrors[keyof DeleteChartErrors];
2521
+ export type DeleteChartResponses = {
2347
2522
  /**
2348
- * Tag details
2523
+ * Successfully deleted.
2349
2524
  */
2350
- 200: RegistryTag;
2525
+ 200: string;
2351
2526
  };
2352
- export type GetTagResponse = GetTagResponses[keyof GetTagResponses];
2353
- export type ListTicketsData = {
2527
+ export type DeleteChartResponse = DeleteChartResponses[keyof DeleteChartResponses];
2528
+ export type GetChartData = {
2354
2529
  body?: never;
2355
- 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
+ };
2356
2540
  query?: never;
2357
- url: '/tickets';
2541
+ url: '/clusters/{cluster_id}/charts/{chart_name}';
2358
2542
  };
2359
- export type ListTicketsResponses = {
2543
+ export type GetChartResponses = {
2360
2544
  /**
2361
- * Tickets for the organization.
2545
+ * Returns a single object containing chart details.
2362
2546
  */
2363
- 200: TicketListResponse;
2547
+ 200: Chart;
2364
2548
  };
2365
- export type ListTicketsResponse = ListTicketsResponses[keyof ListTicketsResponses];
2366
- export type CreateTicketData = {
2367
- body: {
2549
+ export type GetChartResponse = GetChartResponses[keyof GetChartResponses];
2550
+ export type UpdateChartData = {
2551
+ body: ChartUpdateInput;
2552
+ path: {
2368
2553
  /**
2369
- * JSON-encoded TicketCreateInput.
2554
+ * Unique identifier of the cluster. UUID v4 string in canonical form
2370
2555
  */
2371
- payload?: string;
2372
- 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;
2373
2561
  };
2374
- path?: never;
2375
2562
  query?: never;
2376
- url: '/tickets';
2563
+ url: '/clusters/{cluster_id}/charts/{chart_name}';
2377
2564
  };
2378
- export type CreateTicketResponses = {
2565
+ export type UpdateChartErrors = {
2379
2566
  /**
2380
- * 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.
2381
2568
  */
2382
- 200: Ticket;
2569
+ 409: string;
2383
2570
  };
2384
- export type CreateTicketResponse = CreateTicketResponses[keyof CreateTicketResponses];
2385
- export type CloseTicketData = {
2386
- body?: never;
2387
- path: {
2388
- ticket_id: string;
2389
- };
2390
- query?: never;
2391
- url: '/tickets/{ticket_id}';
2392
- };
2393
- export type CloseTicketResponses = {
2571
+ export type UpdateChartError = UpdateChartErrors[keyof UpdateChartErrors];
2572
+ export type UpdateChartResponses = {
2394
2573
  /**
2395
- * Ticket closed.
2574
+ * Successfully updated.
2396
2575
  */
2397
- 200: Ticket;
2576
+ 200: string;
2398
2577
  };
2399
- export type CloseTicketResponse = CloseTicketResponses[keyof CloseTicketResponses];
2400
- export type GetTicketData = {
2578
+ export type UpdateChartResponse = UpdateChartResponses[keyof UpdateChartResponses];
2579
+ export type ListClustersData = {
2401
2580
  body?: never;
2402
- path: {
2403
- ticket_id: string;
2404
- };
2581
+ path?: never;
2405
2582
  query?: never;
2406
- url: '/tickets/{ticket_id}';
2583
+ url: '/clusters';
2407
2584
  };
2408
- export type GetTicketResponses = {
2585
+ export type ListClustersErrors = {
2409
2586
  /**
2410
- * Ticket with messages (internal notes excluded).
2587
+ * Not authenticated
2411
2588
  */
2412
- 200: Ticket;
2589
+ 401: unknown;
2413
2590
  };
2414
- export type GetTicketResponse = GetTicketResponses[keyof GetTicketResponses];
2415
- export type ReplyTicketData = {
2416
- body: {
2417
- /**
2418
- * JSON-encoded TicketMessageInput.
2419
- */
2420
- payload?: string;
2421
- attachments?: Array<Blob | File>;
2422
- };
2423
- path: {
2424
- ticket_id: string;
2425
- };
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;
2426
2601
  query?: never;
2427
- url: '/tickets/{ticket_id}/messages';
2602
+ url: '/clusters';
2428
2603
  };
2429
- export type ReplyTicketErrors = {
2604
+ export type CreateClusterErrors = {
2430
2605
  /**
2431
- * Ticket is closed. Open a new ticket instead.
2606
+ * Cluster quota exceeded. Maximum number of clusters allowed in this organization is reached.
2432
2607
  */
2433
- 409: unknown;
2608
+ 402: string;
2434
2609
  };
2435
- export type ReplyTicketResponses = {
2610
+ export type CreateClusterError = CreateClusterErrors[keyof CreateClusterErrors];
2611
+ export type CreateClusterResponses = {
2436
2612
  /**
2437
- * Reply appended.
2613
+ * Successfully created. Returns created Cluster ID.
2438
2614
  */
2439
- 200: TicketMessage;
2615
+ 200: string;
2440
2616
  };
2441
- export type ReplyTicketResponse = ReplyTicketResponses[keyof ReplyTicketResponses];
2442
- export type GetTicketAttachmentData = {
2617
+ export type CreateClusterResponse = CreateClusterResponses[keyof CreateClusterResponses];
2618
+ export type DeleteClusterData = {
2443
2619
  body?: never;
2444
2620
  path: {
2445
- ticket_id: string;
2446
- attachment_id: string;
2621
+ /**
2622
+ * Unique identifier of the cluster. UUID v4 string in canonical form
2623
+ */
2624
+ cluster_id: string;
2447
2625
  };
2448
2626
  query?: never;
2449
- url: '/tickets/{ticket_id}/attachments/{attachment_id}';
2627
+ url: '/clusters/{cluster_id}';
2450
2628
  };
2451
- export type GetTicketAttachmentResponses = {
2629
+ export type DeleteClusterErrors = {
2452
2630
  /**
2453
- * Attachment binary stream.
2631
+ * Cluster not found; it does not exist or has already been deleted.
2454
2632
  */
2455
- 200: Blob | File;
2456
- };
2457
- export type GetTicketAttachmentResponse = GetTicketAttachmentResponses[keyof GetTicketAttachmentResponses];
2458
- export type ListTokensData = {
2459
- body?: never;
2460
- path?: never;
2461
- query?: never;
2462
- 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;
2463
2642
  };
2464
- export type ListTokensErrors = {
2643
+ export type DeleteClusterError = DeleteClusterErrors[keyof DeleteClusterErrors];
2644
+ export type DeleteClusterResponses = {
2465
2645
  /**
2466
- * Not authenticated
2646
+ * Successfully deleted. The cluster has been torn down.
2467
2647
  */
2468
- 401: unknown;
2648
+ 200: string;
2469
2649
  };
2470
- 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 = {
2471
2663
  /**
2472
- * Returns a list of access token details with masked secrets.
2664
+ * Returns a single object containing cluster details.
2473
2665
  */
2474
- 200: Array<Token>;
2666
+ 200: Cluster;
2475
2667
  };
2476
- export type ListTokensResponse = ListTokensResponses[keyof ListTokensResponses];
2477
- export type CreateTokenData = {
2478
- body: TokenCreateInput;
2479
- 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
+ };
2480
2677
  query?: never;
2481
- url: '/tokens';
2678
+ url: '/clusters/{cluster_id}';
2482
2679
  };
2483
- export type CreateTokenErrors = {
2680
+ export type UpdateClusterErrors = {
2484
2681
  /**
2485
- * 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.
2486
2683
  */
2487
- 401: unknown;
2684
+ 409: string;
2488
2685
  };
2489
- export type CreateTokenResponses = {
2686
+ export type UpdateClusterError = UpdateClusterErrors[keyof UpdateClusterErrors];
2687
+ export type UpdateClusterResponses = {
2490
2688
  /**
2491
- * Successfully created. Returns created token details with unmasked/raw secret.
2689
+ * Successfully updated. Returns updated cluster details.
2492
2690
  */
2493
- 200: Token;
2691
+ 200: Cluster;
2494
2692
  };
2495
- export type CreateTokenResponse = CreateTokenResponses[keyof CreateTokenResponses];
2496
- export type DeleteTokenData = {
2693
+ export type UpdateClusterResponse = UpdateClusterResponses[keyof UpdateClusterResponses];
2694
+ export type GetJoinInformationData = {
2497
2695
  body?: never;
2498
2696
  path: {
2499
2697
  /**
2500
- * Generated unique identifier of the access token.
2698
+ * Unique identifier of the cluster. UUID v4 string in canonical form
2501
2699
  */
2502
- token_id: string;
2700
+ cluster_id: string;
2503
2701
  };
2504
2702
  query?: never;
2505
- url: '/tokens/{token_id}';
2703
+ url: '/clusters/{cluster_id}/join_information';
2506
2704
  };
2507
- export type DeleteTokenResponses = {
2705
+ export type GetJoinInformationErrors = {
2508
2706
  /**
2509
- * Successfully deleted.
2707
+ * Not authenticated
2510
2708
  */
2511
- 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;
2512
2714
  };
2513
- 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 = {
2514
2724
  body?: never;
2515
- path: {
2725
+ path?: never;
2726
+ query?: {
2516
2727
  /**
2517
- * 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)
2518
2729
  */
2519
- token_id: string;
2730
+ granularity?: 'hourly' | 'daily' | 'monthly';
2520
2731
  };
2521
- query?: never;
2522
- url: '/tokens/{token_id}';
2732
+ url: '/billing/usage';
2523
2733
  };
2524
- export type GetTokenErrors = {
2734
+ export type GetUsageErrors = {
2525
2735
  /**
2526
2736
  * Not authenticated
2527
2737
  */
2528
2738
  401: unknown;
2529
2739
  };
2530
- export type GetTokenResponses = {
2740
+ export type GetUsageResponses = {
2531
2741
  /**
2532
- * Returns access token details with masked secret.
2742
+ * Usage data with facets for filtering
2533
2743
  */
2534
- 200: Token;
2744
+ 200: UsageResponse;
2535
2745
  };
2536
- export type GetTokenResponse = GetTokenResponses[keyof GetTokenResponses];
2537
- export type UpdateTokenData = {
2538
- body: TokenUpdateInput;
2539
- 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: {
2540
2759
  /**
2541
- * Generated unique identifier of the access token.
2760
+ * The client secret.
2542
2761
  */
2543
- token_id: string;
2762
+ id?: string;
2544
2763
  };
2764
+ };
2765
+ export type GetPaymentMethodSecretResponse = GetPaymentMethodSecretResponses[keyof GetPaymentMethodSecretResponses];
2766
+ export type ListPaymentMethodsData = {
2767
+ body?: never;
2768
+ path?: never;
2545
2769
  query?: never;
2546
- url: '/tokens/{token_id}';
2770
+ url: '/billing/payment-methods';
2547
2771
  };
2548
- export type UpdateTokenErrors = {
2772
+ export type ListPaymentMethodsErrors = {
2549
2773
  /**
2550
2774
  * Not authenticated
2551
2775
  */
2552
2776
  401: unknown;
2553
2777
  };
2554
- export type UpdateTokenResponses = {
2778
+ export type ListPaymentMethodsResponses = {
2555
2779
  /**
2556
- * Successfully updated. Returns updated token details with masked secret.
2780
+ * An array of payment methods.
2557
2781
  */
2558
- 200: Token;
2782
+ 200: Array<PaymentMethod>;
2559
2783
  };
2560
- export type UpdateTokenResponse = UpdateTokenResponses[keyof UpdateTokenResponses];
2561
- export type RegenerateTokenData = {
2784
+ export type ListPaymentMethodsResponse = ListPaymentMethodsResponses[keyof ListPaymentMethodsResponses];
2785
+ export type SetDefaultPaymentMethodData = {
2562
2786
  body?: never;
2563
2787
  path: {
2564
2788
  /**
2565
- * Generated unique identifier of the access token.
2789
+ * Stripe payment method identifier.
2566
2790
  */
2567
- token_id: string;
2791
+ paymentMethodId: string;
2568
2792
  };
2569
2793
  query?: never;
2570
- url: '/tokens/{token_id}/secret';
2794
+ url: '/billing/payment-methods/{paymentMethodId}/default';
2571
2795
  };
2572
- export type RegenerateTokenErrors = {
2796
+ export type SetDefaultPaymentMethodErrors = {
2797
+ /**
2798
+ * The bank transfer payment method cannot be set as the default.
2799
+ */
2800
+ 400: unknown;
2573
2801
  /**
2574
2802
  * Not authenticated
2575
2803
  */
2576
2804
  401: unknown;
2805
+ /**
2806
+ * Payment method not found.
2807
+ */
2808
+ 404: unknown;
2577
2809
  };
2578
- export type RegenerateTokenResponses = {
2810
+ export type SetDefaultPaymentMethodResponses = {
2579
2811
  /**
2580
- * Successfully updated. Returns updated token details with unmasked / raw secret.
2812
+ * Default payment method updated.
2581
2813
  */
2582
- 200: Token;
2814
+ 204: void;
2583
2815
  };
2584
- export type RegenerateTokenResponse = RegenerateTokenResponses[keyof RegenerateTokenResponses];
2585
- export type ListUserOrganizationsData = {
2816
+ export type SetDefaultPaymentMethodResponse = SetDefaultPaymentMethodResponses[keyof SetDefaultPaymentMethodResponses];
2817
+ export type DeletePaymentMethodData = {
2586
2818
  body?: never;
2587
2819
  path: {
2588
2820
  /**
2589
- * User email address.
2821
+ * Stripe payment method identifier.
2590
2822
  */
2591
- email: string;
2823
+ paymentMethodId: string;
2592
2824
  };
2593
2825
  query?: never;
2594
- url: '/users/organizations/{email}';
2826
+ url: '/billing/payment-methods/{paymentMethodId}';
2595
2827
  };
2596
- export type ListUserOrganizationsResponses = {
2828
+ export type DeletePaymentMethodErrors = {
2597
2829
  /**
2598
- * An array of organizations the user belongs to.
2830
+ * The bank transfer payment method cannot be removed.
2599
2831
  */
2600
- 200: Array<{
2601
- /**
2602
- * Unique identifier of the organization. UUID v4 string in canonical form
2603
- */
2604
- realm?: string;
2605
- /**
2606
- * Human-readable name of the organization
2607
- */
2608
- displayName?: string;
2609
- }>;
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;
2610
2845
  };
2611
- export type ListUserOrganizationsResponse = ListUserOrganizationsResponses[keyof ListUserOrganizationsResponses];
2612
- 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 = {
2613
2854
  body?: never;
2614
2855
  path?: never;
2615
2856
  query?: never;
2616
- url: '/users';
2857
+ url: '/billing/invoices';
2617
2858
  };
2618
- export type ListUsersErrors = {
2859
+ export type ListInvoicesErrors = {
2619
2860
  /**
2620
2861
  * Not authenticated
2621
2862
  */
2622
2863
  401: unknown;
2623
2864
  };
2624
- export type ListUsersResponses = {
2865
+ export type ListInvoicesResponses = {
2625
2866
  /**
2626
- * An array of users
2867
+ * An array of usage records.
2627
2868
  */
2628
- 200: Array<User>;
2869
+ 200: Array<Invoice>;
2629
2870
  };
2630
- export type ListUsersResponse = ListUsersResponses[keyof ListUsersResponses];
2631
- export type CreateUserData = {
2632
- body: UserCreateInput;
2871
+ export type ListInvoicesResponse = ListInvoicesResponses[keyof ListInvoicesResponses];
2872
+ export type GetContactData = {
2873
+ body?: never;
2633
2874
  path?: never;
2634
2875
  query?: never;
2635
- url: '/users';
2876
+ url: '/billing/contact';
2636
2877
  };
2637
- export type CreateUserResponses = {
2878
+ export type GetContactResponses = {
2638
2879
  /**
2639
- * Successfully created. Returns created user details.
2880
+ * Returns a single object containing organization contact and billing address details.
2640
2881
  */
2641
- 200: User;
2882
+ 200: BillingContact;
2642
2883
  };
2643
- export type CreateUserResponse = CreateUserResponses[keyof CreateUserResponses];
2644
- export type DeleteUserData = {
2645
- body?: never;
2646
- path: {
2647
- /**
2648
- * Unique user identifier. UUID v4 string in canonical form
2649
- */
2650
- user_id: string;
2651
- };
2884
+ export type GetContactResponse = GetContactResponses[keyof GetContactResponses];
2885
+ export type UpdateContactData = {
2886
+ body: BillingContact;
2887
+ path?: never;
2652
2888
  query?: never;
2653
- url: '/users/{user_id}';
2889
+ url: '/billing/contact';
2654
2890
  };
2655
- export type DeleteUserErrors = {
2891
+ export type UpdateContactResponses = {
2656
2892
  /**
2657
- * Deleting own user is not allowed. Delete your organization instead.
2893
+ * Successfully updated. Returns updated organization details.
2658
2894
  */
2659
- 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 = {
2660
2905
  /**
2661
2906
  * Not authenticated
2662
2907
  */
2663
2908
  401: unknown;
2664
2909
  };
2665
- export type DeleteUserResponses = {
2910
+ export type GetCreditsResponses = {
2666
2911
  /**
2667
- * User profile information
2912
+ * An array of the applied promotional credits records.
2668
2913
  */
2669
- 200: User;
2914
+ 200: Array<BillingCredits>;
2670
2915
  };
2671
- export type DeleteUserResponse = DeleteUserResponses[keyof DeleteUserResponses];
2672
- export type GetUserData = {
2673
- body?: never;
2674
- path: {
2916
+ export type GetCreditsResponse = GetCreditsResponses[keyof GetCreditsResponses];
2917
+ export type RedeemCreditsData = {
2918
+ body: {
2675
2919
  /**
2676
- * Unique user identifier. UUID v4 string in canonical form
2920
+ * Promotional code to redeem
2677
2921
  */
2678
- user_id: string;
2922
+ code?: string;
2679
2923
  };
2924
+ path?: never;
2680
2925
  query?: never;
2681
- url: '/users/{user_id}';
2926
+ url: '/billing/credits';
2682
2927
  };
2683
- export type GetUserErrors = {
2928
+ export type RedeemCreditsErrors = {
2684
2929
  /**
2685
2930
  * Not authenticated
2686
2931
  */
2687
2932
  401: unknown;
2688
2933
  };
2689
- export type GetUserResponses = {
2690
- /**
2691
- * User profile information
2692
- */
2693
- 200: User;
2694
- };
2695
- export type GetUserResponse = GetUserResponses[keyof GetUserResponses];
2696
- export type UpdateUserData = {
2697
- body: UserUpdateInput;
2698
- path: {
2699
- /**
2700
- * Unique user identifier. UUID v4 string in canonical form
2701
- */
2702
- user_id: string;
2703
- };
2704
- query?: never;
2705
- url: '/users/{user_id}';
2706
- };
2707
- export type UpdateUserResponses = {
2934
+ export type RedeemCreditsResponses = {
2708
2935
  /**
2709
- * Successfully created. Returns created user details.
2936
+ * Successfully created a new organization.
2710
2937
  */
2711
- 200: User;
2938
+ 200: unknown;
2712
2939
  };
2713
- export type UpdateUserResponse = UpdateUserResponses[keyof UpdateUserResponses];
2714
2940
  //# sourceMappingURL=types.gen.d.ts.map