@cloudfleet/sdk 0.0.1-aca000f → 0.0.1-af2f3f9

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
  /**
@@ -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.
@@ -249,19 +305,69 @@ export type Cluster = {
249
305
  /**
250
306
  * Tier of the cluster.
251
307
  */
252
- 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;
253
338
  /**
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.
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' | 'enterprise';
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
  /**
@@ -648,6 +813,12 @@ export type OrganizationCreateInput = {
648
813
  */
649
814
  password: string;
650
815
  };
816
+ export type OrganizationCreateOutput = {
817
+ /**
818
+ * Unique identifier of the newly created organization. Generated by the API and safe to use for client-side tracking immediately.
819
+ */
820
+ id: string;
821
+ };
651
822
  export type Organization = {
652
823
  /**
653
824
  * Unique identifier of the organization. UUID v4 string in canonical form
@@ -685,6 +856,14 @@ export type Organization = {
685
856
  * Available number of Pro clusters that can be created.
686
857
  */
687
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;
688
867
  /**
689
868
  * Maximum number of fleets that can be created per cluster.
690
869
  */
@@ -726,33 +905,45 @@ export type Organization = {
726
905
  };
727
906
  export type PaymentMethod = {
728
907
  /**
729
- * Unique identifier of the organization. UUID v4 string in canonical form.
908
+ * Payment method identifier. Stripe payment method id for cards/SEPA; the constant `bank_transfer` for the invoice/bank-transfer method. Used to set as default or delete the payment method.
730
909
  */
731
910
  id: string;
732
911
  /**
733
- * Whether organization payment method was set up and ready to use for payments.
734
- */
735
- setup: boolean;
736
- /**
737
- * Payment method type type. Only `card` payments supported at the moment.
912
+ * Payment method type. `card`, `sepa_debit` for SEPA Direct Debit (business accounts only), or `bank_transfer` for paying invoices by bank transfer.
738
913
  */
739
- type: 'card';
914
+ type: 'card' | 'sepa_debit' | 'bank_transfer';
740
915
  /**
741
- * Last 4 digits of the payment card number.
916
+ * Last 4 digits of the payment card number, of the bank account (IBAN) for SEPA Direct Debit, or of the destination IBAN for bank transfer.
742
917
  */
743
918
  last4: string;
744
919
  /**
745
- * Two-digit number representing the card's expiration month.
920
+ * Two-digit number representing the card's expiration month. Null for SEPA Direct Debit and bank transfer.
746
921
  */
747
922
  exp_month: number;
748
923
  /**
749
- * Four-digit number representing the card's expiration year.
924
+ * Four-digit number representing the card's expiration year. May be in the past for an expired card still on file. Null for SEPA Direct Debit and bank transfer.
750
925
  */
751
926
  exp_year: number;
752
927
  /**
753
- * Payment card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `mastercard`, `unionpay`, `visa`, or `unknown`.
928
+ * Payment card brand as reported by Stripe, e.g. `visa`, `mastercard`, `amex`, `cartes_bancaires`, or `unknown`. Null for SEPA Direct Debit and bank transfer.
929
+ */
930
+ brand: string;
931
+ /**
932
+ * Full destination IBAN to send bank transfers to. Set only for `bank_transfer`; null otherwise. This is Cloudfleet's virtual receiving account, shown in full so the customer can pay into it.
933
+ */
934
+ iban: string;
935
+ /**
936
+ * BIC/SWIFT of the destination bank for bank transfers. Set only for `bank_transfer`; null otherwise.
937
+ */
938
+ bic: string;
939
+ /**
940
+ * Account holder name of the destination bank account for bank transfers. Set only for `bank_transfer`; null otherwise.
941
+ */
942
+ account_holder_name: string;
943
+ /**
944
+ * Whether this payment method is the default used for invoices and active subscriptions. Always false for `bank_transfer` (it cannot be a Stripe default payment method).
754
945
  */
755
- brand: 'amex' | 'diners' | 'discover' | 'eftpos_au' | 'jcb' | 'mastercard' | 'unionpay' | 'visa' | 'unknown';
946
+ is_default: boolean;
756
947
  };
757
948
  export type PlatformQuota = {
758
949
  /**
@@ -771,6 +962,14 @@ export type PlatformQuota = {
771
962
  * Available number of Pro clusters that can be created.
772
963
  */
773
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;
774
973
  /**
775
974
  * Maximum number of fleets that can be created per cluster.
776
975
  */
@@ -1344,14 +1543,6 @@ export type UserCreateInput = {
1344
1543
  * User password. Must be at least 8 characters long.
1345
1544
  */
1346
1545
  password: string;
1347
- /**
1348
- * Status of the user. Can be `active` or `inactive`. Inactive users cannot log in or manage organization resources.
1349
- */
1350
- status?: 'active' | 'inactive';
1351
- /**
1352
- * User role. Can be 'Administrator', 'User'.
1353
- */
1354
- role?: 'Administrator' | 'User';
1355
1546
  };
1356
1547
  export type User = {
1357
1548
  /**
@@ -1405,597 +1596,574 @@ export type UserUpdateInput = {
1405
1596
  */
1406
1597
  status?: 'active' | 'inactive';
1407
1598
  };
1408
- export type GetUsageData = {
1599
+ export type ListUserOrganizationsData = {
1409
1600
  body?: never;
1410
- path?: never;
1411
- query?: {
1601
+ path: {
1412
1602
  /**
1413
- * 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.
1414
1604
  */
1415
- granularity?: 'hourly' | 'daily' | 'monthly';
1605
+ email: string;
1416
1606
  };
1417
- url: '/billing/usage';
1418
- };
1419
- export type GetUsageErrors = {
1420
- /**
1421
- * Not authenticated
1422
- */
1423
- 401: unknown;
1607
+ query?: never;
1608
+ url: '/users/organizations/{email}';
1424
1609
  };
1425
- export type GetUsageResponses = {
1610
+ export type ListUserOrganizationsResponses = {
1426
1611
  /**
1427
- * Usage data with facets for filtering
1612
+ * An array of organizations the user belongs to.
1428
1613
  */
1429
- 200: UsageResponse;
1614
+ 200: Array<{
1615
+ /**
1616
+ * Unique identifier of the organization. UUID v4 string in canonical form
1617
+ */
1618
+ realm?: string;
1619
+ /**
1620
+ * Human-readable name of the organization
1621
+ */
1622
+ displayName?: string;
1623
+ }>;
1430
1624
  };
1431
- export type GetUsageResponse = GetUsageResponses[keyof GetUsageResponses];
1432
- export type GetPaymentMethodData = {
1625
+ export type ListUserOrganizationsResponse = ListUserOrganizationsResponses[keyof ListUserOrganizationsResponses];
1626
+ export type ListUsersData = {
1433
1627
  body?: never;
1434
1628
  path?: never;
1435
1629
  query?: never;
1436
- url: '/billing/payment-method';
1630
+ url: '/users';
1437
1631
  };
1438
- export type GetPaymentMethodErrors = {
1632
+ export type ListUsersErrors = {
1439
1633
  /**
1440
- * Returns 404 Not Found if the organization does not have a payment method set up.
1634
+ * Not authenticated
1441
1635
  */
1442
- 404: unknown;
1636
+ 401: unknown;
1443
1637
  };
1444
- export type GetPaymentMethodResponses = {
1638
+ export type ListUsersResponses = {
1445
1639
  /**
1446
- * Redacted payment card information.
1640
+ * An array of users
1447
1641
  */
1448
- 200: PaymentMethod;
1642
+ 200: Array<User>;
1449
1643
  };
1450
- export type GetPaymentMethodResponse = GetPaymentMethodResponses[keyof GetPaymentMethodResponses];
1451
- export type GetPaymentMethodSecretData = {
1452
- body?: never;
1644
+ export type ListUsersResponse = ListUsersResponses[keyof ListUsersResponses];
1645
+ export type CreateUserData = {
1646
+ body: UserCreateInput;
1453
1647
  path?: never;
1454
1648
  query?: never;
1455
- url: '/billing/payment-method';
1649
+ url: '/users';
1456
1650
  };
1457
- export type GetPaymentMethodSecretResponses = {
1651
+ export type CreateUserResponses = {
1458
1652
  /**
1459
- * 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.
1460
- *
1653
+ * Successfully created. Returns created user details.
1461
1654
  */
1462
- 200: {
1655
+ 200: User;
1656
+ };
1657
+ export type CreateUserResponse = CreateUserResponses[keyof CreateUserResponses];
1658
+ export type DeleteUserData = {
1659
+ body?: never;
1660
+ path: {
1463
1661
  /**
1464
- * The client secret.
1662
+ * Unique user identifier. UUID v4 string in canonical form
1465
1663
  */
1466
- id?: string;
1664
+ user_id: string;
1467
1665
  };
1468
- };
1469
- export type GetPaymentMethodSecretResponse = GetPaymentMethodSecretResponses[keyof GetPaymentMethodSecretResponses];
1470
- export type ListInvoicesData = {
1471
- body?: never;
1472
- path?: never;
1473
1666
  query?: never;
1474
- url: '/billing/invoices';
1667
+ url: '/users/{user_id}';
1475
1668
  };
1476
- export type ListInvoicesErrors = {
1669
+ export type DeleteUserErrors = {
1670
+ /**
1671
+ * Deleting own user is not allowed. Delete your organization instead.
1672
+ */
1673
+ 400: unknown;
1477
1674
  /**
1478
1675
  * Not authenticated
1479
1676
  */
1480
1677
  401: unknown;
1481
1678
  };
1482
- export type ListInvoicesResponses = {
1679
+ export type DeleteUserResponses = {
1483
1680
  /**
1484
- * An array of usage records.
1681
+ * User profile information
1485
1682
  */
1486
- 200: Array<Invoice>;
1683
+ 200: User;
1487
1684
  };
1488
- export type ListInvoicesResponse = ListInvoicesResponses[keyof ListInvoicesResponses];
1489
- export type GetContactData = {
1685
+ export type DeleteUserResponse = DeleteUserResponses[keyof DeleteUserResponses];
1686
+ export type GetUserData = {
1490
1687
  body?: never;
1491
- path?: never;
1688
+ path: {
1689
+ /**
1690
+ * Unique user identifier. UUID v4 string in canonical form
1691
+ */
1692
+ user_id: string;
1693
+ };
1492
1694
  query?: never;
1493
- url: '/billing/contact';
1695
+ url: '/users/{user_id}';
1494
1696
  };
1495
- export type GetContactResponses = {
1697
+ export type GetUserErrors = {
1496
1698
  /**
1497
- * Returns a single object containing organization contact and billing address details.
1699
+ * Not authenticated
1498
1700
  */
1499
- 200: BillingContact;
1500
- };
1501
- export type GetContactResponse = GetContactResponses[keyof GetContactResponses];
1502
- export type UpdateContactData = {
1503
- body: BillingContact;
1504
- path?: never;
1505
- query?: never;
1506
- url: '/billing/contact';
1701
+ 401: unknown;
1507
1702
  };
1508
- export type UpdateContactResponses = {
1703
+ export type GetUserResponses = {
1509
1704
  /**
1510
- * Successfully updated. Returns updated organization details.
1705
+ * User profile information
1511
1706
  */
1512
- 200: BillingContact;
1707
+ 200: User;
1513
1708
  };
1514
- export type UpdateContactResponse = UpdateContactResponses[keyof UpdateContactResponses];
1515
- export type GetCreditsData = {
1516
- body?: never;
1517
- path?: never;
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
+ };
1518
1718
  query?: never;
1519
- url: '/billing/credits';
1520
- };
1521
- export type GetCreditsErrors = {
1522
- /**
1523
- * Not authenticated
1524
- */
1525
- 401: unknown;
1719
+ url: '/users/{user_id}';
1526
1720
  };
1527
- export type GetCreditsResponses = {
1721
+ export type UpdateUserResponses = {
1528
1722
  /**
1529
- * An array of the applied promotional credits records.
1723
+ * Successfully created. Returns created user details.
1530
1724
  */
1531
- 200: Array<BillingCredits>;
1725
+ 200: User;
1532
1726
  };
1533
- export type GetCreditsResponse = GetCreditsResponses[keyof GetCreditsResponses];
1534
- export type RedeemCreditsData = {
1535
- body: {
1536
- /**
1537
- * Promotional code to redeem
1538
- */
1539
- code?: string;
1540
- };
1727
+ export type UpdateUserResponse = UpdateUserResponses[keyof UpdateUserResponses];
1728
+ export type ListTokensData = {
1729
+ body?: never;
1541
1730
  path?: never;
1542
1731
  query?: never;
1543
- url: '/billing/credits';
1732
+ url: '/tokens';
1544
1733
  };
1545
- export type RedeemCreditsErrors = {
1734
+ export type ListTokensErrors = {
1546
1735
  /**
1547
1736
  * Not authenticated
1548
1737
  */
1549
1738
  401: unknown;
1550
1739
  };
1551
- export type RedeemCreditsResponses = {
1740
+ export type ListTokensResponses = {
1552
1741
  /**
1553
- * Successfully created a new organization.
1742
+ * Returns a list of access token details with masked secrets.
1554
1743
  */
1555
- 200: unknown;
1744
+ 200: Array<Token>;
1556
1745
  };
1557
- export type ListChartsData = {
1558
- body?: never;
1559
- path: {
1560
- /**
1561
- * Unique identifier of the cluster. UUID v4 string in canonical form
1562
- */
1563
- cluster_id: string;
1564
- };
1746
+ export type ListTokensResponse = ListTokensResponses[keyof ListTokensResponses];
1747
+ export type CreateTokenData = {
1748
+ body: TokenCreateInput;
1749
+ path?: never;
1565
1750
  query?: never;
1566
- url: '/clusters/{cluster_id}/charts';
1751
+ url: '/tokens';
1567
1752
  };
1568
- export type ListChartsErrors = {
1753
+ export type CreateTokenErrors = {
1569
1754
  /**
1570
1755
  * Not authenticated
1571
1756
  */
1572
1757
  401: unknown;
1573
1758
  };
1574
- export type ListChartsResponses = {
1759
+ export type CreateTokenResponses = {
1575
1760
  /**
1576
- * An array of charts
1761
+ * Successfully created. Returns created token details with unmasked/raw secret.
1577
1762
  */
1578
- 200: Array<Chart>;
1763
+ 200: Token;
1579
1764
  };
1580
- export type ListChartsResponse = ListChartsResponses[keyof ListChartsResponses];
1581
- export type CreateChartData = {
1582
- body: ChartCreateInput;
1765
+ export type CreateTokenResponse = CreateTokenResponses[keyof CreateTokenResponses];
1766
+ export type DeleteTokenData = {
1767
+ body?: never;
1583
1768
  path: {
1584
1769
  /**
1585
- * Unique identifier of the cluster. UUID v4 string in canonical form
1770
+ * Generated unique identifier of the access token.
1586
1771
  */
1587
- cluster_id: string;
1772
+ token_id: string;
1588
1773
  };
1589
1774
  query?: never;
1590
- url: '/clusters/{cluster_id}/charts';
1775
+ url: '/tokens/{token_id}';
1591
1776
  };
1592
- export type CreateChartResponses = {
1777
+ export type DeleteTokenResponses = {
1593
1778
  /**
1594
- * Successfully created. Returns created Chart ID.
1779
+ * Successfully deleted.
1595
1780
  */
1596
- 200: string;
1781
+ 200: unknown;
1597
1782
  };
1598
- export type CreateChartResponse = CreateChartResponses[keyof CreateChartResponses];
1599
- export type DeleteChartData = {
1783
+ export type GetTokenData = {
1600
1784
  body?: never;
1601
1785
  path: {
1602
1786
  /**
1603
- * Unique identifier of the cluster. UUID v4 string in canonical form
1604
- */
1605
- cluster_id: string;
1606
- /**
1607
- * Chart deployment name as the unique identifier of the chart.
1787
+ * Generated unique identifier of the access token.
1608
1788
  */
1609
- chart_name: string;
1789
+ token_id: string;
1610
1790
  };
1611
1791
  query?: never;
1612
- url: '/clusters/{cluster_id}/charts/{chart_name}';
1792
+ url: '/tokens/{token_id}';
1613
1793
  };
1614
- export type DeleteChartResponses = {
1794
+ export type GetTokenErrors = {
1615
1795
  /**
1616
- * Successfully deleted.
1796
+ * Not authenticated
1617
1797
  */
1618
- 200: string;
1619
- };
1620
- export type DeleteChartResponse = DeleteChartResponses[keyof DeleteChartResponses];
1621
- export type GetChartData = {
1622
- body?: never;
1623
- path: {
1624
- /**
1625
- * Unique identifier of the cluster. UUID v4 string in canonical form
1626
- */
1627
- cluster_id: string;
1628
- /**
1629
- * Chart deployment name as the unique identifier of the chart.
1630
- */
1631
- chart_name: string;
1632
- };
1633
- query?: never;
1634
- url: '/clusters/{cluster_id}/charts/{chart_name}';
1798
+ 401: unknown;
1635
1799
  };
1636
- export type GetChartResponses = {
1800
+ export type GetTokenResponses = {
1637
1801
  /**
1638
- * Returns a single object containing chart details.
1802
+ * Returns access token details with masked secret.
1639
1803
  */
1640
- 200: Chart;
1804
+ 200: Token;
1641
1805
  };
1642
- export type GetChartResponse = GetChartResponses[keyof GetChartResponses];
1643
- export type UpdateChartData = {
1644
- body: ChartUpdateInput;
1806
+ export type GetTokenResponse = GetTokenResponses[keyof GetTokenResponses];
1807
+ export type UpdateTokenData = {
1808
+ body: TokenUpdateInput;
1645
1809
  path: {
1646
1810
  /**
1647
- * Unique identifier of the cluster. UUID v4 string in canonical form
1648
- */
1649
- cluster_id: string;
1650
- /**
1651
- * Chart deployment name as the unique identifier of the chart.
1811
+ * Generated unique identifier of the access token.
1652
1812
  */
1653
- chart_name: string;
1813
+ token_id: string;
1654
1814
  };
1655
1815
  query?: never;
1656
- url: '/clusters/{cluster_id}/charts/{chart_name}';
1816
+ url: '/tokens/{token_id}';
1657
1817
  };
1658
- export type UpdateChartResponses = {
1818
+ export type UpdateTokenErrors = {
1659
1819
  /**
1660
- * Successfully updated.
1820
+ * Not authenticated
1661
1821
  */
1662
- 200: string;
1822
+ 401: unknown;
1663
1823
  };
1664
- export type UpdateChartResponse = UpdateChartResponses[keyof UpdateChartResponses];
1665
- export type ListFleetsData = {
1824
+ export type UpdateTokenResponses = {
1825
+ /**
1826
+ * Successfully updated. Returns updated token details with masked secret.
1827
+ */
1828
+ 200: Token;
1829
+ };
1830
+ export type UpdateTokenResponse = UpdateTokenResponses[keyof UpdateTokenResponses];
1831
+ export type RegenerateTokenData = {
1666
1832
  body?: never;
1667
1833
  path: {
1668
1834
  /**
1669
- * Unique identifier of the cluster. UUID v4 string in canonical form
1835
+ * Generated unique identifier of the access token.
1670
1836
  */
1671
- cluster_id: string;
1837
+ token_id: string;
1672
1838
  };
1673
1839
  query?: never;
1674
- url: '/clusters/{cluster_id}/fleets';
1840
+ url: '/tokens/{token_id}/secret';
1675
1841
  };
1676
- export type ListFleetsErrors = {
1842
+ export type RegenerateTokenErrors = {
1677
1843
  /**
1678
1844
  * Not authenticated
1679
1845
  */
1680
1846
  401: unknown;
1681
1847
  };
1682
- export type ListFleetsResponses = {
1848
+ export type RegenerateTokenResponses = {
1683
1849
  /**
1684
- * An array of fleets
1850
+ * Successfully updated. Returns updated token details with unmasked / raw secret.
1685
1851
  */
1686
- 200: Array<Fleet>;
1852
+ 200: Token;
1687
1853
  };
1688
- export type ListFleetsResponse = ListFleetsResponses[keyof ListFleetsResponses];
1689
- export type CreateFleetData = {
1690
- body: FleetCreateInput;
1691
- path: {
1692
- /**
1693
- * Unique identifier of the cluster. UUID v4 string in canonical form
1694
- */
1695
- cluster_id: string;
1696
- };
1854
+ export type RegenerateTokenResponse = RegenerateTokenResponses[keyof RegenerateTokenResponses];
1855
+ export type ListTicketsData = {
1856
+ body?: never;
1857
+ path?: never;
1697
1858
  query?: never;
1698
- url: '/clusters/{cluster_id}/fleets';
1859
+ url: '/tickets';
1699
1860
  };
1700
- export type CreateFleetErrors = {
1861
+ export type ListTicketsResponses = {
1701
1862
  /**
1702
- * Cluster quota exceeded. Maximum number of fleets per cluster allowed in this organization is reached.
1863
+ * Tickets for the organization.
1703
1864
  */
1704
- 402: string;
1865
+ 200: TicketListResponse;
1705
1866
  };
1706
- export type CreateFleetError = CreateFleetErrors[keyof CreateFleetErrors];
1707
- export type CreateFleetResponses = {
1867
+ export type ListTicketsResponse = ListTicketsResponses[keyof ListTicketsResponses];
1868
+ export type CreateTicketData = {
1869
+ body: {
1870
+ /**
1871
+ * JSON-encoded TicketCreateInput.
1872
+ */
1873
+ payload?: string;
1874
+ attachments?: Array<Blob | File>;
1875
+ };
1876
+ path?: never;
1877
+ query?: never;
1878
+ url: '/tickets';
1879
+ };
1880
+ export type CreateTicketResponses = {
1708
1881
  /**
1709
- * Successfully created. Returns created Fleet ID.
1882
+ * Ticket created.
1710
1883
  */
1711
- 200: string;
1884
+ 200: Ticket;
1712
1885
  };
1713
- export type CreateFleetResponse = CreateFleetResponses[keyof CreateFleetResponses];
1714
- export type DeleteFleetData = {
1886
+ export type CreateTicketResponse = CreateTicketResponses[keyof CreateTicketResponses];
1887
+ export type CloseTicketData = {
1715
1888
  body?: never;
1716
1889
  path: {
1717
- /**
1718
- * Unique identifier of the cluster. UUID v4 string in canonical form
1719
- */
1720
- cluster_id: string;
1721
- /**
1722
- * Unique identifier of the fleet. UUID v4 string in canonical form
1723
- */
1724
- fleet_name: string;
1890
+ ticket_id: string;
1725
1891
  };
1726
1892
  query?: never;
1727
- url: '/clusters/{cluster_id}/fleets/{fleet_name}';
1893
+ url: '/tickets/{ticket_id}';
1728
1894
  };
1729
- export type DeleteFleetResponses = {
1895
+ export type CloseTicketResponses = {
1730
1896
  /**
1731
- * Successfully deleted.
1897
+ * Ticket closed.
1732
1898
  */
1733
- 200: string;
1899
+ 200: Ticket;
1734
1900
  };
1735
- export type DeleteFleetResponse = DeleteFleetResponses[keyof DeleteFleetResponses];
1736
- export type GetFleetData = {
1901
+ export type CloseTicketResponse = CloseTicketResponses[keyof CloseTicketResponses];
1902
+ export type GetTicketData = {
1737
1903
  body?: never;
1738
1904
  path: {
1739
- /**
1740
- * Unique identifier of the cluster. UUID v4 string in canonical form
1741
- */
1742
- cluster_id: string;
1743
- /**
1744
- * Unique identifier of the fleet. UUID v4 string in canonical form
1745
- */
1746
- fleet_name: string;
1905
+ ticket_id: string;
1747
1906
  };
1748
1907
  query?: never;
1749
- url: '/clusters/{cluster_id}/fleets/{fleet_name}';
1908
+ url: '/tickets/{ticket_id}';
1750
1909
  };
1751
- export type GetFleetResponses = {
1910
+ export type GetTicketResponses = {
1752
1911
  /**
1753
- * Returns a single object containing fleet details.
1912
+ * Ticket with messages (internal notes excluded).
1754
1913
  */
1755
- 200: Fleet;
1914
+ 200: Ticket;
1756
1915
  };
1757
- export type GetFleetResponse = GetFleetResponses[keyof GetFleetResponses];
1758
- export type UpdateFleetData = {
1759
- body: FleetUpdateInput;
1760
- path: {
1761
- /**
1762
- * Unique identifier of the cluster. UUID v4 string in canonical form
1763
- */
1764
- cluster_id: string;
1916
+ export type GetTicketResponse = GetTicketResponses[keyof GetTicketResponses];
1917
+ export type ReplyTicketData = {
1918
+ body: {
1765
1919
  /**
1766
- * Unique identifier of the fleet. UUID v4 string in canonical form
1920
+ * JSON-encoded TicketMessageInput.
1767
1921
  */
1768
- fleet_name: string;
1922
+ payload?: string;
1923
+ attachments?: Array<Blob | File>;
1924
+ };
1925
+ path: {
1926
+ ticket_id: string;
1769
1927
  };
1770
1928
  query?: never;
1771
- url: '/clusters/{cluster_id}/fleets/{fleet_name}';
1929
+ url: '/tickets/{ticket_id}/messages';
1772
1930
  };
1773
- export type UpdateFleetErrors = {
1931
+ export type ReplyTicketErrors = {
1774
1932
  /**
1775
- * Organization must have a valid payment method configured to access this endpoint.
1933
+ * Ticket is closed. Open a new ticket instead.
1776
1934
  */
1777
- 402: string;
1935
+ 409: unknown;
1778
1936
  };
1779
- export type UpdateFleetError = UpdateFleetErrors[keyof UpdateFleetErrors];
1780
- export type UpdateFleetResponses = {
1937
+ export type ReplyTicketResponses = {
1781
1938
  /**
1782
- * Successfully updated.
1939
+ * Reply appended.
1783
1940
  */
1784
- 200: string;
1941
+ 200: TicketMessage;
1785
1942
  };
1786
- export type UpdateFleetResponse = UpdateFleetResponses[keyof UpdateFleetResponses];
1787
- export type QueryClusterData = {
1943
+ export type ReplyTicketResponse = ReplyTicketResponses[keyof ReplyTicketResponses];
1944
+ export type GetTicketAttachmentData = {
1788
1945
  body?: never;
1789
1946
  path: {
1790
- /**
1791
- * Unique identifier of the cluster. UUID v4 string in canonical form
1792
- */
1793
- cluster_id: string;
1947
+ ticket_id: string;
1948
+ attachment_id: string;
1794
1949
  };
1795
1950
  query?: never;
1796
- url: '/clusters/{cluster_id}/query';
1797
- };
1798
- export type QueryClusterErrors = {
1799
- /**
1800
- * Not authenticated
1801
- */
1802
- 401: unknown;
1951
+ url: '/tickets/{ticket_id}/attachments/{attachment_id}';
1803
1952
  };
1804
- export type QueryClusterResponses = {
1953
+ export type GetTicketAttachmentResponses = {
1805
1954
  /**
1806
- * Kubernetes API response
1955
+ * Attachment binary stream.
1807
1956
  */
1808
- 200: unknown;
1957
+ 200: Blob | File;
1809
1958
  };
1810
- export type ListClustersData = {
1959
+ export type GetTicketAttachmentResponse = GetTicketAttachmentResponses[keyof GetTicketAttachmentResponses];
1960
+ export type ListRepositoriesData = {
1811
1961
  body?: never;
1812
1962
  path?: never;
1813
1963
  query?: never;
1814
- url: '/clusters';
1964
+ url: '/registry';
1815
1965
  };
1816
- export type ListClustersErrors = {
1966
+ export type ListRepositoriesErrors = {
1817
1967
  /**
1818
1968
  * Not authenticated
1819
1969
  */
1820
1970
  401: unknown;
1821
- };
1822
- export type ListClustersResponses = {
1823
- /**
1824
- * An array of clusters
1825
- */
1826
- 200: Array<Cluster>;
1827
- };
1828
- export type ListClustersResponse = ListClustersResponses[keyof ListClustersResponses];
1829
- export type CreateClusterData = {
1830
- body: ClusterCreateInput;
1831
- path?: never;
1832
- query?: never;
1833
- url: '/clusters';
1834
- };
1835
- export type CreateClusterErrors = {
1836
1971
  /**
1837
- * Cluster quota exceeded. Maximum number of clusters allowed in this organization is reached.
1972
+ * Internal server error
1838
1973
  */
1839
- 402: string;
1974
+ 500: unknown;
1840
1975
  };
1841
- export type CreateClusterError = CreateClusterErrors[keyof CreateClusterErrors];
1842
- export type CreateClusterResponses = {
1976
+ export type ListRepositoriesResponses = {
1843
1977
  /**
1844
- * Successfully created. Returns created Cluster ID.
1978
+ * List of repositories
1845
1979
  */
1846
- 200: string;
1980
+ 200: Array<RegistryRepository>;
1847
1981
  };
1848
- export type CreateClusterResponse = CreateClusterResponses[keyof CreateClusterResponses];
1849
- export type DeleteClusterData = {
1982
+ export type ListRepositoriesResponse = ListRepositoriesResponses[keyof ListRepositoriesResponses];
1983
+ export type ListTagsData = {
1850
1984
  body?: never;
1851
1985
  path: {
1852
1986
  /**
1853
- * Unique identifier of the cluster. UUID v4 string in canonical form
1987
+ * Region where the repository is located
1854
1988
  */
1855
- cluster_id: string;
1989
+ region: string;
1990
+ /**
1991
+ * Name of the repository
1992
+ */
1993
+ repository: string;
1856
1994
  };
1857
1995
  query?: never;
1858
- url: '/clusters/{cluster_id}';
1996
+ url: '/registry/{region}/{repository}';
1859
1997
  };
1860
- export type DeleteClusterResponses = {
1998
+ export type ListTagsErrors = {
1861
1999
  /**
1862
- * Successfully deleted.
2000
+ * Not authenticated
1863
2001
  */
1864
- 200: string;
2002
+ 401: unknown;
2003
+ /**
2004
+ * Repository not found
2005
+ */
2006
+ 404: unknown;
2007
+ /**
2008
+ * Internal server error
2009
+ */
2010
+ 500: unknown;
1865
2011
  };
1866
- export type DeleteClusterResponse = DeleteClusterResponses[keyof DeleteClusterResponses];
1867
- export type GetClusterData = {
2012
+ export type ListTagsResponses = {
2013
+ /**
2014
+ * Repository with tags
2015
+ */
2016
+ 200: RegistryRepositoryWithTags;
2017
+ };
2018
+ export type ListTagsResponse = ListTagsResponses[keyof ListTagsResponses];
2019
+ export type DeleteTagData = {
1868
2020
  body?: never;
1869
2021
  path: {
1870
2022
  /**
1871
- * Unique identifier of the cluster. UUID v4 string in canonical form
2023
+ * Region where the repository is located
1872
2024
  */
1873
- 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;
1874
2034
  };
1875
2035
  query?: never;
1876
- url: '/clusters/{cluster_id}';
2036
+ url: '/registry/{region}/{repository}/{tag}';
1877
2037
  };
1878
- export type GetClusterResponses = {
2038
+ export type DeleteTagErrors = {
1879
2039
  /**
1880
- * Returns a single object containing cluster details.
2040
+ * Not authenticated
1881
2041
  */
1882
- 200: Cluster;
1883
- };
1884
- export type GetClusterResponse = GetClusterResponses[keyof GetClusterResponses];
1885
- export type UpdateClusterData = {
1886
- body: ClusterUpdateInput;
1887
- path: {
1888
- /**
1889
- * Unique identifier of the cluster. UUID v4 string in canonical form
1890
- */
1891
- cluster_id: string;
1892
- };
1893
- query?: never;
1894
- url: '/clusters/{cluster_id}';
2042
+ 401: unknown;
2043
+ /**
2044
+ * Tag not found
2045
+ */
2046
+ 404: unknown;
2047
+ /**
2048
+ * Internal server error
2049
+ */
2050
+ 500: unknown;
1895
2051
  };
1896
- export type UpdateClusterResponses = {
2052
+ export type DeleteTagResponses = {
1897
2053
  /**
1898
- * Successfully updated. Returns updated cluster details.
2054
+ * Tag successfully deleted
1899
2055
  */
1900
- 200: Cluster;
2056
+ 200: unknown;
1901
2057
  };
1902
- export type UpdateClusterResponse = UpdateClusterResponses[keyof UpdateClusterResponses];
1903
- export type GetJoinInformationData = {
2058
+ export type GetTagData = {
1904
2059
  body?: never;
1905
2060
  path: {
1906
2061
  /**
1907
- * Unique identifier of the cluster. UUID v4 string in canonical form
2062
+ * Region where the repository is located
1908
2063
  */
1909
- cluster_id: string;
2064
+ region: string;
2065
+ /**
2066
+ * Name of the repository
2067
+ */
2068
+ repository: string;
2069
+ /**
2070
+ * Name of the tag
2071
+ */
2072
+ tag: string;
1910
2073
  };
1911
2074
  query?: never;
1912
- url: '/clusters/{cluster_id}/join_information';
2075
+ url: '/registry/{region}/{repository}/{tag}';
1913
2076
  };
1914
- export type GetJoinInformationErrors = {
2077
+ export type GetTagErrors = {
1915
2078
  /**
1916
2079
  * Not authenticated
1917
2080
  */
1918
2081
  401: unknown;
2082
+ /**
2083
+ * Tag not found
2084
+ */
2085
+ 404: unknown;
2086
+ /**
2087
+ * Internal server error
2088
+ */
2089
+ 500: unknown;
1919
2090
  };
1920
- export type GetJoinInformationResponses = {
2091
+ export type GetTagResponses = {
1921
2092
  /**
1922
- * An object of cluster join information
2093
+ * Tag details
1923
2094
  */
1924
- 200: ClusterJoinInformation;
2095
+ 200: RegistryTag;
1925
2096
  };
1926
- export type GetJoinInformationResponse = GetJoinInformationResponses[keyof GetJoinInformationResponses];
1927
- export type ListInvitesData = {
2097
+ export type GetTagResponse = GetTagResponses[keyof GetTagResponses];
2098
+ export type GetOrganizationData = {
1928
2099
  body?: never;
1929
2100
  path?: never;
1930
2101
  query?: never;
1931
- url: '/invites';
2102
+ url: '/organization';
1932
2103
  };
1933
- export type ListInvitesErrors = {
2104
+ export type GetOrganizationResponses = {
1934
2105
  /**
1935
- * Not authenticated
2106
+ * Returns a single object containing organization details.
1936
2107
  */
1937
- 401: unknown;
2108
+ 200: Organization;
1938
2109
  };
1939
- export type ListInvitesResponses = {
2110
+ export type GetOrganizationResponse = GetOrganizationResponses[keyof GetOrganizationResponses];
2111
+ export type CreateOrganizationData = {
2112
+ body: OrganizationCreateInput;
2113
+ path?: never;
2114
+ query?: never;
2115
+ url: '/organization';
2116
+ };
2117
+ export type CreateOrganizationResponses = {
1940
2118
  /**
1941
- * An array of invites
2119
+ * Organization signup accepted. Returns the generated organization id immediately; provisioning (billing, Keycloak realm, user) continues asynchronously in the background.
2120
+ *
1942
2121
  */
1943
- 200: Array<Invite>;
2122
+ 200: OrganizationCreateOutput;
1944
2123
  };
1945
- export type ListInvitesResponse = ListInvitesResponses[keyof ListInvitesResponses];
1946
- export type CreateInviteData = {
2124
+ export type CreateOrganizationResponse = CreateOrganizationResponses[keyof CreateOrganizationResponses];
2125
+ export type PostMcpData = {
2126
+ /**
2127
+ * JSON-RPC 2.0 request payload
2128
+ */
1947
2129
  body: {
2130
+ jsonrpc?: string;
2131
+ method?: string;
2132
+ id?: string | number;
1948
2133
  /**
1949
- * User email address
2134
+ * Method-specific parameters
1950
2135
  */
1951
- email?: string;
2136
+ params?: {
2137
+ [key: string]: unknown;
2138
+ };
1952
2139
  };
1953
2140
  path?: never;
1954
2141
  query?: never;
1955
- url: '/invites';
2142
+ url: '/mcp';
1956
2143
  };
1957
- export type CreateInviteResponses = {
2144
+ export type PostMcpErrors = {
1958
2145
  /**
1959
- * Successfully created. Returns created invite details.
2146
+ * Not authenticated
1960
2147
  */
1961
- 200: Invite;
2148
+ 401: unknown;
1962
2149
  };
1963
- export type CreateInviteResponse = CreateInviteResponses[keyof CreateInviteResponses];
1964
- export type GetInviteData = {
1965
- body?: never;
1966
- path: {
1967
- /**
1968
- * Invitation code
1969
- */
1970
- code: string;
1971
- };
1972
- query?: never;
1973
- url: '/invites/{code}';
1974
- };
1975
- export type GetInviteResponses = {
2150
+ export type PostMcpResponses = {
1976
2151
  /**
1977
- * Returns a single object containing invite details.
2152
+ * JSON-RPC 2.0 success or error response
1978
2153
  */
1979
- 200: Invite;
1980
- };
1981
- export type GetInviteResponse = GetInviteResponses[keyof GetInviteResponses];
1982
- export type DeleteInviteData = {
1983
- body?: never;
1984
- path: {
1985
- /**
1986
- * User email address
1987
- */
1988
- email: string;
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
+ };
1989
2164
  };
1990
- query?: never;
1991
- url: '/invites/{email}';
1992
- };
1993
- export type DeleteInviteResponses = {
1994
- /**
1995
- * Successfully deleted.
1996
- */
1997
- 200: unknown;
1998
2165
  };
2166
+ export type PostMcpResponse = PostMcpResponses[keyof PostMcpResponses];
1999
2167
  export type ListMarketplaceChartsData = {
2000
2168
  body?: never;
2001
2169
  path?: never;
@@ -2043,570 +2211,730 @@ export type GetMarketplaceChartFilesResponses = {
2043
2211
  200: MarketplaceListingFiles;
2044
2212
  };
2045
2213
  export type GetMarketplaceChartFilesResponse = GetMarketplaceChartFilesResponses[keyof GetMarketplaceChartFilesResponses];
2046
- export type PostMcpData = {
2047
- /**
2048
- * JSON-RPC 2.0 request payload
2049
- */
2050
- body: {
2051
- jsonrpc?: string;
2052
- method?: string;
2053
- id?: string | number;
2054
- /**
2055
- * Method-specific parameters
2056
- */
2057
- params?: {
2058
- [key: string]: unknown;
2059
- };
2060
- };
2214
+ export type ListInvitesData = {
2215
+ body?: never;
2061
2216
  path?: never;
2062
2217
  query?: never;
2063
- url: '/mcp';
2218
+ url: '/invites';
2064
2219
  };
2065
- export type PostMcpErrors = {
2220
+ export type ListInvitesErrors = {
2066
2221
  /**
2067
2222
  * Not authenticated
2068
2223
  */
2069
2224
  401: unknown;
2070
2225
  };
2071
- export type PostMcpResponses = {
2226
+ export type ListInvitesResponses = {
2072
2227
  /**
2073
- * JSON-RPC 2.0 success or error response
2228
+ * An array of invites
2074
2229
  */
2075
- 200: {
2076
- jsonrpc?: string;
2077
- id?: string | number;
2078
- result?: {
2079
- [key: string]: unknown;
2080
- };
2081
- error?: {
2082
- code?: number;
2083
- message?: string;
2084
- };
2085
- };
2230
+ 200: Array<Invite>;
2086
2231
  };
2087
- export type PostMcpResponse = PostMcpResponses[keyof PostMcpResponses];
2088
- export type GetOrganizationData = {
2089
- body?: never;
2232
+ export type ListInvitesResponse = ListInvitesResponses[keyof ListInvitesResponses];
2233
+ export type CreateInviteData = {
2234
+ body: InviteCreateInput;
2090
2235
  path?: never;
2091
2236
  query?: never;
2092
- url: '/organization';
2237
+ url: '/invites';
2093
2238
  };
2094
- export type GetOrganizationResponses = {
2239
+ export type CreateInviteResponses = {
2095
2240
  /**
2096
- * Returns a single object containing organization details.
2241
+ * Successfully created. Returns created invite details.
2097
2242
  */
2098
- 200: Organization;
2243
+ 200: Invite;
2099
2244
  };
2100
- export type GetOrganizationResponse = GetOrganizationResponses[keyof GetOrganizationResponses];
2101
- export type CreateOrganizationData = {
2102
- body: OrganizationCreateInput;
2103
- path?: never;
2245
+ export type CreateInviteResponse = CreateInviteResponses[keyof CreateInviteResponses];
2246
+ export type GetInviteData = {
2247
+ body?: never;
2248
+ path: {
2249
+ /**
2250
+ * Invitation code
2251
+ */
2252
+ code: string;
2253
+ };
2104
2254
  query?: never;
2105
- url: '/organization';
2255
+ url: '/invites/{code}';
2106
2256
  };
2107
- export type CreateOrganizationResponses = {
2257
+ export type GetInviteResponses = {
2108
2258
  /**
2109
- * Successfully created a new organization.
2259
+ * The invitation code is valid. Returns the invited email and organization.
2260
+ */
2261
+ 200: {
2262
+ /**
2263
+ * Email address the invite was issued to.
2264
+ */
2265
+ email?: string;
2266
+ /**
2267
+ * Identifier of the organization the invite grants access to.
2268
+ */
2269
+ organization_id?: string;
2270
+ };
2271
+ };
2272
+ export type GetInviteResponse = GetInviteResponses[keyof GetInviteResponses];
2273
+ export type DeleteInviteData = {
2274
+ body?: never;
2275
+ path: {
2276
+ /**
2277
+ * User email address
2278
+ */
2279
+ email: string;
2280
+ };
2281
+ query?: never;
2282
+ url: '/invites/{email}';
2283
+ };
2284
+ export type DeleteInviteResponses = {
2285
+ /**
2286
+ * Successfully deleted.
2110
2287
  */
2111
2288
  200: unknown;
2112
2289
  };
2113
- export type ListRepositoriesData = {
2290
+ export type QueryClusterData = {
2114
2291
  body?: never;
2115
- path?: never;
2292
+ path: {
2293
+ /**
2294
+ * Unique identifier of the cluster. UUID v4 string in canonical form
2295
+ */
2296
+ cluster_id: string;
2297
+ };
2116
2298
  query?: never;
2117
- url: '/registry';
2299
+ url: '/clusters/{cluster_id}/query';
2118
2300
  };
2119
- export type ListRepositoriesErrors = {
2301
+ export type QueryClusterErrors = {
2120
2302
  /**
2121
2303
  * Not authenticated
2122
2304
  */
2123
2305
  401: unknown;
2124
- /**
2125
- * Internal server error
2126
- */
2127
- 500: unknown;
2128
2306
  };
2129
- export type ListRepositoriesResponses = {
2307
+ export type QueryClusterResponses = {
2130
2308
  /**
2131
- * List of repositories
2309
+ * Kubernetes API response
2132
2310
  */
2133
- 200: Array<RegistryRepository>;
2311
+ 200: unknown;
2134
2312
  };
2135
- export type ListRepositoriesResponse = ListRepositoriesResponses[keyof ListRepositoriesResponses];
2136
- export type ListTagsData = {
2313
+ export type ListFleetsData = {
2137
2314
  body?: never;
2138
2315
  path: {
2139
2316
  /**
2140
- * Region where the repository is located
2141
- */
2142
- region: string;
2143
- /**
2144
- * Name of the repository
2317
+ * Unique identifier of the cluster. UUID v4 string in canonical form
2145
2318
  */
2146
- repository: string;
2319
+ cluster_id: string;
2147
2320
  };
2148
2321
  query?: never;
2149
- url: '/registry/{region}/{repository}';
2322
+ url: '/clusters/{cluster_id}/fleets';
2150
2323
  };
2151
- export type ListTagsErrors = {
2324
+ export type ListFleetsErrors = {
2152
2325
  /**
2153
2326
  * Not authenticated
2154
2327
  */
2155
2328
  401: unknown;
2329
+ };
2330
+ export type ListFleetsResponses = {
2156
2331
  /**
2157
- * Repository not found
2332
+ * An array of fleets
2158
2333
  */
2159
- 404: unknown;
2334
+ 200: Array<Fleet>;
2335
+ };
2336
+ export type ListFleetsResponse = ListFleetsResponses[keyof ListFleetsResponses];
2337
+ export type CreateFleetData = {
2338
+ body: FleetCreateInput;
2339
+ path: {
2340
+ /**
2341
+ * Unique identifier of the cluster. UUID v4 string in canonical form
2342
+ */
2343
+ cluster_id: string;
2344
+ };
2345
+ query?: never;
2346
+ url: '/clusters/{cluster_id}/fleets';
2347
+ };
2348
+ export type CreateFleetErrors = {
2160
2349
  /**
2161
- * Internal server error
2350
+ * Cluster quota exceeded. Maximum number of fleets per cluster allowed in this organization is reached.
2162
2351
  */
2163
- 500: 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;
2164
2357
  };
2165
- export type ListTagsResponses = {
2358
+ export type CreateFleetError = CreateFleetErrors[keyof CreateFleetErrors];
2359
+ export type CreateFleetResponses = {
2166
2360
  /**
2167
- * Repository with tags
2361
+ * Successfully created. Returns created Fleet ID.
2168
2362
  */
2169
- 200: RegistryRepositoryWithTags;
2363
+ 200: string;
2170
2364
  };
2171
- export type ListTagsResponse = ListTagsResponses[keyof ListTagsResponses];
2172
- export type DeleteTagData = {
2365
+ export type CreateFleetResponse = CreateFleetResponses[keyof CreateFleetResponses];
2366
+ export type DeleteFleetData = {
2173
2367
  body?: never;
2174
2368
  path: {
2175
2369
  /**
2176
- * Region where the repository is located
2370
+ * Unique identifier of the cluster. UUID v4 string in canonical form
2177
2371
  */
2178
- region: string;
2372
+ cluster_id: string;
2179
2373
  /**
2180
- * Name of the repository
2374
+ * Unique identifier of the fleet. UUID v4 string in canonical form
2181
2375
  */
2182
- repository: string;
2376
+ fleet_name: string;
2377
+ };
2378
+ query?: never;
2379
+ url: '/clusters/{cluster_id}/fleets/{fleet_name}';
2380
+ };
2381
+ export type DeleteFleetErrors = {
2382
+ /**
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.
2384
+ */
2385
+ 409: string;
2386
+ };
2387
+ export type DeleteFleetError = DeleteFleetErrors[keyof DeleteFleetErrors];
2388
+ export type DeleteFleetResponses = {
2389
+ /**
2390
+ * Successfully deleted.
2391
+ */
2392
+ 200: string;
2393
+ };
2394
+ export type DeleteFleetResponse = DeleteFleetResponses[keyof DeleteFleetResponses];
2395
+ export type GetFleetData = {
2396
+ body?: never;
2397
+ path: {
2183
2398
  /**
2184
- * Name of the tag
2399
+ * Unique identifier of the cluster. UUID v4 string in canonical form
2185
2400
  */
2186
- tag: string;
2401
+ cluster_id: string;
2402
+ /**
2403
+ * Unique identifier of the fleet. UUID v4 string in canonical form
2404
+ */
2405
+ fleet_name: string;
2187
2406
  };
2188
2407
  query?: never;
2189
- url: '/registry/{region}/{repository}/{tag}';
2408
+ url: '/clusters/{cluster_id}/fleets/{fleet_name}';
2190
2409
  };
2191
- export type DeleteTagErrors = {
2410
+ export type GetFleetResponses = {
2192
2411
  /**
2193
- * Not authenticated
2412
+ * Returns a single object containing fleet details.
2194
2413
  */
2195
- 401: unknown;
2414
+ 200: Fleet;
2415
+ };
2416
+ export type GetFleetResponse = GetFleetResponses[keyof GetFleetResponses];
2417
+ export type UpdateFleetData = {
2418
+ body: FleetUpdateInput;
2419
+ path: {
2420
+ /**
2421
+ * Unique identifier of the cluster. UUID v4 string in canonical form
2422
+ */
2423
+ cluster_id: string;
2424
+ /**
2425
+ * Unique identifier of the fleet. UUID v4 string in canonical form
2426
+ */
2427
+ fleet_name: string;
2428
+ };
2429
+ query?: never;
2430
+ url: '/clusters/{cluster_id}/fleets/{fleet_name}';
2431
+ };
2432
+ export type UpdateFleetErrors = {
2196
2433
  /**
2197
- * Tag not found
2434
+ * Organization must have a valid payment method configured to access this endpoint.
2198
2435
  */
2199
- 404: unknown;
2436
+ 402: string;
2200
2437
  /**
2201
- * 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.
2202
2439
  */
2203
- 500: unknown;
2440
+ 409: string;
2204
2441
  };
2205
- export type DeleteTagResponses = {
2442
+ export type UpdateFleetError = UpdateFleetErrors[keyof UpdateFleetErrors];
2443
+ export type UpdateFleetResponses = {
2206
2444
  /**
2207
- * Tag successfully deleted
2445
+ * Successfully updated.
2208
2446
  */
2209
- 200: unknown;
2447
+ 200: string;
2210
2448
  };
2211
- export type GetTagData = {
2449
+ export type UpdateFleetResponse = UpdateFleetResponses[keyof UpdateFleetResponses];
2450
+ export type ListChartsData = {
2212
2451
  body?: never;
2213
2452
  path: {
2214
2453
  /**
2215
- * Region where the repository is located
2216
- */
2217
- region: string;
2218
- /**
2219
- * Name of the repository
2220
- */
2221
- repository: string;
2222
- /**
2223
- * Name of the tag
2454
+ * Unique identifier of the cluster. UUID v4 string in canonical form
2224
2455
  */
2225
- tag: string;
2456
+ cluster_id: string;
2226
2457
  };
2227
2458
  query?: never;
2228
- url: '/registry/{region}/{repository}/{tag}';
2459
+ url: '/clusters/{cluster_id}/charts';
2229
2460
  };
2230
- export type GetTagErrors = {
2461
+ export type ListChartsErrors = {
2231
2462
  /**
2232
2463
  * Not authenticated
2233
2464
  */
2234
2465
  401: unknown;
2466
+ };
2467
+ export type ListChartsResponses = {
2235
2468
  /**
2236
- * Tag not found
2469
+ * An array of charts
2237
2470
  */
2238
- 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 = {
2239
2486
  /**
2240
- * 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.
2241
2488
  */
2242
- 500: unknown;
2489
+ 409: string;
2243
2490
  };
2244
- export type GetTagResponses = {
2491
+ export type CreateChartError = CreateChartErrors[keyof CreateChartErrors];
2492
+ export type CreateChartResponses = {
2245
2493
  /**
2246
- * Tag details
2494
+ * Successfully created. Returns created Chart ID.
2247
2495
  */
2248
- 200: RegistryTag;
2496
+ 200: string;
2249
2497
  };
2250
- export type GetTagResponse = GetTagResponses[keyof GetTagResponses];
2251
- export type ListTicketsData = {
2498
+ export type CreateChartResponse = CreateChartResponses[keyof CreateChartResponses];
2499
+ export type DeleteChartData = {
2252
2500
  body?: never;
2253
- path?: never;
2501
+ path: {
2502
+ /**
2503
+ * Unique identifier of the cluster. UUID v4 string in canonical form
2504
+ */
2505
+ cluster_id: string;
2506
+ /**
2507
+ * Chart deployment name as the unique identifier of the chart.
2508
+ */
2509
+ chart_name: string;
2510
+ };
2254
2511
  query?: never;
2255
- url: '/tickets';
2512
+ url: '/clusters/{cluster_id}/charts/{chart_name}';
2256
2513
  };
2257
- export type ListTicketsResponses = {
2514
+ export type DeleteChartErrors = {
2258
2515
  /**
2259
- * Tickets for the organization.
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.
2260
2517
  */
2261
- 200: TicketListResponse;
2518
+ 409: string;
2262
2519
  };
2263
- export type ListTicketsResponse = ListTicketsResponses[keyof ListTicketsResponses];
2264
- export type CreateTicketData = {
2265
- body: {
2520
+ export type DeleteChartError = DeleteChartErrors[keyof DeleteChartErrors];
2521
+ export type DeleteChartResponses = {
2522
+ /**
2523
+ * Successfully deleted.
2524
+ */
2525
+ 200: string;
2526
+ };
2527
+ export type DeleteChartResponse = DeleteChartResponses[keyof DeleteChartResponses];
2528
+ export type GetChartData = {
2529
+ body?: never;
2530
+ path: {
2266
2531
  /**
2267
- * JSON-encoded TicketCreateInput.
2532
+ * Unique identifier of the cluster. UUID v4 string in canonical form
2268
2533
  */
2269
- payload?: string;
2270
- attachments?: Array<Blob | File>;
2534
+ cluster_id: string;
2535
+ /**
2536
+ * Chart deployment name as the unique identifier of the chart.
2537
+ */
2538
+ chart_name: string;
2271
2539
  };
2272
- path?: never;
2273
2540
  query?: never;
2274
- url: '/tickets';
2541
+ url: '/clusters/{cluster_id}/charts/{chart_name}';
2275
2542
  };
2276
- export type CreateTicketResponses = {
2543
+ export type GetChartResponses = {
2277
2544
  /**
2278
- * Ticket created.
2545
+ * Returns a single object containing chart details.
2279
2546
  */
2280
- 200: Ticket;
2547
+ 200: Chart;
2281
2548
  };
2282
- export type CreateTicketResponse = CreateTicketResponses[keyof CreateTicketResponses];
2283
- export type CloseTicketData = {
2284
- body?: never;
2549
+ export type GetChartResponse = GetChartResponses[keyof GetChartResponses];
2550
+ export type UpdateChartData = {
2551
+ body: ChartUpdateInput;
2285
2552
  path: {
2286
- ticket_id: string;
2553
+ /**
2554
+ * Unique identifier of the cluster. UUID v4 string in canonical form
2555
+ */
2556
+ cluster_id: string;
2557
+ /**
2558
+ * Chart deployment name as the unique identifier of the chart.
2559
+ */
2560
+ chart_name: string;
2287
2561
  };
2288
2562
  query?: never;
2289
- url: '/tickets/{ticket_id}';
2563
+ url: '/clusters/{cluster_id}/charts/{chart_name}';
2290
2564
  };
2291
- export type CloseTicketResponses = {
2565
+ export type UpdateChartErrors = {
2292
2566
  /**
2293
- * Ticket closed.
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.
2294
2568
  */
2295
- 200: Ticket;
2569
+ 409: string;
2296
2570
  };
2297
- export type CloseTicketResponse = CloseTicketResponses[keyof CloseTicketResponses];
2298
- export type GetTicketData = {
2571
+ export type UpdateChartError = UpdateChartErrors[keyof UpdateChartErrors];
2572
+ export type UpdateChartResponses = {
2573
+ /**
2574
+ * Successfully updated.
2575
+ */
2576
+ 200: string;
2577
+ };
2578
+ export type UpdateChartResponse = UpdateChartResponses[keyof UpdateChartResponses];
2579
+ export type ListClustersData = {
2299
2580
  body?: never;
2300
- path: {
2301
- ticket_id: string;
2302
- };
2581
+ path?: never;
2303
2582
  query?: never;
2304
- url: '/tickets/{ticket_id}';
2583
+ url: '/clusters';
2305
2584
  };
2306
- export type GetTicketResponses = {
2585
+ export type ListClustersErrors = {
2307
2586
  /**
2308
- * Ticket with messages (internal notes excluded).
2587
+ * Not authenticated
2309
2588
  */
2310
- 200: Ticket;
2589
+ 401: unknown;
2311
2590
  };
2312
- export type GetTicketResponse = GetTicketResponses[keyof GetTicketResponses];
2313
- export type ReplyTicketData = {
2314
- body: {
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;
2601
+ query?: never;
2602
+ url: '/clusters';
2603
+ };
2604
+ export type CreateClusterErrors = {
2605
+ /**
2606
+ * Cluster quota exceeded. Maximum number of clusters allowed in this organization is reached.
2607
+ */
2608
+ 402: string;
2609
+ };
2610
+ export type CreateClusterError = CreateClusterErrors[keyof CreateClusterErrors];
2611
+ export type CreateClusterResponses = {
2612
+ /**
2613
+ * Successfully created. Returns created Cluster ID.
2614
+ */
2615
+ 200: string;
2616
+ };
2617
+ export type CreateClusterResponse = CreateClusterResponses[keyof CreateClusterResponses];
2618
+ export type DeleteClusterData = {
2619
+ body?: never;
2620
+ path: {
2315
2621
  /**
2316
- * JSON-encoded TicketMessageInput.
2622
+ * Unique identifier of the cluster. UUID v4 string in canonical form
2317
2623
  */
2318
- payload?: string;
2319
- attachments?: Array<Blob | File>;
2320
- };
2321
- path: {
2322
- ticket_id: string;
2624
+ cluster_id: string;
2323
2625
  };
2324
2626
  query?: never;
2325
- url: '/tickets/{ticket_id}/messages';
2627
+ url: '/clusters/{cluster_id}';
2326
2628
  };
2327
- export type ReplyTicketErrors = {
2629
+ export type DeleteClusterErrors = {
2328
2630
  /**
2329
- * Ticket is closed. Open a new ticket instead.
2631
+ * Cluster not found; it does not exist or has already been deleted.
2330
2632
  */
2331
- 409: unknown;
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;
2332
2642
  };
2333
- export type ReplyTicketResponses = {
2643
+ export type DeleteClusterError = DeleteClusterErrors[keyof DeleteClusterErrors];
2644
+ export type DeleteClusterResponses = {
2334
2645
  /**
2335
- * Reply appended.
2646
+ * Successfully deleted. The cluster has been torn down.
2336
2647
  */
2337
- 200: TicketMessage;
2648
+ 200: string;
2338
2649
  };
2339
- export type ReplyTicketResponse = ReplyTicketResponses[keyof ReplyTicketResponses];
2340
- export type GetTicketAttachmentData = {
2650
+ export type DeleteClusterResponse = DeleteClusterResponses[keyof DeleteClusterResponses];
2651
+ export type GetClusterData = {
2341
2652
  body?: never;
2342
2653
  path: {
2343
- ticket_id: string;
2344
- attachment_id: string;
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 = {
2663
+ /**
2664
+ * Returns a single object containing cluster details.
2665
+ */
2666
+ 200: Cluster;
2667
+ };
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;
2345
2676
  };
2346
2677
  query?: never;
2347
- url: '/tickets/{ticket_id}/attachments/{attachment_id}';
2678
+ url: '/clusters/{cluster_id}';
2348
2679
  };
2349
- export type GetTicketAttachmentResponses = {
2680
+ export type UpdateClusterErrors = {
2350
2681
  /**
2351
- * Attachment binary stream.
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.
2352
2683
  */
2353
- 200: Blob | File;
2684
+ 409: string;
2354
2685
  };
2355
- export type GetTicketAttachmentResponse = GetTicketAttachmentResponses[keyof GetTicketAttachmentResponses];
2356
- export type ListTokensData = {
2686
+ export type UpdateClusterError = UpdateClusterErrors[keyof UpdateClusterErrors];
2687
+ export type UpdateClusterResponses = {
2688
+ /**
2689
+ * Successfully updated. Returns updated cluster details.
2690
+ */
2691
+ 200: Cluster;
2692
+ };
2693
+ export type UpdateClusterResponse = UpdateClusterResponses[keyof UpdateClusterResponses];
2694
+ export type GetJoinInformationData = {
2357
2695
  body?: never;
2358
- path?: never;
2696
+ path: {
2697
+ /**
2698
+ * Unique identifier of the cluster. UUID v4 string in canonical form
2699
+ */
2700
+ cluster_id: string;
2701
+ };
2359
2702
  query?: never;
2360
- url: '/tokens';
2703
+ url: '/clusters/{cluster_id}/join_information';
2361
2704
  };
2362
- export type ListTokensErrors = {
2705
+ export type GetJoinInformationErrors = {
2363
2706
  /**
2364
2707
  * Not authenticated
2365
2708
  */
2366
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;
2367
2714
  };
2368
- export type ListTokensResponses = {
2715
+ export type GetJoinInformationError = GetJoinInformationErrors[keyof GetJoinInformationErrors];
2716
+ export type GetJoinInformationResponses = {
2369
2717
  /**
2370
- * Returns a list of access token details with masked secrets.
2718
+ * An object of cluster join information
2371
2719
  */
2372
- 200: Array<Token>;
2720
+ 200: ClusterJoinInformation;
2373
2721
  };
2374
- export type ListTokensResponse = ListTokensResponses[keyof ListTokensResponses];
2375
- export type CreateTokenData = {
2376
- body: TokenCreateInput;
2722
+ export type GetJoinInformationResponse = GetJoinInformationResponses[keyof GetJoinInformationResponses];
2723
+ export type GetUsageData = {
2724
+ body?: never;
2377
2725
  path?: never;
2378
- query?: never;
2379
- url: '/tokens';
2726
+ query?: {
2727
+ /**
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)
2729
+ */
2730
+ granularity?: 'hourly' | 'daily' | 'monthly';
2731
+ };
2732
+ url: '/billing/usage';
2380
2733
  };
2381
- export type CreateTokenErrors = {
2734
+ export type GetUsageErrors = {
2382
2735
  /**
2383
2736
  * Not authenticated
2384
2737
  */
2385
2738
  401: unknown;
2386
2739
  };
2387
- export type CreateTokenResponses = {
2740
+ export type GetUsageResponses = {
2388
2741
  /**
2389
- * Successfully created. Returns created token details with unmasked/raw secret.
2742
+ * Usage data with facets for filtering
2390
2743
  */
2391
- 200: Token;
2744
+ 200: UsageResponse;
2392
2745
  };
2393
- export type CreateTokenResponse = CreateTokenResponses[keyof CreateTokenResponses];
2394
- export type DeleteTokenData = {
2746
+ export type GetUsageResponse = GetUsageResponses[keyof GetUsageResponses];
2747
+ export type GetPaymentMethodSecretData = {
2395
2748
  body?: never;
2396
- path: {
2397
- /**
2398
- * Generated unique identifier of the access token.
2399
- */
2400
- token_id: string;
2401
- };
2749
+ path?: never;
2402
2750
  query?: never;
2403
- url: '/tokens/{token_id}';
2751
+ url: '/billing/payment-method';
2404
2752
  };
2405
- export type DeleteTokenResponses = {
2753
+ export type GetPaymentMethodSecretResponses = {
2406
2754
  /**
2407
- * Successfully deleted.
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
+ *
2408
2757
  */
2409
- 200: unknown;
2410
- };
2411
- export type GetTokenData = {
2412
- body?: never;
2413
- path: {
2758
+ 200: {
2414
2759
  /**
2415
- * Generated unique identifier of the access token.
2760
+ * The client secret.
2416
2761
  */
2417
- token_id: string;
2762
+ id?: string;
2418
2763
  };
2764
+ };
2765
+ export type GetPaymentMethodSecretResponse = GetPaymentMethodSecretResponses[keyof GetPaymentMethodSecretResponses];
2766
+ export type ListPaymentMethodsData = {
2767
+ body?: never;
2768
+ path?: never;
2419
2769
  query?: never;
2420
- url: '/tokens/{token_id}';
2770
+ url: '/billing/payment-methods';
2421
2771
  };
2422
- export type GetTokenErrors = {
2772
+ export type ListPaymentMethodsErrors = {
2423
2773
  /**
2424
2774
  * Not authenticated
2425
2775
  */
2426
2776
  401: unknown;
2427
2777
  };
2428
- export type GetTokenResponses = {
2778
+ export type ListPaymentMethodsResponses = {
2429
2779
  /**
2430
- * Returns access token details with masked secret.
2780
+ * An array of payment methods.
2431
2781
  */
2432
- 200: Token;
2782
+ 200: Array<PaymentMethod>;
2433
2783
  };
2434
- export type GetTokenResponse = GetTokenResponses[keyof GetTokenResponses];
2435
- export type UpdateTokenData = {
2436
- body: TokenUpdateInput;
2784
+ export type ListPaymentMethodsResponse = ListPaymentMethodsResponses[keyof ListPaymentMethodsResponses];
2785
+ export type SetDefaultPaymentMethodData = {
2786
+ body?: never;
2437
2787
  path: {
2438
2788
  /**
2439
- * Generated unique identifier of the access token.
2789
+ * Stripe payment method identifier.
2440
2790
  */
2441
- token_id: string;
2791
+ paymentMethodId: string;
2442
2792
  };
2443
2793
  query?: never;
2444
- url: '/tokens/{token_id}';
2794
+ url: '/billing/payment-methods/{paymentMethodId}/default';
2445
2795
  };
2446
- export type UpdateTokenErrors = {
2796
+ export type SetDefaultPaymentMethodErrors = {
2797
+ /**
2798
+ * The bank transfer payment method cannot be set as the default.
2799
+ */
2800
+ 400: unknown;
2447
2801
  /**
2448
2802
  * Not authenticated
2449
2803
  */
2450
2804
  401: unknown;
2805
+ /**
2806
+ * Payment method not found.
2807
+ */
2808
+ 404: unknown;
2451
2809
  };
2452
- export type UpdateTokenResponses = {
2810
+ export type SetDefaultPaymentMethodResponses = {
2453
2811
  /**
2454
- * Successfully updated. Returns updated token details with masked secret.
2812
+ * Default payment method updated.
2455
2813
  */
2456
- 200: Token;
2814
+ 204: void;
2457
2815
  };
2458
- export type UpdateTokenResponse = UpdateTokenResponses[keyof UpdateTokenResponses];
2459
- export type RegenerateTokenData = {
2816
+ export type SetDefaultPaymentMethodResponse = SetDefaultPaymentMethodResponses[keyof SetDefaultPaymentMethodResponses];
2817
+ export type DeletePaymentMethodData = {
2460
2818
  body?: never;
2461
2819
  path: {
2462
2820
  /**
2463
- * Generated unique identifier of the access token.
2821
+ * Stripe payment method identifier.
2464
2822
  */
2465
- token_id: string;
2823
+ paymentMethodId: string;
2466
2824
  };
2467
2825
  query?: never;
2468
- url: '/tokens/{token_id}/secret';
2826
+ url: '/billing/payment-methods/{paymentMethodId}';
2469
2827
  };
2470
- export type RegenerateTokenErrors = {
2828
+ export type DeletePaymentMethodErrors = {
2829
+ /**
2830
+ * The bank transfer payment method cannot be removed.
2831
+ */
2832
+ 400: unknown;
2471
2833
  /**
2472
2834
  * Not authenticated
2473
2835
  */
2474
2836
  401: unknown;
2475
- };
2476
- export type RegenerateTokenResponses = {
2477
2837
  /**
2478
- * Successfully updated. Returns updated token details with unmasked / raw secret.
2838
+ * Payment method not found.
2479
2839
  */
2480
- 200: Token;
2481
- };
2482
- export type RegenerateTokenResponse = RegenerateTokenResponses[keyof RegenerateTokenResponses];
2483
- export type ListUserOrganizationsData = {
2484
- body?: never;
2485
- path: {
2486
- /**
2487
- * User email address.
2488
- */
2489
- email: string;
2490
- };
2491
- query?: never;
2492
- url: '/users/organizations/{email}';
2840
+ 404: unknown;
2841
+ /**
2842
+ * Cannot delete the only remaining payment method.
2843
+ */
2844
+ 409: unknown;
2493
2845
  };
2494
- export type ListUserOrganizationsResponses = {
2846
+ export type DeletePaymentMethodResponses = {
2495
2847
  /**
2496
- * An array of organizations the user belongs to.
2848
+ * Payment method deleted.
2497
2849
  */
2498
- 200: Array<{
2499
- /**
2500
- * Unique identifier of the organization. UUID v4 string in canonical form
2501
- */
2502
- realm?: string;
2503
- /**
2504
- * Human-readable name of the organization
2505
- */
2506
- displayName?: string;
2507
- }>;
2850
+ 204: void;
2508
2851
  };
2509
- export type ListUserOrganizationsResponse = ListUserOrganizationsResponses[keyof ListUserOrganizationsResponses];
2510
- export type ListUsersData = {
2852
+ export type DeletePaymentMethodResponse = DeletePaymentMethodResponses[keyof DeletePaymentMethodResponses];
2853
+ export type ListInvoicesData = {
2511
2854
  body?: never;
2512
2855
  path?: never;
2513
2856
  query?: never;
2514
- url: '/users';
2857
+ url: '/billing/invoices';
2515
2858
  };
2516
- export type ListUsersErrors = {
2859
+ export type ListInvoicesErrors = {
2517
2860
  /**
2518
2861
  * Not authenticated
2519
2862
  */
2520
2863
  401: unknown;
2521
2864
  };
2522
- export type ListUsersResponses = {
2865
+ export type ListInvoicesResponses = {
2523
2866
  /**
2524
- * An array of users
2867
+ * An array of usage records.
2525
2868
  */
2526
- 200: Array<User>;
2869
+ 200: Array<Invoice>;
2527
2870
  };
2528
- export type ListUsersResponse = ListUsersResponses[keyof ListUsersResponses];
2529
- export type CreateUserData = {
2530
- body: UserCreateInput;
2871
+ export type ListInvoicesResponse = ListInvoicesResponses[keyof ListInvoicesResponses];
2872
+ export type GetContactData = {
2873
+ body?: never;
2531
2874
  path?: never;
2532
2875
  query?: never;
2533
- url: '/users';
2876
+ url: '/billing/contact';
2534
2877
  };
2535
- export type CreateUserResponses = {
2878
+ export type GetContactResponses = {
2536
2879
  /**
2537
- * Successfully created. Returns created user details.
2880
+ * Returns a single object containing organization contact and billing address details.
2538
2881
  */
2539
- 200: User;
2882
+ 200: BillingContact;
2540
2883
  };
2541
- export type CreateUserResponse = CreateUserResponses[keyof CreateUserResponses];
2542
- export type DeleteUserData = {
2543
- body?: never;
2544
- path: {
2545
- /**
2546
- * Unique user identifier. UUID v4 string in canonical form
2547
- */
2548
- user_id: string;
2549
- };
2884
+ export type GetContactResponse = GetContactResponses[keyof GetContactResponses];
2885
+ export type UpdateContactData = {
2886
+ body: BillingContact;
2887
+ path?: never;
2550
2888
  query?: never;
2551
- url: '/users/{user_id}';
2889
+ url: '/billing/contact';
2552
2890
  };
2553
- export type DeleteUserErrors = {
2891
+ export type UpdateContactResponses = {
2554
2892
  /**
2555
- * Deleting own user is not allowed. Delete your organization instead.
2893
+ * Successfully updated. Returns updated organization details.
2556
2894
  */
2557
- 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 = {
2558
2905
  /**
2559
2906
  * Not authenticated
2560
2907
  */
2561
2908
  401: unknown;
2562
2909
  };
2563
- export type DeleteUserResponses = {
2910
+ export type GetCreditsResponses = {
2564
2911
  /**
2565
- * User profile information
2912
+ * An array of the applied promotional credits records.
2566
2913
  */
2567
- 200: User;
2914
+ 200: Array<BillingCredits>;
2568
2915
  };
2569
- export type DeleteUserResponse = DeleteUserResponses[keyof DeleteUserResponses];
2570
- export type GetUserData = {
2571
- body?: never;
2572
- path: {
2916
+ export type GetCreditsResponse = GetCreditsResponses[keyof GetCreditsResponses];
2917
+ export type RedeemCreditsData = {
2918
+ body: {
2573
2919
  /**
2574
- * Unique user identifier. UUID v4 string in canonical form
2920
+ * Promotional code to redeem
2575
2921
  */
2576
- user_id: string;
2922
+ code?: string;
2577
2923
  };
2924
+ path?: never;
2578
2925
  query?: never;
2579
- url: '/users/{user_id}';
2926
+ url: '/billing/credits';
2580
2927
  };
2581
- export type GetUserErrors = {
2928
+ export type RedeemCreditsErrors = {
2582
2929
  /**
2583
2930
  * Not authenticated
2584
2931
  */
2585
2932
  401: unknown;
2586
2933
  };
2587
- export type GetUserResponses = {
2588
- /**
2589
- * User profile information
2590
- */
2591
- 200: User;
2592
- };
2593
- export type GetUserResponse = GetUserResponses[keyof GetUserResponses];
2594
- export type UpdateUserData = {
2595
- body: UserUpdateInput;
2596
- path: {
2597
- /**
2598
- * Unique user identifier. UUID v4 string in canonical form
2599
- */
2600
- user_id: string;
2601
- };
2602
- query?: never;
2603
- url: '/users/{user_id}';
2604
- };
2605
- export type UpdateUserResponses = {
2934
+ export type RedeemCreditsResponses = {
2606
2935
  /**
2607
- * Successfully created. Returns created user details.
2936
+ * Successfully created a new organization.
2608
2937
  */
2609
- 200: User;
2938
+ 200: unknown;
2610
2939
  };
2611
- export type UpdateUserResponse = UpdateUserResponses[keyof UpdateUserResponses];
2612
2940
  //# sourceMappingURL=types.gen.d.ts.map