@cloudfleet/sdk 0.0.1-bbca6e3 → 0.0.1-bc8a6a1

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