@cloudfleet/sdk 0.0.1-84adc67 → 0.0.1-882a962

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,11 +194,7 @@ export type ClusterCreateInput = {
171
194
  /**
172
195
  * Tier of the cluster.
173
196
  */
174
- tier: 'basic' | 'pro';
175
- /**
176
- * Cloudfleet control plane region. This field can not be updated after creation.
177
- */
178
- region: string;
197
+ tier?: 'basic' | 'pro' | 'enterprise';
179
198
  /**
180
199
  * Version of the kubernetes cluster.
181
200
  */
@@ -191,16 +210,20 @@ export type ClusterCreateInput = {
191
210
  /**
192
211
  * GPU sharing strategy.
193
212
  */
194
- gpu_sharing_strategy: 'none' | 'mps' | 'time_slicing';
213
+ gpu_sharing_strategy?: 'none' | 'mps' | 'time_slicing';
195
214
  /**
196
215
  * Maximum number of pods that may share a single GPU.
197
216
  */
198
- gpu_max_shared_clients_per_gpu: number;
217
+ gpu_max_shared_clients_per_gpu?: number;
199
218
  /**
200
219
  * Restrict Cilium socket load-balancing to the host namespace. Required for the Tailscale operator and Istio.
201
220
  */
202
221
  cilium_socket_lb_host_namespace_only?: boolean;
203
222
  };
223
+ /**
224
+ * Cloudfleet control plane region. This field can not be updated after creation.
225
+ */
226
+ region: string;
204
227
  /**
205
228
  * Cluster networking configuration. Immutable after creation.
206
229
  */
@@ -213,10 +236,6 @@ export type ClusterCreateInput = {
213
236
  * CIDR block for service IPs.
214
237
  */
215
238
  service_cidr?: string;
216
- /**
217
- * CoreDNS service IP.
218
- */
219
- cluster_dns?: string;
220
239
  /**
221
240
  * Enable IPv4+IPv6 dual-stack networking.
222
241
  */
@@ -295,6 +314,9 @@ export type ClusterJoinInformation = {
295
314
  gcp_workload_identity_provider: string;
296
315
  };
297
316
  };
317
+ /**
318
+ * Mutable cluster configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
319
+ */
298
320
  export type Cluster = {
299
321
  /**
300
322
  * Name of the cluster.
@@ -303,7 +325,32 @@ export type Cluster = {
303
325
  /**
304
326
  * Tier of the cluster.
305
327
  */
306
- tier: 'basic' | 'pro';
328
+ tier: 'basic' | 'pro' | 'enterprise';
329
+ /**
330
+ * Version of the kubernetes cluster.
331
+ */
332
+ version_channel: string;
333
+ /**
334
+ * Release channel for the cluster's control plane.
335
+ */
336
+ release_channel: 'rapid' | 'stable' | 'extended';
337
+ /**
338
+ * Cluster feature toggles.
339
+ */
340
+ features: {
341
+ /**
342
+ * GPU sharing strategy.
343
+ */
344
+ gpu_sharing_strategy: 'none' | 'mps' | 'time_slicing';
345
+ /**
346
+ * Maximum number of pods that may share a single GPU.
347
+ */
348
+ gpu_max_shared_clients_per_gpu: number;
349
+ /**
350
+ * Restrict Cilium socket load-balancing to the host namespace. Required for the Tailscale operator and Istio.
351
+ */
352
+ cilium_socket_lb_host_namespace_only: boolean;
353
+ };
307
354
  /**
308
355
  * Cloudfleet control plane region. This field can not be updated after creation.
309
356
  */
@@ -311,52 +358,27 @@ export type Cluster = {
311
358
  /**
312
359
  * Cluster networking configuration. Immutable after creation.
313
360
  */
314
- networking?: {
361
+ networking: {
315
362
  /**
316
363
  * CIDR block for pod IPs.
317
364
  */
318
- pod_cidr?: string;
365
+ pod_cidr: string;
319
366
  /**
320
367
  * CIDR block for service IPs.
321
368
  */
322
- service_cidr?: string;
323
- /**
324
- * CoreDNS service IP.
325
- */
326
- cluster_dns?: string;
369
+ service_cidr: string;
327
370
  /**
328
371
  * Enable IPv4+IPv6 dual-stack networking.
329
372
  */
330
- dual_stack?: boolean;
373
+ dual_stack: boolean;
331
374
  /**
332
375
  * IPv6 pod CIDR. Requires dual_stack.
333
376
  */
334
- pod_cidr_v6?: string;
377
+ pod_cidr_v6: string;
335
378
  /**
336
379
  * IPv6 service CIDR. Requires dual_stack.
337
380
  */
338
- service_cidr_v6?: string;
339
- };
340
- /**
341
- * Release channel for the cluster's control plane.
342
- */
343
- release_channel?: 'rapid' | 'stable' | 'extended';
344
- /**
345
- * Cluster feature toggles.
346
- */
347
- features?: {
348
- /**
349
- * GPU sharing strategy.
350
- */
351
- gpu_sharing_strategy: 'none' | 'mps' | 'time_slicing';
352
- /**
353
- * Maximum number of pods that may share a single GPU.
354
- */
355
- gpu_max_shared_clients_per_gpu: number;
356
- /**
357
- * Restrict Cilium socket load-balancing to the host namespace. Required for the Tailscale operator and Istio.
358
- */
359
- cilium_socket_lb_host_namespace_only?: boolean;
381
+ service_cidr_v6: string;
360
382
  };
361
383
  /**
362
384
  * Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
@@ -387,21 +409,20 @@ export type Cluster = {
387
409
  /**
388
410
  * Indicates if the cluster is ready to be used.
389
411
  */
390
- ready?: boolean;
391
- /**
392
- * Version of the kubernetes cluster.
393
- */
394
- version_channel?: string;
412
+ ready: boolean;
395
413
  };
414
+ /**
415
+ * Mutable cluster configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
416
+ */
396
417
  export type ClusterUpdateInput = {
397
418
  /**
398
419
  * Name of the cluster.
399
420
  */
400
- name?: string;
421
+ name: string;
401
422
  /**
402
423
  * Tier of the cluster.
403
424
  */
404
- tier: 'basic' | 'pro';
425
+ tier?: 'basic' | 'pro' | 'enterprise';
405
426
  /**
406
427
  * Version of the kubernetes cluster.
407
428
  */
@@ -417,17 +438,20 @@ export type ClusterUpdateInput = {
417
438
  /**
418
439
  * GPU sharing strategy.
419
440
  */
420
- gpu_sharing_strategy: 'none' | 'mps' | 'time_slicing';
441
+ gpu_sharing_strategy?: 'none' | 'mps' | 'time_slicing';
421
442
  /**
422
443
  * Maximum number of pods that may share a single GPU.
423
444
  */
424
- gpu_max_shared_clients_per_gpu: number;
445
+ gpu_max_shared_clients_per_gpu?: number;
425
446
  /**
426
447
  * Restrict Cilium socket load-balancing to the host namespace. Required for the Tailscale operator and Istio.
427
448
  */
428
449
  cilium_socket_lb_host_namespace_only?: boolean;
429
450
  };
430
451
  };
452
+ /**
453
+ * Mutable fleet configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
454
+ */
431
455
  export type FleetCreateInput = {
432
456
  /**
433
457
  * Limits define a set of bounds for provisioning capacity.
@@ -448,7 +472,7 @@ export type FleetCreateInput = {
448
472
  hetzner?: {
449
473
  enabled: boolean;
450
474
  /**
451
- * Hetzner Cloud API token with read / write access (64 alphanumeric characters). Omit this field to keep the existing value.
475
+ * 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.
452
476
  */
453
477
  apiKey?: string;
454
478
  };
@@ -460,7 +484,7 @@ export type FleetCreateInput = {
460
484
  controllerRoleArn?: string;
461
485
  };
462
486
  /**
463
- * 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.
487
+ * 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.
464
488
  */
465
489
  constraints?: {
466
490
  /**
@@ -481,7 +505,7 @@ export type FleetCreateInput = {
481
505
  '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'>;
482
506
  };
483
507
  /**
484
- * Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.
508
+ * 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`).
485
509
  */
486
510
  scalingProfile?: 'aggressive' | 'conservative';
487
511
  /**
@@ -489,6 +513,9 @@ export type FleetCreateInput = {
489
513
  */
490
514
  id: string;
491
515
  };
516
+ /**
517
+ * Mutable fleet configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
518
+ */
492
519
  export type Fleet = {
493
520
  /**
494
521
  * Limits define a set of bounds for provisioning capacity.
@@ -521,17 +548,17 @@ export type Fleet = {
521
548
  controllerRoleArn?: string;
522
549
  };
523
550
  /**
524
- * 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.
551
+ * 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.
525
552
  */
526
- constraints?: {
553
+ constraints: {
527
554
  /**
528
555
  * Allowed values for `karpenter.sh/capacity-type`.
529
556
  */
530
- 'karpenter.sh/capacity-type'?: Array<'on-demand' | 'spot'>;
557
+ 'karpenter.sh/capacity-type': Array<'on-demand' | 'spot'>;
531
558
  /**
532
559
  * Allowed values for `kubernetes.io/arch`.
533
560
  */
534
- 'kubernetes.io/arch'?: Array<'amd64' | 'arm64'>;
561
+ 'kubernetes.io/arch': Array<'amd64' | 'arm64'>;
535
562
  /**
536
563
  * Allowed values for `cfke.io/instance-family`.
537
564
  */
@@ -542,7 +569,7 @@ export type Fleet = {
542
569
  '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'>;
543
570
  };
544
571
  /**
545
- * Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.
572
+ * 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`).
546
573
  */
547
574
  scalingProfile: 'aggressive' | 'conservative';
548
575
  /**
@@ -566,6 +593,9 @@ export type Fleet = {
566
593
  */
567
594
  updated_at: string;
568
595
  };
596
+ /**
597
+ * Mutable fleet configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
598
+ */
569
599
  export type FleetUpdateInput = {
570
600
  /**
571
601
  * Limits define a set of bounds for provisioning capacity.
@@ -586,7 +616,7 @@ export type FleetUpdateInput = {
586
616
  hetzner?: {
587
617
  enabled: boolean;
588
618
  /**
589
- * Hetzner Cloud API token with read / write access (64 alphanumeric characters). Omit this field to keep the existing value.
619
+ * 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.
590
620
  */
591
621
  apiKey?: string;
592
622
  };
@@ -598,7 +628,7 @@ export type FleetUpdateInput = {
598
628
  controllerRoleArn?: string;
599
629
  };
600
630
  /**
601
- * 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.
631
+ * 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.
602
632
  */
603
633
  constraints?: {
604
634
  /**
@@ -619,9 +649,9 @@ export type FleetUpdateInput = {
619
649
  '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'>;
620
650
  };
621
651
  /**
622
- * Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.
652
+ * 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`).
623
653
  */
624
- scalingProfile: 'aggressive' | 'conservative';
654
+ scalingProfile?: 'aggressive' | 'conservative';
625
655
  };
626
656
  export type InviteCreateInput = {
627
657
  /**
@@ -846,6 +876,14 @@ export type Organization = {
846
876
  * Available number of Pro clusters that can be created.
847
877
  */
848
878
  pro_clusters_available: number;
879
+ /**
880
+ * Maximum number of Enterprise clusters that can be created.
881
+ */
882
+ enterprise_clusters_max: number;
883
+ /**
884
+ * Available number of Enterprise clusters that can be created.
885
+ */
886
+ enterprise_clusters_available: number;
849
887
  /**
850
888
  * Maximum number of fleets that can be created per cluster.
851
889
  */
@@ -944,6 +982,14 @@ export type PlatformQuota = {
944
982
  * Available number of Pro clusters that can be created.
945
983
  */
946
984
  pro_clusters_available: number;
985
+ /**
986
+ * Maximum number of Enterprise clusters that can be created.
987
+ */
988
+ enterprise_clusters_max: number;
989
+ /**
990
+ * Available number of Enterprise clusters that can be created.
991
+ */
992
+ enterprise_clusters_available: number;
947
993
  /**
948
994
  * Maximum number of fleets that can be created per cluster.
949
995
  */
@@ -1156,91 +1202,6 @@ export type TicketCreateInput = {
1156
1202
  [key: string]: unknown;
1157
1203
  };
1158
1204
  };
1159
- export type TicketListResponse = {
1160
- /**
1161
- * Tickets for the organization, ordered newest first. Messages are omitted from list responses.
1162
- */
1163
- items: Array<{
1164
- /**
1165
- * Unique identifier of the ticket (Mongo ObjectId).
1166
- */
1167
- id: string;
1168
- /**
1169
- * Current state of the ticket.
1170
- */
1171
- status: 'waiting_on_us' | 'waiting_on_user' | 'closed';
1172
- /**
1173
- * Ticket category.
1174
- */
1175
- category: 'billing' | 'technical' | 'general';
1176
- /**
1177
- * First 128 characters of the initial message body, with markdown formatting and newlines stripped. Used for ticket list previews.
1178
- */
1179
- summary: string;
1180
- /**
1181
- * Closure timestamp. Null while the ticket is open.
1182
- */
1183
- closed_at?: string;
1184
- /**
1185
- * Creation date of the ticket. ISO 8601 UTC.
1186
- */
1187
- date_created: string;
1188
- /**
1189
- * Last update date of the ticket. ISO 8601 UTC.
1190
- */
1191
- date_updated: string;
1192
- /**
1193
- * Messages on the ticket in chronological order. Internal notes are excluded. Returned by the detail endpoint only.
1194
- */
1195
- messages?: Array<{
1196
- /**
1197
- * Unique identifier of the message (Mongo ObjectId).
1198
- */
1199
- id: string;
1200
- /**
1201
- * Message type. Internal notes are filtered out of customer-facing responses.
1202
- */
1203
- type: 'customer_reply' | 'agent_reply';
1204
- /**
1205
- * Message body in markdown.
1206
- */
1207
- body: string;
1208
- /**
1209
- * First name of the author. Null when not provided.
1210
- */
1211
- author_first_name?: string;
1212
- /**
1213
- * Last name of the author. Null when not provided.
1214
- */
1215
- author_last_name?: string;
1216
- /**
1217
- * Attachments associated with this message.
1218
- */
1219
- attachments?: Array<{
1220
- /**
1221
- * Unique identifier of the attachment (Mongo ObjectId).
1222
- */
1223
- id: string;
1224
- /**
1225
- * Original filename as uploaded.
1226
- */
1227
- filename: string;
1228
- /**
1229
- * MIME content type of the attachment.
1230
- */
1231
- content_type: string;
1232
- /**
1233
- * Size of the attachment in bytes.
1234
- */
1235
- size: number;
1236
- }>;
1237
- /**
1238
- * Creation date of the message. ISO 8601 UTC.
1239
- */
1240
- date_created: string;
1241
- }>;
1242
- }>;
1243
- };
1244
1205
  export type TicketMessageInput = {
1245
1206
  /**
1246
1207
  * Reply body in markdown.
@@ -1424,7 +1385,7 @@ export type UsageFacets = {
1424
1385
  /**
1425
1386
  * List of unique products
1426
1387
  */
1427
- product?: Array<string>;
1388
+ 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'>;
1428
1389
  };
1429
1390
  export type UsageResponse = {
1430
1391
  /**
@@ -1442,7 +1403,7 @@ export type UsageResponse = {
1442
1403
  /**
1443
1404
  * The product the usage is associated with
1444
1405
  */
1445
- product: string;
1406
+ product: 'cfke_controlplane_basic' | 'cfke_controlplane_pro' | 'cfke_controlplane_enterprise' | 'cfke_connected_nodes_basic' | 'cfke_connected_nodes_pro' | 'cfke_connected_nodes_enterprise' | 'cfcr_storage';
1446
1407
  /**
1447
1408
  * Consumption
1448
1409
  */
@@ -1467,7 +1428,7 @@ export type UsageResponse = {
1467
1428
  /**
1468
1429
  * List of unique products
1469
1430
  */
1470
- product?: Array<string>;
1431
+ 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'>;
1471
1432
  };
1472
1433
  };
1473
1434
  export type Usage = {
@@ -1482,7 +1443,7 @@ export type Usage = {
1482
1443
  /**
1483
1444
  * The product the usage is associated with
1484
1445
  */
1485
- product: string;
1446
+ product: 'cfke_controlplane_basic' | 'cfke_controlplane_pro' | 'cfke_controlplane_enterprise' | 'cfke_connected_nodes_basic' | 'cfke_connected_nodes_pro' | 'cfke_connected_nodes_enterprise' | 'cfcr_storage';
1486
1447
  /**
1487
1448
  * Consumption
1488
1449
  */
@@ -1834,9 +1795,9 @@ export type ListTicketsData = {
1834
1795
  };
1835
1796
  export type ListTicketsResponses = {
1836
1797
  /**
1837
- * Tickets for the organization.
1798
+ * An array of tickets for the organization, newest first.
1838
1799
  */
1839
- 200: TicketListResponse;
1800
+ 200: Array<Ticket>;
1840
1801
  };
1841
1802
  export type ListTicketsResponse = ListTicketsResponses[keyof ListTicketsResponses];
1842
1803
  export type CreateTicketData = {
@@ -2096,6 +2057,43 @@ export type CreateOrganizationResponses = {
2096
2057
  200: OrganizationCreateOutput;
2097
2058
  };
2098
2059
  export type CreateOrganizationResponse = CreateOrganizationResponses[keyof CreateOrganizationResponses];
2060
+ export type GetBasicPriceConsentData = {
2061
+ body?: never;
2062
+ path?: never;
2063
+ query?: never;
2064
+ url: '/organization/basic-price-consent';
2065
+ };
2066
+ export type GetBasicPriceConsentResponses = {
2067
+ /**
2068
+ * Returns the current consent status.
2069
+ */
2070
+ 200: BasicPriceConsent;
2071
+ };
2072
+ export type GetBasicPriceConsentResponse = GetBasicPriceConsentResponses[keyof GetBasicPriceConsentResponses];
2073
+ export type SetBasicPriceConsentData = {
2074
+ body: BasicPriceConsentInput;
2075
+ path?: never;
2076
+ query?: never;
2077
+ url: '/organization/basic-price-consent';
2078
+ };
2079
+ export type SetBasicPriceConsentErrors = {
2080
+ /**
2081
+ * The authenticated principal has no email address (e.g. a service account) and cannot record this decision.
2082
+ *
2083
+ */
2084
+ 401: unknown;
2085
+ /**
2086
+ * The consent flow does not apply to this organization.
2087
+ */
2088
+ 409: unknown;
2089
+ };
2090
+ export type SetBasicPriceConsentResponses = {
2091
+ /**
2092
+ * Decision recorded. Returns the updated consent status.
2093
+ */
2094
+ 200: BasicPriceConsent;
2095
+ };
2096
+ export type SetBasicPriceConsentResponse = SetBasicPriceConsentResponses[keyof SetBasicPriceConsentResponses];
2099
2097
  export type PostMcpData = {
2100
2098
  /**
2101
2099
  * JSON-RPC 2.0 request payload
@@ -2602,7 +2600,7 @@ export type DeleteClusterData = {
2602
2600
  };
2603
2601
  export type DeleteClusterErrors = {
2604
2602
  /**
2605
- * Cluster not found it does not exist or has already been deleted.
2603
+ * Cluster not found; it does not exist or has already been deleted.
2606
2604
  */
2607
2605
  404: unknown;
2608
2606
  /**