@cloudfleet/sdk 0.0.1-cdd334c → 0.0.1-d06768f
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/README.md +56 -2
- package/dist/@tanstack/react-query.gen.d.ts +943 -0
- package/dist/@tanstack/react-query.gen.d.ts.map +1 -0
- package/dist/@tanstack/react-query.gen.js +1156 -0
- package/dist/@tanstack/react-query.gen.js.map +1 -0
- package/dist/client/client.gen.d.ts.map +1 -1
- package/dist/client/client.gen.js +104 -123
- package/dist/client/client.gen.js.map +1 -1
- package/dist/client/types.gen.d.ts +6 -3
- package/dist/client/types.gen.d.ts.map +1 -1
- package/dist/client/utils.gen.d.ts +7 -3
- package/dist/client/utils.gen.d.ts.map +1 -1
- package/dist/client/utils.gen.js +3 -3
- package/dist/client/utils.gen.js.map +1 -1
- package/dist/core/params.gen.js +4 -4
- package/dist/core/params.gen.js.map +1 -1
- package/dist/core/serverSentEvents.gen.d.ts +1 -1
- package/dist/core/serverSentEvents.gen.d.ts.map +1 -1
- package/dist/core/serverSentEvents.gen.js +3 -4
- package/dist/core/serverSentEvents.gen.js.map +1 -1
- package/dist/errors.d.ts +42 -0
- package/dist/errors.d.ts.map +1 -0
- package/dist/errors.js +83 -0
- package/dist/errors.js.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -1
- package/dist/schemas.gen.d.ts +1264 -430
- package/dist/schemas.gen.d.ts.map +1 -1
- package/dist/schemas.gen.js +2274 -519
- package/dist/schemas.gen.js.map +1 -1
- package/dist/sdk.gen.d.ts +236 -193
- package/dist/sdk.gen.d.ts.map +1 -1
- package/dist/sdk.gen.js +351 -268
- package/dist/sdk.gen.js.map +1 -1
- package/dist/services/kubernetes/api.d.ts +10 -47
- package/dist/services/kubernetes/api.d.ts.map +1 -1
- package/dist/services/kubernetes/api.js +36 -75
- package/dist/services/kubernetes/api.js.map +1 -1
- package/dist/services/kubernetes/index.d.ts.map +1 -1
- package/dist/services/kubernetes/index.js +36 -37
- package/dist/services/kubernetes/index.js.map +1 -1
- package/dist/types.gen.d.ts +1519 -838
- package/dist/types.gen.d.ts.map +1 -1
- package/dist/zod.gen.d.ts +3528 -1193
- package/dist/zod.gen.d.ts.map +1 -1
- package/dist/zod.gen.js +1365 -338
- package/dist/zod.gen.js.map +1 -1
- package/package.json +27 -13
package/dist/types.gen.d.ts
CHANGED
|
@@ -2,6 +2,10 @@ export type ClientOptions = {
|
|
|
2
2
|
baseUrl: 'https://api.cloudfleet.ai/v1' | (string & {});
|
|
3
3
|
};
|
|
4
4
|
export type BillingContact = {
|
|
5
|
+
/**
|
|
6
|
+
* Type of the organization. `business` for legal entities, `personal` for individuals.
|
|
7
|
+
*/
|
|
8
|
+
type: 'business' | 'personal';
|
|
5
9
|
/**
|
|
6
10
|
* Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
|
|
7
11
|
*/
|
|
@@ -49,7 +53,7 @@ export type BillingContact = {
|
|
|
49
53
|
/**
|
|
50
54
|
* Type of the tax ID.
|
|
51
55
|
*/
|
|
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' | '';
|
|
56
|
+
tax_id_type?: 'ad_nrt' | 'ae_trn' | 'al_tin' | 'am_tin' | 'ao_tin' | 'ar_cuit' | 'at_vat' | 'au_abn' | 'au_arn' | 'aw_tin' | 'az_tin' | 'ba_tin' | 'bb_tin' | 'bd_bin' | 'be_vat' | 'bf_ifu' | 'bg_uic' | 'bg_vat' | 'bh_vat' | 'bj_ifu' | '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' | 'cm_niu' | 'cn_tin' | 'co_nit' | 'cr_tin' | 'cv_nif' | 'cy_vat' | 'cz_vat' | 'de_stn' | 'de_vat' | 'dk_vat' | 'do_rcn' | 'ec_ruc' | 'ee_vat' | 'eg_tin' | 'es_cif' | 'es_vat' | 'et_tin' | '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' | 'kg_tin' | 'kh_tin' | 'kr_brn' | 'kz_bin' | 'la_tin' | 'li_uid' | 'li_vat' | 'lk_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
57
|
};
|
|
54
58
|
export type BillingCredits = {
|
|
55
59
|
/**
|
|
@@ -85,97 +89,72 @@ export type BillingCredits = {
|
|
|
85
89
|
*/
|
|
86
90
|
value_remaining?: number;
|
|
87
91
|
};
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
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;
|
|
92
|
+
/**
|
|
93
|
+
* Mutable cluster configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
|
|
94
|
+
*/
|
|
95
|
+
export type ClusterCreateInput = {
|
|
119
96
|
/**
|
|
120
|
-
*
|
|
97
|
+
* Name of the cluster.
|
|
121
98
|
*/
|
|
122
99
|
name: string;
|
|
123
100
|
/**
|
|
124
|
-
*
|
|
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.
|
|
101
|
+
* Tier of the cluster.
|
|
155
102
|
*/
|
|
156
|
-
|
|
103
|
+
tier?: 'basic' | 'pro' | 'enterprise';
|
|
157
104
|
/**
|
|
158
|
-
*
|
|
105
|
+
* Version of the kubernetes cluster.
|
|
159
106
|
*/
|
|
160
|
-
version_channel
|
|
161
|
-
};
|
|
162
|
-
export type ClusterCreateInput = {
|
|
107
|
+
version_channel?: string;
|
|
163
108
|
/**
|
|
164
|
-
*
|
|
109
|
+
* Release channel for the cluster's control plane.
|
|
165
110
|
*/
|
|
166
|
-
|
|
111
|
+
release_channel?: 'rapid' | 'stable' | 'extended';
|
|
167
112
|
/**
|
|
168
|
-
*
|
|
113
|
+
* Cluster feature toggles.
|
|
169
114
|
*/
|
|
170
|
-
|
|
115
|
+
features?: {
|
|
116
|
+
/**
|
|
117
|
+
* GPU sharing strategy.
|
|
118
|
+
*/
|
|
119
|
+
gpu_sharing_strategy?: 'none' | 'mps' | 'time_slicing';
|
|
120
|
+
/**
|
|
121
|
+
* Maximum number of pods that may share a single GPU.
|
|
122
|
+
*/
|
|
123
|
+
gpu_max_shared_clients_per_gpu?: number;
|
|
124
|
+
/**
|
|
125
|
+
* Restrict Cilium socket load-balancing to the host namespace. Required for the Tailscale operator and Istio.
|
|
126
|
+
*/
|
|
127
|
+
cilium_socket_lb_host_namespace_only?: boolean;
|
|
128
|
+
};
|
|
171
129
|
/**
|
|
172
|
-
* Cloudfleet control plane region.
|
|
130
|
+
* Cloudfleet control plane region. This field can not be updated after creation.
|
|
173
131
|
*/
|
|
174
|
-
region
|
|
132
|
+
region: string;
|
|
175
133
|
/**
|
|
176
|
-
*
|
|
134
|
+
* Cluster networking configuration. Immutable after creation.
|
|
177
135
|
*/
|
|
178
|
-
|
|
136
|
+
networking?: {
|
|
137
|
+
/**
|
|
138
|
+
* CIDR block for pod IPs.
|
|
139
|
+
*/
|
|
140
|
+
pod_cidr?: string;
|
|
141
|
+
/**
|
|
142
|
+
* CIDR block for service IPs.
|
|
143
|
+
*/
|
|
144
|
+
service_cidr?: string;
|
|
145
|
+
/**
|
|
146
|
+
* Enable IPv4+IPv6 dual-stack networking.
|
|
147
|
+
*/
|
|
148
|
+
dual_stack?: boolean;
|
|
149
|
+
/**
|
|
150
|
+
* IPv6 pod CIDR. Requires dual_stack.
|
|
151
|
+
*/
|
|
152
|
+
pod_cidr_v6?: string;
|
|
153
|
+
/**
|
|
154
|
+
* IPv6 service CIDR. Requires dual_stack.
|
|
155
|
+
*/
|
|
156
|
+
service_cidr_v6?: string;
|
|
157
|
+
};
|
|
179
158
|
};
|
|
180
159
|
export type ClusterJoinInformation = {
|
|
181
160
|
/**
|
|
@@ -190,10 +169,18 @@ export type ClusterJoinInformation = {
|
|
|
190
169
|
* Cluster DNS IP address. This is the IP address of the kube-dns service in the cluster.
|
|
191
170
|
*/
|
|
192
171
|
cluster_dns: string;
|
|
172
|
+
/**
|
|
173
|
+
* Pod CIDR for the cluster. Used to configure iptables rules on nodes to prevent Tailscale routing loops.
|
|
174
|
+
*/
|
|
175
|
+
pod_cidr: string;
|
|
193
176
|
/**
|
|
194
177
|
* Authentication key for the cluster.
|
|
195
178
|
*/
|
|
196
179
|
auth_key: string;
|
|
180
|
+
/**
|
|
181
|
+
* Coordination server the node registers against. Empty on data plane v1 clusters, where the node advertises its own tag instead. A non-empty value requires a client that declares the dataplane-v2 capability.
|
|
182
|
+
*/
|
|
183
|
+
login_server: string;
|
|
197
184
|
/**
|
|
198
185
|
* Bootstrap token for the cluster.
|
|
199
186
|
*/
|
|
@@ -237,6 +224,9 @@ export type ClusterJoinInformation = {
|
|
|
237
224
|
gcp_workload_identity_provider: string;
|
|
238
225
|
};
|
|
239
226
|
};
|
|
227
|
+
/**
|
|
228
|
+
* Mutable cluster configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
|
|
229
|
+
*/
|
|
240
230
|
export type Cluster = {
|
|
241
231
|
/**
|
|
242
232
|
* Name of the cluster.
|
|
@@ -245,20 +235,71 @@ export type Cluster = {
|
|
|
245
235
|
/**
|
|
246
236
|
* Tier of the cluster.
|
|
247
237
|
*/
|
|
248
|
-
tier: 'basic' | 'pro';
|
|
238
|
+
tier: 'basic' | 'pro' | 'enterprise';
|
|
239
|
+
/**
|
|
240
|
+
* Version of the kubernetes cluster.
|
|
241
|
+
*/
|
|
242
|
+
version_channel: string;
|
|
243
|
+
/**
|
|
244
|
+
* Release channel for the cluster's control plane.
|
|
245
|
+
*/
|
|
246
|
+
release_channel: 'rapid' | 'stable' | 'extended';
|
|
247
|
+
/**
|
|
248
|
+
* Cluster feature toggles.
|
|
249
|
+
*/
|
|
250
|
+
features: {
|
|
251
|
+
/**
|
|
252
|
+
* GPU sharing strategy.
|
|
253
|
+
*/
|
|
254
|
+
gpu_sharing_strategy: 'none' | 'mps' | 'time_slicing';
|
|
255
|
+
/**
|
|
256
|
+
* Maximum number of pods that may share a single GPU.
|
|
257
|
+
*/
|
|
258
|
+
gpu_max_shared_clients_per_gpu: number;
|
|
259
|
+
/**
|
|
260
|
+
* Restrict Cilium socket load-balancing to the host namespace. Required for the Tailscale operator and Istio.
|
|
261
|
+
*/
|
|
262
|
+
cilium_socket_lb_host_namespace_only: boolean;
|
|
263
|
+
};
|
|
264
|
+
/**
|
|
265
|
+
* Cloudfleet control plane region. This field can not be updated after creation.
|
|
266
|
+
*/
|
|
267
|
+
region: string;
|
|
249
268
|
/**
|
|
250
|
-
*
|
|
269
|
+
* Cluster networking configuration. Immutable after creation.
|
|
251
270
|
*/
|
|
252
|
-
|
|
271
|
+
networking: {
|
|
272
|
+
/**
|
|
273
|
+
* CIDR block for pod IPs.
|
|
274
|
+
*/
|
|
275
|
+
pod_cidr: string;
|
|
276
|
+
/**
|
|
277
|
+
* CIDR block for service IPs.
|
|
278
|
+
*/
|
|
279
|
+
service_cidr: string;
|
|
280
|
+
/**
|
|
281
|
+
* Enable IPv4+IPv6 dual-stack networking.
|
|
282
|
+
*/
|
|
283
|
+
dual_stack: boolean;
|
|
284
|
+
/**
|
|
285
|
+
* IPv6 pod CIDR. Requires dual_stack.
|
|
286
|
+
*/
|
|
287
|
+
pod_cidr_v6: string;
|
|
288
|
+
/**
|
|
289
|
+
* IPv6 service CIDR. Requires dual_stack.
|
|
290
|
+
*/
|
|
291
|
+
service_cidr_v6: string;
|
|
292
|
+
};
|
|
253
293
|
/**
|
|
254
294
|
* Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
|
|
255
295
|
*/
|
|
256
296
|
id: string;
|
|
257
297
|
/**
|
|
258
|
-
* Status of the cluster.
|
|
298
|
+
* Status of the cluster.
|
|
259
299
|
*/
|
|
260
|
-
status: '
|
|
300
|
+
status: 'creating' | 'deployed' | 'updating' | 'disabled';
|
|
261
301
|
endpoint?: string | '';
|
|
302
|
+
endpoint_public?: string | '';
|
|
262
303
|
/**
|
|
263
304
|
* Certificate authority data for the kubernetes cluster. This is the root certificate authority for the cluster.
|
|
264
305
|
*/
|
|
@@ -278,129 +319,338 @@ export type Cluster = {
|
|
|
278
319
|
/**
|
|
279
320
|
* Indicates if the cluster is ready to be used.
|
|
280
321
|
*/
|
|
281
|
-
ready
|
|
282
|
-
/**
|
|
283
|
-
* Version of the kubernetes cluster.
|
|
284
|
-
*/
|
|
285
|
-
version_channel?: string;
|
|
322
|
+
ready: boolean;
|
|
286
323
|
};
|
|
324
|
+
/**
|
|
325
|
+
* Mutable cluster configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
|
|
326
|
+
*/
|
|
287
327
|
export type ClusterUpdateInput = {
|
|
288
328
|
/**
|
|
289
329
|
* Name of the cluster.
|
|
290
330
|
*/
|
|
291
|
-
name
|
|
331
|
+
name: string;
|
|
292
332
|
/**
|
|
293
333
|
* Tier of the cluster.
|
|
294
334
|
*/
|
|
295
|
-
tier
|
|
335
|
+
tier?: 'basic' | 'pro' | 'enterprise';
|
|
296
336
|
/**
|
|
297
337
|
* Version of the kubernetes cluster.
|
|
298
338
|
*/
|
|
299
339
|
version_channel?: string;
|
|
340
|
+
/**
|
|
341
|
+
* Release channel for the cluster's control plane.
|
|
342
|
+
*/
|
|
343
|
+
release_channel?: 'rapid' | 'stable' | 'extended';
|
|
344
|
+
/**
|
|
345
|
+
* Cluster feature toggles.
|
|
346
|
+
*/
|
|
347
|
+
features?: {
|
|
348
|
+
/**
|
|
349
|
+
* GPU sharing strategy.
|
|
350
|
+
*/
|
|
351
|
+
gpu_sharing_strategy?: 'none' | 'mps' | 'time_slicing';
|
|
352
|
+
/**
|
|
353
|
+
* Maximum number of pods that may share a single GPU.
|
|
354
|
+
*/
|
|
355
|
+
gpu_max_shared_clients_per_gpu?: number;
|
|
356
|
+
/**
|
|
357
|
+
* Restrict Cilium socket load-balancing to the host namespace. Required for the Tailscale operator and Istio.
|
|
358
|
+
*/
|
|
359
|
+
cilium_socket_lb_host_namespace_only?: boolean;
|
|
360
|
+
};
|
|
361
|
+
};
|
|
362
|
+
export type FeedbackCreateInput = {
|
|
363
|
+
/**
|
|
364
|
+
* Overall sentiment: positive, neutral or negative.
|
|
365
|
+
*/
|
|
366
|
+
sentiment: 'positive' | 'neutral' | 'negative';
|
|
367
|
+
/**
|
|
368
|
+
* What was useful, confusing, wrong or missing.
|
|
369
|
+
*/
|
|
370
|
+
message: string;
|
|
371
|
+
/**
|
|
372
|
+
* What you were trying to do when it happened.
|
|
373
|
+
*/
|
|
374
|
+
context?: string;
|
|
375
|
+
/**
|
|
376
|
+
* Where the feedback was sent from: cli, mcp, plugin, console or api. Defaults to api.
|
|
377
|
+
*/
|
|
378
|
+
source?: 'cli' | 'mcp' | 'plugin' | 'console' | 'api';
|
|
379
|
+
/**
|
|
380
|
+
* Name and version of the sending client.
|
|
381
|
+
*/
|
|
382
|
+
client?: string;
|
|
383
|
+
};
|
|
384
|
+
export type Feedback = {
|
|
385
|
+
/**
|
|
386
|
+
* Unique identifier of the feedback entry (Mongo ObjectId).
|
|
387
|
+
*/
|
|
388
|
+
id: string;
|
|
300
389
|
};
|
|
390
|
+
/**
|
|
391
|
+
* Mutable fleet configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
|
|
392
|
+
*/
|
|
301
393
|
export type FleetCreateInput = {
|
|
302
394
|
/**
|
|
303
395
|
* Limits define a set of bounds for provisioning capacity.
|
|
304
396
|
*/
|
|
305
397
|
limits?: {
|
|
306
398
|
/**
|
|
307
|
-
* CPU limit in cores.
|
|
399
|
+
* CPU limit in cores. Maximum 100,000.
|
|
308
400
|
*/
|
|
309
|
-
cpu
|
|
401
|
+
cpu?: number;
|
|
310
402
|
};
|
|
311
403
|
gcp?: {
|
|
312
|
-
enabled
|
|
404
|
+
enabled: boolean;
|
|
313
405
|
/**
|
|
314
|
-
*
|
|
406
|
+
* GCP project ID to deploy instances into. 6-30 chars, lowercase letters/digits/hyphens, must start with a letter and not end with a hyphen. Omit when GCP is disabled.
|
|
315
407
|
*/
|
|
316
|
-
project
|
|
408
|
+
project?: string;
|
|
317
409
|
};
|
|
318
410
|
hetzner?: {
|
|
319
|
-
enabled
|
|
411
|
+
enabled: boolean;
|
|
320
412
|
/**
|
|
321
|
-
* Hetzner Cloud API
|
|
413
|
+
* Hetzner Cloud API token with read/write access (64 alphanumeric characters). Write-only: reads return a redacted placeholder, never the token. Omit the field, or send the placeholder back unchanged, to keep the existing key. Send a new value to rotate it.
|
|
322
414
|
*/
|
|
323
|
-
apiKey
|
|
415
|
+
apiKey?: string;
|
|
324
416
|
};
|
|
325
417
|
aws?: {
|
|
326
|
-
enabled
|
|
418
|
+
enabled: boolean;
|
|
419
|
+
/**
|
|
420
|
+
* AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.
|
|
421
|
+
*/
|
|
422
|
+
controllerRoleArn?: string;
|
|
423
|
+
};
|
|
424
|
+
/**
|
|
425
|
+
* Constraints define scheduling and provisioning requirements for the fleet. Each field restricts the values allowed for a given Kubernetes label key. Multiple constraints are ANDed together.
|
|
426
|
+
*/
|
|
427
|
+
constraints?: {
|
|
428
|
+
/**
|
|
429
|
+
* Allowed values for `karpenter.sh/capacity-type`.
|
|
430
|
+
*/
|
|
431
|
+
'karpenter.sh/capacity-type'?: Array<'on-demand' | 'spot'>;
|
|
432
|
+
/**
|
|
433
|
+
* Allowed values for `kubernetes.io/arch`.
|
|
434
|
+
*/
|
|
435
|
+
'kubernetes.io/arch'?: Array<'amd64' | 'arm64'>;
|
|
327
436
|
/**
|
|
328
|
-
*
|
|
437
|
+
* Allowed values for `cfke.io/instance-family`.
|
|
329
438
|
*/
|
|
330
|
-
|
|
439
|
+
'cfke.io/instance-family'?: Array<'a1' | 'a2' | 'a3' | 'a4' | 'c1' | 'c2' | 'c2d' | 'c3' | 'c3d' | 'c4' | 'c4a' | 'c4d' | 'c5' | 'c5a' | 'c5ad' | 'c5d' | 'c5n' | 'c6a' | 'c6g' | 'c6gd' | 'c6gn' | 'c6i' | 'c6id' | 'c6in' | 'c7a' | 'c7g' | 'c7gd' | 'c7gn' | 'c7i' | 'c7i-flex' | 'c8g' | 'c8gd' | 'cax' | 'ccx' | 'cpx' | 'cx' | 'd2' | 'd3' | 'd3en' | 'dl1' | 'dl2q' | 'e2' | 'f1' | 'f2' | 'g1' | 'g2' | 'g4ad' | 'g4dn' | 'g5' | 'g5g' | 'g6' | 'g6e' | 'gr6' | 'h1' | 'h3' | 'hpc6a' | 'hpc6id' | 'hpc7a' | 'hpc7g' | 'i2' | 'i3' | 'i3en' | 'i4g' | 'i4i' | 'i7i' | 'i7ie' | 'i8g' | 'im4gn' | 'inf1' | 'inf2' | 'is4gen' | 'm1' | 'm2' | 'm3' | 'm4' | 'm5' | 'm5a' | 'm5ad' | 'm5d' | 'm5dn' | 'm5n' | 'm5zn' | 'm6a' | 'm6g' | 'm6gd' | 'm6i' | 'm6id' | 'm6idn' | 'm6in' | 'm7a' | 'm7g' | 'm7gd' | 'm7i' | 'm7i-flex' | 'm8g' | 'm8gd' | 'n1' | 'n2' | 'n2d' | 'n4' | 'p3' | 'p3dn' | 'p4d' | 'p4de' | 'p5' | 'p5e' | 'p5en' | 'p6-b200' | 'r3' | 'r4' | 'r5' | 'r5a' | 'r5ad' | 'r5b' | 'r5d' | 'r5dn' | 'r5n' | 'r6a' | 'r6g' | 'r6gd' | 'r6i' | 'r6id' | 'r6idn' | 'r6in' | 'r7a' | 'r7g' | 'r7gd' | 'r7i' | 'r7iz' | 'r8g' | 'r8gd' | 't2' | 't2a' | 't2d' | 't3' | 't3a' | 't4g' | 'trn1' | 'trn1n' | 'u-3tb1' | 'u-6tb1' | 'u7i-12tb' | 'u7i-6tb' | 'u7i-8tb' | 'u7in-16tb' | 'u7in-24tb' | 'u7in-32tb' | 'vt1' | 'x1' | 'x1e' | 'x2gd' | 'x2idn' | 'x2iedn' | 'x2iezn' | 'x4' | 'x8g' | 'z1d' | 'z3'>;
|
|
440
|
+
/**
|
|
441
|
+
* Allowed values for `topology.kubernetes.io/region`.
|
|
442
|
+
*/
|
|
443
|
+
'topology.kubernetes.io/region'?: Array<'africa-south1' | 'ap-northeast-1' | 'ap-northeast-2' | 'ap-northeast-3' | 'ap-south-1' | 'ap-southeast-1' | 'ap-southeast-2' | 'ash' | 'asia-east1' | 'asia-east2' | 'asia-northeast1' | 'asia-northeast2' | 'asia-northeast3' | 'asia-south1' | 'asia-south2' | 'asia-southeast1' | 'asia-southeast2' | 'australia-southeast1' | 'australia-southeast2' | 'ca-central-1' | 'eu-central-1' | 'eu-central-2' | 'eu-north-1' | 'eu-west-1' | 'eu-west-2' | 'eu-west-3' | 'europe-central2' | 'europe-north1' | 'europe-southwest1' | 'europe-west1' | 'europe-west10' | 'europe-west12' | 'europe-west2' | 'europe-west3' | 'europe-west4' | 'europe-west6' | 'europe-west8' | 'europe-west9' | 'fsn1' | 'hel1' | 'hil' | 'me-central1' | 'me-central2' | 'me-west1' | 'nbg1' | 'northamerica-northeast1' | 'northamerica-northeast2' | 'sa-east-1' | 'sin' | 'southamerica-east1' | 'southamerica-west1' | 'us-central1' | 'us-east-1' | 'us-east-2' | 'us-east1' | 'us-east4' | 'us-east5' | 'us-south1' | 'us-west-1' | 'us-west-2' | 'us-west1' | 'us-west2' | 'us-west3' | 'us-west4'>;
|
|
331
444
|
};
|
|
445
|
+
/**
|
|
446
|
+
* Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet. Full-overwrite: omit to reset to the default (`conservative`).
|
|
447
|
+
*/
|
|
448
|
+
scalingProfile?: 'aggressive' | 'conservative';
|
|
449
|
+
/**
|
|
450
|
+
* Taints applied to every node the fleet provisions, so only pods that tolerate them schedule there. Each key and effect pair may appear once. Full-overwrite: omit to remove all taints.
|
|
451
|
+
*/
|
|
452
|
+
taints?: Array<{
|
|
453
|
+
/**
|
|
454
|
+
* Taint key: a Kubernetes qualified name with an optional DNS subdomain prefix. Keys under `node.kubernetes.io`, `node.cloudprovider.kubernetes.io`, `node.cilium.io`, `karpenter.sh` and `cfke.io` (and their subdomains) are reserved.
|
|
455
|
+
*/
|
|
456
|
+
key: string;
|
|
457
|
+
/**
|
|
458
|
+
* Taint value. Optional.
|
|
459
|
+
*/
|
|
460
|
+
value?: string;
|
|
461
|
+
/**
|
|
462
|
+
* Taint effect.
|
|
463
|
+
*/
|
|
464
|
+
effect: 'NoSchedule' | 'PreferNoSchedule' | 'NoExecute';
|
|
465
|
+
}>;
|
|
332
466
|
/**
|
|
333
467
|
* Unique identifier of the kubernetes fleet.
|
|
334
468
|
*/
|
|
335
469
|
id: string;
|
|
336
470
|
};
|
|
471
|
+
/**
|
|
472
|
+
* Mutable fleet configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
|
|
473
|
+
*/
|
|
337
474
|
export type Fleet = {
|
|
338
475
|
/**
|
|
339
476
|
* Limits define a set of bounds for provisioning capacity.
|
|
340
477
|
*/
|
|
341
478
|
limits?: {
|
|
342
479
|
/**
|
|
343
|
-
* CPU limit in cores.
|
|
480
|
+
* CPU limit in cores. Maximum 100,000.
|
|
344
481
|
*/
|
|
345
|
-
cpu
|
|
482
|
+
cpu?: number;
|
|
346
483
|
};
|
|
347
484
|
gcp?: {
|
|
348
|
-
enabled
|
|
485
|
+
enabled: boolean;
|
|
349
486
|
/**
|
|
350
|
-
*
|
|
487
|
+
* GCP project ID to deploy instances into. 6-30 chars, lowercase letters/digits/hyphens, must start with a letter and not end with a hyphen. Omit when GCP is disabled.
|
|
351
488
|
*/
|
|
352
|
-
project
|
|
489
|
+
project?: string;
|
|
353
490
|
};
|
|
354
491
|
hetzner?: {
|
|
355
|
-
enabled
|
|
492
|
+
enabled: boolean;
|
|
356
493
|
/**
|
|
357
|
-
* Hetzner
|
|
494
|
+
* Redacted Hetzner API token. Returned as 64 asterisks when a token is configured; omitted otherwise. The real value is never echoed by the API.
|
|
358
495
|
*/
|
|
359
|
-
apiKey
|
|
496
|
+
apiKey?: string;
|
|
360
497
|
};
|
|
361
498
|
aws?: {
|
|
362
|
-
enabled
|
|
499
|
+
enabled: boolean;
|
|
500
|
+
/**
|
|
501
|
+
* AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.
|
|
502
|
+
*/
|
|
503
|
+
controllerRoleArn?: string;
|
|
504
|
+
};
|
|
505
|
+
/**
|
|
506
|
+
* Constraints define scheduling and provisioning requirements for the fleet. Each field restricts the values allowed for a given Kubernetes label key. Multiple constraints are ANDed together.
|
|
507
|
+
*/
|
|
508
|
+
constraints: {
|
|
509
|
+
/**
|
|
510
|
+
* Allowed values for `karpenter.sh/capacity-type`.
|
|
511
|
+
*/
|
|
512
|
+
'karpenter.sh/capacity-type': Array<'on-demand' | 'spot'>;
|
|
513
|
+
/**
|
|
514
|
+
* Allowed values for `kubernetes.io/arch`.
|
|
515
|
+
*/
|
|
516
|
+
'kubernetes.io/arch': Array<'amd64' | 'arm64'>;
|
|
517
|
+
/**
|
|
518
|
+
* Allowed values for `cfke.io/instance-family`.
|
|
519
|
+
*/
|
|
520
|
+
'cfke.io/instance-family'?: Array<'a1' | 'a2' | 'a3' | 'a4' | 'c1' | 'c2' | 'c2d' | 'c3' | 'c3d' | 'c4' | 'c4a' | 'c4d' | 'c5' | 'c5a' | 'c5ad' | 'c5d' | 'c5n' | 'c6a' | 'c6g' | 'c6gd' | 'c6gn' | 'c6i' | 'c6id' | 'c6in' | 'c7a' | 'c7g' | 'c7gd' | 'c7gn' | 'c7i' | 'c7i-flex' | 'c8g' | 'c8gd' | 'cax' | 'ccx' | 'cpx' | 'cx' | 'd2' | 'd3' | 'd3en' | 'dl1' | 'dl2q' | 'e2' | 'f1' | 'f2' | 'g1' | 'g2' | 'g4ad' | 'g4dn' | 'g5' | 'g5g' | 'g6' | 'g6e' | 'gr6' | 'h1' | 'h3' | 'hpc6a' | 'hpc6id' | 'hpc7a' | 'hpc7g' | 'i2' | 'i3' | 'i3en' | 'i4g' | 'i4i' | 'i7i' | 'i7ie' | 'i8g' | 'im4gn' | 'inf1' | 'inf2' | 'is4gen' | 'm1' | 'm2' | 'm3' | 'm4' | 'm5' | 'm5a' | 'm5ad' | 'm5d' | 'm5dn' | 'm5n' | 'm5zn' | 'm6a' | 'm6g' | 'm6gd' | 'm6i' | 'm6id' | 'm6idn' | 'm6in' | 'm7a' | 'm7g' | 'm7gd' | 'm7i' | 'm7i-flex' | 'm8g' | 'm8gd' | 'n1' | 'n2' | 'n2d' | 'n4' | 'p3' | 'p3dn' | 'p4d' | 'p4de' | 'p5' | 'p5e' | 'p5en' | 'p6-b200' | 'r3' | 'r4' | 'r5' | 'r5a' | 'r5ad' | 'r5b' | 'r5d' | 'r5dn' | 'r5n' | 'r6a' | 'r6g' | 'r6gd' | 'r6i' | 'r6id' | 'r6idn' | 'r6in' | 'r7a' | 'r7g' | 'r7gd' | 'r7i' | 'r7iz' | 'r8g' | 'r8gd' | 't2' | 't2a' | 't2d' | 't3' | 't3a' | 't4g' | 'trn1' | 'trn1n' | 'u-3tb1' | 'u-6tb1' | 'u7i-12tb' | 'u7i-6tb' | 'u7i-8tb' | 'u7in-16tb' | 'u7in-24tb' | 'u7in-32tb' | 'vt1' | 'x1' | 'x1e' | 'x2gd' | 'x2idn' | 'x2iedn' | 'x2iezn' | 'x4' | 'x8g' | 'z1d' | 'z3'>;
|
|
363
521
|
/**
|
|
364
|
-
*
|
|
522
|
+
* Allowed values for `topology.kubernetes.io/region`.
|
|
365
523
|
*/
|
|
366
|
-
|
|
524
|
+
'topology.kubernetes.io/region'?: Array<'africa-south1' | 'ap-northeast-1' | 'ap-northeast-2' | 'ap-northeast-3' | 'ap-south-1' | 'ap-southeast-1' | 'ap-southeast-2' | 'ash' | 'asia-east1' | 'asia-east2' | 'asia-northeast1' | 'asia-northeast2' | 'asia-northeast3' | 'asia-south1' | 'asia-south2' | 'asia-southeast1' | 'asia-southeast2' | 'australia-southeast1' | 'australia-southeast2' | 'ca-central-1' | 'eu-central-1' | 'eu-central-2' | 'eu-north-1' | 'eu-west-1' | 'eu-west-2' | 'eu-west-3' | 'europe-central2' | 'europe-north1' | 'europe-southwest1' | 'europe-west1' | 'europe-west10' | 'europe-west12' | 'europe-west2' | 'europe-west3' | 'europe-west4' | 'europe-west6' | 'europe-west8' | 'europe-west9' | 'fsn1' | 'hel1' | 'hil' | 'me-central1' | 'me-central2' | 'me-west1' | 'nbg1' | 'northamerica-northeast1' | 'northamerica-northeast2' | 'sa-east-1' | 'sin' | 'southamerica-east1' | 'southamerica-west1' | 'us-central1' | 'us-east-1' | 'us-east-2' | 'us-east1' | 'us-east4' | 'us-east5' | 'us-south1' | 'us-west-1' | 'us-west-2' | 'us-west1' | 'us-west2' | 'us-west3' | 'us-west4'>;
|
|
367
525
|
};
|
|
526
|
+
/**
|
|
527
|
+
* Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet. Full-overwrite: omit to reset to the default (`conservative`).
|
|
528
|
+
*/
|
|
529
|
+
scalingProfile: 'aggressive' | 'conservative';
|
|
530
|
+
/**
|
|
531
|
+
* Taints applied to every node the fleet provisions, so only pods that tolerate them schedule there. Each key and effect pair may appear once. Full-overwrite: omit to remove all taints.
|
|
532
|
+
*/
|
|
533
|
+
taints: Array<{
|
|
534
|
+
/**
|
|
535
|
+
* Taint key: a Kubernetes qualified name with an optional DNS subdomain prefix. Keys under `node.kubernetes.io`, `node.cloudprovider.kubernetes.io`, `node.cilium.io`, `karpenter.sh` and `cfke.io` (and their subdomains) are reserved.
|
|
536
|
+
*/
|
|
537
|
+
key: string;
|
|
538
|
+
/**
|
|
539
|
+
* Taint value. Optional.
|
|
540
|
+
*/
|
|
541
|
+
value?: string;
|
|
542
|
+
/**
|
|
543
|
+
* Taint effect.
|
|
544
|
+
*/
|
|
545
|
+
effect: 'NoSchedule' | 'PreferNoSchedule' | 'NoExecute';
|
|
546
|
+
}>;
|
|
368
547
|
/**
|
|
369
548
|
* Unique identifier of the kubernetes fleet.
|
|
370
549
|
*/
|
|
371
550
|
id: string;
|
|
551
|
+
/**
|
|
552
|
+
* Indicates whether the fleet configuration is healthy.
|
|
553
|
+
*/
|
|
554
|
+
ready: boolean;
|
|
555
|
+
/**
|
|
556
|
+
* Human-readable reason the fleet is not ready. Present only when `ready` is false.
|
|
557
|
+
*/
|
|
558
|
+
status_message?: string;
|
|
559
|
+
/**
|
|
560
|
+
* Creation date and time of the fleet.
|
|
561
|
+
*/
|
|
562
|
+
created_at: string;
|
|
563
|
+
/**
|
|
564
|
+
* Date and time the fleet was last updated.
|
|
565
|
+
*/
|
|
566
|
+
updated_at: string;
|
|
372
567
|
};
|
|
568
|
+
/**
|
|
569
|
+
* Mutable fleet configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
|
|
570
|
+
*/
|
|
373
571
|
export type FleetUpdateInput = {
|
|
374
572
|
/**
|
|
375
573
|
* Limits define a set of bounds for provisioning capacity.
|
|
376
574
|
*/
|
|
377
575
|
limits?: {
|
|
378
576
|
/**
|
|
379
|
-
* CPU limit in cores.
|
|
577
|
+
* CPU limit in cores. Maximum 100,000.
|
|
380
578
|
*/
|
|
381
|
-
cpu
|
|
579
|
+
cpu?: number;
|
|
382
580
|
};
|
|
383
581
|
gcp?: {
|
|
384
|
-
enabled
|
|
582
|
+
enabled: boolean;
|
|
385
583
|
/**
|
|
386
|
-
*
|
|
584
|
+
* GCP project ID to deploy instances into. 6-30 chars, lowercase letters/digits/hyphens, must start with a letter and not end with a hyphen. Omit when GCP is disabled.
|
|
387
585
|
*/
|
|
388
|
-
project
|
|
586
|
+
project?: string;
|
|
389
587
|
};
|
|
390
588
|
hetzner?: {
|
|
391
|
-
enabled
|
|
589
|
+
enabled: boolean;
|
|
392
590
|
/**
|
|
393
|
-
* Hetzner Cloud API
|
|
591
|
+
* Hetzner Cloud API token with read/write access (64 alphanumeric characters). Write-only: reads return a redacted placeholder, never the token. Omit the field, or send the placeholder back unchanged, to keep the existing key. Send a new value to rotate it.
|
|
394
592
|
*/
|
|
395
|
-
apiKey
|
|
593
|
+
apiKey?: string;
|
|
396
594
|
};
|
|
397
595
|
aws?: {
|
|
398
|
-
enabled
|
|
596
|
+
enabled: boolean;
|
|
597
|
+
/**
|
|
598
|
+
* AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.
|
|
599
|
+
*/
|
|
600
|
+
controllerRoleArn?: string;
|
|
601
|
+
};
|
|
602
|
+
/**
|
|
603
|
+
* Constraints define scheduling and provisioning requirements for the fleet. Each field restricts the values allowed for a given Kubernetes label key. Multiple constraints are ANDed together.
|
|
604
|
+
*/
|
|
605
|
+
constraints?: {
|
|
606
|
+
/**
|
|
607
|
+
* Allowed values for `karpenter.sh/capacity-type`.
|
|
608
|
+
*/
|
|
609
|
+
'karpenter.sh/capacity-type'?: Array<'on-demand' | 'spot'>;
|
|
610
|
+
/**
|
|
611
|
+
* Allowed values for `kubernetes.io/arch`.
|
|
612
|
+
*/
|
|
613
|
+
'kubernetes.io/arch'?: Array<'amd64' | 'arm64'>;
|
|
614
|
+
/**
|
|
615
|
+
* Allowed values for `cfke.io/instance-family`.
|
|
616
|
+
*/
|
|
617
|
+
'cfke.io/instance-family'?: Array<'a1' | 'a2' | 'a3' | 'a4' | 'c1' | 'c2' | 'c2d' | 'c3' | 'c3d' | 'c4' | 'c4a' | 'c4d' | 'c5' | 'c5a' | 'c5ad' | 'c5d' | 'c5n' | 'c6a' | 'c6g' | 'c6gd' | 'c6gn' | 'c6i' | 'c6id' | 'c6in' | 'c7a' | 'c7g' | 'c7gd' | 'c7gn' | 'c7i' | 'c7i-flex' | 'c8g' | 'c8gd' | 'cax' | 'ccx' | 'cpx' | 'cx' | 'd2' | 'd3' | 'd3en' | 'dl1' | 'dl2q' | 'e2' | 'f1' | 'f2' | 'g1' | 'g2' | 'g4ad' | 'g4dn' | 'g5' | 'g5g' | 'g6' | 'g6e' | 'gr6' | 'h1' | 'h3' | 'hpc6a' | 'hpc6id' | 'hpc7a' | 'hpc7g' | 'i2' | 'i3' | 'i3en' | 'i4g' | 'i4i' | 'i7i' | 'i7ie' | 'i8g' | 'im4gn' | 'inf1' | 'inf2' | 'is4gen' | 'm1' | 'm2' | 'm3' | 'm4' | 'm5' | 'm5a' | 'm5ad' | 'm5d' | 'm5dn' | 'm5n' | 'm5zn' | 'm6a' | 'm6g' | 'm6gd' | 'm6i' | 'm6id' | 'm6idn' | 'm6in' | 'm7a' | 'm7g' | 'm7gd' | 'm7i' | 'm7i-flex' | 'm8g' | 'm8gd' | 'n1' | 'n2' | 'n2d' | 'n4' | 'p3' | 'p3dn' | 'p4d' | 'p4de' | 'p5' | 'p5e' | 'p5en' | 'p6-b200' | 'r3' | 'r4' | 'r5' | 'r5a' | 'r5ad' | 'r5b' | 'r5d' | 'r5dn' | 'r5n' | 'r6a' | 'r6g' | 'r6gd' | 'r6i' | 'r6id' | 'r6idn' | 'r6in' | 'r7a' | 'r7g' | 'r7gd' | 'r7i' | 'r7iz' | 'r8g' | 'r8gd' | 't2' | 't2a' | 't2d' | 't3' | 't3a' | 't4g' | 'trn1' | 'trn1n' | 'u-3tb1' | 'u-6tb1' | 'u7i-12tb' | 'u7i-6tb' | 'u7i-8tb' | 'u7in-16tb' | 'u7in-24tb' | 'u7in-32tb' | 'vt1' | 'x1' | 'x1e' | 'x2gd' | 'x2idn' | 'x2iedn' | 'x2iezn' | 'x4' | 'x8g' | 'z1d' | 'z3'>;
|
|
399
618
|
/**
|
|
400
|
-
*
|
|
619
|
+
* Allowed values for `topology.kubernetes.io/region`.
|
|
401
620
|
*/
|
|
402
|
-
|
|
621
|
+
'topology.kubernetes.io/region'?: Array<'africa-south1' | 'ap-northeast-1' | 'ap-northeast-2' | 'ap-northeast-3' | 'ap-south-1' | 'ap-southeast-1' | 'ap-southeast-2' | 'ash' | 'asia-east1' | 'asia-east2' | 'asia-northeast1' | 'asia-northeast2' | 'asia-northeast3' | 'asia-south1' | 'asia-south2' | 'asia-southeast1' | 'asia-southeast2' | 'australia-southeast1' | 'australia-southeast2' | 'ca-central-1' | 'eu-central-1' | 'eu-central-2' | 'eu-north-1' | 'eu-west-1' | 'eu-west-2' | 'eu-west-3' | 'europe-central2' | 'europe-north1' | 'europe-southwest1' | 'europe-west1' | 'europe-west10' | 'europe-west12' | 'europe-west2' | 'europe-west3' | 'europe-west4' | 'europe-west6' | 'europe-west8' | 'europe-west9' | 'fsn1' | 'hel1' | 'hil' | 'me-central1' | 'me-central2' | 'me-west1' | 'nbg1' | 'northamerica-northeast1' | 'northamerica-northeast2' | 'sa-east-1' | 'sin' | 'southamerica-east1' | 'southamerica-west1' | 'us-central1' | 'us-east-1' | 'us-east-2' | 'us-east1' | 'us-east4' | 'us-east5' | 'us-south1' | 'us-west-1' | 'us-west-2' | 'us-west1' | 'us-west2' | 'us-west3' | 'us-west4'>;
|
|
403
622
|
};
|
|
623
|
+
/**
|
|
624
|
+
* Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet. Full-overwrite: omit to reset to the default (`conservative`).
|
|
625
|
+
*/
|
|
626
|
+
scalingProfile?: 'aggressive' | 'conservative';
|
|
627
|
+
/**
|
|
628
|
+
* Taints applied to every node the fleet provisions, so only pods that tolerate them schedule there. Each key and effect pair may appear once. Full-overwrite: omit to remove all taints.
|
|
629
|
+
*/
|
|
630
|
+
taints?: Array<{
|
|
631
|
+
/**
|
|
632
|
+
* Taint key: a Kubernetes qualified name with an optional DNS subdomain prefix. Keys under `node.kubernetes.io`, `node.cloudprovider.kubernetes.io`, `node.cilium.io`, `karpenter.sh` and `cfke.io` (and their subdomains) are reserved.
|
|
633
|
+
*/
|
|
634
|
+
key: string;
|
|
635
|
+
/**
|
|
636
|
+
* Taint value. Optional.
|
|
637
|
+
*/
|
|
638
|
+
value?: string;
|
|
639
|
+
/**
|
|
640
|
+
* Taint effect.
|
|
641
|
+
*/
|
|
642
|
+
effect: 'NoSchedule' | 'PreferNoSchedule' | 'NoExecute';
|
|
643
|
+
}>;
|
|
644
|
+
};
|
|
645
|
+
export type InviteCreateInput = {
|
|
646
|
+
/**
|
|
647
|
+
* Email address of the user to invite.
|
|
648
|
+
*/
|
|
649
|
+
email: string;
|
|
650
|
+
/**
|
|
651
|
+
* Role the invited user will be assigned on redemption. Can be 'Administrator' or 'User'.
|
|
652
|
+
*/
|
|
653
|
+
role?: 'Administrator' | 'User';
|
|
404
654
|
};
|
|
405
655
|
export type Invite = {
|
|
406
656
|
/**
|
|
@@ -423,126 +673,129 @@ export type Invite = {
|
|
|
423
673
|
* Generated unique invite code.
|
|
424
674
|
*/
|
|
425
675
|
code?: string;
|
|
426
|
-
};
|
|
427
|
-
export type Invoice = {
|
|
428
|
-
/**
|
|
429
|
-
* Unique identifier of the invoice.
|
|
430
|
-
*/
|
|
431
|
-
id?: string;
|
|
432
|
-
number?: string;
|
|
433
676
|
/**
|
|
434
|
-
*
|
|
677
|
+
* Role the invited user will be assigned on redemption. Can be 'Administrator' or 'User'.
|
|
435
678
|
*/
|
|
436
|
-
|
|
679
|
+
role?: 'Administrator' | 'User';
|
|
680
|
+
};
|
|
681
|
+
export type InvoicePaymentAttempt = {
|
|
437
682
|
/**
|
|
438
|
-
*
|
|
683
|
+
* Identifier of the invoice.
|
|
439
684
|
*/
|
|
440
|
-
|
|
685
|
+
invoice_id: string;
|
|
441
686
|
/**
|
|
442
|
-
*
|
|
687
|
+
* Invoice number. Null if the invoice has no number.
|
|
443
688
|
*/
|
|
444
|
-
|
|
689
|
+
number: string;
|
|
445
690
|
/**
|
|
446
|
-
*
|
|
691
|
+
* Amount outstanding when the charge was attempted, in the smallest currency unit.
|
|
447
692
|
*/
|
|
448
|
-
|
|
693
|
+
amount: number;
|
|
449
694
|
/**
|
|
450
|
-
*
|
|
695
|
+
* Currency of the invoice.
|
|
451
696
|
*/
|
|
452
|
-
|
|
697
|
+
currency: string;
|
|
453
698
|
/**
|
|
454
|
-
*
|
|
699
|
+
* Outcome for this invoice: `paid`, `processing` (accepted, not yet settled), `requires_action` (awaiting customer authentication), or `failed` (declined).
|
|
455
700
|
*/
|
|
456
|
-
|
|
457
|
-
invoice_pdf?: string;
|
|
458
|
-
};
|
|
459
|
-
export type MarketplaceListingFiles = {
|
|
701
|
+
status: 'paid' | 'processing' | 'requires_action' | 'failed';
|
|
460
702
|
/**
|
|
461
|
-
*
|
|
703
|
+
* Client secret used to complete customer authentication. Set only when `status` is `requires_action`.
|
|
462
704
|
*/
|
|
463
|
-
|
|
705
|
+
client_secret: string;
|
|
464
706
|
/**
|
|
465
|
-
*
|
|
707
|
+
* Decline code. Set only when `status` is `failed`.
|
|
466
708
|
*/
|
|
467
|
-
|
|
709
|
+
failure_code: string;
|
|
468
710
|
/**
|
|
469
|
-
*
|
|
711
|
+
* Explanation of the decline, suitable for display. Set only when `status` is `failed`.
|
|
470
712
|
*/
|
|
471
|
-
|
|
713
|
+
failure_message: string;
|
|
472
714
|
};
|
|
473
|
-
export type
|
|
474
|
-
/**
|
|
475
|
-
* Name of the chart
|
|
476
|
-
*/
|
|
477
|
-
name: string;
|
|
478
|
-
/**
|
|
479
|
-
* Available versions of the chart
|
|
480
|
-
*/
|
|
481
|
-
versions: Array<string>;
|
|
715
|
+
export type InvoicePaymentResult = {
|
|
482
716
|
/**
|
|
483
|
-
*
|
|
717
|
+
* Overall outcome: `paid` (nothing outstanding), `processing` (all accepted, not yet settled), `action_required` (one or more await customer authentication), `partially_paid`, `failed`, `nothing_due`, or `bank_transfer_due` (the organization pays by bank transfer; nothing was charged).
|
|
484
718
|
*/
|
|
485
|
-
|
|
719
|
+
code: 'paid' | 'processing' | 'action_required' | 'partially_paid' | 'failed' | 'nothing_due' | 'bank_transfer_due';
|
|
486
720
|
/**
|
|
487
|
-
*
|
|
721
|
+
* Summary of the outcome, suitable for display.
|
|
488
722
|
*/
|
|
489
|
-
|
|
723
|
+
message: string;
|
|
490
724
|
/**
|
|
491
|
-
*
|
|
725
|
+
* One entry per invoice charged, oldest first.
|
|
492
726
|
*/
|
|
493
|
-
|
|
494
|
-
/**
|
|
495
|
-
* Chart name from metadata
|
|
496
|
-
*/
|
|
497
|
-
name: string;
|
|
498
|
-
/**
|
|
499
|
-
* Chart version from metadata
|
|
500
|
-
*/
|
|
501
|
-
version: string;
|
|
727
|
+
results: Array<{
|
|
502
728
|
/**
|
|
503
|
-
*
|
|
729
|
+
* Identifier of the invoice.
|
|
504
730
|
*/
|
|
505
|
-
|
|
731
|
+
invoice_id: string;
|
|
506
732
|
/**
|
|
507
|
-
*
|
|
733
|
+
* Invoice number. Null if the invoice has no number.
|
|
508
734
|
*/
|
|
509
|
-
|
|
735
|
+
number: string;
|
|
510
736
|
/**
|
|
511
|
-
*
|
|
737
|
+
* Amount outstanding when the charge was attempted, in the smallest currency unit.
|
|
512
738
|
*/
|
|
513
|
-
|
|
739
|
+
amount: number;
|
|
514
740
|
/**
|
|
515
|
-
*
|
|
741
|
+
* Currency of the invoice.
|
|
516
742
|
*/
|
|
517
|
-
|
|
743
|
+
currency: string;
|
|
518
744
|
/**
|
|
519
|
-
*
|
|
745
|
+
* Outcome for this invoice: `paid`, `processing` (accepted, not yet settled), `requires_action` (awaiting customer authentication), or `failed` (declined).
|
|
520
746
|
*/
|
|
521
|
-
|
|
747
|
+
status: 'paid' | 'processing' | 'requires_action' | 'failed';
|
|
522
748
|
/**
|
|
523
|
-
*
|
|
749
|
+
* Client secret used to complete customer authentication. Set only when `status` is `requires_action`.
|
|
524
750
|
*/
|
|
525
|
-
|
|
751
|
+
client_secret: string;
|
|
526
752
|
/**
|
|
527
|
-
*
|
|
753
|
+
* Decline code. Set only when `status` is `failed`.
|
|
528
754
|
*/
|
|
529
|
-
|
|
755
|
+
failure_code: string;
|
|
530
756
|
/**
|
|
531
|
-
*
|
|
757
|
+
* Explanation of the decline, suitable for display. Set only when `status` is `failed`.
|
|
532
758
|
*/
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
759
|
+
failure_message: string;
|
|
760
|
+
}>;
|
|
761
|
+
};
|
|
762
|
+
export type Invoice = {
|
|
763
|
+
/**
|
|
764
|
+
* Unique identifier of the invoice.
|
|
765
|
+
*/
|
|
766
|
+
id?: string;
|
|
767
|
+
number?: string;
|
|
768
|
+
/**
|
|
769
|
+
* Status of the invoice
|
|
770
|
+
*/
|
|
771
|
+
status?: string;
|
|
772
|
+
/**
|
|
773
|
+
* Total amount of the invoice
|
|
774
|
+
*/
|
|
775
|
+
total?: number;
|
|
776
|
+
/**
|
|
777
|
+
* Currency of the invoice
|
|
778
|
+
*/
|
|
779
|
+
currency?: string;
|
|
780
|
+
/**
|
|
781
|
+
* Timestamp when the invoice was issued. ISO 8601 date string in the UTC timezone.
|
|
782
|
+
*/
|
|
783
|
+
created: string;
|
|
784
|
+
/**
|
|
785
|
+
* Billing period start timestamp. ISO 8601 date string in the UTC timezone.
|
|
786
|
+
*/
|
|
787
|
+
period_start: string;
|
|
788
|
+
/**
|
|
789
|
+
* Billing period end timestamp. ISO 8601 date string in the UTC timezone.
|
|
790
|
+
*/
|
|
791
|
+
period_end: string;
|
|
792
|
+
invoice_pdf?: string;
|
|
544
793
|
};
|
|
545
794
|
export type OrganizationCreateInput = {
|
|
795
|
+
/**
|
|
796
|
+
* Type of the organization. `business` for legal entities, `personal` for individuals.
|
|
797
|
+
*/
|
|
798
|
+
type: 'business' | 'personal';
|
|
546
799
|
/**
|
|
547
800
|
* Email address used for billing as a string.
|
|
548
801
|
*/
|
|
@@ -564,6 +817,12 @@ export type OrganizationCreateInput = {
|
|
|
564
817
|
*/
|
|
565
818
|
password: string;
|
|
566
819
|
};
|
|
820
|
+
export type OrganizationCreateOutput = {
|
|
821
|
+
/**
|
|
822
|
+
* Unique identifier of the newly created organization. Generated by the API and safe to use for client-side tracking immediately.
|
|
823
|
+
*/
|
|
824
|
+
id: string;
|
|
825
|
+
};
|
|
567
826
|
export type Organization = {
|
|
568
827
|
/**
|
|
569
828
|
* Unique identifier of the organization. UUID v4 string in canonical form
|
|
@@ -573,6 +832,10 @@ export type Organization = {
|
|
|
573
832
|
* Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
|
|
574
833
|
*/
|
|
575
834
|
name?: string;
|
|
835
|
+
/**
|
|
836
|
+
* Type of the organization. `business` for legal entities, `personal` for individuals.
|
|
837
|
+
*/
|
|
838
|
+
type: 'business' | 'personal';
|
|
576
839
|
/**
|
|
577
840
|
* Creation date of the organization. ISO 8601 date string in UTC timezone
|
|
578
841
|
*/
|
|
@@ -597,6 +860,14 @@ export type Organization = {
|
|
|
597
860
|
* Available number of Pro clusters that can be created.
|
|
598
861
|
*/
|
|
599
862
|
pro_clusters_available: number;
|
|
863
|
+
/**
|
|
864
|
+
* Maximum number of Enterprise clusters that can be created.
|
|
865
|
+
*/
|
|
866
|
+
enterprise_clusters_max: number;
|
|
867
|
+
/**
|
|
868
|
+
* Available number of Enterprise clusters that can be created.
|
|
869
|
+
*/
|
|
870
|
+
enterprise_clusters_available: number;
|
|
600
871
|
/**
|
|
601
872
|
* Maximum number of fleets that can be created per cluster.
|
|
602
873
|
*/
|
|
@@ -622,14 +893,6 @@ export type Organization = {
|
|
|
622
893
|
*/
|
|
623
894
|
label: string;
|
|
624
895
|
}>;
|
|
625
|
-
/**
|
|
626
|
-
* User-level maximum number of tokens Cloudfleet Copilot can process per hour.
|
|
627
|
-
*/
|
|
628
|
-
copilot_user_hourly_tokens: number;
|
|
629
|
-
/**
|
|
630
|
-
* Organization-level maximum number of tokens Cloudfleet Copilot can process per hour.
|
|
631
|
-
*/
|
|
632
|
-
copilot_organization_hourly_tokens: number;
|
|
633
896
|
/**
|
|
634
897
|
* Organization-level maximum CFCR storage volume in GB. -1 means no limit.
|
|
635
898
|
*/
|
|
@@ -639,36 +902,52 @@ export type Organization = {
|
|
|
639
902
|
* Status of the organization. Can be `active` or `closed`, or `suspended`.
|
|
640
903
|
*/
|
|
641
904
|
status: 'active' | 'closed' | 'suspended';
|
|
905
|
+
/**
|
|
906
|
+
* Verification status of the organization, which determines the assigned quota. `none` when billing information is incomplete, `submitted` when billing information is complete but the organization is not yet verified, `verified` when the organization is verified.
|
|
907
|
+
*/
|
|
908
|
+
verification: 'none' | 'submitted' | 'verified';
|
|
642
909
|
};
|
|
643
910
|
export type PaymentMethod = {
|
|
644
911
|
/**
|
|
645
|
-
*
|
|
912
|
+
* Payment method identifier. Stripe payment method id for cards/SEPA; the constant `bank_transfer` for the invoice/bank-transfer method. Used to set as default or delete the payment method.
|
|
646
913
|
*/
|
|
647
914
|
id: string;
|
|
648
915
|
/**
|
|
649
|
-
*
|
|
650
|
-
*/
|
|
651
|
-
setup: boolean;
|
|
652
|
-
/**
|
|
653
|
-
* Payment method type type. Only `card` payments supported at the moment.
|
|
916
|
+
* Payment method type. `card`, `sepa_debit` for SEPA Direct Debit (business accounts only), or `bank_transfer` for paying invoices by bank transfer.
|
|
654
917
|
*/
|
|
655
|
-
type: 'card';
|
|
918
|
+
type: 'card' | 'sepa_debit' | 'bank_transfer';
|
|
656
919
|
/**
|
|
657
|
-
* Last 4 digits of the payment card number.
|
|
920
|
+
* Last 4 digits of the payment card number, of the bank account (IBAN) for SEPA Direct Debit, or of the destination IBAN for bank transfer.
|
|
658
921
|
*/
|
|
659
922
|
last4: string;
|
|
660
923
|
/**
|
|
661
|
-
* Two-digit number representing the card's expiration month.
|
|
924
|
+
* Two-digit number representing the card's expiration month. Null for SEPA Direct Debit and bank transfer.
|
|
662
925
|
*/
|
|
663
926
|
exp_month: number;
|
|
664
927
|
/**
|
|
665
|
-
* Four-digit number representing the card's expiration year.
|
|
928
|
+
* Four-digit number representing the card's expiration year. May be in the past for an expired card still on file. Null for SEPA Direct Debit and bank transfer.
|
|
666
929
|
*/
|
|
667
930
|
exp_year: number;
|
|
668
931
|
/**
|
|
669
|
-
* Payment card brand
|
|
932
|
+
* Payment card brand as reported by Stripe, e.g. `visa`, `mastercard`, `amex`, `cartes_bancaires`, or `unknown`. Null for SEPA Direct Debit and bank transfer.
|
|
933
|
+
*/
|
|
934
|
+
brand: string;
|
|
935
|
+
/**
|
|
936
|
+
* Full destination IBAN to send bank transfers to. Set only for `bank_transfer`; null otherwise. This is Cloudfleet's virtual receiving account, shown in full so the customer can pay into it.
|
|
937
|
+
*/
|
|
938
|
+
iban: string;
|
|
939
|
+
/**
|
|
940
|
+
* BIC/SWIFT of the destination bank for bank transfers. Set only for `bank_transfer`; null otherwise.
|
|
941
|
+
*/
|
|
942
|
+
bic: string;
|
|
943
|
+
/**
|
|
944
|
+
* Account holder name of the destination bank account for bank transfers. Set only for `bank_transfer`; null otherwise.
|
|
945
|
+
*/
|
|
946
|
+
account_holder_name: string;
|
|
947
|
+
/**
|
|
948
|
+
* Whether this payment method is the default used for invoices and active subscriptions. Always false for `bank_transfer` (it cannot be a Stripe default payment method).
|
|
670
949
|
*/
|
|
671
|
-
|
|
950
|
+
is_default: boolean;
|
|
672
951
|
};
|
|
673
952
|
export type PlatformQuota = {
|
|
674
953
|
/**
|
|
@@ -687,6 +966,14 @@ export type PlatformQuota = {
|
|
|
687
966
|
* Available number of Pro clusters that can be created.
|
|
688
967
|
*/
|
|
689
968
|
pro_clusters_available: number;
|
|
969
|
+
/**
|
|
970
|
+
* Maximum number of Enterprise clusters that can be created.
|
|
971
|
+
*/
|
|
972
|
+
enterprise_clusters_max: number;
|
|
973
|
+
/**
|
|
974
|
+
* Available number of Enterprise clusters that can be created.
|
|
975
|
+
*/
|
|
976
|
+
enterprise_clusters_available: number;
|
|
690
977
|
/**
|
|
691
978
|
* Maximum number of fleets that can be created per cluster.
|
|
692
979
|
*/
|
|
@@ -712,14 +999,6 @@ export type PlatformQuota = {
|
|
|
712
999
|
*/
|
|
713
1000
|
label: string;
|
|
714
1001
|
}>;
|
|
715
|
-
/**
|
|
716
|
-
* User-level maximum number of tokens Cloudfleet Copilot can process per hour.
|
|
717
|
-
*/
|
|
718
|
-
copilot_user_hourly_tokens: number;
|
|
719
|
-
/**
|
|
720
|
-
* Organization-level maximum number of tokens Cloudfleet Copilot can process per hour.
|
|
721
|
-
*/
|
|
722
|
-
copilot_organization_hourly_tokens: number;
|
|
723
1002
|
/**
|
|
724
1003
|
* Organization-level maximum CFCR storage volume in GB. -1 means no limit.
|
|
725
1004
|
*/
|
|
@@ -873,6 +1152,211 @@ export type RegistryTag = {
|
|
|
873
1152
|
*/
|
|
874
1153
|
uri: string;
|
|
875
1154
|
};
|
|
1155
|
+
export type RoadmapItemCreateInput = {
|
|
1156
|
+
/**
|
|
1157
|
+
* Your suggestion in one or two sentences. It is reviewed before it appears on the roadmap.
|
|
1158
|
+
*/
|
|
1159
|
+
text: string;
|
|
1160
|
+
};
|
|
1161
|
+
export type RoadmapItem = {
|
|
1162
|
+
/**
|
|
1163
|
+
* Unique identifier of the roadmap item (Mongo ObjectId).
|
|
1164
|
+
*/
|
|
1165
|
+
id: string;
|
|
1166
|
+
/**
|
|
1167
|
+
* Short description of the roadmap item.
|
|
1168
|
+
*/
|
|
1169
|
+
text: string;
|
|
1170
|
+
/**
|
|
1171
|
+
* The caller's vote on this item: -1 (down), 1 (up), 2 (double up), or null if the caller has not voted.
|
|
1172
|
+
*/
|
|
1173
|
+
vote: -1 | 1 | 2;
|
|
1174
|
+
};
|
|
1175
|
+
export type RoadmapVoteInput = {
|
|
1176
|
+
/**
|
|
1177
|
+
* Vote value: -1 (down), 1 (up), or 2 (double up).
|
|
1178
|
+
*/
|
|
1179
|
+
value: -1 | 1 | 2;
|
|
1180
|
+
};
|
|
1181
|
+
export type TicketAttachment = {
|
|
1182
|
+
/**
|
|
1183
|
+
* Unique identifier of the attachment (Mongo ObjectId).
|
|
1184
|
+
*/
|
|
1185
|
+
id: string;
|
|
1186
|
+
/**
|
|
1187
|
+
* Original filename as uploaded.
|
|
1188
|
+
*/
|
|
1189
|
+
filename: string;
|
|
1190
|
+
/**
|
|
1191
|
+
* MIME content type of the attachment.
|
|
1192
|
+
*/
|
|
1193
|
+
content_type: string;
|
|
1194
|
+
/**
|
|
1195
|
+
* Size of the attachment in bytes.
|
|
1196
|
+
*/
|
|
1197
|
+
size: number;
|
|
1198
|
+
};
|
|
1199
|
+
export type TicketCreateInput = {
|
|
1200
|
+
/**
|
|
1201
|
+
* Ticket category. Drives auto-assignment and may carry a subcategory in `properties`.
|
|
1202
|
+
*/
|
|
1203
|
+
category: 'billing' | 'technical' | 'general';
|
|
1204
|
+
/**
|
|
1205
|
+
* Initial message body in markdown. There is no separate subject — the first message body is the description.
|
|
1206
|
+
*/
|
|
1207
|
+
body: string;
|
|
1208
|
+
/**
|
|
1209
|
+
* Free-form key/value bag set by the UI (e.g. `subcategory`, `cluster_id`, `cluster_name`, `region`).
|
|
1210
|
+
*/
|
|
1211
|
+
properties?: {
|
|
1212
|
+
[key: string]: unknown;
|
|
1213
|
+
};
|
|
1214
|
+
/**
|
|
1215
|
+
* Grant Cloudfleet support staff access to the organization's resources while the ticket is open. Access cannot be revoked; it ends when the ticket is closed.
|
|
1216
|
+
*/
|
|
1217
|
+
grant_support_access?: boolean;
|
|
1218
|
+
};
|
|
1219
|
+
export type TicketMessageInput = {
|
|
1220
|
+
/**
|
|
1221
|
+
* Reply body in markdown.
|
|
1222
|
+
*/
|
|
1223
|
+
body: string;
|
|
1224
|
+
};
|
|
1225
|
+
export type TicketMessage = {
|
|
1226
|
+
/**
|
|
1227
|
+
* Unique identifier of the message (Mongo ObjectId).
|
|
1228
|
+
*/
|
|
1229
|
+
id: string;
|
|
1230
|
+
/**
|
|
1231
|
+
* Message type. Internal notes are filtered out of customer-facing responses.
|
|
1232
|
+
*/
|
|
1233
|
+
type: 'customer_reply' | 'agent_reply';
|
|
1234
|
+
/**
|
|
1235
|
+
* Message body in markdown.
|
|
1236
|
+
*/
|
|
1237
|
+
body: string;
|
|
1238
|
+
/**
|
|
1239
|
+
* First name of the author. Null when not provided.
|
|
1240
|
+
*/
|
|
1241
|
+
author_first_name?: string;
|
|
1242
|
+
/**
|
|
1243
|
+
* Last name of the author. Null when not provided.
|
|
1244
|
+
*/
|
|
1245
|
+
author_last_name?: string;
|
|
1246
|
+
/**
|
|
1247
|
+
* Attachments associated with this message.
|
|
1248
|
+
*/
|
|
1249
|
+
attachments?: Array<{
|
|
1250
|
+
/**
|
|
1251
|
+
* Unique identifier of the attachment (Mongo ObjectId).
|
|
1252
|
+
*/
|
|
1253
|
+
id: string;
|
|
1254
|
+
/**
|
|
1255
|
+
* Original filename as uploaded.
|
|
1256
|
+
*/
|
|
1257
|
+
filename: string;
|
|
1258
|
+
/**
|
|
1259
|
+
* MIME content type of the attachment.
|
|
1260
|
+
*/
|
|
1261
|
+
content_type: string;
|
|
1262
|
+
/**
|
|
1263
|
+
* Size of the attachment in bytes.
|
|
1264
|
+
*/
|
|
1265
|
+
size: number;
|
|
1266
|
+
}>;
|
|
1267
|
+
/**
|
|
1268
|
+
* Creation date of the message. ISO 8601 UTC.
|
|
1269
|
+
*/
|
|
1270
|
+
date_created: string;
|
|
1271
|
+
};
|
|
1272
|
+
export type Ticket = {
|
|
1273
|
+
/**
|
|
1274
|
+
* Unique identifier of the ticket (Mongo ObjectId).
|
|
1275
|
+
*/
|
|
1276
|
+
id: string;
|
|
1277
|
+
/**
|
|
1278
|
+
* Current state of the ticket.
|
|
1279
|
+
*/
|
|
1280
|
+
status: 'waiting_on_us' | 'waiting_on_user' | 'closed';
|
|
1281
|
+
/**
|
|
1282
|
+
* Ticket category.
|
|
1283
|
+
*/
|
|
1284
|
+
category: 'billing' | 'technical' | 'general';
|
|
1285
|
+
/**
|
|
1286
|
+
* First 128 characters of the initial message body, with markdown formatting and newlines stripped. Used for ticket list previews.
|
|
1287
|
+
*/
|
|
1288
|
+
summary: string;
|
|
1289
|
+
/**
|
|
1290
|
+
* Whether Cloudfleet support staff currently have access to the organization's resources. True once access is granted and until the ticket is closed.
|
|
1291
|
+
*/
|
|
1292
|
+
support_access_granted: boolean;
|
|
1293
|
+
/**
|
|
1294
|
+
* When support access was granted. Null if it never was. Kept after the ticket is closed.
|
|
1295
|
+
*/
|
|
1296
|
+
support_access_granted_at: string;
|
|
1297
|
+
/**
|
|
1298
|
+
* Closure timestamp. Null while the ticket is open.
|
|
1299
|
+
*/
|
|
1300
|
+
closed_at?: string;
|
|
1301
|
+
/**
|
|
1302
|
+
* Creation date of the ticket. ISO 8601 UTC.
|
|
1303
|
+
*/
|
|
1304
|
+
date_created: string;
|
|
1305
|
+
/**
|
|
1306
|
+
* Last update date of the ticket. ISO 8601 UTC.
|
|
1307
|
+
*/
|
|
1308
|
+
date_updated: string;
|
|
1309
|
+
/**
|
|
1310
|
+
* Messages on the ticket in chronological order. Internal notes are excluded. Returned by the detail endpoint only.
|
|
1311
|
+
*/
|
|
1312
|
+
messages?: Array<{
|
|
1313
|
+
/**
|
|
1314
|
+
* Unique identifier of the message (Mongo ObjectId).
|
|
1315
|
+
*/
|
|
1316
|
+
id: string;
|
|
1317
|
+
/**
|
|
1318
|
+
* Message type. Internal notes are filtered out of customer-facing responses.
|
|
1319
|
+
*/
|
|
1320
|
+
type: 'customer_reply' | 'agent_reply';
|
|
1321
|
+
/**
|
|
1322
|
+
* Message body in markdown.
|
|
1323
|
+
*/
|
|
1324
|
+
body: string;
|
|
1325
|
+
/**
|
|
1326
|
+
* First name of the author. Null when not provided.
|
|
1327
|
+
*/
|
|
1328
|
+
author_first_name?: string;
|
|
1329
|
+
/**
|
|
1330
|
+
* Last name of the author. Null when not provided.
|
|
1331
|
+
*/
|
|
1332
|
+
author_last_name?: string;
|
|
1333
|
+
/**
|
|
1334
|
+
* Attachments associated with this message.
|
|
1335
|
+
*/
|
|
1336
|
+
attachments?: Array<{
|
|
1337
|
+
/**
|
|
1338
|
+
* Unique identifier of the attachment (Mongo ObjectId).
|
|
1339
|
+
*/
|
|
1340
|
+
id: string;
|
|
1341
|
+
/**
|
|
1342
|
+
* Original filename as uploaded.
|
|
1343
|
+
*/
|
|
1344
|
+
filename: string;
|
|
1345
|
+
/**
|
|
1346
|
+
* MIME content type of the attachment.
|
|
1347
|
+
*/
|
|
1348
|
+
content_type: string;
|
|
1349
|
+
/**
|
|
1350
|
+
* Size of the attachment in bytes.
|
|
1351
|
+
*/
|
|
1352
|
+
size: number;
|
|
1353
|
+
}>;
|
|
1354
|
+
/**
|
|
1355
|
+
* Creation date of the message. ISO 8601 UTC.
|
|
1356
|
+
*/
|
|
1357
|
+
date_created: string;
|
|
1358
|
+
}>;
|
|
1359
|
+
};
|
|
876
1360
|
export type TokenCreateInput = {
|
|
877
1361
|
/**
|
|
878
1362
|
* Human readable access token name.
|
|
@@ -923,7 +1407,7 @@ export type UsageFacets = {
|
|
|
923
1407
|
/**
|
|
924
1408
|
* List of unique products
|
|
925
1409
|
*/
|
|
926
|
-
product?: Array<
|
|
1410
|
+
product?: Array<'cfke_controlplane_basic' | 'cfke_controlplane_pro' | 'cfke_controlplane_enterprise' | 'cfke_connected_nodes_basic' | 'cfke_connected_nodes_pro' | 'cfke_connected_nodes_enterprise' | 'cfcr_storage'>;
|
|
927
1411
|
};
|
|
928
1412
|
export type UsageResponse = {
|
|
929
1413
|
/**
|
|
@@ -941,7 +1425,7 @@ export type UsageResponse = {
|
|
|
941
1425
|
/**
|
|
942
1426
|
* The product the usage is associated with
|
|
943
1427
|
*/
|
|
944
|
-
product:
|
|
1428
|
+
product: 'cfke_controlplane_basic' | 'cfke_controlplane_pro' | 'cfke_controlplane_enterprise' | 'cfke_connected_nodes_basic' | 'cfke_connected_nodes_pro' | 'cfke_connected_nodes_enterprise' | 'cfcr_storage';
|
|
945
1429
|
/**
|
|
946
1430
|
* Consumption
|
|
947
1431
|
*/
|
|
@@ -966,7 +1450,7 @@ export type UsageResponse = {
|
|
|
966
1450
|
/**
|
|
967
1451
|
* List of unique products
|
|
968
1452
|
*/
|
|
969
|
-
product?: Array<
|
|
1453
|
+
product?: Array<'cfke_controlplane_basic' | 'cfke_controlplane_pro' | 'cfke_controlplane_enterprise' | 'cfke_connected_nodes_basic' | 'cfke_connected_nodes_pro' | 'cfke_connected_nodes_enterprise' | 'cfcr_storage'>;
|
|
970
1454
|
};
|
|
971
1455
|
};
|
|
972
1456
|
export type Usage = {
|
|
@@ -981,7 +1465,7 @@ export type Usage = {
|
|
|
981
1465
|
/**
|
|
982
1466
|
* The product the usage is associated with
|
|
983
1467
|
*/
|
|
984
|
-
product:
|
|
1468
|
+
product: 'cfke_controlplane_basic' | 'cfke_controlplane_pro' | 'cfke_controlplane_enterprise' | 'cfke_connected_nodes_basic' | 'cfke_connected_nodes_pro' | 'cfke_connected_nodes_enterprise' | 'cfcr_storage';
|
|
985
1469
|
/**
|
|
986
1470
|
* Consumption
|
|
987
1471
|
*/
|
|
@@ -1016,14 +1500,6 @@ export type UserCreateInput = {
|
|
|
1016
1500
|
* User password. Must be at least 8 characters long.
|
|
1017
1501
|
*/
|
|
1018
1502
|
password: string;
|
|
1019
|
-
/**
|
|
1020
|
-
* Status of the user. Can be `active` or `inactive`. Inactive users cannot log in or manage organization resources.
|
|
1021
|
-
*/
|
|
1022
|
-
status?: 'active' | 'inactive';
|
|
1023
|
-
/**
|
|
1024
|
-
* User role. Can be 'Administrator', 'User'.
|
|
1025
|
-
*/
|
|
1026
|
-
role?: 'Administrator' | 'User';
|
|
1027
1503
|
};
|
|
1028
1504
|
export type User = {
|
|
1029
1505
|
/**
|
|
@@ -1077,525 +1553,663 @@ export type UserUpdateInput = {
|
|
|
1077
1553
|
*/
|
|
1078
1554
|
status?: 'active' | 'inactive';
|
|
1079
1555
|
};
|
|
1080
|
-
export type
|
|
1556
|
+
export type ListUserOrganizationsData = {
|
|
1081
1557
|
body?: never;
|
|
1082
|
-
path
|
|
1083
|
-
query?: {
|
|
1558
|
+
path: {
|
|
1084
1559
|
/**
|
|
1085
|
-
*
|
|
1560
|
+
* User email address.
|
|
1086
1561
|
*/
|
|
1087
|
-
|
|
1562
|
+
email: string;
|
|
1088
1563
|
};
|
|
1089
|
-
|
|
1090
|
-
};
|
|
1091
|
-
export type GetUsageErrors = {
|
|
1092
|
-
/**
|
|
1093
|
-
* Not authenticated
|
|
1094
|
-
*/
|
|
1095
|
-
401: unknown;
|
|
1564
|
+
query?: never;
|
|
1565
|
+
url: '/users/organizations/{email}';
|
|
1096
1566
|
};
|
|
1097
|
-
export type
|
|
1567
|
+
export type ListUserOrganizationsResponses = {
|
|
1098
1568
|
/**
|
|
1099
|
-
*
|
|
1569
|
+
* An array of organizations the user belongs to.
|
|
1100
1570
|
*/
|
|
1101
|
-
200:
|
|
1571
|
+
200: Array<{
|
|
1572
|
+
/**
|
|
1573
|
+
* Unique identifier of the organization. UUID v4 string in canonical form
|
|
1574
|
+
*/
|
|
1575
|
+
realm?: string;
|
|
1576
|
+
/**
|
|
1577
|
+
* Human-readable name of the organization
|
|
1578
|
+
*/
|
|
1579
|
+
displayName?: string;
|
|
1580
|
+
}>;
|
|
1102
1581
|
};
|
|
1103
|
-
export type
|
|
1104
|
-
export type
|
|
1582
|
+
export type ListUserOrganizationsResponse = ListUserOrganizationsResponses[keyof ListUserOrganizationsResponses];
|
|
1583
|
+
export type ListUsersData = {
|
|
1105
1584
|
body?: never;
|
|
1106
1585
|
path?: never;
|
|
1107
1586
|
query?: never;
|
|
1108
|
-
url: '/
|
|
1587
|
+
url: '/users';
|
|
1109
1588
|
};
|
|
1110
|
-
export type
|
|
1589
|
+
export type ListUsersErrors = {
|
|
1111
1590
|
/**
|
|
1112
|
-
*
|
|
1591
|
+
* Not authenticated
|
|
1113
1592
|
*/
|
|
1114
|
-
|
|
1593
|
+
401: unknown;
|
|
1115
1594
|
};
|
|
1116
|
-
export type
|
|
1595
|
+
export type ListUsersResponses = {
|
|
1117
1596
|
/**
|
|
1118
|
-
*
|
|
1597
|
+
* An array of users
|
|
1119
1598
|
*/
|
|
1120
|
-
200:
|
|
1599
|
+
200: Array<User>;
|
|
1121
1600
|
};
|
|
1122
|
-
export type
|
|
1123
|
-
export type
|
|
1124
|
-
body
|
|
1601
|
+
export type ListUsersResponse = ListUsersResponses[keyof ListUsersResponses];
|
|
1602
|
+
export type CreateUserData = {
|
|
1603
|
+
body: UserCreateInput;
|
|
1125
1604
|
path?: never;
|
|
1126
1605
|
query?: never;
|
|
1127
|
-
url: '/
|
|
1606
|
+
url: '/users';
|
|
1128
1607
|
};
|
|
1129
|
-
export type
|
|
1608
|
+
export type CreateUserResponses = {
|
|
1130
1609
|
/**
|
|
1131
|
-
*
|
|
1132
|
-
*
|
|
1610
|
+
* Successfully created. Returns created user details.
|
|
1133
1611
|
*/
|
|
1134
|
-
200:
|
|
1135
|
-
/**
|
|
1136
|
-
* The client secret.
|
|
1137
|
-
*/
|
|
1138
|
-
id?: string;
|
|
1139
|
-
};
|
|
1612
|
+
200: User;
|
|
1140
1613
|
};
|
|
1141
|
-
export type
|
|
1142
|
-
export type
|
|
1614
|
+
export type CreateUserResponse = CreateUserResponses[keyof CreateUserResponses];
|
|
1615
|
+
export type DeleteUserData = {
|
|
1143
1616
|
body?: never;
|
|
1144
|
-
path
|
|
1617
|
+
path: {
|
|
1618
|
+
/**
|
|
1619
|
+
* Unique user identifier. UUID v4 string in canonical form
|
|
1620
|
+
*/
|
|
1621
|
+
user_id: string;
|
|
1622
|
+
};
|
|
1145
1623
|
query?: never;
|
|
1146
|
-
url: '/
|
|
1624
|
+
url: '/users/{user_id}';
|
|
1147
1625
|
};
|
|
1148
|
-
export type
|
|
1626
|
+
export type DeleteUserErrors = {
|
|
1627
|
+
/**
|
|
1628
|
+
* Deleting own user is not allowed. Delete your organization instead.
|
|
1629
|
+
*/
|
|
1630
|
+
400: unknown;
|
|
1149
1631
|
/**
|
|
1150
1632
|
* Not authenticated
|
|
1151
1633
|
*/
|
|
1152
1634
|
401: unknown;
|
|
1153
1635
|
};
|
|
1154
|
-
export type
|
|
1636
|
+
export type DeleteUserResponses = {
|
|
1155
1637
|
/**
|
|
1156
|
-
*
|
|
1638
|
+
* User profile information
|
|
1157
1639
|
*/
|
|
1158
|
-
200:
|
|
1640
|
+
200: User;
|
|
1159
1641
|
};
|
|
1160
|
-
export type
|
|
1161
|
-
export type
|
|
1642
|
+
export type DeleteUserResponse = DeleteUserResponses[keyof DeleteUserResponses];
|
|
1643
|
+
export type GetUserData = {
|
|
1162
1644
|
body?: never;
|
|
1163
|
-
path
|
|
1645
|
+
path: {
|
|
1646
|
+
/**
|
|
1647
|
+
* Unique user identifier. UUID v4 string in canonical form
|
|
1648
|
+
*/
|
|
1649
|
+
user_id: string;
|
|
1650
|
+
};
|
|
1164
1651
|
query?: never;
|
|
1165
|
-
url: '/
|
|
1652
|
+
url: '/users/{user_id}';
|
|
1166
1653
|
};
|
|
1167
|
-
export type
|
|
1654
|
+
export type GetUserErrors = {
|
|
1168
1655
|
/**
|
|
1169
|
-
*
|
|
1656
|
+
* Not authenticated
|
|
1170
1657
|
*/
|
|
1171
|
-
|
|
1658
|
+
401: unknown;
|
|
1172
1659
|
};
|
|
1173
|
-
export type
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1660
|
+
export type GetUserResponses = {
|
|
1661
|
+
/**
|
|
1662
|
+
* User profile information
|
|
1663
|
+
*/
|
|
1664
|
+
200: User;
|
|
1665
|
+
};
|
|
1666
|
+
export type GetUserResponse = GetUserResponses[keyof GetUserResponses];
|
|
1667
|
+
export type UpdateUserData = {
|
|
1668
|
+
body: UserUpdateInput;
|
|
1669
|
+
path: {
|
|
1670
|
+
/**
|
|
1671
|
+
* Unique user identifier. UUID v4 string in canonical form
|
|
1672
|
+
*/
|
|
1673
|
+
user_id: string;
|
|
1674
|
+
};
|
|
1177
1675
|
query?: never;
|
|
1178
|
-
url: '/
|
|
1676
|
+
url: '/users/{user_id}';
|
|
1179
1677
|
};
|
|
1180
|
-
export type
|
|
1678
|
+
export type UpdateUserResponses = {
|
|
1181
1679
|
/**
|
|
1182
|
-
* Successfully
|
|
1680
|
+
* Successfully created. Returns created user details.
|
|
1183
1681
|
*/
|
|
1184
|
-
200:
|
|
1682
|
+
200: User;
|
|
1185
1683
|
};
|
|
1186
|
-
export type
|
|
1187
|
-
export type
|
|
1684
|
+
export type UpdateUserResponse = UpdateUserResponses[keyof UpdateUserResponses];
|
|
1685
|
+
export type ListTokensData = {
|
|
1188
1686
|
body?: never;
|
|
1189
1687
|
path?: never;
|
|
1190
1688
|
query?: never;
|
|
1191
|
-
url: '/
|
|
1689
|
+
url: '/tokens';
|
|
1192
1690
|
};
|
|
1193
|
-
export type
|
|
1691
|
+
export type ListTokensErrors = {
|
|
1194
1692
|
/**
|
|
1195
1693
|
* Not authenticated
|
|
1196
1694
|
*/
|
|
1197
1695
|
401: unknown;
|
|
1198
1696
|
};
|
|
1199
|
-
export type
|
|
1697
|
+
export type ListTokensResponses = {
|
|
1200
1698
|
/**
|
|
1201
|
-
*
|
|
1699
|
+
* Returns a list of access token details with masked secrets.
|
|
1202
1700
|
*/
|
|
1203
|
-
200: Array<
|
|
1701
|
+
200: Array<Token>;
|
|
1204
1702
|
};
|
|
1205
|
-
export type
|
|
1206
|
-
export type
|
|
1207
|
-
body:
|
|
1208
|
-
/**
|
|
1209
|
-
* Promotional code to redeem
|
|
1210
|
-
*/
|
|
1211
|
-
code?: string;
|
|
1212
|
-
};
|
|
1703
|
+
export type ListTokensResponse = ListTokensResponses[keyof ListTokensResponses];
|
|
1704
|
+
export type CreateTokenData = {
|
|
1705
|
+
body: TokenCreateInput;
|
|
1213
1706
|
path?: never;
|
|
1214
1707
|
query?: never;
|
|
1215
|
-
url: '/
|
|
1708
|
+
url: '/tokens';
|
|
1216
1709
|
};
|
|
1217
|
-
export type
|
|
1710
|
+
export type CreateTokenErrors = {
|
|
1218
1711
|
/**
|
|
1219
1712
|
* Not authenticated
|
|
1220
1713
|
*/
|
|
1221
1714
|
401: unknown;
|
|
1222
1715
|
};
|
|
1223
|
-
export type
|
|
1716
|
+
export type CreateTokenResponses = {
|
|
1224
1717
|
/**
|
|
1225
|
-
* Successfully created
|
|
1718
|
+
* Successfully created. Returns created token details with unmasked/raw secret.
|
|
1719
|
+
*/
|
|
1720
|
+
200: Token;
|
|
1721
|
+
};
|
|
1722
|
+
export type CreateTokenResponse = CreateTokenResponses[keyof CreateTokenResponses];
|
|
1723
|
+
export type DeleteTokenData = {
|
|
1724
|
+
body?: never;
|
|
1725
|
+
path: {
|
|
1726
|
+
/**
|
|
1727
|
+
* Generated unique identifier of the access token.
|
|
1728
|
+
*/
|
|
1729
|
+
token_id: string;
|
|
1730
|
+
};
|
|
1731
|
+
query?: never;
|
|
1732
|
+
url: '/tokens/{token_id}';
|
|
1733
|
+
};
|
|
1734
|
+
export type DeleteTokenResponses = {
|
|
1735
|
+
/**
|
|
1736
|
+
* Successfully deleted.
|
|
1226
1737
|
*/
|
|
1227
1738
|
200: unknown;
|
|
1228
1739
|
};
|
|
1229
|
-
export type
|
|
1740
|
+
export type GetTokenData = {
|
|
1230
1741
|
body?: never;
|
|
1231
1742
|
path: {
|
|
1232
1743
|
/**
|
|
1233
|
-
*
|
|
1744
|
+
* Generated unique identifier of the access token.
|
|
1234
1745
|
*/
|
|
1235
|
-
|
|
1746
|
+
token_id: string;
|
|
1236
1747
|
};
|
|
1237
1748
|
query?: never;
|
|
1238
|
-
url: '/
|
|
1749
|
+
url: '/tokens/{token_id}';
|
|
1239
1750
|
};
|
|
1240
|
-
export type
|
|
1751
|
+
export type GetTokenErrors = {
|
|
1241
1752
|
/**
|
|
1242
1753
|
* Not authenticated
|
|
1243
1754
|
*/
|
|
1244
1755
|
401: unknown;
|
|
1245
1756
|
};
|
|
1246
|
-
export type
|
|
1757
|
+
export type GetTokenResponses = {
|
|
1247
1758
|
/**
|
|
1248
|
-
*
|
|
1759
|
+
* Returns access token details with masked secret.
|
|
1249
1760
|
*/
|
|
1250
|
-
200:
|
|
1761
|
+
200: Token;
|
|
1251
1762
|
};
|
|
1252
|
-
export type
|
|
1253
|
-
export type
|
|
1254
|
-
body:
|
|
1763
|
+
export type GetTokenResponse = GetTokenResponses[keyof GetTokenResponses];
|
|
1764
|
+
export type UpdateTokenData = {
|
|
1765
|
+
body: TokenUpdateInput;
|
|
1255
1766
|
path: {
|
|
1256
1767
|
/**
|
|
1257
|
-
*
|
|
1768
|
+
* Generated unique identifier of the access token.
|
|
1258
1769
|
*/
|
|
1259
|
-
|
|
1770
|
+
token_id: string;
|
|
1260
1771
|
};
|
|
1261
1772
|
query?: never;
|
|
1262
|
-
url: '/
|
|
1773
|
+
url: '/tokens/{token_id}';
|
|
1774
|
+
};
|
|
1775
|
+
export type UpdateTokenErrors = {
|
|
1776
|
+
/**
|
|
1777
|
+
* Not authenticated
|
|
1778
|
+
*/
|
|
1779
|
+
401: unknown;
|
|
1263
1780
|
};
|
|
1264
|
-
export type
|
|
1781
|
+
export type UpdateTokenResponses = {
|
|
1265
1782
|
/**
|
|
1266
|
-
* Successfully
|
|
1783
|
+
* Successfully updated. Returns updated token details with masked secret.
|
|
1267
1784
|
*/
|
|
1268
|
-
200:
|
|
1785
|
+
200: Token;
|
|
1269
1786
|
};
|
|
1270
|
-
export type
|
|
1271
|
-
export type
|
|
1787
|
+
export type UpdateTokenResponse = UpdateTokenResponses[keyof UpdateTokenResponses];
|
|
1788
|
+
export type RegenerateTokenData = {
|
|
1272
1789
|
body?: never;
|
|
1273
1790
|
path: {
|
|
1274
1791
|
/**
|
|
1275
|
-
*
|
|
1276
|
-
*/
|
|
1277
|
-
cluster_id: string;
|
|
1278
|
-
/**
|
|
1279
|
-
* Chart deployment name as the unique identifier of the chart.
|
|
1792
|
+
* Generated unique identifier of the access token.
|
|
1280
1793
|
*/
|
|
1281
|
-
|
|
1794
|
+
token_id: string;
|
|
1282
1795
|
};
|
|
1283
1796
|
query?: never;
|
|
1284
|
-
url: '/
|
|
1797
|
+
url: '/tokens/{token_id}/secret';
|
|
1285
1798
|
};
|
|
1286
|
-
export type
|
|
1799
|
+
export type RegenerateTokenErrors = {
|
|
1287
1800
|
/**
|
|
1288
|
-
*
|
|
1801
|
+
* Not authenticated
|
|
1289
1802
|
*/
|
|
1290
|
-
|
|
1803
|
+
401: unknown;
|
|
1804
|
+
};
|
|
1805
|
+
export type RegenerateTokenResponses = {
|
|
1806
|
+
/**
|
|
1807
|
+
* Successfully updated. Returns updated token details with unmasked / raw secret.
|
|
1808
|
+
*/
|
|
1809
|
+
200: Token;
|
|
1291
1810
|
};
|
|
1292
|
-
export type
|
|
1293
|
-
export type
|
|
1811
|
+
export type RegenerateTokenResponse = RegenerateTokenResponses[keyof RegenerateTokenResponses];
|
|
1812
|
+
export type ListTicketsData = {
|
|
1294
1813
|
body?: never;
|
|
1295
|
-
path
|
|
1296
|
-
/**
|
|
1297
|
-
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1298
|
-
*/
|
|
1299
|
-
cluster_id: string;
|
|
1300
|
-
/**
|
|
1301
|
-
* Chart deployment name as the unique identifier of the chart.
|
|
1302
|
-
*/
|
|
1303
|
-
chart_name: string;
|
|
1304
|
-
};
|
|
1814
|
+
path?: never;
|
|
1305
1815
|
query?: never;
|
|
1306
|
-
url: '/
|
|
1816
|
+
url: '/tickets';
|
|
1307
1817
|
};
|
|
1308
|
-
export type
|
|
1818
|
+
export type ListTicketsResponses = {
|
|
1309
1819
|
/**
|
|
1310
|
-
*
|
|
1820
|
+
* An array of tickets for the organization, newest first.
|
|
1311
1821
|
*/
|
|
1312
|
-
200:
|
|
1822
|
+
200: Array<Ticket>;
|
|
1313
1823
|
};
|
|
1314
|
-
export type
|
|
1315
|
-
export type
|
|
1316
|
-
body:
|
|
1317
|
-
path: {
|
|
1318
|
-
/**
|
|
1319
|
-
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1320
|
-
*/
|
|
1321
|
-
cluster_id: string;
|
|
1824
|
+
export type ListTicketsResponse = ListTicketsResponses[keyof ListTicketsResponses];
|
|
1825
|
+
export type CreateTicketData = {
|
|
1826
|
+
body: {
|
|
1322
1827
|
/**
|
|
1323
|
-
*
|
|
1828
|
+
* JSON-encoded TicketCreateInput.
|
|
1324
1829
|
*/
|
|
1325
|
-
|
|
1830
|
+
payload?: string;
|
|
1831
|
+
attachments?: Array<Blob | File>;
|
|
1326
1832
|
};
|
|
1833
|
+
path?: never;
|
|
1327
1834
|
query?: never;
|
|
1328
|
-
url: '/
|
|
1835
|
+
url: '/tickets';
|
|
1329
1836
|
};
|
|
1330
|
-
export type
|
|
1837
|
+
export type CreateTicketResponses = {
|
|
1331
1838
|
/**
|
|
1332
|
-
*
|
|
1839
|
+
* Ticket created.
|
|
1333
1840
|
*/
|
|
1334
|
-
200:
|
|
1841
|
+
200: Ticket;
|
|
1335
1842
|
};
|
|
1336
|
-
export type
|
|
1337
|
-
export type
|
|
1843
|
+
export type CreateTicketResponse = CreateTicketResponses[keyof CreateTicketResponses];
|
|
1844
|
+
export type CloseTicketData = {
|
|
1338
1845
|
body?: never;
|
|
1339
1846
|
path: {
|
|
1340
|
-
|
|
1341
|
-
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1342
|
-
*/
|
|
1343
|
-
cluster_id: string;
|
|
1847
|
+
ticket_id: string;
|
|
1344
1848
|
};
|
|
1345
1849
|
query?: never;
|
|
1346
|
-
url: '/
|
|
1850
|
+
url: '/tickets/{ticket_id}';
|
|
1347
1851
|
};
|
|
1348
|
-
export type
|
|
1852
|
+
export type CloseTicketResponses = {
|
|
1349
1853
|
/**
|
|
1350
|
-
*
|
|
1854
|
+
* Ticket closed.
|
|
1351
1855
|
*/
|
|
1352
|
-
|
|
1856
|
+
200: Ticket;
|
|
1353
1857
|
};
|
|
1354
|
-
export type
|
|
1858
|
+
export type CloseTicketResponse = CloseTicketResponses[keyof CloseTicketResponses];
|
|
1859
|
+
export type GetTicketData = {
|
|
1860
|
+
body?: never;
|
|
1861
|
+
path: {
|
|
1862
|
+
ticket_id: string;
|
|
1863
|
+
};
|
|
1864
|
+
query?: never;
|
|
1865
|
+
url: '/tickets/{ticket_id}';
|
|
1866
|
+
};
|
|
1867
|
+
export type GetTicketResponses = {
|
|
1355
1868
|
/**
|
|
1356
|
-
*
|
|
1869
|
+
* Ticket with messages (internal notes excluded).
|
|
1357
1870
|
*/
|
|
1358
|
-
200:
|
|
1871
|
+
200: Ticket;
|
|
1359
1872
|
};
|
|
1360
|
-
export type
|
|
1361
|
-
export type
|
|
1362
|
-
body
|
|
1873
|
+
export type GetTicketResponse = GetTicketResponses[keyof GetTicketResponses];
|
|
1874
|
+
export type GrantTicketSupportAccessData = {
|
|
1875
|
+
body?: never;
|
|
1363
1876
|
path: {
|
|
1364
|
-
|
|
1365
|
-
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1366
|
-
*/
|
|
1367
|
-
cluster_id: string;
|
|
1877
|
+
ticket_id: string;
|
|
1368
1878
|
};
|
|
1369
1879
|
query?: never;
|
|
1370
|
-
url: '/
|
|
1880
|
+
url: '/tickets/{ticket_id}/support-access';
|
|
1371
1881
|
};
|
|
1372
|
-
export type
|
|
1882
|
+
export type GrantTicketSupportAccessErrors = {
|
|
1373
1883
|
/**
|
|
1374
|
-
*
|
|
1884
|
+
* Ticket is closed. Open a new ticket instead.
|
|
1375
1885
|
*/
|
|
1376
|
-
|
|
1886
|
+
409: unknown;
|
|
1377
1887
|
};
|
|
1378
|
-
export type
|
|
1379
|
-
export type CreateFleetResponses = {
|
|
1888
|
+
export type GrantTicketSupportAccessResponses = {
|
|
1380
1889
|
/**
|
|
1381
|
-
*
|
|
1890
|
+
* Support access granted.
|
|
1382
1891
|
*/
|
|
1383
|
-
200:
|
|
1892
|
+
200: Ticket;
|
|
1384
1893
|
};
|
|
1385
|
-
export type
|
|
1386
|
-
export type
|
|
1387
|
-
body
|
|
1388
|
-
path: {
|
|
1389
|
-
/**
|
|
1390
|
-
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1391
|
-
*/
|
|
1392
|
-
cluster_id: string;
|
|
1894
|
+
export type GrantTicketSupportAccessResponse = GrantTicketSupportAccessResponses[keyof GrantTicketSupportAccessResponses];
|
|
1895
|
+
export type ReplyTicketData = {
|
|
1896
|
+
body: {
|
|
1393
1897
|
/**
|
|
1394
|
-
*
|
|
1898
|
+
* JSON-encoded TicketMessageInput.
|
|
1395
1899
|
*/
|
|
1396
|
-
|
|
1900
|
+
payload?: string;
|
|
1901
|
+
attachments?: Array<Blob | File>;
|
|
1902
|
+
};
|
|
1903
|
+
path: {
|
|
1904
|
+
ticket_id: string;
|
|
1397
1905
|
};
|
|
1398
1906
|
query?: never;
|
|
1399
|
-
url: '/
|
|
1907
|
+
url: '/tickets/{ticket_id}/messages';
|
|
1400
1908
|
};
|
|
1401
|
-
export type
|
|
1909
|
+
export type ReplyTicketErrors = {
|
|
1402
1910
|
/**
|
|
1403
|
-
*
|
|
1911
|
+
* Ticket is closed. Open a new ticket instead.
|
|
1404
1912
|
*/
|
|
1405
|
-
|
|
1913
|
+
409: unknown;
|
|
1406
1914
|
};
|
|
1407
|
-
export type
|
|
1408
|
-
|
|
1915
|
+
export type ReplyTicketResponses = {
|
|
1916
|
+
/**
|
|
1917
|
+
* Reply appended.
|
|
1918
|
+
*/
|
|
1919
|
+
200: TicketMessage;
|
|
1920
|
+
};
|
|
1921
|
+
export type ReplyTicketResponse = ReplyTicketResponses[keyof ReplyTicketResponses];
|
|
1922
|
+
export type GetTicketAttachmentData = {
|
|
1409
1923
|
body?: never;
|
|
1410
1924
|
path: {
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
*/
|
|
1414
|
-
cluster_id: string;
|
|
1415
|
-
/**
|
|
1416
|
-
* Unique identifier of the fleet. UUID v4 string in canonical form
|
|
1417
|
-
*/
|
|
1418
|
-
fleet_name: string;
|
|
1925
|
+
ticket_id: string;
|
|
1926
|
+
attachment_id: string;
|
|
1419
1927
|
};
|
|
1420
1928
|
query?: never;
|
|
1421
|
-
url: '/
|
|
1929
|
+
url: '/tickets/{ticket_id}/attachments/{attachment_id}';
|
|
1422
1930
|
};
|
|
1423
|
-
export type
|
|
1931
|
+
export type GetTicketAttachmentResponses = {
|
|
1424
1932
|
/**
|
|
1425
|
-
*
|
|
1933
|
+
* Attachment binary stream.
|
|
1426
1934
|
*/
|
|
1427
|
-
200:
|
|
1935
|
+
200: Blob | File;
|
|
1428
1936
|
};
|
|
1429
|
-
export type
|
|
1430
|
-
export type
|
|
1431
|
-
body
|
|
1432
|
-
path
|
|
1433
|
-
/**
|
|
1434
|
-
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1435
|
-
*/
|
|
1436
|
-
cluster_id: string;
|
|
1437
|
-
/**
|
|
1438
|
-
* Unique identifier of the fleet. UUID v4 string in canonical form
|
|
1439
|
-
*/
|
|
1440
|
-
fleet_name: string;
|
|
1441
|
-
};
|
|
1937
|
+
export type GetTicketAttachmentResponse = GetTicketAttachmentResponses[keyof GetTicketAttachmentResponses];
|
|
1938
|
+
export type ListRoadmapData = {
|
|
1939
|
+
body?: never;
|
|
1940
|
+
path?: never;
|
|
1442
1941
|
query?: never;
|
|
1443
|
-
url: '/
|
|
1942
|
+
url: '/roadmap';
|
|
1444
1943
|
};
|
|
1445
|
-
export type
|
|
1944
|
+
export type ListRoadmapResponses = {
|
|
1446
1945
|
/**
|
|
1447
|
-
*
|
|
1946
|
+
* An array of roadmap items, newest first.
|
|
1448
1947
|
*/
|
|
1449
|
-
|
|
1948
|
+
200: Array<RoadmapItem>;
|
|
1450
1949
|
};
|
|
1451
|
-
export type
|
|
1452
|
-
export type
|
|
1950
|
+
export type ListRoadmapResponse = ListRoadmapResponses[keyof ListRoadmapResponses];
|
|
1951
|
+
export type SuggestRoadmapData = {
|
|
1952
|
+
body: RoadmapItemCreateInput;
|
|
1953
|
+
path?: never;
|
|
1954
|
+
query?: never;
|
|
1955
|
+
url: '/roadmap';
|
|
1956
|
+
};
|
|
1957
|
+
export type SuggestRoadmapResponses = {
|
|
1453
1958
|
/**
|
|
1454
|
-
*
|
|
1959
|
+
* Suggestion submitted for review.
|
|
1455
1960
|
*/
|
|
1456
|
-
200:
|
|
1961
|
+
200: RoadmapItem;
|
|
1457
1962
|
};
|
|
1458
|
-
export type
|
|
1459
|
-
export type
|
|
1963
|
+
export type SuggestRoadmapResponse = SuggestRoadmapResponses[keyof SuggestRoadmapResponses];
|
|
1964
|
+
export type UnvoteRoadmapData = {
|
|
1460
1965
|
body?: never;
|
|
1461
1966
|
path: {
|
|
1462
|
-
|
|
1463
|
-
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1464
|
-
*/
|
|
1465
|
-
cluster_id: string;
|
|
1967
|
+
item_id: string;
|
|
1466
1968
|
};
|
|
1467
1969
|
query?: never;
|
|
1468
|
-
url: '/
|
|
1970
|
+
url: '/roadmap/{item_id}/vote';
|
|
1469
1971
|
};
|
|
1470
|
-
export type
|
|
1972
|
+
export type UnvoteRoadmapErrors = {
|
|
1471
1973
|
/**
|
|
1472
|
-
*
|
|
1974
|
+
* Roadmap item not found.
|
|
1473
1975
|
*/
|
|
1474
|
-
|
|
1976
|
+
404: unknown;
|
|
1475
1977
|
};
|
|
1476
|
-
export type
|
|
1978
|
+
export type UnvoteRoadmapResponses = {
|
|
1477
1979
|
/**
|
|
1478
|
-
*
|
|
1980
|
+
* Vote removed. Returns the item without a vote.
|
|
1479
1981
|
*/
|
|
1480
|
-
200:
|
|
1982
|
+
200: RoadmapItem;
|
|
1481
1983
|
};
|
|
1482
|
-
export type
|
|
1483
|
-
|
|
1484
|
-
|
|
1984
|
+
export type UnvoteRoadmapResponse = UnvoteRoadmapResponses[keyof UnvoteRoadmapResponses];
|
|
1985
|
+
export type VoteRoadmapData = {
|
|
1986
|
+
body: RoadmapVoteInput;
|
|
1987
|
+
path: {
|
|
1988
|
+
item_id: string;
|
|
1989
|
+
};
|
|
1485
1990
|
query?: never;
|
|
1486
|
-
url: '/
|
|
1991
|
+
url: '/roadmap/{item_id}/vote';
|
|
1487
1992
|
};
|
|
1488
|
-
export type
|
|
1993
|
+
export type VoteRoadmapErrors = {
|
|
1489
1994
|
/**
|
|
1490
|
-
*
|
|
1995
|
+
* Roadmap item not found.
|
|
1491
1996
|
*/
|
|
1492
|
-
|
|
1997
|
+
404: unknown;
|
|
1493
1998
|
};
|
|
1494
|
-
export type
|
|
1999
|
+
export type VoteRoadmapResponses = {
|
|
1495
2000
|
/**
|
|
1496
|
-
*
|
|
2001
|
+
* Vote saved. Returns the item with your vote.
|
|
1497
2002
|
*/
|
|
1498
|
-
200:
|
|
2003
|
+
200: RoadmapItem;
|
|
1499
2004
|
};
|
|
1500
|
-
export type
|
|
1501
|
-
export type
|
|
1502
|
-
body
|
|
2005
|
+
export type VoteRoadmapResponse = VoteRoadmapResponses[keyof VoteRoadmapResponses];
|
|
2006
|
+
export type ListRepositoriesData = {
|
|
2007
|
+
body?: never;
|
|
1503
2008
|
path?: never;
|
|
1504
2009
|
query?: never;
|
|
1505
|
-
url: '/
|
|
2010
|
+
url: '/registry';
|
|
1506
2011
|
};
|
|
1507
|
-
export type
|
|
2012
|
+
export type ListRepositoriesErrors = {
|
|
1508
2013
|
/**
|
|
1509
|
-
*
|
|
2014
|
+
* Not authenticated
|
|
1510
2015
|
*/
|
|
1511
|
-
|
|
2016
|
+
401: unknown;
|
|
2017
|
+
/**
|
|
2018
|
+
* Internal server error
|
|
2019
|
+
*/
|
|
2020
|
+
500: unknown;
|
|
1512
2021
|
};
|
|
1513
|
-
export type
|
|
1514
|
-
export type CreateClusterResponses = {
|
|
2022
|
+
export type ListRepositoriesResponses = {
|
|
1515
2023
|
/**
|
|
1516
|
-
*
|
|
2024
|
+
* List of repositories
|
|
1517
2025
|
*/
|
|
1518
|
-
200:
|
|
2026
|
+
200: Array<RegistryRepository>;
|
|
1519
2027
|
};
|
|
1520
|
-
export type
|
|
1521
|
-
export type
|
|
2028
|
+
export type ListRepositoriesResponse = ListRepositoriesResponses[keyof ListRepositoriesResponses];
|
|
2029
|
+
export type ListTagsData = {
|
|
1522
2030
|
body?: never;
|
|
1523
2031
|
path: {
|
|
1524
2032
|
/**
|
|
1525
|
-
*
|
|
2033
|
+
* Region where the repository is located
|
|
1526
2034
|
*/
|
|
1527
|
-
|
|
2035
|
+
region: string;
|
|
2036
|
+
/**
|
|
2037
|
+
* Name of the repository
|
|
2038
|
+
*/
|
|
2039
|
+
repository: string;
|
|
1528
2040
|
};
|
|
1529
2041
|
query?: never;
|
|
1530
|
-
url: '/
|
|
2042
|
+
url: '/registry/{region}/{repository}';
|
|
1531
2043
|
};
|
|
1532
|
-
export type
|
|
2044
|
+
export type ListTagsErrors = {
|
|
1533
2045
|
/**
|
|
1534
|
-
*
|
|
2046
|
+
* Not authenticated
|
|
1535
2047
|
*/
|
|
1536
|
-
|
|
2048
|
+
401: unknown;
|
|
2049
|
+
/**
|
|
2050
|
+
* Repository not found
|
|
2051
|
+
*/
|
|
2052
|
+
404: unknown;
|
|
2053
|
+
/**
|
|
2054
|
+
* Internal server error
|
|
2055
|
+
*/
|
|
2056
|
+
500: unknown;
|
|
1537
2057
|
};
|
|
1538
|
-
export type
|
|
1539
|
-
|
|
2058
|
+
export type ListTagsResponses = {
|
|
2059
|
+
/**
|
|
2060
|
+
* Repository with tags
|
|
2061
|
+
*/
|
|
2062
|
+
200: RegistryRepositoryWithTags;
|
|
2063
|
+
};
|
|
2064
|
+
export type ListTagsResponse = ListTagsResponses[keyof ListTagsResponses];
|
|
2065
|
+
export type DeleteTagData = {
|
|
1540
2066
|
body?: never;
|
|
1541
2067
|
path: {
|
|
1542
2068
|
/**
|
|
1543
|
-
*
|
|
2069
|
+
* Region where the repository is located
|
|
1544
2070
|
*/
|
|
1545
|
-
|
|
2071
|
+
region: string;
|
|
2072
|
+
/**
|
|
2073
|
+
* Name of the repository
|
|
2074
|
+
*/
|
|
2075
|
+
repository: string;
|
|
2076
|
+
/**
|
|
2077
|
+
* Name of the tag
|
|
2078
|
+
*/
|
|
2079
|
+
tag: string;
|
|
1546
2080
|
};
|
|
1547
2081
|
query?: never;
|
|
1548
|
-
url: '/
|
|
2082
|
+
url: '/registry/{region}/{repository}/{tag}';
|
|
1549
2083
|
};
|
|
1550
|
-
export type
|
|
2084
|
+
export type DeleteTagErrors = {
|
|
1551
2085
|
/**
|
|
1552
|
-
*
|
|
2086
|
+
* Not authenticated
|
|
1553
2087
|
*/
|
|
1554
|
-
|
|
2088
|
+
401: unknown;
|
|
2089
|
+
/**
|
|
2090
|
+
* Tag not found
|
|
2091
|
+
*/
|
|
2092
|
+
404: unknown;
|
|
2093
|
+
/**
|
|
2094
|
+
* Internal server error
|
|
2095
|
+
*/
|
|
2096
|
+
500: unknown;
|
|
1555
2097
|
};
|
|
1556
|
-
export type
|
|
1557
|
-
|
|
1558
|
-
|
|
2098
|
+
export type DeleteTagResponses = {
|
|
2099
|
+
/**
|
|
2100
|
+
* Tag successfully deleted
|
|
2101
|
+
*/
|
|
2102
|
+
200: unknown;
|
|
2103
|
+
};
|
|
2104
|
+
export type GetTagData = {
|
|
2105
|
+
body?: never;
|
|
1559
2106
|
path: {
|
|
1560
2107
|
/**
|
|
1561
|
-
*
|
|
2108
|
+
* Region where the repository is located
|
|
1562
2109
|
*/
|
|
1563
|
-
|
|
2110
|
+
region: string;
|
|
2111
|
+
/**
|
|
2112
|
+
* Name of the repository
|
|
2113
|
+
*/
|
|
2114
|
+
repository: string;
|
|
2115
|
+
/**
|
|
2116
|
+
* Name of the tag
|
|
2117
|
+
*/
|
|
2118
|
+
tag: string;
|
|
1564
2119
|
};
|
|
1565
2120
|
query?: never;
|
|
1566
|
-
url: '/
|
|
2121
|
+
url: '/registry/{region}/{repository}/{tag}';
|
|
1567
2122
|
};
|
|
1568
|
-
export type
|
|
2123
|
+
export type GetTagErrors = {
|
|
1569
2124
|
/**
|
|
1570
|
-
*
|
|
2125
|
+
* Not authenticated
|
|
1571
2126
|
*/
|
|
1572
|
-
|
|
2127
|
+
401: unknown;
|
|
2128
|
+
/**
|
|
2129
|
+
* Tag not found
|
|
2130
|
+
*/
|
|
2131
|
+
404: unknown;
|
|
2132
|
+
/**
|
|
2133
|
+
* Internal server error
|
|
2134
|
+
*/
|
|
2135
|
+
500: unknown;
|
|
1573
2136
|
};
|
|
1574
|
-
export type
|
|
1575
|
-
|
|
2137
|
+
export type GetTagResponses = {
|
|
2138
|
+
/**
|
|
2139
|
+
* Tag details
|
|
2140
|
+
*/
|
|
2141
|
+
200: RegistryTag;
|
|
2142
|
+
};
|
|
2143
|
+
export type GetTagResponse = GetTagResponses[keyof GetTagResponses];
|
|
2144
|
+
export type GetOrganizationData = {
|
|
1576
2145
|
body?: never;
|
|
1577
|
-
path
|
|
2146
|
+
path?: never;
|
|
2147
|
+
query?: never;
|
|
2148
|
+
url: '/organization';
|
|
2149
|
+
};
|
|
2150
|
+
export type GetOrganizationResponses = {
|
|
2151
|
+
/**
|
|
2152
|
+
* Returns a single object containing organization details.
|
|
2153
|
+
*/
|
|
2154
|
+
200: Organization;
|
|
2155
|
+
};
|
|
2156
|
+
export type GetOrganizationResponse = GetOrganizationResponses[keyof GetOrganizationResponses];
|
|
2157
|
+
export type CreateOrganizationData = {
|
|
2158
|
+
body: OrganizationCreateInput;
|
|
2159
|
+
path?: never;
|
|
2160
|
+
query?: never;
|
|
2161
|
+
url: '/organization';
|
|
2162
|
+
};
|
|
2163
|
+
export type CreateOrganizationResponses = {
|
|
2164
|
+
/**
|
|
2165
|
+
* Organization signup accepted. Returns the generated organization id immediately; provisioning (billing, Keycloak realm, user) continues asynchronously in the background.
|
|
2166
|
+
*
|
|
2167
|
+
*/
|
|
2168
|
+
200: OrganizationCreateOutput;
|
|
2169
|
+
};
|
|
2170
|
+
export type CreateOrganizationResponse = CreateOrganizationResponses[keyof CreateOrganizationResponses];
|
|
2171
|
+
export type PostMcpData = {
|
|
2172
|
+
/**
|
|
2173
|
+
* JSON-RPC 2.0 request payload
|
|
2174
|
+
*/
|
|
2175
|
+
body: {
|
|
2176
|
+
jsonrpc?: string;
|
|
2177
|
+
method?: string;
|
|
2178
|
+
id?: string | number;
|
|
1578
2179
|
/**
|
|
1579
|
-
*
|
|
2180
|
+
* Method-specific parameters
|
|
1580
2181
|
*/
|
|
1581
|
-
|
|
2182
|
+
params?: {
|
|
2183
|
+
[key: string]: unknown;
|
|
2184
|
+
};
|
|
1582
2185
|
};
|
|
2186
|
+
path?: never;
|
|
1583
2187
|
query?: never;
|
|
1584
|
-
url: '/
|
|
2188
|
+
url: '/mcp';
|
|
1585
2189
|
};
|
|
1586
|
-
export type
|
|
2190
|
+
export type PostMcpErrors = {
|
|
1587
2191
|
/**
|
|
1588
2192
|
* Not authenticated
|
|
1589
2193
|
*/
|
|
1590
2194
|
401: unknown;
|
|
1591
2195
|
};
|
|
1592
|
-
export type
|
|
2196
|
+
export type PostMcpResponses = {
|
|
1593
2197
|
/**
|
|
1594
|
-
*
|
|
2198
|
+
* JSON-RPC 2.0 success or error response
|
|
1595
2199
|
*/
|
|
1596
|
-
200:
|
|
2200
|
+
200: {
|
|
2201
|
+
jsonrpc?: string;
|
|
2202
|
+
id?: string | number;
|
|
2203
|
+
result?: {
|
|
2204
|
+
[key: string]: unknown;
|
|
2205
|
+
};
|
|
2206
|
+
error?: {
|
|
2207
|
+
code?: number;
|
|
2208
|
+
message?: string;
|
|
2209
|
+
};
|
|
2210
|
+
};
|
|
1597
2211
|
};
|
|
1598
|
-
export type
|
|
2212
|
+
export type PostMcpResponse = PostMcpResponses[keyof PostMcpResponses];
|
|
1599
2213
|
export type ListInvitesData = {
|
|
1600
2214
|
body?: never;
|
|
1601
2215
|
path?: never;
|
|
@@ -1616,12 +2230,7 @@ export type ListInvitesResponses = {
|
|
|
1616
2230
|
};
|
|
1617
2231
|
export type ListInvitesResponse = ListInvitesResponses[keyof ListInvitesResponses];
|
|
1618
2232
|
export type CreateInviteData = {
|
|
1619
|
-
body:
|
|
1620
|
-
/**
|
|
1621
|
-
* User email address
|
|
1622
|
-
*/
|
|
1623
|
-
email?: string;
|
|
1624
|
-
};
|
|
2233
|
+
body: InviteCreateInput;
|
|
1625
2234
|
path?: never;
|
|
1626
2235
|
query?: never;
|
|
1627
2236
|
url: '/invites';
|
|
@@ -1644,536 +2253,608 @@ export type GetInviteData = {
|
|
|
1644
2253
|
query?: never;
|
|
1645
2254
|
url: '/invites/{code}';
|
|
1646
2255
|
};
|
|
1647
|
-
export type GetInviteResponses = {
|
|
2256
|
+
export type GetInviteResponses = {
|
|
2257
|
+
/**
|
|
2258
|
+
* The invitation code is valid. Returns the invited email and organization.
|
|
2259
|
+
*/
|
|
2260
|
+
200: {
|
|
2261
|
+
/**
|
|
2262
|
+
* Email address the invite was issued to.
|
|
2263
|
+
*/
|
|
2264
|
+
email?: string;
|
|
2265
|
+
/**
|
|
2266
|
+
* Identifier of the organization the invite grants access to.
|
|
2267
|
+
*/
|
|
2268
|
+
organization_id?: string;
|
|
2269
|
+
};
|
|
2270
|
+
};
|
|
2271
|
+
export type GetInviteResponse = GetInviteResponses[keyof GetInviteResponses];
|
|
2272
|
+
export type DeleteInviteData = {
|
|
2273
|
+
body?: never;
|
|
2274
|
+
path: {
|
|
2275
|
+
/**
|
|
2276
|
+
* User email address
|
|
2277
|
+
*/
|
|
2278
|
+
email: string;
|
|
2279
|
+
};
|
|
2280
|
+
query?: never;
|
|
2281
|
+
url: '/invites/{email}';
|
|
2282
|
+
};
|
|
2283
|
+
export type DeleteInviteResponses = {
|
|
2284
|
+
/**
|
|
2285
|
+
* Successfully deleted.
|
|
2286
|
+
*/
|
|
2287
|
+
200: unknown;
|
|
2288
|
+
};
|
|
2289
|
+
export type SendFeedbackData = {
|
|
2290
|
+
body: FeedbackCreateInput;
|
|
2291
|
+
path?: never;
|
|
2292
|
+
query?: never;
|
|
2293
|
+
url: '/feedback';
|
|
2294
|
+
};
|
|
2295
|
+
export type SendFeedbackErrors = {
|
|
2296
|
+
/**
|
|
2297
|
+
* Too much feedback from this organization in the last hour.
|
|
2298
|
+
*/
|
|
2299
|
+
429: unknown;
|
|
2300
|
+
};
|
|
2301
|
+
export type SendFeedbackResponses = {
|
|
2302
|
+
/**
|
|
2303
|
+
* Feedback received.
|
|
2304
|
+
*/
|
|
2305
|
+
200: Feedback;
|
|
2306
|
+
};
|
|
2307
|
+
export type SendFeedbackResponse = SendFeedbackResponses[keyof SendFeedbackResponses];
|
|
2308
|
+
export type QueryClusterData = {
|
|
2309
|
+
body?: never;
|
|
2310
|
+
path: {
|
|
2311
|
+
/**
|
|
2312
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2313
|
+
*/
|
|
2314
|
+
cluster_id: string;
|
|
2315
|
+
};
|
|
2316
|
+
query?: never;
|
|
2317
|
+
url: '/clusters/{cluster_id}/query';
|
|
2318
|
+
};
|
|
2319
|
+
export type QueryClusterErrors = {
|
|
2320
|
+
/**
|
|
2321
|
+
* Not authenticated
|
|
2322
|
+
*/
|
|
2323
|
+
401: unknown;
|
|
2324
|
+
};
|
|
2325
|
+
export type QueryClusterResponses = {
|
|
2326
|
+
/**
|
|
2327
|
+
* Kubernetes API response
|
|
2328
|
+
*/
|
|
2329
|
+
200: unknown;
|
|
2330
|
+
};
|
|
2331
|
+
export type ListFleetsData = {
|
|
2332
|
+
body?: never;
|
|
2333
|
+
path: {
|
|
2334
|
+
/**
|
|
2335
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2336
|
+
*/
|
|
2337
|
+
cluster_id: string;
|
|
2338
|
+
};
|
|
2339
|
+
query?: never;
|
|
2340
|
+
url: '/clusters/{cluster_id}/fleets';
|
|
2341
|
+
};
|
|
2342
|
+
export type ListFleetsErrors = {
|
|
2343
|
+
/**
|
|
2344
|
+
* Not authenticated
|
|
2345
|
+
*/
|
|
2346
|
+
401: unknown;
|
|
2347
|
+
};
|
|
2348
|
+
export type ListFleetsResponses = {
|
|
1648
2349
|
/**
|
|
1649
|
-
*
|
|
2350
|
+
* An array of fleets
|
|
1650
2351
|
*/
|
|
1651
|
-
200:
|
|
2352
|
+
200: Array<Fleet>;
|
|
1652
2353
|
};
|
|
1653
|
-
export type
|
|
1654
|
-
export type
|
|
1655
|
-
body
|
|
2354
|
+
export type ListFleetsResponse = ListFleetsResponses[keyof ListFleetsResponses];
|
|
2355
|
+
export type CreateFleetData = {
|
|
2356
|
+
body: FleetCreateInput;
|
|
1656
2357
|
path: {
|
|
1657
2358
|
/**
|
|
1658
|
-
*
|
|
2359
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1659
2360
|
*/
|
|
1660
|
-
|
|
2361
|
+
cluster_id: string;
|
|
1661
2362
|
};
|
|
1662
2363
|
query?: never;
|
|
1663
|
-
url: '/
|
|
2364
|
+
url: '/clusters/{cluster_id}/fleets';
|
|
1664
2365
|
};
|
|
1665
|
-
export type
|
|
2366
|
+
export type CreateFleetErrors = {
|
|
1666
2367
|
/**
|
|
1667
|
-
*
|
|
2368
|
+
* Cluster quota exceeded. Maximum number of fleets per cluster allowed in this organization is reached.
|
|
1668
2369
|
*/
|
|
1669
|
-
|
|
1670
|
-
};
|
|
1671
|
-
export type ListMarketplaceChartsData = {
|
|
1672
|
-
body?: never;
|
|
1673
|
-
path?: never;
|
|
1674
|
-
query?: never;
|
|
1675
|
-
url: '/marketplace';
|
|
1676
|
-
};
|
|
1677
|
-
export type ListMarketplaceChartsErrors = {
|
|
2370
|
+
402: string;
|
|
1678
2371
|
/**
|
|
1679
|
-
*
|
|
2372
|
+
* The cluster cannot service this operation: it is still being created, or it is suspended. Retry once it is ready, or resume the cluster first.
|
|
1680
2373
|
*/
|
|
1681
|
-
|
|
2374
|
+
409: string;
|
|
1682
2375
|
};
|
|
1683
|
-
export type
|
|
2376
|
+
export type CreateFleetError = CreateFleetErrors[keyof CreateFleetErrors];
|
|
2377
|
+
export type CreateFleetResponses = {
|
|
1684
2378
|
/**
|
|
1685
|
-
*
|
|
2379
|
+
* Successfully created. Returns created Fleet ID.
|
|
1686
2380
|
*/
|
|
1687
|
-
200:
|
|
2381
|
+
200: string;
|
|
1688
2382
|
};
|
|
1689
|
-
export type
|
|
1690
|
-
export type
|
|
2383
|
+
export type CreateFleetResponse = CreateFleetResponses[keyof CreateFleetResponses];
|
|
2384
|
+
export type DeleteFleetData = {
|
|
1691
2385
|
body?: never;
|
|
1692
2386
|
path: {
|
|
1693
2387
|
/**
|
|
1694
|
-
*
|
|
2388
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1695
2389
|
*/
|
|
1696
|
-
|
|
2390
|
+
cluster_id: string;
|
|
1697
2391
|
/**
|
|
1698
|
-
*
|
|
2392
|
+
* Unique identifier of the fleet. UUID v4 string in canonical form
|
|
1699
2393
|
*/
|
|
1700
|
-
|
|
2394
|
+
fleet_name: string;
|
|
1701
2395
|
};
|
|
1702
2396
|
query?: never;
|
|
1703
|
-
url: '/
|
|
2397
|
+
url: '/clusters/{cluster_id}/fleets/{fleet_name}';
|
|
1704
2398
|
};
|
|
1705
|
-
export type
|
|
2399
|
+
export type DeleteFleetErrors = {
|
|
1706
2400
|
/**
|
|
1707
|
-
*
|
|
2401
|
+
* The cluster cannot service this operation: it is still being created, or it is suspended. Retry once it is ready, or resume the cluster first.
|
|
1708
2402
|
*/
|
|
1709
|
-
|
|
2403
|
+
409: string;
|
|
1710
2404
|
};
|
|
1711
|
-
export type
|
|
2405
|
+
export type DeleteFleetError = DeleteFleetErrors[keyof DeleteFleetErrors];
|
|
2406
|
+
export type DeleteFleetResponses = {
|
|
1712
2407
|
/**
|
|
1713
|
-
*
|
|
2408
|
+
* Successfully deleted.
|
|
1714
2409
|
*/
|
|
1715
|
-
200:
|
|
2410
|
+
200: string;
|
|
1716
2411
|
};
|
|
1717
|
-
export type
|
|
1718
|
-
export type
|
|
2412
|
+
export type DeleteFleetResponse = DeleteFleetResponses[keyof DeleteFleetResponses];
|
|
2413
|
+
export type GetFleetData = {
|
|
2414
|
+
body?: never;
|
|
2415
|
+
path: {
|
|
2416
|
+
/**
|
|
2417
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2418
|
+
*/
|
|
2419
|
+
cluster_id: string;
|
|
2420
|
+
/**
|
|
2421
|
+
* Unique identifier of the fleet. UUID v4 string in canonical form
|
|
2422
|
+
*/
|
|
2423
|
+
fleet_name: string;
|
|
2424
|
+
};
|
|
2425
|
+
query?: never;
|
|
2426
|
+
url: '/clusters/{cluster_id}/fleets/{fleet_name}';
|
|
2427
|
+
};
|
|
2428
|
+
export type GetFleetResponses = {
|
|
1719
2429
|
/**
|
|
1720
|
-
*
|
|
2430
|
+
* Returns a single object containing fleet details.
|
|
1721
2431
|
*/
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
|
|
2432
|
+
200: Fleet;
|
|
2433
|
+
};
|
|
2434
|
+
export type GetFleetResponse = GetFleetResponses[keyof GetFleetResponses];
|
|
2435
|
+
export type UpdateFleetData = {
|
|
2436
|
+
body: FleetUpdateInput;
|
|
2437
|
+
path: {
|
|
1726
2438
|
/**
|
|
1727
|
-
*
|
|
2439
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1728
2440
|
*/
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
|
|
2441
|
+
cluster_id: string;
|
|
2442
|
+
/**
|
|
2443
|
+
* Unique identifier of the fleet. UUID v4 string in canonical form
|
|
2444
|
+
*/
|
|
2445
|
+
fleet_name: string;
|
|
1732
2446
|
};
|
|
1733
|
-
path?: never;
|
|
1734
2447
|
query?: never;
|
|
1735
|
-
url: '/
|
|
2448
|
+
url: '/clusters/{cluster_id}/fleets/{fleet_name}';
|
|
1736
2449
|
};
|
|
1737
|
-
export type
|
|
2450
|
+
export type UpdateFleetErrors = {
|
|
1738
2451
|
/**
|
|
1739
|
-
*
|
|
2452
|
+
* Organization must have a valid payment method configured to access this endpoint.
|
|
1740
2453
|
*/
|
|
1741
|
-
|
|
2454
|
+
402: string;
|
|
2455
|
+
/**
|
|
2456
|
+
* The cluster cannot service this operation: it is still being created, or it is suspended. Retry once it is ready, or resume the cluster first.
|
|
2457
|
+
*/
|
|
2458
|
+
409: string;
|
|
1742
2459
|
};
|
|
1743
|
-
export type
|
|
2460
|
+
export type UpdateFleetError = UpdateFleetErrors[keyof UpdateFleetErrors];
|
|
2461
|
+
export type UpdateFleetResponses = {
|
|
1744
2462
|
/**
|
|
1745
|
-
*
|
|
2463
|
+
* Successfully updated.
|
|
1746
2464
|
*/
|
|
1747
|
-
200:
|
|
1748
|
-
jsonrpc?: string;
|
|
1749
|
-
id?: string | number;
|
|
1750
|
-
result?: {
|
|
1751
|
-
[key: string]: unknown;
|
|
1752
|
-
};
|
|
1753
|
-
error?: {
|
|
1754
|
-
code?: number;
|
|
1755
|
-
message?: string;
|
|
1756
|
-
};
|
|
1757
|
-
};
|
|
2465
|
+
200: string;
|
|
1758
2466
|
};
|
|
1759
|
-
export type
|
|
1760
|
-
export type
|
|
2467
|
+
export type UpdateFleetResponse = UpdateFleetResponses[keyof UpdateFleetResponses];
|
|
2468
|
+
export type ListClustersData = {
|
|
1761
2469
|
body?: never;
|
|
1762
2470
|
path?: never;
|
|
1763
2471
|
query?: never;
|
|
1764
|
-
url: '/
|
|
2472
|
+
url: '/clusters';
|
|
1765
2473
|
};
|
|
1766
|
-
export type
|
|
2474
|
+
export type ListClustersErrors = {
|
|
1767
2475
|
/**
|
|
1768
|
-
*
|
|
2476
|
+
* Not authenticated
|
|
1769
2477
|
*/
|
|
1770
|
-
|
|
1771
|
-
};
|
|
1772
|
-
export type GetOrganizationResponse = GetOrganizationResponses[keyof GetOrganizationResponses];
|
|
1773
|
-
export type CreateOrganizationData = {
|
|
1774
|
-
body: OrganizationCreateInput;
|
|
1775
|
-
path?: never;
|
|
1776
|
-
query?: never;
|
|
1777
|
-
url: '/organization';
|
|
2478
|
+
401: unknown;
|
|
1778
2479
|
};
|
|
1779
|
-
export type
|
|
2480
|
+
export type ListClustersResponses = {
|
|
1780
2481
|
/**
|
|
1781
|
-
*
|
|
2482
|
+
* An array of clusters
|
|
1782
2483
|
*/
|
|
1783
|
-
200:
|
|
2484
|
+
200: Array<Cluster>;
|
|
1784
2485
|
};
|
|
1785
|
-
export type
|
|
1786
|
-
|
|
2486
|
+
export type ListClustersResponse = ListClustersResponses[keyof ListClustersResponses];
|
|
2487
|
+
export type CreateClusterData = {
|
|
2488
|
+
body: ClusterCreateInput;
|
|
1787
2489
|
path?: never;
|
|
1788
2490
|
query?: never;
|
|
1789
|
-
url: '/
|
|
2491
|
+
url: '/clusters';
|
|
1790
2492
|
};
|
|
1791
|
-
export type
|
|
1792
|
-
/**
|
|
1793
|
-
* Not authenticated
|
|
1794
|
-
*/
|
|
1795
|
-
401: unknown;
|
|
2493
|
+
export type CreateClusterErrors = {
|
|
1796
2494
|
/**
|
|
1797
|
-
*
|
|
2495
|
+
* Cluster quota exceeded. Maximum number of clusters allowed in this organization is reached.
|
|
1798
2496
|
*/
|
|
1799
|
-
|
|
2497
|
+
402: string;
|
|
1800
2498
|
};
|
|
1801
|
-
export type
|
|
2499
|
+
export type CreateClusterError = CreateClusterErrors[keyof CreateClusterErrors];
|
|
2500
|
+
export type CreateClusterResponses = {
|
|
1802
2501
|
/**
|
|
1803
|
-
*
|
|
2502
|
+
* Successfully created. Returns created Cluster ID.
|
|
1804
2503
|
*/
|
|
1805
|
-
200:
|
|
2504
|
+
200: string;
|
|
1806
2505
|
};
|
|
1807
|
-
export type
|
|
1808
|
-
export type
|
|
2506
|
+
export type CreateClusterResponse = CreateClusterResponses[keyof CreateClusterResponses];
|
|
2507
|
+
export type DeleteClusterData = {
|
|
1809
2508
|
body?: never;
|
|
1810
2509
|
path: {
|
|
1811
2510
|
/**
|
|
1812
|
-
*
|
|
1813
|
-
*/
|
|
1814
|
-
region: string;
|
|
1815
|
-
/**
|
|
1816
|
-
* Name of the repository
|
|
2511
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1817
2512
|
*/
|
|
1818
|
-
|
|
2513
|
+
cluster_id: string;
|
|
1819
2514
|
};
|
|
1820
2515
|
query?: never;
|
|
1821
|
-
url: '/
|
|
2516
|
+
url: '/clusters/{cluster_id}';
|
|
1822
2517
|
};
|
|
1823
|
-
export type
|
|
2518
|
+
export type DeleteClusterErrors = {
|
|
1824
2519
|
/**
|
|
1825
|
-
*
|
|
2520
|
+
* Cluster not found; it does not exist or has already been deleted.
|
|
1826
2521
|
*/
|
|
1827
|
-
|
|
2522
|
+
404: unknown;
|
|
1828
2523
|
/**
|
|
1829
|
-
*
|
|
2524
|
+
* The cluster cannot service this operation: it is still being created, or it is suspended. Retry once it is ready, or resume the cluster first.
|
|
1830
2525
|
*/
|
|
1831
|
-
|
|
2526
|
+
409: string;
|
|
1832
2527
|
/**
|
|
1833
|
-
*
|
|
2528
|
+
* Transient failure tearing down the cluster; retry the request.
|
|
1834
2529
|
*/
|
|
1835
|
-
|
|
2530
|
+
503: unknown;
|
|
1836
2531
|
};
|
|
1837
|
-
export type
|
|
2532
|
+
export type DeleteClusterError = DeleteClusterErrors[keyof DeleteClusterErrors];
|
|
2533
|
+
export type DeleteClusterResponses = {
|
|
1838
2534
|
/**
|
|
1839
|
-
*
|
|
2535
|
+
* Successfully deleted. The cluster has been torn down.
|
|
1840
2536
|
*/
|
|
1841
|
-
200:
|
|
2537
|
+
200: string;
|
|
1842
2538
|
};
|
|
1843
|
-
export type
|
|
1844
|
-
export type
|
|
2539
|
+
export type DeleteClusterResponse = DeleteClusterResponses[keyof DeleteClusterResponses];
|
|
2540
|
+
export type GetClusterData = {
|
|
1845
2541
|
body?: never;
|
|
1846
2542
|
path: {
|
|
1847
2543
|
/**
|
|
1848
|
-
*
|
|
1849
|
-
*/
|
|
1850
|
-
region: string;
|
|
1851
|
-
/**
|
|
1852
|
-
* Name of the repository
|
|
1853
|
-
*/
|
|
1854
|
-
repository: string;
|
|
1855
|
-
/**
|
|
1856
|
-
* Name of the tag
|
|
2544
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1857
2545
|
*/
|
|
1858
|
-
|
|
2546
|
+
cluster_id: string;
|
|
1859
2547
|
};
|
|
1860
2548
|
query?: never;
|
|
1861
|
-
url: '/
|
|
2549
|
+
url: '/clusters/{cluster_id}';
|
|
1862
2550
|
};
|
|
1863
|
-
export type
|
|
1864
|
-
/**
|
|
1865
|
-
* Not authenticated
|
|
1866
|
-
*/
|
|
1867
|
-
401: unknown;
|
|
2551
|
+
export type GetClusterResponses = {
|
|
1868
2552
|
/**
|
|
1869
|
-
*
|
|
2553
|
+
* Returns a single object containing cluster details.
|
|
1870
2554
|
*/
|
|
1871
|
-
|
|
2555
|
+
200: Cluster;
|
|
2556
|
+
};
|
|
2557
|
+
export type GetClusterResponse = GetClusterResponses[keyof GetClusterResponses];
|
|
2558
|
+
export type UpdateClusterData = {
|
|
2559
|
+
body: ClusterUpdateInput;
|
|
2560
|
+
path: {
|
|
2561
|
+
/**
|
|
2562
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2563
|
+
*/
|
|
2564
|
+
cluster_id: string;
|
|
2565
|
+
};
|
|
2566
|
+
query?: never;
|
|
2567
|
+
url: '/clusters/{cluster_id}';
|
|
2568
|
+
};
|
|
2569
|
+
export type UpdateClusterErrors = {
|
|
1872
2570
|
/**
|
|
1873
|
-
*
|
|
2571
|
+
* The cluster cannot service this operation: it is still being created, or it is suspended. Retry once it is ready, or resume the cluster first.
|
|
1874
2572
|
*/
|
|
1875
|
-
|
|
2573
|
+
409: string;
|
|
1876
2574
|
};
|
|
1877
|
-
export type
|
|
2575
|
+
export type UpdateClusterError = UpdateClusterErrors[keyof UpdateClusterErrors];
|
|
2576
|
+
export type UpdateClusterResponses = {
|
|
1878
2577
|
/**
|
|
1879
|
-
*
|
|
2578
|
+
* Successfully updated. Returns updated cluster details.
|
|
1880
2579
|
*/
|
|
1881
|
-
200:
|
|
2580
|
+
200: Cluster;
|
|
1882
2581
|
};
|
|
1883
|
-
export type
|
|
2582
|
+
export type UpdateClusterResponse = UpdateClusterResponses[keyof UpdateClusterResponses];
|
|
2583
|
+
export type GetJoinInformationData = {
|
|
1884
2584
|
body?: never;
|
|
1885
2585
|
path: {
|
|
1886
2586
|
/**
|
|
1887
|
-
*
|
|
1888
|
-
*/
|
|
1889
|
-
region: string;
|
|
1890
|
-
/**
|
|
1891
|
-
* Name of the repository
|
|
1892
|
-
*/
|
|
1893
|
-
repository: string;
|
|
1894
|
-
/**
|
|
1895
|
-
* Name of the tag
|
|
2587
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1896
2588
|
*/
|
|
1897
|
-
|
|
2589
|
+
cluster_id: string;
|
|
1898
2590
|
};
|
|
1899
2591
|
query?: never;
|
|
1900
|
-
url: '/
|
|
2592
|
+
url: '/clusters/{cluster_id}/join_information';
|
|
1901
2593
|
};
|
|
1902
|
-
export type
|
|
2594
|
+
export type GetJoinInformationErrors = {
|
|
1903
2595
|
/**
|
|
1904
2596
|
* Not authenticated
|
|
1905
2597
|
*/
|
|
1906
2598
|
401: unknown;
|
|
1907
2599
|
/**
|
|
1908
|
-
*
|
|
2600
|
+
* The cluster cannot service this operation: it is still being created, or it is suspended. Retry once it is ready, or resume the cluster first.
|
|
1909
2601
|
*/
|
|
1910
|
-
|
|
2602
|
+
409: string;
|
|
1911
2603
|
/**
|
|
1912
|
-
*
|
|
2604
|
+
* The cluster runs on Cloudfleet data plane v2 and the calling client did not declare the dataplane-v2 capability, so it cannot provision a node for it. Upgrade the Cloudfleet CLI or Terraform provider.
|
|
1913
2605
|
*/
|
|
1914
|
-
|
|
2606
|
+
426: string;
|
|
1915
2607
|
};
|
|
1916
|
-
export type
|
|
2608
|
+
export type GetJoinInformationError = GetJoinInformationErrors[keyof GetJoinInformationErrors];
|
|
2609
|
+
export type GetJoinInformationResponses = {
|
|
1917
2610
|
/**
|
|
1918
|
-
*
|
|
2611
|
+
* An object of cluster join information
|
|
1919
2612
|
*/
|
|
1920
|
-
200:
|
|
2613
|
+
200: ClusterJoinInformation;
|
|
1921
2614
|
};
|
|
1922
|
-
export type
|
|
1923
|
-
export type
|
|
2615
|
+
export type GetJoinInformationResponse = GetJoinInformationResponses[keyof GetJoinInformationResponses];
|
|
2616
|
+
export type GetUsageData = {
|
|
1924
2617
|
body?: never;
|
|
1925
2618
|
path?: never;
|
|
1926
|
-
query?:
|
|
1927
|
-
|
|
2619
|
+
query?: {
|
|
2620
|
+
/**
|
|
2621
|
+
* 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)
|
|
2622
|
+
*/
|
|
2623
|
+
granularity?: 'hourly' | 'daily' | 'monthly';
|
|
2624
|
+
};
|
|
2625
|
+
url: '/billing/usage';
|
|
1928
2626
|
};
|
|
1929
|
-
export type
|
|
2627
|
+
export type GetUsageErrors = {
|
|
1930
2628
|
/**
|
|
1931
2629
|
* Not authenticated
|
|
1932
2630
|
*/
|
|
1933
2631
|
401: unknown;
|
|
1934
2632
|
};
|
|
1935
|
-
export type
|
|
2633
|
+
export type GetUsageResponses = {
|
|
1936
2634
|
/**
|
|
1937
|
-
*
|
|
2635
|
+
* Usage data with facets for filtering
|
|
1938
2636
|
*/
|
|
1939
|
-
200:
|
|
2637
|
+
200: UsageResponse;
|
|
1940
2638
|
};
|
|
1941
|
-
export type
|
|
1942
|
-
export type
|
|
1943
|
-
body
|
|
2639
|
+
export type GetUsageResponse = GetUsageResponses[keyof GetUsageResponses];
|
|
2640
|
+
export type GetPaymentMethodSecretData = {
|
|
2641
|
+
body?: never;
|
|
1944
2642
|
path?: never;
|
|
1945
2643
|
query?: never;
|
|
1946
|
-
url: '/
|
|
1947
|
-
};
|
|
1948
|
-
export type CreateTokenErrors = {
|
|
1949
|
-
/**
|
|
1950
|
-
* Not authenticated
|
|
1951
|
-
*/
|
|
1952
|
-
401: unknown;
|
|
2644
|
+
url: '/billing/payment-method';
|
|
1953
2645
|
};
|
|
1954
|
-
export type
|
|
2646
|
+
export type GetPaymentMethodSecretResponses = {
|
|
1955
2647
|
/**
|
|
1956
|
-
*
|
|
2648
|
+
* 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.
|
|
2649
|
+
*
|
|
1957
2650
|
*/
|
|
1958
|
-
200:
|
|
1959
|
-
};
|
|
1960
|
-
export type CreateTokenResponse = CreateTokenResponses[keyof CreateTokenResponses];
|
|
1961
|
-
export type DeleteTokenData = {
|
|
1962
|
-
body?: never;
|
|
1963
|
-
path: {
|
|
2651
|
+
200: {
|
|
1964
2652
|
/**
|
|
1965
|
-
*
|
|
2653
|
+
* The client secret.
|
|
1966
2654
|
*/
|
|
1967
|
-
|
|
2655
|
+
id?: string;
|
|
1968
2656
|
};
|
|
1969
|
-
query?: never;
|
|
1970
|
-
url: '/tokens/{token_id}';
|
|
1971
|
-
};
|
|
1972
|
-
export type DeleteTokenResponses = {
|
|
1973
|
-
/**
|
|
1974
|
-
* Successfully deleted.
|
|
1975
|
-
*/
|
|
1976
|
-
200: unknown;
|
|
1977
2657
|
};
|
|
1978
|
-
export type
|
|
2658
|
+
export type GetPaymentMethodSecretResponse = GetPaymentMethodSecretResponses[keyof GetPaymentMethodSecretResponses];
|
|
2659
|
+
export type ListPaymentMethodsData = {
|
|
1979
2660
|
body?: never;
|
|
1980
|
-
path
|
|
1981
|
-
/**
|
|
1982
|
-
* Generated unique identifier of the access token.
|
|
1983
|
-
*/
|
|
1984
|
-
token_id: string;
|
|
1985
|
-
};
|
|
2661
|
+
path?: never;
|
|
1986
2662
|
query?: never;
|
|
1987
|
-
url: '/
|
|
2663
|
+
url: '/billing/payment-methods';
|
|
1988
2664
|
};
|
|
1989
|
-
export type
|
|
2665
|
+
export type ListPaymentMethodsErrors = {
|
|
1990
2666
|
/**
|
|
1991
2667
|
* Not authenticated
|
|
1992
2668
|
*/
|
|
1993
2669
|
401: unknown;
|
|
1994
2670
|
};
|
|
1995
|
-
export type
|
|
2671
|
+
export type ListPaymentMethodsResponses = {
|
|
1996
2672
|
/**
|
|
1997
|
-
*
|
|
2673
|
+
* An array of payment methods.
|
|
1998
2674
|
*/
|
|
1999
|
-
200:
|
|
2675
|
+
200: Array<PaymentMethod>;
|
|
2000
2676
|
};
|
|
2001
|
-
export type
|
|
2002
|
-
export type
|
|
2003
|
-
body
|
|
2677
|
+
export type ListPaymentMethodsResponse = ListPaymentMethodsResponses[keyof ListPaymentMethodsResponses];
|
|
2678
|
+
export type SetDefaultPaymentMethodData = {
|
|
2679
|
+
body?: never;
|
|
2004
2680
|
path: {
|
|
2005
2681
|
/**
|
|
2006
|
-
*
|
|
2682
|
+
* Stripe payment method identifier.
|
|
2007
2683
|
*/
|
|
2008
|
-
|
|
2684
|
+
paymentMethodId: string;
|
|
2009
2685
|
};
|
|
2010
2686
|
query?: never;
|
|
2011
|
-
url: '/
|
|
2687
|
+
url: '/billing/payment-methods/{paymentMethodId}/default';
|
|
2012
2688
|
};
|
|
2013
|
-
export type
|
|
2689
|
+
export type SetDefaultPaymentMethodErrors = {
|
|
2690
|
+
/**
|
|
2691
|
+
* The bank transfer payment method cannot be set as the default.
|
|
2692
|
+
*/
|
|
2693
|
+
400: unknown;
|
|
2014
2694
|
/**
|
|
2015
2695
|
* Not authenticated
|
|
2016
2696
|
*/
|
|
2017
2697
|
401: unknown;
|
|
2698
|
+
/**
|
|
2699
|
+
* Payment method not found.
|
|
2700
|
+
*/
|
|
2701
|
+
404: unknown;
|
|
2018
2702
|
};
|
|
2019
|
-
export type
|
|
2703
|
+
export type SetDefaultPaymentMethodResponses = {
|
|
2020
2704
|
/**
|
|
2021
|
-
*
|
|
2705
|
+
* Default payment method updated.
|
|
2022
2706
|
*/
|
|
2023
|
-
|
|
2707
|
+
204: void;
|
|
2024
2708
|
};
|
|
2025
|
-
export type
|
|
2026
|
-
export type
|
|
2709
|
+
export type SetDefaultPaymentMethodResponse = SetDefaultPaymentMethodResponses[keyof SetDefaultPaymentMethodResponses];
|
|
2710
|
+
export type DeletePaymentMethodData = {
|
|
2027
2711
|
body?: never;
|
|
2028
2712
|
path: {
|
|
2029
2713
|
/**
|
|
2030
|
-
*
|
|
2714
|
+
* Stripe payment method identifier.
|
|
2031
2715
|
*/
|
|
2032
|
-
|
|
2716
|
+
paymentMethodId: string;
|
|
2033
2717
|
};
|
|
2034
2718
|
query?: never;
|
|
2035
|
-
url: '/
|
|
2719
|
+
url: '/billing/payment-methods/{paymentMethodId}';
|
|
2036
2720
|
};
|
|
2037
|
-
export type
|
|
2721
|
+
export type DeletePaymentMethodErrors = {
|
|
2722
|
+
/**
|
|
2723
|
+
* The bank transfer payment method cannot be removed.
|
|
2724
|
+
*/
|
|
2725
|
+
400: unknown;
|
|
2038
2726
|
/**
|
|
2039
2727
|
* Not authenticated
|
|
2040
2728
|
*/
|
|
2041
2729
|
401: unknown;
|
|
2730
|
+
/**
|
|
2731
|
+
* Payment method not found.
|
|
2732
|
+
*/
|
|
2733
|
+
404: unknown;
|
|
2734
|
+
/**
|
|
2735
|
+
* Cannot delete the only remaining payment method.
|
|
2736
|
+
*/
|
|
2737
|
+
409: unknown;
|
|
2042
2738
|
};
|
|
2043
|
-
export type
|
|
2739
|
+
export type DeletePaymentMethodResponses = {
|
|
2044
2740
|
/**
|
|
2045
|
-
*
|
|
2741
|
+
* Payment method deleted.
|
|
2046
2742
|
*/
|
|
2047
|
-
|
|
2743
|
+
204: void;
|
|
2048
2744
|
};
|
|
2049
|
-
export type
|
|
2050
|
-
export type
|
|
2745
|
+
export type DeletePaymentMethodResponse = DeletePaymentMethodResponses[keyof DeletePaymentMethodResponses];
|
|
2746
|
+
export type ListInvoicesData = {
|
|
2051
2747
|
body?: never;
|
|
2052
|
-
path
|
|
2053
|
-
/**
|
|
2054
|
-
* User email address.
|
|
2055
|
-
*/
|
|
2056
|
-
email: string;
|
|
2057
|
-
};
|
|
2748
|
+
path?: never;
|
|
2058
2749
|
query?: never;
|
|
2059
|
-
url: '/
|
|
2750
|
+
url: '/billing/invoices';
|
|
2060
2751
|
};
|
|
2061
|
-
export type
|
|
2752
|
+
export type ListInvoicesErrors = {
|
|
2062
2753
|
/**
|
|
2063
|
-
*
|
|
2754
|
+
* Not authenticated
|
|
2064
2755
|
*/
|
|
2065
|
-
|
|
2066
|
-
/**
|
|
2067
|
-
* Unique identifier of the organization. UUID v4 string in canonical form
|
|
2068
|
-
*/
|
|
2069
|
-
realm?: string;
|
|
2070
|
-
/**
|
|
2071
|
-
* Human-readable name of the organization
|
|
2072
|
-
*/
|
|
2073
|
-
displayName?: string;
|
|
2074
|
-
}>;
|
|
2756
|
+
401: unknown;
|
|
2075
2757
|
};
|
|
2076
|
-
export type
|
|
2077
|
-
|
|
2758
|
+
export type ListInvoicesResponses = {
|
|
2759
|
+
/**
|
|
2760
|
+
* An array of usage records.
|
|
2761
|
+
*/
|
|
2762
|
+
200: Array<Invoice>;
|
|
2763
|
+
};
|
|
2764
|
+
export type ListInvoicesResponse = ListInvoicesResponses[keyof ListInvoicesResponses];
|
|
2765
|
+
export type PayOpenInvoicesData = {
|
|
2078
2766
|
body?: never;
|
|
2079
2767
|
path?: never;
|
|
2080
2768
|
query?: never;
|
|
2081
|
-
url: '/
|
|
2769
|
+
url: '/billing/invoices/pay';
|
|
2082
2770
|
};
|
|
2083
|
-
export type
|
|
2771
|
+
export type PayOpenInvoicesErrors = {
|
|
2772
|
+
/**
|
|
2773
|
+
* The organization has no payment method that can be charged.
|
|
2774
|
+
*/
|
|
2775
|
+
400: unknown;
|
|
2084
2776
|
/**
|
|
2085
2777
|
* Not authenticated
|
|
2086
2778
|
*/
|
|
2087
2779
|
401: unknown;
|
|
2780
|
+
/**
|
|
2781
|
+
* Too many payment attempts for this organization.
|
|
2782
|
+
*/
|
|
2783
|
+
429: unknown;
|
|
2088
2784
|
};
|
|
2089
|
-
export type
|
|
2785
|
+
export type PayOpenInvoicesResponses = {
|
|
2090
2786
|
/**
|
|
2091
|
-
*
|
|
2787
|
+
* The outcome of the attempt.
|
|
2092
2788
|
*/
|
|
2093
|
-
200:
|
|
2789
|
+
200: InvoicePaymentResult;
|
|
2094
2790
|
};
|
|
2095
|
-
export type
|
|
2096
|
-
export type
|
|
2097
|
-
body
|
|
2791
|
+
export type PayOpenInvoicesResponse = PayOpenInvoicesResponses[keyof PayOpenInvoicesResponses];
|
|
2792
|
+
export type GetContactData = {
|
|
2793
|
+
body?: never;
|
|
2098
2794
|
path?: never;
|
|
2099
2795
|
query?: never;
|
|
2100
|
-
url: '/
|
|
2796
|
+
url: '/billing/contact';
|
|
2101
2797
|
};
|
|
2102
|
-
export type
|
|
2798
|
+
export type GetContactResponses = {
|
|
2103
2799
|
/**
|
|
2104
|
-
*
|
|
2800
|
+
* Returns a single object containing organization contact and billing address details.
|
|
2105
2801
|
*/
|
|
2106
|
-
200:
|
|
2802
|
+
200: BillingContact;
|
|
2107
2803
|
};
|
|
2108
|
-
export type
|
|
2109
|
-
export type
|
|
2110
|
-
body
|
|
2111
|
-
path
|
|
2112
|
-
/**
|
|
2113
|
-
* Unique user identifier. UUID v4 string in canonical form
|
|
2114
|
-
*/
|
|
2115
|
-
user_id: string;
|
|
2116
|
-
};
|
|
2804
|
+
export type GetContactResponse = GetContactResponses[keyof GetContactResponses];
|
|
2805
|
+
export type UpdateContactData = {
|
|
2806
|
+
body: BillingContact;
|
|
2807
|
+
path?: never;
|
|
2117
2808
|
query?: never;
|
|
2118
|
-
url: '/
|
|
2809
|
+
url: '/billing/contact';
|
|
2119
2810
|
};
|
|
2120
|
-
export type
|
|
2811
|
+
export type UpdateContactResponses = {
|
|
2121
2812
|
/**
|
|
2122
|
-
*
|
|
2813
|
+
* Successfully updated. Returns updated organization details.
|
|
2123
2814
|
*/
|
|
2124
|
-
|
|
2815
|
+
200: BillingContact;
|
|
2816
|
+
};
|
|
2817
|
+
export type UpdateContactResponse = UpdateContactResponses[keyof UpdateContactResponses];
|
|
2818
|
+
export type GetCreditsData = {
|
|
2819
|
+
body?: never;
|
|
2820
|
+
path?: never;
|
|
2821
|
+
query?: never;
|
|
2822
|
+
url: '/billing/credits';
|
|
2823
|
+
};
|
|
2824
|
+
export type GetCreditsErrors = {
|
|
2125
2825
|
/**
|
|
2126
2826
|
* Not authenticated
|
|
2127
2827
|
*/
|
|
2128
2828
|
401: unknown;
|
|
2129
2829
|
};
|
|
2130
|
-
export type
|
|
2830
|
+
export type GetCreditsResponses = {
|
|
2131
2831
|
/**
|
|
2132
|
-
*
|
|
2832
|
+
* An array of the applied promotional credits records.
|
|
2133
2833
|
*/
|
|
2134
|
-
200:
|
|
2834
|
+
200: Array<BillingCredits>;
|
|
2135
2835
|
};
|
|
2136
|
-
export type
|
|
2137
|
-
export type
|
|
2138
|
-
body
|
|
2139
|
-
path: {
|
|
2836
|
+
export type GetCreditsResponse = GetCreditsResponses[keyof GetCreditsResponses];
|
|
2837
|
+
export type RedeemCreditsData = {
|
|
2838
|
+
body: {
|
|
2140
2839
|
/**
|
|
2141
|
-
*
|
|
2840
|
+
* Promotional code to redeem
|
|
2142
2841
|
*/
|
|
2143
|
-
|
|
2842
|
+
code?: string;
|
|
2144
2843
|
};
|
|
2844
|
+
path?: never;
|
|
2145
2845
|
query?: never;
|
|
2146
|
-
url: '/
|
|
2846
|
+
url: '/billing/credits';
|
|
2147
2847
|
};
|
|
2148
|
-
export type
|
|
2848
|
+
export type RedeemCreditsErrors = {
|
|
2149
2849
|
/**
|
|
2150
2850
|
* Not authenticated
|
|
2151
2851
|
*/
|
|
2152
2852
|
401: unknown;
|
|
2153
2853
|
};
|
|
2154
|
-
export type
|
|
2155
|
-
/**
|
|
2156
|
-
* User profile information
|
|
2157
|
-
*/
|
|
2158
|
-
200: User;
|
|
2159
|
-
};
|
|
2160
|
-
export type GetUserResponse = GetUserResponses[keyof GetUserResponses];
|
|
2161
|
-
export type UpdateUserData = {
|
|
2162
|
-
body: UserUpdateInput;
|
|
2163
|
-
path: {
|
|
2164
|
-
/**
|
|
2165
|
-
* Unique user identifier. UUID v4 string in canonical form
|
|
2166
|
-
*/
|
|
2167
|
-
user_id: string;
|
|
2168
|
-
};
|
|
2169
|
-
query?: never;
|
|
2170
|
-
url: '/users/{user_id}';
|
|
2171
|
-
};
|
|
2172
|
-
export type UpdateUserResponses = {
|
|
2854
|
+
export type RedeemCreditsResponses = {
|
|
2173
2855
|
/**
|
|
2174
|
-
* Successfully created
|
|
2856
|
+
* Successfully created a new organization.
|
|
2175
2857
|
*/
|
|
2176
|
-
200:
|
|
2858
|
+
200: unknown;
|
|
2177
2859
|
};
|
|
2178
|
-
export type UpdateUserResponse = UpdateUserResponses[keyof UpdateUserResponses];
|
|
2179
2860
|
//# sourceMappingURL=types.gen.d.ts.map
|