@cloudfleet/sdk 0.0.1-13073f9 → 0.0.1-1569b1f
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 +26 -2
- package/dist/@tanstack/react-query.gen.d.ts +1084 -0
- package/dist/@tanstack/react-query.gen.d.ts.map +1 -0
- package/dist/@tanstack/react-query.gen.js +1305 -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 +114 -102
- package/dist/client/client.gen.js.map +1 -1
- package/dist/client/index.d.ts +1 -1
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/index.js.map +1 -1
- package/dist/client/types.gen.d.ts +9 -13
- package/dist/client/types.gen.d.ts.map +1 -1
- package/dist/client/utils.gen.d.ts +8 -4
- package/dist/client/utils.gen.d.ts.map +1 -1
- package/dist/client/utils.gen.js +13 -15
- package/dist/client/utils.gen.js.map +1 -1
- package/dist/client.gen.d.ts.map +1 -1
- package/dist/client.gen.js +1 -3
- package/dist/client.gen.js.map +1 -1
- package/dist/core/auth.gen.d.ts.map +1 -1
- package/dist/core/auth.gen.js.map +1 -1
- package/dist/core/bodySerializer.gen.d.ts +16 -8
- package/dist/core/bodySerializer.gen.d.ts.map +1 -1
- package/dist/core/bodySerializer.gen.js +1 -1
- package/dist/core/bodySerializer.gen.js.map +1 -1
- package/dist/core/params.gen.d.ts +10 -0
- package/dist/core/params.gen.d.ts.map +1 -1
- package/dist/core/params.gen.js +22 -10
- package/dist/core/params.gen.js.map +1 -1
- package/dist/core/pathSerializer.gen.d.ts.map +1 -1
- package/dist/core/pathSerializer.gen.js +3 -11
- package/dist/core/pathSerializer.gen.js.map +1 -1
- package/dist/core/queryKeySerializer.gen.d.ts.map +1 -1
- package/dist/core/queryKeySerializer.gen.js +4 -11
- package/dist/core/queryKeySerializer.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 +6 -9
- package/dist/core/serverSentEvents.gen.js.map +1 -1
- package/dist/core/types.gen.d.ts +1 -1
- package/dist/core/types.gen.d.ts.map +1 -1
- package/dist/core/utils.gen.d.ts.map +1 -1
- package/dist/core/utils.gen.js +1 -1
- package/dist/core/utils.gen.js.map +1 -1
- package/dist/schemas.gen.d.ts +1414 -171
- package/dist/schemas.gen.d.ts.map +1 -1
- package/dist/schemas.gen.js +2895 -238
- package/dist/schemas.gen.js.map +1 -1
- package/dist/sdk.gen.d.ts +296 -184
- package/dist/sdk.gen.d.ts.map +1 -1
- package/dist/sdk.gen.js +451 -376
- package/dist/sdk.gen.js.map +1 -1
- package/dist/services/kubernetes/api.d.ts +8 -8
- package/dist/types.gen.d.ts +1814 -685
- package/dist/types.gen.d.ts.map +1 -1
- package/dist/zod.gen.d.ts +3751 -1415
- package/dist/zod.gen.d.ts.map +1 -1
- package/dist/zod.gen.js +1532 -616
- package/dist/zod.gen.js.map +1 -1
- package/package.json +28 -8
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
|
/**
|
|
@@ -129,9 +133,9 @@ export type Chart = {
|
|
|
129
133
|
*/
|
|
130
134
|
chart: string;
|
|
131
135
|
/**
|
|
132
|
-
* Status of the chart deployment.
|
|
136
|
+
* Status of the chart deployment (Flux HelmRelease Ready condition reason, e.g. InstallSucceeded, UpgradeFailed, Progressing).
|
|
133
137
|
*/
|
|
134
|
-
status:
|
|
138
|
+
status: string;
|
|
135
139
|
/**
|
|
136
140
|
* Current version of the chart deployment.
|
|
137
141
|
*/
|
|
@@ -159,6 +163,9 @@ export type ChartUpdateInput = {
|
|
|
159
163
|
*/
|
|
160
164
|
version_channel: string;
|
|
161
165
|
};
|
|
166
|
+
/**
|
|
167
|
+
* Mutable cluster configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
|
|
168
|
+
*/
|
|
162
169
|
export type ClusterCreateInput = {
|
|
163
170
|
/**
|
|
164
171
|
* Name of the cluster.
|
|
@@ -167,15 +174,61 @@ export type ClusterCreateInput = {
|
|
|
167
174
|
/**
|
|
168
175
|
* Tier of the cluster.
|
|
169
176
|
*/
|
|
170
|
-
tier
|
|
171
|
-
/**
|
|
172
|
-
* Cloudfleet control plane region. One of "staging", "northamerica-central-1", "europe-central-1a", "northamerica-central-1a". This field can not be updated after creation.
|
|
173
|
-
*/
|
|
174
|
-
region?: 'staging' | 'northamerica-central-1' | 'europe-central-1a' | 'northamerica-central-1a';
|
|
177
|
+
tier?: 'basic' | 'pro' | 'enterprise';
|
|
175
178
|
/**
|
|
176
179
|
* Version of the kubernetes cluster.
|
|
177
180
|
*/
|
|
178
181
|
version_channel?: string;
|
|
182
|
+
/**
|
|
183
|
+
* Release channel for the cluster's control plane.
|
|
184
|
+
*/
|
|
185
|
+
release_channel?: 'rapid' | 'stable' | 'extended';
|
|
186
|
+
/**
|
|
187
|
+
* Cluster feature toggles.
|
|
188
|
+
*/
|
|
189
|
+
features?: {
|
|
190
|
+
/**
|
|
191
|
+
* GPU sharing strategy.
|
|
192
|
+
*/
|
|
193
|
+
gpu_sharing_strategy?: 'none' | 'mps' | 'time_slicing';
|
|
194
|
+
/**
|
|
195
|
+
* Maximum number of pods that may share a single GPU.
|
|
196
|
+
*/
|
|
197
|
+
gpu_max_shared_clients_per_gpu?: number;
|
|
198
|
+
/**
|
|
199
|
+
* Restrict Cilium socket load-balancing to the host namespace. Required for the Tailscale operator and Istio.
|
|
200
|
+
*/
|
|
201
|
+
cilium_socket_lb_host_namespace_only?: boolean;
|
|
202
|
+
};
|
|
203
|
+
/**
|
|
204
|
+
* Cloudfleet control plane region. This field can not be updated after creation.
|
|
205
|
+
*/
|
|
206
|
+
region: string;
|
|
207
|
+
/**
|
|
208
|
+
* Cluster networking configuration. Immutable after creation.
|
|
209
|
+
*/
|
|
210
|
+
networking?: {
|
|
211
|
+
/**
|
|
212
|
+
* CIDR block for pod IPs.
|
|
213
|
+
*/
|
|
214
|
+
pod_cidr?: string;
|
|
215
|
+
/**
|
|
216
|
+
* CIDR block for service IPs.
|
|
217
|
+
*/
|
|
218
|
+
service_cidr?: string;
|
|
219
|
+
/**
|
|
220
|
+
* Enable IPv4+IPv6 dual-stack networking.
|
|
221
|
+
*/
|
|
222
|
+
dual_stack?: boolean;
|
|
223
|
+
/**
|
|
224
|
+
* IPv6 pod CIDR. Requires dual_stack.
|
|
225
|
+
*/
|
|
226
|
+
pod_cidr_v6?: string;
|
|
227
|
+
/**
|
|
228
|
+
* IPv6 service CIDR. Requires dual_stack.
|
|
229
|
+
*/
|
|
230
|
+
service_cidr_v6?: string;
|
|
231
|
+
};
|
|
179
232
|
};
|
|
180
233
|
export type ClusterJoinInformation = {
|
|
181
234
|
/**
|
|
@@ -186,10 +239,22 @@ export type ClusterJoinInformation = {
|
|
|
186
239
|
* Internal URL of the Kubernetes cluster control plane. This is the endpoint that kubelet uses to connect to the cluster.
|
|
187
240
|
*/
|
|
188
241
|
endpoint: string;
|
|
242
|
+
/**
|
|
243
|
+
* Cluster DNS IP address. This is the IP address of the kube-dns service in the cluster.
|
|
244
|
+
*/
|
|
245
|
+
cluster_dns: string;
|
|
246
|
+
/**
|
|
247
|
+
* Pod CIDR for the cluster. Used to configure iptables rules on nodes to prevent Tailscale routing loops.
|
|
248
|
+
*/
|
|
249
|
+
pod_cidr: string;
|
|
189
250
|
/**
|
|
190
251
|
* Authentication key for the cluster.
|
|
191
252
|
*/
|
|
192
253
|
auth_key: string;
|
|
254
|
+
/**
|
|
255
|
+
* 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.
|
|
256
|
+
*/
|
|
257
|
+
login_server: string;
|
|
193
258
|
/**
|
|
194
259
|
* Bootstrap token for the cluster.
|
|
195
260
|
*/
|
|
@@ -233,6 +298,9 @@ export type ClusterJoinInformation = {
|
|
|
233
298
|
gcp_workload_identity_provider: string;
|
|
234
299
|
};
|
|
235
300
|
};
|
|
301
|
+
/**
|
|
302
|
+
* Mutable cluster configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
|
|
303
|
+
*/
|
|
236
304
|
export type Cluster = {
|
|
237
305
|
/**
|
|
238
306
|
* Name of the cluster.
|
|
@@ -241,24 +309,71 @@ export type Cluster = {
|
|
|
241
309
|
/**
|
|
242
310
|
* Tier of the cluster.
|
|
243
311
|
*/
|
|
244
|
-
tier: 'basic' | 'pro';
|
|
312
|
+
tier: 'basic' | 'pro' | 'enterprise';
|
|
245
313
|
/**
|
|
246
|
-
*
|
|
314
|
+
* Version of the kubernetes cluster.
|
|
247
315
|
*/
|
|
248
|
-
|
|
316
|
+
version_channel: string;
|
|
249
317
|
/**
|
|
250
|
-
*
|
|
318
|
+
* Release channel for the cluster's control plane.
|
|
251
319
|
*/
|
|
252
|
-
|
|
320
|
+
release_channel: 'rapid' | 'stable' | 'extended';
|
|
321
|
+
/**
|
|
322
|
+
* Cluster feature toggles.
|
|
323
|
+
*/
|
|
324
|
+
features: {
|
|
325
|
+
/**
|
|
326
|
+
* GPU sharing strategy.
|
|
327
|
+
*/
|
|
328
|
+
gpu_sharing_strategy: 'none' | 'mps' | 'time_slicing';
|
|
329
|
+
/**
|
|
330
|
+
* Maximum number of pods that may share a single GPU.
|
|
331
|
+
*/
|
|
332
|
+
gpu_max_shared_clients_per_gpu: number;
|
|
333
|
+
/**
|
|
334
|
+
* Restrict Cilium socket load-balancing to the host namespace. Required for the Tailscale operator and Istio.
|
|
335
|
+
*/
|
|
336
|
+
cilium_socket_lb_host_namespace_only: boolean;
|
|
337
|
+
};
|
|
338
|
+
/**
|
|
339
|
+
* Cloudfleet control plane region. This field can not be updated after creation.
|
|
340
|
+
*/
|
|
341
|
+
region: string;
|
|
342
|
+
/**
|
|
343
|
+
* Cluster networking configuration. Immutable after creation.
|
|
344
|
+
*/
|
|
345
|
+
networking: {
|
|
346
|
+
/**
|
|
347
|
+
* CIDR block for pod IPs.
|
|
348
|
+
*/
|
|
349
|
+
pod_cidr: string;
|
|
350
|
+
/**
|
|
351
|
+
* CIDR block for service IPs.
|
|
352
|
+
*/
|
|
353
|
+
service_cidr: string;
|
|
354
|
+
/**
|
|
355
|
+
* Enable IPv4+IPv6 dual-stack networking.
|
|
356
|
+
*/
|
|
357
|
+
dual_stack: boolean;
|
|
358
|
+
/**
|
|
359
|
+
* IPv6 pod CIDR. Requires dual_stack.
|
|
360
|
+
*/
|
|
361
|
+
pod_cidr_v6: string;
|
|
362
|
+
/**
|
|
363
|
+
* IPv6 service CIDR. Requires dual_stack.
|
|
364
|
+
*/
|
|
365
|
+
service_cidr_v6: string;
|
|
366
|
+
};
|
|
253
367
|
/**
|
|
254
368
|
* Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
|
|
255
369
|
*/
|
|
256
370
|
id: string;
|
|
257
371
|
/**
|
|
258
|
-
* Status of the cluster.
|
|
372
|
+
* Status of the cluster.
|
|
259
373
|
*/
|
|
260
|
-
status: '
|
|
374
|
+
status: 'creating' | 'deployed' | 'updating' | 'disabled';
|
|
261
375
|
endpoint?: string | '';
|
|
376
|
+
endpoint_public?: string | '';
|
|
262
377
|
/**
|
|
263
378
|
* Certificate authority data for the kubernetes cluster. This is the root certificate authority for the cluster.
|
|
264
379
|
*/
|
|
@@ -278,125 +393,338 @@ export type Cluster = {
|
|
|
278
393
|
/**
|
|
279
394
|
* Indicates if the cluster is ready to be used.
|
|
280
395
|
*/
|
|
281
|
-
ready
|
|
396
|
+
ready: boolean;
|
|
282
397
|
};
|
|
398
|
+
/**
|
|
399
|
+
* Mutable cluster configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
|
|
400
|
+
*/
|
|
283
401
|
export type ClusterUpdateInput = {
|
|
284
402
|
/**
|
|
285
403
|
* Name of the cluster.
|
|
286
404
|
*/
|
|
287
|
-
name
|
|
405
|
+
name: string;
|
|
288
406
|
/**
|
|
289
407
|
* Tier of the cluster.
|
|
290
408
|
*/
|
|
291
|
-
tier
|
|
409
|
+
tier?: 'basic' | 'pro' | 'enterprise';
|
|
292
410
|
/**
|
|
293
411
|
* Version of the kubernetes cluster.
|
|
294
412
|
*/
|
|
295
413
|
version_channel?: string;
|
|
414
|
+
/**
|
|
415
|
+
* Release channel for the cluster's control plane.
|
|
416
|
+
*/
|
|
417
|
+
release_channel?: 'rapid' | 'stable' | 'extended';
|
|
418
|
+
/**
|
|
419
|
+
* Cluster feature toggles.
|
|
420
|
+
*/
|
|
421
|
+
features?: {
|
|
422
|
+
/**
|
|
423
|
+
* GPU sharing strategy.
|
|
424
|
+
*/
|
|
425
|
+
gpu_sharing_strategy?: 'none' | 'mps' | 'time_slicing';
|
|
426
|
+
/**
|
|
427
|
+
* Maximum number of pods that may share a single GPU.
|
|
428
|
+
*/
|
|
429
|
+
gpu_max_shared_clients_per_gpu?: number;
|
|
430
|
+
/**
|
|
431
|
+
* Restrict Cilium socket load-balancing to the host namespace. Required for the Tailscale operator and Istio.
|
|
432
|
+
*/
|
|
433
|
+
cilium_socket_lb_host_namespace_only?: boolean;
|
|
434
|
+
};
|
|
296
435
|
};
|
|
436
|
+
export type FeedbackCreateInput = {
|
|
437
|
+
/**
|
|
438
|
+
* Overall sentiment: positive, neutral or negative.
|
|
439
|
+
*/
|
|
440
|
+
sentiment: 'positive' | 'neutral' | 'negative';
|
|
441
|
+
/**
|
|
442
|
+
* What was useful, confusing, wrong or missing.
|
|
443
|
+
*/
|
|
444
|
+
message: string;
|
|
445
|
+
/**
|
|
446
|
+
* What you were trying to do when it happened.
|
|
447
|
+
*/
|
|
448
|
+
context?: string;
|
|
449
|
+
/**
|
|
450
|
+
* Where the feedback was sent from: cli, mcp, plugin, console or api. Defaults to api.
|
|
451
|
+
*/
|
|
452
|
+
source?: 'cli' | 'mcp' | 'plugin' | 'console' | 'api';
|
|
453
|
+
/**
|
|
454
|
+
* Name and version of the sending client.
|
|
455
|
+
*/
|
|
456
|
+
client?: string;
|
|
457
|
+
};
|
|
458
|
+
export type Feedback = {
|
|
459
|
+
/**
|
|
460
|
+
* Unique identifier of the feedback entry (Mongo ObjectId).
|
|
461
|
+
*/
|
|
462
|
+
id: string;
|
|
463
|
+
};
|
|
464
|
+
/**
|
|
465
|
+
* Mutable fleet configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
|
|
466
|
+
*/
|
|
297
467
|
export type FleetCreateInput = {
|
|
298
468
|
/**
|
|
299
469
|
* Limits define a set of bounds for provisioning capacity.
|
|
300
470
|
*/
|
|
301
471
|
limits?: {
|
|
302
472
|
/**
|
|
303
|
-
* CPU limit in cores.
|
|
473
|
+
* CPU limit in cores. Maximum 100,000.
|
|
304
474
|
*/
|
|
305
|
-
cpu
|
|
475
|
+
cpu?: number;
|
|
306
476
|
};
|
|
307
477
|
gcp?: {
|
|
308
|
-
enabled
|
|
478
|
+
enabled: boolean;
|
|
309
479
|
/**
|
|
310
|
-
*
|
|
480
|
+
* 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.
|
|
311
481
|
*/
|
|
312
|
-
project
|
|
482
|
+
project?: string;
|
|
313
483
|
};
|
|
314
484
|
hetzner?: {
|
|
315
|
-
enabled
|
|
485
|
+
enabled: boolean;
|
|
316
486
|
/**
|
|
317
|
-
* Hetzner Cloud API
|
|
487
|
+
* 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.
|
|
318
488
|
*/
|
|
319
|
-
apiKey
|
|
489
|
+
apiKey?: string;
|
|
320
490
|
};
|
|
321
491
|
aws?: {
|
|
322
|
-
enabled
|
|
492
|
+
enabled: boolean;
|
|
493
|
+
/**
|
|
494
|
+
* AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.
|
|
495
|
+
*/
|
|
496
|
+
controllerRoleArn?: string;
|
|
497
|
+
};
|
|
498
|
+
/**
|
|
499
|
+
* 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.
|
|
500
|
+
*/
|
|
501
|
+
constraints?: {
|
|
502
|
+
/**
|
|
503
|
+
* Allowed values for `karpenter.sh/capacity-type`.
|
|
504
|
+
*/
|
|
505
|
+
'karpenter.sh/capacity-type'?: Array<'on-demand' | 'spot'>;
|
|
506
|
+
/**
|
|
507
|
+
* Allowed values for `kubernetes.io/arch`.
|
|
508
|
+
*/
|
|
509
|
+
'kubernetes.io/arch'?: Array<'amd64' | 'arm64'>;
|
|
323
510
|
/**
|
|
324
|
-
*
|
|
511
|
+
* Allowed values for `cfke.io/instance-family`.
|
|
325
512
|
*/
|
|
326
|
-
|
|
513
|
+
'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'>;
|
|
514
|
+
/**
|
|
515
|
+
* Allowed values for `topology.kubernetes.io/region`.
|
|
516
|
+
*/
|
|
517
|
+
'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'>;
|
|
327
518
|
};
|
|
519
|
+
/**
|
|
520
|
+
* 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`).
|
|
521
|
+
*/
|
|
522
|
+
scalingProfile?: 'aggressive' | 'conservative';
|
|
523
|
+
/**
|
|
524
|
+
* 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.
|
|
525
|
+
*/
|
|
526
|
+
taints?: Array<{
|
|
527
|
+
/**
|
|
528
|
+
* 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.
|
|
529
|
+
*/
|
|
530
|
+
key: string;
|
|
531
|
+
/**
|
|
532
|
+
* Taint value. Optional.
|
|
533
|
+
*/
|
|
534
|
+
value?: string;
|
|
535
|
+
/**
|
|
536
|
+
* Taint effect.
|
|
537
|
+
*/
|
|
538
|
+
effect: 'NoSchedule' | 'PreferNoSchedule' | 'NoExecute';
|
|
539
|
+
}>;
|
|
328
540
|
/**
|
|
329
541
|
* Unique identifier of the kubernetes fleet.
|
|
330
542
|
*/
|
|
331
543
|
id: string;
|
|
332
544
|
};
|
|
545
|
+
/**
|
|
546
|
+
* Mutable fleet configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
|
|
547
|
+
*/
|
|
333
548
|
export type Fleet = {
|
|
334
549
|
/**
|
|
335
550
|
* Limits define a set of bounds for provisioning capacity.
|
|
336
551
|
*/
|
|
337
552
|
limits?: {
|
|
338
553
|
/**
|
|
339
|
-
* CPU limit in cores.
|
|
554
|
+
* CPU limit in cores. Maximum 100,000.
|
|
340
555
|
*/
|
|
341
|
-
cpu
|
|
556
|
+
cpu?: number;
|
|
342
557
|
};
|
|
343
558
|
gcp?: {
|
|
344
|
-
enabled
|
|
559
|
+
enabled: boolean;
|
|
345
560
|
/**
|
|
346
|
-
*
|
|
561
|
+
* 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.
|
|
347
562
|
*/
|
|
348
|
-
project
|
|
563
|
+
project?: string;
|
|
349
564
|
};
|
|
350
565
|
hetzner?: {
|
|
351
|
-
enabled
|
|
566
|
+
enabled: boolean;
|
|
352
567
|
/**
|
|
353
|
-
* Hetzner
|
|
568
|
+
* Redacted Hetzner API token. Returned as 64 asterisks when a token is configured; omitted otherwise. The real value is never echoed by the API.
|
|
354
569
|
*/
|
|
355
|
-
apiKey
|
|
570
|
+
apiKey?: string;
|
|
356
571
|
};
|
|
357
572
|
aws?: {
|
|
358
|
-
enabled
|
|
573
|
+
enabled: boolean;
|
|
574
|
+
/**
|
|
575
|
+
* AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.
|
|
576
|
+
*/
|
|
577
|
+
controllerRoleArn?: string;
|
|
578
|
+
};
|
|
579
|
+
/**
|
|
580
|
+
* 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.
|
|
581
|
+
*/
|
|
582
|
+
constraints: {
|
|
583
|
+
/**
|
|
584
|
+
* Allowed values for `karpenter.sh/capacity-type`.
|
|
585
|
+
*/
|
|
586
|
+
'karpenter.sh/capacity-type': Array<'on-demand' | 'spot'>;
|
|
587
|
+
/**
|
|
588
|
+
* Allowed values for `kubernetes.io/arch`.
|
|
589
|
+
*/
|
|
590
|
+
'kubernetes.io/arch': Array<'amd64' | 'arm64'>;
|
|
591
|
+
/**
|
|
592
|
+
* Allowed values for `cfke.io/instance-family`.
|
|
593
|
+
*/
|
|
594
|
+
'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'>;
|
|
359
595
|
/**
|
|
360
|
-
*
|
|
596
|
+
* Allowed values for `topology.kubernetes.io/region`.
|
|
361
597
|
*/
|
|
362
|
-
|
|
598
|
+
'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'>;
|
|
363
599
|
};
|
|
600
|
+
/**
|
|
601
|
+
* 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`).
|
|
602
|
+
*/
|
|
603
|
+
scalingProfile: 'aggressive' | 'conservative';
|
|
604
|
+
/**
|
|
605
|
+
* 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.
|
|
606
|
+
*/
|
|
607
|
+
taints: Array<{
|
|
608
|
+
/**
|
|
609
|
+
* 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.
|
|
610
|
+
*/
|
|
611
|
+
key: string;
|
|
612
|
+
/**
|
|
613
|
+
* Taint value. Optional.
|
|
614
|
+
*/
|
|
615
|
+
value?: string;
|
|
616
|
+
/**
|
|
617
|
+
* Taint effect.
|
|
618
|
+
*/
|
|
619
|
+
effect: 'NoSchedule' | 'PreferNoSchedule' | 'NoExecute';
|
|
620
|
+
}>;
|
|
364
621
|
/**
|
|
365
622
|
* Unique identifier of the kubernetes fleet.
|
|
366
623
|
*/
|
|
367
624
|
id: string;
|
|
625
|
+
/**
|
|
626
|
+
* Indicates whether the fleet configuration is healthy.
|
|
627
|
+
*/
|
|
628
|
+
ready: boolean;
|
|
629
|
+
/**
|
|
630
|
+
* Human-readable reason the fleet is not ready. Present only when `ready` is false.
|
|
631
|
+
*/
|
|
632
|
+
status_message?: string;
|
|
633
|
+
/**
|
|
634
|
+
* Creation date and time of the fleet.
|
|
635
|
+
*/
|
|
636
|
+
created_at: string;
|
|
637
|
+
/**
|
|
638
|
+
* Date and time the fleet was last updated.
|
|
639
|
+
*/
|
|
640
|
+
updated_at: string;
|
|
368
641
|
};
|
|
642
|
+
/**
|
|
643
|
+
* Mutable fleet configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
|
|
644
|
+
*/
|
|
369
645
|
export type FleetUpdateInput = {
|
|
370
646
|
/**
|
|
371
647
|
* Limits define a set of bounds for provisioning capacity.
|
|
372
648
|
*/
|
|
373
649
|
limits?: {
|
|
374
650
|
/**
|
|
375
|
-
* CPU limit in cores.
|
|
651
|
+
* CPU limit in cores. Maximum 100,000.
|
|
376
652
|
*/
|
|
377
|
-
cpu
|
|
653
|
+
cpu?: number;
|
|
378
654
|
};
|
|
379
655
|
gcp?: {
|
|
380
|
-
enabled
|
|
656
|
+
enabled: boolean;
|
|
381
657
|
/**
|
|
382
|
-
*
|
|
658
|
+
* 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.
|
|
383
659
|
*/
|
|
384
|
-
project
|
|
660
|
+
project?: string;
|
|
385
661
|
};
|
|
386
662
|
hetzner?: {
|
|
387
|
-
enabled
|
|
663
|
+
enabled: boolean;
|
|
388
664
|
/**
|
|
389
|
-
* Hetzner Cloud API
|
|
665
|
+
* 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.
|
|
390
666
|
*/
|
|
391
|
-
apiKey
|
|
667
|
+
apiKey?: string;
|
|
392
668
|
};
|
|
393
669
|
aws?: {
|
|
394
|
-
enabled
|
|
670
|
+
enabled: boolean;
|
|
671
|
+
/**
|
|
672
|
+
* AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.
|
|
673
|
+
*/
|
|
674
|
+
controllerRoleArn?: string;
|
|
675
|
+
};
|
|
676
|
+
/**
|
|
677
|
+
* 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.
|
|
678
|
+
*/
|
|
679
|
+
constraints?: {
|
|
680
|
+
/**
|
|
681
|
+
* Allowed values for `karpenter.sh/capacity-type`.
|
|
682
|
+
*/
|
|
683
|
+
'karpenter.sh/capacity-type'?: Array<'on-demand' | 'spot'>;
|
|
684
|
+
/**
|
|
685
|
+
* Allowed values for `kubernetes.io/arch`.
|
|
686
|
+
*/
|
|
687
|
+
'kubernetes.io/arch'?: Array<'amd64' | 'arm64'>;
|
|
688
|
+
/**
|
|
689
|
+
* Allowed values for `cfke.io/instance-family`.
|
|
690
|
+
*/
|
|
691
|
+
'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'>;
|
|
395
692
|
/**
|
|
396
|
-
*
|
|
693
|
+
* Allowed values for `topology.kubernetes.io/region`.
|
|
397
694
|
*/
|
|
398
|
-
|
|
695
|
+
'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'>;
|
|
399
696
|
};
|
|
697
|
+
/**
|
|
698
|
+
* 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`).
|
|
699
|
+
*/
|
|
700
|
+
scalingProfile?: 'aggressive' | 'conservative';
|
|
701
|
+
/**
|
|
702
|
+
* 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.
|
|
703
|
+
*/
|
|
704
|
+
taints?: Array<{
|
|
705
|
+
/**
|
|
706
|
+
* 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.
|
|
707
|
+
*/
|
|
708
|
+
key: string;
|
|
709
|
+
/**
|
|
710
|
+
* Taint value. Optional.
|
|
711
|
+
*/
|
|
712
|
+
value?: string;
|
|
713
|
+
/**
|
|
714
|
+
* Taint effect.
|
|
715
|
+
*/
|
|
716
|
+
effect: 'NoSchedule' | 'PreferNoSchedule' | 'NoExecute';
|
|
717
|
+
}>;
|
|
718
|
+
};
|
|
719
|
+
export type InviteCreateInput = {
|
|
720
|
+
/**
|
|
721
|
+
* Email address of the user to invite.
|
|
722
|
+
*/
|
|
723
|
+
email: string;
|
|
724
|
+
/**
|
|
725
|
+
* Role the invited user will be assigned on redemption. Can be 'Administrator' or 'User'.
|
|
726
|
+
*/
|
|
727
|
+
role?: 'Administrator' | 'User';
|
|
400
728
|
};
|
|
401
729
|
export type Invite = {
|
|
402
730
|
/**
|
|
@@ -419,10 +747,95 @@ export type Invite = {
|
|
|
419
747
|
* Generated unique invite code.
|
|
420
748
|
*/
|
|
421
749
|
code?: string;
|
|
750
|
+
/**
|
|
751
|
+
* Role the invited user will be assigned on redemption. Can be 'Administrator' or 'User'.
|
|
752
|
+
*/
|
|
753
|
+
role?: 'Administrator' | 'User';
|
|
754
|
+
};
|
|
755
|
+
export type InvoicePaymentAttempt = {
|
|
756
|
+
/**
|
|
757
|
+
* Identifier of the invoice.
|
|
758
|
+
*/
|
|
759
|
+
invoice_id: string;
|
|
760
|
+
/**
|
|
761
|
+
* Invoice number. Null if the invoice has no number.
|
|
762
|
+
*/
|
|
763
|
+
number: string;
|
|
764
|
+
/**
|
|
765
|
+
* Amount outstanding when the charge was attempted, in the smallest currency unit.
|
|
766
|
+
*/
|
|
767
|
+
amount: number;
|
|
768
|
+
/**
|
|
769
|
+
* Currency of the invoice.
|
|
770
|
+
*/
|
|
771
|
+
currency: string;
|
|
772
|
+
/**
|
|
773
|
+
* Outcome for this invoice: `paid`, `processing` (accepted, not yet settled), `requires_action` (awaiting customer authentication), or `failed` (declined).
|
|
774
|
+
*/
|
|
775
|
+
status: 'paid' | 'processing' | 'requires_action' | 'failed';
|
|
776
|
+
/**
|
|
777
|
+
* Client secret used to complete customer authentication. Set only when `status` is `requires_action`.
|
|
778
|
+
*/
|
|
779
|
+
client_secret: string;
|
|
780
|
+
/**
|
|
781
|
+
* Decline code. Set only when `status` is `failed`.
|
|
782
|
+
*/
|
|
783
|
+
failure_code: string;
|
|
784
|
+
/**
|
|
785
|
+
* Explanation of the decline, suitable for display. Set only when `status` is `failed`.
|
|
786
|
+
*/
|
|
787
|
+
failure_message: string;
|
|
788
|
+
};
|
|
789
|
+
export type InvoicePaymentResult = {
|
|
790
|
+
/**
|
|
791
|
+
* 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).
|
|
792
|
+
*/
|
|
793
|
+
code: 'paid' | 'processing' | 'action_required' | 'partially_paid' | 'failed' | 'nothing_due' | 'bank_transfer_due';
|
|
794
|
+
/**
|
|
795
|
+
* Summary of the outcome, suitable for display.
|
|
796
|
+
*/
|
|
797
|
+
message: string;
|
|
798
|
+
/**
|
|
799
|
+
* One entry per invoice charged, oldest first.
|
|
800
|
+
*/
|
|
801
|
+
results: Array<{
|
|
802
|
+
/**
|
|
803
|
+
* Identifier of the invoice.
|
|
804
|
+
*/
|
|
805
|
+
invoice_id: string;
|
|
806
|
+
/**
|
|
807
|
+
* Invoice number. Null if the invoice has no number.
|
|
808
|
+
*/
|
|
809
|
+
number: string;
|
|
810
|
+
/**
|
|
811
|
+
* Amount outstanding when the charge was attempted, in the smallest currency unit.
|
|
812
|
+
*/
|
|
813
|
+
amount: number;
|
|
814
|
+
/**
|
|
815
|
+
* Currency of the invoice.
|
|
816
|
+
*/
|
|
817
|
+
currency: string;
|
|
818
|
+
/**
|
|
819
|
+
* Outcome for this invoice: `paid`, `processing` (accepted, not yet settled), `requires_action` (awaiting customer authentication), or `failed` (declined).
|
|
820
|
+
*/
|
|
821
|
+
status: 'paid' | 'processing' | 'requires_action' | 'failed';
|
|
822
|
+
/**
|
|
823
|
+
* Client secret used to complete customer authentication. Set only when `status` is `requires_action`.
|
|
824
|
+
*/
|
|
825
|
+
client_secret: string;
|
|
826
|
+
/**
|
|
827
|
+
* Decline code. Set only when `status` is `failed`.
|
|
828
|
+
*/
|
|
829
|
+
failure_code: string;
|
|
830
|
+
/**
|
|
831
|
+
* Explanation of the decline, suitable for display. Set only when `status` is `failed`.
|
|
832
|
+
*/
|
|
833
|
+
failure_message: string;
|
|
834
|
+
}>;
|
|
422
835
|
};
|
|
423
836
|
export type Invoice = {
|
|
424
837
|
/**
|
|
425
|
-
* Unique identifier of the invoice.
|
|
838
|
+
* Unique identifier of the invoice.
|
|
426
839
|
*/
|
|
427
840
|
id?: string;
|
|
428
841
|
number?: string;
|
|
@@ -452,52 +865,97 @@ export type Invoice = {
|
|
|
452
865
|
period_end: string;
|
|
453
866
|
invoice_pdf?: string;
|
|
454
867
|
};
|
|
455
|
-
export type
|
|
868
|
+
export type MarketplaceListingFiles = {
|
|
456
869
|
/**
|
|
457
|
-
*
|
|
870
|
+
* Raw Chart.yaml content from the Helm chart
|
|
458
871
|
*/
|
|
459
|
-
|
|
872
|
+
chartYaml?: string;
|
|
460
873
|
/**
|
|
461
|
-
*
|
|
874
|
+
* Raw values.yaml content from the Helm chart
|
|
462
875
|
*/
|
|
463
|
-
|
|
876
|
+
valuesYaml?: string;
|
|
464
877
|
/**
|
|
465
|
-
*
|
|
878
|
+
* JSON schema for values.yaml as a string
|
|
466
879
|
*/
|
|
467
|
-
|
|
880
|
+
valuesSchemaJson?: string;
|
|
881
|
+
};
|
|
882
|
+
export type MarketplaceListing = {
|
|
468
883
|
/**
|
|
469
|
-
*
|
|
884
|
+
* Name of the chart
|
|
470
885
|
*/
|
|
471
|
-
|
|
886
|
+
name: string;
|
|
472
887
|
/**
|
|
473
|
-
*
|
|
888
|
+
* Available versions of the chart
|
|
474
889
|
*/
|
|
475
|
-
|
|
890
|
+
versions: Array<string>;
|
|
476
891
|
/**
|
|
477
|
-
*
|
|
892
|
+
* Version channels for the chart
|
|
478
893
|
*/
|
|
479
|
-
|
|
894
|
+
version_channels: Array<string>;
|
|
480
895
|
/**
|
|
481
|
-
*
|
|
896
|
+
* Latest version of the chart
|
|
482
897
|
*/
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
898
|
+
latestVersion: string;
|
|
899
|
+
/**
|
|
900
|
+
* Chart metadata
|
|
901
|
+
*/
|
|
902
|
+
metadata?: {
|
|
903
|
+
/**
|
|
904
|
+
* Chart name from metadata
|
|
905
|
+
*/
|
|
906
|
+
name: string;
|
|
486
907
|
/**
|
|
487
|
-
*
|
|
908
|
+
* Chart version from metadata
|
|
488
909
|
*/
|
|
489
910
|
version: string;
|
|
490
911
|
/**
|
|
491
|
-
*
|
|
912
|
+
* Chart description
|
|
492
913
|
*/
|
|
493
|
-
|
|
914
|
+
description?: string;
|
|
494
915
|
/**
|
|
495
|
-
*
|
|
916
|
+
* Application version
|
|
496
917
|
*/
|
|
497
|
-
|
|
498
|
-
|
|
918
|
+
appVersion?: string;
|
|
919
|
+
/**
|
|
920
|
+
* Helm API version
|
|
921
|
+
*/
|
|
922
|
+
apiVersion?: string;
|
|
923
|
+
/**
|
|
924
|
+
* Chart keywords
|
|
925
|
+
*/
|
|
926
|
+
keywords?: Array<string>;
|
|
927
|
+
/**
|
|
928
|
+
* Chart home URL
|
|
929
|
+
*/
|
|
930
|
+
home?: string;
|
|
931
|
+
/**
|
|
932
|
+
* A URL to an SVG or PNG image to be used as an icon
|
|
933
|
+
*/
|
|
934
|
+
icon?: string;
|
|
935
|
+
/**
|
|
936
|
+
* Chart source URLs
|
|
937
|
+
*/
|
|
938
|
+
sources?: Array<string>;
|
|
939
|
+
/**
|
|
940
|
+
* Chart maintainers
|
|
941
|
+
*/
|
|
942
|
+
maintainers?: Array<{
|
|
943
|
+
/**
|
|
944
|
+
* Maintainer name
|
|
945
|
+
*/
|
|
946
|
+
name: string;
|
|
947
|
+
/**
|
|
948
|
+
* Maintainer email
|
|
949
|
+
*/
|
|
950
|
+
email?: string;
|
|
951
|
+
}>;
|
|
952
|
+
};
|
|
499
953
|
};
|
|
500
954
|
export type OrganizationCreateInput = {
|
|
955
|
+
/**
|
|
956
|
+
* Type of the organization. `business` for legal entities, `personal` for individuals.
|
|
957
|
+
*/
|
|
958
|
+
type: 'business' | 'personal';
|
|
501
959
|
/**
|
|
502
960
|
* Email address used for billing as a string.
|
|
503
961
|
*/
|
|
@@ -519,6 +977,12 @@ export type OrganizationCreateInput = {
|
|
|
519
977
|
*/
|
|
520
978
|
password: string;
|
|
521
979
|
};
|
|
980
|
+
export type OrganizationCreateOutput = {
|
|
981
|
+
/**
|
|
982
|
+
* Unique identifier of the newly created organization. Generated by the API and safe to use for client-side tracking immediately.
|
|
983
|
+
*/
|
|
984
|
+
id: string;
|
|
985
|
+
};
|
|
522
986
|
export type Organization = {
|
|
523
987
|
/**
|
|
524
988
|
* Unique identifier of the organization. UUID v4 string in canonical form
|
|
@@ -528,6 +992,10 @@ export type Organization = {
|
|
|
528
992
|
* Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
|
|
529
993
|
*/
|
|
530
994
|
name?: string;
|
|
995
|
+
/**
|
|
996
|
+
* Type of the organization. `business` for legal entities, `personal` for individuals.
|
|
997
|
+
*/
|
|
998
|
+
type: 'business' | 'personal';
|
|
531
999
|
/**
|
|
532
1000
|
* Creation date of the organization. ISO 8601 date string in UTC timezone
|
|
533
1001
|
*/
|
|
@@ -552,6 +1020,14 @@ export type Organization = {
|
|
|
552
1020
|
* Available number of Pro clusters that can be created.
|
|
553
1021
|
*/
|
|
554
1022
|
pro_clusters_available: number;
|
|
1023
|
+
/**
|
|
1024
|
+
* Maximum number of Enterprise clusters that can be created.
|
|
1025
|
+
*/
|
|
1026
|
+
enterprise_clusters_max: number;
|
|
1027
|
+
/**
|
|
1028
|
+
* Available number of Enterprise clusters that can be created.
|
|
1029
|
+
*/
|
|
1030
|
+
enterprise_clusters_available: number;
|
|
555
1031
|
/**
|
|
556
1032
|
* Maximum number of fleets that can be created per cluster.
|
|
557
1033
|
*/
|
|
@@ -577,41 +1053,61 @@ export type Organization = {
|
|
|
577
1053
|
*/
|
|
578
1054
|
label: string;
|
|
579
1055
|
}>;
|
|
1056
|
+
/**
|
|
1057
|
+
* Organization-level maximum CFCR storage volume in GB. -1 means no limit.
|
|
1058
|
+
*/
|
|
1059
|
+
cfcr_storage_gb: number;
|
|
580
1060
|
};
|
|
581
1061
|
/**
|
|
582
1062
|
* Status of the organization. Can be `active` or `closed`, or `suspended`.
|
|
583
1063
|
*/
|
|
584
1064
|
status: 'active' | 'closed' | 'suspended';
|
|
1065
|
+
/**
|
|
1066
|
+
* 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.
|
|
1067
|
+
*/
|
|
1068
|
+
verification: 'none' | 'submitted' | 'verified';
|
|
585
1069
|
};
|
|
586
1070
|
export type PaymentMethod = {
|
|
587
1071
|
/**
|
|
588
|
-
*
|
|
1072
|
+
* 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.
|
|
589
1073
|
*/
|
|
590
1074
|
id: string;
|
|
591
1075
|
/**
|
|
592
|
-
*
|
|
1076
|
+
* Payment method type. `card`, `sepa_debit` for SEPA Direct Debit (business accounts only), or `bank_transfer` for paying invoices by bank transfer.
|
|
593
1077
|
*/
|
|
594
|
-
|
|
1078
|
+
type: 'card' | 'sepa_debit' | 'bank_transfer';
|
|
595
1079
|
/**
|
|
596
|
-
*
|
|
597
|
-
*/
|
|
598
|
-
type: 'card';
|
|
599
|
-
/**
|
|
600
|
-
* Last 4 digits of the payment card number.
|
|
1080
|
+
* 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.
|
|
601
1081
|
*/
|
|
602
1082
|
last4: string;
|
|
603
1083
|
/**
|
|
604
|
-
* Two-digit number representing the card's expiration month.
|
|
1084
|
+
* Two-digit number representing the card's expiration month. Null for SEPA Direct Debit and bank transfer.
|
|
605
1085
|
*/
|
|
606
1086
|
exp_month: number;
|
|
607
1087
|
/**
|
|
608
|
-
* Four-digit number representing the card's expiration year.
|
|
1088
|
+
* 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.
|
|
609
1089
|
*/
|
|
610
1090
|
exp_year: number;
|
|
611
1091
|
/**
|
|
612
|
-
* Payment card brand
|
|
1092
|
+
* Payment card brand as reported by Stripe, e.g. `visa`, `mastercard`, `amex`, `cartes_bancaires`, or `unknown`. Null for SEPA Direct Debit and bank transfer.
|
|
1093
|
+
*/
|
|
1094
|
+
brand: string;
|
|
1095
|
+
/**
|
|
1096
|
+
* 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.
|
|
1097
|
+
*/
|
|
1098
|
+
iban: string;
|
|
1099
|
+
/**
|
|
1100
|
+
* BIC/SWIFT of the destination bank for bank transfers. Set only for `bank_transfer`; null otherwise.
|
|
1101
|
+
*/
|
|
1102
|
+
bic: string;
|
|
1103
|
+
/**
|
|
1104
|
+
* Account holder name of the destination bank account for bank transfers. Set only for `bank_transfer`; null otherwise.
|
|
613
1105
|
*/
|
|
614
|
-
|
|
1106
|
+
account_holder_name: string;
|
|
1107
|
+
/**
|
|
1108
|
+
* 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).
|
|
1109
|
+
*/
|
|
1110
|
+
is_default: boolean;
|
|
615
1111
|
};
|
|
616
1112
|
export type PlatformQuota = {
|
|
617
1113
|
/**
|
|
@@ -630,6 +1126,14 @@ export type PlatformQuota = {
|
|
|
630
1126
|
* Available number of Pro clusters that can be created.
|
|
631
1127
|
*/
|
|
632
1128
|
pro_clusters_available: number;
|
|
1129
|
+
/**
|
|
1130
|
+
* Maximum number of Enterprise clusters that can be created.
|
|
1131
|
+
*/
|
|
1132
|
+
enterprise_clusters_max: number;
|
|
1133
|
+
/**
|
|
1134
|
+
* Available number of Enterprise clusters that can be created.
|
|
1135
|
+
*/
|
|
1136
|
+
enterprise_clusters_available: number;
|
|
633
1137
|
/**
|
|
634
1138
|
* Maximum number of fleets that can be created per cluster.
|
|
635
1139
|
*/
|
|
@@ -655,6 +1159,10 @@ export type PlatformQuota = {
|
|
|
655
1159
|
*/
|
|
656
1160
|
label: string;
|
|
657
1161
|
}>;
|
|
1162
|
+
/**
|
|
1163
|
+
* Organization-level maximum CFCR storage volume in GB. -1 means no limit.
|
|
1164
|
+
*/
|
|
1165
|
+
cfcr_storage_gb: number;
|
|
658
1166
|
};
|
|
659
1167
|
export type RegistryRepository = {
|
|
660
1168
|
/**
|
|
@@ -699,6 +1207,10 @@ export type RegistryRepositoryWithTags = {
|
|
|
699
1207
|
* Media type of the manifest.
|
|
700
1208
|
*/
|
|
701
1209
|
mediaType?: string;
|
|
1210
|
+
/**
|
|
1211
|
+
* Array of platform strings for multi-arch images (e.g., linux/amd64, linux/arm64).
|
|
1212
|
+
*/
|
|
1213
|
+
platforms?: Array<string>;
|
|
702
1214
|
}>;
|
|
703
1215
|
/**
|
|
704
1216
|
* Total size of all tags in the repository in bytes.
|
|
@@ -710,6 +1222,10 @@ export type RegistryTag = {
|
|
|
710
1222
|
* Tag name.
|
|
711
1223
|
*/
|
|
712
1224
|
name: string;
|
|
1225
|
+
/**
|
|
1226
|
+
* Manifest digest for pulling by digest.
|
|
1227
|
+
*/
|
|
1228
|
+
digest: string;
|
|
713
1229
|
/**
|
|
714
1230
|
* Media type of the manifest.
|
|
715
1231
|
*/
|
|
@@ -727,6 +1243,10 @@ export type RegistryTag = {
|
|
|
727
1243
|
* Array of layer metadata.
|
|
728
1244
|
*/
|
|
729
1245
|
layers?: Array<{
|
|
1246
|
+
/**
|
|
1247
|
+
* Digest of the layer.
|
|
1248
|
+
*/
|
|
1249
|
+
digest?: string;
|
|
730
1250
|
/**
|
|
731
1251
|
* Size of the layer in bytes.
|
|
732
1252
|
*/
|
|
@@ -752,7 +1272,28 @@ export type RegistryTag = {
|
|
|
752
1272
|
* Operating system of the platform.
|
|
753
1273
|
*/
|
|
754
1274
|
os: string;
|
|
1275
|
+
/**
|
|
1276
|
+
* Variant of the platform (e.g., v7, v8 for ARM).
|
|
1277
|
+
*/
|
|
1278
|
+
variant?: string;
|
|
755
1279
|
};
|
|
1280
|
+
/**
|
|
1281
|
+
* Layers for this platform.
|
|
1282
|
+
*/
|
|
1283
|
+
layers?: Array<{
|
|
1284
|
+
/**
|
|
1285
|
+
* Digest of the layer.
|
|
1286
|
+
*/
|
|
1287
|
+
digest?: string;
|
|
1288
|
+
/**
|
|
1289
|
+
* Size of the layer in bytes.
|
|
1290
|
+
*/
|
|
1291
|
+
size: number;
|
|
1292
|
+
}>;
|
|
1293
|
+
/**
|
|
1294
|
+
* Total size of this platform manifest in bytes.
|
|
1295
|
+
*/
|
|
1296
|
+
size?: number;
|
|
756
1297
|
}>;
|
|
757
1298
|
/**
|
|
758
1299
|
* Total size of the tag in bytes.
|
|
@@ -771,6 +1312,211 @@ export type RegistryTag = {
|
|
|
771
1312
|
*/
|
|
772
1313
|
uri: string;
|
|
773
1314
|
};
|
|
1315
|
+
export type RoadmapItemCreateInput = {
|
|
1316
|
+
/**
|
|
1317
|
+
* Your suggestion in one or two sentences. It is reviewed before it appears on the roadmap.
|
|
1318
|
+
*/
|
|
1319
|
+
text: string;
|
|
1320
|
+
};
|
|
1321
|
+
export type RoadmapItem = {
|
|
1322
|
+
/**
|
|
1323
|
+
* Unique identifier of the roadmap item (Mongo ObjectId).
|
|
1324
|
+
*/
|
|
1325
|
+
id: string;
|
|
1326
|
+
/**
|
|
1327
|
+
* Short description of the roadmap item.
|
|
1328
|
+
*/
|
|
1329
|
+
text: string;
|
|
1330
|
+
/**
|
|
1331
|
+
* The caller's vote on this item: -1 (down), 1 (up), 2 (double up), or null if the caller has not voted.
|
|
1332
|
+
*/
|
|
1333
|
+
vote: -1 | 1 | 2;
|
|
1334
|
+
};
|
|
1335
|
+
export type RoadmapVoteInput = {
|
|
1336
|
+
/**
|
|
1337
|
+
* Vote value: -1 (down), 1 (up), or 2 (double up).
|
|
1338
|
+
*/
|
|
1339
|
+
value: -1 | 1 | 2;
|
|
1340
|
+
};
|
|
1341
|
+
export type TicketAttachment = {
|
|
1342
|
+
/**
|
|
1343
|
+
* Unique identifier of the attachment (Mongo ObjectId).
|
|
1344
|
+
*/
|
|
1345
|
+
id: string;
|
|
1346
|
+
/**
|
|
1347
|
+
* Original filename as uploaded.
|
|
1348
|
+
*/
|
|
1349
|
+
filename: string;
|
|
1350
|
+
/**
|
|
1351
|
+
* MIME content type of the attachment.
|
|
1352
|
+
*/
|
|
1353
|
+
content_type: string;
|
|
1354
|
+
/**
|
|
1355
|
+
* Size of the attachment in bytes.
|
|
1356
|
+
*/
|
|
1357
|
+
size: number;
|
|
1358
|
+
};
|
|
1359
|
+
export type TicketCreateInput = {
|
|
1360
|
+
/**
|
|
1361
|
+
* Ticket category. Drives auto-assignment and may carry a subcategory in `properties`.
|
|
1362
|
+
*/
|
|
1363
|
+
category: 'billing' | 'technical' | 'general';
|
|
1364
|
+
/**
|
|
1365
|
+
* Initial message body in markdown. There is no separate subject — the first message body is the description.
|
|
1366
|
+
*/
|
|
1367
|
+
body: string;
|
|
1368
|
+
/**
|
|
1369
|
+
* Free-form key/value bag set by the UI (e.g. `subcategory`, `cluster_id`, `cluster_name`, `region`).
|
|
1370
|
+
*/
|
|
1371
|
+
properties?: {
|
|
1372
|
+
[key: string]: unknown;
|
|
1373
|
+
};
|
|
1374
|
+
/**
|
|
1375
|
+
* 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.
|
|
1376
|
+
*/
|
|
1377
|
+
grant_support_access?: boolean;
|
|
1378
|
+
};
|
|
1379
|
+
export type TicketMessageInput = {
|
|
1380
|
+
/**
|
|
1381
|
+
* Reply body in markdown.
|
|
1382
|
+
*/
|
|
1383
|
+
body: string;
|
|
1384
|
+
};
|
|
1385
|
+
export type TicketMessage = {
|
|
1386
|
+
/**
|
|
1387
|
+
* Unique identifier of the message (Mongo ObjectId).
|
|
1388
|
+
*/
|
|
1389
|
+
id: string;
|
|
1390
|
+
/**
|
|
1391
|
+
* Message type. Internal notes are filtered out of customer-facing responses.
|
|
1392
|
+
*/
|
|
1393
|
+
type: 'customer_reply' | 'agent_reply';
|
|
1394
|
+
/**
|
|
1395
|
+
* Message body in markdown.
|
|
1396
|
+
*/
|
|
1397
|
+
body: string;
|
|
1398
|
+
/**
|
|
1399
|
+
* First name of the author. Null when not provided.
|
|
1400
|
+
*/
|
|
1401
|
+
author_first_name?: string;
|
|
1402
|
+
/**
|
|
1403
|
+
* Last name of the author. Null when not provided.
|
|
1404
|
+
*/
|
|
1405
|
+
author_last_name?: string;
|
|
1406
|
+
/**
|
|
1407
|
+
* Attachments associated with this message.
|
|
1408
|
+
*/
|
|
1409
|
+
attachments?: Array<{
|
|
1410
|
+
/**
|
|
1411
|
+
* Unique identifier of the attachment (Mongo ObjectId).
|
|
1412
|
+
*/
|
|
1413
|
+
id: string;
|
|
1414
|
+
/**
|
|
1415
|
+
* Original filename as uploaded.
|
|
1416
|
+
*/
|
|
1417
|
+
filename: string;
|
|
1418
|
+
/**
|
|
1419
|
+
* MIME content type of the attachment.
|
|
1420
|
+
*/
|
|
1421
|
+
content_type: string;
|
|
1422
|
+
/**
|
|
1423
|
+
* Size of the attachment in bytes.
|
|
1424
|
+
*/
|
|
1425
|
+
size: number;
|
|
1426
|
+
}>;
|
|
1427
|
+
/**
|
|
1428
|
+
* Creation date of the message. ISO 8601 UTC.
|
|
1429
|
+
*/
|
|
1430
|
+
date_created: string;
|
|
1431
|
+
};
|
|
1432
|
+
export type Ticket = {
|
|
1433
|
+
/**
|
|
1434
|
+
* Unique identifier of the ticket (Mongo ObjectId).
|
|
1435
|
+
*/
|
|
1436
|
+
id: string;
|
|
1437
|
+
/**
|
|
1438
|
+
* Current state of the ticket.
|
|
1439
|
+
*/
|
|
1440
|
+
status: 'waiting_on_us' | 'waiting_on_user' | 'closed';
|
|
1441
|
+
/**
|
|
1442
|
+
* Ticket category.
|
|
1443
|
+
*/
|
|
1444
|
+
category: 'billing' | 'technical' | 'general';
|
|
1445
|
+
/**
|
|
1446
|
+
* First 128 characters of the initial message body, with markdown formatting and newlines stripped. Used for ticket list previews.
|
|
1447
|
+
*/
|
|
1448
|
+
summary: string;
|
|
1449
|
+
/**
|
|
1450
|
+
* Whether Cloudfleet support staff currently have access to the organization's resources. True once access is granted and until the ticket is closed.
|
|
1451
|
+
*/
|
|
1452
|
+
support_access_granted: boolean;
|
|
1453
|
+
/**
|
|
1454
|
+
* When support access was granted. Null if it never was. Kept after the ticket is closed.
|
|
1455
|
+
*/
|
|
1456
|
+
support_access_granted_at: string;
|
|
1457
|
+
/**
|
|
1458
|
+
* Closure timestamp. Null while the ticket is open.
|
|
1459
|
+
*/
|
|
1460
|
+
closed_at?: string;
|
|
1461
|
+
/**
|
|
1462
|
+
* Creation date of the ticket. ISO 8601 UTC.
|
|
1463
|
+
*/
|
|
1464
|
+
date_created: string;
|
|
1465
|
+
/**
|
|
1466
|
+
* Last update date of the ticket. ISO 8601 UTC.
|
|
1467
|
+
*/
|
|
1468
|
+
date_updated: string;
|
|
1469
|
+
/**
|
|
1470
|
+
* Messages on the ticket in chronological order. Internal notes are excluded. Returned by the detail endpoint only.
|
|
1471
|
+
*/
|
|
1472
|
+
messages?: Array<{
|
|
1473
|
+
/**
|
|
1474
|
+
* Unique identifier of the message (Mongo ObjectId).
|
|
1475
|
+
*/
|
|
1476
|
+
id: string;
|
|
1477
|
+
/**
|
|
1478
|
+
* Message type. Internal notes are filtered out of customer-facing responses.
|
|
1479
|
+
*/
|
|
1480
|
+
type: 'customer_reply' | 'agent_reply';
|
|
1481
|
+
/**
|
|
1482
|
+
* Message body in markdown.
|
|
1483
|
+
*/
|
|
1484
|
+
body: string;
|
|
1485
|
+
/**
|
|
1486
|
+
* First name of the author. Null when not provided.
|
|
1487
|
+
*/
|
|
1488
|
+
author_first_name?: string;
|
|
1489
|
+
/**
|
|
1490
|
+
* Last name of the author. Null when not provided.
|
|
1491
|
+
*/
|
|
1492
|
+
author_last_name?: string;
|
|
1493
|
+
/**
|
|
1494
|
+
* Attachments associated with this message.
|
|
1495
|
+
*/
|
|
1496
|
+
attachments?: Array<{
|
|
1497
|
+
/**
|
|
1498
|
+
* Unique identifier of the attachment (Mongo ObjectId).
|
|
1499
|
+
*/
|
|
1500
|
+
id: string;
|
|
1501
|
+
/**
|
|
1502
|
+
* Original filename as uploaded.
|
|
1503
|
+
*/
|
|
1504
|
+
filename: string;
|
|
1505
|
+
/**
|
|
1506
|
+
* MIME content type of the attachment.
|
|
1507
|
+
*/
|
|
1508
|
+
content_type: string;
|
|
1509
|
+
/**
|
|
1510
|
+
* Size of the attachment in bytes.
|
|
1511
|
+
*/
|
|
1512
|
+
size: number;
|
|
1513
|
+
}>;
|
|
1514
|
+
/**
|
|
1515
|
+
* Creation date of the message. ISO 8601 UTC.
|
|
1516
|
+
*/
|
|
1517
|
+
date_created: string;
|
|
1518
|
+
}>;
|
|
1519
|
+
};
|
|
774
1520
|
export type TokenCreateInput = {
|
|
775
1521
|
/**
|
|
776
1522
|
* Human readable access token name.
|
|
@@ -821,7 +1567,7 @@ export type UsageFacets = {
|
|
|
821
1567
|
/**
|
|
822
1568
|
* List of unique products
|
|
823
1569
|
*/
|
|
824
|
-
product?: Array<
|
|
1570
|
+
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'>;
|
|
825
1571
|
};
|
|
826
1572
|
export type UsageResponse = {
|
|
827
1573
|
/**
|
|
@@ -839,7 +1585,7 @@ export type UsageResponse = {
|
|
|
839
1585
|
/**
|
|
840
1586
|
* The product the usage is associated with
|
|
841
1587
|
*/
|
|
842
|
-
product:
|
|
1588
|
+
product: 'cfke_controlplane_basic' | 'cfke_controlplane_pro' | 'cfke_controlplane_enterprise' | 'cfke_connected_nodes_basic' | 'cfke_connected_nodes_pro' | 'cfke_connected_nodes_enterprise' | 'cfcr_storage';
|
|
843
1589
|
/**
|
|
844
1590
|
* Consumption
|
|
845
1591
|
*/
|
|
@@ -864,7 +1610,7 @@ export type UsageResponse = {
|
|
|
864
1610
|
/**
|
|
865
1611
|
* List of unique products
|
|
866
1612
|
*/
|
|
867
|
-
product?: Array<
|
|
1613
|
+
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'>;
|
|
868
1614
|
};
|
|
869
1615
|
};
|
|
870
1616
|
export type Usage = {
|
|
@@ -879,7 +1625,7 @@ export type Usage = {
|
|
|
879
1625
|
/**
|
|
880
1626
|
* The product the usage is associated with
|
|
881
1627
|
*/
|
|
882
|
-
product:
|
|
1628
|
+
product: 'cfke_controlplane_basic' | 'cfke_controlplane_pro' | 'cfke_controlplane_enterprise' | 'cfke_connected_nodes_basic' | 'cfke_connected_nodes_pro' | 'cfke_connected_nodes_enterprise' | 'cfcr_storage';
|
|
883
1629
|
/**
|
|
884
1630
|
* Consumption
|
|
885
1631
|
*/
|
|
@@ -914,14 +1660,6 @@ export type UserCreateInput = {
|
|
|
914
1660
|
* User password. Must be at least 8 characters long.
|
|
915
1661
|
*/
|
|
916
1662
|
password: string;
|
|
917
|
-
/**
|
|
918
|
-
* Status of the user. Can be `active` or `inactive`. Inactive users cannot log in or manage organization resources.
|
|
919
|
-
*/
|
|
920
|
-
status?: 'active' | 'inactive';
|
|
921
|
-
/**
|
|
922
|
-
* User role. Can be 'Administrator', 'User'.
|
|
923
|
-
*/
|
|
924
|
-
role?: 'Administrator' | 'User';
|
|
925
1663
|
};
|
|
926
1664
|
export type User = {
|
|
927
1665
|
/**
|
|
@@ -975,448 +1713,806 @@ export type UserUpdateInput = {
|
|
|
975
1713
|
*/
|
|
976
1714
|
status?: 'active' | 'inactive';
|
|
977
1715
|
};
|
|
978
|
-
export type
|
|
1716
|
+
export type ListUserOrganizationsData = {
|
|
979
1717
|
body?: never;
|
|
980
|
-
path
|
|
981
|
-
query?: {
|
|
1718
|
+
path: {
|
|
982
1719
|
/**
|
|
983
|
-
*
|
|
1720
|
+
* User email address.
|
|
984
1721
|
*/
|
|
985
|
-
|
|
1722
|
+
email: string;
|
|
986
1723
|
};
|
|
987
|
-
|
|
988
|
-
};
|
|
989
|
-
export type GetUsageErrors = {
|
|
990
|
-
/**
|
|
991
|
-
* Not authenticated
|
|
992
|
-
*/
|
|
993
|
-
401: unknown;
|
|
1724
|
+
query?: never;
|
|
1725
|
+
url: '/users/organizations/{email}';
|
|
994
1726
|
};
|
|
995
|
-
export type
|
|
1727
|
+
export type ListUserOrganizationsResponses = {
|
|
996
1728
|
/**
|
|
997
|
-
*
|
|
1729
|
+
* An array of organizations the user belongs to.
|
|
998
1730
|
*/
|
|
999
|
-
200:
|
|
1731
|
+
200: Array<{
|
|
1732
|
+
/**
|
|
1733
|
+
* Unique identifier of the organization. UUID v4 string in canonical form
|
|
1734
|
+
*/
|
|
1735
|
+
realm?: string;
|
|
1736
|
+
/**
|
|
1737
|
+
* Human-readable name of the organization
|
|
1738
|
+
*/
|
|
1739
|
+
displayName?: string;
|
|
1740
|
+
}>;
|
|
1000
1741
|
};
|
|
1001
|
-
export type
|
|
1002
|
-
export type
|
|
1742
|
+
export type ListUserOrganizationsResponse = ListUserOrganizationsResponses[keyof ListUserOrganizationsResponses];
|
|
1743
|
+
export type ListUsersData = {
|
|
1003
1744
|
body?: never;
|
|
1004
1745
|
path?: never;
|
|
1005
1746
|
query?: never;
|
|
1006
|
-
url: '/
|
|
1747
|
+
url: '/users';
|
|
1007
1748
|
};
|
|
1008
|
-
export type
|
|
1749
|
+
export type ListUsersErrors = {
|
|
1009
1750
|
/**
|
|
1010
|
-
*
|
|
1751
|
+
* Not authenticated
|
|
1011
1752
|
*/
|
|
1012
|
-
|
|
1753
|
+
401: unknown;
|
|
1013
1754
|
};
|
|
1014
|
-
export type
|
|
1755
|
+
export type ListUsersResponses = {
|
|
1015
1756
|
/**
|
|
1016
|
-
*
|
|
1757
|
+
* An array of users
|
|
1017
1758
|
*/
|
|
1018
|
-
200:
|
|
1759
|
+
200: Array<User>;
|
|
1019
1760
|
};
|
|
1020
|
-
export type
|
|
1021
|
-
export type
|
|
1022
|
-
body
|
|
1761
|
+
export type ListUsersResponse = ListUsersResponses[keyof ListUsersResponses];
|
|
1762
|
+
export type CreateUserData = {
|
|
1763
|
+
body: UserCreateInput;
|
|
1023
1764
|
path?: never;
|
|
1024
1765
|
query?: never;
|
|
1025
|
-
url: '/
|
|
1766
|
+
url: '/users';
|
|
1026
1767
|
};
|
|
1027
|
-
export type
|
|
1768
|
+
export type CreateUserResponses = {
|
|
1028
1769
|
/**
|
|
1029
|
-
*
|
|
1030
|
-
*
|
|
1770
|
+
* Successfully created. Returns created user details.
|
|
1031
1771
|
*/
|
|
1032
|
-
200:
|
|
1772
|
+
200: User;
|
|
1773
|
+
};
|
|
1774
|
+
export type CreateUserResponse = CreateUserResponses[keyof CreateUserResponses];
|
|
1775
|
+
export type DeleteUserData = {
|
|
1776
|
+
body?: never;
|
|
1777
|
+
path: {
|
|
1033
1778
|
/**
|
|
1034
|
-
*
|
|
1779
|
+
* Unique user identifier. UUID v4 string in canonical form
|
|
1035
1780
|
*/
|
|
1036
|
-
|
|
1781
|
+
user_id: string;
|
|
1037
1782
|
};
|
|
1038
|
-
};
|
|
1039
|
-
export type GetPaymentMethodSecretResponse = GetPaymentMethodSecretResponses[keyof GetPaymentMethodSecretResponses];
|
|
1040
|
-
export type ListInvoicesData = {
|
|
1041
|
-
body?: never;
|
|
1042
|
-
path?: never;
|
|
1043
1783
|
query?: never;
|
|
1044
|
-
url: '/
|
|
1784
|
+
url: '/users/{user_id}';
|
|
1045
1785
|
};
|
|
1046
|
-
export type
|
|
1786
|
+
export type DeleteUserErrors = {
|
|
1787
|
+
/**
|
|
1788
|
+
* Deleting own user is not allowed. Delete your organization instead.
|
|
1789
|
+
*/
|
|
1790
|
+
400: unknown;
|
|
1047
1791
|
/**
|
|
1048
1792
|
* Not authenticated
|
|
1049
1793
|
*/
|
|
1050
1794
|
401: unknown;
|
|
1051
1795
|
};
|
|
1052
|
-
export type
|
|
1796
|
+
export type DeleteUserResponses = {
|
|
1053
1797
|
/**
|
|
1054
|
-
*
|
|
1798
|
+
* User profile information
|
|
1055
1799
|
*/
|
|
1056
|
-
200:
|
|
1800
|
+
200: User;
|
|
1057
1801
|
};
|
|
1058
|
-
export type
|
|
1059
|
-
export type
|
|
1802
|
+
export type DeleteUserResponse = DeleteUserResponses[keyof DeleteUserResponses];
|
|
1803
|
+
export type GetUserData = {
|
|
1060
1804
|
body?: never;
|
|
1061
|
-
path
|
|
1805
|
+
path: {
|
|
1806
|
+
/**
|
|
1807
|
+
* Unique user identifier. UUID v4 string in canonical form
|
|
1808
|
+
*/
|
|
1809
|
+
user_id: string;
|
|
1810
|
+
};
|
|
1062
1811
|
query?: never;
|
|
1063
|
-
url: '/
|
|
1812
|
+
url: '/users/{user_id}';
|
|
1064
1813
|
};
|
|
1065
|
-
export type
|
|
1814
|
+
export type GetUserErrors = {
|
|
1066
1815
|
/**
|
|
1067
|
-
*
|
|
1816
|
+
* Not authenticated
|
|
1068
1817
|
*/
|
|
1069
|
-
|
|
1818
|
+
401: unknown;
|
|
1070
1819
|
};
|
|
1071
|
-
export type
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1820
|
+
export type GetUserResponses = {
|
|
1821
|
+
/**
|
|
1822
|
+
* User profile information
|
|
1823
|
+
*/
|
|
1824
|
+
200: User;
|
|
1825
|
+
};
|
|
1826
|
+
export type GetUserResponse = GetUserResponses[keyof GetUserResponses];
|
|
1827
|
+
export type UpdateUserData = {
|
|
1828
|
+
body: UserUpdateInput;
|
|
1829
|
+
path: {
|
|
1830
|
+
/**
|
|
1831
|
+
* Unique user identifier. UUID v4 string in canonical form
|
|
1832
|
+
*/
|
|
1833
|
+
user_id: string;
|
|
1834
|
+
};
|
|
1075
1835
|
query?: never;
|
|
1076
|
-
url: '/
|
|
1836
|
+
url: '/users/{user_id}';
|
|
1077
1837
|
};
|
|
1078
|
-
export type
|
|
1838
|
+
export type UpdateUserResponses = {
|
|
1079
1839
|
/**
|
|
1080
|
-
* Successfully
|
|
1840
|
+
* Successfully created. Returns created user details.
|
|
1081
1841
|
*/
|
|
1082
|
-
200:
|
|
1842
|
+
200: User;
|
|
1083
1843
|
};
|
|
1084
|
-
export type
|
|
1085
|
-
export type
|
|
1844
|
+
export type UpdateUserResponse = UpdateUserResponses[keyof UpdateUserResponses];
|
|
1845
|
+
export type ListTokensData = {
|
|
1086
1846
|
body?: never;
|
|
1087
1847
|
path?: never;
|
|
1088
1848
|
query?: never;
|
|
1089
|
-
url: '/
|
|
1849
|
+
url: '/tokens';
|
|
1090
1850
|
};
|
|
1091
|
-
export type
|
|
1851
|
+
export type ListTokensErrors = {
|
|
1092
1852
|
/**
|
|
1093
1853
|
* Not authenticated
|
|
1094
1854
|
*/
|
|
1095
1855
|
401: unknown;
|
|
1096
1856
|
};
|
|
1097
|
-
export type
|
|
1857
|
+
export type ListTokensResponses = {
|
|
1098
1858
|
/**
|
|
1099
|
-
*
|
|
1859
|
+
* Returns a list of access token details with masked secrets.
|
|
1100
1860
|
*/
|
|
1101
|
-
200: Array<
|
|
1861
|
+
200: Array<Token>;
|
|
1102
1862
|
};
|
|
1103
|
-
export type
|
|
1104
|
-
export type
|
|
1105
|
-
body:
|
|
1106
|
-
/**
|
|
1107
|
-
* Promotional code to redeem
|
|
1108
|
-
*/
|
|
1109
|
-
code?: string;
|
|
1110
|
-
};
|
|
1863
|
+
export type ListTokensResponse = ListTokensResponses[keyof ListTokensResponses];
|
|
1864
|
+
export type CreateTokenData = {
|
|
1865
|
+
body: TokenCreateInput;
|
|
1111
1866
|
path?: never;
|
|
1112
1867
|
query?: never;
|
|
1113
|
-
url: '/
|
|
1868
|
+
url: '/tokens';
|
|
1114
1869
|
};
|
|
1115
|
-
export type
|
|
1870
|
+
export type CreateTokenErrors = {
|
|
1116
1871
|
/**
|
|
1117
1872
|
* Not authenticated
|
|
1118
1873
|
*/
|
|
1119
1874
|
401: unknown;
|
|
1120
1875
|
};
|
|
1121
|
-
export type
|
|
1876
|
+
export type CreateTokenResponses = {
|
|
1122
1877
|
/**
|
|
1123
|
-
* Successfully created
|
|
1878
|
+
* Successfully created. Returns created token details with unmasked/raw secret.
|
|
1879
|
+
*/
|
|
1880
|
+
200: Token;
|
|
1881
|
+
};
|
|
1882
|
+
export type CreateTokenResponse = CreateTokenResponses[keyof CreateTokenResponses];
|
|
1883
|
+
export type DeleteTokenData = {
|
|
1884
|
+
body?: never;
|
|
1885
|
+
path: {
|
|
1886
|
+
/**
|
|
1887
|
+
* Generated unique identifier of the access token.
|
|
1888
|
+
*/
|
|
1889
|
+
token_id: string;
|
|
1890
|
+
};
|
|
1891
|
+
query?: never;
|
|
1892
|
+
url: '/tokens/{token_id}';
|
|
1893
|
+
};
|
|
1894
|
+
export type DeleteTokenResponses = {
|
|
1895
|
+
/**
|
|
1896
|
+
* Successfully deleted.
|
|
1124
1897
|
*/
|
|
1125
1898
|
200: unknown;
|
|
1126
1899
|
};
|
|
1127
|
-
export type
|
|
1900
|
+
export type GetTokenData = {
|
|
1128
1901
|
body?: never;
|
|
1129
1902
|
path: {
|
|
1130
1903
|
/**
|
|
1131
|
-
*
|
|
1904
|
+
* Generated unique identifier of the access token.
|
|
1132
1905
|
*/
|
|
1133
|
-
|
|
1906
|
+
token_id: string;
|
|
1134
1907
|
};
|
|
1135
1908
|
query?: never;
|
|
1136
|
-
url: '/
|
|
1909
|
+
url: '/tokens/{token_id}';
|
|
1137
1910
|
};
|
|
1138
|
-
export type
|
|
1911
|
+
export type GetTokenErrors = {
|
|
1139
1912
|
/**
|
|
1140
1913
|
* Not authenticated
|
|
1141
1914
|
*/
|
|
1142
1915
|
401: unknown;
|
|
1143
1916
|
};
|
|
1144
|
-
export type
|
|
1917
|
+
export type GetTokenResponses = {
|
|
1145
1918
|
/**
|
|
1146
|
-
*
|
|
1919
|
+
* Returns access token details with masked secret.
|
|
1147
1920
|
*/
|
|
1148
|
-
200:
|
|
1921
|
+
200: Token;
|
|
1149
1922
|
};
|
|
1150
|
-
export type
|
|
1151
|
-
export type
|
|
1152
|
-
body:
|
|
1923
|
+
export type GetTokenResponse = GetTokenResponses[keyof GetTokenResponses];
|
|
1924
|
+
export type UpdateTokenData = {
|
|
1925
|
+
body: TokenUpdateInput;
|
|
1153
1926
|
path: {
|
|
1154
1927
|
/**
|
|
1155
|
-
*
|
|
1928
|
+
* Generated unique identifier of the access token.
|
|
1156
1929
|
*/
|
|
1157
|
-
|
|
1930
|
+
token_id: string;
|
|
1158
1931
|
};
|
|
1159
1932
|
query?: never;
|
|
1160
|
-
url: '/
|
|
1933
|
+
url: '/tokens/{token_id}';
|
|
1161
1934
|
};
|
|
1162
|
-
export type
|
|
1935
|
+
export type UpdateTokenErrors = {
|
|
1163
1936
|
/**
|
|
1164
|
-
*
|
|
1937
|
+
* Not authenticated
|
|
1165
1938
|
*/
|
|
1166
|
-
|
|
1939
|
+
401: unknown;
|
|
1167
1940
|
};
|
|
1168
|
-
export type
|
|
1169
|
-
|
|
1941
|
+
export type UpdateTokenResponses = {
|
|
1942
|
+
/**
|
|
1943
|
+
* Successfully updated. Returns updated token details with masked secret.
|
|
1944
|
+
*/
|
|
1945
|
+
200: Token;
|
|
1946
|
+
};
|
|
1947
|
+
export type UpdateTokenResponse = UpdateTokenResponses[keyof UpdateTokenResponses];
|
|
1948
|
+
export type RegenerateTokenData = {
|
|
1170
1949
|
body?: never;
|
|
1171
1950
|
path: {
|
|
1172
1951
|
/**
|
|
1173
|
-
*
|
|
1952
|
+
* Generated unique identifier of the access token.
|
|
1174
1953
|
*/
|
|
1175
|
-
|
|
1954
|
+
token_id: string;
|
|
1955
|
+
};
|
|
1956
|
+
query?: never;
|
|
1957
|
+
url: '/tokens/{token_id}/secret';
|
|
1958
|
+
};
|
|
1959
|
+
export type RegenerateTokenErrors = {
|
|
1960
|
+
/**
|
|
1961
|
+
* Not authenticated
|
|
1962
|
+
*/
|
|
1963
|
+
401: unknown;
|
|
1964
|
+
};
|
|
1965
|
+
export type RegenerateTokenResponses = {
|
|
1966
|
+
/**
|
|
1967
|
+
* Successfully updated. Returns updated token details with unmasked / raw secret.
|
|
1968
|
+
*/
|
|
1969
|
+
200: Token;
|
|
1970
|
+
};
|
|
1971
|
+
export type RegenerateTokenResponse = RegenerateTokenResponses[keyof RegenerateTokenResponses];
|
|
1972
|
+
export type ListTicketsData = {
|
|
1973
|
+
body?: never;
|
|
1974
|
+
path?: never;
|
|
1975
|
+
query?: never;
|
|
1976
|
+
url: '/tickets';
|
|
1977
|
+
};
|
|
1978
|
+
export type ListTicketsResponses = {
|
|
1979
|
+
/**
|
|
1980
|
+
* An array of tickets for the organization, newest first.
|
|
1981
|
+
*/
|
|
1982
|
+
200: Array<Ticket>;
|
|
1983
|
+
};
|
|
1984
|
+
export type ListTicketsResponse = ListTicketsResponses[keyof ListTicketsResponses];
|
|
1985
|
+
export type CreateTicketData = {
|
|
1986
|
+
body: {
|
|
1176
1987
|
/**
|
|
1177
|
-
*
|
|
1988
|
+
* JSON-encoded TicketCreateInput.
|
|
1178
1989
|
*/
|
|
1179
|
-
|
|
1990
|
+
payload?: string;
|
|
1991
|
+
attachments?: Array<Blob | File>;
|
|
1180
1992
|
};
|
|
1993
|
+
path?: never;
|
|
1181
1994
|
query?: never;
|
|
1182
|
-
url: '/
|
|
1995
|
+
url: '/tickets';
|
|
1183
1996
|
};
|
|
1184
|
-
export type
|
|
1997
|
+
export type CreateTicketResponses = {
|
|
1185
1998
|
/**
|
|
1186
|
-
*
|
|
1999
|
+
* Ticket created.
|
|
1187
2000
|
*/
|
|
1188
|
-
200:
|
|
2001
|
+
200: Ticket;
|
|
1189
2002
|
};
|
|
1190
|
-
export type
|
|
1191
|
-
export type
|
|
2003
|
+
export type CreateTicketResponse = CreateTicketResponses[keyof CreateTicketResponses];
|
|
2004
|
+
export type CloseTicketData = {
|
|
1192
2005
|
body?: never;
|
|
1193
2006
|
path: {
|
|
1194
|
-
|
|
1195
|
-
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1196
|
-
*/
|
|
1197
|
-
cluster_id: string;
|
|
1198
|
-
/**
|
|
1199
|
-
* Chart deployment name as the unique identifier of the chart.
|
|
1200
|
-
*/
|
|
1201
|
-
chart_name: string;
|
|
2007
|
+
ticket_id: string;
|
|
1202
2008
|
};
|
|
1203
2009
|
query?: never;
|
|
1204
|
-
url: '/
|
|
2010
|
+
url: '/tickets/{ticket_id}';
|
|
1205
2011
|
};
|
|
1206
|
-
export type
|
|
2012
|
+
export type CloseTicketResponses = {
|
|
1207
2013
|
/**
|
|
1208
|
-
*
|
|
2014
|
+
* Ticket closed.
|
|
1209
2015
|
*/
|
|
1210
|
-
200:
|
|
2016
|
+
200: Ticket;
|
|
1211
2017
|
};
|
|
1212
|
-
export type
|
|
1213
|
-
export type
|
|
1214
|
-
body
|
|
2018
|
+
export type CloseTicketResponse = CloseTicketResponses[keyof CloseTicketResponses];
|
|
2019
|
+
export type GetTicketData = {
|
|
2020
|
+
body?: never;
|
|
1215
2021
|
path: {
|
|
1216
|
-
|
|
1217
|
-
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1218
|
-
*/
|
|
1219
|
-
cluster_id: string;
|
|
1220
|
-
/**
|
|
1221
|
-
* Chart deployment name as the unique identifier of the chart.
|
|
1222
|
-
*/
|
|
1223
|
-
chart_name: string;
|
|
2022
|
+
ticket_id: string;
|
|
1224
2023
|
};
|
|
1225
2024
|
query?: never;
|
|
1226
|
-
url: '/
|
|
2025
|
+
url: '/tickets/{ticket_id}';
|
|
1227
2026
|
};
|
|
1228
|
-
export type
|
|
2027
|
+
export type GetTicketResponses = {
|
|
1229
2028
|
/**
|
|
1230
|
-
*
|
|
2029
|
+
* Ticket with messages (internal notes excluded).
|
|
1231
2030
|
*/
|
|
1232
|
-
200:
|
|
2031
|
+
200: Ticket;
|
|
1233
2032
|
};
|
|
1234
|
-
export type
|
|
1235
|
-
export type
|
|
2033
|
+
export type GetTicketResponse = GetTicketResponses[keyof GetTicketResponses];
|
|
2034
|
+
export type GrantTicketSupportAccessData = {
|
|
1236
2035
|
body?: never;
|
|
1237
2036
|
path: {
|
|
1238
|
-
|
|
1239
|
-
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1240
|
-
*/
|
|
1241
|
-
cluster_id: string;
|
|
2037
|
+
ticket_id: string;
|
|
1242
2038
|
};
|
|
1243
2039
|
query?: never;
|
|
1244
|
-
url: '/
|
|
2040
|
+
url: '/tickets/{ticket_id}/support-access';
|
|
1245
2041
|
};
|
|
1246
|
-
export type
|
|
2042
|
+
export type GrantTicketSupportAccessErrors = {
|
|
1247
2043
|
/**
|
|
1248
|
-
*
|
|
2044
|
+
* Ticket is closed. Open a new ticket instead.
|
|
1249
2045
|
*/
|
|
1250
|
-
|
|
2046
|
+
409: unknown;
|
|
1251
2047
|
};
|
|
1252
|
-
export type
|
|
2048
|
+
export type GrantTicketSupportAccessResponses = {
|
|
1253
2049
|
/**
|
|
1254
|
-
*
|
|
2050
|
+
* Support access granted.
|
|
1255
2051
|
*/
|
|
1256
|
-
200:
|
|
2052
|
+
200: Ticket;
|
|
1257
2053
|
};
|
|
1258
|
-
export type
|
|
1259
|
-
export type
|
|
1260
|
-
body:
|
|
1261
|
-
path: {
|
|
2054
|
+
export type GrantTicketSupportAccessResponse = GrantTicketSupportAccessResponses[keyof GrantTicketSupportAccessResponses];
|
|
2055
|
+
export type ReplyTicketData = {
|
|
2056
|
+
body: {
|
|
1262
2057
|
/**
|
|
1263
|
-
*
|
|
2058
|
+
* JSON-encoded TicketMessageInput.
|
|
1264
2059
|
*/
|
|
1265
|
-
|
|
2060
|
+
payload?: string;
|
|
2061
|
+
attachments?: Array<Blob | File>;
|
|
2062
|
+
};
|
|
2063
|
+
path: {
|
|
2064
|
+
ticket_id: string;
|
|
1266
2065
|
};
|
|
1267
2066
|
query?: never;
|
|
1268
|
-
url: '/
|
|
2067
|
+
url: '/tickets/{ticket_id}/messages';
|
|
1269
2068
|
};
|
|
1270
|
-
export type
|
|
2069
|
+
export type ReplyTicketErrors = {
|
|
1271
2070
|
/**
|
|
1272
|
-
*
|
|
2071
|
+
* Ticket is closed. Open a new ticket instead.
|
|
1273
2072
|
*/
|
|
1274
|
-
|
|
2073
|
+
409: unknown;
|
|
1275
2074
|
};
|
|
1276
|
-
export type
|
|
1277
|
-
export type CreateFleetResponses = {
|
|
2075
|
+
export type ReplyTicketResponses = {
|
|
1278
2076
|
/**
|
|
1279
|
-
*
|
|
2077
|
+
* Reply appended.
|
|
1280
2078
|
*/
|
|
1281
|
-
200:
|
|
2079
|
+
200: TicketMessage;
|
|
1282
2080
|
};
|
|
1283
|
-
export type
|
|
1284
|
-
export type
|
|
2081
|
+
export type ReplyTicketResponse = ReplyTicketResponses[keyof ReplyTicketResponses];
|
|
2082
|
+
export type GetTicketAttachmentData = {
|
|
1285
2083
|
body?: never;
|
|
1286
2084
|
path: {
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
*/
|
|
1290
|
-
cluster_id: string;
|
|
1291
|
-
/**
|
|
1292
|
-
* Unique identifier of the fleet. UUID v4 string in canonical form
|
|
1293
|
-
*/
|
|
1294
|
-
fleet_name: string;
|
|
2085
|
+
ticket_id: string;
|
|
2086
|
+
attachment_id: string;
|
|
1295
2087
|
};
|
|
1296
2088
|
query?: never;
|
|
1297
|
-
url: '/
|
|
2089
|
+
url: '/tickets/{ticket_id}/attachments/{attachment_id}';
|
|
1298
2090
|
};
|
|
1299
|
-
export type
|
|
2091
|
+
export type GetTicketAttachmentResponses = {
|
|
1300
2092
|
/**
|
|
1301
|
-
*
|
|
2093
|
+
* Attachment binary stream.
|
|
1302
2094
|
*/
|
|
1303
|
-
200:
|
|
2095
|
+
200: Blob | File;
|
|
1304
2096
|
};
|
|
1305
|
-
export type
|
|
1306
|
-
export type
|
|
2097
|
+
export type GetTicketAttachmentResponse = GetTicketAttachmentResponses[keyof GetTicketAttachmentResponses];
|
|
2098
|
+
export type ListRoadmapData = {
|
|
2099
|
+
body?: never;
|
|
2100
|
+
path?: never;
|
|
2101
|
+
query?: never;
|
|
2102
|
+
url: '/roadmap';
|
|
2103
|
+
};
|
|
2104
|
+
export type ListRoadmapResponses = {
|
|
2105
|
+
/**
|
|
2106
|
+
* An array of roadmap items, newest first.
|
|
2107
|
+
*/
|
|
2108
|
+
200: Array<RoadmapItem>;
|
|
2109
|
+
};
|
|
2110
|
+
export type ListRoadmapResponse = ListRoadmapResponses[keyof ListRoadmapResponses];
|
|
2111
|
+
export type SuggestRoadmapData = {
|
|
2112
|
+
body: RoadmapItemCreateInput;
|
|
2113
|
+
path?: never;
|
|
2114
|
+
query?: never;
|
|
2115
|
+
url: '/roadmap';
|
|
2116
|
+
};
|
|
2117
|
+
export type SuggestRoadmapResponses = {
|
|
2118
|
+
/**
|
|
2119
|
+
* Suggestion submitted for review.
|
|
2120
|
+
*/
|
|
2121
|
+
200: RoadmapItem;
|
|
2122
|
+
};
|
|
2123
|
+
export type SuggestRoadmapResponse = SuggestRoadmapResponses[keyof SuggestRoadmapResponses];
|
|
2124
|
+
export type UnvoteRoadmapData = {
|
|
2125
|
+
body?: never;
|
|
2126
|
+
path: {
|
|
2127
|
+
item_id: string;
|
|
2128
|
+
};
|
|
2129
|
+
query?: never;
|
|
2130
|
+
url: '/roadmap/{item_id}/vote';
|
|
2131
|
+
};
|
|
2132
|
+
export type UnvoteRoadmapErrors = {
|
|
2133
|
+
/**
|
|
2134
|
+
* Roadmap item not found.
|
|
2135
|
+
*/
|
|
2136
|
+
404: unknown;
|
|
2137
|
+
};
|
|
2138
|
+
export type UnvoteRoadmapResponses = {
|
|
2139
|
+
/**
|
|
2140
|
+
* Vote removed. Returns the item without a vote.
|
|
2141
|
+
*/
|
|
2142
|
+
200: RoadmapItem;
|
|
2143
|
+
};
|
|
2144
|
+
export type UnvoteRoadmapResponse = UnvoteRoadmapResponses[keyof UnvoteRoadmapResponses];
|
|
2145
|
+
export type VoteRoadmapData = {
|
|
2146
|
+
body: RoadmapVoteInput;
|
|
2147
|
+
path: {
|
|
2148
|
+
item_id: string;
|
|
2149
|
+
};
|
|
2150
|
+
query?: never;
|
|
2151
|
+
url: '/roadmap/{item_id}/vote';
|
|
2152
|
+
};
|
|
2153
|
+
export type VoteRoadmapErrors = {
|
|
2154
|
+
/**
|
|
2155
|
+
* Roadmap item not found.
|
|
2156
|
+
*/
|
|
2157
|
+
404: unknown;
|
|
2158
|
+
};
|
|
2159
|
+
export type VoteRoadmapResponses = {
|
|
2160
|
+
/**
|
|
2161
|
+
* Vote saved. Returns the item with your vote.
|
|
2162
|
+
*/
|
|
2163
|
+
200: RoadmapItem;
|
|
2164
|
+
};
|
|
2165
|
+
export type VoteRoadmapResponse = VoteRoadmapResponses[keyof VoteRoadmapResponses];
|
|
2166
|
+
export type ListRepositoriesData = {
|
|
2167
|
+
body?: never;
|
|
2168
|
+
path?: never;
|
|
2169
|
+
query?: never;
|
|
2170
|
+
url: '/registry';
|
|
2171
|
+
};
|
|
2172
|
+
export type ListRepositoriesErrors = {
|
|
2173
|
+
/**
|
|
2174
|
+
* Not authenticated
|
|
2175
|
+
*/
|
|
2176
|
+
401: unknown;
|
|
2177
|
+
/**
|
|
2178
|
+
* Internal server error
|
|
2179
|
+
*/
|
|
2180
|
+
500: unknown;
|
|
2181
|
+
};
|
|
2182
|
+
export type ListRepositoriesResponses = {
|
|
2183
|
+
/**
|
|
2184
|
+
* List of repositories
|
|
2185
|
+
*/
|
|
2186
|
+
200: Array<RegistryRepository>;
|
|
2187
|
+
};
|
|
2188
|
+
export type ListRepositoriesResponse = ListRepositoriesResponses[keyof ListRepositoriesResponses];
|
|
2189
|
+
export type ListTagsData = {
|
|
1307
2190
|
body?: never;
|
|
1308
2191
|
path: {
|
|
1309
2192
|
/**
|
|
1310
|
-
*
|
|
2193
|
+
* Region where the repository is located
|
|
1311
2194
|
*/
|
|
1312
|
-
|
|
2195
|
+
region: string;
|
|
1313
2196
|
/**
|
|
1314
|
-
*
|
|
2197
|
+
* Name of the repository
|
|
1315
2198
|
*/
|
|
1316
|
-
|
|
2199
|
+
repository: string;
|
|
1317
2200
|
};
|
|
1318
2201
|
query?: never;
|
|
1319
|
-
url: '/
|
|
2202
|
+
url: '/registry/{region}/{repository}';
|
|
1320
2203
|
};
|
|
1321
|
-
export type
|
|
2204
|
+
export type ListTagsErrors = {
|
|
1322
2205
|
/**
|
|
1323
|
-
*
|
|
2206
|
+
* Not authenticated
|
|
1324
2207
|
*/
|
|
1325
|
-
|
|
2208
|
+
401: unknown;
|
|
2209
|
+
/**
|
|
2210
|
+
* Repository not found
|
|
2211
|
+
*/
|
|
2212
|
+
404: unknown;
|
|
2213
|
+
/**
|
|
2214
|
+
* Internal server error
|
|
2215
|
+
*/
|
|
2216
|
+
500: unknown;
|
|
1326
2217
|
};
|
|
1327
|
-
export type
|
|
1328
|
-
|
|
1329
|
-
|
|
2218
|
+
export type ListTagsResponses = {
|
|
2219
|
+
/**
|
|
2220
|
+
* Repository with tags
|
|
2221
|
+
*/
|
|
2222
|
+
200: RegistryRepositoryWithTags;
|
|
2223
|
+
};
|
|
2224
|
+
export type ListTagsResponse = ListTagsResponses[keyof ListTagsResponses];
|
|
2225
|
+
export type DeleteTagData = {
|
|
2226
|
+
body?: never;
|
|
1330
2227
|
path: {
|
|
1331
2228
|
/**
|
|
1332
|
-
*
|
|
2229
|
+
* Region where the repository is located
|
|
1333
2230
|
*/
|
|
1334
|
-
|
|
2231
|
+
region: string;
|
|
1335
2232
|
/**
|
|
1336
|
-
*
|
|
2233
|
+
* Name of the repository
|
|
1337
2234
|
*/
|
|
1338
|
-
|
|
2235
|
+
repository: string;
|
|
2236
|
+
/**
|
|
2237
|
+
* Name of the tag
|
|
2238
|
+
*/
|
|
2239
|
+
tag: string;
|
|
1339
2240
|
};
|
|
1340
2241
|
query?: never;
|
|
1341
|
-
url: '/
|
|
2242
|
+
url: '/registry/{region}/{repository}/{tag}';
|
|
1342
2243
|
};
|
|
1343
|
-
export type
|
|
2244
|
+
export type DeleteTagErrors = {
|
|
1344
2245
|
/**
|
|
1345
|
-
*
|
|
2246
|
+
* Not authenticated
|
|
1346
2247
|
*/
|
|
1347
|
-
|
|
2248
|
+
401: unknown;
|
|
2249
|
+
/**
|
|
2250
|
+
* Tag not found
|
|
2251
|
+
*/
|
|
2252
|
+
404: unknown;
|
|
2253
|
+
/**
|
|
2254
|
+
* Internal server error
|
|
2255
|
+
*/
|
|
2256
|
+
500: unknown;
|
|
1348
2257
|
};
|
|
1349
|
-
export type
|
|
1350
|
-
export type UpdateFleetResponses = {
|
|
2258
|
+
export type DeleteTagResponses = {
|
|
1351
2259
|
/**
|
|
1352
|
-
*
|
|
2260
|
+
* Tag successfully deleted
|
|
1353
2261
|
*/
|
|
1354
|
-
200:
|
|
2262
|
+
200: unknown;
|
|
1355
2263
|
};
|
|
1356
|
-
export type
|
|
1357
|
-
export type QueryClusterData = {
|
|
2264
|
+
export type GetTagData = {
|
|
1358
2265
|
body?: never;
|
|
1359
2266
|
path: {
|
|
1360
2267
|
/**
|
|
1361
|
-
*
|
|
2268
|
+
* Region where the repository is located
|
|
1362
2269
|
*/
|
|
1363
|
-
|
|
2270
|
+
region: string;
|
|
2271
|
+
/**
|
|
2272
|
+
* Name of the repository
|
|
2273
|
+
*/
|
|
2274
|
+
repository: string;
|
|
2275
|
+
/**
|
|
2276
|
+
* Name of the tag
|
|
2277
|
+
*/
|
|
2278
|
+
tag: string;
|
|
1364
2279
|
};
|
|
1365
2280
|
query?: never;
|
|
1366
|
-
url: '/
|
|
2281
|
+
url: '/registry/{region}/{repository}/{tag}';
|
|
1367
2282
|
};
|
|
1368
|
-
export type
|
|
2283
|
+
export type GetTagErrors = {
|
|
1369
2284
|
/**
|
|
1370
2285
|
* Not authenticated
|
|
1371
2286
|
*/
|
|
1372
2287
|
401: unknown;
|
|
2288
|
+
/**
|
|
2289
|
+
* Tag not found
|
|
2290
|
+
*/
|
|
2291
|
+
404: unknown;
|
|
2292
|
+
/**
|
|
2293
|
+
* Internal server error
|
|
2294
|
+
*/
|
|
2295
|
+
500: unknown;
|
|
1373
2296
|
};
|
|
1374
|
-
export type
|
|
2297
|
+
export type GetTagResponses = {
|
|
1375
2298
|
/**
|
|
1376
|
-
*
|
|
2299
|
+
* Tag details
|
|
1377
2300
|
*/
|
|
1378
|
-
200:
|
|
2301
|
+
200: RegistryTag;
|
|
1379
2302
|
};
|
|
1380
|
-
export type
|
|
2303
|
+
export type GetTagResponse = GetTagResponses[keyof GetTagResponses];
|
|
2304
|
+
export type GetOrganizationData = {
|
|
1381
2305
|
body?: never;
|
|
1382
2306
|
path?: never;
|
|
1383
2307
|
query?: never;
|
|
1384
|
-
url: '/
|
|
2308
|
+
url: '/organization';
|
|
1385
2309
|
};
|
|
1386
|
-
export type
|
|
2310
|
+
export type GetOrganizationResponses = {
|
|
2311
|
+
/**
|
|
2312
|
+
* Returns a single object containing organization details.
|
|
2313
|
+
*/
|
|
2314
|
+
200: Organization;
|
|
2315
|
+
};
|
|
2316
|
+
export type GetOrganizationResponse = GetOrganizationResponses[keyof GetOrganizationResponses];
|
|
2317
|
+
export type CreateOrganizationData = {
|
|
2318
|
+
body: OrganizationCreateInput;
|
|
2319
|
+
path?: never;
|
|
2320
|
+
query?: never;
|
|
2321
|
+
url: '/organization';
|
|
2322
|
+
};
|
|
2323
|
+
export type CreateOrganizationResponses = {
|
|
2324
|
+
/**
|
|
2325
|
+
* Organization signup accepted. Returns the generated organization id immediately; provisioning (billing, Keycloak realm, user) continues asynchronously in the background.
|
|
2326
|
+
*
|
|
2327
|
+
*/
|
|
2328
|
+
200: OrganizationCreateOutput;
|
|
2329
|
+
};
|
|
2330
|
+
export type CreateOrganizationResponse = CreateOrganizationResponses[keyof CreateOrganizationResponses];
|
|
2331
|
+
export type PostMcpData = {
|
|
2332
|
+
/**
|
|
2333
|
+
* JSON-RPC 2.0 request payload
|
|
2334
|
+
*/
|
|
2335
|
+
body: {
|
|
2336
|
+
jsonrpc?: string;
|
|
2337
|
+
method?: string;
|
|
2338
|
+
id?: string | number;
|
|
2339
|
+
/**
|
|
2340
|
+
* Method-specific parameters
|
|
2341
|
+
*/
|
|
2342
|
+
params?: {
|
|
2343
|
+
[key: string]: unknown;
|
|
2344
|
+
};
|
|
2345
|
+
};
|
|
2346
|
+
path?: never;
|
|
2347
|
+
query?: never;
|
|
2348
|
+
url: '/mcp';
|
|
2349
|
+
};
|
|
2350
|
+
export type PostMcpErrors = {
|
|
1387
2351
|
/**
|
|
1388
2352
|
* Not authenticated
|
|
1389
2353
|
*/
|
|
1390
2354
|
401: unknown;
|
|
1391
2355
|
};
|
|
1392
|
-
export type
|
|
2356
|
+
export type PostMcpResponses = {
|
|
1393
2357
|
/**
|
|
1394
|
-
*
|
|
2358
|
+
* JSON-RPC 2.0 success or error response
|
|
1395
2359
|
*/
|
|
1396
|
-
200:
|
|
2360
|
+
200: {
|
|
2361
|
+
jsonrpc?: string;
|
|
2362
|
+
id?: string | number;
|
|
2363
|
+
result?: {
|
|
2364
|
+
[key: string]: unknown;
|
|
2365
|
+
};
|
|
2366
|
+
error?: {
|
|
2367
|
+
code?: number;
|
|
2368
|
+
message?: string;
|
|
2369
|
+
};
|
|
2370
|
+
};
|
|
1397
2371
|
};
|
|
1398
|
-
export type
|
|
1399
|
-
export type
|
|
1400
|
-
body
|
|
2372
|
+
export type PostMcpResponse = PostMcpResponses[keyof PostMcpResponses];
|
|
2373
|
+
export type ListMarketplaceChartsData = {
|
|
2374
|
+
body?: never;
|
|
1401
2375
|
path?: never;
|
|
1402
2376
|
query?: never;
|
|
1403
|
-
url: '/
|
|
2377
|
+
url: '/marketplace';
|
|
1404
2378
|
};
|
|
1405
|
-
export type
|
|
2379
|
+
export type ListMarketplaceChartsErrors = {
|
|
1406
2380
|
/**
|
|
1407
|
-
*
|
|
2381
|
+
* Not authenticated
|
|
1408
2382
|
*/
|
|
1409
|
-
|
|
2383
|
+
401: unknown;
|
|
1410
2384
|
};
|
|
1411
|
-
export type
|
|
1412
|
-
export type CreateClusterResponses = {
|
|
2385
|
+
export type ListMarketplaceChartsResponses = {
|
|
1413
2386
|
/**
|
|
1414
|
-
*
|
|
2387
|
+
* An array of chart listings in the marketplace.
|
|
1415
2388
|
*/
|
|
1416
|
-
200:
|
|
2389
|
+
200: Array<MarketplaceListing>;
|
|
1417
2390
|
};
|
|
1418
|
-
export type
|
|
1419
|
-
export type
|
|
2391
|
+
export type ListMarketplaceChartsResponse = ListMarketplaceChartsResponses[keyof ListMarketplaceChartsResponses];
|
|
2392
|
+
export type GetMarketplaceChartFilesData = {
|
|
2393
|
+
body?: never;
|
|
2394
|
+
path: {
|
|
2395
|
+
/**
|
|
2396
|
+
* Name of the chart in the marketplace.
|
|
2397
|
+
*/
|
|
2398
|
+
chart_name: string;
|
|
2399
|
+
/**
|
|
2400
|
+
* Version channel pattern to match (e.g., "1.31.x-cfke.x" for latest 1.31 patch, "1.x.x-cfke.x" for latest 1.x minor).
|
|
2401
|
+
*/
|
|
2402
|
+
version_channel: string;
|
|
2403
|
+
};
|
|
2404
|
+
query?: never;
|
|
2405
|
+
url: '/marketplace/{chart_name}/files/{version_channel}';
|
|
2406
|
+
};
|
|
2407
|
+
export type GetMarketplaceChartFilesErrors = {
|
|
2408
|
+
/**
|
|
2409
|
+
* Chart not found or no version matches the channel
|
|
2410
|
+
*/
|
|
2411
|
+
404: unknown;
|
|
2412
|
+
};
|
|
2413
|
+
export type GetMarketplaceChartFilesResponses = {
|
|
2414
|
+
/**
|
|
2415
|
+
* Returns an object containing the chart files for the latest matching version.
|
|
2416
|
+
*/
|
|
2417
|
+
200: MarketplaceListingFiles;
|
|
2418
|
+
};
|
|
2419
|
+
export type GetMarketplaceChartFilesResponse = GetMarketplaceChartFilesResponses[keyof GetMarketplaceChartFilesResponses];
|
|
2420
|
+
export type ListInvitesData = {
|
|
2421
|
+
body?: never;
|
|
2422
|
+
path?: never;
|
|
2423
|
+
query?: never;
|
|
2424
|
+
url: '/invites';
|
|
2425
|
+
};
|
|
2426
|
+
export type ListInvitesErrors = {
|
|
2427
|
+
/**
|
|
2428
|
+
* Not authenticated
|
|
2429
|
+
*/
|
|
2430
|
+
401: unknown;
|
|
2431
|
+
};
|
|
2432
|
+
export type ListInvitesResponses = {
|
|
2433
|
+
/**
|
|
2434
|
+
* An array of invites
|
|
2435
|
+
*/
|
|
2436
|
+
200: Array<Invite>;
|
|
2437
|
+
};
|
|
2438
|
+
export type ListInvitesResponse = ListInvitesResponses[keyof ListInvitesResponses];
|
|
2439
|
+
export type CreateInviteData = {
|
|
2440
|
+
body: InviteCreateInput;
|
|
2441
|
+
path?: never;
|
|
2442
|
+
query?: never;
|
|
2443
|
+
url: '/invites';
|
|
2444
|
+
};
|
|
2445
|
+
export type CreateInviteResponses = {
|
|
2446
|
+
/**
|
|
2447
|
+
* Successfully created. Returns created invite details.
|
|
2448
|
+
*/
|
|
2449
|
+
200: Invite;
|
|
2450
|
+
};
|
|
2451
|
+
export type CreateInviteResponse = CreateInviteResponses[keyof CreateInviteResponses];
|
|
2452
|
+
export type GetInviteData = {
|
|
2453
|
+
body?: never;
|
|
2454
|
+
path: {
|
|
2455
|
+
/**
|
|
2456
|
+
* Invitation code
|
|
2457
|
+
*/
|
|
2458
|
+
code: string;
|
|
2459
|
+
};
|
|
2460
|
+
query?: never;
|
|
2461
|
+
url: '/invites/{code}';
|
|
2462
|
+
};
|
|
2463
|
+
export type GetInviteResponses = {
|
|
2464
|
+
/**
|
|
2465
|
+
* The invitation code is valid. Returns the invited email and organization.
|
|
2466
|
+
*/
|
|
2467
|
+
200: {
|
|
2468
|
+
/**
|
|
2469
|
+
* Email address the invite was issued to.
|
|
2470
|
+
*/
|
|
2471
|
+
email?: string;
|
|
2472
|
+
/**
|
|
2473
|
+
* Identifier of the organization the invite grants access to.
|
|
2474
|
+
*/
|
|
2475
|
+
organization_id?: string;
|
|
2476
|
+
};
|
|
2477
|
+
};
|
|
2478
|
+
export type GetInviteResponse = GetInviteResponses[keyof GetInviteResponses];
|
|
2479
|
+
export type DeleteInviteData = {
|
|
2480
|
+
body?: never;
|
|
2481
|
+
path: {
|
|
2482
|
+
/**
|
|
2483
|
+
* User email address
|
|
2484
|
+
*/
|
|
2485
|
+
email: string;
|
|
2486
|
+
};
|
|
2487
|
+
query?: never;
|
|
2488
|
+
url: '/invites/{email}';
|
|
2489
|
+
};
|
|
2490
|
+
export type DeleteInviteResponses = {
|
|
2491
|
+
/**
|
|
2492
|
+
* Successfully deleted.
|
|
2493
|
+
*/
|
|
2494
|
+
200: unknown;
|
|
2495
|
+
};
|
|
2496
|
+
export type SendFeedbackData = {
|
|
2497
|
+
body: FeedbackCreateInput;
|
|
2498
|
+
path?: never;
|
|
2499
|
+
query?: never;
|
|
2500
|
+
url: '/feedback';
|
|
2501
|
+
};
|
|
2502
|
+
export type SendFeedbackErrors = {
|
|
2503
|
+
/**
|
|
2504
|
+
* Too much feedback from this organization in the last hour.
|
|
2505
|
+
*/
|
|
2506
|
+
429: unknown;
|
|
2507
|
+
};
|
|
2508
|
+
export type SendFeedbackResponses = {
|
|
2509
|
+
/**
|
|
2510
|
+
* Feedback received.
|
|
2511
|
+
*/
|
|
2512
|
+
200: Feedback;
|
|
2513
|
+
};
|
|
2514
|
+
export type SendFeedbackResponse = SendFeedbackResponses[keyof SendFeedbackResponses];
|
|
2515
|
+
export type QueryClusterData = {
|
|
1420
2516
|
body?: never;
|
|
1421
2517
|
path: {
|
|
1422
2518
|
/**
|
|
@@ -1425,16 +2521,21 @@ export type DeleteClusterData = {
|
|
|
1425
2521
|
cluster_id: string;
|
|
1426
2522
|
};
|
|
1427
2523
|
query?: never;
|
|
1428
|
-
url: '/clusters/{cluster_id}';
|
|
2524
|
+
url: '/clusters/{cluster_id}/query';
|
|
1429
2525
|
};
|
|
1430
|
-
export type
|
|
2526
|
+
export type QueryClusterErrors = {
|
|
1431
2527
|
/**
|
|
1432
|
-
*
|
|
2528
|
+
* Not authenticated
|
|
1433
2529
|
*/
|
|
1434
|
-
|
|
2530
|
+
401: unknown;
|
|
1435
2531
|
};
|
|
1436
|
-
export type
|
|
1437
|
-
|
|
2532
|
+
export type QueryClusterResponses = {
|
|
2533
|
+
/**
|
|
2534
|
+
* Kubernetes API response
|
|
2535
|
+
*/
|
|
2536
|
+
200: unknown;
|
|
2537
|
+
};
|
|
2538
|
+
export type ListFleetsData = {
|
|
1438
2539
|
body?: never;
|
|
1439
2540
|
path: {
|
|
1440
2541
|
/**
|
|
@@ -1443,17 +2544,23 @@ export type GetClusterData = {
|
|
|
1443
2544
|
cluster_id: string;
|
|
1444
2545
|
};
|
|
1445
2546
|
query?: never;
|
|
1446
|
-
url: '/clusters/{cluster_id}';
|
|
2547
|
+
url: '/clusters/{cluster_id}/fleets';
|
|
1447
2548
|
};
|
|
1448
|
-
export type
|
|
2549
|
+
export type ListFleetsErrors = {
|
|
1449
2550
|
/**
|
|
1450
|
-
*
|
|
2551
|
+
* Not authenticated
|
|
1451
2552
|
*/
|
|
1452
|
-
|
|
2553
|
+
401: unknown;
|
|
1453
2554
|
};
|
|
1454
|
-
export type
|
|
1455
|
-
|
|
1456
|
-
|
|
2555
|
+
export type ListFleetsResponses = {
|
|
2556
|
+
/**
|
|
2557
|
+
* An array of fleets
|
|
2558
|
+
*/
|
|
2559
|
+
200: Array<Fleet>;
|
|
2560
|
+
};
|
|
2561
|
+
export type ListFleetsResponse = ListFleetsResponses[keyof ListFleetsResponses];
|
|
2562
|
+
export type CreateFleetData = {
|
|
2563
|
+
body: FleetCreateInput;
|
|
1457
2564
|
path: {
|
|
1458
2565
|
/**
|
|
1459
2566
|
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
@@ -1461,607 +2568,629 @@ export type UpdateClusterData = {
|
|
|
1461
2568
|
cluster_id: string;
|
|
1462
2569
|
};
|
|
1463
2570
|
query?: never;
|
|
1464
|
-
url: '/clusters/{cluster_id}';
|
|
2571
|
+
url: '/clusters/{cluster_id}/fleets';
|
|
1465
2572
|
};
|
|
1466
|
-
export type
|
|
2573
|
+
export type CreateFleetErrors = {
|
|
1467
2574
|
/**
|
|
1468
|
-
*
|
|
2575
|
+
* Cluster quota exceeded. Maximum number of fleets per cluster allowed in this organization is reached.
|
|
1469
2576
|
*/
|
|
1470
|
-
|
|
2577
|
+
402: string;
|
|
2578
|
+
/**
|
|
2579
|
+
* 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.
|
|
2580
|
+
*/
|
|
2581
|
+
409: string;
|
|
1471
2582
|
};
|
|
1472
|
-
export type
|
|
1473
|
-
export type
|
|
2583
|
+
export type CreateFleetError = CreateFleetErrors[keyof CreateFleetErrors];
|
|
2584
|
+
export type CreateFleetResponses = {
|
|
2585
|
+
/**
|
|
2586
|
+
* Successfully created. Returns created Fleet ID.
|
|
2587
|
+
*/
|
|
2588
|
+
200: string;
|
|
2589
|
+
};
|
|
2590
|
+
export type CreateFleetResponse = CreateFleetResponses[keyof CreateFleetResponses];
|
|
2591
|
+
export type DeleteFleetData = {
|
|
1474
2592
|
body?: never;
|
|
1475
2593
|
path: {
|
|
1476
2594
|
/**
|
|
1477
2595
|
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1478
2596
|
*/
|
|
1479
2597
|
cluster_id: string;
|
|
2598
|
+
/**
|
|
2599
|
+
* Unique identifier of the fleet. UUID v4 string in canonical form
|
|
2600
|
+
*/
|
|
2601
|
+
fleet_name: string;
|
|
1480
2602
|
};
|
|
1481
2603
|
query?: never;
|
|
1482
|
-
url: '/clusters/{cluster_id}/
|
|
2604
|
+
url: '/clusters/{cluster_id}/fleets/{fleet_name}';
|
|
1483
2605
|
};
|
|
1484
|
-
export type
|
|
2606
|
+
export type DeleteFleetErrors = {
|
|
1485
2607
|
/**
|
|
1486
|
-
*
|
|
2608
|
+
* 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.
|
|
1487
2609
|
*/
|
|
1488
|
-
|
|
2610
|
+
409: string;
|
|
1489
2611
|
};
|
|
1490
|
-
export type
|
|
2612
|
+
export type DeleteFleetError = DeleteFleetErrors[keyof DeleteFleetErrors];
|
|
2613
|
+
export type DeleteFleetResponses = {
|
|
1491
2614
|
/**
|
|
1492
|
-
*
|
|
2615
|
+
* Successfully deleted.
|
|
1493
2616
|
*/
|
|
1494
|
-
200:
|
|
2617
|
+
200: string;
|
|
1495
2618
|
};
|
|
1496
|
-
export type
|
|
1497
|
-
export type
|
|
2619
|
+
export type DeleteFleetResponse = DeleteFleetResponses[keyof DeleteFleetResponses];
|
|
2620
|
+
export type GetFleetData = {
|
|
1498
2621
|
body?: never;
|
|
1499
|
-
path
|
|
2622
|
+
path: {
|
|
2623
|
+
/**
|
|
2624
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2625
|
+
*/
|
|
2626
|
+
cluster_id: string;
|
|
2627
|
+
/**
|
|
2628
|
+
* Unique identifier of the fleet. UUID v4 string in canonical form
|
|
2629
|
+
*/
|
|
2630
|
+
fleet_name: string;
|
|
2631
|
+
};
|
|
1500
2632
|
query?: never;
|
|
1501
|
-
url: '/
|
|
2633
|
+
url: '/clusters/{cluster_id}/fleets/{fleet_name}';
|
|
1502
2634
|
};
|
|
1503
|
-
export type
|
|
2635
|
+
export type GetFleetResponses = {
|
|
1504
2636
|
/**
|
|
1505
|
-
*
|
|
2637
|
+
* Returns a single object containing fleet details.
|
|
1506
2638
|
*/
|
|
1507
|
-
|
|
2639
|
+
200: Fleet;
|
|
1508
2640
|
};
|
|
1509
|
-
export type
|
|
2641
|
+
export type GetFleetResponse = GetFleetResponses[keyof GetFleetResponses];
|
|
2642
|
+
export type UpdateFleetData = {
|
|
2643
|
+
body: FleetUpdateInput;
|
|
2644
|
+
path: {
|
|
2645
|
+
/**
|
|
2646
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2647
|
+
*/
|
|
2648
|
+
cluster_id: string;
|
|
2649
|
+
/**
|
|
2650
|
+
* Unique identifier of the fleet. UUID v4 string in canonical form
|
|
2651
|
+
*/
|
|
2652
|
+
fleet_name: string;
|
|
2653
|
+
};
|
|
2654
|
+
query?: never;
|
|
2655
|
+
url: '/clusters/{cluster_id}/fleets/{fleet_name}';
|
|
2656
|
+
};
|
|
2657
|
+
export type UpdateFleetErrors = {
|
|
1510
2658
|
/**
|
|
1511
|
-
*
|
|
2659
|
+
* Organization must have a valid payment method configured to access this endpoint.
|
|
1512
2660
|
*/
|
|
1513
|
-
|
|
2661
|
+
402: string;
|
|
2662
|
+
/**
|
|
2663
|
+
* 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.
|
|
2664
|
+
*/
|
|
2665
|
+
409: string;
|
|
1514
2666
|
};
|
|
1515
|
-
export type
|
|
1516
|
-
export type
|
|
1517
|
-
|
|
2667
|
+
export type UpdateFleetError = UpdateFleetErrors[keyof UpdateFleetErrors];
|
|
2668
|
+
export type UpdateFleetResponses = {
|
|
2669
|
+
/**
|
|
2670
|
+
* Successfully updated.
|
|
2671
|
+
*/
|
|
2672
|
+
200: string;
|
|
2673
|
+
};
|
|
2674
|
+
export type UpdateFleetResponse = UpdateFleetResponses[keyof UpdateFleetResponses];
|
|
2675
|
+
export type ListChartsData = {
|
|
2676
|
+
body?: never;
|
|
2677
|
+
path: {
|
|
1518
2678
|
/**
|
|
1519
|
-
*
|
|
2679
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1520
2680
|
*/
|
|
1521
|
-
|
|
2681
|
+
cluster_id: string;
|
|
1522
2682
|
};
|
|
1523
|
-
path?: never;
|
|
1524
2683
|
query?: never;
|
|
1525
|
-
url: '/
|
|
2684
|
+
url: '/clusters/{cluster_id}/charts';
|
|
1526
2685
|
};
|
|
1527
|
-
export type
|
|
2686
|
+
export type ListChartsErrors = {
|
|
1528
2687
|
/**
|
|
1529
|
-
*
|
|
2688
|
+
* Not authenticated
|
|
2689
|
+
*/
|
|
2690
|
+
401: unknown;
|
|
2691
|
+
};
|
|
2692
|
+
export type ListChartsResponses = {
|
|
2693
|
+
/**
|
|
2694
|
+
* An array of charts
|
|
1530
2695
|
*/
|
|
1531
|
-
200:
|
|
2696
|
+
200: Array<Chart>;
|
|
1532
2697
|
};
|
|
1533
|
-
export type
|
|
1534
|
-
export type
|
|
1535
|
-
body
|
|
2698
|
+
export type ListChartsResponse = ListChartsResponses[keyof ListChartsResponses];
|
|
2699
|
+
export type CreateChartData = {
|
|
2700
|
+
body: ChartCreateInput;
|
|
1536
2701
|
path: {
|
|
1537
2702
|
/**
|
|
1538
|
-
*
|
|
2703
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1539
2704
|
*/
|
|
1540
|
-
|
|
2705
|
+
cluster_id: string;
|
|
1541
2706
|
};
|
|
1542
2707
|
query?: never;
|
|
1543
|
-
url: '/
|
|
2708
|
+
url: '/clusters/{cluster_id}/charts';
|
|
1544
2709
|
};
|
|
1545
|
-
export type
|
|
2710
|
+
export type CreateChartErrors = {
|
|
1546
2711
|
/**
|
|
1547
|
-
*
|
|
2712
|
+
* 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.
|
|
1548
2713
|
*/
|
|
1549
|
-
|
|
2714
|
+
409: string;
|
|
1550
2715
|
};
|
|
1551
|
-
export type
|
|
1552
|
-
export type
|
|
2716
|
+
export type CreateChartError = CreateChartErrors[keyof CreateChartErrors];
|
|
2717
|
+
export type CreateChartResponses = {
|
|
2718
|
+
/**
|
|
2719
|
+
* Successfully created. Returns created Chart ID.
|
|
2720
|
+
*/
|
|
2721
|
+
200: string;
|
|
2722
|
+
};
|
|
2723
|
+
export type CreateChartResponse = CreateChartResponses[keyof CreateChartResponses];
|
|
2724
|
+
export type DeleteChartData = {
|
|
1553
2725
|
body?: never;
|
|
1554
2726
|
path: {
|
|
1555
2727
|
/**
|
|
1556
|
-
*
|
|
2728
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1557
2729
|
*/
|
|
1558
|
-
|
|
2730
|
+
cluster_id: string;
|
|
2731
|
+
/**
|
|
2732
|
+
* Chart deployment name as the unique identifier of the chart.
|
|
2733
|
+
*/
|
|
2734
|
+
chart_name: string;
|
|
1559
2735
|
};
|
|
1560
2736
|
query?: never;
|
|
1561
|
-
url: '/
|
|
1562
|
-
};
|
|
1563
|
-
export type DeleteInviteResponses = {
|
|
1564
|
-
/**
|
|
1565
|
-
* Successfully deleted.
|
|
1566
|
-
*/
|
|
1567
|
-
200: unknown;
|
|
1568
|
-
};
|
|
1569
|
-
export type ListMarketplaceChartsData = {
|
|
1570
|
-
body?: never;
|
|
1571
|
-
path?: never;
|
|
1572
|
-
query?: never;
|
|
1573
|
-
url: '/marketplace';
|
|
2737
|
+
url: '/clusters/{cluster_id}/charts/{chart_name}';
|
|
1574
2738
|
};
|
|
1575
|
-
export type
|
|
2739
|
+
export type DeleteChartErrors = {
|
|
1576
2740
|
/**
|
|
1577
|
-
*
|
|
2741
|
+
* 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.
|
|
1578
2742
|
*/
|
|
1579
|
-
|
|
2743
|
+
409: string;
|
|
1580
2744
|
};
|
|
1581
|
-
export type
|
|
2745
|
+
export type DeleteChartError = DeleteChartErrors[keyof DeleteChartErrors];
|
|
2746
|
+
export type DeleteChartResponses = {
|
|
1582
2747
|
/**
|
|
1583
|
-
*
|
|
2748
|
+
* Successfully deleted.
|
|
1584
2749
|
*/
|
|
1585
|
-
200:
|
|
2750
|
+
200: string;
|
|
1586
2751
|
};
|
|
1587
|
-
export type
|
|
1588
|
-
export type
|
|
2752
|
+
export type DeleteChartResponse = DeleteChartResponses[keyof DeleteChartResponses];
|
|
2753
|
+
export type GetChartData = {
|
|
1589
2754
|
body?: never;
|
|
1590
2755
|
path: {
|
|
1591
2756
|
/**
|
|
1592
|
-
* Unique identifier of the
|
|
2757
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2758
|
+
*/
|
|
2759
|
+
cluster_id: string;
|
|
2760
|
+
/**
|
|
2761
|
+
* Chart deployment name as the unique identifier of the chart.
|
|
1593
2762
|
*/
|
|
1594
|
-
|
|
2763
|
+
chart_name: string;
|
|
1595
2764
|
};
|
|
1596
2765
|
query?: never;
|
|
1597
|
-
url: '/
|
|
2766
|
+
url: '/clusters/{cluster_id}/charts/{chart_name}';
|
|
1598
2767
|
};
|
|
1599
|
-
export type
|
|
2768
|
+
export type GetChartResponses = {
|
|
1600
2769
|
/**
|
|
1601
|
-
* Returns
|
|
2770
|
+
* Returns a single object containing chart details.
|
|
1602
2771
|
*/
|
|
1603
|
-
200:
|
|
2772
|
+
200: Chart;
|
|
1604
2773
|
};
|
|
1605
|
-
export type
|
|
1606
|
-
export type
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
*/
|
|
1610
|
-
body: {
|
|
1611
|
-
jsonrpc?: string;
|
|
1612
|
-
method?: string;
|
|
1613
|
-
id?: string | number;
|
|
2774
|
+
export type GetChartResponse = GetChartResponses[keyof GetChartResponses];
|
|
2775
|
+
export type UpdateChartData = {
|
|
2776
|
+
body: ChartUpdateInput;
|
|
2777
|
+
path: {
|
|
1614
2778
|
/**
|
|
1615
|
-
*
|
|
2779
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1616
2780
|
*/
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
2781
|
+
cluster_id: string;
|
|
2782
|
+
/**
|
|
2783
|
+
* Chart deployment name as the unique identifier of the chart.
|
|
2784
|
+
*/
|
|
2785
|
+
chart_name: string;
|
|
1620
2786
|
};
|
|
1621
|
-
path?: never;
|
|
1622
2787
|
query?: never;
|
|
1623
|
-
url: '/
|
|
2788
|
+
url: '/clusters/{cluster_id}/charts/{chart_name}';
|
|
1624
2789
|
};
|
|
1625
|
-
export type
|
|
2790
|
+
export type UpdateChartErrors = {
|
|
1626
2791
|
/**
|
|
1627
|
-
*
|
|
2792
|
+
* 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.
|
|
1628
2793
|
*/
|
|
1629
|
-
|
|
2794
|
+
409: string;
|
|
1630
2795
|
};
|
|
1631
|
-
export type
|
|
2796
|
+
export type UpdateChartError = UpdateChartErrors[keyof UpdateChartErrors];
|
|
2797
|
+
export type UpdateChartResponses = {
|
|
1632
2798
|
/**
|
|
1633
|
-
*
|
|
2799
|
+
* Successfully updated.
|
|
1634
2800
|
*/
|
|
1635
|
-
200:
|
|
1636
|
-
jsonrpc?: string;
|
|
1637
|
-
id?: string | number;
|
|
1638
|
-
result?: {
|
|
1639
|
-
[key: string]: unknown;
|
|
1640
|
-
};
|
|
1641
|
-
error?: {
|
|
1642
|
-
code?: number;
|
|
1643
|
-
message?: string;
|
|
1644
|
-
};
|
|
1645
|
-
};
|
|
2801
|
+
200: string;
|
|
1646
2802
|
};
|
|
1647
|
-
export type
|
|
1648
|
-
export type
|
|
2803
|
+
export type UpdateChartResponse = UpdateChartResponses[keyof UpdateChartResponses];
|
|
2804
|
+
export type ListClustersData = {
|
|
1649
2805
|
body?: never;
|
|
1650
2806
|
path?: never;
|
|
1651
2807
|
query?: never;
|
|
1652
|
-
url: '/
|
|
2808
|
+
url: '/clusters';
|
|
1653
2809
|
};
|
|
1654
|
-
export type
|
|
2810
|
+
export type ListClustersErrors = {
|
|
1655
2811
|
/**
|
|
1656
|
-
*
|
|
2812
|
+
* Not authenticated
|
|
1657
2813
|
*/
|
|
1658
|
-
|
|
1659
|
-
};
|
|
1660
|
-
export type GetOrganizationResponse = GetOrganizationResponses[keyof GetOrganizationResponses];
|
|
1661
|
-
export type CreateOrganizationData = {
|
|
1662
|
-
body: OrganizationCreateInput;
|
|
1663
|
-
path?: never;
|
|
1664
|
-
query?: never;
|
|
1665
|
-
url: '/organization';
|
|
2814
|
+
401: unknown;
|
|
1666
2815
|
};
|
|
1667
|
-
export type
|
|
2816
|
+
export type ListClustersResponses = {
|
|
1668
2817
|
/**
|
|
1669
|
-
*
|
|
2818
|
+
* An array of clusters
|
|
1670
2819
|
*/
|
|
1671
|
-
200:
|
|
2820
|
+
200: Array<Cluster>;
|
|
1672
2821
|
};
|
|
1673
|
-
export type
|
|
1674
|
-
|
|
2822
|
+
export type ListClustersResponse = ListClustersResponses[keyof ListClustersResponses];
|
|
2823
|
+
export type CreateClusterData = {
|
|
2824
|
+
body: ClusterCreateInput;
|
|
1675
2825
|
path?: never;
|
|
1676
2826
|
query?: never;
|
|
1677
|
-
url: '/
|
|
2827
|
+
url: '/clusters';
|
|
1678
2828
|
};
|
|
1679
|
-
export type
|
|
1680
|
-
/**
|
|
1681
|
-
* Not authenticated
|
|
1682
|
-
*/
|
|
1683
|
-
401: unknown;
|
|
2829
|
+
export type CreateClusterErrors = {
|
|
1684
2830
|
/**
|
|
1685
|
-
*
|
|
2831
|
+
* Cluster quota exceeded. Maximum number of clusters allowed in this organization is reached.
|
|
1686
2832
|
*/
|
|
1687
|
-
|
|
2833
|
+
402: string;
|
|
1688
2834
|
};
|
|
1689
|
-
export type
|
|
2835
|
+
export type CreateClusterError = CreateClusterErrors[keyof CreateClusterErrors];
|
|
2836
|
+
export type CreateClusterResponses = {
|
|
1690
2837
|
/**
|
|
1691
|
-
*
|
|
2838
|
+
* Successfully created. Returns created Cluster ID.
|
|
1692
2839
|
*/
|
|
1693
|
-
200:
|
|
2840
|
+
200: string;
|
|
1694
2841
|
};
|
|
1695
|
-
export type
|
|
1696
|
-
export type
|
|
2842
|
+
export type CreateClusterResponse = CreateClusterResponses[keyof CreateClusterResponses];
|
|
2843
|
+
export type DeleteClusterData = {
|
|
1697
2844
|
body?: never;
|
|
1698
2845
|
path: {
|
|
1699
2846
|
/**
|
|
1700
|
-
*
|
|
1701
|
-
*/
|
|
1702
|
-
region: string;
|
|
1703
|
-
/**
|
|
1704
|
-
* Name of the repository
|
|
2847
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1705
2848
|
*/
|
|
1706
|
-
|
|
2849
|
+
cluster_id: string;
|
|
1707
2850
|
};
|
|
1708
2851
|
query?: never;
|
|
1709
|
-
url: '/
|
|
2852
|
+
url: '/clusters/{cluster_id}';
|
|
1710
2853
|
};
|
|
1711
|
-
export type
|
|
2854
|
+
export type DeleteClusterErrors = {
|
|
1712
2855
|
/**
|
|
1713
|
-
*
|
|
2856
|
+
* Cluster not found; it does not exist or has already been deleted.
|
|
1714
2857
|
*/
|
|
1715
|
-
|
|
2858
|
+
404: unknown;
|
|
1716
2859
|
/**
|
|
1717
|
-
*
|
|
2860
|
+
* 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.
|
|
1718
2861
|
*/
|
|
1719
|
-
|
|
2862
|
+
409: string;
|
|
1720
2863
|
/**
|
|
1721
|
-
*
|
|
2864
|
+
* Transient failure tearing down the cluster; retry the request.
|
|
1722
2865
|
*/
|
|
1723
|
-
|
|
2866
|
+
503: unknown;
|
|
1724
2867
|
};
|
|
1725
|
-
export type
|
|
2868
|
+
export type DeleteClusterError = DeleteClusterErrors[keyof DeleteClusterErrors];
|
|
2869
|
+
export type DeleteClusterResponses = {
|
|
1726
2870
|
/**
|
|
1727
|
-
*
|
|
2871
|
+
* Successfully deleted. The cluster has been torn down.
|
|
1728
2872
|
*/
|
|
1729
|
-
200:
|
|
2873
|
+
200: string;
|
|
1730
2874
|
};
|
|
1731
|
-
export type
|
|
1732
|
-
export type
|
|
2875
|
+
export type DeleteClusterResponse = DeleteClusterResponses[keyof DeleteClusterResponses];
|
|
2876
|
+
export type GetClusterData = {
|
|
1733
2877
|
body?: never;
|
|
1734
2878
|
path: {
|
|
1735
2879
|
/**
|
|
1736
|
-
*
|
|
1737
|
-
*/
|
|
1738
|
-
region: string;
|
|
1739
|
-
/**
|
|
1740
|
-
* Name of the repository
|
|
1741
|
-
*/
|
|
1742
|
-
repository: string;
|
|
1743
|
-
/**
|
|
1744
|
-
* Name of the tag
|
|
2880
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1745
2881
|
*/
|
|
1746
|
-
|
|
2882
|
+
cluster_id: string;
|
|
1747
2883
|
};
|
|
1748
2884
|
query?: never;
|
|
1749
|
-
url: '/
|
|
2885
|
+
url: '/clusters/{cluster_id}';
|
|
1750
2886
|
};
|
|
1751
|
-
export type
|
|
1752
|
-
/**
|
|
1753
|
-
* Not authenticated
|
|
1754
|
-
*/
|
|
1755
|
-
401: unknown;
|
|
2887
|
+
export type GetClusterResponses = {
|
|
1756
2888
|
/**
|
|
1757
|
-
*
|
|
2889
|
+
* Returns a single object containing cluster details.
|
|
1758
2890
|
*/
|
|
1759
|
-
|
|
2891
|
+
200: Cluster;
|
|
2892
|
+
};
|
|
2893
|
+
export type GetClusterResponse = GetClusterResponses[keyof GetClusterResponses];
|
|
2894
|
+
export type UpdateClusterData = {
|
|
2895
|
+
body: ClusterUpdateInput;
|
|
2896
|
+
path: {
|
|
2897
|
+
/**
|
|
2898
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2899
|
+
*/
|
|
2900
|
+
cluster_id: string;
|
|
2901
|
+
};
|
|
2902
|
+
query?: never;
|
|
2903
|
+
url: '/clusters/{cluster_id}';
|
|
2904
|
+
};
|
|
2905
|
+
export type UpdateClusterErrors = {
|
|
1760
2906
|
/**
|
|
1761
|
-
*
|
|
2907
|
+
* 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.
|
|
1762
2908
|
*/
|
|
1763
|
-
|
|
2909
|
+
409: string;
|
|
1764
2910
|
};
|
|
1765
|
-
export type
|
|
2911
|
+
export type UpdateClusterError = UpdateClusterErrors[keyof UpdateClusterErrors];
|
|
2912
|
+
export type UpdateClusterResponses = {
|
|
1766
2913
|
/**
|
|
1767
|
-
*
|
|
2914
|
+
* Successfully updated. Returns updated cluster details.
|
|
1768
2915
|
*/
|
|
1769
|
-
200:
|
|
2916
|
+
200: Cluster;
|
|
1770
2917
|
};
|
|
1771
|
-
export type
|
|
2918
|
+
export type UpdateClusterResponse = UpdateClusterResponses[keyof UpdateClusterResponses];
|
|
2919
|
+
export type GetJoinInformationData = {
|
|
1772
2920
|
body?: never;
|
|
1773
2921
|
path: {
|
|
1774
2922
|
/**
|
|
1775
|
-
*
|
|
1776
|
-
*/
|
|
1777
|
-
region: string;
|
|
1778
|
-
/**
|
|
1779
|
-
* Name of the repository
|
|
1780
|
-
*/
|
|
1781
|
-
repository: string;
|
|
1782
|
-
/**
|
|
1783
|
-
* Name of the tag
|
|
2923
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1784
2924
|
*/
|
|
1785
|
-
|
|
2925
|
+
cluster_id: string;
|
|
1786
2926
|
};
|
|
1787
2927
|
query?: never;
|
|
1788
|
-
url: '/
|
|
2928
|
+
url: '/clusters/{cluster_id}/join_information';
|
|
1789
2929
|
};
|
|
1790
|
-
export type
|
|
2930
|
+
export type GetJoinInformationErrors = {
|
|
1791
2931
|
/**
|
|
1792
2932
|
* Not authenticated
|
|
1793
2933
|
*/
|
|
1794
2934
|
401: unknown;
|
|
1795
2935
|
/**
|
|
1796
|
-
*
|
|
2936
|
+
* 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.
|
|
1797
2937
|
*/
|
|
1798
|
-
|
|
2938
|
+
409: string;
|
|
1799
2939
|
/**
|
|
1800
|
-
*
|
|
2940
|
+
* 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.
|
|
1801
2941
|
*/
|
|
1802
|
-
|
|
2942
|
+
426: string;
|
|
1803
2943
|
};
|
|
1804
|
-
export type
|
|
2944
|
+
export type GetJoinInformationError = GetJoinInformationErrors[keyof GetJoinInformationErrors];
|
|
2945
|
+
export type GetJoinInformationResponses = {
|
|
1805
2946
|
/**
|
|
1806
|
-
*
|
|
2947
|
+
* An object of cluster join information
|
|
1807
2948
|
*/
|
|
1808
|
-
200:
|
|
2949
|
+
200: ClusterJoinInformation;
|
|
1809
2950
|
};
|
|
1810
|
-
export type
|
|
1811
|
-
export type
|
|
2951
|
+
export type GetJoinInformationResponse = GetJoinInformationResponses[keyof GetJoinInformationResponses];
|
|
2952
|
+
export type GetUsageData = {
|
|
1812
2953
|
body?: never;
|
|
1813
2954
|
path?: never;
|
|
1814
|
-
query?:
|
|
1815
|
-
|
|
2955
|
+
query?: {
|
|
2956
|
+
/**
|
|
2957
|
+
* 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)
|
|
2958
|
+
*/
|
|
2959
|
+
granularity?: 'hourly' | 'daily' | 'monthly';
|
|
2960
|
+
};
|
|
2961
|
+
url: '/billing/usage';
|
|
1816
2962
|
};
|
|
1817
|
-
export type
|
|
2963
|
+
export type GetUsageErrors = {
|
|
1818
2964
|
/**
|
|
1819
2965
|
* Not authenticated
|
|
1820
2966
|
*/
|
|
1821
2967
|
401: unknown;
|
|
1822
2968
|
};
|
|
1823
|
-
export type
|
|
2969
|
+
export type GetUsageResponses = {
|
|
1824
2970
|
/**
|
|
1825
|
-
*
|
|
2971
|
+
* Usage data with facets for filtering
|
|
1826
2972
|
*/
|
|
1827
|
-
200:
|
|
2973
|
+
200: UsageResponse;
|
|
1828
2974
|
};
|
|
1829
|
-
export type
|
|
1830
|
-
export type
|
|
1831
|
-
body
|
|
2975
|
+
export type GetUsageResponse = GetUsageResponses[keyof GetUsageResponses];
|
|
2976
|
+
export type GetPaymentMethodSecretData = {
|
|
2977
|
+
body?: never;
|
|
1832
2978
|
path?: never;
|
|
1833
2979
|
query?: never;
|
|
1834
|
-
url: '/
|
|
1835
|
-
};
|
|
1836
|
-
export type CreateTokenErrors = {
|
|
1837
|
-
/**
|
|
1838
|
-
* Not authenticated
|
|
1839
|
-
*/
|
|
1840
|
-
401: unknown;
|
|
2980
|
+
url: '/billing/payment-method';
|
|
1841
2981
|
};
|
|
1842
|
-
export type
|
|
2982
|
+
export type GetPaymentMethodSecretResponses = {
|
|
1843
2983
|
/**
|
|
1844
|
-
*
|
|
2984
|
+
* 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.
|
|
2985
|
+
*
|
|
1845
2986
|
*/
|
|
1846
|
-
200:
|
|
1847
|
-
};
|
|
1848
|
-
export type CreateTokenResponse = CreateTokenResponses[keyof CreateTokenResponses];
|
|
1849
|
-
export type DeleteTokenData = {
|
|
1850
|
-
body?: never;
|
|
1851
|
-
path: {
|
|
2987
|
+
200: {
|
|
1852
2988
|
/**
|
|
1853
|
-
*
|
|
2989
|
+
* The client secret.
|
|
1854
2990
|
*/
|
|
1855
|
-
|
|
2991
|
+
id?: string;
|
|
1856
2992
|
};
|
|
1857
|
-
query?: never;
|
|
1858
|
-
url: '/tokens/{token_id}';
|
|
1859
|
-
};
|
|
1860
|
-
export type DeleteTokenResponses = {
|
|
1861
|
-
/**
|
|
1862
|
-
* Successfully deleted.
|
|
1863
|
-
*/
|
|
1864
|
-
200: unknown;
|
|
1865
2993
|
};
|
|
1866
|
-
export type
|
|
2994
|
+
export type GetPaymentMethodSecretResponse = GetPaymentMethodSecretResponses[keyof GetPaymentMethodSecretResponses];
|
|
2995
|
+
export type ListPaymentMethodsData = {
|
|
1867
2996
|
body?: never;
|
|
1868
|
-
path
|
|
1869
|
-
/**
|
|
1870
|
-
* Generated unique identifier of the access token.
|
|
1871
|
-
*/
|
|
1872
|
-
token_id: string;
|
|
1873
|
-
};
|
|
2997
|
+
path?: never;
|
|
1874
2998
|
query?: never;
|
|
1875
|
-
url: '/
|
|
2999
|
+
url: '/billing/payment-methods';
|
|
1876
3000
|
};
|
|
1877
|
-
export type
|
|
3001
|
+
export type ListPaymentMethodsErrors = {
|
|
1878
3002
|
/**
|
|
1879
3003
|
* Not authenticated
|
|
1880
3004
|
*/
|
|
1881
3005
|
401: unknown;
|
|
1882
3006
|
};
|
|
1883
|
-
export type
|
|
3007
|
+
export type ListPaymentMethodsResponses = {
|
|
1884
3008
|
/**
|
|
1885
|
-
*
|
|
3009
|
+
* An array of payment methods.
|
|
1886
3010
|
*/
|
|
1887
|
-
200:
|
|
3011
|
+
200: Array<PaymentMethod>;
|
|
1888
3012
|
};
|
|
1889
|
-
export type
|
|
1890
|
-
export type
|
|
1891
|
-
body
|
|
3013
|
+
export type ListPaymentMethodsResponse = ListPaymentMethodsResponses[keyof ListPaymentMethodsResponses];
|
|
3014
|
+
export type SetDefaultPaymentMethodData = {
|
|
3015
|
+
body?: never;
|
|
1892
3016
|
path: {
|
|
1893
3017
|
/**
|
|
1894
|
-
*
|
|
3018
|
+
* Stripe payment method identifier.
|
|
1895
3019
|
*/
|
|
1896
|
-
|
|
3020
|
+
paymentMethodId: string;
|
|
1897
3021
|
};
|
|
1898
3022
|
query?: never;
|
|
1899
|
-
url: '/
|
|
3023
|
+
url: '/billing/payment-methods/{paymentMethodId}/default';
|
|
1900
3024
|
};
|
|
1901
|
-
export type
|
|
3025
|
+
export type SetDefaultPaymentMethodErrors = {
|
|
3026
|
+
/**
|
|
3027
|
+
* The bank transfer payment method cannot be set as the default.
|
|
3028
|
+
*/
|
|
3029
|
+
400: unknown;
|
|
1902
3030
|
/**
|
|
1903
3031
|
* Not authenticated
|
|
1904
3032
|
*/
|
|
1905
3033
|
401: unknown;
|
|
3034
|
+
/**
|
|
3035
|
+
* Payment method not found.
|
|
3036
|
+
*/
|
|
3037
|
+
404: unknown;
|
|
1906
3038
|
};
|
|
1907
|
-
export type
|
|
3039
|
+
export type SetDefaultPaymentMethodResponses = {
|
|
1908
3040
|
/**
|
|
1909
|
-
*
|
|
3041
|
+
* Default payment method updated.
|
|
1910
3042
|
*/
|
|
1911
|
-
|
|
3043
|
+
204: void;
|
|
1912
3044
|
};
|
|
1913
|
-
export type
|
|
1914
|
-
export type
|
|
3045
|
+
export type SetDefaultPaymentMethodResponse = SetDefaultPaymentMethodResponses[keyof SetDefaultPaymentMethodResponses];
|
|
3046
|
+
export type DeletePaymentMethodData = {
|
|
1915
3047
|
body?: never;
|
|
1916
3048
|
path: {
|
|
1917
3049
|
/**
|
|
1918
|
-
*
|
|
3050
|
+
* Stripe payment method identifier.
|
|
1919
3051
|
*/
|
|
1920
|
-
|
|
3052
|
+
paymentMethodId: string;
|
|
1921
3053
|
};
|
|
1922
3054
|
query?: never;
|
|
1923
|
-
url: '/
|
|
3055
|
+
url: '/billing/payment-methods/{paymentMethodId}';
|
|
1924
3056
|
};
|
|
1925
|
-
export type
|
|
3057
|
+
export type DeletePaymentMethodErrors = {
|
|
3058
|
+
/**
|
|
3059
|
+
* The bank transfer payment method cannot be removed.
|
|
3060
|
+
*/
|
|
3061
|
+
400: unknown;
|
|
1926
3062
|
/**
|
|
1927
3063
|
* Not authenticated
|
|
1928
3064
|
*/
|
|
1929
3065
|
401: unknown;
|
|
3066
|
+
/**
|
|
3067
|
+
* Payment method not found.
|
|
3068
|
+
*/
|
|
3069
|
+
404: unknown;
|
|
3070
|
+
/**
|
|
3071
|
+
* Cannot delete the only remaining payment method.
|
|
3072
|
+
*/
|
|
3073
|
+
409: unknown;
|
|
1930
3074
|
};
|
|
1931
|
-
export type
|
|
3075
|
+
export type DeletePaymentMethodResponses = {
|
|
1932
3076
|
/**
|
|
1933
|
-
*
|
|
3077
|
+
* Payment method deleted.
|
|
1934
3078
|
*/
|
|
1935
|
-
|
|
3079
|
+
204: void;
|
|
1936
3080
|
};
|
|
1937
|
-
export type
|
|
1938
|
-
export type
|
|
3081
|
+
export type DeletePaymentMethodResponse = DeletePaymentMethodResponses[keyof DeletePaymentMethodResponses];
|
|
3082
|
+
export type ListInvoicesData = {
|
|
1939
3083
|
body?: never;
|
|
1940
|
-
path
|
|
1941
|
-
/**
|
|
1942
|
-
* User email address.
|
|
1943
|
-
*/
|
|
1944
|
-
email: string;
|
|
1945
|
-
};
|
|
3084
|
+
path?: never;
|
|
1946
3085
|
query?: never;
|
|
1947
|
-
url: '/
|
|
3086
|
+
url: '/billing/invoices';
|
|
1948
3087
|
};
|
|
1949
|
-
export type
|
|
3088
|
+
export type ListInvoicesErrors = {
|
|
1950
3089
|
/**
|
|
1951
|
-
*
|
|
3090
|
+
* Not authenticated
|
|
1952
3091
|
*/
|
|
1953
|
-
|
|
1954
|
-
/**
|
|
1955
|
-
* Unique identifier of the organization. UUID v4 string in canonical form
|
|
1956
|
-
*/
|
|
1957
|
-
realm?: string;
|
|
1958
|
-
/**
|
|
1959
|
-
* Human-readable name of the organization
|
|
1960
|
-
*/
|
|
1961
|
-
displayName?: string;
|
|
1962
|
-
}>;
|
|
3092
|
+
401: unknown;
|
|
1963
3093
|
};
|
|
1964
|
-
export type
|
|
1965
|
-
|
|
3094
|
+
export type ListInvoicesResponses = {
|
|
3095
|
+
/**
|
|
3096
|
+
* An array of usage records.
|
|
3097
|
+
*/
|
|
3098
|
+
200: Array<Invoice>;
|
|
3099
|
+
};
|
|
3100
|
+
export type ListInvoicesResponse = ListInvoicesResponses[keyof ListInvoicesResponses];
|
|
3101
|
+
export type PayOpenInvoicesData = {
|
|
1966
3102
|
body?: never;
|
|
1967
3103
|
path?: never;
|
|
1968
3104
|
query?: never;
|
|
1969
|
-
url: '/
|
|
3105
|
+
url: '/billing/invoices/pay';
|
|
1970
3106
|
};
|
|
1971
|
-
export type
|
|
3107
|
+
export type PayOpenInvoicesErrors = {
|
|
3108
|
+
/**
|
|
3109
|
+
* The organization has no payment method that can be charged.
|
|
3110
|
+
*/
|
|
3111
|
+
400: unknown;
|
|
1972
3112
|
/**
|
|
1973
3113
|
* Not authenticated
|
|
1974
3114
|
*/
|
|
1975
3115
|
401: unknown;
|
|
3116
|
+
/**
|
|
3117
|
+
* Too many payment attempts for this organization.
|
|
3118
|
+
*/
|
|
3119
|
+
429: unknown;
|
|
1976
3120
|
};
|
|
1977
|
-
export type
|
|
3121
|
+
export type PayOpenInvoicesResponses = {
|
|
1978
3122
|
/**
|
|
1979
|
-
*
|
|
3123
|
+
* The outcome of the attempt.
|
|
1980
3124
|
*/
|
|
1981
|
-
200:
|
|
3125
|
+
200: InvoicePaymentResult;
|
|
1982
3126
|
};
|
|
1983
|
-
export type
|
|
1984
|
-
export type
|
|
1985
|
-
body
|
|
3127
|
+
export type PayOpenInvoicesResponse = PayOpenInvoicesResponses[keyof PayOpenInvoicesResponses];
|
|
3128
|
+
export type GetContactData = {
|
|
3129
|
+
body?: never;
|
|
1986
3130
|
path?: never;
|
|
1987
3131
|
query?: never;
|
|
1988
|
-
url: '/
|
|
3132
|
+
url: '/billing/contact';
|
|
1989
3133
|
};
|
|
1990
|
-
export type
|
|
3134
|
+
export type GetContactResponses = {
|
|
1991
3135
|
/**
|
|
1992
|
-
*
|
|
3136
|
+
* Returns a single object containing organization contact and billing address details.
|
|
1993
3137
|
*/
|
|
1994
|
-
200:
|
|
3138
|
+
200: BillingContact;
|
|
1995
3139
|
};
|
|
1996
|
-
export type
|
|
1997
|
-
export type
|
|
1998
|
-
body
|
|
1999
|
-
path
|
|
2000
|
-
/**
|
|
2001
|
-
* Unique user identifier. UUID v4 string in canonical form
|
|
2002
|
-
*/
|
|
2003
|
-
user_id: string;
|
|
2004
|
-
};
|
|
3140
|
+
export type GetContactResponse = GetContactResponses[keyof GetContactResponses];
|
|
3141
|
+
export type UpdateContactData = {
|
|
3142
|
+
body: BillingContact;
|
|
3143
|
+
path?: never;
|
|
2005
3144
|
query?: never;
|
|
2006
|
-
url: '/
|
|
3145
|
+
url: '/billing/contact';
|
|
2007
3146
|
};
|
|
2008
|
-
export type
|
|
3147
|
+
export type UpdateContactResponses = {
|
|
2009
3148
|
/**
|
|
2010
|
-
*
|
|
3149
|
+
* Successfully updated. Returns updated organization details.
|
|
2011
3150
|
*/
|
|
2012
|
-
|
|
3151
|
+
200: BillingContact;
|
|
3152
|
+
};
|
|
3153
|
+
export type UpdateContactResponse = UpdateContactResponses[keyof UpdateContactResponses];
|
|
3154
|
+
export type GetCreditsData = {
|
|
3155
|
+
body?: never;
|
|
3156
|
+
path?: never;
|
|
3157
|
+
query?: never;
|
|
3158
|
+
url: '/billing/credits';
|
|
3159
|
+
};
|
|
3160
|
+
export type GetCreditsErrors = {
|
|
2013
3161
|
/**
|
|
2014
3162
|
* Not authenticated
|
|
2015
3163
|
*/
|
|
2016
3164
|
401: unknown;
|
|
2017
3165
|
};
|
|
2018
|
-
export type
|
|
3166
|
+
export type GetCreditsResponses = {
|
|
2019
3167
|
/**
|
|
2020
|
-
*
|
|
3168
|
+
* An array of the applied promotional credits records.
|
|
2021
3169
|
*/
|
|
2022
|
-
200:
|
|
3170
|
+
200: Array<BillingCredits>;
|
|
2023
3171
|
};
|
|
2024
|
-
export type
|
|
2025
|
-
export type
|
|
2026
|
-
body
|
|
2027
|
-
path: {
|
|
3172
|
+
export type GetCreditsResponse = GetCreditsResponses[keyof GetCreditsResponses];
|
|
3173
|
+
export type RedeemCreditsData = {
|
|
3174
|
+
body: {
|
|
2028
3175
|
/**
|
|
2029
|
-
*
|
|
3176
|
+
* Promotional code to redeem
|
|
2030
3177
|
*/
|
|
2031
|
-
|
|
3178
|
+
code?: string;
|
|
2032
3179
|
};
|
|
3180
|
+
path?: never;
|
|
2033
3181
|
query?: never;
|
|
2034
|
-
url: '/
|
|
3182
|
+
url: '/billing/credits';
|
|
2035
3183
|
};
|
|
2036
|
-
export type
|
|
3184
|
+
export type RedeemCreditsErrors = {
|
|
2037
3185
|
/**
|
|
2038
3186
|
* Not authenticated
|
|
2039
3187
|
*/
|
|
2040
3188
|
401: unknown;
|
|
2041
3189
|
};
|
|
2042
|
-
export type
|
|
2043
|
-
/**
|
|
2044
|
-
* User profile information
|
|
2045
|
-
*/
|
|
2046
|
-
200: User;
|
|
2047
|
-
};
|
|
2048
|
-
export type GetUserResponse = GetUserResponses[keyof GetUserResponses];
|
|
2049
|
-
export type UpdateUserData = {
|
|
2050
|
-
body: UserUpdateInput;
|
|
2051
|
-
path: {
|
|
2052
|
-
/**
|
|
2053
|
-
* Unique user identifier. UUID v4 string in canonical form
|
|
2054
|
-
*/
|
|
2055
|
-
user_id: string;
|
|
2056
|
-
};
|
|
2057
|
-
query?: never;
|
|
2058
|
-
url: '/users/{user_id}';
|
|
2059
|
-
};
|
|
2060
|
-
export type UpdateUserResponses = {
|
|
3190
|
+
export type RedeemCreditsResponses = {
|
|
2061
3191
|
/**
|
|
2062
|
-
* Successfully created
|
|
3192
|
+
* Successfully created a new organization.
|
|
2063
3193
|
*/
|
|
2064
|
-
200:
|
|
3194
|
+
200: unknown;
|
|
2065
3195
|
};
|
|
2066
|
-
export type UpdateUserResponse = UpdateUserResponses[keyof UpdateUserResponses];
|
|
2067
3196
|
//# sourceMappingURL=types.gen.d.ts.map
|