@cloudfleet/sdk 0.0.1-bd521c7 → 0.0.1-be6a4aa
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 +1351 -1056
- package/dist/schemas.gen.d.ts.map +1 -1
- package/dist/schemas.gen.js +1936 -1135
- 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 +1318 -964
- package/dist/types.gen.d.ts.map +1 -1
- package/dist/zod.gen.d.ts +1998 -2736
- package/dist/zod.gen.d.ts.map +1 -1
- package/dist/zod.gen.js +826 -897
- 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
|
*/
|
|
@@ -144,10 +317,10 @@ export type FleetCreateInput = {
|
|
|
144
317
|
};
|
|
145
318
|
hetzner?: {
|
|
146
319
|
enabled?: boolean;
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
320
|
+
/**
|
|
321
|
+
* Hetzner Cloud API key with read / write access
|
|
322
|
+
*/
|
|
323
|
+
apiKey: string;
|
|
151
324
|
};
|
|
152
325
|
aws?: {
|
|
153
326
|
enabled?: boolean;
|
|
@@ -160,10 +333,6 @@ export type FleetCreateInput = {
|
|
|
160
333
|
* Unique identifier of the kubernetes fleet.
|
|
161
334
|
*/
|
|
162
335
|
id: string;
|
|
163
|
-
/**
|
|
164
|
-
* Specifies the fleet type: infrastructure managed by Cloudfleet or Connected Fleets.
|
|
165
|
-
*/
|
|
166
|
-
type: 'managed' | 'connected';
|
|
167
336
|
};
|
|
168
337
|
export type Fleet = {
|
|
169
338
|
/**
|
|
@@ -184,10 +353,10 @@ export type Fleet = {
|
|
|
184
353
|
};
|
|
185
354
|
hetzner?: {
|
|
186
355
|
enabled?: boolean;
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
356
|
+
/**
|
|
357
|
+
* Hetzner Cloud API key with read / write access
|
|
358
|
+
*/
|
|
359
|
+
apiKey: string;
|
|
191
360
|
};
|
|
192
361
|
aws?: {
|
|
193
362
|
enabled?: boolean;
|
|
@@ -200,10 +369,6 @@ export type Fleet = {
|
|
|
200
369
|
* Unique identifier of the kubernetes fleet.
|
|
201
370
|
*/
|
|
202
371
|
id: string;
|
|
203
|
-
/**
|
|
204
|
-
* Specifies the fleet type: infrastructure managed by Cloudfleet or Connected Fleets.
|
|
205
|
-
*/
|
|
206
|
-
type: 'managed' | 'connected';
|
|
207
372
|
};
|
|
208
373
|
export type FleetUpdateInput = {
|
|
209
374
|
/**
|
|
@@ -224,10 +389,10 @@ export type FleetUpdateInput = {
|
|
|
224
389
|
};
|
|
225
390
|
hetzner?: {
|
|
226
391
|
enabled?: boolean;
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
392
|
+
/**
|
|
393
|
+
* Hetzner Cloud API key with read / write access
|
|
394
|
+
*/
|
|
395
|
+
apiKey: string;
|
|
231
396
|
};
|
|
232
397
|
aws?: {
|
|
233
398
|
enabled?: boolean;
|
|
@@ -237,178 +402,6 @@ export type FleetUpdateInput = {
|
|
|
237
402
|
controllerRoleArn: string;
|
|
238
403
|
};
|
|
239
404
|
};
|
|
240
|
-
export type InfrastructureFilter = {
|
|
241
|
-
/**
|
|
242
|
-
* Version of the infrastructure filter definition. Currently only version 1 is supported.
|
|
243
|
-
*/
|
|
244
|
-
version?: 1;
|
|
245
|
-
/**
|
|
246
|
-
* Limit selection of cloud providers to this list. For the full list of supported providers, see [Providers](https://cloudfleet.ai/docs/cloud-infrastructure/providers/)
|
|
247
|
-
*/
|
|
248
|
-
provider?: Array<string>;
|
|
249
|
-
/**
|
|
250
|
-
* Limits selection of cloud regions to this list of Cloudfleet regions. For the full list of normalized regions and their mapping to CSP regions, see [Regions](https://cloudfleet.ai/docs/cloud-infrastructure/node-regions/)
|
|
251
|
-
*/
|
|
252
|
-
region?: Array<string>;
|
|
253
|
-
/**
|
|
254
|
-
* Limits selection of cloud regions to this list of Cloudfleet regions. For the full list of normalized regions and their mapping to CSP regions, see [Regions](https://cloudfleet.ai/docs/cloud-infrastructure/node-regions/)
|
|
255
|
-
*/
|
|
256
|
-
sub_region?: Array<string>;
|
|
257
|
-
/**
|
|
258
|
-
* Limits selection of cloud regions to this list of canonical provider regions
|
|
259
|
-
*/
|
|
260
|
-
csp_region?: Array<string>;
|
|
261
|
-
/**
|
|
262
|
-
* Limits selection of instance types to this list. Instance / VM type as defined by the cloud service provider
|
|
263
|
-
*/
|
|
264
|
-
instance_type?: Array<string>;
|
|
265
|
-
/**
|
|
266
|
-
* List of Normalized accelerator model names. For example, all variations of Nvidia A100 GPUs will have 'A100' as accelerator name with various memory configurations set in accelerator_memory field
|
|
267
|
-
*/
|
|
268
|
-
accelerator_name?: Array<string>;
|
|
269
|
-
/**
|
|
270
|
-
* List of normalized accelerator manufacturer names. For example, all Nvidia GPUs will have 'NVIDIA' as accelerator manufacturer
|
|
271
|
-
*/
|
|
272
|
-
accelerator_manufacturer?: Array<string>;
|
|
273
|
-
/**
|
|
274
|
-
* Minimum number of accelerators available on the instance. Some cloud providers support shared accelerators, so the number of accelerators may be a fraction of the number of physical accelerators.
|
|
275
|
-
*/
|
|
276
|
-
accelerator_count_min?: number;
|
|
277
|
-
/**
|
|
278
|
-
* Maximum number of accelerators available on the instance. Some cloud providers support shared accelerators, so the number of accelerators may be a fraction of the number of physical accelerators.
|
|
279
|
-
*/
|
|
280
|
-
accelerator_count_max?: number;
|
|
281
|
-
/**
|
|
282
|
-
* Minimum amount of accelerator memory available to each accelerator. For example, Nvidia A100 GPUs will typically have '40.0' gibibytes (GiB) of memory, while A100 GPUs with HBM2E memory will have '80.0' gibibytes (GiB) of memory
|
|
283
|
-
*/
|
|
284
|
-
accelerator_memory_min?: number;
|
|
285
|
-
/**
|
|
286
|
-
* Maximum amount of accelerator memory available to each accelerator. For example, Nvidia A100 GPUs will typically have '40.0' gibibytes (GiB) of memory, while A100 GPUs with HBM2E memory will have '80.0' gibibytes (GiB) of memory
|
|
287
|
-
*/
|
|
288
|
-
accelerator_memory_max?: number;
|
|
289
|
-
/**
|
|
290
|
-
* Minimum amount of RAM in gibibytes (GiB)
|
|
291
|
-
*/
|
|
292
|
-
memory_min?: number;
|
|
293
|
-
/**
|
|
294
|
-
* Maximum amount of RAM in gibibytes (GiB)
|
|
295
|
-
*/
|
|
296
|
-
memory_max?: number;
|
|
297
|
-
/**
|
|
298
|
-
* Minimum number of vCPUs as defined by the cloud service provider. Some cloud providers use hyperthreading, so the number of vCPUs may be twice as high as the number of physical cores.
|
|
299
|
-
*/
|
|
300
|
-
vcpu_min?: number;
|
|
301
|
-
/**
|
|
302
|
-
* Maximum number of vCPUs as defined by the cloud service provider. Some cloud providers use hyperthreading, so the number of vCPUs may be twice as high as the number of physical cores.
|
|
303
|
-
*/
|
|
304
|
-
vcpu_max?: number;
|
|
305
|
-
/**
|
|
306
|
-
* Minimum total storage in GiB (attached and local)
|
|
307
|
-
*/
|
|
308
|
-
storage_total_min?: number;
|
|
309
|
-
/**
|
|
310
|
-
* Maximum total storage in GiB (attached and local)
|
|
311
|
-
*/
|
|
312
|
-
storage_total_max?: number;
|
|
313
|
-
/**
|
|
314
|
-
* Minimum volume of directly attached, block-device local storage in gibibytes (GiB)
|
|
315
|
-
*/
|
|
316
|
-
storage_local_min?: number;
|
|
317
|
-
/**
|
|
318
|
-
* Maximum volume of directly attached, block-device local storage in gibibytes (GiB)
|
|
319
|
-
*/
|
|
320
|
-
storage_local_max?: number;
|
|
321
|
-
/**
|
|
322
|
-
* Minimum price of running the inctance per hour in USD as defined by the cloud service provider. The cheapest instance will be selected.
|
|
323
|
-
*/
|
|
324
|
-
price_min?: number;
|
|
325
|
-
/**
|
|
326
|
-
* Maximum price of running the inctance per hour in USD as defined by the cloud service provider. The cheapest instance will be selected.
|
|
327
|
-
*/
|
|
328
|
-
price_max?: number;
|
|
329
|
-
};
|
|
330
|
-
export type InfrastructureInstance = {
|
|
331
|
-
/**
|
|
332
|
-
* Cloudfleet instance SKU. Has a format of <provider>-<csp_region>-<instance_type>.
|
|
333
|
-
*/
|
|
334
|
-
sku: string;
|
|
335
|
-
/**
|
|
336
|
-
* Normalized cloud service provider name. For the full list of supported providers, see [Providers](https://cloudfleet.ai/docs/cloud-infrastructure/providers/)
|
|
337
|
-
*/
|
|
338
|
-
provider: string;
|
|
339
|
-
/**
|
|
340
|
-
* Normalized region. For the full list of normalized regions and their mapping to CSP regions, see [Regions](https://cloudfleet.ai/docs/cloud-infrastructure/node-regions/)
|
|
341
|
-
*/
|
|
342
|
-
region: string;
|
|
343
|
-
/**
|
|
344
|
-
* Normalized sub-region. For the full list of normalized regions and their mapping to CSP regions, see [Regions](https://cloudfleet.ai/docs/cloud-infrastructure/node-regions/)
|
|
345
|
-
*/
|
|
346
|
-
sub_region: string;
|
|
347
|
-
/**
|
|
348
|
-
* Region as defined by the cloud service provider
|
|
349
|
-
*/
|
|
350
|
-
csp_region: string;
|
|
351
|
-
/**
|
|
352
|
-
* Availability zone as defined by the cloud service provider
|
|
353
|
-
*/
|
|
354
|
-
csp_zone: string;
|
|
355
|
-
/**
|
|
356
|
-
* Instance / VM type as defined by the cloud service provider
|
|
357
|
-
*/
|
|
358
|
-
instance_type: string;
|
|
359
|
-
/**
|
|
360
|
-
* Instance CPU architecture
|
|
361
|
-
*/
|
|
362
|
-
architecture: string;
|
|
363
|
-
/**
|
|
364
|
-
* Instance operating system
|
|
365
|
-
*/
|
|
366
|
-
os: string;
|
|
367
|
-
/**
|
|
368
|
-
* CPU count as defined by the cloud service provider. Some cloud providers use hyperthreading, so the number of vCPUs may be twice as high as the number of physical cores.
|
|
369
|
-
*/
|
|
370
|
-
vcpu: number;
|
|
371
|
-
/**
|
|
372
|
-
* Total amount of RAM in gibibytes (GiB)
|
|
373
|
-
*/
|
|
374
|
-
memory: number;
|
|
375
|
-
/**
|
|
376
|
-
* Volume of directly attached, block-device local storage in gibibytes (GiB)
|
|
377
|
-
*/
|
|
378
|
-
local_storage: number;
|
|
379
|
-
/**
|
|
380
|
-
* Normalized model name of accelerator. For example, all variations of Nvidia A100 GPUs will have 'A100' as accelerator name with various memory configurations set in accelerator_memory field
|
|
381
|
-
*/
|
|
382
|
-
accelerator_name?: string;
|
|
383
|
-
/**
|
|
384
|
-
* Normalized manufacturer name of accelerator. For example, all Nvidia GPUs will have 'NVIDIA' as accelerator manufacturer
|
|
385
|
-
*/
|
|
386
|
-
accelerator_manufacturer?: string;
|
|
387
|
-
/**
|
|
388
|
-
* Number of accelerators available on the instance. Some cloud providers support shared accelerators, so the number of accelerators may be a fraction of the number of physical accelerators.
|
|
389
|
-
*/
|
|
390
|
-
accelerator_count?: number;
|
|
391
|
-
/**
|
|
392
|
-
* Ammount of accelerator memory available to each accelerator. For example, Nvidia A100 GPUs will typically have '40.0' gibibytes (GiB) of memory, while A100 GPUs with HBM2E memory will have '80.0' gibibytes (GiB) of memory
|
|
393
|
-
*/
|
|
394
|
-
accelerator_memory?: number;
|
|
395
|
-
/**
|
|
396
|
-
* Maximum number of pods that can be run on this instance type.
|
|
397
|
-
*/
|
|
398
|
-
pods_capacity?: number;
|
|
399
|
-
/**
|
|
400
|
-
* Capacity type of the instance. E.g. `on-demand`, `spot`.
|
|
401
|
-
*/
|
|
402
|
-
capacity_type?: string;
|
|
403
|
-
/**
|
|
404
|
-
* Price of running the inctance per hour in USD as defined by the cloud service provider
|
|
405
|
-
*/
|
|
406
|
-
price: number;
|
|
407
|
-
/**
|
|
408
|
-
* Whether this instance type is available.
|
|
409
|
-
*/
|
|
410
|
-
available?: boolean;
|
|
411
|
-
};
|
|
412
405
|
export type Invite = {
|
|
413
406
|
/**
|
|
414
407
|
* Unique identifier of the invitation.
|
|
@@ -433,530 +426,688 @@ export type Invite = {
|
|
|
433
426
|
};
|
|
434
427
|
export type Invoice = {
|
|
435
428
|
/**
|
|
436
|
-
* Unique identifier of the invoice.
|
|
429
|
+
* Unique identifier of the invoice.
|
|
437
430
|
*/
|
|
438
431
|
id?: string;
|
|
439
|
-
|
|
440
|
-
* Unique identifier of the organization. UUID v4 string in canonical form
|
|
441
|
-
*/
|
|
442
|
-
organizationId?: string;
|
|
432
|
+
number?: string;
|
|
443
433
|
/**
|
|
444
434
|
* Status of the invoice
|
|
445
435
|
*/
|
|
446
|
-
status?:
|
|
436
|
+
status?: string;
|
|
447
437
|
/**
|
|
448
438
|
* Total amount of the invoice
|
|
449
439
|
*/
|
|
450
|
-
|
|
440
|
+
total?: number;
|
|
451
441
|
/**
|
|
452
442
|
* Currency of the invoice
|
|
453
443
|
*/
|
|
454
|
-
currency?:
|
|
444
|
+
currency?: string;
|
|
455
445
|
/**
|
|
456
|
-
*
|
|
446
|
+
* Timestamp when the invoice was issued. ISO 8601 date string in the UTC timezone.
|
|
457
447
|
*/
|
|
458
|
-
|
|
448
|
+
created: string;
|
|
459
449
|
/**
|
|
460
|
-
*
|
|
450
|
+
* Billing period start timestamp. ISO 8601 date string in the UTC timezone.
|
|
461
451
|
*/
|
|
462
|
-
|
|
452
|
+
period_start: string;
|
|
463
453
|
/**
|
|
464
|
-
*
|
|
454
|
+
* Billing period end timestamp. ISO 8601 date string in the UTC timezone.
|
|
465
455
|
*/
|
|
466
|
-
|
|
456
|
+
period_end: string;
|
|
457
|
+
invoice_pdf?: string;
|
|
458
|
+
};
|
|
459
|
+
export type MarketplaceListingFiles = {
|
|
467
460
|
/**
|
|
468
|
-
*
|
|
461
|
+
* Raw Chart.yaml content from the Helm chart
|
|
469
462
|
*/
|
|
470
|
-
|
|
463
|
+
chartYaml?: string;
|
|
471
464
|
/**
|
|
472
|
-
*
|
|
465
|
+
* Raw values.yaml content from the Helm chart
|
|
473
466
|
*/
|
|
474
|
-
|
|
467
|
+
valuesYaml?: string;
|
|
475
468
|
/**
|
|
476
|
-
*
|
|
469
|
+
* JSON schema for values.yaml as a string
|
|
477
470
|
*/
|
|
478
|
-
|
|
471
|
+
valuesSchemaJson?: string;
|
|
472
|
+
};
|
|
473
|
+
export type MarketplaceListing = {
|
|
479
474
|
/**
|
|
480
|
-
*
|
|
475
|
+
* Name of the chart
|
|
481
476
|
*/
|
|
482
|
-
|
|
477
|
+
name: string;
|
|
483
478
|
/**
|
|
484
|
-
*
|
|
479
|
+
* Available versions of the chart
|
|
485
480
|
*/
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
/**
|
|
500
|
-
* Name of the plan
|
|
501
|
-
*/
|
|
502
|
-
planName?: string;
|
|
503
|
-
/**
|
|
504
|
-
* Name of the phase
|
|
505
|
-
*/
|
|
506
|
-
phaseName?: string;
|
|
507
|
-
/**
|
|
508
|
-
* Name of the usage
|
|
509
|
-
*/
|
|
510
|
-
usageName?: string;
|
|
511
|
-
/**
|
|
512
|
-
* Pretty name of the product
|
|
513
|
-
*/
|
|
514
|
-
prettyProductName?: string;
|
|
515
|
-
/**
|
|
516
|
-
* Pretty name of the plan
|
|
517
|
-
*/
|
|
518
|
-
prettyPlanName?: string;
|
|
519
|
-
/**
|
|
520
|
-
* Pretty name of the phase
|
|
521
|
-
*/
|
|
522
|
-
prettyPhaseName?: string;
|
|
481
|
+
versions: Array<string>;
|
|
482
|
+
/**
|
|
483
|
+
* Version channels for the chart
|
|
484
|
+
*/
|
|
485
|
+
version_channels: Array<string>;
|
|
486
|
+
/**
|
|
487
|
+
* Latest version of the chart
|
|
488
|
+
*/
|
|
489
|
+
latestVersion: string;
|
|
490
|
+
/**
|
|
491
|
+
* Chart metadata
|
|
492
|
+
*/
|
|
493
|
+
metadata?: {
|
|
523
494
|
/**
|
|
524
|
-
*
|
|
495
|
+
* Chart name from metadata
|
|
525
496
|
*/
|
|
526
|
-
|
|
497
|
+
name: string;
|
|
527
498
|
/**
|
|
528
|
-
*
|
|
499
|
+
* Chart version from metadata
|
|
529
500
|
*/
|
|
530
|
-
|
|
501
|
+
version: string;
|
|
531
502
|
/**
|
|
532
|
-
*
|
|
503
|
+
* Chart description
|
|
533
504
|
*/
|
|
534
505
|
description?: string;
|
|
535
506
|
/**
|
|
536
|
-
*
|
|
537
|
-
*/
|
|
538
|
-
startDate?: string;
|
|
539
|
-
/**
|
|
540
|
-
* End date of the invoice item
|
|
507
|
+
* Application version
|
|
541
508
|
*/
|
|
542
|
-
|
|
509
|
+
appVersion?: string;
|
|
543
510
|
/**
|
|
544
|
-
*
|
|
511
|
+
* Helm API version
|
|
545
512
|
*/
|
|
546
|
-
|
|
513
|
+
apiVersion?: string;
|
|
547
514
|
/**
|
|
548
|
-
*
|
|
515
|
+
* Chart keywords
|
|
549
516
|
*/
|
|
550
|
-
|
|
517
|
+
keywords?: Array<string>;
|
|
551
518
|
/**
|
|
552
|
-
*
|
|
519
|
+
* Chart home URL
|
|
553
520
|
*/
|
|
554
|
-
|
|
521
|
+
home?: string;
|
|
555
522
|
/**
|
|
556
|
-
*
|
|
523
|
+
* A URL to an SVG or PNG image to be used as an icon
|
|
557
524
|
*/
|
|
558
|
-
|
|
525
|
+
icon?: string;
|
|
559
526
|
/**
|
|
560
|
-
*
|
|
527
|
+
* Chart source URLs
|
|
561
528
|
*/
|
|
562
|
-
|
|
529
|
+
sources?: Array<string>;
|
|
563
530
|
/**
|
|
564
|
-
*
|
|
531
|
+
* Chart maintainers
|
|
565
532
|
*/
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
533
|
+
maintainers?: Array<{
|
|
534
|
+
/**
|
|
535
|
+
* Maintainer name
|
|
536
|
+
*/
|
|
537
|
+
name: string;
|
|
538
|
+
/**
|
|
539
|
+
* Maintainer email
|
|
540
|
+
*/
|
|
541
|
+
email?: string;
|
|
542
|
+
}>;
|
|
543
|
+
};
|
|
544
|
+
};
|
|
545
|
+
export type OrganizationCreateInput = {
|
|
574
546
|
/**
|
|
575
|
-
*
|
|
547
|
+
* Email address used for billing as a string.
|
|
576
548
|
*/
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
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;
|
|
549
|
+
email: string;
|
|
550
|
+
/**
|
|
551
|
+
* First name of the billing contact person.
|
|
552
|
+
*/
|
|
553
|
+
first_name: string;
|
|
554
|
+
/**
|
|
555
|
+
* Last name of the billing contact person.
|
|
556
|
+
*/
|
|
557
|
+
last_name: string;
|
|
558
|
+
/**
|
|
559
|
+
* Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
|
|
560
|
+
*/
|
|
561
|
+
company_name: string;
|
|
562
|
+
/**
|
|
563
|
+
* 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.
|
|
564
|
+
*/
|
|
565
|
+
password: string;
|
|
566
|
+
};
|
|
567
|
+
export type Organization = {
|
|
568
|
+
/**
|
|
569
|
+
* Unique identifier of the organization. UUID v4 string in canonical form
|
|
570
|
+
*/
|
|
571
|
+
id: string;
|
|
572
|
+
/**
|
|
573
|
+
* Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
|
|
574
|
+
*/
|
|
575
|
+
name?: string;
|
|
576
|
+
/**
|
|
577
|
+
* Creation date of the organization. ISO 8601 date string in UTC timezone
|
|
578
|
+
*/
|
|
579
|
+
date_created: string;
|
|
580
|
+
/**
|
|
581
|
+
* 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.
|
|
582
|
+
*/
|
|
583
|
+
quota: {
|
|
626
584
|
/**
|
|
627
|
-
*
|
|
585
|
+
* Maximum number of Basic clusters that can be created.
|
|
628
586
|
*/
|
|
629
|
-
|
|
587
|
+
basic_clusters_max: number;
|
|
630
588
|
/**
|
|
631
|
-
*
|
|
589
|
+
* Available number of Basic clusters that can be created.
|
|
632
590
|
*/
|
|
633
|
-
|
|
591
|
+
basic_clusters_available: number;
|
|
634
592
|
/**
|
|
635
|
-
*
|
|
593
|
+
* Maximum number of Pro clusters that can be created.
|
|
636
594
|
*/
|
|
637
|
-
|
|
595
|
+
pro_clusters_max: number;
|
|
638
596
|
/**
|
|
639
|
-
*
|
|
597
|
+
* Available number of Pro clusters that can be created.
|
|
640
598
|
*/
|
|
641
|
-
|
|
599
|
+
pro_clusters_available: number;
|
|
642
600
|
/**
|
|
643
|
-
*
|
|
601
|
+
* Maximum number of fleets that can be created per cluster.
|
|
644
602
|
*/
|
|
645
|
-
|
|
603
|
+
fleets_max: number;
|
|
646
604
|
/**
|
|
647
|
-
*
|
|
605
|
+
* List of Cloudfleet cluster tiers available for the organization.
|
|
648
606
|
*/
|
|
649
|
-
|
|
607
|
+
cluster_tiers: Array<string>;
|
|
650
608
|
/**
|
|
651
|
-
*
|
|
609
|
+
* List of Cloudfleet control plane regions available for the organization.
|
|
652
610
|
*/
|
|
653
|
-
|
|
611
|
+
regions: Array<string>;
|
|
654
612
|
/**
|
|
655
|
-
*
|
|
613
|
+
* List of CFKE control plane versions available for the organization.
|
|
656
614
|
*/
|
|
657
|
-
|
|
615
|
+
versions: Array<{
|
|
616
|
+
/**
|
|
617
|
+
* Id of the control plane version. Used in API calls.
|
|
618
|
+
*/
|
|
619
|
+
id: string;
|
|
620
|
+
/**
|
|
621
|
+
* Label of the control plane version. Used in frontent UI.
|
|
622
|
+
*/
|
|
623
|
+
label: string;
|
|
624
|
+
}>;
|
|
658
625
|
/**
|
|
659
|
-
*
|
|
626
|
+
* Organization-level maximum CFCR storage volume in GB. -1 means no limit.
|
|
660
627
|
*/
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
628
|
+
cfcr_storage_gb: number;
|
|
629
|
+
};
|
|
630
|
+
/**
|
|
631
|
+
* Status of the organization. Can be `active` or `closed`, or `suspended`.
|
|
632
|
+
*/
|
|
633
|
+
status: 'active' | 'closed' | 'suspended';
|
|
665
634
|
};
|
|
666
|
-
export type
|
|
635
|
+
export type PaymentMethod = {
|
|
667
636
|
/**
|
|
668
|
-
*
|
|
637
|
+
* Unique identifier of the organization. UUID v4 string in canonical form.
|
|
669
638
|
*/
|
|
670
|
-
|
|
639
|
+
id: string;
|
|
671
640
|
/**
|
|
672
|
-
*
|
|
641
|
+
* Whether organization payment method was set up and ready to use for payments.
|
|
673
642
|
*/
|
|
674
|
-
|
|
643
|
+
setup: boolean;
|
|
675
644
|
/**
|
|
676
|
-
*
|
|
645
|
+
* Payment method type type. Only `card` payments supported at the moment.
|
|
677
646
|
*/
|
|
678
|
-
|
|
647
|
+
type: 'card';
|
|
679
648
|
/**
|
|
680
|
-
*
|
|
649
|
+
* Last 4 digits of the payment card number.
|
|
681
650
|
*/
|
|
682
|
-
|
|
651
|
+
last4: string;
|
|
683
652
|
/**
|
|
684
|
-
*
|
|
653
|
+
* Two-digit number representing the card's expiration month.
|
|
685
654
|
*/
|
|
686
|
-
|
|
655
|
+
exp_month: number;
|
|
687
656
|
/**
|
|
688
|
-
*
|
|
657
|
+
* Four-digit number representing the card's expiration year.
|
|
689
658
|
*/
|
|
690
|
-
|
|
659
|
+
exp_year: number;
|
|
691
660
|
/**
|
|
692
|
-
*
|
|
661
|
+
* Payment card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `mastercard`, `unionpay`, `visa`, or `unknown`.
|
|
693
662
|
*/
|
|
694
|
-
|
|
663
|
+
brand: 'amex' | 'diners' | 'discover' | 'eftpos_au' | 'jcb' | 'mastercard' | 'unionpay' | 'visa' | 'unknown';
|
|
664
|
+
};
|
|
665
|
+
export type PlatformQuota = {
|
|
695
666
|
/**
|
|
696
|
-
*
|
|
667
|
+
* Maximum number of Basic clusters that can be created.
|
|
697
668
|
*/
|
|
698
|
-
|
|
669
|
+
basic_clusters_max: number;
|
|
699
670
|
/**
|
|
700
|
-
*
|
|
671
|
+
* Available number of Basic clusters that can be created.
|
|
701
672
|
*/
|
|
702
|
-
|
|
673
|
+
basic_clusters_available: number;
|
|
703
674
|
/**
|
|
704
|
-
*
|
|
675
|
+
* Maximum number of Pro clusters that can be created.
|
|
705
676
|
*/
|
|
706
|
-
|
|
707
|
-
};
|
|
708
|
-
export type OrganizationCreateInput = {
|
|
677
|
+
pro_clusters_max: number;
|
|
709
678
|
/**
|
|
710
|
-
*
|
|
679
|
+
* Available number of Pro clusters that can be created.
|
|
711
680
|
*/
|
|
712
|
-
|
|
681
|
+
pro_clusters_available: number;
|
|
713
682
|
/**
|
|
714
|
-
*
|
|
683
|
+
* Maximum number of fleets that can be created per cluster.
|
|
715
684
|
*/
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
/**
|
|
730
|
-
* City or town name.
|
|
731
|
-
*/
|
|
732
|
-
city?: string;
|
|
685
|
+
fleets_max: number;
|
|
686
|
+
/**
|
|
687
|
+
* List of Cloudfleet cluster tiers available for the organization.
|
|
688
|
+
*/
|
|
689
|
+
cluster_tiers: Array<string>;
|
|
690
|
+
/**
|
|
691
|
+
* List of Cloudfleet control plane regions available for the organization.
|
|
692
|
+
*/
|
|
693
|
+
regions: Array<string>;
|
|
694
|
+
/**
|
|
695
|
+
* List of CFKE control plane versions available for the organization.
|
|
696
|
+
*/
|
|
697
|
+
versions: Array<{
|
|
733
698
|
/**
|
|
734
|
-
*
|
|
699
|
+
* Id of the control plane version. Used in API calls.
|
|
735
700
|
*/
|
|
736
|
-
|
|
701
|
+
id: string;
|
|
737
702
|
/**
|
|
738
|
-
*
|
|
703
|
+
* Label of the control plane version. Used in frontent UI.
|
|
739
704
|
*/
|
|
740
|
-
|
|
705
|
+
label: string;
|
|
706
|
+
}>;
|
|
707
|
+
/**
|
|
708
|
+
* Organization-level maximum CFCR storage volume in GB. -1 means no limit.
|
|
709
|
+
*/
|
|
710
|
+
cfcr_storage_gb: number;
|
|
711
|
+
};
|
|
712
|
+
export type RegistryRepository = {
|
|
713
|
+
/**
|
|
714
|
+
* Repository name.
|
|
715
|
+
*/
|
|
716
|
+
name: string;
|
|
717
|
+
/**
|
|
718
|
+
* Registry region.
|
|
719
|
+
*/
|
|
720
|
+
region: string;
|
|
721
|
+
/**
|
|
722
|
+
* Full URI of the repository.
|
|
723
|
+
*/
|
|
724
|
+
uri: string;
|
|
725
|
+
};
|
|
726
|
+
export type RegistryRepositoryWithTags = {
|
|
727
|
+
/**
|
|
728
|
+
* Repository name.
|
|
729
|
+
*/
|
|
730
|
+
name: string;
|
|
731
|
+
/**
|
|
732
|
+
* Registry region.
|
|
733
|
+
*/
|
|
734
|
+
region: string;
|
|
735
|
+
/**
|
|
736
|
+
* Full URI of the repository.
|
|
737
|
+
*/
|
|
738
|
+
uri: string;
|
|
739
|
+
/**
|
|
740
|
+
* Array of tags in the repository.
|
|
741
|
+
*/
|
|
742
|
+
tags: Array<{
|
|
741
743
|
/**
|
|
742
|
-
*
|
|
744
|
+
* Tag name.
|
|
743
745
|
*/
|
|
744
|
-
|
|
746
|
+
name: string;
|
|
745
747
|
/**
|
|
746
|
-
*
|
|
748
|
+
* Size of the tag in bytes.
|
|
747
749
|
*/
|
|
748
|
-
|
|
750
|
+
size: number;
|
|
749
751
|
/**
|
|
750
|
-
*
|
|
752
|
+
* Media type of the manifest.
|
|
751
753
|
*/
|
|
752
|
-
|
|
754
|
+
mediaType?: string;
|
|
753
755
|
/**
|
|
754
|
-
*
|
|
756
|
+
* Array of platform strings for multi-arch images (e.g., linux/amd64, linux/arm64).
|
|
755
757
|
*/
|
|
756
|
-
|
|
757
|
-
}
|
|
758
|
+
platforms?: Array<string>;
|
|
759
|
+
}>;
|
|
758
760
|
/**
|
|
759
|
-
*
|
|
761
|
+
* Total size of all tags in the repository in bytes.
|
|
760
762
|
*/
|
|
761
|
-
|
|
763
|
+
totalSize: number;
|
|
762
764
|
};
|
|
763
|
-
export type
|
|
765
|
+
export type RegistryTag = {
|
|
764
766
|
/**
|
|
765
|
-
*
|
|
767
|
+
* Tag name.
|
|
766
768
|
*/
|
|
767
769
|
name: string;
|
|
768
770
|
/**
|
|
769
|
-
*
|
|
771
|
+
* Manifest digest for pulling by digest.
|
|
770
772
|
*/
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
/**
|
|
781
|
-
* Postal code as a string.
|
|
782
|
-
*/
|
|
783
|
-
postalCode?: string;
|
|
773
|
+
digest: string;
|
|
774
|
+
/**
|
|
775
|
+
* Media type of the manifest.
|
|
776
|
+
*/
|
|
777
|
+
mediaType?: string;
|
|
778
|
+
/**
|
|
779
|
+
* Manifest config metadata.
|
|
780
|
+
*/
|
|
781
|
+
config?: {
|
|
784
782
|
/**
|
|
785
|
-
*
|
|
783
|
+
* Size of the config in bytes.
|
|
786
784
|
*/
|
|
787
|
-
|
|
785
|
+
size: number;
|
|
786
|
+
};
|
|
787
|
+
/**
|
|
788
|
+
* Array of layer metadata.
|
|
789
|
+
*/
|
|
790
|
+
layers?: Array<{
|
|
788
791
|
/**
|
|
789
|
-
*
|
|
792
|
+
* Digest of the layer.
|
|
790
793
|
*/
|
|
791
|
-
|
|
794
|
+
digest?: string;
|
|
792
795
|
/**
|
|
793
|
-
*
|
|
796
|
+
* Size of the layer in bytes.
|
|
794
797
|
*/
|
|
795
|
-
|
|
798
|
+
size: number;
|
|
799
|
+
}>;
|
|
800
|
+
/**
|
|
801
|
+
* Array of manifests for multi-arch images.
|
|
802
|
+
*/
|
|
803
|
+
manifests?: Array<{
|
|
796
804
|
/**
|
|
797
|
-
*
|
|
805
|
+
* Digest of the manifest.
|
|
798
806
|
*/
|
|
799
|
-
|
|
807
|
+
digest: string;
|
|
800
808
|
/**
|
|
801
|
-
*
|
|
809
|
+
* Platform information for the manifest.
|
|
802
810
|
*/
|
|
803
|
-
|
|
811
|
+
platform?: {
|
|
812
|
+
/**
|
|
813
|
+
* Architecture of the platform.
|
|
814
|
+
*/
|
|
815
|
+
architecture: string;
|
|
816
|
+
/**
|
|
817
|
+
* Operating system of the platform.
|
|
818
|
+
*/
|
|
819
|
+
os: string;
|
|
820
|
+
/**
|
|
821
|
+
* Variant of the platform (e.g., v7, v8 for ARM).
|
|
822
|
+
*/
|
|
823
|
+
variant?: string;
|
|
824
|
+
};
|
|
804
825
|
/**
|
|
805
|
-
*
|
|
826
|
+
* Layers for this platform.
|
|
806
827
|
*/
|
|
807
|
-
|
|
828
|
+
layers?: Array<{
|
|
829
|
+
/**
|
|
830
|
+
* Digest of the layer.
|
|
831
|
+
*/
|
|
832
|
+
digest?: string;
|
|
833
|
+
/**
|
|
834
|
+
* Size of the layer in bytes.
|
|
835
|
+
*/
|
|
836
|
+
size: number;
|
|
837
|
+
}>;
|
|
808
838
|
/**
|
|
809
|
-
*
|
|
839
|
+
* Total size of this platform manifest in bytes.
|
|
810
840
|
*/
|
|
811
|
-
|
|
812
|
-
}
|
|
841
|
+
size?: number;
|
|
842
|
+
}>;
|
|
813
843
|
/**
|
|
814
|
-
*
|
|
844
|
+
* Total size of the tag in bytes.
|
|
845
|
+
*/
|
|
846
|
+
size: number;
|
|
847
|
+
/**
|
|
848
|
+
* Registry region.
|
|
849
|
+
*/
|
|
850
|
+
region: string;
|
|
851
|
+
/**
|
|
852
|
+
* Repository name.
|
|
853
|
+
*/
|
|
854
|
+
repository: string;
|
|
855
|
+
/**
|
|
856
|
+
* Full URI of the tag.
|
|
857
|
+
*/
|
|
858
|
+
uri: string;
|
|
859
|
+
};
|
|
860
|
+
export type TicketAttachment = {
|
|
861
|
+
/**
|
|
862
|
+
* Unique identifier of the attachment (Mongo ObjectId).
|
|
815
863
|
*/
|
|
816
864
|
id: string;
|
|
817
865
|
/**
|
|
818
|
-
*
|
|
866
|
+
* Original filename as uploaded.
|
|
819
867
|
*/
|
|
820
|
-
|
|
868
|
+
filename: string;
|
|
821
869
|
/**
|
|
822
|
-
*
|
|
870
|
+
* MIME content type of the attachment.
|
|
823
871
|
*/
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
872
|
+
content_type: string;
|
|
873
|
+
/**
|
|
874
|
+
* Size of the attachment in bytes.
|
|
875
|
+
*/
|
|
876
|
+
size: number;
|
|
877
|
+
};
|
|
878
|
+
export type TicketCreateInput = {
|
|
879
|
+
/**
|
|
880
|
+
* Ticket category. Drives auto-assignment and may carry a subcategory in `properties`.
|
|
881
|
+
*/
|
|
882
|
+
category: 'billing' | 'technical' | 'general';
|
|
883
|
+
/**
|
|
884
|
+
* Initial message body in markdown. There is no separate subject — the first message body is the description.
|
|
885
|
+
*/
|
|
886
|
+
body: string;
|
|
887
|
+
/**
|
|
888
|
+
* Free-form key/value bag set by the UI (e.g. `subcategory`, `cluster_id`, `cluster_name`, `region`).
|
|
889
|
+
*/
|
|
890
|
+
properties?: {
|
|
891
|
+
[key: string]: unknown;
|
|
892
|
+
};
|
|
893
|
+
};
|
|
894
|
+
export type TicketListResponse = {
|
|
895
|
+
/**
|
|
896
|
+
* Tickets for the organization, ordered newest first. Messages are omitted from list responses.
|
|
897
|
+
*/
|
|
898
|
+
items: Array<{
|
|
829
899
|
/**
|
|
830
|
-
*
|
|
900
|
+
* Unique identifier of the ticket (Mongo ObjectId).
|
|
831
901
|
*/
|
|
832
|
-
|
|
902
|
+
id: string;
|
|
833
903
|
/**
|
|
834
|
-
*
|
|
904
|
+
* Current state of the ticket.
|
|
835
905
|
*/
|
|
836
|
-
|
|
906
|
+
status: 'waiting_on_us' | 'waiting_on_user' | 'closed';
|
|
837
907
|
/**
|
|
838
|
-
*
|
|
908
|
+
* Ticket category.
|
|
839
909
|
*/
|
|
840
|
-
|
|
910
|
+
category: 'billing' | 'technical' | 'general';
|
|
841
911
|
/**
|
|
842
|
-
*
|
|
912
|
+
* First 128 characters of the initial message body, with markdown formatting and newlines stripped. Used for ticket list previews.
|
|
843
913
|
*/
|
|
844
|
-
|
|
914
|
+
summary: string;
|
|
845
915
|
/**
|
|
846
|
-
*
|
|
916
|
+
* Closure timestamp. Null while the ticket is open.
|
|
847
917
|
*/
|
|
848
|
-
|
|
918
|
+
closed_at?: string;
|
|
849
919
|
/**
|
|
850
|
-
*
|
|
920
|
+
* Creation date of the ticket. ISO 8601 UTC.
|
|
851
921
|
*/
|
|
852
|
-
|
|
922
|
+
date_created: string;
|
|
853
923
|
/**
|
|
854
|
-
*
|
|
924
|
+
* Last update date of the ticket. ISO 8601 UTC.
|
|
855
925
|
*/
|
|
856
|
-
|
|
926
|
+
date_updated: string;
|
|
857
927
|
/**
|
|
858
|
-
*
|
|
928
|
+
* Messages on the ticket in chronological order. Internal notes are excluded. Returned by the detail endpoint only.
|
|
859
929
|
*/
|
|
860
|
-
|
|
930
|
+
messages?: Array<{
|
|
861
931
|
/**
|
|
862
|
-
*
|
|
932
|
+
* Unique identifier of the message (Mongo ObjectId).
|
|
863
933
|
*/
|
|
864
934
|
id: string;
|
|
865
935
|
/**
|
|
866
|
-
*
|
|
936
|
+
* Message type. Internal notes are filtered out of customer-facing responses.
|
|
867
937
|
*/
|
|
868
|
-
|
|
938
|
+
type: 'customer_reply' | 'agent_reply';
|
|
939
|
+
/**
|
|
940
|
+
* Message body in markdown.
|
|
941
|
+
*/
|
|
942
|
+
body: string;
|
|
943
|
+
/**
|
|
944
|
+
* First name of the author. Null when not provided.
|
|
945
|
+
*/
|
|
946
|
+
author_first_name?: string;
|
|
947
|
+
/**
|
|
948
|
+
* Last name of the author. Null when not provided.
|
|
949
|
+
*/
|
|
950
|
+
author_last_name?: string;
|
|
951
|
+
/**
|
|
952
|
+
* Attachments associated with this message.
|
|
953
|
+
*/
|
|
954
|
+
attachments?: Array<{
|
|
955
|
+
/**
|
|
956
|
+
* Unique identifier of the attachment (Mongo ObjectId).
|
|
957
|
+
*/
|
|
958
|
+
id: string;
|
|
959
|
+
/**
|
|
960
|
+
* Original filename as uploaded.
|
|
961
|
+
*/
|
|
962
|
+
filename: string;
|
|
963
|
+
/**
|
|
964
|
+
* MIME content type of the attachment.
|
|
965
|
+
*/
|
|
966
|
+
content_type: string;
|
|
967
|
+
/**
|
|
968
|
+
* Size of the attachment in bytes.
|
|
969
|
+
*/
|
|
970
|
+
size: number;
|
|
971
|
+
}>;
|
|
972
|
+
/**
|
|
973
|
+
* Creation date of the message. ISO 8601 UTC.
|
|
974
|
+
*/
|
|
975
|
+
date_created: string;
|
|
869
976
|
}>;
|
|
870
|
-
}
|
|
977
|
+
}>;
|
|
978
|
+
};
|
|
979
|
+
export type TicketMessageInput = {
|
|
871
980
|
/**
|
|
872
|
-
*
|
|
981
|
+
* Reply body in markdown.
|
|
873
982
|
*/
|
|
874
|
-
|
|
983
|
+
body: string;
|
|
984
|
+
};
|
|
985
|
+
export type TicketMessage = {
|
|
875
986
|
/**
|
|
876
|
-
*
|
|
987
|
+
* Unique identifier of the message (Mongo ObjectId).
|
|
877
988
|
*/
|
|
878
|
-
|
|
879
|
-
};
|
|
880
|
-
export type OrganizationUpdateInput = {
|
|
989
|
+
id: string;
|
|
881
990
|
/**
|
|
882
|
-
*
|
|
991
|
+
* Message type. Internal notes are filtered out of customer-facing responses.
|
|
883
992
|
*/
|
|
884
|
-
|
|
993
|
+
type: 'customer_reply' | 'agent_reply';
|
|
885
994
|
/**
|
|
886
|
-
*
|
|
995
|
+
* Message body in markdown.
|
|
887
996
|
*/
|
|
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;
|
|
997
|
+
body: string;
|
|
998
|
+
/**
|
|
999
|
+
* First name of the author. Null when not provided.
|
|
1000
|
+
*/
|
|
1001
|
+
author_first_name?: string;
|
|
1002
|
+
/**
|
|
1003
|
+
* Last name of the author. Null when not provided.
|
|
1004
|
+
*/
|
|
1005
|
+
author_last_name?: string;
|
|
1006
|
+
/**
|
|
1007
|
+
* Attachments associated with this message.
|
|
1008
|
+
*/
|
|
1009
|
+
attachments?: Array<{
|
|
913
1010
|
/**
|
|
914
|
-
*
|
|
1011
|
+
* Unique identifier of the attachment (Mongo ObjectId).
|
|
915
1012
|
*/
|
|
916
|
-
|
|
1013
|
+
id: string;
|
|
917
1014
|
/**
|
|
918
|
-
*
|
|
1015
|
+
* Original filename as uploaded.
|
|
919
1016
|
*/
|
|
920
|
-
|
|
1017
|
+
filename: string;
|
|
921
1018
|
/**
|
|
922
|
-
*
|
|
1019
|
+
* MIME content type of the attachment.
|
|
923
1020
|
*/
|
|
924
|
-
|
|
1021
|
+
content_type: string;
|
|
925
1022
|
/**
|
|
926
|
-
*
|
|
1023
|
+
* Size of the attachment in bytes.
|
|
927
1024
|
*/
|
|
928
|
-
|
|
929
|
-
}
|
|
1025
|
+
size: number;
|
|
1026
|
+
}>;
|
|
1027
|
+
/**
|
|
1028
|
+
* Creation date of the message. ISO 8601 UTC.
|
|
1029
|
+
*/
|
|
1030
|
+
date_created: string;
|
|
930
1031
|
};
|
|
931
|
-
export type
|
|
1032
|
+
export type Ticket = {
|
|
932
1033
|
/**
|
|
933
|
-
* Unique identifier of the
|
|
1034
|
+
* Unique identifier of the ticket (Mongo ObjectId).
|
|
934
1035
|
*/
|
|
935
1036
|
id: string;
|
|
936
1037
|
/**
|
|
937
|
-
*
|
|
1038
|
+
* Current state of the ticket.
|
|
938
1039
|
*/
|
|
939
|
-
|
|
1040
|
+
status: 'waiting_on_us' | 'waiting_on_user' | 'closed';
|
|
940
1041
|
/**
|
|
941
|
-
*
|
|
1042
|
+
* Ticket category.
|
|
942
1043
|
*/
|
|
943
|
-
|
|
1044
|
+
category: 'billing' | 'technical' | 'general';
|
|
944
1045
|
/**
|
|
945
|
-
*
|
|
1046
|
+
* First 128 characters of the initial message body, with markdown formatting and newlines stripped. Used for ticket list previews.
|
|
946
1047
|
*/
|
|
947
|
-
|
|
1048
|
+
summary: string;
|
|
948
1049
|
/**
|
|
949
|
-
*
|
|
1050
|
+
* Closure timestamp. Null while the ticket is open.
|
|
950
1051
|
*/
|
|
951
|
-
|
|
1052
|
+
closed_at?: string;
|
|
952
1053
|
/**
|
|
953
|
-
*
|
|
1054
|
+
* Creation date of the ticket. ISO 8601 UTC.
|
|
954
1055
|
*/
|
|
955
|
-
|
|
1056
|
+
date_created: string;
|
|
956
1057
|
/**
|
|
957
|
-
*
|
|
1058
|
+
* Last update date of the ticket. ISO 8601 UTC.
|
|
958
1059
|
*/
|
|
959
|
-
|
|
1060
|
+
date_updated: string;
|
|
1061
|
+
/**
|
|
1062
|
+
* Messages on the ticket in chronological order. Internal notes are excluded. Returned by the detail endpoint only.
|
|
1063
|
+
*/
|
|
1064
|
+
messages?: Array<{
|
|
1065
|
+
/**
|
|
1066
|
+
* Unique identifier of the message (Mongo ObjectId).
|
|
1067
|
+
*/
|
|
1068
|
+
id: string;
|
|
1069
|
+
/**
|
|
1070
|
+
* Message type. Internal notes are filtered out of customer-facing responses.
|
|
1071
|
+
*/
|
|
1072
|
+
type: 'customer_reply' | 'agent_reply';
|
|
1073
|
+
/**
|
|
1074
|
+
* Message body in markdown.
|
|
1075
|
+
*/
|
|
1076
|
+
body: string;
|
|
1077
|
+
/**
|
|
1078
|
+
* First name of the author. Null when not provided.
|
|
1079
|
+
*/
|
|
1080
|
+
author_first_name?: string;
|
|
1081
|
+
/**
|
|
1082
|
+
* Last name of the author. Null when not provided.
|
|
1083
|
+
*/
|
|
1084
|
+
author_last_name?: string;
|
|
1085
|
+
/**
|
|
1086
|
+
* Attachments associated with this message.
|
|
1087
|
+
*/
|
|
1088
|
+
attachments?: Array<{
|
|
1089
|
+
/**
|
|
1090
|
+
* Unique identifier of the attachment (Mongo ObjectId).
|
|
1091
|
+
*/
|
|
1092
|
+
id: string;
|
|
1093
|
+
/**
|
|
1094
|
+
* Original filename as uploaded.
|
|
1095
|
+
*/
|
|
1096
|
+
filename: string;
|
|
1097
|
+
/**
|
|
1098
|
+
* MIME content type of the attachment.
|
|
1099
|
+
*/
|
|
1100
|
+
content_type: string;
|
|
1101
|
+
/**
|
|
1102
|
+
* Size of the attachment in bytes.
|
|
1103
|
+
*/
|
|
1104
|
+
size: number;
|
|
1105
|
+
}>;
|
|
1106
|
+
/**
|
|
1107
|
+
* Creation date of the message. ISO 8601 UTC.
|
|
1108
|
+
*/
|
|
1109
|
+
date_created: string;
|
|
1110
|
+
}>;
|
|
960
1111
|
};
|
|
961
1112
|
export type TokenCreateInput = {
|
|
962
1113
|
/**
|
|
@@ -1000,35 +1151,85 @@ export type TokenUpdateInput = {
|
|
|
1000
1151
|
*/
|
|
1001
1152
|
role?: 'Administrator' | 'User';
|
|
1002
1153
|
};
|
|
1154
|
+
export type UsageFacets = {
|
|
1155
|
+
/**
|
|
1156
|
+
* List of unique cluster IDs
|
|
1157
|
+
*/
|
|
1158
|
+
cluster_id?: Array<string>;
|
|
1159
|
+
/**
|
|
1160
|
+
* List of unique products
|
|
1161
|
+
*/
|
|
1162
|
+
product?: Array<string>;
|
|
1163
|
+
};
|
|
1164
|
+
export type UsageResponse = {
|
|
1165
|
+
/**
|
|
1166
|
+
* Usage data
|
|
1167
|
+
*/
|
|
1168
|
+
data: Array<{
|
|
1169
|
+
/**
|
|
1170
|
+
* Hour of the usage
|
|
1171
|
+
*/
|
|
1172
|
+
hour: string;
|
|
1173
|
+
/**
|
|
1174
|
+
* Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
|
|
1175
|
+
*/
|
|
1176
|
+
cluster_id: string;
|
|
1177
|
+
/**
|
|
1178
|
+
* The product the usage is associated with
|
|
1179
|
+
*/
|
|
1180
|
+
product: string;
|
|
1181
|
+
/**
|
|
1182
|
+
* Consumption
|
|
1183
|
+
*/
|
|
1184
|
+
value: number;
|
|
1185
|
+
/**
|
|
1186
|
+
* Price per unit
|
|
1187
|
+
*/
|
|
1188
|
+
price: number;
|
|
1189
|
+
/**
|
|
1190
|
+
* Total cost
|
|
1191
|
+
*/
|
|
1192
|
+
total: number;
|
|
1193
|
+
}>;
|
|
1194
|
+
/**
|
|
1195
|
+
* Facets for filtering
|
|
1196
|
+
*/
|
|
1197
|
+
facets: {
|
|
1198
|
+
/**
|
|
1199
|
+
* List of unique cluster IDs
|
|
1200
|
+
*/
|
|
1201
|
+
cluster_id?: Array<string>;
|
|
1202
|
+
/**
|
|
1203
|
+
* List of unique products
|
|
1204
|
+
*/
|
|
1205
|
+
product?: Array<string>;
|
|
1206
|
+
};
|
|
1207
|
+
};
|
|
1003
1208
|
export type Usage = {
|
|
1004
1209
|
/**
|
|
1005
1210
|
* Hour of the usage
|
|
1006
1211
|
*/
|
|
1007
|
-
hour
|
|
1212
|
+
hour: string;
|
|
1008
1213
|
/**
|
|
1009
1214
|
* Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
|
|
1010
1215
|
*/
|
|
1011
1216
|
cluster_id: string;
|
|
1012
1217
|
/**
|
|
1013
|
-
*
|
|
1218
|
+
* The product the usage is associated with
|
|
1014
1219
|
*/
|
|
1015
|
-
|
|
1220
|
+
product: string;
|
|
1016
1221
|
/**
|
|
1017
|
-
*
|
|
1222
|
+
* Consumption
|
|
1018
1223
|
*/
|
|
1019
|
-
|
|
1224
|
+
value: number;
|
|
1020
1225
|
/**
|
|
1021
|
-
*
|
|
1226
|
+
* Price per unit
|
|
1022
1227
|
*/
|
|
1023
|
-
|
|
1228
|
+
price: number;
|
|
1024
1229
|
/**
|
|
1025
|
-
*
|
|
1230
|
+
* Total cost
|
|
1026
1231
|
*/
|
|
1027
|
-
|
|
1028
|
-
cpu: number | '';
|
|
1029
|
-
price: number | '';
|
|
1030
|
-
value: number | '';
|
|
1031
|
-
total: number | '';
|
|
1232
|
+
total: number;
|
|
1032
1233
|
};
|
|
1033
1234
|
export type UserCreateInput = {
|
|
1034
1235
|
/**
|
|
@@ -1048,7 +1249,7 @@ export type UserCreateInput = {
|
|
|
1048
1249
|
*/
|
|
1049
1250
|
code: string;
|
|
1050
1251
|
/**
|
|
1051
|
-
* User password. Must be at least 8 characters long
|
|
1252
|
+
* User password. Must be at least 8 characters long.
|
|
1052
1253
|
*/
|
|
1053
1254
|
password: string;
|
|
1054
1255
|
/**
|
|
@@ -1089,16 +1290,6 @@ export type User = {
|
|
|
1089
1290
|
* Creation date of the user. ISO 8601 date string in UTC timezone
|
|
1090
1291
|
*/
|
|
1091
1292
|
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
1293
|
};
|
|
1103
1294
|
export type UserUpdateInput = {
|
|
1104
1295
|
/**
|
|
@@ -1114,132 +1305,271 @@ export type UserUpdateInput = {
|
|
|
1114
1305
|
*/
|
|
1115
1306
|
last_name?: string;
|
|
1116
1307
|
/**
|
|
1117
|
-
* User role. Can be 'Administrator', 'User'.
|
|
1308
|
+
* User role. Can be 'Administrator', 'User'.
|
|
1309
|
+
*/
|
|
1310
|
+
role?: 'Administrator' | 'User';
|
|
1311
|
+
/**
|
|
1312
|
+
* Status of the user. Can be `active` or `inactive`. Inactive users cannot log in or manage organization resources.
|
|
1313
|
+
*/
|
|
1314
|
+
status?: 'active' | 'inactive';
|
|
1315
|
+
};
|
|
1316
|
+
export type GetUsageData = {
|
|
1317
|
+
body?: never;
|
|
1318
|
+
path?: never;
|
|
1319
|
+
query?: {
|
|
1320
|
+
/**
|
|
1321
|
+
* Time granularity for usage aggregation - hourly (Past 48 hours aggregated by hour), daily (Past 30 days aggregated by day), monthly (Past 12 months aggregated by month)
|
|
1322
|
+
*/
|
|
1323
|
+
granularity?: 'hourly' | 'daily' | 'monthly';
|
|
1324
|
+
};
|
|
1325
|
+
url: '/billing/usage';
|
|
1326
|
+
};
|
|
1327
|
+
export type GetUsageErrors = {
|
|
1328
|
+
/**
|
|
1329
|
+
* Not authenticated
|
|
1330
|
+
*/
|
|
1331
|
+
401: unknown;
|
|
1332
|
+
};
|
|
1333
|
+
export type GetUsageResponses = {
|
|
1334
|
+
/**
|
|
1335
|
+
* Usage data with facets for filtering
|
|
1336
|
+
*/
|
|
1337
|
+
200: UsageResponse;
|
|
1338
|
+
};
|
|
1339
|
+
export type GetUsageResponse = GetUsageResponses[keyof GetUsageResponses];
|
|
1340
|
+
export type GetPaymentMethodData = {
|
|
1341
|
+
body?: never;
|
|
1342
|
+
path?: never;
|
|
1343
|
+
query?: never;
|
|
1344
|
+
url: '/billing/payment-method';
|
|
1345
|
+
};
|
|
1346
|
+
export type GetPaymentMethodErrors = {
|
|
1347
|
+
/**
|
|
1348
|
+
* Returns 404 Not Found if the organization does not have a payment method set up.
|
|
1349
|
+
*/
|
|
1350
|
+
404: unknown;
|
|
1351
|
+
};
|
|
1352
|
+
export type GetPaymentMethodResponses = {
|
|
1353
|
+
/**
|
|
1354
|
+
* Redacted payment card information.
|
|
1355
|
+
*/
|
|
1356
|
+
200: PaymentMethod;
|
|
1357
|
+
};
|
|
1358
|
+
export type GetPaymentMethodResponse = GetPaymentMethodResponses[keyof GetPaymentMethodResponses];
|
|
1359
|
+
export type GetPaymentMethodSecretData = {
|
|
1360
|
+
body?: never;
|
|
1361
|
+
path?: never;
|
|
1362
|
+
query?: never;
|
|
1363
|
+
url: '/billing/payment-method';
|
|
1364
|
+
};
|
|
1365
|
+
export type GetPaymentMethodSecretResponses = {
|
|
1366
|
+
/**
|
|
1367
|
+
* 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.
|
|
1368
|
+
*
|
|
1369
|
+
*/
|
|
1370
|
+
200: {
|
|
1371
|
+
/**
|
|
1372
|
+
* The client secret.
|
|
1373
|
+
*/
|
|
1374
|
+
id?: string;
|
|
1375
|
+
};
|
|
1376
|
+
};
|
|
1377
|
+
export type GetPaymentMethodSecretResponse = GetPaymentMethodSecretResponses[keyof GetPaymentMethodSecretResponses];
|
|
1378
|
+
export type ListInvoicesData = {
|
|
1379
|
+
body?: never;
|
|
1380
|
+
path?: never;
|
|
1381
|
+
query?: never;
|
|
1382
|
+
url: '/billing/invoices';
|
|
1383
|
+
};
|
|
1384
|
+
export type ListInvoicesErrors = {
|
|
1385
|
+
/**
|
|
1386
|
+
* Not authenticated
|
|
1387
|
+
*/
|
|
1388
|
+
401: unknown;
|
|
1389
|
+
};
|
|
1390
|
+
export type ListInvoicesResponses = {
|
|
1391
|
+
/**
|
|
1392
|
+
* An array of usage records.
|
|
1393
|
+
*/
|
|
1394
|
+
200: Array<Invoice>;
|
|
1395
|
+
};
|
|
1396
|
+
export type ListInvoicesResponse = ListInvoicesResponses[keyof ListInvoicesResponses];
|
|
1397
|
+
export type GetContactData = {
|
|
1398
|
+
body?: never;
|
|
1399
|
+
path?: never;
|
|
1400
|
+
query?: never;
|
|
1401
|
+
url: '/billing/contact';
|
|
1402
|
+
};
|
|
1403
|
+
export type GetContactResponses = {
|
|
1404
|
+
/**
|
|
1405
|
+
* Returns a single object containing organization contact and billing address details.
|
|
1118
1406
|
*/
|
|
1119
|
-
|
|
1407
|
+
200: BillingContact;
|
|
1408
|
+
};
|
|
1409
|
+
export type GetContactResponse = GetContactResponses[keyof GetContactResponses];
|
|
1410
|
+
export type UpdateContactData = {
|
|
1411
|
+
body: BillingContact;
|
|
1412
|
+
path?: never;
|
|
1413
|
+
query?: never;
|
|
1414
|
+
url: '/billing/contact';
|
|
1415
|
+
};
|
|
1416
|
+
export type UpdateContactResponses = {
|
|
1120
1417
|
/**
|
|
1121
|
-
*
|
|
1418
|
+
* Successfully updated. Returns updated organization details.
|
|
1122
1419
|
*/
|
|
1123
|
-
|
|
1420
|
+
200: BillingContact;
|
|
1124
1421
|
};
|
|
1125
|
-
export type
|
|
1422
|
+
export type UpdateContactResponse = UpdateContactResponses[keyof UpdateContactResponses];
|
|
1423
|
+
export type GetCreditsData = {
|
|
1126
1424
|
body?: never;
|
|
1127
1425
|
path?: never;
|
|
1128
1426
|
query?: never;
|
|
1129
|
-
url: '/billing/
|
|
1427
|
+
url: '/billing/credits';
|
|
1130
1428
|
};
|
|
1131
|
-
export type
|
|
1429
|
+
export type GetCreditsErrors = {
|
|
1132
1430
|
/**
|
|
1133
1431
|
* Not authenticated
|
|
1134
1432
|
*/
|
|
1135
1433
|
401: unknown;
|
|
1136
1434
|
};
|
|
1137
|
-
export type
|
|
1435
|
+
export type GetCreditsResponses = {
|
|
1138
1436
|
/**
|
|
1139
|
-
* An array of
|
|
1437
|
+
* An array of the applied promotional credits records.
|
|
1140
1438
|
*/
|
|
1141
|
-
200: Array<
|
|
1439
|
+
200: Array<BillingCredits>;
|
|
1142
1440
|
};
|
|
1143
|
-
export type
|
|
1144
|
-
export type
|
|
1145
|
-
body
|
|
1441
|
+
export type GetCreditsResponse = GetCreditsResponses[keyof GetCreditsResponses];
|
|
1442
|
+
export type RedeemCreditsData = {
|
|
1443
|
+
body: {
|
|
1444
|
+
/**
|
|
1445
|
+
* Promotional code to redeem
|
|
1446
|
+
*/
|
|
1447
|
+
code?: string;
|
|
1448
|
+
};
|
|
1146
1449
|
path?: never;
|
|
1147
1450
|
query?: never;
|
|
1148
|
-
url: '/billing/
|
|
1451
|
+
url: '/billing/credits';
|
|
1149
1452
|
};
|
|
1150
|
-
export type
|
|
1453
|
+
export type RedeemCreditsErrors = {
|
|
1151
1454
|
/**
|
|
1152
|
-
*
|
|
1455
|
+
* Not authenticated
|
|
1153
1456
|
*/
|
|
1154
|
-
|
|
1457
|
+
401: unknown;
|
|
1155
1458
|
};
|
|
1156
|
-
export type
|
|
1157
|
-
|
|
1459
|
+
export type RedeemCreditsResponses = {
|
|
1460
|
+
/**
|
|
1461
|
+
* Successfully created a new organization.
|
|
1462
|
+
*/
|
|
1463
|
+
200: unknown;
|
|
1464
|
+
};
|
|
1465
|
+
export type ListChartsData = {
|
|
1158
1466
|
body?: never;
|
|
1159
|
-
path
|
|
1467
|
+
path: {
|
|
1468
|
+
/**
|
|
1469
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1470
|
+
*/
|
|
1471
|
+
cluster_id: string;
|
|
1472
|
+
};
|
|
1160
1473
|
query?: never;
|
|
1161
|
-
url: '/
|
|
1474
|
+
url: '/clusters/{cluster_id}/charts';
|
|
1162
1475
|
};
|
|
1163
|
-
export type
|
|
1476
|
+
export type ListChartsErrors = {
|
|
1164
1477
|
/**
|
|
1165
|
-
*
|
|
1478
|
+
* Not authenticated
|
|
1166
1479
|
*/
|
|
1167
|
-
|
|
1480
|
+
401: unknown;
|
|
1168
1481
|
};
|
|
1169
|
-
export type
|
|
1482
|
+
export type ListChartsResponses = {
|
|
1170
1483
|
/**
|
|
1171
|
-
*
|
|
1484
|
+
* An array of charts
|
|
1172
1485
|
*/
|
|
1173
|
-
200:
|
|
1486
|
+
200: Array<Chart>;
|
|
1174
1487
|
};
|
|
1175
|
-
export type
|
|
1176
|
-
export type
|
|
1177
|
-
body
|
|
1178
|
-
path
|
|
1488
|
+
export type ListChartsResponse = ListChartsResponses[keyof ListChartsResponses];
|
|
1489
|
+
export type CreateChartData = {
|
|
1490
|
+
body: ChartCreateInput;
|
|
1491
|
+
path: {
|
|
1492
|
+
/**
|
|
1493
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1494
|
+
*/
|
|
1495
|
+
cluster_id: string;
|
|
1496
|
+
};
|
|
1179
1497
|
query?: never;
|
|
1180
|
-
url: '/
|
|
1498
|
+
url: '/clusters/{cluster_id}/charts';
|
|
1181
1499
|
};
|
|
1182
|
-
export type
|
|
1500
|
+
export type CreateChartResponses = {
|
|
1183
1501
|
/**
|
|
1184
|
-
*
|
|
1185
|
-
*
|
|
1502
|
+
* Successfully created. Returns created Chart ID.
|
|
1186
1503
|
*/
|
|
1187
|
-
200:
|
|
1188
|
-
/**
|
|
1189
|
-
* The client secret.
|
|
1190
|
-
*/
|
|
1191
|
-
id?: string;
|
|
1192
|
-
};
|
|
1504
|
+
200: string;
|
|
1193
1505
|
};
|
|
1194
|
-
export type
|
|
1195
|
-
export type
|
|
1506
|
+
export type CreateChartResponse = CreateChartResponses[keyof CreateChartResponses];
|
|
1507
|
+
export type DeleteChartData = {
|
|
1196
1508
|
body?: never;
|
|
1197
|
-
path
|
|
1198
|
-
query: {
|
|
1509
|
+
path: {
|
|
1199
1510
|
/**
|
|
1200
|
-
*
|
|
1511
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1201
1512
|
*/
|
|
1202
|
-
|
|
1513
|
+
cluster_id: string;
|
|
1203
1514
|
/**
|
|
1204
|
-
*
|
|
1515
|
+
* Chart deployment name as the unique identifier of the chart.
|
|
1205
1516
|
*/
|
|
1206
|
-
|
|
1517
|
+
chart_name: string;
|
|
1207
1518
|
};
|
|
1208
|
-
|
|
1519
|
+
query?: never;
|
|
1520
|
+
url: '/clusters/{cluster_id}/charts/{chart_name}';
|
|
1209
1521
|
};
|
|
1210
|
-
export type
|
|
1522
|
+
export type DeleteChartResponses = {
|
|
1211
1523
|
/**
|
|
1212
|
-
*
|
|
1524
|
+
* Successfully deleted.
|
|
1213
1525
|
*/
|
|
1214
|
-
|
|
1526
|
+
200: string;
|
|
1215
1527
|
};
|
|
1216
|
-
export type
|
|
1528
|
+
export type DeleteChartResponse = DeleteChartResponses[keyof DeleteChartResponses];
|
|
1529
|
+
export type GetChartData = {
|
|
1530
|
+
body?: never;
|
|
1531
|
+
path: {
|
|
1532
|
+
/**
|
|
1533
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1534
|
+
*/
|
|
1535
|
+
cluster_id: string;
|
|
1536
|
+
/**
|
|
1537
|
+
* Chart deployment name as the unique identifier of the chart.
|
|
1538
|
+
*/
|
|
1539
|
+
chart_name: string;
|
|
1540
|
+
};
|
|
1541
|
+
query?: never;
|
|
1542
|
+
url: '/clusters/{cluster_id}/charts/{chart_name}';
|
|
1543
|
+
};
|
|
1544
|
+
export type GetChartResponses = {
|
|
1217
1545
|
/**
|
|
1218
|
-
*
|
|
1546
|
+
* Returns a single object containing chart details.
|
|
1219
1547
|
*/
|
|
1220
|
-
200:
|
|
1548
|
+
200: Chart;
|
|
1221
1549
|
};
|
|
1222
|
-
export type
|
|
1223
|
-
export type
|
|
1224
|
-
body
|
|
1550
|
+
export type GetChartResponse = GetChartResponses[keyof GetChartResponses];
|
|
1551
|
+
export type UpdateChartData = {
|
|
1552
|
+
body: ChartUpdateInput;
|
|
1225
1553
|
path: {
|
|
1226
1554
|
/**
|
|
1227
|
-
* Unique
|
|
1555
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1228
1556
|
*/
|
|
1229
|
-
|
|
1557
|
+
cluster_id: string;
|
|
1558
|
+
/**
|
|
1559
|
+
* Chart deployment name as the unique identifier of the chart.
|
|
1560
|
+
*/
|
|
1561
|
+
chart_name: string;
|
|
1230
1562
|
};
|
|
1231
1563
|
query?: never;
|
|
1232
|
-
url: '/
|
|
1564
|
+
url: '/clusters/{cluster_id}/charts/{chart_name}';
|
|
1233
1565
|
};
|
|
1234
|
-
export type
|
|
1566
|
+
export type UpdateChartResponses = {
|
|
1235
1567
|
/**
|
|
1236
|
-
*
|
|
1568
|
+
* Successfully updated.
|
|
1237
1569
|
*/
|
|
1238
|
-
200:
|
|
1239
|
-
html?: string;
|
|
1240
|
-
};
|
|
1570
|
+
200: string;
|
|
1241
1571
|
};
|
|
1242
|
-
export type
|
|
1572
|
+
export type UpdateChartResponse = UpdateChartResponses[keyof UpdateChartResponses];
|
|
1243
1573
|
export type ListFleetsData = {
|
|
1244
1574
|
body?: never;
|
|
1245
1575
|
path: {
|
|
@@ -1464,290 +1794,44 @@ export type UpdateClusterData = {
|
|
|
1464
1794
|
body: ClusterUpdateInput;
|
|
1465
1795
|
path: {
|
|
1466
1796
|
/**
|
|
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
|
|
1797
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1731
1798
|
*/
|
|
1732
|
-
|
|
1733
|
-
}
|
|
1799
|
+
cluster_id: string;
|
|
1800
|
+
};
|
|
1801
|
+
query?: never;
|
|
1802
|
+
url: '/clusters/{cluster_id}';
|
|
1803
|
+
};
|
|
1804
|
+
export type UpdateClusterResponses = {
|
|
1805
|
+
/**
|
|
1806
|
+
* Successfully updated. Returns updated cluster details.
|
|
1807
|
+
*/
|
|
1808
|
+
200: Cluster;
|
|
1734
1809
|
};
|
|
1735
|
-
export type
|
|
1736
|
-
export type
|
|
1810
|
+
export type UpdateClusterResponse = UpdateClusterResponses[keyof UpdateClusterResponses];
|
|
1811
|
+
export type GetJoinInformationData = {
|
|
1737
1812
|
body?: never;
|
|
1738
|
-
path
|
|
1813
|
+
path: {
|
|
1814
|
+
/**
|
|
1815
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1816
|
+
*/
|
|
1817
|
+
cluster_id: string;
|
|
1818
|
+
};
|
|
1739
1819
|
query?: never;
|
|
1740
|
-
url: '/
|
|
1820
|
+
url: '/clusters/{cluster_id}/join_information';
|
|
1741
1821
|
};
|
|
1742
|
-
export type
|
|
1822
|
+
export type GetJoinInformationErrors = {
|
|
1743
1823
|
/**
|
|
1744
|
-
*
|
|
1824
|
+
* Not authenticated
|
|
1745
1825
|
*/
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
|
|
1826
|
+
401: unknown;
|
|
1827
|
+
};
|
|
1828
|
+
export type GetJoinInformationResponses = {
|
|
1829
|
+
/**
|
|
1830
|
+
* An object of cluster join information
|
|
1831
|
+
*/
|
|
1832
|
+
200: ClusterJoinInformation;
|
|
1749
1833
|
};
|
|
1750
|
-
export type
|
|
1834
|
+
export type GetJoinInformationResponse = GetJoinInformationResponses[keyof GetJoinInformationResponses];
|
|
1751
1835
|
export type ListInvitesData = {
|
|
1752
1836
|
body?: never;
|
|
1753
1837
|
path?: never;
|
|
@@ -1820,6 +1904,95 @@ export type DeleteInviteResponses = {
|
|
|
1820
1904
|
*/
|
|
1821
1905
|
200: unknown;
|
|
1822
1906
|
};
|
|
1907
|
+
export type ListMarketplaceChartsData = {
|
|
1908
|
+
body?: never;
|
|
1909
|
+
path?: never;
|
|
1910
|
+
query?: never;
|
|
1911
|
+
url: '/marketplace';
|
|
1912
|
+
};
|
|
1913
|
+
export type ListMarketplaceChartsErrors = {
|
|
1914
|
+
/**
|
|
1915
|
+
* Not authenticated
|
|
1916
|
+
*/
|
|
1917
|
+
401: unknown;
|
|
1918
|
+
};
|
|
1919
|
+
export type ListMarketplaceChartsResponses = {
|
|
1920
|
+
/**
|
|
1921
|
+
* An array of chart listings in the marketplace.
|
|
1922
|
+
*/
|
|
1923
|
+
200: Array<MarketplaceListing>;
|
|
1924
|
+
};
|
|
1925
|
+
export type ListMarketplaceChartsResponse = ListMarketplaceChartsResponses[keyof ListMarketplaceChartsResponses];
|
|
1926
|
+
export type GetMarketplaceChartFilesData = {
|
|
1927
|
+
body?: never;
|
|
1928
|
+
path: {
|
|
1929
|
+
/**
|
|
1930
|
+
* Name of the chart in the marketplace.
|
|
1931
|
+
*/
|
|
1932
|
+
chart_name: string;
|
|
1933
|
+
/**
|
|
1934
|
+
* Version channel pattern to match (e.g., "1.31.x-cfke.x" for latest 1.31 patch, "1.x.x-cfke.x" for latest 1.x minor).
|
|
1935
|
+
*/
|
|
1936
|
+
version_channel: string;
|
|
1937
|
+
};
|
|
1938
|
+
query?: never;
|
|
1939
|
+
url: '/marketplace/{chart_name}/files/{version_channel}';
|
|
1940
|
+
};
|
|
1941
|
+
export type GetMarketplaceChartFilesErrors = {
|
|
1942
|
+
/**
|
|
1943
|
+
* Chart not found or no version matches the channel
|
|
1944
|
+
*/
|
|
1945
|
+
404: unknown;
|
|
1946
|
+
};
|
|
1947
|
+
export type GetMarketplaceChartFilesResponses = {
|
|
1948
|
+
/**
|
|
1949
|
+
* Returns an object containing the chart files for the latest matching version.
|
|
1950
|
+
*/
|
|
1951
|
+
200: MarketplaceListingFiles;
|
|
1952
|
+
};
|
|
1953
|
+
export type GetMarketplaceChartFilesResponse = GetMarketplaceChartFilesResponses[keyof GetMarketplaceChartFilesResponses];
|
|
1954
|
+
export type PostMcpData = {
|
|
1955
|
+
/**
|
|
1956
|
+
* JSON-RPC 2.0 request payload
|
|
1957
|
+
*/
|
|
1958
|
+
body: {
|
|
1959
|
+
jsonrpc?: string;
|
|
1960
|
+
method?: string;
|
|
1961
|
+
id?: string | number;
|
|
1962
|
+
/**
|
|
1963
|
+
* Method-specific parameters
|
|
1964
|
+
*/
|
|
1965
|
+
params?: {
|
|
1966
|
+
[key: string]: unknown;
|
|
1967
|
+
};
|
|
1968
|
+
};
|
|
1969
|
+
path?: never;
|
|
1970
|
+
query?: never;
|
|
1971
|
+
url: '/mcp';
|
|
1972
|
+
};
|
|
1973
|
+
export type PostMcpErrors = {
|
|
1974
|
+
/**
|
|
1975
|
+
* Not authenticated
|
|
1976
|
+
*/
|
|
1977
|
+
401: unknown;
|
|
1978
|
+
};
|
|
1979
|
+
export type PostMcpResponses = {
|
|
1980
|
+
/**
|
|
1981
|
+
* JSON-RPC 2.0 success or error response
|
|
1982
|
+
*/
|
|
1983
|
+
200: {
|
|
1984
|
+
jsonrpc?: string;
|
|
1985
|
+
id?: string | number;
|
|
1986
|
+
result?: {
|
|
1987
|
+
[key: string]: unknown;
|
|
1988
|
+
};
|
|
1989
|
+
error?: {
|
|
1990
|
+
code?: number;
|
|
1991
|
+
message?: string;
|
|
1992
|
+
};
|
|
1993
|
+
};
|
|
1994
|
+
};
|
|
1995
|
+
export type PostMcpResponse = PostMcpResponses[keyof PostMcpResponses];
|
|
1823
1996
|
export type GetOrganizationData = {
|
|
1824
1997
|
body?: never;
|
|
1825
1998
|
path?: never;
|
|
@@ -1845,19 +2018,249 @@ export type CreateOrganizationResponses = {
|
|
|
1845
2018
|
*/
|
|
1846
2019
|
200: unknown;
|
|
1847
2020
|
};
|
|
1848
|
-
export type
|
|
1849
|
-
body
|
|
2021
|
+
export type ListRepositoriesData = {
|
|
2022
|
+
body?: never;
|
|
1850
2023
|
path?: never;
|
|
1851
2024
|
query?: never;
|
|
1852
|
-
url: '/
|
|
2025
|
+
url: '/registry';
|
|
1853
2026
|
};
|
|
1854
|
-
export type
|
|
2027
|
+
export type ListRepositoriesErrors = {
|
|
1855
2028
|
/**
|
|
1856
|
-
*
|
|
2029
|
+
* Not authenticated
|
|
1857
2030
|
*/
|
|
1858
|
-
|
|
2031
|
+
401: unknown;
|
|
2032
|
+
/**
|
|
2033
|
+
* Internal server error
|
|
2034
|
+
*/
|
|
2035
|
+
500: unknown;
|
|
2036
|
+
};
|
|
2037
|
+
export type ListRepositoriesResponses = {
|
|
2038
|
+
/**
|
|
2039
|
+
* List of repositories
|
|
2040
|
+
*/
|
|
2041
|
+
200: Array<RegistryRepository>;
|
|
2042
|
+
};
|
|
2043
|
+
export type ListRepositoriesResponse = ListRepositoriesResponses[keyof ListRepositoriesResponses];
|
|
2044
|
+
export type ListTagsData = {
|
|
2045
|
+
body?: never;
|
|
2046
|
+
path: {
|
|
2047
|
+
/**
|
|
2048
|
+
* Region where the repository is located
|
|
2049
|
+
*/
|
|
2050
|
+
region: string;
|
|
2051
|
+
/**
|
|
2052
|
+
* Name of the repository
|
|
2053
|
+
*/
|
|
2054
|
+
repository: string;
|
|
2055
|
+
};
|
|
2056
|
+
query?: never;
|
|
2057
|
+
url: '/registry/{region}/{repository}';
|
|
2058
|
+
};
|
|
2059
|
+
export type ListTagsErrors = {
|
|
2060
|
+
/**
|
|
2061
|
+
* Not authenticated
|
|
2062
|
+
*/
|
|
2063
|
+
401: unknown;
|
|
2064
|
+
/**
|
|
2065
|
+
* Repository not found
|
|
2066
|
+
*/
|
|
2067
|
+
404: unknown;
|
|
2068
|
+
/**
|
|
2069
|
+
* Internal server error
|
|
2070
|
+
*/
|
|
2071
|
+
500: unknown;
|
|
2072
|
+
};
|
|
2073
|
+
export type ListTagsResponses = {
|
|
2074
|
+
/**
|
|
2075
|
+
* Repository with tags
|
|
2076
|
+
*/
|
|
2077
|
+
200: RegistryRepositoryWithTags;
|
|
2078
|
+
};
|
|
2079
|
+
export type ListTagsResponse = ListTagsResponses[keyof ListTagsResponses];
|
|
2080
|
+
export type DeleteTagData = {
|
|
2081
|
+
body?: never;
|
|
2082
|
+
path: {
|
|
2083
|
+
/**
|
|
2084
|
+
* Region where the repository is located
|
|
2085
|
+
*/
|
|
2086
|
+
region: string;
|
|
2087
|
+
/**
|
|
2088
|
+
* Name of the repository
|
|
2089
|
+
*/
|
|
2090
|
+
repository: string;
|
|
2091
|
+
/**
|
|
2092
|
+
* Name of the tag
|
|
2093
|
+
*/
|
|
2094
|
+
tag: string;
|
|
2095
|
+
};
|
|
2096
|
+
query?: never;
|
|
2097
|
+
url: '/registry/{region}/{repository}/{tag}';
|
|
2098
|
+
};
|
|
2099
|
+
export type DeleteTagErrors = {
|
|
2100
|
+
/**
|
|
2101
|
+
* Not authenticated
|
|
2102
|
+
*/
|
|
2103
|
+
401: unknown;
|
|
2104
|
+
/**
|
|
2105
|
+
* Tag not found
|
|
2106
|
+
*/
|
|
2107
|
+
404: unknown;
|
|
2108
|
+
/**
|
|
2109
|
+
* Internal server error
|
|
2110
|
+
*/
|
|
2111
|
+
500: unknown;
|
|
2112
|
+
};
|
|
2113
|
+
export type DeleteTagResponses = {
|
|
2114
|
+
/**
|
|
2115
|
+
* Tag successfully deleted
|
|
2116
|
+
*/
|
|
2117
|
+
200: unknown;
|
|
2118
|
+
};
|
|
2119
|
+
export type GetTagData = {
|
|
2120
|
+
body?: never;
|
|
2121
|
+
path: {
|
|
2122
|
+
/**
|
|
2123
|
+
* Region where the repository is located
|
|
2124
|
+
*/
|
|
2125
|
+
region: string;
|
|
2126
|
+
/**
|
|
2127
|
+
* Name of the repository
|
|
2128
|
+
*/
|
|
2129
|
+
repository: string;
|
|
2130
|
+
/**
|
|
2131
|
+
* Name of the tag
|
|
2132
|
+
*/
|
|
2133
|
+
tag: string;
|
|
2134
|
+
};
|
|
2135
|
+
query?: never;
|
|
2136
|
+
url: '/registry/{region}/{repository}/{tag}';
|
|
2137
|
+
};
|
|
2138
|
+
export type GetTagErrors = {
|
|
2139
|
+
/**
|
|
2140
|
+
* Not authenticated
|
|
2141
|
+
*/
|
|
2142
|
+
401: unknown;
|
|
2143
|
+
/**
|
|
2144
|
+
* Tag not found
|
|
2145
|
+
*/
|
|
2146
|
+
404: unknown;
|
|
2147
|
+
/**
|
|
2148
|
+
* Internal server error
|
|
2149
|
+
*/
|
|
2150
|
+
500: unknown;
|
|
2151
|
+
};
|
|
2152
|
+
export type GetTagResponses = {
|
|
2153
|
+
/**
|
|
2154
|
+
* Tag details
|
|
2155
|
+
*/
|
|
2156
|
+
200: RegistryTag;
|
|
2157
|
+
};
|
|
2158
|
+
export type GetTagResponse = GetTagResponses[keyof GetTagResponses];
|
|
2159
|
+
export type ListTicketsData = {
|
|
2160
|
+
body?: never;
|
|
2161
|
+
path?: never;
|
|
2162
|
+
query?: never;
|
|
2163
|
+
url: '/tickets';
|
|
2164
|
+
};
|
|
2165
|
+
export type ListTicketsResponses = {
|
|
2166
|
+
/**
|
|
2167
|
+
* Tickets for the organization.
|
|
2168
|
+
*/
|
|
2169
|
+
200: TicketListResponse;
|
|
2170
|
+
};
|
|
2171
|
+
export type ListTicketsResponse = ListTicketsResponses[keyof ListTicketsResponses];
|
|
2172
|
+
export type CreateTicketData = {
|
|
2173
|
+
body: {
|
|
2174
|
+
/**
|
|
2175
|
+
* JSON-encoded TicketCreateInput.
|
|
2176
|
+
*/
|
|
2177
|
+
payload?: string;
|
|
2178
|
+
attachments?: Array<Blob | File>;
|
|
2179
|
+
};
|
|
2180
|
+
path?: never;
|
|
2181
|
+
query?: never;
|
|
2182
|
+
url: '/tickets';
|
|
2183
|
+
};
|
|
2184
|
+
export type CreateTicketResponses = {
|
|
2185
|
+
/**
|
|
2186
|
+
* Ticket created.
|
|
2187
|
+
*/
|
|
2188
|
+
200: Ticket;
|
|
2189
|
+
};
|
|
2190
|
+
export type CreateTicketResponse = CreateTicketResponses[keyof CreateTicketResponses];
|
|
2191
|
+
export type CloseTicketData = {
|
|
2192
|
+
body?: never;
|
|
2193
|
+
path: {
|
|
2194
|
+
ticket_id: string;
|
|
2195
|
+
};
|
|
2196
|
+
query?: never;
|
|
2197
|
+
url: '/tickets/{ticket_id}';
|
|
2198
|
+
};
|
|
2199
|
+
export type CloseTicketResponses = {
|
|
2200
|
+
/**
|
|
2201
|
+
* Ticket closed.
|
|
2202
|
+
*/
|
|
2203
|
+
200: Ticket;
|
|
2204
|
+
};
|
|
2205
|
+
export type CloseTicketResponse = CloseTicketResponses[keyof CloseTicketResponses];
|
|
2206
|
+
export type GetTicketData = {
|
|
2207
|
+
body?: never;
|
|
2208
|
+
path: {
|
|
2209
|
+
ticket_id: string;
|
|
2210
|
+
};
|
|
2211
|
+
query?: never;
|
|
2212
|
+
url: '/tickets/{ticket_id}';
|
|
2213
|
+
};
|
|
2214
|
+
export type GetTicketResponses = {
|
|
2215
|
+
/**
|
|
2216
|
+
* Ticket with messages (internal notes excluded).
|
|
2217
|
+
*/
|
|
2218
|
+
200: Ticket;
|
|
2219
|
+
};
|
|
2220
|
+
export type GetTicketResponse = GetTicketResponses[keyof GetTicketResponses];
|
|
2221
|
+
export type ReplyTicketData = {
|
|
2222
|
+
body: {
|
|
2223
|
+
/**
|
|
2224
|
+
* JSON-encoded TicketMessageInput.
|
|
2225
|
+
*/
|
|
2226
|
+
payload?: string;
|
|
2227
|
+
attachments?: Array<Blob | File>;
|
|
2228
|
+
};
|
|
2229
|
+
path: {
|
|
2230
|
+
ticket_id: string;
|
|
2231
|
+
};
|
|
2232
|
+
query?: never;
|
|
2233
|
+
url: '/tickets/{ticket_id}/messages';
|
|
2234
|
+
};
|
|
2235
|
+
export type ReplyTicketErrors = {
|
|
2236
|
+
/**
|
|
2237
|
+
* Ticket is closed. Open a new ticket instead.
|
|
2238
|
+
*/
|
|
2239
|
+
409: unknown;
|
|
2240
|
+
};
|
|
2241
|
+
export type ReplyTicketResponses = {
|
|
2242
|
+
/**
|
|
2243
|
+
* Reply appended.
|
|
2244
|
+
*/
|
|
2245
|
+
200: TicketMessage;
|
|
2246
|
+
};
|
|
2247
|
+
export type ReplyTicketResponse = ReplyTicketResponses[keyof ReplyTicketResponses];
|
|
2248
|
+
export type GetTicketAttachmentData = {
|
|
2249
|
+
body?: never;
|
|
2250
|
+
path: {
|
|
2251
|
+
ticket_id: string;
|
|
2252
|
+
attachment_id: string;
|
|
2253
|
+
};
|
|
2254
|
+
query?: never;
|
|
2255
|
+
url: '/tickets/{ticket_id}/attachments/{attachment_id}';
|
|
2256
|
+
};
|
|
2257
|
+
export type GetTicketAttachmentResponses = {
|
|
2258
|
+
/**
|
|
2259
|
+
* Attachment binary stream.
|
|
2260
|
+
*/
|
|
2261
|
+
200: Blob | File;
|
|
1859
2262
|
};
|
|
1860
|
-
export type
|
|
2263
|
+
export type GetTicketAttachmentResponse = GetTicketAttachmentResponses[keyof GetTicketAttachmentResponses];
|
|
1861
2264
|
export type ListTokensData = {
|
|
1862
2265
|
body?: never;
|
|
1863
2266
|
path?: never;
|
|
@@ -2114,53 +2517,4 @@ export type UpdateUserResponses = {
|
|
|
2114
2517
|
200: User;
|
|
2115
2518
|
};
|
|
2116
2519
|
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
2520
|
//# sourceMappingURL=types.gen.d.ts.map
|