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