@cloudfleet/sdk 0.0.1-c94cc4a → 0.0.1-cb34d78

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 (68) hide show
  1. package/dist/client/client.gen.d.ts +3 -0
  2. package/dist/client/client.gen.d.ts.map +1 -0
  3. package/dist/client/client.gen.js +205 -0
  4. package/dist/client/client.gen.js.map +1 -0
  5. package/dist/client/index.d.ts +9 -0
  6. package/dist/client/index.d.ts.map +1 -0
  7. package/dist/client/index.js +7 -0
  8. package/dist/client/index.js.map +1 -0
  9. package/dist/client/types.gen.d.ts +125 -0
  10. package/dist/client/types.gen.d.ts.map +1 -0
  11. package/dist/client/types.gen.js +3 -0
  12. package/dist/client/types.gen.js.map +1 -0
  13. package/dist/client/utils.gen.d.ts +34 -0
  14. package/dist/client/utils.gen.d.ts.map +1 -0
  15. package/dist/client/utils.gen.js +231 -0
  16. package/dist/client/utils.gen.js.map +1 -0
  17. package/dist/client.gen.d.ts +4 -4
  18. package/dist/client.gen.d.ts.map +1 -1
  19. package/dist/client.gen.js +1 -1
  20. package/dist/client.gen.js.map +1 -1
  21. package/dist/core/auth.gen.d.ts +19 -0
  22. package/dist/core/auth.gen.d.ts.map +1 -0
  23. package/dist/core/auth.gen.js +15 -0
  24. package/dist/core/auth.gen.js.map +1 -0
  25. package/dist/core/bodySerializer.gen.d.ts +18 -0
  26. package/dist/core/bodySerializer.gen.d.ts.map +1 -0
  27. package/dist/core/bodySerializer.gen.js +58 -0
  28. package/dist/core/bodySerializer.gen.js.map +1 -0
  29. package/dist/core/params.gen.d.ts +34 -0
  30. package/dist/core/params.gen.d.ts.map +1 -0
  31. package/dist/core/params.gen.js +89 -0
  32. package/dist/core/params.gen.js.map +1 -0
  33. package/dist/core/pathSerializer.gen.d.ts +34 -0
  34. package/dist/core/pathSerializer.gen.d.ts.map +1 -0
  35. package/dist/core/pathSerializer.gen.js +115 -0
  36. package/dist/core/pathSerializer.gen.js.map +1 -0
  37. package/dist/core/queryKeySerializer.gen.d.ts +19 -0
  38. package/dist/core/queryKeySerializer.gen.d.ts.map +1 -0
  39. package/dist/core/queryKeySerializer.gen.js +100 -0
  40. package/dist/core/queryKeySerializer.gen.js.map +1 -0
  41. package/dist/core/serverSentEvents.gen.d.ts +72 -0
  42. package/dist/core/serverSentEvents.gen.d.ts.map +1 -0
  43. package/dist/core/serverSentEvents.gen.js +136 -0
  44. package/dist/core/serverSentEvents.gen.js.map +1 -0
  45. package/dist/core/types.gen.d.ts +79 -0
  46. package/dist/core/types.gen.d.ts.map +1 -0
  47. package/dist/core/types.gen.js +3 -0
  48. package/dist/core/types.gen.js.map +1 -0
  49. package/dist/core/utils.gen.d.ts +20 -0
  50. package/dist/core/utils.gen.d.ts.map +1 -0
  51. package/dist/core/utils.gen.js +88 -0
  52. package/dist/core/utils.gen.js.map +1 -0
  53. package/dist/schemas.gen.d.ts +346 -106
  54. package/dist/schemas.gen.d.ts.map +1 -1
  55. package/dist/schemas.gen.js +347 -115
  56. package/dist/schemas.gen.js.map +1 -1
  57. package/dist/sdk.gen.d.ts +118 -55
  58. package/dist/sdk.gen.d.ts.map +1 -1
  59. package/dist/sdk.gen.js +184 -57
  60. package/dist/sdk.gen.js.map +1 -1
  61. package/dist/services/kubernetes/api.d.ts +12 -12
  62. package/dist/types.gen.d.ts +386 -38
  63. package/dist/types.gen.d.ts.map +1 -1
  64. package/dist/zod.gen.d.ts +2774 -1800
  65. package/dist/zod.gen.d.ts.map +1 -1
  66. package/dist/zod.gen.js +845 -210
  67. package/dist/zod.gen.js.map +1 -1
  68. package/package.json +5 -6
@@ -152,41 +152,41 @@ export default class Api<T extends KubernetesObject> implements ApiInterface {
152
152
  list(namespace?: string, queryParams?: QueryParameters): Promise<T[]>;
153
153
  get(name: string, namespace?: string, queryParams?: QueryParameters): Promise<T>;
154
154
  post(body: KubernetesObject, queryParams?: QueryParameters): Promise<({
155
- data: string;
156
- error: undefined;
157
- } | {
158
155
  data: undefined;
159
156
  error: unknown;
157
+ } | {
158
+ data: string;
159
+ error: undefined;
160
160
  }) & {
161
161
  request: Request;
162
162
  response: Response;
163
163
  }>;
164
164
  patch(body: OpPatch[], name: string, namespace?: string, queryParams?: QueryParameters): Promise<({
165
- data: string;
166
- error: undefined;
167
- } | {
168
165
  data: undefined;
169
166
  error: unknown;
167
+ } | {
168
+ data: string;
169
+ error: undefined;
170
170
  }) & {
171
171
  request: Request;
172
172
  response: Response;
173
173
  }>;
174
174
  put(body: KubernetesObject, queryParams?: QueryParameters): Promise<({
175
- data: string;
176
- error: undefined;
177
- } | {
178
175
  data: undefined;
179
176
  error: unknown;
177
+ } | {
178
+ data: string;
179
+ error: undefined;
180
180
  }) & {
181
181
  request: Request;
182
182
  response: Response;
183
183
  }>;
184
184
  delete(name: string, namespace?: string, queryParams?: QueryParameters): Promise<({
185
- data: string;
186
- error: undefined;
187
- } | {
188
185
  data: undefined;
189
186
  error: unknown;
187
+ } | {
188
+ data: string;
189
+ error: undefined;
190
190
  }) & {
191
191
  request: Request;
192
192
  response: Response;
@@ -1,3 +1,6 @@
1
+ export type ClientOptions = {
2
+ baseUrl: 'https://api.cloudfleet.ai/v1' | (string & {});
3
+ };
1
4
  export type BillingContact = {
2
5
  /**
3
6
  * Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
@@ -43,20 +46,140 @@ export type BillingContact = {
43
46
  * Last name of the billing contact person.
44
47
  */
45
48
  last_name: string;
49
+ /**
50
+ * Tax ID of the organization.
51
+ */
52
+ tax_id?: string;
53
+ /**
54
+ * Type of the tax ID.
55
+ */
56
+ tax_id_type?: 'ad_nrt' | 'ae_trn' | 'al_tin' | 'am_tin' | 'ao_tin' | 'ar_cuit' | 'at_vat' | 'au_abn' | 'au_arn' | 'ba_tin' | 'bb_tin' | 'be_vat' | 'bg_uic' | 'bg_vat' | 'bh_vat' | 'bo_tin' | 'br_cnpj' | 'br_cpf' | 'bs_tin' | 'by_tin' | 'ca_bn' | 'ca_gst_hst' | 'ca_pst_bc' | 'ca_pst_mb' | 'ca_pst_sk' | 'ca_qst' | 'cd_nif' | 'ch_uid' | 'ch_vat' | 'cl_tin' | 'cn_tin' | 'co_nit' | 'cr_tin' | 'cy_vat' | 'cz_vat' | 'de_stn' | 'de_vat' | 'dk_vat' | 'do_rcn' | 'ec_ruc' | 'ee_vat' | 'eg_tin' | 'es_cif' | 'es_vat' | 'eu_oss_vat' | 'fi_vat' | 'fr_vat' | 'gb_vat' | 'ge_vat' | 'gn_nif' | 'gr_vat' | 'hk_br' | 'hr_oib' | 'hr_vat' | 'hu_tin' | 'hu_vat' | 'id_npwp' | 'ie_vat' | 'il_vat' | 'in_gst' | 'is_vat' | 'it_vat' | 'jp_cn' | 'jp_rn' | 'jp_trn' | 'ke_pin' | 'kh_tin' | 'kr_brn' | 'kz_bin' | 'li_uid' | 'li_vat' | 'lt_vat' | 'lu_vat' | 'lv_vat' | 'ma_vat' | 'md_vat' | 'me_pib' | 'mk_vat' | 'mr_nif' | 'mt_vat' | 'mx_rfc' | 'my_frp' | 'my_itn' | 'my_sst' | 'ng_tin' | 'nl_vat' | 'no_vat' | 'no_voec' | 'np_pan' | 'nz_gst' | 'om_vat' | 'pe_ruc' | 'ph_tin' | 'pl_vat' | 'pt_vat' | 'ro_tin' | 'ro_vat' | 'rs_pib' | 'ru_inn' | 'ru_kpp' | 'sa_vat' | 'se_vat' | 'sg_gst' | 'sg_uen' | 'si_tin' | 'si_vat' | 'sk_vat' | 'sn_ninea' | 'sr_fin' | 'sv_nit' | 'th_vat' | 'tj_tin' | 'tr_tin' | 'tw_vat' | 'tz_vat' | 'ua_vat' | 'ug_tin' | 'us_ein' | 'uy_ruc' | 'uz_tin' | 'uz_vat' | 've_rif' | 'vn_tin' | 'xi_vat' | 'za_vat' | 'zm_tin' | 'zw_tin' | '';
46
57
  };
47
- export type ClusterCreateInput = {
58
+ export type BillingCredits = {
48
59
  /**
49
- * Name of the cluster.
60
+ * Generated unique identifier of the promotional code.
61
+ */
62
+ id?: string;
63
+ /**
64
+ * Date of the credit application. ISO 8601 date string in the UTC timezone.
65
+ */
66
+ date_created: string;
67
+ /**
68
+ * Promotional code used by the customer.
69
+ */
70
+ code: string;
71
+ /**
72
+ * Description of the promotional code.
73
+ */
74
+ description?: string;
75
+ /**
76
+ * List of product SKUs that the promotional code can be used on.
77
+ */
78
+ products?: Array<string>;
79
+ /**
80
+ * Type of the promotional code.
81
+ */
82
+ type: 'credit' | 'discount';
83
+ /**
84
+ * Value of the promotional code.
85
+ */
86
+ value: number;
87
+ /**
88
+ * Date of the billing cycle. An ISO 8601 date string in the UTC timezone.
89
+ */
90
+ billing_period: string;
91
+ /**
92
+ * Value of the promotional code.
93
+ */
94
+ value_remaining?: number;
95
+ };
96
+ export type ChartCreateInput = {
97
+ /**
98
+ * Values to be used in the chart encoded as a JSON string.
99
+ */
100
+ values: string;
101
+ /**
102
+ * Desired version range or channel for the chart.
103
+ */
104
+ version_channel: string;
105
+ /**
106
+ * Unique identifier of the chart deployment aka name of the helm release.
107
+ */
108
+ name: string;
109
+ /**
110
+ * Namespace of the chart deployment
111
+ */
112
+ namespace: string;
113
+ /**
114
+ * Name of the chart listing
115
+ */
116
+ chart: string;
117
+ };
118
+ export type Chart = {
119
+ /**
120
+ * Values to be used in the chart encoded as a JSON string.
121
+ */
122
+ values: string;
123
+ /**
124
+ * Desired version range or channel for the chart.
125
+ */
126
+ version_channel: string;
127
+ /**
128
+ * Unique identifier of the chart deployment aka name of the helm release.
50
129
  */
51
130
  name: string;
52
131
  /**
53
- * Cloudfleet control plane region. One of "staging", "northamerica-central-1". This field can not be updated after creation.
132
+ * Namespace of the chart deployment
54
133
  */
55
- region?: 'staging' | 'northamerica-central-1';
134
+ namespace: string;
135
+ /**
136
+ * Name of the chart listing
137
+ */
138
+ chart: string;
139
+ /**
140
+ * Status of the chart deployment.
141
+ */
142
+ status: 'InstallSucceeded' | 'InstallFailed' | 'UpgradeSucceeded' | 'UpgradeFailed' | 'TestSucceeded' | 'TestFailed' | 'RollbackSucceeded' | 'RollbackFailed' | 'UninstallSucceeded' | 'UninstallFailed' | 'ArtifactFailed' | 'DependencyNotReady' | 'Progressing' | 'SourceNotReady';
143
+ /**
144
+ * Current version of the chart deployment.
145
+ */
146
+ version_current: string;
147
+ /**
148
+ * Creation date and time of the chart deployment.
149
+ */
150
+ created_at: string;
151
+ /**
152
+ * Last update date and time of the chart deployment.
153
+ */
154
+ updated_at: string;
155
+ /**
156
+ * Indicates if the chart deployment is ready to be used.
157
+ */
158
+ ready: boolean;
159
+ };
160
+ export type ChartUpdateInput = {
161
+ /**
162
+ * Values to be used in the chart encoded as a JSON string.
163
+ */
164
+ values: string;
165
+ /**
166
+ * Desired version range or channel for the chart.
167
+ */
168
+ version_channel: string;
169
+ };
170
+ export type ClusterCreateInput = {
171
+ /**
172
+ * Name of the cluster.
173
+ */
174
+ name: string;
56
175
  /**
57
176
  * Tier of the cluster.
58
177
  */
59
178
  tier: 'basic' | 'pro';
179
+ /**
180
+ * Cloudfleet control plane region. One of "staging", "northamerica-central-1", "europe-central-1a", "northamerica-central-1a". This field can not be updated after creation.
181
+ */
182
+ region?: 'staging' | 'northamerica-central-1' | 'europe-central-1a' | 'northamerica-central-1a';
60
183
  /**
61
184
  * Version of the kubernetes cluster.
62
185
  */
@@ -95,6 +218,10 @@ export type ClusterJoinInformation = {
95
218
  * Containerd version of the cluster.
96
219
  */
97
220
  containerd: string;
221
+ /**
222
+ * NVIDIA driver version of the cluster.
223
+ */
224
+ nvidia_driver: string;
98
225
  };
99
226
  /**
100
227
  * OIDC Information for hosts to access to third party API's.
@@ -119,14 +246,14 @@ export type Cluster = {
119
246
  * Name of the cluster.
120
247
  */
121
248
  name: string;
122
- /**
123
- * Cloudfleet control plane region. One of "staging", "northamerica-central-1". This field can not be updated after creation.
124
- */
125
- region?: 'staging' | 'northamerica-central-1';
126
249
  /**
127
250
  * Tier of the cluster.
128
251
  */
129
252
  tier: 'basic' | 'pro';
253
+ /**
254
+ * Cloudfleet control plane region. One of "staging", "northamerica-central-1", "europe-central-1a", "northamerica-central-1a". This field can not be updated after creation.
255
+ */
256
+ region?: 'staging' | 'northamerica-central-1' | 'europe-central-1a' | 'northamerica-central-1a';
130
257
  /**
131
258
  * Version of the kubernetes cluster.
132
259
  */
@@ -166,6 +293,10 @@ export type ClusterUpdateInput = {
166
293
  * Name of the cluster.
167
294
  */
168
295
  name?: string;
296
+ /**
297
+ * Tier of the cluster.
298
+ */
299
+ tier: 'basic' | 'pro';
169
300
  /**
170
301
  * Version of the kubernetes cluster.
171
302
  */
@@ -190,10 +321,10 @@ export type FleetCreateInput = {
190
321
  };
191
322
  hetzner?: {
192
323
  enabled?: boolean;
193
- apiKey?: string;
194
- } | {
195
- apiKey?: string;
196
- enabled?: boolean;
324
+ /**
325
+ * Hetzner Cloud API key with read / write access
326
+ */
327
+ apiKey: string;
197
328
  };
198
329
  aws?: {
199
330
  enabled?: boolean;
@@ -206,10 +337,6 @@ export type FleetCreateInput = {
206
337
  * Unique identifier of the kubernetes fleet.
207
338
  */
208
339
  id: string;
209
- /**
210
- * Specifies the fleet type: infrastructure managed by Cloudfleet or Connected Fleets.
211
- */
212
- type: 'managed' | 'connected';
213
340
  };
214
341
  export type Fleet = {
215
342
  /**
@@ -230,10 +357,10 @@ export type Fleet = {
230
357
  };
231
358
  hetzner?: {
232
359
  enabled?: boolean;
233
- apiKey?: string;
234
- } | {
235
- apiKey?: string;
236
- enabled?: boolean;
360
+ /**
361
+ * Hetzner Cloud API key with read / write access
362
+ */
363
+ apiKey: string;
237
364
  };
238
365
  aws?: {
239
366
  enabled?: boolean;
@@ -246,10 +373,6 @@ export type Fleet = {
246
373
  * Unique identifier of the kubernetes fleet.
247
374
  */
248
375
  id: string;
249
- /**
250
- * Specifies the fleet type: infrastructure managed by Cloudfleet or Connected Fleets.
251
- */
252
- type: 'managed' | 'connected';
253
376
  };
254
377
  export type FleetUpdateInput = {
255
378
  /**
@@ -270,10 +393,10 @@ export type FleetUpdateInput = {
270
393
  };
271
394
  hetzner?: {
272
395
  enabled?: boolean;
273
- apiKey?: string;
274
- } | {
275
- apiKey?: string;
276
- enabled?: boolean;
396
+ /**
397
+ * Hetzner Cloud API key with read / write access
398
+ */
399
+ apiKey: string;
277
400
  };
278
401
  aws?: {
279
402
  enabled?: boolean;
@@ -537,6 +660,51 @@ export type Invoice = {
537
660
  } | string>;
538
661
  }>;
539
662
  };
663
+ export type MarketplaceListing = {
664
+ /**
665
+ * Id of the chart listing
666
+ */
667
+ id: string;
668
+ /**
669
+ * Name of the chart listing
670
+ */
671
+ name: string;
672
+ /**
673
+ * Author of the chart listing
674
+ */
675
+ developer: string;
676
+ /**
677
+ * Short description of the chart listing
678
+ */
679
+ description: string;
680
+ /**
681
+ * Logo of the chart listing
682
+ */
683
+ logoUrl: string;
684
+ /**
685
+ * Long description of the chart listing
686
+ */
687
+ longDescription: string;
688
+ /**
689
+ * Tags of the chart
690
+ */
691
+ categories: Array<string>;
692
+ version_channels: Array<string>;
693
+ value_schemas: Array<{
694
+ /**
695
+ * Version of the chart.
696
+ */
697
+ version: string;
698
+ /**
699
+ * Schema of the chart values. JSON Schema as string
700
+ */
701
+ schema: string;
702
+ /**
703
+ * Schema of the chart values
704
+ */
705
+ placeholder: string;
706
+ }>;
707
+ };
540
708
  export type OrganizationCreateInput = {
541
709
  /**
542
710
  * Email address used for billing as a string.
@@ -596,10 +764,6 @@ export type Organization = {
596
764
  * Maximum number of fleets that can be created per cluster.
597
765
  */
598
766
  fleets_max: number;
599
- /**
600
- * Maximum number of CPU cores per managed fleet.
601
- */
602
- managed_fleets_cpu_max: number;
603
767
  /**
604
768
  * List of Cloudfleet cluster tiers available for the organization.
605
769
  */
@@ -711,11 +875,11 @@ export type Usage = {
711
875
  /**
712
876
  * Tier of the cluster.
713
877
  */
714
- cluster_tier: '';
878
+ cluster_tier: 'basic' | 'pro' | '';
715
879
  /**
716
880
  * The product the usage is associated with
717
881
  */
718
- product: 'cfke_infra_compute' | 'cfke_nodes' | 'cfke_controlplane';
882
+ product: 'cfke_controlplane' | 'cfke_connected_nodes' | 'infra_compute' | 'infra_storage' | 'infra_loadbalancing' | 'infra_traffic' | 'cfcr_storage';
719
883
  /**
720
884
  * Name of the Kubernetes node
721
885
  */
@@ -955,6 +1119,156 @@ export type UpdateContactResponses = {
955
1119
  200: BillingContact;
956
1120
  };
957
1121
  export type UpdateContactResponse = UpdateContactResponses[keyof UpdateContactResponses];
1122
+ export type GetCreditsData = {
1123
+ body?: never;
1124
+ path?: never;
1125
+ query?: never;
1126
+ url: '/billing/credits';
1127
+ };
1128
+ export type GetCreditsErrors = {
1129
+ /**
1130
+ * Not authenticated
1131
+ */
1132
+ 401: unknown;
1133
+ };
1134
+ export type GetCreditsResponses = {
1135
+ /**
1136
+ * An array of the applied promotional credits records.
1137
+ */
1138
+ 200: Array<BillingCredits>;
1139
+ };
1140
+ export type GetCreditsResponse = GetCreditsResponses[keyof GetCreditsResponses];
1141
+ export type RedeemCreditsData = {
1142
+ body: {
1143
+ /**
1144
+ * Promotional code to redeem
1145
+ */
1146
+ code?: string;
1147
+ };
1148
+ path?: never;
1149
+ query?: never;
1150
+ url: '/billing/credits';
1151
+ };
1152
+ export type RedeemCreditsErrors = {
1153
+ /**
1154
+ * Not authenticated
1155
+ */
1156
+ 401: unknown;
1157
+ };
1158
+ export type RedeemCreditsResponses = {
1159
+ /**
1160
+ * Successfully created a new organization.
1161
+ */
1162
+ 200: unknown;
1163
+ };
1164
+ export type ListChartsData = {
1165
+ body?: never;
1166
+ path: {
1167
+ /**
1168
+ * Unique identifier of the cluster. UUID v4 string in canonical form
1169
+ */
1170
+ cluster_id: string;
1171
+ };
1172
+ query?: never;
1173
+ url: '/clusters/{cluster_id}/charts';
1174
+ };
1175
+ export type ListChartsErrors = {
1176
+ /**
1177
+ * Not authenticated
1178
+ */
1179
+ 401: unknown;
1180
+ };
1181
+ export type ListChartsResponses = {
1182
+ /**
1183
+ * An array of charts
1184
+ */
1185
+ 200: Array<Chart>;
1186
+ };
1187
+ export type ListChartsResponse = ListChartsResponses[keyof ListChartsResponses];
1188
+ export type CreateChartData = {
1189
+ body: ChartCreateInput;
1190
+ path: {
1191
+ /**
1192
+ * Unique identifier of the cluster. UUID v4 string in canonical form
1193
+ */
1194
+ cluster_id: string;
1195
+ };
1196
+ query?: never;
1197
+ url: '/clusters/{cluster_id}/charts';
1198
+ };
1199
+ export type CreateChartResponses = {
1200
+ /**
1201
+ * Successfully created. Returns created Chart ID.
1202
+ */
1203
+ 200: string;
1204
+ };
1205
+ export type CreateChartResponse = CreateChartResponses[keyof CreateChartResponses];
1206
+ export type DeleteChartData = {
1207
+ body?: never;
1208
+ path: {
1209
+ /**
1210
+ * Unique identifier of the cluster. UUID v4 string in canonical form
1211
+ */
1212
+ cluster_id: string;
1213
+ /**
1214
+ * Chart deployment name as the unique identifier of the chart.
1215
+ */
1216
+ chart_name: string;
1217
+ };
1218
+ query?: never;
1219
+ url: '/clusters/{cluster_id}/charts/{chart_name}';
1220
+ };
1221
+ export type DeleteChartResponses = {
1222
+ /**
1223
+ * Successfully deleted.
1224
+ */
1225
+ 200: string;
1226
+ };
1227
+ export type DeleteChartResponse = DeleteChartResponses[keyof DeleteChartResponses];
1228
+ export type GetChartData = {
1229
+ body?: never;
1230
+ path: {
1231
+ /**
1232
+ * Unique identifier of the cluster. UUID v4 string in canonical form
1233
+ */
1234
+ cluster_id: string;
1235
+ /**
1236
+ * Chart deployment name as the unique identifier of the chart.
1237
+ */
1238
+ chart_name: string;
1239
+ };
1240
+ query?: never;
1241
+ url: '/clusters/{cluster_id}/charts/{chart_name}';
1242
+ };
1243
+ export type GetChartResponses = {
1244
+ /**
1245
+ * Returns a single object containing chart details.
1246
+ */
1247
+ 200: Chart;
1248
+ };
1249
+ export type GetChartResponse = GetChartResponses[keyof GetChartResponses];
1250
+ export type UpdateChartData = {
1251
+ body: ChartUpdateInput;
1252
+ path: {
1253
+ /**
1254
+ * Unique identifier of the cluster. UUID v4 string in canonical form
1255
+ */
1256
+ cluster_id: string;
1257
+ /**
1258
+ * Chart deployment name as the unique identifier of the chart.
1259
+ */
1260
+ chart_name: string;
1261
+ };
1262
+ query?: never;
1263
+ url: '/clusters/{cluster_id}/charts/{chart_name}';
1264
+ };
1265
+ export type UpdateChartResponses = {
1266
+ /**
1267
+ * Successfully updated.
1268
+ */
1269
+ 200: string;
1270
+ };
1271
+ export type UpdateChartResponse = UpdateChartResponses[keyof UpdateChartResponses];
958
1272
  export type ListFleetsData = {
959
1273
  body?: never;
960
1274
  path: {
@@ -1214,7 +1528,7 @@ export type GetJoinInformationResponses = {
1214
1528
  /**
1215
1529
  * An object of cluster join information
1216
1530
  */
1217
- 200: Cluster;
1531
+ 200: ClusterJoinInformation;
1218
1532
  };
1219
1533
  export type GetJoinInformationResponse = GetJoinInformationResponses[keyof GetJoinInformationResponses];
1220
1534
  export type ListInvitesData = {
@@ -1289,6 +1603,43 @@ export type DeleteInviteResponses = {
1289
1603
  */
1290
1604
  200: unknown;
1291
1605
  };
1606
+ export type ListMarketplaceChartsData = {
1607
+ body?: never;
1608
+ path?: never;
1609
+ query?: never;
1610
+ url: '/marketplace';
1611
+ };
1612
+ export type ListMarketplaceChartsErrors = {
1613
+ /**
1614
+ * Not authenticated
1615
+ */
1616
+ 401: unknown;
1617
+ };
1618
+ export type ListMarketplaceChartsResponses = {
1619
+ /**
1620
+ * An array of chart listings in the marketplace.
1621
+ */
1622
+ 200: Array<MarketplaceListing>;
1623
+ };
1624
+ export type ListMarketplaceChartsResponse = ListMarketplaceChartsResponses[keyof ListMarketplaceChartsResponses];
1625
+ export type GetMarketplaceChartData = {
1626
+ body?: never;
1627
+ path: {
1628
+ /**
1629
+ * Unique identifier of the chart listing in the marketplace.
1630
+ */
1631
+ listing_id: string;
1632
+ };
1633
+ query?: never;
1634
+ url: '/marketplace/{listing_id}';
1635
+ };
1636
+ export type GetMarketplaceChartResponses = {
1637
+ /**
1638
+ * Returns an object containing the chart listing details.
1639
+ */
1640
+ 200: MarketplaceListing;
1641
+ };
1642
+ export type GetMarketplaceChartResponse = GetMarketplaceChartResponses[keyof GetMarketplaceChartResponses];
1292
1643
  export type GetOrganizationData = {
1293
1644
  body?: never;
1294
1645
  path?: never;
@@ -1570,7 +1921,4 @@ export type UpdateUserResponses = {
1570
1921
  200: User;
1571
1922
  };
1572
1923
  export type UpdateUserResponse = UpdateUserResponses[keyof UpdateUserResponses];
1573
- export type ClientOptions = {
1574
- baseUrl: 'https://api.cloudfleet.ai/v1' | (string & {});
1575
- };
1576
1924
  //# sourceMappingURL=types.gen.d.ts.map