@cloudfleet/sdk 0.0.1-e2d1408 → 0.0.1-e33372f

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 (87) 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 +3 -0
  6. package/dist/client/client.gen.d.ts.map +1 -0
  7. package/dist/client/client.gen.js +220 -0
  8. package/dist/client/client.gen.js.map +1 -0
  9. package/dist/client/index.d.ts +9 -0
  10. package/dist/client/index.d.ts.map +1 -0
  11. package/dist/client/index.js +7 -0
  12. package/dist/client/index.js.map +1 -0
  13. package/dist/client/types.gen.d.ts +121 -0
  14. package/dist/client/types.gen.d.ts.map +1 -0
  15. package/dist/client/types.gen.js +3 -0
  16. package/dist/client/types.gen.js.map +1 -0
  17. package/dist/client/utils.gen.d.ts +38 -0
  18. package/dist/client/utils.gen.d.ts.map +1 -0
  19. package/dist/client/utils.gen.js +229 -0
  20. package/dist/client/utils.gen.js.map +1 -0
  21. package/dist/client.gen.d.ts +13 -0
  22. package/dist/client.gen.d.ts.map +1 -0
  23. package/dist/client.gen.js +4 -0
  24. package/dist/client.gen.js.map +1 -0
  25. package/dist/core/auth.gen.d.ts +19 -0
  26. package/dist/core/auth.gen.d.ts.map +1 -0
  27. package/dist/core/auth.gen.js +15 -0
  28. package/dist/core/auth.gen.js.map +1 -0
  29. package/dist/core/bodySerializer.gen.d.ts +26 -0
  30. package/dist/core/bodySerializer.gen.d.ts.map +1 -0
  31. package/dist/core/bodySerializer.gen.js +58 -0
  32. package/dist/core/bodySerializer.gen.js.map +1 -0
  33. package/dist/core/params.gen.d.ts +44 -0
  34. package/dist/core/params.gen.d.ts.map +1 -0
  35. package/dist/core/params.gen.js +101 -0
  36. package/dist/core/params.gen.js.map +1 -0
  37. package/dist/core/pathSerializer.gen.d.ts +34 -0
  38. package/dist/core/pathSerializer.gen.d.ts.map +1 -0
  39. package/dist/core/pathSerializer.gen.js +107 -0
  40. package/dist/core/pathSerializer.gen.js.map +1 -0
  41. package/dist/core/queryKeySerializer.gen.d.ts +19 -0
  42. package/dist/core/queryKeySerializer.gen.d.ts.map +1 -0
  43. package/dist/core/queryKeySerializer.gen.js +93 -0
  44. package/dist/core/queryKeySerializer.gen.js.map +1 -0
  45. package/dist/core/serverSentEvents.gen.d.ts +72 -0
  46. package/dist/core/serverSentEvents.gen.d.ts.map +1 -0
  47. package/dist/core/serverSentEvents.gen.js +133 -0
  48. package/dist/core/serverSentEvents.gen.js.map +1 -0
  49. package/dist/core/types.gen.d.ts +79 -0
  50. package/dist/core/types.gen.d.ts.map +1 -0
  51. package/dist/core/types.gen.js +3 -0
  52. package/dist/core/types.gen.js.map +1 -0
  53. package/dist/core/utils.gen.d.ts +20 -0
  54. package/dist/core/utils.gen.d.ts.map +1 -0
  55. package/dist/core/utils.gen.js +88 -0
  56. package/dist/core/utils.gen.js.map +1 -0
  57. package/dist/index.d.ts +3 -0
  58. package/dist/index.d.ts.map +1 -1
  59. package/dist/index.js +3 -0
  60. package/dist/index.js.map +1 -1
  61. package/dist/schemas.gen.d.ts +1570 -1109
  62. package/dist/schemas.gen.d.ts.map +1 -1
  63. package/dist/schemas.gen.js +2881 -1203
  64. package/dist/schemas.gen.js.map +1 -1
  65. package/dist/sdk.gen.d.ts +258 -142
  66. package/dist/sdk.gen.d.ts.map +1 -1
  67. package/dist/sdk.gen.js +342 -223
  68. package/dist/sdk.gen.js.map +1 -1
  69. package/dist/services/kubernetes/api.d.ts +196 -0
  70. package/dist/services/kubernetes/api.d.ts.map +1 -0
  71. package/dist/services/kubernetes/api.js +140 -0
  72. package/dist/services/kubernetes/api.js.map +1 -0
  73. package/dist/services/kubernetes/index.d.ts +44 -0
  74. package/dist/services/kubernetes/index.d.ts.map +1 -0
  75. package/dist/services/kubernetes/index.js +68 -0
  76. package/dist/services/kubernetes/index.js.map +1 -0
  77. package/dist/services/kubernetes/types.d.ts +1335 -0
  78. package/dist/services/kubernetes/types.d.ts.map +1 -0
  79. package/dist/services/kubernetes/types.js +2 -0
  80. package/dist/services/kubernetes/types.js.map +1 -0
  81. package/dist/types.gen.d.ts +1426 -997
  82. package/dist/types.gen.d.ts.map +1 -1
  83. package/dist/zod.gen.d.ts +3710 -2907
  84. package/dist/zod.gen.d.ts.map +1 -1
  85. package/dist/zod.gen.js +1539 -914
  86. package/dist/zod.gen.js.map +1 -1
  87. package/package.json +31 -5
@@ -1,20 +1,181 @@
1
- export type ClusterCreateInput = {
1
+ export type ClientOptions = {
2
+ baseUrl: 'https://api.cloudfleet.ai/v1' | (string & {});
3
+ };
4
+ export type BillingContact = {
2
5
  /**
3
- * Name of the cluster.
6
+ * Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
7
+ */
8
+ company?: string;
9
+ /**
10
+ * Street address, P.O. box, c/o
11
+ */
12
+ address1?: string;
13
+ /**
14
+ * Apartment, suite, unit, building, floor, etc.
15
+ */
16
+ address2?: string;
17
+ /**
18
+ * Postal code as a string.
19
+ */
20
+ postalCode?: string;
21
+ /**
22
+ * City or town name.
23
+ */
24
+ city?: string;
25
+ /**
26
+ * State, province, or region name.
27
+ */
28
+ state?: string;
29
+ /**
30
+ * Country as a ISO 3166-1 alpha-2 country code.
31
+ */
32
+ country?: string;
33
+ /**
34
+ * Phone number as a string.
35
+ */
36
+ phone?: string;
37
+ /**
38
+ * Email address used for billing as a string.
39
+ */
40
+ email: string;
41
+ /**
42
+ * Name of the billing contact person.
43
+ */
44
+ individual_name: string;
45
+ /**
46
+ * Tax ID of the organization.
47
+ */
48
+ tax_id?: string;
49
+ /**
50
+ * Type of the tax ID.
51
+ */
52
+ 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' | '';
53
+ };
54
+ export type BillingCredits = {
55
+ /**
56
+ * Generated unique identifier of the promotional code.
57
+ */
58
+ id?: string;
59
+ /**
60
+ * Type of the promotional code.
61
+ */
62
+ type: 'credit' | 'discount';
63
+ /**
64
+ * Timestamp when the credit becomes active. ISO 8601 date string in the UTC timezone.
65
+ */
66
+ date_start: string;
67
+ /**
68
+ * Timestamp when the credit expires or becomes inactive. ISO 8601 date string in the UTC timezone.
69
+ */
70
+ date_end?: string;
71
+ /**
72
+ * Promotional code used by the customer.
73
+ */
74
+ code: string;
75
+ /**
76
+ * Description of the promotional code.
77
+ */
78
+ description?: string;
79
+ /**
80
+ * Total value of the promotional code.
81
+ */
82
+ value_total: number;
83
+ /**
84
+ * Remaining value of the promotional code.
85
+ */
86
+ value_remaining?: number;
87
+ };
88
+ export type ChartCreateInput = {
89
+ /**
90
+ * Values to be used in the chart encoded as a JSON string.
91
+ */
92
+ values: string;
93
+ /**
94
+ * Desired version range or channel for the chart.
95
+ */
96
+ version_channel: string;
97
+ /**
98
+ * Unique identifier of the chart deployment aka name of the helm release.
99
+ */
100
+ name: string;
101
+ /**
102
+ * Namespace of the chart deployment
103
+ */
104
+ namespace: string;
105
+ /**
106
+ * Name of the chart listing
107
+ */
108
+ chart: string;
109
+ };
110
+ export type Chart = {
111
+ /**
112
+ * Values to be used in the chart encoded as a JSON string.
113
+ */
114
+ values: string;
115
+ /**
116
+ * Desired version range or channel for the chart.
117
+ */
118
+ version_channel: string;
119
+ /**
120
+ * Unique identifier of the chart deployment aka name of the helm release.
4
121
  */
5
122
  name: string;
6
123
  /**
7
- * Cloudfleet control plane region. One of "staging", "northamerica-central-1". This field can not be updated after creation.
124
+ * Namespace of the chart deployment
125
+ */
126
+ namespace: string;
127
+ /**
128
+ * Name of the chart listing
129
+ */
130
+ chart: string;
131
+ /**
132
+ * Status of the chart deployment.
133
+ */
134
+ status: 'InstallSucceeded' | 'InstallFailed' | 'UpgradeSucceeded' | 'UpgradeFailed' | 'TestSucceeded' | 'TestFailed' | 'RollbackSucceeded' | 'RollbackFailed' | 'UninstallSucceeded' | 'UninstallFailed' | 'ArtifactFailed' | 'DependencyNotReady' | 'Progressing' | 'SourceNotReady';
135
+ /**
136
+ * Current version of the chart deployment.
137
+ */
138
+ version_current: string;
139
+ /**
140
+ * Creation date and time of the chart deployment.
141
+ */
142
+ created_at: string;
143
+ /**
144
+ * Last update date and time of the chart deployment.
145
+ */
146
+ updated_at: string;
147
+ /**
148
+ * Indicates if the chart deployment is ready to be used.
149
+ */
150
+ ready: boolean;
151
+ };
152
+ export type ChartUpdateInput = {
153
+ /**
154
+ * Values to be used in the chart encoded as a JSON string.
155
+ */
156
+ values: string;
157
+ /**
158
+ * Desired version range or channel for the chart.
159
+ */
160
+ version_channel: string;
161
+ };
162
+ export type ClusterCreateInput = {
163
+ /**
164
+ * Name of the cluster.
8
165
  */
9
- region?: 'staging' | 'northamerica-central-1';
166
+ name: string;
10
167
  /**
11
168
  * Tier of the cluster.
12
169
  */
13
170
  tier: 'basic' | 'pro';
171
+ /**
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
+ */
174
+ region?: 'staging-1a' | 'northamerica-central-1' | 'europe-central-1a' | 'northamerica-central-1a';
14
175
  /**
15
176
  * Version of the kubernetes cluster.
16
177
  */
17
- 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';
18
179
  };
19
180
  export type ClusterJoinInformation = {
20
181
  /**
@@ -25,6 +186,10 @@ export type ClusterJoinInformation = {
25
186
  * Internal URL of the Kubernetes cluster control plane. This is the endpoint that kubelet uses to connect to the cluster.
26
187
  */
27
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;
28
193
  /**
29
194
  * Authentication key for the cluster.
30
195
  */
@@ -49,6 +214,10 @@ export type ClusterJoinInformation = {
49
214
  * Containerd version of the cluster.
50
215
  */
51
216
  containerd: string;
217
+ /**
218
+ * NVIDIA driver version of the cluster.
219
+ */
220
+ nvidia_driver: string;
52
221
  };
53
222
  /**
54
223
  * OIDC Information for hosts to access to third party API's.
@@ -73,18 +242,14 @@ export type Cluster = {
73
242
  * Name of the cluster.
74
243
  */
75
244
  name: string;
76
- /**
77
- * Cloudfleet control plane region. One of "staging", "northamerica-central-1". This field can not be updated after creation.
78
- */
79
- region?: 'staging' | 'northamerica-central-1';
80
245
  /**
81
246
  * Tier of the cluster.
82
247
  */
83
248
  tier: 'basic' | 'pro';
84
249
  /**
85
- * 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.
86
251
  */
87
- version_channel?: string;
252
+ region?: 'staging-1a' | 'northamerica-central-1' | 'europe-central-1a' | 'northamerica-central-1a';
88
253
  /**
89
254
  * Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
90
255
  */
@@ -92,8 +257,9 @@ export type Cluster = {
92
257
  /**
93
258
  * Status of the cluster. When creating a new cluster, set to `active`. When deleting a clusters, set to `deleted`.
94
259
  */
95
- status: 'active' | 'deleted' | 'creating' | 'deployed' | 'failed' | 'updating';
260
+ status: 'active' | 'disabled' | 'deleted' | 'creating' | 'deployed' | 'failed' | 'updating';
96
261
  endpoint?: string | '';
262
+ endpoint_public?: string | '';
97
263
  /**
98
264
  * Certificate authority data for the kubernetes cluster. This is the root certificate authority for the cluster.
99
265
  */
@@ -114,12 +280,20 @@ export type Cluster = {
114
280
  * Indicates if the cluster is ready to be used.
115
281
  */
116
282
  ready?: boolean;
283
+ /**
284
+ * Version of the kubernetes cluster.
285
+ */
286
+ version_channel?: string;
117
287
  };
118
288
  export type ClusterUpdateInput = {
119
289
  /**
120
290
  * Name of the cluster.
121
291
  */
122
292
  name?: string;
293
+ /**
294
+ * Tier of the cluster.
295
+ */
296
+ tier: 'basic' | 'pro';
123
297
  /**
124
298
  * Version of the kubernetes cluster.
125
299
  */
@@ -131,39 +305,60 @@ export type FleetCreateInput = {
131
305
  */
132
306
  limits?: {
133
307
  /**
134
- * CPU limit in cores.
308
+ * CPU limit in cores. Maximum 100,000.
135
309
  */
136
- cpu: number;
310
+ cpu?: number;
137
311
  };
138
312
  gcp?: {
139
- enabled?: boolean;
313
+ enabled: boolean;
140
314
  /**
141
- * Project GCP Project id to deploy instances into
315
+ * GCP project ID to deploy instances into. 6-30 chars, lowercase letters/digits/hyphens, must start with a letter and not end with a hyphen. Omit when GCP is disabled.
142
316
  */
143
- project: string;
317
+ project?: string;
144
318
  };
145
319
  hetzner?: {
146
- enabled?: boolean;
147
- apiKey?: string;
148
- } | {
320
+ enabled: boolean;
321
+ /**
322
+ * Hetzner Cloud API token with read / write access (64 alphanumeric characters). Omit this field to keep the existing value.
323
+ */
149
324
  apiKey?: string;
150
- enabled?: boolean;
151
325
  };
152
326
  aws?: {
153
- enabled?: boolean;
327
+ enabled: boolean;
154
328
  /**
155
- * ControllerRoleArn is the AWS IAM role that Karpenter uses to manage resources.
329
+ * AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.
156
330
  */
157
- controllerRoleArn: string;
331
+ controllerRoleArn?: string;
158
332
  };
159
333
  /**
160
- * Unique identifier of the kubernetes fleet.
334
+ * 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.
161
335
  */
162
- id: string;
336
+ constraints?: {
337
+ /**
338
+ * Allowed values for `karpenter.sh/capacity-type`.
339
+ */
340
+ 'karpenter.sh/capacity-type'?: Array<'on-demand' | 'spot'>;
341
+ /**
342
+ * Allowed values for `kubernetes.io/arch`.
343
+ */
344
+ 'kubernetes.io/arch'?: Array<'amd64' | 'arm64'>;
345
+ /**
346
+ * Allowed values for `cfke.io/instance-family`.
347
+ */
348
+ 'cfke.io/instance-family'?: Array<'a1' | 'a2' | 'a3' | 'a4' | 'c1' | 'c2' | 'c2d' | 'c3' | 'c3d' | 'c4' | 'c4a' | 'c4d' | 'c5' | 'c5a' | 'c5ad' | 'c5d' | 'c5n' | 'c6a' | 'c6g' | 'c6gd' | 'c6gn' | 'c6i' | 'c6id' | 'c6in' | 'c7a' | 'c7g' | 'c7gd' | 'c7gn' | 'c7i' | 'c7i-flex' | 'c8g' | 'c8gd' | 'cax' | 'ccx' | 'cpx' | 'cx' | 'd2' | 'd3' | 'd3en' | 'dl1' | 'dl2q' | 'e2' | 'f1' | 'f2' | 'g1' | 'g2' | 'g4ad' | 'g4dn' | 'g5' | 'g5g' | 'g6' | 'g6e' | 'gr6' | 'h1' | 'h3' | 'hpc6a' | 'hpc6id' | 'hpc7a' | 'hpc7g' | 'i2' | 'i3' | 'i3en' | 'i4g' | 'i4i' | 'i7i' | 'i7ie' | 'i8g' | 'im4gn' | 'inf1' | 'inf2' | 'is4gen' | 'm1' | 'm2' | 'm3' | 'm4' | 'm5' | 'm5a' | 'm5ad' | 'm5d' | 'm5dn' | 'm5n' | 'm5zn' | 'm6a' | 'm6g' | 'm6gd' | 'm6i' | 'm6id' | 'm6idn' | 'm6in' | 'm7a' | 'm7g' | 'm7gd' | 'm7i' | 'm7i-flex' | 'm8g' | 'm8gd' | 'n1' | 'n2' | 'n2d' | 'n4' | 'p3' | 'p3dn' | 'p4d' | 'p4de' | 'p5' | 'p5e' | 'p5en' | 'p6-b200' | 'r3' | 'r4' | 'r5' | 'r5a' | 'r5ad' | 'r5b' | 'r5d' | 'r5dn' | 'r5n' | 'r6a' | 'r6g' | 'r6gd' | 'r6i' | 'r6id' | 'r6idn' | 'r6in' | 'r7a' | 'r7g' | 'r7gd' | 'r7i' | 'r7iz' | 'r8g' | 'r8gd' | 't2' | 't2a' | 't2d' | 't3' | 't3a' | 't4g' | 'trn1' | 'trn1n' | 'u-3tb1' | 'u-6tb1' | 'u7i-12tb' | 'u7i-6tb' | 'u7i-8tb' | 'u7in-16tb' | 'u7in-24tb' | 'u7in-32tb' | 'vt1' | 'x1' | 'x1e' | 'x2gd' | 'x2idn' | 'x2iedn' | 'x2iezn' | 'x4' | 'x8g' | 'z1d' | 'z3'>;
349
+ /**
350
+ * Allowed values for `topology.kubernetes.io/region`.
351
+ */
352
+ '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'>;
353
+ };
163
354
  /**
164
- * Specifies the fleet type: infrastructure managed by Cloudfleet or Connected Fleets.
355
+ * Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.
165
356
  */
166
- type: 'managed' | 'connected';
357
+ scalingProfile?: 'aggressive' | 'conservative';
358
+ /**
359
+ * Unique identifier of the kubernetes fleet.
360
+ */
361
+ id: string;
167
362
  };
168
363
  export type Fleet = {
169
364
  /**
@@ -171,39 +366,60 @@ export type Fleet = {
171
366
  */
172
367
  limits?: {
173
368
  /**
174
- * CPU limit in cores.
369
+ * CPU limit in cores. Maximum 100,000.
175
370
  */
176
- cpu: number;
371
+ cpu?: number;
177
372
  };
178
373
  gcp?: {
179
- enabled?: boolean;
374
+ enabled: boolean;
180
375
  /**
181
- * Project GCP Project id to deploy instances into
376
+ * GCP project ID to deploy instances into. 6-30 chars, lowercase letters/digits/hyphens, must start with a letter and not end with a hyphen. Omit when GCP is disabled.
182
377
  */
183
- project: string;
378
+ project?: string;
184
379
  };
185
380
  hetzner?: {
186
- enabled?: boolean;
187
- apiKey?: string;
188
- } | {
381
+ enabled: boolean;
382
+ /**
383
+ * Redacted Hetzner API token. Returned as 64 asterisks when a token is configured; omitted otherwise. The real value is never echoed by the API.
384
+ */
189
385
  apiKey?: string;
190
- enabled?: boolean;
191
386
  };
192
387
  aws?: {
193
- enabled?: boolean;
388
+ enabled: boolean;
194
389
  /**
195
- * ControllerRoleArn is the AWS IAM role that Karpenter uses to manage resources.
390
+ * AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.
196
391
  */
197
- controllerRoleArn: string;
392
+ controllerRoleArn?: string;
198
393
  };
199
394
  /**
200
- * Unique identifier of the kubernetes fleet.
395
+ * 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.
201
396
  */
202
- id: string;
397
+ constraints?: {
398
+ /**
399
+ * Allowed values for `karpenter.sh/capacity-type`.
400
+ */
401
+ 'karpenter.sh/capacity-type'?: Array<'on-demand' | 'spot'>;
402
+ /**
403
+ * Allowed values for `kubernetes.io/arch`.
404
+ */
405
+ 'kubernetes.io/arch'?: Array<'amd64' | 'arm64'>;
406
+ /**
407
+ * Allowed values for `cfke.io/instance-family`.
408
+ */
409
+ 'cfke.io/instance-family'?: Array<'a1' | 'a2' | 'a3' | 'a4' | 'c1' | 'c2' | 'c2d' | 'c3' | 'c3d' | 'c4' | 'c4a' | 'c4d' | 'c5' | 'c5a' | 'c5ad' | 'c5d' | 'c5n' | 'c6a' | 'c6g' | 'c6gd' | 'c6gn' | 'c6i' | 'c6id' | 'c6in' | 'c7a' | 'c7g' | 'c7gd' | 'c7gn' | 'c7i' | 'c7i-flex' | 'c8g' | 'c8gd' | 'cax' | 'ccx' | 'cpx' | 'cx' | 'd2' | 'd3' | 'd3en' | 'dl1' | 'dl2q' | 'e2' | 'f1' | 'f2' | 'g1' | 'g2' | 'g4ad' | 'g4dn' | 'g5' | 'g5g' | 'g6' | 'g6e' | 'gr6' | 'h1' | 'h3' | 'hpc6a' | 'hpc6id' | 'hpc7a' | 'hpc7g' | 'i2' | 'i3' | 'i3en' | 'i4g' | 'i4i' | 'i7i' | 'i7ie' | 'i8g' | 'im4gn' | 'inf1' | 'inf2' | 'is4gen' | 'm1' | 'm2' | 'm3' | 'm4' | 'm5' | 'm5a' | 'm5ad' | 'm5d' | 'm5dn' | 'm5n' | 'm5zn' | 'm6a' | 'm6g' | 'm6gd' | 'm6i' | 'm6id' | 'm6idn' | 'm6in' | 'm7a' | 'm7g' | 'm7gd' | 'm7i' | 'm7i-flex' | 'm8g' | 'm8gd' | 'n1' | 'n2' | 'n2d' | 'n4' | 'p3' | 'p3dn' | 'p4d' | 'p4de' | 'p5' | 'p5e' | 'p5en' | 'p6-b200' | 'r3' | 'r4' | 'r5' | 'r5a' | 'r5ad' | 'r5b' | 'r5d' | 'r5dn' | 'r5n' | 'r6a' | 'r6g' | 'r6gd' | 'r6i' | 'r6id' | 'r6idn' | 'r6in' | 'r7a' | 'r7g' | 'r7gd' | 'r7i' | 'r7iz' | 'r8g' | 'r8gd' | 't2' | 't2a' | 't2d' | 't3' | 't3a' | 't4g' | 'trn1' | 'trn1n' | 'u-3tb1' | 'u-6tb1' | 'u7i-12tb' | 'u7i-6tb' | 'u7i-8tb' | 'u7in-16tb' | 'u7in-24tb' | 'u7in-32tb' | 'vt1' | 'x1' | 'x1e' | 'x2gd' | 'x2idn' | 'x2iedn' | 'x2iezn' | 'x4' | 'x8g' | 'z1d' | 'z3'>;
410
+ /**
411
+ * Allowed values for `topology.kubernetes.io/region`.
412
+ */
413
+ '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'>;
414
+ };
415
+ /**
416
+ * Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.
417
+ */
418
+ scalingProfile: 'aggressive' | 'conservative';
203
419
  /**
204
- * Specifies the fleet type: infrastructure managed by Cloudfleet or Connected Fleets.
420
+ * Unique identifier of the kubernetes fleet.
205
421
  */
206
- type: 'managed' | 'connected';
422
+ id: string;
207
423
  };
208
424
  export type FleetUpdateInput = {
209
425
  /**
@@ -211,752 +427,763 @@ export type FleetUpdateInput = {
211
427
  */
212
428
  limits?: {
213
429
  /**
214
- * CPU limit in cores.
430
+ * CPU limit in cores. Maximum 100,000.
215
431
  */
216
- cpu: number;
432
+ cpu?: number;
217
433
  };
218
434
  gcp?: {
219
- enabled?: boolean;
435
+ enabled: boolean;
220
436
  /**
221
- * Project GCP Project id to deploy instances into
437
+ * GCP project ID to deploy instances into. 6-30 chars, lowercase letters/digits/hyphens, must start with a letter and not end with a hyphen. Omit when GCP is disabled.
222
438
  */
223
- project: string;
439
+ project?: string;
224
440
  };
225
441
  hetzner?: {
226
- enabled?: boolean;
227
- apiKey?: string;
228
- } | {
442
+ enabled: boolean;
443
+ /**
444
+ * Hetzner Cloud API token with read / write access (64 alphanumeric characters). Omit this field to keep the existing value.
445
+ */
229
446
  apiKey?: string;
230
- enabled?: boolean;
231
447
  };
232
448
  aws?: {
233
- enabled?: boolean;
449
+ enabled: boolean;
234
450
  /**
235
- * ControllerRoleArn is the AWS IAM role that Karpenter uses to manage resources.
451
+ * AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.
236
452
  */
237
- controllerRoleArn: string;
453
+ controllerRoleArn?: string;
238
454
  };
239
- };
240
- export type InfrastructureFilter = {
241
- /**
242
- * Version of the infrastructure filter definition. Currently only version 1 is supported.
243
- */
244
- version?: 1;
245
- /**
246
- * Limit selection of cloud providers to this list. For the full list of supported providers, see [Providers](https://cloudfleet.ai/docs/cloud-infrastructure/providers/)
247
- */
248
- provider?: Array<string>;
249
- /**
250
- * Limits selection of cloud regions to this list of Cloudfleet regions. For the full list of normalized regions and their mapping to CSP regions, see [Regions](https://cloudfleet.ai/docs/cloud-infrastructure/node-regions/)
251
- */
252
- region?: Array<string>;
253
- /**
254
- * Limits selection of cloud regions to this list of Cloudfleet regions. For the full list of normalized regions and their mapping to CSP regions, see [Regions](https://cloudfleet.ai/docs/cloud-infrastructure/node-regions/)
255
- */
256
- sub_region?: Array<string>;
257
- /**
258
- * Limits selection of cloud regions to this list of canonical provider regions
259
- */
260
- csp_region?: Array<string>;
261
- /**
262
- * Limits selection of instance types to this list. Instance / VM type as defined by the cloud service provider
263
- */
264
- instance_type?: Array<string>;
265
- /**
266
- * List of Normalized accelerator model names. For example, all variations of Nvidia A100 GPUs will have 'A100' as accelerator name with various memory configurations set in accelerator_memory field
267
- */
268
- accelerator_name?: Array<string>;
269
455
  /**
270
- * List of normalized accelerator manufacturer names. For example, all Nvidia GPUs will have 'NVIDIA' as accelerator manufacturer
456
+ * 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.
271
457
  */
272
- accelerator_manufacturer?: Array<string>;
273
- /**
274
- * Minimum number of accelerators available on the instance. Some cloud providers support shared accelerators, so the number of accelerators may be a fraction of the number of physical accelerators.
275
- */
276
- accelerator_count_min?: number;
458
+ constraints?: {
459
+ /**
460
+ * Allowed values for `karpenter.sh/capacity-type`.
461
+ */
462
+ 'karpenter.sh/capacity-type'?: Array<'on-demand' | 'spot'>;
463
+ /**
464
+ * Allowed values for `kubernetes.io/arch`.
465
+ */
466
+ 'kubernetes.io/arch'?: Array<'amd64' | 'arm64'>;
467
+ /**
468
+ * Allowed values for `cfke.io/instance-family`.
469
+ */
470
+ 'cfke.io/instance-family'?: Array<'a1' | 'a2' | 'a3' | 'a4' | 'c1' | 'c2' | 'c2d' | 'c3' | 'c3d' | 'c4' | 'c4a' | 'c4d' | 'c5' | 'c5a' | 'c5ad' | 'c5d' | 'c5n' | 'c6a' | 'c6g' | 'c6gd' | 'c6gn' | 'c6i' | 'c6id' | 'c6in' | 'c7a' | 'c7g' | 'c7gd' | 'c7gn' | 'c7i' | 'c7i-flex' | 'c8g' | 'c8gd' | 'cax' | 'ccx' | 'cpx' | 'cx' | 'd2' | 'd3' | 'd3en' | 'dl1' | 'dl2q' | 'e2' | 'f1' | 'f2' | 'g1' | 'g2' | 'g4ad' | 'g4dn' | 'g5' | 'g5g' | 'g6' | 'g6e' | 'gr6' | 'h1' | 'h3' | 'hpc6a' | 'hpc6id' | 'hpc7a' | 'hpc7g' | 'i2' | 'i3' | 'i3en' | 'i4g' | 'i4i' | 'i7i' | 'i7ie' | 'i8g' | 'im4gn' | 'inf1' | 'inf2' | 'is4gen' | 'm1' | 'm2' | 'm3' | 'm4' | 'm5' | 'm5a' | 'm5ad' | 'm5d' | 'm5dn' | 'm5n' | 'm5zn' | 'm6a' | 'm6g' | 'm6gd' | 'm6i' | 'm6id' | 'm6idn' | 'm6in' | 'm7a' | 'm7g' | 'm7gd' | 'm7i' | 'm7i-flex' | 'm8g' | 'm8gd' | 'n1' | 'n2' | 'n2d' | 'n4' | 'p3' | 'p3dn' | 'p4d' | 'p4de' | 'p5' | 'p5e' | 'p5en' | 'p6-b200' | 'r3' | 'r4' | 'r5' | 'r5a' | 'r5ad' | 'r5b' | 'r5d' | 'r5dn' | 'r5n' | 'r6a' | 'r6g' | 'r6gd' | 'r6i' | 'r6id' | 'r6idn' | 'r6in' | 'r7a' | 'r7g' | 'r7gd' | 'r7i' | 'r7iz' | 'r8g' | 'r8gd' | 't2' | 't2a' | 't2d' | 't3' | 't3a' | 't4g' | 'trn1' | 'trn1n' | 'u-3tb1' | 'u-6tb1' | 'u7i-12tb' | 'u7i-6tb' | 'u7i-8tb' | 'u7in-16tb' | 'u7in-24tb' | 'u7in-32tb' | 'vt1' | 'x1' | 'x1e' | 'x2gd' | 'x2idn' | 'x2iedn' | 'x2iezn' | 'x4' | 'x8g' | 'z1d' | 'z3'>;
471
+ /**
472
+ * Allowed values for `topology.kubernetes.io/region`.
473
+ */
474
+ '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'>;
475
+ };
277
476
  /**
278
- * Maximum number of accelerators available on the instance. Some cloud providers support shared accelerators, so the number of accelerators may be a fraction of the number of physical accelerators.
477
+ * Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.
279
478
  */
280
- accelerator_count_max?: number;
479
+ scalingProfile: 'aggressive' | 'conservative';
480
+ };
481
+ export type Invite = {
281
482
  /**
282
- * Minimum amount of accelerator memory available to each accelerator. For example, Nvidia A100 GPUs will typically have '40.0' gibibytes (GiB) of memory, while A100 GPUs with HBM2E memory will have '80.0' gibibytes (GiB) of memory
483
+ * Unique identifier of the invitation.
283
484
  */
284
- accelerator_memory_min?: number;
485
+ id?: string;
285
486
  /**
286
- * Maximum amount of accelerator memory available to each accelerator. For example, Nvidia A100 GPUs will typically have '40.0' gibibytes (GiB) of memory, while A100 GPUs with HBM2E memory will have '80.0' gibibytes (GiB) of memory
487
+ * Unique identifier of the organization the project belongs to. UUID v4 string in canonical form
287
488
  */
288
- accelerator_memory_max?: number;
489
+ organization_id?: string;
289
490
  /**
290
- * Minimum amount of RAM in gibibytes (GiB)
491
+ * Creation date of the project. ISO 8601 date string in UTC timezone
291
492
  */
292
- memory_min?: number;
493
+ date_created: string;
293
494
  /**
294
- * Maximum amount of RAM in gibibytes (GiB)
495
+ * User email address.
295
496
  */
296
- memory_max?: number;
497
+ email?: string;
297
498
  /**
298
- * Minimum number of vCPUs as defined by the cloud service provider. Some cloud providers use hyperthreading, so the number of vCPUs may be twice as high as the number of physical cores.
499
+ * Generated unique invite code.
299
500
  */
300
- vcpu_min?: number;
501
+ code?: string;
502
+ };
503
+ export type Invoice = {
301
504
  /**
302
- * Maximum number of vCPUs as defined by the cloud service provider. Some cloud providers use hyperthreading, so the number of vCPUs may be twice as high as the number of physical cores.
505
+ * Unique identifier of the invoice.
303
506
  */
304
- vcpu_max?: number;
507
+ id?: string;
508
+ number?: string;
305
509
  /**
306
- * Minimum total storage in GiB (attached and local)
510
+ * Status of the invoice
307
511
  */
308
- storage_total_min?: number;
512
+ status?: string;
309
513
  /**
310
- * Maximum total storage in GiB (attached and local)
514
+ * Total amount of the invoice
311
515
  */
312
- storage_total_max?: number;
516
+ total?: number;
313
517
  /**
314
- * Minimum volume of directly attached, block-device local storage in gibibytes (GiB)
518
+ * Currency of the invoice
315
519
  */
316
- storage_local_min?: number;
520
+ currency?: string;
317
521
  /**
318
- * Maximum volume of directly attached, block-device local storage in gibibytes (GiB)
522
+ * Timestamp when the invoice was issued. ISO 8601 date string in the UTC timezone.
319
523
  */
320
- storage_local_max?: number;
524
+ created: string;
321
525
  /**
322
- * Minimum price of running the inctance per hour in USD as defined by the cloud service provider. The cheapest instance will be selected.
526
+ * Billing period start timestamp. ISO 8601 date string in the UTC timezone.
323
527
  */
324
- price_min?: number;
528
+ period_start: string;
325
529
  /**
326
- * Maximum price of running the inctance per hour in USD as defined by the cloud service provider. The cheapest instance will be selected.
530
+ * Billing period end timestamp. ISO 8601 date string in the UTC timezone.
327
531
  */
328
- price_max?: number;
532
+ period_end: string;
533
+ invoice_pdf?: string;
329
534
  };
330
- export type InfrastructureInstance = {
535
+ export type MarketplaceListingFiles = {
331
536
  /**
332
- * Cloudfleet instance SKU. Has a format of <provider>-<csp_region>-<instance_type>.
537
+ * Raw Chart.yaml content from the Helm chart
333
538
  */
334
- sku: string;
539
+ chartYaml?: string;
335
540
  /**
336
- * Normalized cloud service provider name. For the full list of supported providers, see [Providers](https://cloudfleet.ai/docs/cloud-infrastructure/providers/)
541
+ * Raw values.yaml content from the Helm chart
337
542
  */
338
- provider: string;
543
+ valuesYaml?: string;
339
544
  /**
340
- * Normalized region. For the full list of normalized regions and their mapping to CSP regions, see [Regions](https://cloudfleet.ai/docs/cloud-infrastructure/node-regions/)
545
+ * JSON schema for values.yaml as a string
341
546
  */
342
- region: string;
547
+ valuesSchemaJson?: string;
548
+ };
549
+ export type MarketplaceListing = {
343
550
  /**
344
- * Normalized sub-region. For the full list of normalized regions and their mapping to CSP regions, see [Regions](https://cloudfleet.ai/docs/cloud-infrastructure/node-regions/)
551
+ * Name of the chart
345
552
  */
346
- sub_region: string;
553
+ name: string;
347
554
  /**
348
- * Region as defined by the cloud service provider
555
+ * Available versions of the chart
349
556
  */
350
- csp_region: string;
557
+ versions: Array<string>;
351
558
  /**
352
- * Availability zone as defined by the cloud service provider
559
+ * Version channels for the chart
353
560
  */
354
- csp_zone: string;
561
+ version_channels: Array<string>;
355
562
  /**
356
- * Instance / VM type as defined by the cloud service provider
563
+ * Latest version of the chart
357
564
  */
358
- instance_type: string;
565
+ latestVersion: string;
359
566
  /**
360
- * Instance CPU architecture
567
+ * Chart metadata
361
568
  */
362
- architecture: string;
569
+ metadata?: {
570
+ /**
571
+ * Chart name from metadata
572
+ */
573
+ name: string;
574
+ /**
575
+ * Chart version from metadata
576
+ */
577
+ version: string;
578
+ /**
579
+ * Chart description
580
+ */
581
+ description?: string;
582
+ /**
583
+ * Application version
584
+ */
585
+ appVersion?: string;
586
+ /**
587
+ * Helm API version
588
+ */
589
+ apiVersion?: string;
590
+ /**
591
+ * Chart keywords
592
+ */
593
+ keywords?: Array<string>;
594
+ /**
595
+ * Chart home URL
596
+ */
597
+ home?: string;
598
+ /**
599
+ * A URL to an SVG or PNG image to be used as an icon
600
+ */
601
+ icon?: string;
602
+ /**
603
+ * Chart source URLs
604
+ */
605
+ sources?: Array<string>;
606
+ /**
607
+ * Chart maintainers
608
+ */
609
+ maintainers?: Array<{
610
+ /**
611
+ * Maintainer name
612
+ */
613
+ name: string;
614
+ /**
615
+ * Maintainer email
616
+ */
617
+ email?: string;
618
+ }>;
619
+ };
620
+ };
621
+ export type OrganizationCreateInput = {
363
622
  /**
364
- * Instance operating system
623
+ * Email address used for billing as a string.
365
624
  */
366
- os: string;
625
+ email: string;
367
626
  /**
368
- * CPU count as defined by the cloud service provider. Some cloud providers use hyperthreading, so the number of vCPUs may be twice as high as the number of physical cores.
627
+ * First name of the billing contact person.
369
628
  */
370
- vcpu: number;
629
+ first_name: string;
371
630
  /**
372
- * Total amount of RAM in gibibytes (GiB)
631
+ * Last name of the billing contact person.
373
632
  */
374
- memory: number;
633
+ last_name: string;
375
634
  /**
376
- * Volume of directly attached, block-device local storage in gibibytes (GiB)
635
+ * Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
377
636
  */
378
- local_storage: number;
637
+ company_name: string;
379
638
  /**
380
- * Normalized model name of accelerator. For example, all variations of Nvidia A100 GPUs will have 'A100' as accelerator name with various memory configurations set in accelerator_memory field
639
+ * Password for the root account. Must be at least 8 characters long and contain at least one uppercase letter, one lowercase letter, one number and one special character.
381
640
  */
382
- accelerator_name?: string;
641
+ password: string;
642
+ };
643
+ export type Organization = {
383
644
  /**
384
- * Normalized manufacturer name of accelerator. For example, all Nvidia GPUs will have 'NVIDIA' as accelerator manufacturer
645
+ * Unique identifier of the organization. UUID v4 string in canonical form
385
646
  */
386
- accelerator_manufacturer?: string;
647
+ id: string;
387
648
  /**
388
- * Number of accelerators available on the instance. Some cloud providers support shared accelerators, so the number of accelerators may be a fraction of the number of physical accelerators.
649
+ * Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
389
650
  */
390
- accelerator_count?: number;
651
+ name?: string;
391
652
  /**
392
- * Ammount of accelerator memory available to each accelerator. For example, Nvidia A100 GPUs will typically have '40.0' gibibytes (GiB) of memory, while A100 GPUs with HBM2E memory will have '80.0' gibibytes (GiB) of memory
653
+ * Creation date of the organization. ISO 8601 date string in UTC timezone
393
654
  */
394
- accelerator_memory?: number;
655
+ date_created: string;
395
656
  /**
396
- * Maximum number of pods that can be run on this instance type.
657
+ * For security reasons, platform quota is controlled by Cloudfleet and can be updated only by Cloudfleet administrators. Please open a support ticket if you need to change the platform quota.
397
658
  */
398
- pods_capacity?: number;
399
- /**
400
- * Capacity type of the instance. E.g. `on-demand`, `spot`.
401
- */
402
- capacity_type?: string;
403
- /**
404
- * Price of running the inctance per hour in USD as defined by the cloud service provider
405
- */
406
- price: number;
659
+ quota: {
660
+ /**
661
+ * Maximum number of Basic clusters that can be created.
662
+ */
663
+ basic_clusters_max: number;
664
+ /**
665
+ * Available number of Basic clusters that can be created.
666
+ */
667
+ basic_clusters_available: number;
668
+ /**
669
+ * Maximum number of Pro clusters that can be created.
670
+ */
671
+ pro_clusters_max: number;
672
+ /**
673
+ * Available number of Pro clusters that can be created.
674
+ */
675
+ pro_clusters_available: number;
676
+ /**
677
+ * Maximum number of fleets that can be created per cluster.
678
+ */
679
+ fleets_max: number;
680
+ /**
681
+ * List of Cloudfleet cluster tiers available for the organization.
682
+ */
683
+ cluster_tiers: Array<string>;
684
+ /**
685
+ * List of Cloudfleet control plane regions available for the organization.
686
+ */
687
+ regions: Array<string>;
688
+ /**
689
+ * List of CFKE control plane versions available for the organization.
690
+ */
691
+ versions: Array<{
692
+ /**
693
+ * Id of the control plane version. Used in API calls.
694
+ */
695
+ id: string;
696
+ /**
697
+ * Label of the control plane version. Used in frontent UI.
698
+ */
699
+ label: string;
700
+ }>;
701
+ /**
702
+ * Organization-level maximum CFCR storage volume in GB. -1 means no limit.
703
+ */
704
+ cfcr_storage_gb: number;
705
+ };
407
706
  /**
408
- * Whether this instance type is available.
707
+ * Status of the organization. Can be `active` or `closed`, or `suspended`.
409
708
  */
410
- available?: boolean;
709
+ status: 'active' | 'closed' | 'suspended';
411
710
  };
412
- export type Invite = {
413
- /**
414
- * Unique identifier of the invitation.
415
- */
416
- id?: string;
417
- /**
418
- * Unique identifier of the organization the project belongs to. UUID v4 string in canonical form
419
- */
420
- organization_id?: string;
421
- /**
422
- * Creation date of the project. ISO 8601 date string in UTC timezone
423
- */
424
- date_created: string;
711
+ export type PaymentMethod = {
425
712
  /**
426
- * User email address.
713
+ * Unique identifier of the organization. UUID v4 string in canonical form.
427
714
  */
428
- email?: string;
715
+ id: string;
429
716
  /**
430
- * Generated unique invite code.
717
+ * Whether organization payment method was set up and ready to use for payments.
431
718
  */
432
- code?: string;
433
- };
434
- export type Invoice = {
719
+ setup: boolean;
435
720
  /**
436
- * Unique identifier of the invoice. UUID v4 string in canonical form
721
+ * Payment method type type. Only `card` payments supported at the moment.
437
722
  */
438
- id?: string;
723
+ type: 'card';
439
724
  /**
440
- * Unique identifier of the organization. UUID v4 string in canonical form
725
+ * Last 4 digits of the payment card number.
441
726
  */
442
- organizationId?: string;
727
+ last4: string;
443
728
  /**
444
- * Status of the invoice
729
+ * Two-digit number representing the card's expiration month.
445
730
  */
446
- status?: 'DRAFT' | 'COMMITTED' | 'VOID';
731
+ exp_month: number;
447
732
  /**
448
- * Total amount of the invoice
733
+ * Four-digit number representing the card's expiration year.
449
734
  */
450
- amount?: number;
735
+ exp_year: number;
451
736
  /**
452
- * Currency of the invoice
737
+ * Payment card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `mastercard`, `unionpay`, `visa`, or `unknown`.
453
738
  */
454
- currency?: 'AED' | 'AFN' | 'ALL' | 'AMD' | 'ANG' | 'AOA' | 'ARS' | 'AUD' | 'AWG' | 'AZN' | 'BAM' | 'BBD' | 'BDT' | 'BGN' | 'BHD' | 'BIF' | 'BMD' | 'BND' | 'BOB' | 'BRL' | 'BSD' | 'BTN' | 'BWP' | 'BYR' | 'BZD' | 'CAD' | 'CDF' | 'CHF' | 'CLP' | 'CNY' | 'COP' | 'CRC' | 'CUC' | 'CUP' | 'CVE' | 'CZK' | 'DJF' | 'DKK' | 'DOP' | 'DZD' | 'EGP' | 'ERN' | 'ETB' | 'EUR' | 'FJD' | 'FKP' | 'GBP' | 'GEL' | 'GGP' | 'GHS' | 'GIP' | 'GMD' | 'GNF' | 'GTQ' | 'GYD' | 'HKD' | 'HNL' | 'HRK' | 'HTG' | 'HUF' | 'IDR' | 'ILS' | 'IMP' | 'INR' | 'IQD' | 'IRR' | 'ISK' | 'JEP' | 'JMD' | 'JOD' | 'JPY' | 'KES' | 'KGS' | 'KHR' | 'KMF' | 'KPW' | 'KRW' | 'KWD' | 'KYD' | 'KZT' | 'LAK' | 'LBP' | 'LKR' | 'LRD' | 'LSL' | 'LTL' | 'LVL' | 'LYD' | 'MAD' | 'MDL' | 'MGA' | 'MKD' | 'MMK' | 'MNT' | 'MOP' | 'MRO' | 'MUR' | 'MVR' | 'MWK' | 'MXN' | 'MYR' | 'MZN' | 'NAD' | 'NGN' | 'NIO' | 'NOK' | 'NPR' | 'NZD' | 'OMR' | 'PAB' | 'PEN' | 'PGK' | 'PHP' | 'PKR' | 'PLN' | 'PYG' | 'QAR' | 'RON' | 'RSD' | 'RUB' | 'RWF' | 'SAR' | 'SBD' | 'SCR' | 'SDG' | 'SEK' | 'SGD' | 'SHP' | 'SLL' | 'SOS' | 'SPL' | 'SRD' | 'STD' | 'SVC' | 'SYP' | 'SZL' | 'THB' | 'TJS' | 'TMT' | 'TND' | 'TOP' | 'TRY' | 'TTD' | 'TVD' | 'TWD' | 'TZS' | 'UAH' | 'UGX' | 'USD' | 'UYU' | 'UZS' | 'VEF' | 'VND' | 'VUV' | 'WST' | 'XAF' | 'XCD' | 'XDR' | 'XOF' | 'XPF' | 'YER' | 'ZAR' | 'ZMW' | 'ZWD' | 'BTC';
739
+ brand: 'amex' | 'diners' | 'discover' | 'eftpos_au' | 'jcb' | 'mastercard' | 'unionpay' | 'visa' | 'unknown';
740
+ };
741
+ export type PlatformQuota = {
455
742
  /**
456
- * Total amount of credit adjustments
743
+ * Maximum number of Basic clusters that can be created.
457
744
  */
458
- creditAdj?: number;
745
+ basic_clusters_max: number;
459
746
  /**
460
- * Total amount of refund adjustments
747
+ * Available number of Basic clusters that can be created.
461
748
  */
462
- refundAdj?: number;
749
+ basic_clusters_available: number;
463
750
  /**
464
- * Date of the invoice
751
+ * Maximum number of Pro clusters that can be created.
465
752
  */
466
- invoiceDate?: string;
753
+ pro_clusters_max: number;
467
754
  /**
468
- * Target date of the invoice
755
+ * Available number of Pro clusters that can be created.
469
756
  */
470
- targetDate?: string;
757
+ pro_clusters_available: number;
471
758
  /**
472
- * Number of the invoice
759
+ * Maximum number of fleets that can be created per cluster.
473
760
  */
474
- invoiceNumber?: string;
761
+ fleets_max: number;
475
762
  /**
476
- * Balance of the invoice
763
+ * List of Cloudfleet cluster tiers available for the organization.
477
764
  */
478
- balance?: number;
765
+ cluster_tiers: Array<string>;
479
766
  /**
480
- * Bundle keys of the invoice
767
+ * List of Cloudfleet control plane regions available for the organization.
481
768
  */
482
- bundleKeys?: string;
769
+ regions: Array<string>;
483
770
  /**
484
- * Credits of the invoice
771
+ * List of CFKE control plane versions available for the organization.
485
772
  */
486
- credits?: Array<{
487
- /**
488
- * Unique identifier of the invoice item. UUID v4 string in canonical form
489
- */
490
- id?: string;
491
- /**
492
- * Unique identifier of the linked invoice item. UUID v4 string in canonical form
493
- */
494
- linkedInvoiceItemId?: string;
495
- /**
496
- * Name of the product
497
- */
498
- productName?: string;
773
+ versions: Array<{
499
774
  /**
500
- * Name of the plan
775
+ * Id of the control plane version. Used in API calls.
501
776
  */
502
- planName?: string;
503
- /**
504
- * Name of the phase
505
- */
506
- phaseName?: string;
507
- /**
508
- * Name of the usage
509
- */
510
- usageName?: string;
511
- /**
512
- * Pretty name of the product
513
- */
514
- prettyProductName?: string;
515
- /**
516
- * Pretty name of the plan
517
- */
518
- prettyPlanName?: string;
519
- /**
520
- * Pretty name of the phase
521
- */
522
- prettyPhaseName?: string;
523
- /**
524
- * Pretty name of the usage
525
- */
526
- prettyUsageName?: string;
527
- /**
528
- * Type of the invoice item
529
- */
530
- itemType?: 'EXTERNAL_CHARGE' | 'FIXED' | 'RECURRING' | 'REPAIR_ADJ' | 'CBA_ADJ' | 'CREDIT_ADJ' | 'ITEM_ADJ' | 'USAGE' | 'TAX' | 'PARENT_SUMMARY';
531
- /**
532
- * Description of the invoice item
533
- */
534
- description?: string;
535
- /**
536
- * Start date of the invoice item
537
- */
538
- startDate?: string;
539
- /**
540
- * End date of the invoice item
541
- */
542
- endDate?: string;
543
- /**
544
- * Amount of the invoice item
545
- */
546
- amount?: number;
547
- /**
548
- * Rate of the invoice item
549
- */
550
- rate?: number;
551
- /**
552
- * Currency of the invoice item
553
- */
554
- currency?: 'AED' | 'AFN' | 'ALL' | 'AMD' | 'ANG' | 'AOA' | 'ARS' | 'AUD' | 'AWG' | 'AZN' | 'BAM' | 'BBD' | 'BDT' | 'BGN' | 'BHD' | 'BIF' | 'BMD' | 'BND' | 'BOB' | 'BRL' | 'BSD' | 'BTN' | 'BWP' | 'BYR' | 'BZD' | 'CAD' | 'CDF' | 'CHF' | 'CLP' | 'CNY' | 'COP' | 'CRC' | 'CUC' | 'CUP' | 'CVE' | 'CZK' | 'DJF' | 'DKK' | 'DOP' | 'DZD' | 'EGP' | 'ERN' | 'ETB' | 'EUR' | 'FJD' | 'FKP' | 'GBP' | 'GEL' | 'GGP' | 'GHS' | 'GIP' | 'GMD' | 'GNF' | 'GTQ' | 'GYD' | 'HKD' | 'HNL' | 'HRK' | 'HTG' | 'HUF' | 'IDR' | 'ILS' | 'IMP' | 'INR' | 'IQD' | 'IRR' | 'ISK' | 'JEP' | 'JMD' | 'JOD' | 'JPY' | 'KES' | 'KGS' | 'KHR' | 'KMF' | 'KPW' | 'KRW' | 'KWD' | 'KYD' | 'KZT' | 'LAK' | 'LBP' | 'LKR' | 'LRD' | 'LSL' | 'LTL' | 'LVL' | 'LYD' | 'MAD' | 'MDL' | 'MGA' | 'MKD' | 'MMK' | 'MNT' | 'MOP' | 'MRO' | 'MUR' | 'MVR' | 'MWK' | 'MXN' | 'MYR' | 'MZN' | 'NAD' | 'NGN' | 'NIO' | 'NOK' | 'NPR' | 'NZD' | 'OMR' | 'PAB' | 'PEN' | 'PGK' | 'PHP' | 'PKR' | 'PLN' | 'PYG' | 'QAR' | 'RON' | 'RSD' | 'RUB' | 'RWF' | 'SAR' | 'SBD' | 'SCR' | 'SDG' | 'SEK' | 'SGD' | 'SHP' | 'SLL' | 'SOS' | 'SPL' | 'SRD' | 'STD' | 'SVC' | 'SYP' | 'SZL' | 'THB' | 'TJS' | 'TMT' | 'TND' | 'TOP' | 'TRY' | 'TTD' | 'TVD' | 'TWD' | 'TZS' | 'UAH' | 'UGX' | 'USD' | 'UYU' | 'UZS' | 'VEF' | 'VND' | 'VUV' | 'WST' | 'XAF' | 'XCD' | 'XDR' | 'XOF' | 'XPF' | 'YER' | 'ZAR' | 'ZMW' | 'ZWD' | 'BTC';
555
- /**
556
- * Quantity of the invoice item
557
- */
558
- quantity?: number;
559
- /**
560
- * Details of the invoice item
561
- */
562
- itemDetails?: string;
563
- /**
564
- * Effective date of the catalog
565
- */
566
- catalogEffectiveDate?: string;
777
+ id: string;
567
778
  /**
568
- * Child items of the invoice item
779
+ * Label of the control plane version. Used in frontent UI.
569
780
  */
570
- childItems?: Array<Array<unknown> | boolean | number | {
571
- [key: string]: unknown;
572
- } | string>;
781
+ label: string;
573
782
  }>;
574
783
  /**
575
- * Items of the invoice
784
+ * Organization-level maximum CFCR storage volume in GB. -1 means no limit.
576
785
  */
577
- items?: Array<{
578
- /**
579
- * Unique identifier of the invoice item. UUID v4 string in canonical form
580
- */
581
- id?: string;
582
- /**
583
- * Unique identifier of the linked invoice item. UUID v4 string in canonical form
584
- */
585
- linkedInvoiceItemId?: string;
586
- /**
587
- * Name of the product
588
- */
589
- productName?: string;
590
- /**
591
- * Name of the plan
592
- */
593
- planName?: string;
594
- /**
595
- * Name of the phase
596
- */
597
- phaseName?: string;
598
- /**
599
- * Name of the usage
600
- */
601
- usageName?: string;
602
- /**
603
- * Pretty name of the product
604
- */
605
- prettyProductName?: string;
606
- /**
607
- * Pretty name of the plan
608
- */
609
- prettyPlanName?: string;
610
- /**
611
- * Pretty name of the phase
612
- */
613
- prettyPhaseName?: string;
614
- /**
615
- * Pretty name of the usage
616
- */
617
- prettyUsageName?: string;
618
- /**
619
- * Type of the invoice item
620
- */
621
- itemType?: 'EXTERNAL_CHARGE' | 'FIXED' | 'RECURRING' | 'REPAIR_ADJ' | 'CBA_ADJ' | 'CREDIT_ADJ' | 'ITEM_ADJ' | 'USAGE' | 'TAX' | 'PARENT_SUMMARY';
622
- /**
623
- * Description of the invoice item
624
- */
625
- description?: string;
626
- /**
627
- * Start date of the invoice item
628
- */
629
- startDate?: string;
630
- /**
631
- * End date of the invoice item
632
- */
633
- endDate?: string;
634
- /**
635
- * Amount of the invoice item
636
- */
637
- amount?: number;
638
- /**
639
- * Rate of the invoice item
640
- */
641
- rate?: number;
642
- /**
643
- * Currency of the invoice item
644
- */
645
- currency?: 'AED' | 'AFN' | 'ALL' | 'AMD' | 'ANG' | 'AOA' | 'ARS' | 'AUD' | 'AWG' | 'AZN' | 'BAM' | 'BBD' | 'BDT' | 'BGN' | 'BHD' | 'BIF' | 'BMD' | 'BND' | 'BOB' | 'BRL' | 'BSD' | 'BTN' | 'BWP' | 'BYR' | 'BZD' | 'CAD' | 'CDF' | 'CHF' | 'CLP' | 'CNY' | 'COP' | 'CRC' | 'CUC' | 'CUP' | 'CVE' | 'CZK' | 'DJF' | 'DKK' | 'DOP' | 'DZD' | 'EGP' | 'ERN' | 'ETB' | 'EUR' | 'FJD' | 'FKP' | 'GBP' | 'GEL' | 'GGP' | 'GHS' | 'GIP' | 'GMD' | 'GNF' | 'GTQ' | 'GYD' | 'HKD' | 'HNL' | 'HRK' | 'HTG' | 'HUF' | 'IDR' | 'ILS' | 'IMP' | 'INR' | 'IQD' | 'IRR' | 'ISK' | 'JEP' | 'JMD' | 'JOD' | 'JPY' | 'KES' | 'KGS' | 'KHR' | 'KMF' | 'KPW' | 'KRW' | 'KWD' | 'KYD' | 'KZT' | 'LAK' | 'LBP' | 'LKR' | 'LRD' | 'LSL' | 'LTL' | 'LVL' | 'LYD' | 'MAD' | 'MDL' | 'MGA' | 'MKD' | 'MMK' | 'MNT' | 'MOP' | 'MRO' | 'MUR' | 'MVR' | 'MWK' | 'MXN' | 'MYR' | 'MZN' | 'NAD' | 'NGN' | 'NIO' | 'NOK' | 'NPR' | 'NZD' | 'OMR' | 'PAB' | 'PEN' | 'PGK' | 'PHP' | 'PKR' | 'PLN' | 'PYG' | 'QAR' | 'RON' | 'RSD' | 'RUB' | 'RWF' | 'SAR' | 'SBD' | 'SCR' | 'SDG' | 'SEK' | 'SGD' | 'SHP' | 'SLL' | 'SOS' | 'SPL' | 'SRD' | 'STD' | 'SVC' | 'SYP' | 'SZL' | 'THB' | 'TJS' | 'TMT' | 'TND' | 'TOP' | 'TRY' | 'TTD' | 'TVD' | 'TWD' | 'TZS' | 'UAH' | 'UGX' | 'USD' | 'UYU' | 'UZS' | 'VEF' | 'VND' | 'VUV' | 'WST' | 'XAF' | 'XCD' | 'XDR' | 'XOF' | 'XPF' | 'YER' | 'ZAR' | 'ZMW' | 'ZWD' | 'BTC';
646
- /**
647
- * Quantity of the invoice item
648
- */
649
- quantity?: number;
650
- /**
651
- * Details of the invoice item
652
- */
653
- itemDetails?: string;
654
- /**
655
- * Effective date of the catalog
656
- */
657
- catalogEffectiveDate?: string;
658
- /**
659
- * Child items of the invoice item
660
- */
661
- childItems?: Array<Array<unknown> | boolean | number | {
662
- [key: string]: unknown;
663
- } | string>;
664
- }>;
786
+ cfcr_storage_gb: number;
665
787
  };
666
- export type OrganizationContactInfo = {
788
+ export type RegistryRepository = {
667
789
  /**
668
- * Street address, P.O. box, c/o
790
+ * Repository name.
669
791
  */
670
- address1?: string;
792
+ name: string;
671
793
  /**
672
- * Apartment, suite, unit, building, floor, etc.
794
+ * Registry region.
673
795
  */
674
- address2?: string;
796
+ region: string;
675
797
  /**
676
- * Postal code as a string.
798
+ * Full URI of the repository.
677
799
  */
678
- postalCode?: string;
800
+ uri: string;
801
+ };
802
+ export type RegistryRepositoryWithTags = {
679
803
  /**
680
- * City or town name.
804
+ * Repository name.
681
805
  */
682
- city?: string;
806
+ name: string;
683
807
  /**
684
- * State, province, or region name.
808
+ * Registry region.
685
809
  */
686
- state?: string;
810
+ region: string;
687
811
  /**
688
- * Country as a ISO 3166-1 alpha-2 country code.
812
+ * Full URI of the repository.
689
813
  */
690
- country?: string;
814
+ uri: string;
691
815
  /**
692
- * Phone number as a string.
816
+ * Array of tags in the repository.
693
817
  */
694
- phone?: string;
818
+ tags: Array<{
819
+ /**
820
+ * Tag name.
821
+ */
822
+ name: string;
823
+ /**
824
+ * Size of the tag in bytes.
825
+ */
826
+ size: number;
827
+ /**
828
+ * Media type of the manifest.
829
+ */
830
+ mediaType?: string;
831
+ /**
832
+ * Array of platform strings for multi-arch images (e.g., linux/amd64, linux/arm64).
833
+ */
834
+ platforms?: Array<string>;
835
+ }>;
695
836
  /**
696
- * Email address used for billing as a string.
837
+ * Total size of all tags in the repository in bytes.
697
838
  */
698
- email: string;
839
+ totalSize: number;
840
+ };
841
+ export type RegistryTag = {
699
842
  /**
700
- * First name of the billing contact person.
843
+ * Tag name.
701
844
  */
702
- first_name: string;
845
+ name: string;
703
846
  /**
704
- * Last name of the billing contact person.
847
+ * Manifest digest for pulling by digest.
705
848
  */
706
- last_name: string;
707
- };
708
- export type OrganizationCreateInput = {
849
+ digest: string;
709
850
  /**
710
- * Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
851
+ * Media type of the manifest.
711
852
  */
712
- name: string;
853
+ mediaType?: string;
713
854
  /**
714
- * Organization contact information and billing address.
855
+ * Manifest config metadata.
715
856
  */
716
- contactInfo: {
717
- /**
718
- * Street address, P.O. box, c/o
719
- */
720
- address1?: string;
721
- /**
722
- * Apartment, suite, unit, building, floor, etc.
723
- */
724
- address2?: string;
725
- /**
726
- * Postal code as a string.
727
- */
728
- postalCode?: string;
857
+ config?: {
729
858
  /**
730
- * City or town name.
859
+ * Size of the config in bytes.
731
860
  */
732
- city?: string;
861
+ size: number;
862
+ };
863
+ /**
864
+ * Array of layer metadata.
865
+ */
866
+ layers?: Array<{
733
867
  /**
734
- * State, province, or region name.
868
+ * Digest of the layer.
735
869
  */
736
- state?: string;
870
+ digest?: string;
737
871
  /**
738
- * Country as a ISO 3166-1 alpha-2 country code.
872
+ * Size of the layer in bytes.
739
873
  */
740
- country?: string;
874
+ size: number;
875
+ }>;
876
+ /**
877
+ * Array of manifests for multi-arch images.
878
+ */
879
+ manifests?: Array<{
741
880
  /**
742
- * Phone number as a string.
881
+ * Digest of the manifest.
743
882
  */
744
- phone?: string;
883
+ digest: string;
745
884
  /**
746
- * Email address used for billing as a string.
885
+ * Platform information for the manifest.
747
886
  */
748
- email: string;
887
+ platform?: {
888
+ /**
889
+ * Architecture of the platform.
890
+ */
891
+ architecture: string;
892
+ /**
893
+ * Operating system of the platform.
894
+ */
895
+ os: string;
896
+ /**
897
+ * Variant of the platform (e.g., v7, v8 for ARM).
898
+ */
899
+ variant?: string;
900
+ };
749
901
  /**
750
- * First name of the billing contact person.
902
+ * Layers for this platform.
751
903
  */
752
- first_name: string;
904
+ layers?: Array<{
905
+ /**
906
+ * Digest of the layer.
907
+ */
908
+ digest?: string;
909
+ /**
910
+ * Size of the layer in bytes.
911
+ */
912
+ size: number;
913
+ }>;
753
914
  /**
754
- * Last name of the billing contact person.
915
+ * Total size of this platform manifest in bytes.
755
916
  */
756
- last_name: string;
757
- };
917
+ size?: number;
918
+ }>;
758
919
  /**
759
- * Password for the root account. Must be at least 8 characters long and contain at least one uppercase letter, one lowercase letter, one number and one special character.
920
+ * Total size of the tag in bytes.
760
921
  */
761
- password: string;
922
+ size: number;
923
+ /**
924
+ * Registry region.
925
+ */
926
+ region: string;
927
+ /**
928
+ * Repository name.
929
+ */
930
+ repository: string;
931
+ /**
932
+ * Full URI of the tag.
933
+ */
934
+ uri: string;
762
935
  };
763
- export type Organization = {
936
+ export type TicketAttachment = {
764
937
  /**
765
- * Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
938
+ * Unique identifier of the attachment (Mongo ObjectId).
766
939
  */
767
- name: string;
940
+ id: string;
768
941
  /**
769
- * Organization contact information and billing address.
942
+ * Original filename as uploaded.
770
943
  */
771
- contactInfo: {
772
- /**
773
- * Street address, P.O. box, c/o
774
- */
775
- address1?: string;
776
- /**
777
- * Apartment, suite, unit, building, floor, etc.
778
- */
779
- address2?: string;
780
- /**
781
- * Postal code as a string.
782
- */
783
- postalCode?: string;
784
- /**
785
- * City or town name.
786
- */
787
- city?: string;
788
- /**
789
- * State, province, or region name.
790
- */
791
- state?: string;
792
- /**
793
- * Country as a ISO 3166-1 alpha-2 country code.
794
- */
795
- country?: string;
796
- /**
797
- * Phone number as a string.
798
- */
799
- phone?: string;
800
- /**
801
- * Email address used for billing as a string.
802
- */
803
- email: string;
804
- /**
805
- * First name of the billing contact person.
806
- */
807
- first_name: string;
808
- /**
809
- * Last name of the billing contact person.
810
- */
811
- last_name: string;
812
- };
944
+ filename: string;
945
+ /**
946
+ * MIME content type of the attachment.
947
+ */
948
+ content_type: string;
949
+ /**
950
+ * Size of the attachment in bytes.
951
+ */
952
+ size: number;
953
+ };
954
+ export type TicketCreateInput = {
813
955
  /**
814
- * Unique identifier of the organization. UUID v4 string in canonical form
956
+ * Ticket category. Drives auto-assignment and may carry a subcategory in `properties`.
815
957
  */
816
- id: string;
958
+ category: 'billing' | 'technical' | 'general';
817
959
  /**
818
- * Creation date of the organization. ISO 8601 date string in UTC timezone
960
+ * Initial message body in markdown. There is no separate subject the first message body is the description.
819
961
  */
820
- date_created: string;
962
+ body: string;
821
963
  /**
822
- * For security reasons, platform quota is controlled by Cloudfleet and can be updated only by Cloudfleet administrators. Please open a support ticket if you need to change the platform quota.
964
+ * Free-form key/value bag set by the UI (e.g. `subcategory`, `cluster_id`, `cluster_name`, `region`).
823
965
  */
824
- quota: {
825
- /**
826
- * Maximum number of Basic clusters that can be created.
827
- */
828
- basic_clusters_max: number;
966
+ properties?: {
967
+ [key: string]: unknown;
968
+ };
969
+ };
970
+ export type TicketListResponse = {
971
+ /**
972
+ * Tickets for the organization, ordered newest first. Messages are omitted from list responses.
973
+ */
974
+ items: Array<{
829
975
  /**
830
- * Available number of Basic clusters that can be created.
976
+ * Unique identifier of the ticket (Mongo ObjectId).
831
977
  */
832
- basic_clusters_available: number;
978
+ id: string;
833
979
  /**
834
- * Maximum number of Pro clusters that can be created.
980
+ * Current state of the ticket.
835
981
  */
836
- pro_clusters_max: number;
982
+ status: 'waiting_on_us' | 'waiting_on_user' | 'closed';
837
983
  /**
838
- * Available number of Pro clusters that can be created.
984
+ * Ticket category.
839
985
  */
840
- pro_clusters_available: number;
986
+ category: 'billing' | 'technical' | 'general';
841
987
  /**
842
- * Maximum number of fleets that can be created per cluster.
988
+ * First 128 characters of the initial message body, with markdown formatting and newlines stripped. Used for ticket list previews.
843
989
  */
844
- fleets_max: number;
990
+ summary: string;
845
991
  /**
846
- * Maximum number of CPU cores per managed fleet.
992
+ * Closure timestamp. Null while the ticket is open.
847
993
  */
848
- managed_fleets_cpu_max: number;
994
+ closed_at?: string;
849
995
  /**
850
- * List of Cloudfleet cluster tiers available for the organization.
996
+ * Creation date of the ticket. ISO 8601 UTC.
851
997
  */
852
- cluster_tiers: Array<string>;
998
+ date_created: string;
853
999
  /**
854
- * List of Cloudfleet control plane regions available for the organization.
1000
+ * Last update date of the ticket. ISO 8601 UTC.
855
1001
  */
856
- regions: Array<string>;
1002
+ date_updated: string;
857
1003
  /**
858
- * List of CFKE control plane versions available for the organization.
1004
+ * Messages on the ticket in chronological order. Internal notes are excluded. Returned by the detail endpoint only.
859
1005
  */
860
- versions: Array<{
1006
+ messages?: Array<{
861
1007
  /**
862
- * Id of the control plane version. Used in API calls.
1008
+ * Unique identifier of the message (Mongo ObjectId).
863
1009
  */
864
1010
  id: string;
865
1011
  /**
866
- * Label of the control plane version. Used in frontent UI.
1012
+ * Message type. Internal notes are filtered out of customer-facing responses.
867
1013
  */
868
- label: string;
1014
+ type: 'customer_reply' | 'agent_reply';
1015
+ /**
1016
+ * Message body in markdown.
1017
+ */
1018
+ body: string;
1019
+ /**
1020
+ * First name of the author. Null when not provided.
1021
+ */
1022
+ author_first_name?: string;
1023
+ /**
1024
+ * Last name of the author. Null when not provided.
1025
+ */
1026
+ author_last_name?: string;
1027
+ /**
1028
+ * Attachments associated with this message.
1029
+ */
1030
+ attachments?: Array<{
1031
+ /**
1032
+ * Unique identifier of the attachment (Mongo ObjectId).
1033
+ */
1034
+ id: string;
1035
+ /**
1036
+ * Original filename as uploaded.
1037
+ */
1038
+ filename: string;
1039
+ /**
1040
+ * MIME content type of the attachment.
1041
+ */
1042
+ content_type: string;
1043
+ /**
1044
+ * Size of the attachment in bytes.
1045
+ */
1046
+ size: number;
1047
+ }>;
1048
+ /**
1049
+ * Creation date of the message. ISO 8601 UTC.
1050
+ */
1051
+ date_created: string;
869
1052
  }>;
870
- };
1053
+ }>;
1054
+ };
1055
+ export type TicketMessageInput = {
871
1056
  /**
872
- * List of pending actions that the user needs to complete. Used in Cloudfleet console to guide the user through the onboarding process.
1057
+ * Reply body in markdown.
873
1058
  */
874
- pending_actions: Array<'signup-billing-address' | 'signup-payment-method' | 'signup-invite-team' | 'signup-create-cluster'>;
1059
+ body: string;
1060
+ };
1061
+ export type TicketMessage = {
875
1062
  /**
876
- * Status of the organization. Can be `active` or `closed`, or `suspended`.
1063
+ * Unique identifier of the message (Mongo ObjectId).
877
1064
  */
878
- status: 'active' | 'closed' | 'suspended';
879
- };
880
- export type OrganizationUpdateInput = {
1065
+ id: string;
881
1066
  /**
882
- * Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
1067
+ * Message type. Internal notes are filtered out of customer-facing responses.
883
1068
  */
884
- name?: string;
1069
+ type: 'customer_reply' | 'agent_reply';
885
1070
  /**
886
- * Organization contact information and billing address.
1071
+ * Message body in markdown.
887
1072
  */
888
- contactInfo: {
889
- /**
890
- * Street address, P.O. box, c/o
891
- */
892
- address1?: string;
893
- /**
894
- * Apartment, suite, unit, building, floor, etc.
895
- */
896
- address2?: string;
897
- /**
898
- * Postal code as a string.
899
- */
900
- postalCode?: string;
901
- /**
902
- * City or town name.
903
- */
904
- city?: string;
905
- /**
906
- * State, province, or region name.
907
- */
908
- state?: string;
909
- /**
910
- * Country as a ISO 3166-1 alpha-2 country code.
911
- */
912
- country?: string;
1073
+ body: string;
1074
+ /**
1075
+ * First name of the author. Null when not provided.
1076
+ */
1077
+ author_first_name?: string;
1078
+ /**
1079
+ * Last name of the author. Null when not provided.
1080
+ */
1081
+ author_last_name?: string;
1082
+ /**
1083
+ * Attachments associated with this message.
1084
+ */
1085
+ attachments?: Array<{
913
1086
  /**
914
- * Phone number as a string.
1087
+ * Unique identifier of the attachment (Mongo ObjectId).
915
1088
  */
916
- phone?: string;
1089
+ id: string;
917
1090
  /**
918
- * Email address used for billing as a string.
1091
+ * Original filename as uploaded.
919
1092
  */
920
- email: string;
1093
+ filename: string;
921
1094
  /**
922
- * First name of the billing contact person.
1095
+ * MIME content type of the attachment.
923
1096
  */
924
- first_name: string;
1097
+ content_type: string;
925
1098
  /**
926
- * Last name of the billing contact person.
1099
+ * Size of the attachment in bytes.
927
1100
  */
928
- last_name: string;
929
- };
1101
+ size: number;
1102
+ }>;
1103
+ /**
1104
+ * Creation date of the message. ISO 8601 UTC.
1105
+ */
1106
+ date_created: string;
930
1107
  };
931
- export type PaymentMethod = {
1108
+ export type Ticket = {
932
1109
  /**
933
- * Unique identifier of the organization. UUID v4 string in canonical form.
1110
+ * Unique identifier of the ticket (Mongo ObjectId).
934
1111
  */
935
1112
  id: string;
936
1113
  /**
937
- * Whether organization payment method was set up and ready to use for payments.
1114
+ * Current state of the ticket.
938
1115
  */
939
- setup: boolean;
1116
+ status: 'waiting_on_us' | 'waiting_on_user' | 'closed';
940
1117
  /**
941
- * Payment method type type. Only `card` payments supported at the moment.
1118
+ * Ticket category.
942
1119
  */
943
- type: 'card';
1120
+ category: 'billing' | 'technical' | 'general';
944
1121
  /**
945
- * Last 4 digits of the payment card number.
1122
+ * First 128 characters of the initial message body, with markdown formatting and newlines stripped. Used for ticket list previews.
946
1123
  */
947
- last4: string;
1124
+ summary: string;
948
1125
  /**
949
- * Two-digit number representing the card's expiration month.
1126
+ * Closure timestamp. Null while the ticket is open.
950
1127
  */
951
- exp_month: number;
1128
+ closed_at?: string;
952
1129
  /**
953
- * Four-digit number representing the card's expiration year.
1130
+ * Creation date of the ticket. ISO 8601 UTC.
954
1131
  */
955
- exp_year: number;
1132
+ date_created: string;
956
1133
  /**
957
- * Payment card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `mastercard`, `unionpay`, `visa`, or `unknown`.
1134
+ * Last update date of the ticket. ISO 8601 UTC.
958
1135
  */
959
- brand: 'amex' | 'diners' | 'discover' | 'eftpos_au' | 'jcb' | 'mastercard' | 'unionpay' | 'visa' | 'unknown';
1136
+ date_updated: string;
1137
+ /**
1138
+ * Messages on the ticket in chronological order. Internal notes are excluded. Returned by the detail endpoint only.
1139
+ */
1140
+ messages?: Array<{
1141
+ /**
1142
+ * Unique identifier of the message (Mongo ObjectId).
1143
+ */
1144
+ id: string;
1145
+ /**
1146
+ * Message type. Internal notes are filtered out of customer-facing responses.
1147
+ */
1148
+ type: 'customer_reply' | 'agent_reply';
1149
+ /**
1150
+ * Message body in markdown.
1151
+ */
1152
+ body: string;
1153
+ /**
1154
+ * First name of the author. Null when not provided.
1155
+ */
1156
+ author_first_name?: string;
1157
+ /**
1158
+ * Last name of the author. Null when not provided.
1159
+ */
1160
+ author_last_name?: string;
1161
+ /**
1162
+ * Attachments associated with this message.
1163
+ */
1164
+ attachments?: Array<{
1165
+ /**
1166
+ * Unique identifier of the attachment (Mongo ObjectId).
1167
+ */
1168
+ id: string;
1169
+ /**
1170
+ * Original filename as uploaded.
1171
+ */
1172
+ filename: string;
1173
+ /**
1174
+ * MIME content type of the attachment.
1175
+ */
1176
+ content_type: string;
1177
+ /**
1178
+ * Size of the attachment in bytes.
1179
+ */
1180
+ size: number;
1181
+ }>;
1182
+ /**
1183
+ * Creation date of the message. ISO 8601 UTC.
1184
+ */
1185
+ date_created: string;
1186
+ }>;
960
1187
  };
961
1188
  export type TokenCreateInput = {
962
1189
  /**
@@ -1000,35 +1227,85 @@ export type TokenUpdateInput = {
1000
1227
  */
1001
1228
  role?: 'Administrator' | 'User';
1002
1229
  };
1003
- export type Usage = {
1230
+ export type UsageFacets = {
1004
1231
  /**
1005
- * Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
1232
+ * List of unique cluster IDs
1006
1233
  */
1007
- cluster_id: string;
1234
+ cluster_id?: Array<string>;
1235
+ /**
1236
+ * List of unique products
1237
+ */
1238
+ product?: Array<string>;
1239
+ };
1240
+ export type UsageResponse = {
1241
+ /**
1242
+ * Usage data
1243
+ */
1244
+ data: Array<{
1245
+ /**
1246
+ * Hour of the usage
1247
+ */
1248
+ hour: string;
1249
+ /**
1250
+ * Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
1251
+ */
1252
+ cluster_id: string;
1253
+ /**
1254
+ * The product the usage is associated with
1255
+ */
1256
+ product: string;
1257
+ /**
1258
+ * Consumption
1259
+ */
1260
+ value: number;
1261
+ /**
1262
+ * Price per unit
1263
+ */
1264
+ price: number;
1265
+ /**
1266
+ * Total cost
1267
+ */
1268
+ total: number;
1269
+ }>;
1270
+ /**
1271
+ * Facets for filtering
1272
+ */
1273
+ facets: {
1274
+ /**
1275
+ * List of unique cluster IDs
1276
+ */
1277
+ cluster_id?: Array<string>;
1278
+ /**
1279
+ * List of unique products
1280
+ */
1281
+ product?: Array<string>;
1282
+ };
1283
+ };
1284
+ export type Usage = {
1008
1285
  /**
1009
1286
  * Hour of the usage
1010
1287
  */
1011
- hour?: string;
1288
+ hour: string;
1012
1289
  /**
1013
- * Tier of the cluster.
1290
+ * Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
1014
1291
  */
1015
- cluster_tier: '';
1292
+ cluster_id: string;
1293
+ /**
1294
+ * The product the usage is associated with
1295
+ */
1296
+ product: string;
1016
1297
  /**
1017
- * Name of the Kubernetes node
1298
+ * Consumption
1018
1299
  */
1019
- node_name: string;
1300
+ value: number;
1020
1301
  /**
1021
- * SKU of the Kubernetes node
1302
+ * Price per unit
1022
1303
  */
1023
- sku: string;
1024
- cpu: number | '';
1025
- price: number | '';
1026
- volume: number | '';
1027
- total: number | '';
1304
+ price: number;
1028
1305
  /**
1029
- * Type of usage.
1306
+ * Total cost
1030
1307
  */
1031
- usage_type: 'managed-compute' | 'control-plane-nodes' | 'control-plane';
1308
+ total: number;
1032
1309
  };
1033
1310
  export type UserCreateInput = {
1034
1311
  /**
@@ -1048,7 +1325,7 @@ export type UserCreateInput = {
1048
1325
  */
1049
1326
  code: string;
1050
1327
  /**
1051
- * User password. Must be at least 8 characters long and contain at least one uppercase letter, one lowercase letter, one number and one special character.
1328
+ * User password. Must be at least 8 characters long.
1052
1329
  */
1053
1330
  password: string;
1054
1331
  /**
@@ -1089,16 +1366,6 @@ export type User = {
1089
1366
  * Creation date of the user. ISO 8601 date string in UTC timezone
1090
1367
  */
1091
1368
  date_created: string;
1092
- cluster_permissions?: Array<{
1093
- /**
1094
- * Unique identifier of the cluster. UUID v4 string in canonical form
1095
- */
1096
- cluster_id: string;
1097
- /**
1098
- * User permissions to access the cluster. Can be `readwrite` or `readonly`.
1099
- */
1100
- permissions: 'readwrite' | 'readonly';
1101
- }>;
1102
1369
  };
1103
1370
  export type UserUpdateInput = {
1104
1371
  /**
@@ -1114,132 +1381,271 @@ export type UserUpdateInput = {
1114
1381
  */
1115
1382
  last_name?: string;
1116
1383
  /**
1117
- * User role. Can be 'Administrator', 'User'.
1384
+ * User role. Can be 'Administrator', 'User'.
1385
+ */
1386
+ role?: 'Administrator' | 'User';
1387
+ /**
1388
+ * Status of the user. Can be `active` or `inactive`. Inactive users cannot log in or manage organization resources.
1389
+ */
1390
+ status?: 'active' | 'inactive';
1391
+ };
1392
+ export type GetUsageData = {
1393
+ body?: never;
1394
+ path?: never;
1395
+ query?: {
1396
+ /**
1397
+ * 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)
1398
+ */
1399
+ granularity?: 'hourly' | 'daily' | 'monthly';
1400
+ };
1401
+ url: '/billing/usage';
1402
+ };
1403
+ export type GetUsageErrors = {
1404
+ /**
1405
+ * Not authenticated
1406
+ */
1407
+ 401: unknown;
1408
+ };
1409
+ export type GetUsageResponses = {
1410
+ /**
1411
+ * Usage data with facets for filtering
1412
+ */
1413
+ 200: UsageResponse;
1414
+ };
1415
+ export type GetUsageResponse = GetUsageResponses[keyof GetUsageResponses];
1416
+ export type GetPaymentMethodData = {
1417
+ body?: never;
1418
+ path?: never;
1419
+ query?: never;
1420
+ url: '/billing/payment-method';
1421
+ };
1422
+ export type GetPaymentMethodErrors = {
1423
+ /**
1424
+ * Returns 404 Not Found if the organization does not have a payment method set up.
1425
+ */
1426
+ 404: unknown;
1427
+ };
1428
+ export type GetPaymentMethodResponses = {
1429
+ /**
1430
+ * Redacted payment card information.
1431
+ */
1432
+ 200: PaymentMethod;
1433
+ };
1434
+ export type GetPaymentMethodResponse = GetPaymentMethodResponses[keyof GetPaymentMethodResponses];
1435
+ export type GetPaymentMethodSecretData = {
1436
+ body?: never;
1437
+ path?: never;
1438
+ query?: never;
1439
+ url: '/billing/payment-method';
1440
+ };
1441
+ export type GetPaymentMethodSecretResponses = {
1442
+ /**
1443
+ * 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.
1444
+ *
1445
+ */
1446
+ 200: {
1447
+ /**
1448
+ * The client secret.
1449
+ */
1450
+ id?: string;
1451
+ };
1452
+ };
1453
+ export type GetPaymentMethodSecretResponse = GetPaymentMethodSecretResponses[keyof GetPaymentMethodSecretResponses];
1454
+ export type ListInvoicesData = {
1455
+ body?: never;
1456
+ path?: never;
1457
+ query?: never;
1458
+ url: '/billing/invoices';
1459
+ };
1460
+ export type ListInvoicesErrors = {
1461
+ /**
1462
+ * Not authenticated
1463
+ */
1464
+ 401: unknown;
1465
+ };
1466
+ export type ListInvoicesResponses = {
1467
+ /**
1468
+ * An array of usage records.
1469
+ */
1470
+ 200: Array<Invoice>;
1471
+ };
1472
+ export type ListInvoicesResponse = ListInvoicesResponses[keyof ListInvoicesResponses];
1473
+ export type GetContactData = {
1474
+ body?: never;
1475
+ path?: never;
1476
+ query?: never;
1477
+ url: '/billing/contact';
1478
+ };
1479
+ export type GetContactResponses = {
1480
+ /**
1481
+ * Returns a single object containing organization contact and billing address details.
1118
1482
  */
1119
- role?: 'Administrator' | 'User';
1483
+ 200: BillingContact;
1484
+ };
1485
+ export type GetContactResponse = GetContactResponses[keyof GetContactResponses];
1486
+ export type UpdateContactData = {
1487
+ body: BillingContact;
1488
+ path?: never;
1489
+ query?: never;
1490
+ url: '/billing/contact';
1491
+ };
1492
+ export type UpdateContactResponses = {
1120
1493
  /**
1121
- * Status of the user. Can be `active` or `inactive`. Inactive users cannot log in or manage organization resources.
1494
+ * Successfully updated. Returns updated organization details.
1122
1495
  */
1123
- status?: 'active' | 'inactive';
1496
+ 200: BillingContact;
1124
1497
  };
1125
- export type GetUsageData = {
1498
+ export type UpdateContactResponse = UpdateContactResponses[keyof UpdateContactResponses];
1499
+ export type GetCreditsData = {
1126
1500
  body?: never;
1127
1501
  path?: never;
1128
1502
  query?: never;
1129
- url: '/billing/usage';
1503
+ url: '/billing/credits';
1130
1504
  };
1131
- export type GetUsageErrors = {
1505
+ export type GetCreditsErrors = {
1132
1506
  /**
1133
1507
  * Not authenticated
1134
1508
  */
1135
1509
  401: unknown;
1136
1510
  };
1137
- export type GetUsageResponses = {
1511
+ export type GetCreditsResponses = {
1138
1512
  /**
1139
- * An array of usage records.
1513
+ * An array of the applied promotional credits records.
1140
1514
  */
1141
- 200: Array<Usage>;
1515
+ 200: Array<BillingCredits>;
1142
1516
  };
1143
- export type GetUsageResponse = GetUsageResponses[keyof GetUsageResponses];
1144
- export type GetBalanceData = {
1145
- body?: never;
1517
+ export type GetCreditsResponse = GetCreditsResponses[keyof GetCreditsResponses];
1518
+ export type RedeemCreditsData = {
1519
+ body: {
1520
+ /**
1521
+ * Promotional code to redeem
1522
+ */
1523
+ code?: string;
1524
+ };
1146
1525
  path?: never;
1147
1526
  query?: never;
1148
- url: '/billing/balance';
1527
+ url: '/billing/credits';
1149
1528
  };
1150
- export type GetBalanceResponses = {
1529
+ export type RedeemCreditsErrors = {
1151
1530
  /**
1152
- * Current balance of the organization in USD as a floating-point number.
1531
+ * Not authenticated
1153
1532
  */
1154
- 200: number;
1533
+ 401: unknown;
1155
1534
  };
1156
- export type GetBalanceResponse = GetBalanceResponses[keyof GetBalanceResponses];
1157
- export type GetPaymentMethodData = {
1535
+ export type RedeemCreditsResponses = {
1536
+ /**
1537
+ * Successfully created a new organization.
1538
+ */
1539
+ 200: unknown;
1540
+ };
1541
+ export type ListChartsData = {
1158
1542
  body?: never;
1159
- path?: never;
1543
+ path: {
1544
+ /**
1545
+ * Unique identifier of the cluster. UUID v4 string in canonical form
1546
+ */
1547
+ cluster_id: string;
1548
+ };
1160
1549
  query?: never;
1161
- url: '/billing/payment-method';
1550
+ url: '/clusters/{cluster_id}/charts';
1162
1551
  };
1163
- export type GetPaymentMethodErrors = {
1552
+ export type ListChartsErrors = {
1164
1553
  /**
1165
- * Returns 404 Not Found if the organization does not have a payment method set up.
1554
+ * Not authenticated
1166
1555
  */
1167
- 404: unknown;
1556
+ 401: unknown;
1168
1557
  };
1169
- export type GetPaymentMethodResponses = {
1558
+ export type ListChartsResponses = {
1170
1559
  /**
1171
- * Redacted payment card information.
1560
+ * An array of charts
1172
1561
  */
1173
- 200: PaymentMethod;
1562
+ 200: Array<Chart>;
1174
1563
  };
1175
- export type GetPaymentMethodResponse = GetPaymentMethodResponses[keyof GetPaymentMethodResponses];
1176
- export type GetPaymentMethodSecretData = {
1177
- body?: never;
1178
- path?: never;
1564
+ export type ListChartsResponse = ListChartsResponses[keyof ListChartsResponses];
1565
+ export type CreateChartData = {
1566
+ body: ChartCreateInput;
1567
+ path: {
1568
+ /**
1569
+ * Unique identifier of the cluster. UUID v4 string in canonical form
1570
+ */
1571
+ cluster_id: string;
1572
+ };
1179
1573
  query?: never;
1180
- url: '/billing/payment-method';
1574
+ url: '/clusters/{cluster_id}/charts';
1181
1575
  };
1182
- export type GetPaymentMethodSecretResponses = {
1576
+ export type CreateChartResponses = {
1183
1577
  /**
1184
- * 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.
1185
- *
1578
+ * Successfully created. Returns created Chart ID.
1186
1579
  */
1187
- 200: {
1188
- /**
1189
- * The client secret.
1190
- */
1191
- id?: string;
1192
- };
1580
+ 200: string;
1193
1581
  };
1194
- export type GetPaymentMethodSecretResponse = GetPaymentMethodSecretResponses[keyof GetPaymentMethodSecretResponses];
1195
- export type ListInvoicesData = {
1582
+ export type CreateChartResponse = CreateChartResponses[keyof CreateChartResponses];
1583
+ export type DeleteChartData = {
1196
1584
  body?: never;
1197
- path?: never;
1198
- query: {
1585
+ path: {
1199
1586
  /**
1200
- * Start date for the usage. Date of oldest data point to retrieve.
1587
+ * Unique identifier of the cluster. UUID v4 string in canonical form
1201
1588
  */
1202
- start_date: string;
1589
+ cluster_id: string;
1203
1590
  /**
1204
- * End date for the usage. Date of newest data point to retrieve.
1591
+ * Chart deployment name as the unique identifier of the chart.
1205
1592
  */
1206
- end_date: string;
1593
+ chart_name: string;
1207
1594
  };
1208
- url: '/billing/invoices';
1595
+ query?: never;
1596
+ url: '/clusters/{cluster_id}/charts/{chart_name}';
1209
1597
  };
1210
- export type ListInvoicesErrors = {
1598
+ export type DeleteChartResponses = {
1211
1599
  /**
1212
- * Not authenticated
1600
+ * Successfully deleted.
1213
1601
  */
1214
- 401: unknown;
1602
+ 200: string;
1215
1603
  };
1216
- export type ListInvoicesResponses = {
1604
+ export type DeleteChartResponse = DeleteChartResponses[keyof DeleteChartResponses];
1605
+ export type GetChartData = {
1606
+ body?: never;
1607
+ path: {
1608
+ /**
1609
+ * Unique identifier of the cluster. UUID v4 string in canonical form
1610
+ */
1611
+ cluster_id: string;
1612
+ /**
1613
+ * Chart deployment name as the unique identifier of the chart.
1614
+ */
1615
+ chart_name: string;
1616
+ };
1617
+ query?: never;
1618
+ url: '/clusters/{cluster_id}/charts/{chart_name}';
1619
+ };
1620
+ export type GetChartResponses = {
1217
1621
  /**
1218
- * An array of usage records.
1622
+ * Returns a single object containing chart details.
1219
1623
  */
1220
- 200: Array<Invoice>;
1624
+ 200: Chart;
1221
1625
  };
1222
- export type ListInvoicesResponse = ListInvoicesResponses[keyof ListInvoicesResponses];
1223
- export type GetInvoiceData = {
1224
- body?: never;
1626
+ export type GetChartResponse = GetChartResponses[keyof GetChartResponses];
1627
+ export type UpdateChartData = {
1628
+ body: ChartUpdateInput;
1225
1629
  path: {
1226
1630
  /**
1227
- * Unique invoice identifier. UUID v4 string in canonical form
1631
+ * Unique identifier of the cluster. UUID v4 string in canonical form
1228
1632
  */
1229
- id: string;
1633
+ cluster_id: string;
1634
+ /**
1635
+ * Chart deployment name as the unique identifier of the chart.
1636
+ */
1637
+ chart_name: string;
1230
1638
  };
1231
1639
  query?: never;
1232
- url: '/billing/invoices/{id}';
1640
+ url: '/clusters/{cluster_id}/charts/{chart_name}';
1233
1641
  };
1234
- export type GetInvoiceResponses = {
1642
+ export type UpdateChartResponses = {
1235
1643
  /**
1236
- * Returns a single Invoice HTML representation under `html` property.
1644
+ * Successfully updated.
1237
1645
  */
1238
- 200: {
1239
- html?: string;
1240
- };
1646
+ 200: string;
1241
1647
  };
1242
- export type GetInvoiceResponse = GetInvoiceResponses[keyof GetInvoiceResponses];
1648
+ export type UpdateChartResponse = UpdateChartResponses[keyof UpdateChartResponses];
1243
1649
  export type ListFleetsData = {
1244
1650
  body?: never;
1245
1651
  path: {
@@ -1466,288 +1872,42 @@ export type UpdateClusterData = {
1466
1872
  /**
1467
1873
  * Unique identifier of the cluster. UUID v4 string in canonical form
1468
1874
  */
1469
- cluster_id: string;
1470
- };
1471
- query?: never;
1472
- url: '/clusters/{cluster_id}';
1473
- };
1474
- export type UpdateClusterResponses = {
1475
- /**
1476
- * Successfully updated. Returns updated cluster details.
1477
- */
1478
- 200: Cluster;
1479
- };
1480
- export type UpdateClusterResponse = UpdateClusterResponses[keyof UpdateClusterResponses];
1481
- export type GetJoinInformationData = {
1482
- body?: never;
1483
- path: {
1484
- /**
1485
- * Unique identifier of the cluster. UUID v4 string in canonical form
1486
- */
1487
- cluster_id: string;
1488
- };
1489
- query?: never;
1490
- url: '/clusters/{cluster_id}/join_information';
1491
- };
1492
- export type GetJoinInformationErrors = {
1493
- /**
1494
- * Not authenticated
1495
- */
1496
- 401: unknown;
1497
- };
1498
- export type GetJoinInformationResponses = {
1499
- /**
1500
- * An object of cluster join information
1501
- */
1502
- 200: Cluster;
1503
- };
1504
- export type GetJoinInformationResponse = GetJoinInformationResponses[keyof GetJoinInformationResponses];
1505
- export type GetInfrastructureData = {
1506
- body?: never;
1507
- path?: never;
1508
- query?: {
1509
- /**
1510
- * Version of the task definition. Currently only version 1 is supported.
1511
- */
1512
- version?: 1;
1513
- /**
1514
- * Limit selection of cloud providers to this list. For the full list of supported providers, see [Providers](https://cloudfleet.ai/docs/cloud-infrastructure/providers/)
1515
- */
1516
- provider?: Array<string>;
1517
- /**
1518
- * Limits selection of cloud regions to this list of Cloudfleet regions. For the full list of normalized regions and their mapping to CSP regions, see [Regions](https://cloudfleet.ai/docs/cloud-infrastructure/node-regions/)
1519
- */
1520
- region?: Array<string>;
1521
- /**
1522
- * Limits selection of cloud regions to this list of Cloudfleet regions. For the full list of normalized regions and their mapping to CSP regions, see [Regions](https://cloudfleet.ai/docs/cloud-infrastructure/node-regions/)
1523
- */
1524
- sub_region?: Array<string>;
1525
- /**
1526
- * Limits selection of cloud regions to this list of canonical provider regions
1527
- */
1528
- csp_region?: Array<string>;
1529
- /**
1530
- * Limits selection of instance types to this list. Instance / VM type as defined by the cloud service provider
1531
- */
1532
- instance_type?: Array<string>;
1533
- /**
1534
- * List of Normalized accelerator model names. For example, all variations of Nvidia A100 GPUs will have 'A100' as accelerator name with various memory configurations set in accelerator_memory field
1535
- */
1536
- accelerator_name?: Array<string>;
1537
- /**
1538
- * List of normalized accelerator manufacturer names. For example, all Nvidia GPUs will have 'NVIDIA' as accelerator manufacturer
1539
- */
1540
- accelerator_manufacturer?: Array<string>;
1541
- /**
1542
- * Minimum number of accelerators available on the instance. Some cloud providers support shared accelerators, so the number of accelerators may be a fraction of the number of physical accelerators.
1543
- */
1544
- accelerator_count_min?: number;
1545
- /**
1546
- * Maximum number of accelerators available on the instance. Some cloud providers support shared accelerators, so the number of accelerators may be a fraction of the number of physical accelerators.
1547
- */
1548
- accelerator_count_max?: number;
1549
- /**
1550
- * Minimum amount of accelerator memory available to each accelerator. For example, Nvidia A100 GPUs will typically have '40.0' gibibytes (GiB) of memory, while A100 GPUs with HBM2E memory will have '80.0' gibibytes (GiB) of memory
1551
- */
1552
- accelerator_memory_min?: number;
1553
- /**
1554
- * Maximum amount of accelerator memory available to each accelerator. For example, Nvidia A100 GPUs will typically have '40.0' gibibytes (GiB) of memory, while A100 GPUs with HBM2E memory will have '80.0' gibibytes (GiB) of memory
1555
- */
1556
- accelerator_memory_max?: number;
1557
- /**
1558
- * Minimum amount of RAM in gibibytes (GiB)
1559
- */
1560
- memory_min?: number;
1561
- /**
1562
- * Maximum amount of RAM in gibibytes (GiB)
1563
- */
1564
- memory_max?: number;
1565
- /**
1566
- * Minimum number of vCPUs as defined by the cloud service provider. Some cloud providers use hyperthreading, so the number of vCPUs may be twice as high as the number of physical cores.
1567
- */
1568
- vcpu_min?: number;
1569
- /**
1570
- * Maximum number of vCPUs as defined by the cloud service provider. Some cloud providers use hyperthreading, so the number of vCPUs may be twice as high as the number of physical cores.
1571
- */
1572
- vcpu_max?: number;
1573
- /**
1574
- * Minimum total storage in GiB (attached and local)
1575
- */
1576
- storage_total_min?: number;
1577
- /**
1578
- * Maximum total storage in GiB (attached and local)
1579
- */
1580
- storage_total_max?: number;
1581
- /**
1582
- * Minimum volume of directly attached, block-device local storage in gibibytes (GiB)
1583
- */
1584
- storage_local_min?: number;
1585
- /**
1586
- * Maximum volume of directly attached, block-device local storage in gibibytes (GiB)
1587
- */
1588
- storage_local_max?: number;
1589
- /**
1590
- * Minimum price of running the inctance per hour in USD as defined by the cloud service provider. The cheapest instance will be selected.
1591
- */
1592
- price_min?: number;
1593
- /**
1594
- * Maximum price of running the inctance per hour in USD as defined by the cloud service provider. The cheapest instance will be selected.
1595
- */
1596
- price_max?: number;
1597
- };
1598
- url: '/infrastructure';
1599
- };
1600
- export type GetInfrastructureErrors = {
1601
- /**
1602
- * Returns a validation error if any of the search parameters in the request are invalid
1603
- */
1604
- 400: Blob | File;
1605
- };
1606
- export type GetInfrastructureError = GetInfrastructureErrors[keyof GetInfrastructureErrors];
1607
- export type GetInfrastructureResponses = {
1608
- /**
1609
- * An array of instances returned by the search
1610
- */
1611
- 200: Array<InfrastructureInstance>;
1612
- };
1613
- export type GetInfrastructureResponse = GetInfrastructureResponses[keyof GetInfrastructureResponses];
1614
- export type GetFacetsData = {
1615
- body?: never;
1616
- path?: never;
1617
- query?: never;
1618
- url: '/infrastructure/facets';
1619
- };
1620
- export type GetFacetsResponses = {
1621
- /**
1622
- * Calculates search facets of the infrastructure catalog
1623
- */
1624
- 200: Array<{
1625
- /**
1626
- * Limit selection of cloud providers to this list. For the full list of supported providers, see [Providers](https://cloudfleet.ai/docs/cloud-infrastructure/providers/)
1627
- */
1628
- provider?: Array<string>;
1629
- /**
1630
- * Limits selection of cloud regions to this list of Cloudfleet regions. For the full list of normalized regions and their mapping to CSP regions, see [Regions](https://cloudfleet.ai/docs/cloud-infrastructure/node-regions/)
1631
- */
1632
- region?: Array<string>;
1633
- /**
1634
- * Limits selection of cloud sub-regions to this list of Cloudfleet sub-regions. For the full list of normalized regions and their mapping to CSP regions, see [Regions](https://cloudfleet.ai/docs/cloud-infrastructure/node-regions/)
1635
- */
1636
- sub_region?: Array<string>;
1637
- /**
1638
- * Limits selection of cloud regions to this list of canonical provider regions
1639
- */
1640
- csp_region?: Array<string>;
1641
- /**
1642
- * Minimum number of vCPUs as defined by the cloud service provider. Some cloud providers use hyperthreading, so the number of vCPUs may be twice as high as the number of physical cores.
1643
- */
1644
- vcpu_min?: number;
1645
- /**
1646
- * Maximum number of vCPUs as defined by the cloud service provider. Some cloud providers use hyperthreading, so the number of vCPUs may be twice as high as the number of physical cores.
1647
- */
1648
- vcpu_max?: number;
1649
- /**
1650
- * Minimum amount of RAM in gibibytes (GiB)
1651
- */
1652
- memory_min?: number;
1653
- /**
1654
- * Maximum amount of RAM in gibibytes (GiB)
1655
- */
1656
- memory_max?: number;
1657
- /**
1658
- * Minimum volume of directly attached, block-device local storage in gibibytes (GiB)
1659
- */
1660
- storage_local_min?: number;
1661
- /**
1662
- * Maximum volume of directly attached, block-device local storage in gibibytes (GiB)
1663
- */
1664
- storage_local_max?: number;
1665
- /**
1666
- * List of Normalized accelerator model names. For example, all variations of Nvidia A100 GPUs will have 'A100' as accelerator name with various memory configurations set in accelerator_memory field
1667
- */
1668
- accelerator_name?: Array<string>;
1669
- /**
1670
- * List of normalized accelerator manufacturer names. For example, all Nvidia GPUs will have 'NVIDIA' as accelerator manufacturer
1671
- */
1672
- accelerator_manufacturer?: Array<string>;
1673
- /**
1674
- * Minimum number of accelerators available on the instance. Some cloud providers support shared accelerators, so the number of accelerators may be a fraction of the number of physical accelerators.
1675
- */
1676
- accelerator_count_min?: number;
1677
- /**
1678
- * Maximum number of accelerators available on the instance. Some cloud providers support shared accelerators, so the number of accelerators may be a fraction of the number of physical accelerators.
1679
- */
1680
- accelerator_count_max?: number;
1681
- /**
1682
- * Minimum amount of accelerator memory available to each accelerator. For example, Nvidia A100 GPUs will typically have '40.0' gibibytes (GiB) of memory, while A100 GPUs with HBM2E memory will have '80.0' gibibytes (GiB) of memory
1683
- */
1684
- accelerator_memory_min?: number;
1685
- /**
1686
- * Maximum amount of accelerator memory available to each accelerator. For example, Nvidia A100 GPUs will typically have '40.0' gibibytes (GiB) of memory, while A100 GPUs with HBM2E memory will have '80.0' gibibytes (GiB) of memory
1687
- */
1688
- accelerator_memory_max?: number;
1689
- /**
1690
- * Minimum price of running the inctance per hour in USD as defined by the cloud service provider. The cheapest instance will be selected.
1691
- */
1692
- price_min?: number;
1693
- /**
1694
- * Maximum price of running the inctance per hour in USD as defined by the cloud service provider. The cheapest instance will be selected.
1695
- */
1696
- price_max?: number;
1697
- /**
1698
- * Structured array of regions and sub-regions
1699
- */
1700
- regions_struct?: Array<{
1701
- /**
1702
- * Limits selection of cloud regions to this list of Cloudfleet regions. For the full list of normalized regions and their mapping to CSP regions, see [Regions](https://cloudfleet.ai/docs/cloud-infrastructure/node-regions/)
1703
- */
1704
- region?: string;
1705
- sub_region?: Array<string>;
1706
- }>;
1707
- /**
1708
- * Structured array of regions and sub-regions
1709
- */
1710
- accelerators_struct?: Array<{
1711
- /**
1712
- * List of normalized accelerator manufacturer names. For example, all Nvidia GPUs will have 'NVIDIA' as accelerator manufacturer
1713
- */
1714
- accelerator_manufacturer?: string;
1715
- accelerator_name?: Array<string>;
1716
- }>;
1717
- /**
1718
- * Total number of instances in the catalog
1719
- */
1720
- count_total?: number;
1721
- /**
1722
- * Total number of instances in the catalog with at least 1 accelerator
1723
- */
1724
- count_accelerators?: number;
1725
- /**
1726
- * Total number of unique instances types in the catalog
1727
- */
1728
- count_instance_types?: number;
1729
- /**
1730
- * Total number of unique instances types in the catalog with at least 1 accelerator
1731
- */
1732
- count_accelerators_instance_types?: number;
1733
- }>;
1875
+ cluster_id: string;
1876
+ };
1877
+ query?: never;
1878
+ url: '/clusters/{cluster_id}';
1879
+ };
1880
+ export type UpdateClusterResponses = {
1881
+ /**
1882
+ * Successfully updated. Returns updated cluster details.
1883
+ */
1884
+ 200: Cluster;
1734
1885
  };
1735
- export type GetFacetsResponse = GetFacetsResponses[keyof GetFacetsResponses];
1736
- export type GetRegionsData = {
1886
+ export type UpdateClusterResponse = UpdateClusterResponses[keyof UpdateClusterResponses];
1887
+ export type GetJoinInformationData = {
1737
1888
  body?: never;
1738
- path?: never;
1889
+ path: {
1890
+ /**
1891
+ * Unique identifier of the cluster. UUID v4 string in canonical form
1892
+ */
1893
+ cluster_id: string;
1894
+ };
1739
1895
  query?: never;
1740
- url: '/infrastructure/regions';
1896
+ url: '/clusters/{cluster_id}/join_information';
1741
1897
  };
1742
- export type GetRegionsResponses = {
1898
+ export type GetJoinInformationErrors = {
1743
1899
  /**
1744
- * Available Cloudfleet regions and Kubernetes versions.
1900
+ * Not authenticated
1745
1901
  */
1746
- 200: {
1747
- [key: string]: unknown;
1748
- };
1902
+ 401: unknown;
1903
+ };
1904
+ export type GetJoinInformationResponses = {
1905
+ /**
1906
+ * An object of cluster join information
1907
+ */
1908
+ 200: ClusterJoinInformation;
1749
1909
  };
1750
- export type GetRegionsResponse = GetRegionsResponses[keyof GetRegionsResponses];
1910
+ export type GetJoinInformationResponse = GetJoinInformationResponses[keyof GetJoinInformationResponses];
1751
1911
  export type ListInvitesData = {
1752
1912
  body?: never;
1753
1913
  path?: never;
@@ -1820,6 +1980,95 @@ export type DeleteInviteResponses = {
1820
1980
  */
1821
1981
  200: unknown;
1822
1982
  };
1983
+ export type ListMarketplaceChartsData = {
1984
+ body?: never;
1985
+ path?: never;
1986
+ query?: never;
1987
+ url: '/marketplace';
1988
+ };
1989
+ export type ListMarketplaceChartsErrors = {
1990
+ /**
1991
+ * Not authenticated
1992
+ */
1993
+ 401: unknown;
1994
+ };
1995
+ export type ListMarketplaceChartsResponses = {
1996
+ /**
1997
+ * An array of chart listings in the marketplace.
1998
+ */
1999
+ 200: Array<MarketplaceListing>;
2000
+ };
2001
+ export type ListMarketplaceChartsResponse = ListMarketplaceChartsResponses[keyof ListMarketplaceChartsResponses];
2002
+ export type GetMarketplaceChartFilesData = {
2003
+ body?: never;
2004
+ path: {
2005
+ /**
2006
+ * Name of the chart in the marketplace.
2007
+ */
2008
+ chart_name: string;
2009
+ /**
2010
+ * 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).
2011
+ */
2012
+ version_channel: string;
2013
+ };
2014
+ query?: never;
2015
+ url: '/marketplace/{chart_name}/files/{version_channel}';
2016
+ };
2017
+ export type GetMarketplaceChartFilesErrors = {
2018
+ /**
2019
+ * Chart not found or no version matches the channel
2020
+ */
2021
+ 404: unknown;
2022
+ };
2023
+ export type GetMarketplaceChartFilesResponses = {
2024
+ /**
2025
+ * Returns an object containing the chart files for the latest matching version.
2026
+ */
2027
+ 200: MarketplaceListingFiles;
2028
+ };
2029
+ export type GetMarketplaceChartFilesResponse = GetMarketplaceChartFilesResponses[keyof GetMarketplaceChartFilesResponses];
2030
+ export type PostMcpData = {
2031
+ /**
2032
+ * JSON-RPC 2.0 request payload
2033
+ */
2034
+ body: {
2035
+ jsonrpc?: string;
2036
+ method?: string;
2037
+ id?: string | number;
2038
+ /**
2039
+ * Method-specific parameters
2040
+ */
2041
+ params?: {
2042
+ [key: string]: unknown;
2043
+ };
2044
+ };
2045
+ path?: never;
2046
+ query?: never;
2047
+ url: '/mcp';
2048
+ };
2049
+ export type PostMcpErrors = {
2050
+ /**
2051
+ * Not authenticated
2052
+ */
2053
+ 401: unknown;
2054
+ };
2055
+ export type PostMcpResponses = {
2056
+ /**
2057
+ * JSON-RPC 2.0 success or error response
2058
+ */
2059
+ 200: {
2060
+ jsonrpc?: string;
2061
+ id?: string | number;
2062
+ result?: {
2063
+ [key: string]: unknown;
2064
+ };
2065
+ error?: {
2066
+ code?: number;
2067
+ message?: string;
2068
+ };
2069
+ };
2070
+ };
2071
+ export type PostMcpResponse = PostMcpResponses[keyof PostMcpResponses];
1823
2072
  export type GetOrganizationData = {
1824
2073
  body?: never;
1825
2074
  path?: never;
@@ -1841,24 +2090,253 @@ export type CreateOrganizationData = {
1841
2090
  };
1842
2091
  export type CreateOrganizationResponses = {
1843
2092
  /**
1844
- * Successfully created a new organization. Returns organization details.
2093
+ * Successfully created a new organization.
1845
2094
  */
1846
- 200: Organization;
2095
+ 200: unknown;
1847
2096
  };
1848
- export type CreateOrganizationResponse = CreateOrganizationResponses[keyof CreateOrganizationResponses];
1849
- export type UpdateOrganizationData = {
1850
- body: OrganizationUpdateInput;
2097
+ export type ListRepositoriesData = {
2098
+ body?: never;
1851
2099
  path?: never;
1852
2100
  query?: never;
1853
- url: '/organization';
2101
+ url: '/registry';
1854
2102
  };
1855
- export type UpdateOrganizationResponses = {
2103
+ export type ListRepositoriesErrors = {
1856
2104
  /**
1857
- * Successfully updated. Returns updated organization details.
2105
+ * Not authenticated
1858
2106
  */
1859
- 200: Organization;
2107
+ 401: unknown;
2108
+ /**
2109
+ * Internal server error
2110
+ */
2111
+ 500: unknown;
2112
+ };
2113
+ export type ListRepositoriesResponses = {
2114
+ /**
2115
+ * List of repositories
2116
+ */
2117
+ 200: Array<RegistryRepository>;
2118
+ };
2119
+ export type ListRepositoriesResponse = ListRepositoriesResponses[keyof ListRepositoriesResponses];
2120
+ export type ListTagsData = {
2121
+ body?: never;
2122
+ path: {
2123
+ /**
2124
+ * Region where the repository is located
2125
+ */
2126
+ region: string;
2127
+ /**
2128
+ * Name of the repository
2129
+ */
2130
+ repository: string;
2131
+ };
2132
+ query?: never;
2133
+ url: '/registry/{region}/{repository}';
2134
+ };
2135
+ export type ListTagsErrors = {
2136
+ /**
2137
+ * Not authenticated
2138
+ */
2139
+ 401: unknown;
2140
+ /**
2141
+ * Repository not found
2142
+ */
2143
+ 404: unknown;
2144
+ /**
2145
+ * Internal server error
2146
+ */
2147
+ 500: unknown;
2148
+ };
2149
+ export type ListTagsResponses = {
2150
+ /**
2151
+ * Repository with tags
2152
+ */
2153
+ 200: RegistryRepositoryWithTags;
2154
+ };
2155
+ export type ListTagsResponse = ListTagsResponses[keyof ListTagsResponses];
2156
+ export type DeleteTagData = {
2157
+ body?: never;
2158
+ path: {
2159
+ /**
2160
+ * Region where the repository is located
2161
+ */
2162
+ region: string;
2163
+ /**
2164
+ * Name of the repository
2165
+ */
2166
+ repository: string;
2167
+ /**
2168
+ * Name of the tag
2169
+ */
2170
+ tag: string;
2171
+ };
2172
+ query?: never;
2173
+ url: '/registry/{region}/{repository}/{tag}';
2174
+ };
2175
+ export type DeleteTagErrors = {
2176
+ /**
2177
+ * Not authenticated
2178
+ */
2179
+ 401: unknown;
2180
+ /**
2181
+ * Tag not found
2182
+ */
2183
+ 404: unknown;
2184
+ /**
2185
+ * Internal server error
2186
+ */
2187
+ 500: unknown;
2188
+ };
2189
+ export type DeleteTagResponses = {
2190
+ /**
2191
+ * Tag successfully deleted
2192
+ */
2193
+ 200: unknown;
2194
+ };
2195
+ export type GetTagData = {
2196
+ body?: never;
2197
+ path: {
2198
+ /**
2199
+ * Region where the repository is located
2200
+ */
2201
+ region: string;
2202
+ /**
2203
+ * Name of the repository
2204
+ */
2205
+ repository: string;
2206
+ /**
2207
+ * Name of the tag
2208
+ */
2209
+ tag: string;
2210
+ };
2211
+ query?: never;
2212
+ url: '/registry/{region}/{repository}/{tag}';
2213
+ };
2214
+ export type GetTagErrors = {
2215
+ /**
2216
+ * Not authenticated
2217
+ */
2218
+ 401: unknown;
2219
+ /**
2220
+ * Tag not found
2221
+ */
2222
+ 404: unknown;
2223
+ /**
2224
+ * Internal server error
2225
+ */
2226
+ 500: unknown;
2227
+ };
2228
+ export type GetTagResponses = {
2229
+ /**
2230
+ * Tag details
2231
+ */
2232
+ 200: RegistryTag;
2233
+ };
2234
+ export type GetTagResponse = GetTagResponses[keyof GetTagResponses];
2235
+ export type ListTicketsData = {
2236
+ body?: never;
2237
+ path?: never;
2238
+ query?: never;
2239
+ url: '/tickets';
2240
+ };
2241
+ export type ListTicketsResponses = {
2242
+ /**
2243
+ * Tickets for the organization.
2244
+ */
2245
+ 200: TicketListResponse;
2246
+ };
2247
+ export type ListTicketsResponse = ListTicketsResponses[keyof ListTicketsResponses];
2248
+ export type CreateTicketData = {
2249
+ body: {
2250
+ /**
2251
+ * JSON-encoded TicketCreateInput.
2252
+ */
2253
+ payload?: string;
2254
+ attachments?: Array<Blob | File>;
2255
+ };
2256
+ path?: never;
2257
+ query?: never;
2258
+ url: '/tickets';
2259
+ };
2260
+ export type CreateTicketResponses = {
2261
+ /**
2262
+ * Ticket created.
2263
+ */
2264
+ 200: Ticket;
2265
+ };
2266
+ export type CreateTicketResponse = CreateTicketResponses[keyof CreateTicketResponses];
2267
+ export type CloseTicketData = {
2268
+ body?: never;
2269
+ path: {
2270
+ ticket_id: string;
2271
+ };
2272
+ query?: never;
2273
+ url: '/tickets/{ticket_id}';
2274
+ };
2275
+ export type CloseTicketResponses = {
2276
+ /**
2277
+ * Ticket closed.
2278
+ */
2279
+ 200: Ticket;
2280
+ };
2281
+ export type CloseTicketResponse = CloseTicketResponses[keyof CloseTicketResponses];
2282
+ export type GetTicketData = {
2283
+ body?: never;
2284
+ path: {
2285
+ ticket_id: string;
2286
+ };
2287
+ query?: never;
2288
+ url: '/tickets/{ticket_id}';
2289
+ };
2290
+ export type GetTicketResponses = {
2291
+ /**
2292
+ * Ticket with messages (internal notes excluded).
2293
+ */
2294
+ 200: Ticket;
2295
+ };
2296
+ export type GetTicketResponse = GetTicketResponses[keyof GetTicketResponses];
2297
+ export type ReplyTicketData = {
2298
+ body: {
2299
+ /**
2300
+ * JSON-encoded TicketMessageInput.
2301
+ */
2302
+ payload?: string;
2303
+ attachments?: Array<Blob | File>;
2304
+ };
2305
+ path: {
2306
+ ticket_id: string;
2307
+ };
2308
+ query?: never;
2309
+ url: '/tickets/{ticket_id}/messages';
2310
+ };
2311
+ export type ReplyTicketErrors = {
2312
+ /**
2313
+ * Ticket is closed. Open a new ticket instead.
2314
+ */
2315
+ 409: unknown;
2316
+ };
2317
+ export type ReplyTicketResponses = {
2318
+ /**
2319
+ * Reply appended.
2320
+ */
2321
+ 200: TicketMessage;
2322
+ };
2323
+ export type ReplyTicketResponse = ReplyTicketResponses[keyof ReplyTicketResponses];
2324
+ export type GetTicketAttachmentData = {
2325
+ body?: never;
2326
+ path: {
2327
+ ticket_id: string;
2328
+ attachment_id: string;
2329
+ };
2330
+ query?: never;
2331
+ url: '/tickets/{ticket_id}/attachments/{attachment_id}';
2332
+ };
2333
+ export type GetTicketAttachmentResponses = {
2334
+ /**
2335
+ * Attachment binary stream.
2336
+ */
2337
+ 200: Blob | File;
1860
2338
  };
1861
- export type UpdateOrganizationResponse = UpdateOrganizationResponses[keyof UpdateOrganizationResponses];
2339
+ export type GetTicketAttachmentResponse = GetTicketAttachmentResponses[keyof GetTicketAttachmentResponses];
1862
2340
  export type ListTokensData = {
1863
2341
  body?: never;
1864
2342
  path?: never;
@@ -2115,53 +2593,4 @@ export type UpdateUserResponses = {
2115
2593
  200: User;
2116
2594
  };
2117
2595
  export type UpdateUserResponse = UpdateUserResponses[keyof UpdateUserResponses];
2118
- export type DeleteClusterPermissionsData = {
2119
- body?: never;
2120
- path: {
2121
- /**
2122
- * Unique user identifier. UUID v4 string in canonical form
2123
- */
2124
- user_id: string;
2125
- /**
2126
- * Unique cluster identifier. UUID v4 string in canonical form
2127
- */
2128
- cluster_id: string;
2129
- };
2130
- query?: never;
2131
- url: '/users/{user_id}/clusters/{cluster_id}';
2132
- };
2133
- export type DeleteClusterPermissionsResponses = {
2134
- /**
2135
- * Successfully removed user from the cluster. Returns updated user details.
2136
- */
2137
- 200: User;
2138
- };
2139
- export type DeleteClusterPermissionsResponse = DeleteClusterPermissionsResponses[keyof DeleteClusterPermissionsResponses];
2140
- export type SetClusterPermissionsData = {
2141
- body: {
2142
- /**
2143
- * Level of permissions for the user to access the cluster
2144
- */
2145
- permissions?: 'readwrite' | 'readonly';
2146
- };
2147
- path: {
2148
- /**
2149
- * Unique user identifier. UUID v4 string in canonical form
2150
- */
2151
- user_id: string;
2152
- /**
2153
- * Unique cluster identifier. UUID v4 string in canonical form
2154
- */
2155
- cluster_id: string;
2156
- };
2157
- query?: never;
2158
- url: '/users/{user_id}/clusters/{cluster_id}';
2159
- };
2160
- export type SetClusterPermissionsResponses = {
2161
- /**
2162
- * Successfully created. Returns created user details.
2163
- */
2164
- 200: User;
2165
- };
2166
- export type SetClusterPermissionsResponse = SetClusterPermissionsResponses[keyof SetClusterPermissionsResponses];
2167
2596
  //# sourceMappingURL=types.gen.d.ts.map