@cloudfleet/sdk 0.0.1-028b8fa → 0.0.1-03062e4

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