@cloudfleet/sdk 0.0.1-61c9a45 → 0.0.1-6244af0

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 +1591 -1087
  62. package/dist/schemas.gen.d.ts.map +1 -1
  63. package/dist/schemas.gen.js +2832 -1130
  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 +1420 -985
  82. package/dist/types.gen.d.ts.map +1 -1
  83. package/dist/zod.gen.d.ts +3693 -2854
  84. package/dist/zod.gen.d.ts.map +1 -1
  85. package/dist/zod.gen.js +1533 -876
  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
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
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
+ */
147
324
  apiKey?: string;
148
- } | {
149
- apiKey?: string;
150
- enabled?: boolean;
151
325
  };
152
326
  aws?: {
153
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
+ };
354
+ /**
355
+ * Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.
356
+ */
357
+ scalingProfile?: 'aggressive' | 'conservative';
163
358
  /**
164
- * Specifies the fleet type: infrastructure managed by Cloudfleet or Connected Fleets.
359
+ * Unique identifier of the kubernetes fleet.
165
360
  */
166
- type: 'managed' | 'connected';
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
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
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
+ */
187
385
  apiKey?: string;
188
- } | {
189
- apiKey?: string;
190
- enabled?: boolean;
191
386
  };
192
387
  aws?: {
193
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
+ };
203
415
  /**
204
- * Specifies the fleet type: infrastructure managed by Cloudfleet or Connected Fleets.
416
+ * Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.
205
417
  */
206
- type: 'managed' | 'connected';
418
+ scalingProfile?: 'aggressive' | 'conservative';
419
+ /**
420
+ * Unique identifier of the kubernetes fleet.
421
+ */
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
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
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
+ */
227
446
  apiKey?: string;
228
- } | {
229
- apiKey?: string;
230
- enabled?: boolean;
231
447
  };
232
448
  aws?: {
233
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
455
  /**
262
- * Limits selection of instance types to this list. Instance / VM type as defined by the cloud service provider
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.
263
457
  */
264
- instance_type?: Array<string>;
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
+ };
265
476
  /**
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
477
+ * Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.
267
478
  */
268
- accelerator_name?: Array<string>;
479
+ scalingProfile?: 'aggressive' | 'conservative';
480
+ };
481
+ export type Invite = {
269
482
  /**
270
- * List of normalized accelerator manufacturer names. For example, all Nvidia GPUs will have 'NVIDIA' as accelerator manufacturer
483
+ * Unique identifier of the invitation.
271
484
  */
272
- accelerator_manufacturer?: Array<string>;
485
+ id?: string;
273
486
  /**
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.
487
+ * Unique identifier of the organization the project belongs to. UUID v4 string in canonical form
275
488
  */
276
- accelerator_count_min?: number;
489
+ organization_id?: string;
277
490
  /**
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.
491
+ * Creation date of the project. ISO 8601 date string in UTC timezone
279
492
  */
280
- accelerator_count_max?: number;
493
+ date_created: string;
281
494
  /**
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
495
+ * User email address.
283
496
  */
284
- accelerator_memory_min?: number;
497
+ email?: string;
285
498
  /**
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
499
+ * Generated unique invite code.
287
500
  */
288
- accelerator_memory_max?: number;
501
+ code?: string;
502
+ };
503
+ export type Invoice = {
289
504
  /**
290
- * Minimum amount of RAM in gibibytes (GiB)
505
+ * Unique identifier of the invoice.
291
506
  */
292
- memory_min?: number;
507
+ id?: string;
508
+ number?: string;
293
509
  /**
294
- * Maximum amount of RAM in gibibytes (GiB)
510
+ * Status of the invoice
295
511
  */
296
- memory_max?: number;
512
+ status?: string;
297
513
  /**
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.
514
+ * Total amount of the invoice
299
515
  */
300
- vcpu_min?: number;
516
+ total?: number;
301
517
  /**
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.
518
+ * Currency of the invoice
303
519
  */
304
- vcpu_max?: number;
520
+ currency?: string;
305
521
  /**
306
- * Minimum total storage in GiB (attached and local)
522
+ * Timestamp when the invoice was issued. ISO 8601 date string in the UTC timezone.
307
523
  */
308
- storage_total_min?: number;
524
+ created: string;
309
525
  /**
310
- * Maximum total storage in GiB (attached and local)
526
+ * Billing period start timestamp. ISO 8601 date string in the UTC timezone.
311
527
  */
312
- storage_total_max?: number;
528
+ period_start: string;
313
529
  /**
314
- * Minimum volume of directly attached, block-device local storage in gibibytes (GiB)
530
+ * Billing period end timestamp. ISO 8601 date string in the UTC timezone.
315
531
  */
316
- storage_local_min?: number;
532
+ period_end: string;
533
+ invoice_pdf?: string;
534
+ };
535
+ export type MarketplaceListingFiles = {
317
536
  /**
318
- * Maximum volume of directly attached, block-device local storage in gibibytes (GiB)
537
+ * Raw Chart.yaml content from the Helm chart
319
538
  */
320
- storage_local_max?: number;
539
+ chartYaml?: string;
321
540
  /**
322
- * Minimum price of running the inctance per hour in USD as defined by the cloud service provider. The cheapest instance will be selected.
541
+ * Raw values.yaml content from the Helm chart
323
542
  */
324
- price_min?: number;
543
+ valuesYaml?: string;
325
544
  /**
326
- * Maximum price of running the inctance per hour in USD as defined by the cloud service provider. The cheapest instance will be selected.
545
+ * JSON schema for values.yaml as a string
327
546
  */
328
- price_max?: number;
547
+ valuesSchemaJson?: string;
329
548
  };
330
- export type InfrastructureInstance = {
331
- /**
332
- * Cloudfleet instance SKU. Has a format of <provider>-<csp_region>-<instance_type>.
333
- */
334
- sku: string;
335
- /**
336
- * Normalized cloud service provider name. For the full list of supported providers, see [Providers](https://cloudfleet.ai/docs/cloud-infrastructure/providers/)
337
- */
338
- provider: string;
549
+ export type MarketplaceListing = {
339
550
  /**
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/)
551
+ * Name of the chart
341
552
  */
342
- region: string;
553
+ name: string;
343
554
  /**
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/)
555
+ * Available versions of the chart
345
556
  */
346
- sub_region: string;
557
+ versions: Array<string>;
347
558
  /**
348
- * Region as defined by the cloud service provider
559
+ * Version channels for the chart
349
560
  */
350
- csp_region: string;
561
+ version_channels: Array<string>;
351
562
  /**
352
- * Availability zone as defined by the cloud service provider
563
+ * Latest version of the chart
353
564
  */
354
- csp_zone: string;
565
+ latestVersion: string;
355
566
  /**
356
- * Instance / VM type as defined by the cloud service provider
567
+ * Chart metadata
357
568
  */
358
- instance_type: 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 = {
359
622
  /**
360
- * Instance CPU architecture
623
+ * Email address used for billing as a string.
361
624
  */
362
- architecture: string;
625
+ email: string;
363
626
  /**
364
- * Instance operating system
627
+ * First name of the billing contact person.
365
628
  */
366
- os: string;
629
+ first_name: string;
367
630
  /**
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.
631
+ * Last name of the billing contact person.
369
632
  */
370
- vcpu: number;
633
+ last_name: string;
371
634
  /**
372
- * Total amount of RAM 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.
373
636
  */
374
- memory: number;
637
+ company_name: string;
375
638
  /**
376
- * Volume of directly attached, block-device local storage in gibibytes (GiB)
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.
377
640
  */
378
- local_storage: number;
641
+ password: string;
642
+ };
643
+ export type Organization = {
379
644
  /**
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
645
+ * Unique identifier of the organization. UUID v4 string in canonical form
381
646
  */
382
- accelerator_name?: string;
647
+ id: string;
383
648
  /**
384
- * Normalized manufacturer name of accelerator. For example, all Nvidia GPUs will have 'NVIDIA' as accelerator manufacturer
649
+ * Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
385
650
  */
386
- accelerator_manufacturer?: string;
651
+ name?: string;
387
652
  /**
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.
653
+ * Creation date of the organization. ISO 8601 date string in UTC timezone
389
654
  */
390
- accelerator_count?: number;
655
+ date_created: string;
391
656
  /**
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
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.
393
658
  */
394
- accelerator_memory?: 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
+ };
395
706
  /**
396
- * Maximum number of pods that can be run on this instance type.
707
+ * Status of the organization. Can be `active` or `closed`, or `suspended`.
397
708
  */
398
- pods_capacity?: number;
709
+ status: 'active' | 'closed' | 'suspended';
710
+ };
711
+ export type PaymentMethod = {
399
712
  /**
400
- * Capacity type of the instance. E.g. `on-demand`, `spot`.
713
+ * Unique identifier of the organization. UUID v4 string in canonical form.
401
714
  */
402
- capacity_type?: string;
715
+ id: string;
403
716
  /**
404
- * Price of running the inctance per hour in USD as defined by the cloud service provider
717
+ * Whether organization payment method was set up and ready to use for payments.
405
718
  */
406
- price: number;
719
+ setup: boolean;
407
720
  /**
408
- * Whether this instance type is available.
721
+ * Payment method type type. Only `card` payments supported at the moment.
409
722
  */
410
- available?: boolean;
411
- };
412
- export type Invite = {
723
+ type: 'card';
413
724
  /**
414
- * Unique identifier of the invitation.
725
+ * Last 4 digits of the payment card number.
415
726
  */
416
- id?: string;
727
+ last4: string;
417
728
  /**
418
- * Unique identifier of the organization the project belongs to. UUID v4 string in canonical form
729
+ * Two-digit number representing the card's expiration month.
419
730
  */
420
- organization_id?: string;
731
+ exp_month: number;
421
732
  /**
422
- * Creation date of the project. ISO 8601 date string in UTC timezone
733
+ * Four-digit number representing the card's expiration year.
423
734
  */
424
- date_created: string;
735
+ exp_year: number;
425
736
  /**
426
- * User email address.
737
+ * Payment card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `mastercard`, `unionpay`, `visa`, or `unknown`.
427
738
  */
428
- email?: string;
739
+ brand: 'amex' | 'diners' | 'discover' | 'eftpos_au' | 'jcb' | 'mastercard' | 'unionpay' | 'visa' | 'unknown';
740
+ };
741
+ export type PlatformQuota = {
429
742
  /**
430
- * Generated unique invite code.
743
+ * Maximum number of Basic clusters that can be created.
431
744
  */
432
- code?: string;
433
- };
434
- export type Invoice = {
745
+ basic_clusters_max: number;
435
746
  /**
436
- * Unique identifier of the invoice. UUID v4 string in canonical form
747
+ * Available number of Basic clusters that can be created.
437
748
  */
438
- id?: string;
749
+ basic_clusters_available: number;
439
750
  /**
440
- * Unique identifier of the organization. UUID v4 string in canonical form
751
+ * Maximum number of Pro clusters that can be created.
441
752
  */
442
- organizationId?: string;
753
+ pro_clusters_max: number;
443
754
  /**
444
- * Status of the invoice
755
+ * Available number of Pro clusters that can be created.
445
756
  */
446
- status?: 'DRAFT' | 'COMMITTED' | 'VOID';
757
+ pro_clusters_available: number;
447
758
  /**
448
- * Total amount of the invoice
759
+ * Maximum number of fleets that can be created per cluster.
449
760
  */
450
- amount?: number;
761
+ fleets_max: number;
451
762
  /**
452
- * Currency of the invoice
763
+ * List of Cloudfleet cluster tiers available for the organization.
453
764
  */
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';
765
+ cluster_tiers: Array<string>;
455
766
  /**
456
- * Total amount of credit adjustments
767
+ * List of Cloudfleet control plane regions available for the organization.
457
768
  */
458
- creditAdj?: number;
769
+ regions: Array<string>;
459
770
  /**
460
- * Total amount of refund adjustments
771
+ * List of CFKE control plane versions available for the organization.
461
772
  */
462
- refundAdj?: number;
773
+ versions: Array<{
774
+ /**
775
+ * Id of the control plane version. Used in API calls.
776
+ */
777
+ id: string;
778
+ /**
779
+ * Label of the control plane version. Used in frontent UI.
780
+ */
781
+ label: string;
782
+ }>;
463
783
  /**
464
- * Date of the invoice
784
+ * Organization-level maximum CFCR storage volume in GB. -1 means no limit.
465
785
  */
466
- invoiceDate?: string;
786
+ cfcr_storage_gb: number;
787
+ };
788
+ export type RegistryRepository = {
467
789
  /**
468
- * Target date of the invoice
790
+ * Repository name.
469
791
  */
470
- targetDate?: string;
792
+ name: string;
471
793
  /**
472
- * Number of the invoice
794
+ * Registry region.
473
795
  */
474
- invoiceNumber?: string;
796
+ region: string;
475
797
  /**
476
- * Balance of the invoice
798
+ * Full URI of the repository.
477
799
  */
478
- balance?: number;
800
+ uri: string;
801
+ };
802
+ export type RegistryRepositoryWithTags = {
479
803
  /**
480
- * Bundle keys of the invoice
804
+ * Repository name.
481
805
  */
482
- bundleKeys?: string;
806
+ name: string;
483
807
  /**
484
- * Credits of the invoice
808
+ * Registry region.
485
809
  */
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;
499
- /**
500
- * Name of the plan
501
- */
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';
810
+ region: string;
811
+ /**
812
+ * Full URI of the repository.
813
+ */
814
+ uri: string;
815
+ /**
816
+ * Array of tags in the repository.
817
+ */
818
+ tags: Array<{
555
819
  /**
556
- * Quantity of the invoice item
820
+ * Tag name.
557
821
  */
558
- quantity?: number;
822
+ name: string;
559
823
  /**
560
- * Details of the invoice item
824
+ * Size of the tag in bytes.
561
825
  */
562
- itemDetails?: string;
826
+ size: number;
563
827
  /**
564
- * Effective date of the catalog
828
+ * Media type of the manifest.
565
829
  */
566
- catalogEffectiveDate?: string;
830
+ mediaType?: string;
567
831
  /**
568
- * Child items of the invoice item
832
+ * Array of platform strings for multi-arch images (e.g., linux/amd64, linux/arm64).
569
833
  */
570
- childItems?: Array<Array<unknown> | boolean | number | {
571
- [key: string]: unknown;
572
- } | string>;
834
+ platforms?: Array<string>;
573
835
  }>;
574
836
  /**
575
- * Items of the invoice
837
+ * Total size of all tags in the repository in bytes.
576
838
  */
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;
839
+ totalSize: number;
840
+ };
841
+ export type RegistryTag = {
842
+ /**
843
+ * Tag name.
844
+ */
845
+ name: string;
846
+ /**
847
+ * Manifest digest for pulling by digest.
848
+ */
849
+ digest: string;
850
+ /**
851
+ * Media type of the manifest.
852
+ */
853
+ mediaType?: string;
854
+ /**
855
+ * Manifest config metadata.
856
+ */
857
+ config?: {
634
858
  /**
635
- * Amount of the invoice item
859
+ * Size of the config in bytes.
636
860
  */
637
- amount?: number;
861
+ size: number;
862
+ };
863
+ /**
864
+ * Array of layer metadata.
865
+ */
866
+ layers?: Array<{
638
867
  /**
639
- * Rate of the invoice item
868
+ * Digest of the layer.
640
869
  */
641
- rate?: number;
870
+ digest?: string;
642
871
  /**
643
- * Currency of the invoice item
872
+ * Size of the layer in bytes.
644
873
  */
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';
874
+ size: number;
875
+ }>;
876
+ /**
877
+ * Array of manifests for multi-arch images.
878
+ */
879
+ manifests?: Array<{
646
880
  /**
647
- * Quantity of the invoice item
881
+ * Digest of the manifest.
648
882
  */
649
- quantity?: number;
883
+ digest: string;
650
884
  /**
651
- * Details of the invoice item
885
+ * Platform information for the manifest.
652
886
  */
653
- itemDetails?: 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
+ };
654
901
  /**
655
- * Effective date of the catalog
902
+ * Layers for this platform.
656
903
  */
657
- catalogEffectiveDate?: 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
+ }>;
658
914
  /**
659
- * Child items of the invoice item
915
+ * Total size of this platform manifest in bytes.
660
916
  */
661
- childItems?: Array<Array<unknown> | boolean | number | {
662
- [key: string]: unknown;
663
- } | string>;
917
+ size?: number;
664
918
  }>;
665
- };
666
- export type OrganizationContactInfo = {
667
- /**
668
- * Street address, P.O. box, c/o
669
- */
670
- address1?: string;
671
- /**
672
- * Apartment, suite, unit, building, floor, etc.
673
- */
674
- address2?: string;
675
- /**
676
- * Postal code as a string.
677
- */
678
- postalCode?: string;
679
- /**
680
- * City or town name.
681
- */
682
- city?: string;
683
- /**
684
- * State, province, or region name.
685
- */
686
- state?: string;
687
919
  /**
688
- * Country as a ISO 3166-1 alpha-2 country code.
920
+ * Total size of the tag in bytes.
689
921
  */
690
- country?: string;
922
+ size: number;
691
923
  /**
692
- * Phone number as a string.
693
- */
694
- phone?: string;
695
- /**
696
- * Email address used for billing as a string.
924
+ * Registry region.
697
925
  */
698
- email: string;
926
+ region: string;
699
927
  /**
700
- * First name of the billing contact person.
928
+ * Repository name.
701
929
  */
702
- first_name: string;
930
+ repository: string;
703
931
  /**
704
- * Last name of the billing contact person.
932
+ * Full URI of the tag.
705
933
  */
706
- last_name: string;
934
+ uri: string;
707
935
  };
708
- export type OrganizationCreateInput = {
936
+ export type TicketAttachment = {
709
937
  /**
710
- * 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).
711
939
  */
712
- name: string;
940
+ id: string;
713
941
  /**
714
- * Organization contact information and billing address.
942
+ * Original filename as uploaded.
715
943
  */
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;
729
- /**
730
- * City or town name.
731
- */
732
- city?: string;
733
- /**
734
- * State, province, or region name.
735
- */
736
- state?: string;
737
- /**
738
- * Country as a ISO 3166-1 alpha-2 country code.
739
- */
740
- country?: string;
741
- /**
742
- * Phone number as a string.
743
- */
744
- phone?: string;
745
- /**
746
- * Email address used for billing as a string.
747
- */
748
- email: string;
749
- /**
750
- * First name of the billing contact person.
751
- */
752
- first_name: string;
753
- /**
754
- * Last name of the billing contact person.
755
- */
756
- last_name: string;
757
- };
944
+ filename: string;
758
945
  /**
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.
946
+ * MIME content type of the attachment.
760
947
  */
761
- password: string;
762
- };
763
- export type Organization = {
948
+ content_type: string;
764
949
  /**
765
- * Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
950
+ * Size of the attachment in bytes.
766
951
  */
767
- name: string;
952
+ size: number;
953
+ };
954
+ export type TicketCreateInput = {
768
955
  /**
769
- * Organization contact information and billing address.
770
- */
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
- };
956
+ * Ticket category. Drives auto-assignment and may carry a subcategory in `properties`.
957
+ */
958
+ category: 'billing' | 'technical' | 'general';
813
959
  /**
814
- * Unique identifier of the organization. UUID v4 string in canonical form
960
+ * Initial message body in markdown. There is no separate subject — the first message body is the description.
815
961
  */
816
- id: string;
962
+ body: string;
817
963
  /**
818
- * Creation date of the organization. ISO 8601 date string in UTC timezone
964
+ * Free-form key/value bag set by the UI (e.g. `subcategory`, `cluster_id`, `cluster_name`, `region`).
819
965
  */
820
- date_created: string;
966
+ properties?: {
967
+ [key: string]: unknown;
968
+ };
969
+ };
970
+ export type TicketListResponse = {
821
971
  /**
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.
972
+ * Tickets for the organization, ordered newest first. Messages are omitted from list responses.
823
973
  */
824
- quota: {
825
- /**
826
- * Maximum number of Basic clusters that can be created.
827
- */
828
- basic_clusters_max: number;
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,20 +1227,85 @@ export type TokenUpdateInput = {
1000
1227
  */
1001
1228
  role?: 'Administrator' | 'User';
1002
1229
  };
1230
+ export type UsageFacets = {
1231
+ /**
1232
+ * List of unique cluster IDs
1233
+ */
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
+ };
1003
1284
  export type Usage = {
1004
1285
  /**
1005
- * Unique identifier of the Usage object, equal to subscription id of the task . UUID v4 string in canonical form
1286
+ * Hour of the usage
1006
1287
  */
1007
- id: string;
1288
+ hour: string;
1289
+ /**
1290
+ * Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
1291
+ */
1292
+ cluster_id: string;
1293
+ /**
1294
+ * The product the usage is associated with
1295
+ */
1296
+ product: string;
1297
+ /**
1298
+ * Consumption
1299
+ */
1300
+ value: number;
1008
1301
  /**
1009
- * Unique identifier of the project. UUID v4 string in canonical form
1302
+ * Price per unit
1010
1303
  */
1011
- task_id: string;
1304
+ price: number;
1012
1305
  /**
1013
- * Unit of measurement. E.g. GiB, seconds, etc
1306
+ * Total cost
1014
1307
  */
1015
- unit: string;
1016
- amount: number;
1308
+ total: number;
1017
1309
  };
1018
1310
  export type UserCreateInput = {
1019
1311
  /**
@@ -1033,7 +1325,7 @@ export type UserCreateInput = {
1033
1325
  */
1034
1326
  code: string;
1035
1327
  /**
1036
- * 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.
1037
1329
  */
1038
1330
  password: string;
1039
1331
  /**
@@ -1074,16 +1366,6 @@ export type User = {
1074
1366
  * Creation date of the user. ISO 8601 date string in UTC timezone
1075
1367
  */
1076
1368
  date_created: string;
1077
- cluster_permissions?: Array<{
1078
- /**
1079
- * Unique identifier of the cluster. UUID v4 string in canonical form
1080
- */
1081
- cluster_id: string;
1082
- /**
1083
- * User permissions to access the cluster. Can be `readwrite` or `readonly`.
1084
- */
1085
- permissions: 'readwrite' | 'readonly';
1086
- }>;
1087
1369
  };
1088
1370
  export type UserUpdateInput = {
1089
1371
  /**
@@ -1103,137 +1385,267 @@ export type UserUpdateInput = {
1103
1385
  */
1104
1386
  role?: 'Administrator' | 'User';
1105
1387
  /**
1106
- * Status of the user. Can be `active` or `inactive`. Inactive users cannot log in or manage organization resources.
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.
1482
+ */
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 = {
1493
+ /**
1494
+ * Successfully updated. Returns updated organization details.
1107
1495
  */
1108
- status?: 'active' | 'inactive';
1496
+ 200: BillingContact;
1109
1497
  };
1110
- export type GetUsageData = {
1498
+ export type UpdateContactResponse = UpdateContactResponses[keyof UpdateContactResponses];
1499
+ export type GetCreditsData = {
1111
1500
  body?: never;
1112
1501
  path?: never;
1113
- query: {
1114
- /**
1115
- * Start date for the usage. Date of oldest data point to retrieve.
1116
- */
1117
- start_date: string;
1118
- /**
1119
- * End date for the usage. Date of newest data point to retrieve.
1120
- */
1121
- end_date: string;
1122
- };
1123
- url: '/billing/usage';
1502
+ query?: never;
1503
+ url: '/billing/credits';
1124
1504
  };
1125
- export type GetUsageErrors = {
1505
+ export type GetCreditsErrors = {
1126
1506
  /**
1127
1507
  * Not authenticated
1128
1508
  */
1129
1509
  401: unknown;
1130
1510
  };
1131
- export type GetUsageResponses = {
1511
+ export type GetCreditsResponses = {
1132
1512
  /**
1133
- * An array of usage records.
1513
+ * An array of the applied promotional credits records.
1134
1514
  */
1135
- 200: Array<Usage>;
1515
+ 200: Array<BillingCredits>;
1136
1516
  };
1137
- export type GetUsageResponse = GetUsageResponses[keyof GetUsageResponses];
1138
- export type GetBalanceData = {
1139
- 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
+ };
1140
1525
  path?: never;
1141
1526
  query?: never;
1142
- url: '/billing/balance';
1527
+ url: '/billing/credits';
1143
1528
  };
1144
- export type GetBalanceResponses = {
1529
+ export type RedeemCreditsErrors = {
1145
1530
  /**
1146
- * Current balance of the organization in USD as a floating-point number.
1531
+ * Not authenticated
1147
1532
  */
1148
- 200: number;
1533
+ 401: unknown;
1149
1534
  };
1150
- export type GetBalanceResponse = GetBalanceResponses[keyof GetBalanceResponses];
1151
- export type GetPaymentMethodData = {
1535
+ export type RedeemCreditsResponses = {
1536
+ /**
1537
+ * Successfully created a new organization.
1538
+ */
1539
+ 200: unknown;
1540
+ };
1541
+ export type ListChartsData = {
1152
1542
  body?: never;
1153
- path?: never;
1543
+ path: {
1544
+ /**
1545
+ * Unique identifier of the cluster. UUID v4 string in canonical form
1546
+ */
1547
+ cluster_id: string;
1548
+ };
1154
1549
  query?: never;
1155
- url: '/billing/payment-method';
1550
+ url: '/clusters/{cluster_id}/charts';
1156
1551
  };
1157
- export type GetPaymentMethodErrors = {
1552
+ export type ListChartsErrors = {
1158
1553
  /**
1159
- * Returns 404 Not Found if the organization does not have a payment method set up.
1554
+ * Not authenticated
1160
1555
  */
1161
- 404: unknown;
1556
+ 401: unknown;
1162
1557
  };
1163
- export type GetPaymentMethodResponses = {
1558
+ export type ListChartsResponses = {
1164
1559
  /**
1165
- * Redacted payment card information.
1560
+ * An array of charts
1166
1561
  */
1167
- 200: PaymentMethod;
1562
+ 200: Array<Chart>;
1168
1563
  };
1169
- export type GetPaymentMethodResponse = GetPaymentMethodResponses[keyof GetPaymentMethodResponses];
1170
- export type GetPaymentMethodSecretData = {
1171
- body?: never;
1172
- 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
+ };
1173
1573
  query?: never;
1174
- url: '/billing/payment-method';
1574
+ url: '/clusters/{cluster_id}/charts';
1175
1575
  };
1176
- export type GetPaymentMethodSecretResponses = {
1576
+ export type CreateChartResponses = {
1177
1577
  /**
1178
- * 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.
1179
- *
1578
+ * Successfully created. Returns created Chart ID.
1180
1579
  */
1181
- 200: {
1182
- /**
1183
- * The client secret.
1184
- */
1185
- id?: string;
1186
- };
1580
+ 200: string;
1187
1581
  };
1188
- export type GetPaymentMethodSecretResponse = GetPaymentMethodSecretResponses[keyof GetPaymentMethodSecretResponses];
1189
- export type ListInvoicesData = {
1582
+ export type CreateChartResponse = CreateChartResponses[keyof CreateChartResponses];
1583
+ export type DeleteChartData = {
1190
1584
  body?: never;
1191
- path?: never;
1192
- query: {
1585
+ path: {
1193
1586
  /**
1194
- * Start date for the usage. Date of oldest data point to retrieve.
1587
+ * Unique identifier of the cluster. UUID v4 string in canonical form
1195
1588
  */
1196
- start_date: string;
1589
+ cluster_id: string;
1197
1590
  /**
1198
- * End date for the usage. Date of newest data point to retrieve.
1591
+ * Chart deployment name as the unique identifier of the chart.
1199
1592
  */
1200
- end_date: string;
1593
+ chart_name: string;
1201
1594
  };
1202
- url: '/billing/invoices';
1595
+ query?: never;
1596
+ url: '/clusters/{cluster_id}/charts/{chart_name}';
1203
1597
  };
1204
- export type ListInvoicesErrors = {
1598
+ export type DeleteChartResponses = {
1205
1599
  /**
1206
- * Not authenticated
1600
+ * Successfully deleted.
1207
1601
  */
1208
- 401: unknown;
1602
+ 200: string;
1209
1603
  };
1210
- 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 = {
1211
1621
  /**
1212
- * An array of usage records.
1622
+ * Returns a single object containing chart details.
1213
1623
  */
1214
- 200: Array<Invoice>;
1624
+ 200: Chart;
1215
1625
  };
1216
- export type ListInvoicesResponse = ListInvoicesResponses[keyof ListInvoicesResponses];
1217
- export type GetInvoiceData = {
1218
- body?: never;
1626
+ export type GetChartResponse = GetChartResponses[keyof GetChartResponses];
1627
+ export type UpdateChartData = {
1628
+ body: ChartUpdateInput;
1219
1629
  path: {
1220
1630
  /**
1221
- * Unique invoice identifier. UUID v4 string in canonical form
1631
+ * Unique identifier of the cluster. UUID v4 string in canonical form
1222
1632
  */
1223
- id: string;
1633
+ cluster_id: string;
1634
+ /**
1635
+ * Chart deployment name as the unique identifier of the chart.
1636
+ */
1637
+ chart_name: string;
1224
1638
  };
1225
1639
  query?: never;
1226
- url: '/billing/invoices/{id}';
1640
+ url: '/clusters/{cluster_id}/charts/{chart_name}';
1227
1641
  };
1228
- export type GetInvoiceResponses = {
1642
+ export type UpdateChartResponses = {
1229
1643
  /**
1230
- * Returns a single Invoice HTML representation under `html` property.
1644
+ * Successfully updated.
1231
1645
  */
1232
- 200: {
1233
- html?: string;
1234
- };
1646
+ 200: string;
1235
1647
  };
1236
- export type GetInvoiceResponse = GetInvoiceResponses[keyof GetInvoiceResponses];
1648
+ export type UpdateChartResponse = UpdateChartResponses[keyof UpdateChartResponses];
1237
1649
  export type ListFleetsData = {
1238
1650
  body?: never;
1239
1651
  path: {
@@ -1460,288 +1872,42 @@ export type UpdateClusterData = {
1460
1872
  /**
1461
1873
  * Unique identifier of the cluster. UUID v4 string in canonical form
1462
1874
  */
1463
- cluster_id: string;
1464
- };
1465
- query?: never;
1466
- url: '/clusters/{cluster_id}';
1467
- };
1468
- export type UpdateClusterResponses = {
1469
- /**
1470
- * Successfully updated. Returns updated cluster details.
1471
- */
1472
- 200: Cluster;
1473
- };
1474
- export type UpdateClusterResponse = UpdateClusterResponses[keyof UpdateClusterResponses];
1475
- export type GetJoinInformationData = {
1476
- body?: never;
1477
- path: {
1478
- /**
1479
- * Unique identifier of the cluster. UUID v4 string in canonical form
1480
- */
1481
- cluster_id: string;
1482
- };
1483
- query?: never;
1484
- url: '/clusters/{cluster_id}/join_information';
1485
- };
1486
- export type GetJoinInformationErrors = {
1487
- /**
1488
- * Not authenticated
1489
- */
1490
- 401: unknown;
1491
- };
1492
- export type GetJoinInformationResponses = {
1493
- /**
1494
- * An object of cluster join information
1495
- */
1496
- 200: Cluster;
1497
- };
1498
- export type GetJoinInformationResponse = GetJoinInformationResponses[keyof GetJoinInformationResponses];
1499
- export type GetInfrastructureData = {
1500
- body?: never;
1501
- path?: never;
1502
- query?: {
1503
- /**
1504
- * Version of the task definition. Currently only version 1 is supported.
1505
- */
1506
- version?: 1;
1507
- /**
1508
- * Limit selection of cloud providers to this list. For the full list of supported providers, see [Providers](https://cloudfleet.ai/docs/cloud-infrastructure/providers/)
1509
- */
1510
- provider?: Array<string>;
1511
- /**
1512
- * 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/)
1513
- */
1514
- region?: Array<string>;
1515
- /**
1516
- * 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/)
1517
- */
1518
- sub_region?: Array<string>;
1519
- /**
1520
- * Limits selection of cloud regions to this list of canonical provider regions
1521
- */
1522
- csp_region?: Array<string>;
1523
- /**
1524
- * Limits selection of instance types to this list. Instance / VM type as defined by the cloud service provider
1525
- */
1526
- instance_type?: Array<string>;
1527
- /**
1528
- * 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
1529
- */
1530
- accelerator_name?: Array<string>;
1531
- /**
1532
- * List of normalized accelerator manufacturer names. For example, all Nvidia GPUs will have 'NVIDIA' as accelerator manufacturer
1533
- */
1534
- accelerator_manufacturer?: Array<string>;
1535
- /**
1536
- * 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.
1537
- */
1538
- accelerator_count_min?: number;
1539
- /**
1540
- * 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.
1541
- */
1542
- accelerator_count_max?: number;
1543
- /**
1544
- * 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
1545
- */
1546
- accelerator_memory_min?: number;
1547
- /**
1548
- * 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
1549
- */
1550
- accelerator_memory_max?: number;
1551
- /**
1552
- * Minimum amount of RAM in gibibytes (GiB)
1553
- */
1554
- memory_min?: number;
1555
- /**
1556
- * Maximum amount of RAM in gibibytes (GiB)
1557
- */
1558
- memory_max?: number;
1559
- /**
1560
- * 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.
1561
- */
1562
- vcpu_min?: number;
1563
- /**
1564
- * 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.
1565
- */
1566
- vcpu_max?: number;
1567
- /**
1568
- * Minimum total storage in GiB (attached and local)
1569
- */
1570
- storage_total_min?: number;
1571
- /**
1572
- * Maximum total storage in GiB (attached and local)
1573
- */
1574
- storage_total_max?: number;
1575
- /**
1576
- * Minimum volume of directly attached, block-device local storage in gibibytes (GiB)
1577
- */
1578
- storage_local_min?: number;
1579
- /**
1580
- * Maximum volume of directly attached, block-device local storage in gibibytes (GiB)
1581
- */
1582
- storage_local_max?: number;
1583
- /**
1584
- * Minimum price of running the inctance per hour in USD as defined by the cloud service provider. The cheapest instance will be selected.
1585
- */
1586
- price_min?: number;
1587
- /**
1588
- * Maximum price of running the inctance per hour in USD as defined by the cloud service provider. The cheapest instance will be selected.
1589
- */
1590
- price_max?: number;
1591
- };
1592
- url: '/infrastructure';
1593
- };
1594
- export type GetInfrastructureErrors = {
1595
- /**
1596
- * Returns a validation error if any of the search parameters in the request are invalid
1597
- */
1598
- 400: Blob | File;
1599
- };
1600
- export type GetInfrastructureError = GetInfrastructureErrors[keyof GetInfrastructureErrors];
1601
- export type GetInfrastructureResponses = {
1602
- /**
1603
- * An array of instances returned by the search
1604
- */
1605
- 200: Array<InfrastructureInstance>;
1606
- };
1607
- export type GetInfrastructureResponse = GetInfrastructureResponses[keyof GetInfrastructureResponses];
1608
- export type GetFacetsData = {
1609
- body?: never;
1610
- path?: never;
1611
- query?: never;
1612
- url: '/infrastructure/facets';
1613
- };
1614
- export type GetFacetsResponses = {
1615
- /**
1616
- * Calculates search facets of the infrastructure catalog
1617
- */
1618
- 200: Array<{
1619
- /**
1620
- * Limit selection of cloud providers to this list. For the full list of supported providers, see [Providers](https://cloudfleet.ai/docs/cloud-infrastructure/providers/)
1621
- */
1622
- provider?: Array<string>;
1623
- /**
1624
- * 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/)
1625
- */
1626
- region?: Array<string>;
1627
- /**
1628
- * 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/)
1629
- */
1630
- sub_region?: Array<string>;
1631
- /**
1632
- * Limits selection of cloud regions to this list of canonical provider regions
1633
- */
1634
- csp_region?: Array<string>;
1635
- /**
1636
- * 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.
1637
- */
1638
- vcpu_min?: number;
1639
- /**
1640
- * 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.
1641
- */
1642
- vcpu_max?: number;
1643
- /**
1644
- * Minimum amount of RAM in gibibytes (GiB)
1645
- */
1646
- memory_min?: number;
1647
- /**
1648
- * Maximum amount of RAM in gibibytes (GiB)
1649
- */
1650
- memory_max?: number;
1651
- /**
1652
- * Minimum volume of directly attached, block-device local storage in gibibytes (GiB)
1653
- */
1654
- storage_local_min?: number;
1655
- /**
1656
- * Maximum volume of directly attached, block-device local storage in gibibytes (GiB)
1657
- */
1658
- storage_local_max?: number;
1659
- /**
1660
- * 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
1661
- */
1662
- accelerator_name?: Array<string>;
1663
- /**
1664
- * List of normalized accelerator manufacturer names. For example, all Nvidia GPUs will have 'NVIDIA' as accelerator manufacturer
1665
- */
1666
- accelerator_manufacturer?: Array<string>;
1667
- /**
1668
- * 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.
1669
- */
1670
- accelerator_count_min?: number;
1671
- /**
1672
- * 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.
1673
- */
1674
- accelerator_count_max?: number;
1675
- /**
1676
- * 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
1677
- */
1678
- accelerator_memory_min?: number;
1679
- /**
1680
- * 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
1681
- */
1682
- accelerator_memory_max?: number;
1683
- /**
1684
- * Minimum price of running the inctance per hour in USD as defined by the cloud service provider. The cheapest instance will be selected.
1685
- */
1686
- price_min?: number;
1687
- /**
1688
- * Maximum price of running the inctance per hour in USD as defined by the cloud service provider. The cheapest instance will be selected.
1689
- */
1690
- price_max?: number;
1691
- /**
1692
- * Structured array of regions and sub-regions
1693
- */
1694
- regions_struct?: Array<{
1695
- /**
1696
- * 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/)
1697
- */
1698
- region?: string;
1699
- sub_region?: Array<string>;
1700
- }>;
1701
- /**
1702
- * Structured array of regions and sub-regions
1703
- */
1704
- accelerators_struct?: Array<{
1705
- /**
1706
- * List of normalized accelerator manufacturer names. For example, all Nvidia GPUs will have 'NVIDIA' as accelerator manufacturer
1707
- */
1708
- accelerator_manufacturer?: string;
1709
- accelerator_name?: Array<string>;
1710
- }>;
1711
- /**
1712
- * Total number of instances in the catalog
1713
- */
1714
- count_total?: number;
1715
- /**
1716
- * Total number of instances in the catalog with at least 1 accelerator
1717
- */
1718
- count_accelerators?: number;
1719
- /**
1720
- * Total number of unique instances types in the catalog
1721
- */
1722
- count_instance_types?: number;
1723
- /**
1724
- * Total number of unique instances types in the catalog with at least 1 accelerator
1725
- */
1726
- count_accelerators_instance_types?: number;
1727
- }>;
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;
1728
1885
  };
1729
- export type GetFacetsResponse = GetFacetsResponses[keyof GetFacetsResponses];
1730
- export type GetRegionsData = {
1886
+ export type UpdateClusterResponse = UpdateClusterResponses[keyof UpdateClusterResponses];
1887
+ export type GetJoinInformationData = {
1731
1888
  body?: never;
1732
- path?: never;
1889
+ path: {
1890
+ /**
1891
+ * Unique identifier of the cluster. UUID v4 string in canonical form
1892
+ */
1893
+ cluster_id: string;
1894
+ };
1733
1895
  query?: never;
1734
- url: '/infrastructure/regions';
1896
+ url: '/clusters/{cluster_id}/join_information';
1735
1897
  };
1736
- export type GetRegionsResponses = {
1898
+ export type GetJoinInformationErrors = {
1737
1899
  /**
1738
- * Available Cloudfleet regions and Kubernetes versions.
1900
+ * Not authenticated
1739
1901
  */
1740
- 200: {
1741
- [key: string]: unknown;
1742
- };
1902
+ 401: unknown;
1903
+ };
1904
+ export type GetJoinInformationResponses = {
1905
+ /**
1906
+ * An object of cluster join information
1907
+ */
1908
+ 200: ClusterJoinInformation;
1743
1909
  };
1744
- export type GetRegionsResponse = GetRegionsResponses[keyof GetRegionsResponses];
1910
+ export type GetJoinInformationResponse = GetJoinInformationResponses[keyof GetJoinInformationResponses];
1745
1911
  export type ListInvitesData = {
1746
1912
  body?: never;
1747
1913
  path?: never;
@@ -1814,6 +1980,95 @@ export type DeleteInviteResponses = {
1814
1980
  */
1815
1981
  200: unknown;
1816
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];
1817
2072
  export type GetOrganizationData = {
1818
2073
  body?: never;
1819
2074
  path?: never;
@@ -1835,24 +2090,253 @@ export type CreateOrganizationData = {
1835
2090
  };
1836
2091
  export type CreateOrganizationResponses = {
1837
2092
  /**
1838
- * Successfully created a new organization. Returns organization details.
2093
+ * Successfully created a new organization.
1839
2094
  */
1840
- 200: Organization;
2095
+ 200: unknown;
1841
2096
  };
1842
- export type CreateOrganizationResponse = CreateOrganizationResponses[keyof CreateOrganizationResponses];
1843
- export type UpdateOrganizationData = {
1844
- body: OrganizationUpdateInput;
2097
+ export type ListRepositoriesData = {
2098
+ body?: never;
1845
2099
  path?: never;
1846
2100
  query?: never;
1847
- url: '/organization';
2101
+ url: '/registry';
1848
2102
  };
1849
- export type UpdateOrganizationResponses = {
2103
+ export type ListRepositoriesErrors = {
1850
2104
  /**
1851
- * Successfully updated. Returns updated organization details.
2105
+ * Not authenticated
1852
2106
  */
1853
- 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;
1854
2338
  };
1855
- export type UpdateOrganizationResponse = UpdateOrganizationResponses[keyof UpdateOrganizationResponses];
2339
+ export type GetTicketAttachmentResponse = GetTicketAttachmentResponses[keyof GetTicketAttachmentResponses];
1856
2340
  export type ListTokensData = {
1857
2341
  body?: never;
1858
2342
  path?: never;
@@ -2109,53 +2593,4 @@ export type UpdateUserResponses = {
2109
2593
  200: User;
2110
2594
  };
2111
2595
  export type UpdateUserResponse = UpdateUserResponses[keyof UpdateUserResponses];
2112
- export type DeleteClusterPermissionsData = {
2113
- body?: never;
2114
- path: {
2115
- /**
2116
- * Unique user identifier. UUID v4 string in canonical form
2117
- */
2118
- user_id: string;
2119
- /**
2120
- * Unique cluster identifier. UUID v4 string in canonical form
2121
- */
2122
- cluster_id: string;
2123
- };
2124
- query?: never;
2125
- url: '/users/{user_id}/clusters/{cluster_id}';
2126
- };
2127
- export type DeleteClusterPermissionsResponses = {
2128
- /**
2129
- * Successfully removed user from the cluster. Returns updated user details.
2130
- */
2131
- 200: User;
2132
- };
2133
- export type DeleteClusterPermissionsResponse = DeleteClusterPermissionsResponses[keyof DeleteClusterPermissionsResponses];
2134
- export type SetClusterPermissionsData = {
2135
- body: {
2136
- /**
2137
- * Level of permissions for the user to access the cluster
2138
- */
2139
- permissions?: 'readwrite' | 'readonly';
2140
- };
2141
- path: {
2142
- /**
2143
- * Unique user identifier. UUID v4 string in canonical form
2144
- */
2145
- user_id: string;
2146
- /**
2147
- * Unique cluster identifier. UUID v4 string in canonical form
2148
- */
2149
- cluster_id: string;
2150
- };
2151
- query?: never;
2152
- url: '/users/{user_id}/clusters/{cluster_id}';
2153
- };
2154
- export type SetClusterPermissionsResponses = {
2155
- /**
2156
- * Successfully created. Returns created user details.
2157
- */
2158
- 200: User;
2159
- };
2160
- export type SetClusterPermissionsResponse = SetClusterPermissionsResponses[keyof SetClusterPermissionsResponses];
2161
2596
  //# sourceMappingURL=types.gen.d.ts.map