@cloudfleet/sdk 0.12.3 → 1.0.1

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