@cloudfleet/sdk 0.0.1-2791829 → 0.0.1-28564af

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.
Files changed (60) hide show
  1. package/dist/@tanstack/react-query.gen.d.ts +1125 -0
  2. package/dist/@tanstack/react-query.gen.d.ts.map +1 -0
  3. package/dist/@tanstack/react-query.gen.js +1129 -0
  4. package/dist/@tanstack/react-query.gen.js.map +1 -0
  5. package/dist/client/client.gen.d.ts.map +1 -1
  6. package/dist/client/client.gen.js +113 -98
  7. package/dist/client/client.gen.js.map +1 -1
  8. package/dist/client/index.d.ts +1 -1
  9. package/dist/client/index.d.ts.map +1 -1
  10. package/dist/client/index.js.map +1 -1
  11. package/dist/client/types.gen.d.ts +9 -13
  12. package/dist/client/types.gen.d.ts.map +1 -1
  13. package/dist/client/utils.gen.d.ts +6 -2
  14. package/dist/client/utils.gen.d.ts.map +1 -1
  15. package/dist/client/utils.gen.js +10 -12
  16. package/dist/client/utils.gen.js.map +1 -1
  17. package/dist/client.gen.d.ts.map +1 -1
  18. package/dist/client.gen.js +1 -3
  19. package/dist/client.gen.js.map +1 -1
  20. package/dist/core/auth.gen.d.ts.map +1 -1
  21. package/dist/core/auth.gen.js.map +1 -1
  22. package/dist/core/bodySerializer.gen.d.ts +16 -8
  23. package/dist/core/bodySerializer.gen.d.ts.map +1 -1
  24. package/dist/core/bodySerializer.gen.js +1 -1
  25. package/dist/core/bodySerializer.gen.js.map +1 -1
  26. package/dist/core/params.gen.d.ts +10 -0
  27. package/dist/core/params.gen.d.ts.map +1 -1
  28. package/dist/core/params.gen.js +18 -6
  29. package/dist/core/params.gen.js.map +1 -1
  30. package/dist/core/pathSerializer.gen.d.ts.map +1 -1
  31. package/dist/core/pathSerializer.gen.js +3 -11
  32. package/dist/core/pathSerializer.gen.js.map +1 -1
  33. package/dist/core/queryKeySerializer.gen.d.ts.map +1 -1
  34. package/dist/core/queryKeySerializer.gen.js +4 -11
  35. package/dist/core/queryKeySerializer.gen.js.map +1 -1
  36. package/dist/core/serverSentEvents.gen.d.ts +1 -1
  37. package/dist/core/serverSentEvents.gen.d.ts.map +1 -1
  38. package/dist/core/serverSentEvents.gen.js +6 -9
  39. package/dist/core/serverSentEvents.gen.js.map +1 -1
  40. package/dist/core/types.gen.d.ts +1 -1
  41. package/dist/core/types.gen.d.ts.map +1 -1
  42. package/dist/core/utils.gen.d.ts.map +1 -1
  43. package/dist/core/utils.gen.js +1 -1
  44. package/dist/core/utils.gen.js.map +1 -1
  45. package/dist/schemas.gen.d.ts +960 -131
  46. package/dist/schemas.gen.d.ts.map +1 -1
  47. package/dist/schemas.gen.js +1618 -263
  48. package/dist/schemas.gen.js.map +1 -1
  49. package/dist/sdk.gen.d.ts +85 -7
  50. package/dist/sdk.gen.d.ts.map +1 -1
  51. package/dist/sdk.gen.js +158 -127
  52. package/dist/sdk.gen.js.map +1 -1
  53. package/dist/services/kubernetes/api.d.ts +8 -8
  54. package/dist/types.gen.d.ts +903 -57
  55. package/dist/types.gen.d.ts.map +1 -1
  56. package/dist/zod.gen.d.ts +887 -617
  57. package/dist/zod.gen.d.ts.map +1 -1
  58. package/dist/zod.gen.js +491 -457
  59. package/dist/zod.gen.js.map +1 -1
  60. package/package.json +28 -5
@@ -169,13 +169,13 @@ export type ClusterCreateInput = {
169
169
  */
170
170
  tier: 'basic' | 'pro';
171
171
  /**
172
- * Cloudfleet control plane region. One of "staging", "northamerica-central-1", "europe-central-1a", "northamerica-central-1a". This field can not be updated after creation.
172
+ * Cloudfleet control plane region. One of "staging-1a", "northamerica-central-1", "europe-central-1a", "northamerica-central-1a". This field can not be updated after creation.
173
173
  */
174
- region?: 'staging' | 'northamerica-central-1' | 'europe-central-1a' | 'northamerica-central-1a';
174
+ region?: 'staging-1a' | 'northamerica-central-1' | 'europe-central-1a' | 'northamerica-central-1a';
175
175
  /**
176
176
  * Version of the kubernetes cluster.
177
177
  */
178
- version_channel?: string;
178
+ version_channel?: '1.x.x-cfke.x' | '1.31.x-cfke.x' | '1.32.x-cfke.x' | '1.33.x-cfke.x';
179
179
  };
180
180
  export type ClusterJoinInformation = {
181
181
  /**
@@ -186,6 +186,10 @@ export type ClusterJoinInformation = {
186
186
  * Internal URL of the Kubernetes cluster control plane. This is the endpoint that kubelet uses to connect to the cluster.
187
187
  */
188
188
  endpoint: string;
189
+ /**
190
+ * Cluster DNS IP address. This is the IP address of the kube-dns service in the cluster.
191
+ */
192
+ cluster_dns: string;
189
193
  /**
190
194
  * Authentication key for the cluster.
191
195
  */
@@ -243,13 +247,9 @@ export type Cluster = {
243
247
  */
244
248
  tier: 'basic' | 'pro';
245
249
  /**
246
- * Cloudfleet control plane region. One of "staging", "northamerica-central-1", "europe-central-1a", "northamerica-central-1a". This field can not be updated after creation.
247
- */
248
- region?: 'staging' | 'northamerica-central-1' | 'europe-central-1a' | 'northamerica-central-1a';
249
- /**
250
- * Version of the kubernetes cluster.
250
+ * Cloudfleet control plane region. One of "staging-1a", "northamerica-central-1", "europe-central-1a", "northamerica-central-1a". This field can not be updated after creation.
251
251
  */
252
- version_channel?: string;
252
+ region?: 'staging-1a' | 'northamerica-central-1' | 'europe-central-1a' | 'northamerica-central-1a';
253
253
  /**
254
254
  * Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
255
255
  */
@@ -279,6 +279,10 @@ export type Cluster = {
279
279
  * Indicates if the cluster is ready to be used.
280
280
  */
281
281
  ready?: boolean;
282
+ /**
283
+ * Version of the kubernetes cluster.
284
+ */
285
+ version_channel?: string;
282
286
  };
283
287
  export type ClusterUpdateInput = {
284
288
  /**
@@ -422,7 +426,7 @@ export type Invite = {
422
426
  };
423
427
  export type Invoice = {
424
428
  /**
425
- * Unique identifier of the invoice. UUID v4 string in canonical form
429
+ * Unique identifier of the invoice.
426
430
  */
427
431
  id?: string;
428
432
  number?: string;
@@ -452,50 +456,91 @@ export type Invoice = {
452
456
  period_end: string;
453
457
  invoice_pdf?: string;
454
458
  };
455
- export type MarketplaceListing = {
459
+ export type MarketplaceListingFiles = {
456
460
  /**
457
- * Id of the chart listing
461
+ * Raw Chart.yaml content from the Helm chart
458
462
  */
459
- id: string;
463
+ chartYaml?: string;
460
464
  /**
461
- * Name of the chart listing
465
+ * Raw values.yaml content from the Helm chart
462
466
  */
463
- name: string;
467
+ valuesYaml?: string;
464
468
  /**
465
- * Author of the chart listing
469
+ * JSON schema for values.yaml as a string
466
470
  */
467
- developer: string;
471
+ valuesSchemaJson?: string;
472
+ };
473
+ export type MarketplaceListing = {
474
+ /**
475
+ * Name of the chart
476
+ */
477
+ name: string;
468
478
  /**
469
- * Short description of the chart listing
479
+ * Available versions of the chart
470
480
  */
471
- description: string;
481
+ versions: Array<string>;
472
482
  /**
473
- * Logo of the chart listing
483
+ * Version channels for the chart
474
484
  */
475
- logoUrl: string;
485
+ version_channels: Array<string>;
476
486
  /**
477
- * Long description of the chart listing
487
+ * Latest version of the chart
478
488
  */
479
- longDescription: string;
489
+ latestVersion: string;
480
490
  /**
481
- * Tags of the chart
491
+ * Chart metadata
482
492
  */
483
- categories: Array<string>;
484
- version_channels: Array<string>;
485
- value_schemas: Array<{
493
+ metadata?: {
486
494
  /**
487
- * Version of the chart.
495
+ * Chart name from metadata
496
+ */
497
+ name: string;
498
+ /**
499
+ * Chart version from metadata
488
500
  */
489
501
  version: string;
490
502
  /**
491
- * Schema of the chart values. JSON Schema as string
503
+ * Chart description
492
504
  */
493
- schema: string;
505
+ description?: string;
494
506
  /**
495
- * Schema of the chart values
507
+ * Application version
496
508
  */
497
- placeholder: string;
498
- }>;
509
+ appVersion?: string;
510
+ /**
511
+ * Helm API version
512
+ */
513
+ apiVersion?: string;
514
+ /**
515
+ * Chart keywords
516
+ */
517
+ keywords?: Array<string>;
518
+ /**
519
+ * Chart home URL
520
+ */
521
+ home?: string;
522
+ /**
523
+ * A URL to an SVG or PNG image to be used as an icon
524
+ */
525
+ icon?: string;
526
+ /**
527
+ * Chart source URLs
528
+ */
529
+ sources?: Array<string>;
530
+ /**
531
+ * Chart maintainers
532
+ */
533
+ maintainers?: Array<{
534
+ /**
535
+ * Maintainer name
536
+ */
537
+ name: string;
538
+ /**
539
+ * Maintainer email
540
+ */
541
+ email?: string;
542
+ }>;
543
+ };
499
544
  };
500
545
  export type OrganizationCreateInput = {
501
546
  /**
@@ -577,6 +622,10 @@ export type Organization = {
577
622
  */
578
623
  label: string;
579
624
  }>;
625
+ /**
626
+ * Organization-level maximum CFCR storage volume in GB. -1 means no limit.
627
+ */
628
+ cfcr_storage_gb: number;
580
629
  };
581
630
  /**
582
631
  * Status of the organization. Can be `active` or `closed`, or `suspended`.
@@ -613,6 +662,453 @@ export type PaymentMethod = {
613
662
  */
614
663
  brand: 'amex' | 'diners' | 'discover' | 'eftpos_au' | 'jcb' | 'mastercard' | 'unionpay' | 'visa' | 'unknown';
615
664
  };
665
+ export type PlatformQuota = {
666
+ /**
667
+ * Maximum number of Basic clusters that can be created.
668
+ */
669
+ basic_clusters_max: number;
670
+ /**
671
+ * Available number of Basic clusters that can be created.
672
+ */
673
+ basic_clusters_available: number;
674
+ /**
675
+ * Maximum number of Pro clusters that can be created.
676
+ */
677
+ pro_clusters_max: number;
678
+ /**
679
+ * Available number of Pro clusters that can be created.
680
+ */
681
+ pro_clusters_available: number;
682
+ /**
683
+ * Maximum number of fleets that can be created per cluster.
684
+ */
685
+ fleets_max: number;
686
+ /**
687
+ * List of Cloudfleet cluster tiers available for the organization.
688
+ */
689
+ cluster_tiers: Array<string>;
690
+ /**
691
+ * List of Cloudfleet control plane regions available for the organization.
692
+ */
693
+ regions: Array<string>;
694
+ /**
695
+ * List of CFKE control plane versions available for the organization.
696
+ */
697
+ versions: Array<{
698
+ /**
699
+ * Id of the control plane version. Used in API calls.
700
+ */
701
+ id: string;
702
+ /**
703
+ * Label of the control plane version. Used in frontent UI.
704
+ */
705
+ label: string;
706
+ }>;
707
+ /**
708
+ * Organization-level maximum CFCR storage volume in GB. -1 means no limit.
709
+ */
710
+ cfcr_storage_gb: number;
711
+ };
712
+ export type RegistryRepository = {
713
+ /**
714
+ * Repository name.
715
+ */
716
+ name: string;
717
+ /**
718
+ * Registry region.
719
+ */
720
+ region: string;
721
+ /**
722
+ * Full URI of the repository.
723
+ */
724
+ uri: string;
725
+ };
726
+ export type RegistryRepositoryWithTags = {
727
+ /**
728
+ * Repository name.
729
+ */
730
+ name: string;
731
+ /**
732
+ * Registry region.
733
+ */
734
+ region: string;
735
+ /**
736
+ * Full URI of the repository.
737
+ */
738
+ uri: string;
739
+ /**
740
+ * Array of tags in the repository.
741
+ */
742
+ tags: Array<{
743
+ /**
744
+ * Tag name.
745
+ */
746
+ name: string;
747
+ /**
748
+ * Size of the tag in bytes.
749
+ */
750
+ size: number;
751
+ /**
752
+ * Media type of the manifest.
753
+ */
754
+ mediaType?: string;
755
+ /**
756
+ * Array of platform strings for multi-arch images (e.g., linux/amd64, linux/arm64).
757
+ */
758
+ platforms?: Array<string>;
759
+ }>;
760
+ /**
761
+ * Total size of all tags in the repository in bytes.
762
+ */
763
+ totalSize: number;
764
+ };
765
+ export type RegistryTag = {
766
+ /**
767
+ * Tag name.
768
+ */
769
+ name: string;
770
+ /**
771
+ * Manifest digest for pulling by digest.
772
+ */
773
+ digest: string;
774
+ /**
775
+ * Media type of the manifest.
776
+ */
777
+ mediaType?: string;
778
+ /**
779
+ * Manifest config metadata.
780
+ */
781
+ config?: {
782
+ /**
783
+ * Size of the config in bytes.
784
+ */
785
+ size: number;
786
+ };
787
+ /**
788
+ * Array of layer metadata.
789
+ */
790
+ layers?: Array<{
791
+ /**
792
+ * Digest of the layer.
793
+ */
794
+ digest?: string;
795
+ /**
796
+ * Size of the layer in bytes.
797
+ */
798
+ size: number;
799
+ }>;
800
+ /**
801
+ * Array of manifests for multi-arch images.
802
+ */
803
+ manifests?: Array<{
804
+ /**
805
+ * Digest of the manifest.
806
+ */
807
+ digest: string;
808
+ /**
809
+ * Platform information for the manifest.
810
+ */
811
+ platform?: {
812
+ /**
813
+ * Architecture of the platform.
814
+ */
815
+ architecture: string;
816
+ /**
817
+ * Operating system of the platform.
818
+ */
819
+ os: string;
820
+ /**
821
+ * Variant of the platform (e.g., v7, v8 for ARM).
822
+ */
823
+ variant?: string;
824
+ };
825
+ /**
826
+ * Layers for this platform.
827
+ */
828
+ layers?: Array<{
829
+ /**
830
+ * Digest of the layer.
831
+ */
832
+ digest?: string;
833
+ /**
834
+ * Size of the layer in bytes.
835
+ */
836
+ size: number;
837
+ }>;
838
+ /**
839
+ * Total size of this platform manifest in bytes.
840
+ */
841
+ size?: number;
842
+ }>;
843
+ /**
844
+ * Total size of the tag in bytes.
845
+ */
846
+ size: number;
847
+ /**
848
+ * Registry region.
849
+ */
850
+ region: string;
851
+ /**
852
+ * Repository name.
853
+ */
854
+ repository: string;
855
+ /**
856
+ * Full URI of the tag.
857
+ */
858
+ uri: string;
859
+ };
860
+ export type TicketAttachment = {
861
+ /**
862
+ * Unique identifier of the attachment (Mongo ObjectId).
863
+ */
864
+ id: string;
865
+ /**
866
+ * Original filename as uploaded.
867
+ */
868
+ filename: string;
869
+ /**
870
+ * MIME content type of the attachment.
871
+ */
872
+ content_type: string;
873
+ /**
874
+ * Size of the attachment in bytes.
875
+ */
876
+ size: number;
877
+ };
878
+ export type TicketCreateInput = {
879
+ /**
880
+ * Ticket category. Drives auto-assignment and may carry a subcategory in `properties`.
881
+ */
882
+ category: 'billing' | 'technical' | 'general';
883
+ /**
884
+ * Initial message body in markdown. There is no separate subject — the first message body is the description.
885
+ */
886
+ body: string;
887
+ /**
888
+ * Free-form key/value bag set by the UI (e.g. `subcategory`, `cluster_id`, `cluster_name`, `region`).
889
+ */
890
+ properties?: {
891
+ [key: string]: unknown;
892
+ };
893
+ };
894
+ export type TicketListResponse = {
895
+ /**
896
+ * Tickets for the organization, ordered newest first. Messages are omitted from list responses.
897
+ */
898
+ items: Array<{
899
+ /**
900
+ * Unique identifier of the ticket (Mongo ObjectId).
901
+ */
902
+ id: string;
903
+ /**
904
+ * Current state of the ticket.
905
+ */
906
+ status: 'waiting_on_us' | 'waiting_on_user' | 'closed';
907
+ /**
908
+ * Ticket category.
909
+ */
910
+ category: 'billing' | 'technical' | 'general';
911
+ /**
912
+ * First 128 characters of the initial message body, with markdown formatting and newlines stripped. Used for ticket list previews.
913
+ */
914
+ summary: string;
915
+ /**
916
+ * Closure timestamp. Null while the ticket is open.
917
+ */
918
+ closed_at?: string;
919
+ /**
920
+ * Creation date of the ticket. ISO 8601 UTC.
921
+ */
922
+ date_created: string;
923
+ /**
924
+ * Last update date of the ticket. ISO 8601 UTC.
925
+ */
926
+ date_updated: string;
927
+ /**
928
+ * Messages on the ticket in chronological order. Internal notes are excluded. Returned by the detail endpoint only.
929
+ */
930
+ messages?: Array<{
931
+ /**
932
+ * Unique identifier of the message (Mongo ObjectId).
933
+ */
934
+ id: string;
935
+ /**
936
+ * Message type. Internal notes are filtered out of customer-facing responses.
937
+ */
938
+ type: 'customer_reply' | 'agent_reply';
939
+ /**
940
+ * Message body in markdown.
941
+ */
942
+ body: string;
943
+ /**
944
+ * First name of the author. Null when not provided.
945
+ */
946
+ author_first_name?: string;
947
+ /**
948
+ * Last name of the author. Null when not provided.
949
+ */
950
+ author_last_name?: string;
951
+ /**
952
+ * Attachments associated with this message.
953
+ */
954
+ attachments?: Array<{
955
+ /**
956
+ * Unique identifier of the attachment (Mongo ObjectId).
957
+ */
958
+ id: string;
959
+ /**
960
+ * Original filename as uploaded.
961
+ */
962
+ filename: string;
963
+ /**
964
+ * MIME content type of the attachment.
965
+ */
966
+ content_type: string;
967
+ /**
968
+ * Size of the attachment in bytes.
969
+ */
970
+ size: number;
971
+ }>;
972
+ /**
973
+ * Creation date of the message. ISO 8601 UTC.
974
+ */
975
+ date_created: string;
976
+ }>;
977
+ }>;
978
+ };
979
+ export type TicketMessageInput = {
980
+ /**
981
+ * Reply body in markdown.
982
+ */
983
+ body: string;
984
+ };
985
+ export type TicketMessage = {
986
+ /**
987
+ * Unique identifier of the message (Mongo ObjectId).
988
+ */
989
+ id: string;
990
+ /**
991
+ * Message type. Internal notes are filtered out of customer-facing responses.
992
+ */
993
+ type: 'customer_reply' | 'agent_reply';
994
+ /**
995
+ * Message body in markdown.
996
+ */
997
+ body: string;
998
+ /**
999
+ * First name of the author. Null when not provided.
1000
+ */
1001
+ author_first_name?: string;
1002
+ /**
1003
+ * Last name of the author. Null when not provided.
1004
+ */
1005
+ author_last_name?: string;
1006
+ /**
1007
+ * Attachments associated with this message.
1008
+ */
1009
+ attachments?: Array<{
1010
+ /**
1011
+ * Unique identifier of the attachment (Mongo ObjectId).
1012
+ */
1013
+ id: string;
1014
+ /**
1015
+ * Original filename as uploaded.
1016
+ */
1017
+ filename: string;
1018
+ /**
1019
+ * MIME content type of the attachment.
1020
+ */
1021
+ content_type: string;
1022
+ /**
1023
+ * Size of the attachment in bytes.
1024
+ */
1025
+ size: number;
1026
+ }>;
1027
+ /**
1028
+ * Creation date of the message. ISO 8601 UTC.
1029
+ */
1030
+ date_created: string;
1031
+ };
1032
+ export type Ticket = {
1033
+ /**
1034
+ * Unique identifier of the ticket (Mongo ObjectId).
1035
+ */
1036
+ id: string;
1037
+ /**
1038
+ * Current state of the ticket.
1039
+ */
1040
+ status: 'waiting_on_us' | 'waiting_on_user' | 'closed';
1041
+ /**
1042
+ * Ticket category.
1043
+ */
1044
+ category: 'billing' | 'technical' | 'general';
1045
+ /**
1046
+ * First 128 characters of the initial message body, with markdown formatting and newlines stripped. Used for ticket list previews.
1047
+ */
1048
+ summary: string;
1049
+ /**
1050
+ * Closure timestamp. Null while the ticket is open.
1051
+ */
1052
+ closed_at?: string;
1053
+ /**
1054
+ * Creation date of the ticket. ISO 8601 UTC.
1055
+ */
1056
+ date_created: string;
1057
+ /**
1058
+ * Last update date of the ticket. ISO 8601 UTC.
1059
+ */
1060
+ date_updated: string;
1061
+ /**
1062
+ * Messages on the ticket in chronological order. Internal notes are excluded. Returned by the detail endpoint only.
1063
+ */
1064
+ messages?: Array<{
1065
+ /**
1066
+ * Unique identifier of the message (Mongo ObjectId).
1067
+ */
1068
+ id: string;
1069
+ /**
1070
+ * Message type. Internal notes are filtered out of customer-facing responses.
1071
+ */
1072
+ type: 'customer_reply' | 'agent_reply';
1073
+ /**
1074
+ * Message body in markdown.
1075
+ */
1076
+ body: string;
1077
+ /**
1078
+ * First name of the author. Null when not provided.
1079
+ */
1080
+ author_first_name?: string;
1081
+ /**
1082
+ * Last name of the author. Null when not provided.
1083
+ */
1084
+ author_last_name?: string;
1085
+ /**
1086
+ * Attachments associated with this message.
1087
+ */
1088
+ attachments?: Array<{
1089
+ /**
1090
+ * Unique identifier of the attachment (Mongo ObjectId).
1091
+ */
1092
+ id: string;
1093
+ /**
1094
+ * Original filename as uploaded.
1095
+ */
1096
+ filename: string;
1097
+ /**
1098
+ * MIME content type of the attachment.
1099
+ */
1100
+ content_type: string;
1101
+ /**
1102
+ * Size of the attachment in bytes.
1103
+ */
1104
+ size: number;
1105
+ }>;
1106
+ /**
1107
+ * Creation date of the message. ISO 8601 UTC.
1108
+ */
1109
+ date_created: string;
1110
+ }>;
1111
+ };
616
1112
  export type TokenCreateInput = {
617
1113
  /**
618
1114
  * Human readable access token name.
@@ -655,35 +1151,85 @@ export type TokenUpdateInput = {
655
1151
  */
656
1152
  role?: 'Administrator' | 'User';
657
1153
  };
1154
+ export type UsageFacets = {
1155
+ /**
1156
+ * List of unique cluster IDs
1157
+ */
1158
+ cluster_id?: Array<string>;
1159
+ /**
1160
+ * List of unique products
1161
+ */
1162
+ product?: Array<string>;
1163
+ };
1164
+ export type UsageResponse = {
1165
+ /**
1166
+ * Usage data
1167
+ */
1168
+ data: Array<{
1169
+ /**
1170
+ * Hour of the usage
1171
+ */
1172
+ hour: string;
1173
+ /**
1174
+ * Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
1175
+ */
1176
+ cluster_id: string;
1177
+ /**
1178
+ * The product the usage is associated with
1179
+ */
1180
+ product: string;
1181
+ /**
1182
+ * Consumption
1183
+ */
1184
+ value: number;
1185
+ /**
1186
+ * Price per unit
1187
+ */
1188
+ price: number;
1189
+ /**
1190
+ * Total cost
1191
+ */
1192
+ total: number;
1193
+ }>;
1194
+ /**
1195
+ * Facets for filtering
1196
+ */
1197
+ facets: {
1198
+ /**
1199
+ * List of unique cluster IDs
1200
+ */
1201
+ cluster_id?: Array<string>;
1202
+ /**
1203
+ * List of unique products
1204
+ */
1205
+ product?: Array<string>;
1206
+ };
1207
+ };
658
1208
  export type Usage = {
659
1209
  /**
660
1210
  * Hour of the usage
661
1211
  */
662
- hour?: string;
1212
+ hour: string;
663
1213
  /**
664
1214
  * Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
665
1215
  */
666
1216
  cluster_id: string;
667
1217
  /**
668
- * Tier of the cluster.
1218
+ * The product the usage is associated with
669
1219
  */
670
- cluster_tier: 'basic' | 'pro' | '';
1220
+ product: string;
671
1221
  /**
672
- * The product the usage is associated with
1222
+ * Consumption
673
1223
  */
674
- product: 'cfke_controlplane' | 'cfke_connected_nodes' | 'infra_compute' | 'infra_storage' | 'infra_loadbalancing' | 'infra_traffic' | 'cfcr_storage';
1224
+ value: number;
675
1225
  /**
676
- * Name of the Kubernetes node
1226
+ * Price per unit
677
1227
  */
678
- node_name: string;
1228
+ price: number;
679
1229
  /**
680
- * SKU of the Kubernetes node
1230
+ * Total cost
681
1231
  */
682
- sku: string;
683
- cpu: number | '';
684
- price: number | '';
685
- value: number | '';
686
- total: number | '';
1232
+ total: number;
687
1233
  };
688
1234
  export type UserCreateInput = {
689
1235
  /**
@@ -770,7 +1316,12 @@ export type UserUpdateInput = {
770
1316
  export type GetUsageData = {
771
1317
  body?: never;
772
1318
  path?: never;
773
- query?: never;
1319
+ query?: {
1320
+ /**
1321
+ * 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)
1322
+ */
1323
+ granularity?: 'hourly' | 'daily' | 'monthly';
1324
+ };
774
1325
  url: '/billing/usage';
775
1326
  };
776
1327
  export type GetUsageErrors = {
@@ -781,9 +1332,9 @@ export type GetUsageErrors = {
781
1332
  };
782
1333
  export type GetUsageResponses = {
783
1334
  /**
784
- * An array of usage records.
1335
+ * Usage data with facets for filtering
785
1336
  */
786
- 200: Array<Usage>;
1337
+ 200: UsageResponse;
787
1338
  };
788
1339
  export type GetUsageResponse = GetUsageResponses[keyof GetUsageResponses];
789
1340
  export type GetPaymentMethodData = {
@@ -1372,24 +1923,76 @@ export type ListMarketplaceChartsResponses = {
1372
1923
  200: Array<MarketplaceListing>;
1373
1924
  };
1374
1925
  export type ListMarketplaceChartsResponse = ListMarketplaceChartsResponses[keyof ListMarketplaceChartsResponses];
1375
- export type GetMarketplaceChartData = {
1926
+ export type GetMarketplaceChartFilesData = {
1376
1927
  body?: never;
1377
1928
  path: {
1378
1929
  /**
1379
- * Unique identifier of the chart listing in the marketplace.
1930
+ * Name of the chart in the marketplace.
1931
+ */
1932
+ chart_name: string;
1933
+ /**
1934
+ * 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).
1935
+ */
1936
+ version_channel: string;
1937
+ };
1938
+ query?: never;
1939
+ url: '/marketplace/{chart_name}/files/{version_channel}';
1940
+ };
1941
+ export type GetMarketplaceChartFilesErrors = {
1942
+ /**
1943
+ * Chart not found or no version matches the channel
1944
+ */
1945
+ 404: unknown;
1946
+ };
1947
+ export type GetMarketplaceChartFilesResponses = {
1948
+ /**
1949
+ * Returns an object containing the chart files for the latest matching version.
1950
+ */
1951
+ 200: MarketplaceListingFiles;
1952
+ };
1953
+ export type GetMarketplaceChartFilesResponse = GetMarketplaceChartFilesResponses[keyof GetMarketplaceChartFilesResponses];
1954
+ export type PostMcpData = {
1955
+ /**
1956
+ * JSON-RPC 2.0 request payload
1957
+ */
1958
+ body: {
1959
+ jsonrpc?: string;
1960
+ method?: string;
1961
+ id?: string | number;
1962
+ /**
1963
+ * Method-specific parameters
1380
1964
  */
1381
- listing_id: string;
1965
+ params?: {
1966
+ [key: string]: unknown;
1967
+ };
1382
1968
  };
1969
+ path?: never;
1383
1970
  query?: never;
1384
- url: '/marketplace/{listing_id}';
1971
+ url: '/mcp';
1385
1972
  };
1386
- export type GetMarketplaceChartResponses = {
1973
+ export type PostMcpErrors = {
1387
1974
  /**
1388
- * Returns an object containing the chart listing details.
1975
+ * Not authenticated
1389
1976
  */
1390
- 200: MarketplaceListing;
1977
+ 401: unknown;
1391
1978
  };
1392
- export type GetMarketplaceChartResponse = GetMarketplaceChartResponses[keyof GetMarketplaceChartResponses];
1979
+ export type PostMcpResponses = {
1980
+ /**
1981
+ * JSON-RPC 2.0 success or error response
1982
+ */
1983
+ 200: {
1984
+ jsonrpc?: string;
1985
+ id?: string | number;
1986
+ result?: {
1987
+ [key: string]: unknown;
1988
+ };
1989
+ error?: {
1990
+ code?: number;
1991
+ message?: string;
1992
+ };
1993
+ };
1994
+ };
1995
+ export type PostMcpResponse = PostMcpResponses[keyof PostMcpResponses];
1393
1996
  export type GetOrganizationData = {
1394
1997
  body?: never;
1395
1998
  path?: never;
@@ -1415,6 +2018,249 @@ export type CreateOrganizationResponses = {
1415
2018
  */
1416
2019
  200: unknown;
1417
2020
  };
2021
+ export type ListRepositoriesData = {
2022
+ body?: never;
2023
+ path?: never;
2024
+ query?: never;
2025
+ url: '/registry';
2026
+ };
2027
+ export type ListRepositoriesErrors = {
2028
+ /**
2029
+ * Not authenticated
2030
+ */
2031
+ 401: unknown;
2032
+ /**
2033
+ * Internal server error
2034
+ */
2035
+ 500: unknown;
2036
+ };
2037
+ export type ListRepositoriesResponses = {
2038
+ /**
2039
+ * List of repositories
2040
+ */
2041
+ 200: Array<RegistryRepository>;
2042
+ };
2043
+ export type ListRepositoriesResponse = ListRepositoriesResponses[keyof ListRepositoriesResponses];
2044
+ export type ListTagsData = {
2045
+ body?: never;
2046
+ path: {
2047
+ /**
2048
+ * Region where the repository is located
2049
+ */
2050
+ region: string;
2051
+ /**
2052
+ * Name of the repository
2053
+ */
2054
+ repository: string;
2055
+ };
2056
+ query?: never;
2057
+ url: '/registry/{region}/{repository}';
2058
+ };
2059
+ export type ListTagsErrors = {
2060
+ /**
2061
+ * Not authenticated
2062
+ */
2063
+ 401: unknown;
2064
+ /**
2065
+ * Repository not found
2066
+ */
2067
+ 404: unknown;
2068
+ /**
2069
+ * Internal server error
2070
+ */
2071
+ 500: unknown;
2072
+ };
2073
+ export type ListTagsResponses = {
2074
+ /**
2075
+ * Repository with tags
2076
+ */
2077
+ 200: RegistryRepositoryWithTags;
2078
+ };
2079
+ export type ListTagsResponse = ListTagsResponses[keyof ListTagsResponses];
2080
+ export type DeleteTagData = {
2081
+ body?: never;
2082
+ path: {
2083
+ /**
2084
+ * Region where the repository is located
2085
+ */
2086
+ region: string;
2087
+ /**
2088
+ * Name of the repository
2089
+ */
2090
+ repository: string;
2091
+ /**
2092
+ * Name of the tag
2093
+ */
2094
+ tag: string;
2095
+ };
2096
+ query?: never;
2097
+ url: '/registry/{region}/{repository}/{tag}';
2098
+ };
2099
+ export type DeleteTagErrors = {
2100
+ /**
2101
+ * Not authenticated
2102
+ */
2103
+ 401: unknown;
2104
+ /**
2105
+ * Tag not found
2106
+ */
2107
+ 404: unknown;
2108
+ /**
2109
+ * Internal server error
2110
+ */
2111
+ 500: unknown;
2112
+ };
2113
+ export type DeleteTagResponses = {
2114
+ /**
2115
+ * Tag successfully deleted
2116
+ */
2117
+ 200: unknown;
2118
+ };
2119
+ export type GetTagData = {
2120
+ body?: never;
2121
+ path: {
2122
+ /**
2123
+ * Region where the repository is located
2124
+ */
2125
+ region: string;
2126
+ /**
2127
+ * Name of the repository
2128
+ */
2129
+ repository: string;
2130
+ /**
2131
+ * Name of the tag
2132
+ */
2133
+ tag: string;
2134
+ };
2135
+ query?: never;
2136
+ url: '/registry/{region}/{repository}/{tag}';
2137
+ };
2138
+ export type GetTagErrors = {
2139
+ /**
2140
+ * Not authenticated
2141
+ */
2142
+ 401: unknown;
2143
+ /**
2144
+ * Tag not found
2145
+ */
2146
+ 404: unknown;
2147
+ /**
2148
+ * Internal server error
2149
+ */
2150
+ 500: unknown;
2151
+ };
2152
+ export type GetTagResponses = {
2153
+ /**
2154
+ * Tag details
2155
+ */
2156
+ 200: RegistryTag;
2157
+ };
2158
+ export type GetTagResponse = GetTagResponses[keyof GetTagResponses];
2159
+ export type ListTicketsData = {
2160
+ body?: never;
2161
+ path?: never;
2162
+ query?: never;
2163
+ url: '/tickets';
2164
+ };
2165
+ export type ListTicketsResponses = {
2166
+ /**
2167
+ * Tickets for the organization.
2168
+ */
2169
+ 200: TicketListResponse;
2170
+ };
2171
+ export type ListTicketsResponse = ListTicketsResponses[keyof ListTicketsResponses];
2172
+ export type CreateTicketData = {
2173
+ body: {
2174
+ /**
2175
+ * JSON-encoded TicketCreateInput.
2176
+ */
2177
+ payload?: string;
2178
+ attachments?: Array<Blob | File>;
2179
+ };
2180
+ path?: never;
2181
+ query?: never;
2182
+ url: '/tickets';
2183
+ };
2184
+ export type CreateTicketResponses = {
2185
+ /**
2186
+ * Ticket created.
2187
+ */
2188
+ 200: Ticket;
2189
+ };
2190
+ export type CreateTicketResponse = CreateTicketResponses[keyof CreateTicketResponses];
2191
+ export type CloseTicketData = {
2192
+ body?: never;
2193
+ path: {
2194
+ ticket_id: string;
2195
+ };
2196
+ query?: never;
2197
+ url: '/tickets/{ticket_id}';
2198
+ };
2199
+ export type CloseTicketResponses = {
2200
+ /**
2201
+ * Ticket closed.
2202
+ */
2203
+ 200: Ticket;
2204
+ };
2205
+ export type CloseTicketResponse = CloseTicketResponses[keyof CloseTicketResponses];
2206
+ export type GetTicketData = {
2207
+ body?: never;
2208
+ path: {
2209
+ ticket_id: string;
2210
+ };
2211
+ query?: never;
2212
+ url: '/tickets/{ticket_id}';
2213
+ };
2214
+ export type GetTicketResponses = {
2215
+ /**
2216
+ * Ticket with messages (internal notes excluded).
2217
+ */
2218
+ 200: Ticket;
2219
+ };
2220
+ export type GetTicketResponse = GetTicketResponses[keyof GetTicketResponses];
2221
+ export type ReplyTicketData = {
2222
+ body: {
2223
+ /**
2224
+ * JSON-encoded TicketMessageInput.
2225
+ */
2226
+ payload?: string;
2227
+ attachments?: Array<Blob | File>;
2228
+ };
2229
+ path: {
2230
+ ticket_id: string;
2231
+ };
2232
+ query?: never;
2233
+ url: '/tickets/{ticket_id}/messages';
2234
+ };
2235
+ export type ReplyTicketErrors = {
2236
+ /**
2237
+ * Ticket is closed. Open a new ticket instead.
2238
+ */
2239
+ 409: unknown;
2240
+ };
2241
+ export type ReplyTicketResponses = {
2242
+ /**
2243
+ * Reply appended.
2244
+ */
2245
+ 200: TicketMessage;
2246
+ };
2247
+ export type ReplyTicketResponse = ReplyTicketResponses[keyof ReplyTicketResponses];
2248
+ export type GetTicketAttachmentData = {
2249
+ body?: never;
2250
+ path: {
2251
+ ticket_id: string;
2252
+ attachment_id: string;
2253
+ };
2254
+ query?: never;
2255
+ url: '/tickets/{ticket_id}/attachments/{attachment_id}';
2256
+ };
2257
+ export type GetTicketAttachmentResponses = {
2258
+ /**
2259
+ * Attachment binary stream.
2260
+ */
2261
+ 200: Blob | File;
2262
+ };
2263
+ export type GetTicketAttachmentResponse = GetTicketAttachmentResponses[keyof GetTicketAttachmentResponses];
1418
2264
  export type ListTokensData = {
1419
2265
  body?: never;
1420
2266
  path?: never;