@cloudfleet/sdk 0.0.1-964486e → 0.0.1-965e662
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/@tanstack/react-query.gen.d.ts +1125 -0
- package/dist/@tanstack/react-query.gen.d.ts.map +1 -0
- package/dist/@tanstack/react-query.gen.js +1129 -0
- package/dist/@tanstack/react-query.gen.js.map +1 -0
- package/dist/client/client.gen.d.ts +3 -0
- package/dist/client/client.gen.d.ts.map +1 -0
- package/dist/client/client.gen.js +220 -0
- package/dist/client/client.gen.js.map +1 -0
- package/dist/client/index.d.ts +8 -7
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/index.js +6 -4
- package/dist/client/index.js.map +1 -1
- package/dist/client/{types.d.ts → types.gen.d.ts} +23 -22
- package/dist/client/types.gen.d.ts.map +1 -0
- package/dist/client/types.gen.js +3 -0
- package/dist/client/types.gen.js.map +1 -0
- package/dist/client/{utils.d.ts → utils.gen.d.ts} +15 -23
- package/dist/client/utils.gen.d.ts.map +1 -0
- package/dist/client/{utils.js → utils.gen.js} +63 -119
- package/dist/client/utils.gen.js.map +1 -0
- package/dist/client.gen.d.ts +3 -3
- 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.d.ts → auth.gen.d.ts} +1 -1
- package/dist/core/auth.gen.d.ts.map +1 -0
- package/dist/core/{auth.js → auth.gen.js} +2 -1
- package/dist/core/auth.gen.js.map +1 -0
- package/dist/core/bodySerializer.gen.d.ts +26 -0
- package/dist/core/bodySerializer.gen.d.ts.map +1 -0
- package/dist/core/{bodySerializer.js → bodySerializer.gen.js} +6 -2
- package/dist/core/bodySerializer.gen.js.map +1 -0
- package/dist/core/{params.d.ts → params.gen.d.ts} +21 -1
- package/dist/core/params.gen.d.ts.map +1 -0
- package/dist/core/{params.js → params.gen.js} +20 -7
- package/dist/core/params.gen.js.map +1 -0
- package/dist/core/{pathSerializer.d.ts → pathSerializer.gen.d.ts} +1 -1
- package/dist/core/pathSerializer.gen.d.ts.map +1 -0
- package/dist/core/{pathSerializer.js → pathSerializer.gen.js} +5 -12
- package/dist/core/pathSerializer.gen.js.map +1 -0
- package/dist/core/queryKeySerializer.gen.d.ts +19 -0
- package/dist/core/queryKeySerializer.gen.d.ts.map +1 -0
- package/dist/core/queryKeySerializer.gen.js +93 -0
- package/dist/core/queryKeySerializer.gen.js.map +1 -0
- package/dist/core/serverSentEvents.gen.d.ts +72 -0
- package/dist/core/serverSentEvents.gen.d.ts.map +1 -0
- package/dist/core/serverSentEvents.gen.js +133 -0
- package/dist/core/serverSentEvents.gen.js.map +1 -0
- package/dist/core/{types.d.ts → types.gen.d.ts} +21 -16
- package/dist/core/types.gen.d.ts.map +1 -0
- package/dist/core/types.gen.js +3 -0
- package/dist/core/types.gen.js.map +1 -0
- package/dist/core/utils.gen.d.ts +20 -0
- package/dist/core/utils.gen.d.ts.map +1 -0
- package/dist/core/utils.gen.js +88 -0
- package/dist/core/utils.gen.js.map +1 -0
- package/dist/schemas.gen.d.ts +1287 -591
- package/dist/schemas.gen.d.ts.map +1 -1
- package/dist/schemas.gen.js +2610 -689
- package/dist/schemas.gen.js.map +1 -1
- package/dist/sdk.gen.d.ts +130 -20
- package/dist/sdk.gen.d.ts.map +1 -1
- package/dist/sdk.gen.js +217 -164
- package/dist/sdk.gen.js.map +1 -1
- package/dist/services/kubernetes/api.d.ts +20 -20
- package/dist/types.gen.d.ts +1037 -361
- package/dist/types.gen.d.ts.map +1 -1
- package/dist/zod.gen.d.ts +3498 -3580
- package/dist/zod.gen.d.ts.map +1 -1
- package/dist/zod.gen.js +1177 -1054
- package/dist/zod.gen.js.map +1 -1
- package/package.json +29 -6
- package/dist/client/client.d.ts +0 -3
- package/dist/client/client.d.ts.map +0 -1
- package/dist/client/client.js +0 -144
- package/dist/client/client.js.map +0 -1
- package/dist/client/types.d.ts.map +0 -1
- package/dist/client/types.js +0 -2
- package/dist/client/types.js.map +0 -1
- package/dist/client/utils.d.ts.map +0 -1
- package/dist/client/utils.js.map +0 -1
- package/dist/core/auth.d.ts.map +0 -1
- package/dist/core/auth.js.map +0 -1
- package/dist/core/bodySerializer.d.ts +0 -18
- package/dist/core/bodySerializer.d.ts.map +0 -1
- package/dist/core/bodySerializer.js.map +0 -1
- package/dist/core/params.d.ts.map +0 -1
- package/dist/core/params.js.map +0 -1
- package/dist/core/pathSerializer.d.ts.map +0 -1
- package/dist/core/pathSerializer.js.map +0 -1
- package/dist/core/types.d.ts.map +0 -1
- package/dist/core/types.js +0 -2
- package/dist/core/types.js.map +0 -1
package/dist/types.gen.d.ts
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
export type ClientOptions = {
|
|
2
|
+
baseUrl: 'https://api.cloudfleet.ai/v1' | (string & {});
|
|
3
|
+
};
|
|
1
4
|
export type BillingContact = {
|
|
2
5
|
/**
|
|
3
6
|
* Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
|
|
@@ -36,13 +39,9 @@ export type BillingContact = {
|
|
|
36
39
|
*/
|
|
37
40
|
email: string;
|
|
38
41
|
/**
|
|
39
|
-
*
|
|
42
|
+
* Name of the billing contact person.
|
|
40
43
|
*/
|
|
41
|
-
|
|
42
|
-
/**
|
|
43
|
-
* Last name of the billing contact person.
|
|
44
|
-
*/
|
|
45
|
-
last_name: string;
|
|
44
|
+
individual_name: string;
|
|
46
45
|
/**
|
|
47
46
|
* Tax ID of the organization.
|
|
48
47
|
*/
|
|
@@ -58,35 +57,31 @@ export type BillingCredits = {
|
|
|
58
57
|
*/
|
|
59
58
|
id?: string;
|
|
60
59
|
/**
|
|
61
|
-
*
|
|
62
|
-
*/
|
|
63
|
-
date_created: string;
|
|
64
|
-
/**
|
|
65
|
-
* Promotional code used by the customer.
|
|
60
|
+
* Type of the promotional code.
|
|
66
61
|
*/
|
|
67
|
-
|
|
62
|
+
type: 'credit' | 'discount';
|
|
68
63
|
/**
|
|
69
|
-
*
|
|
64
|
+
* Timestamp when the credit becomes active. ISO 8601 date string in the UTC timezone.
|
|
70
65
|
*/
|
|
71
|
-
|
|
66
|
+
date_start: string;
|
|
72
67
|
/**
|
|
73
|
-
*
|
|
68
|
+
* Timestamp when the credit expires or becomes inactive. ISO 8601 date string in the UTC timezone.
|
|
74
69
|
*/
|
|
75
|
-
|
|
70
|
+
date_end?: string;
|
|
76
71
|
/**
|
|
77
|
-
*
|
|
72
|
+
* Promotional code used by the customer.
|
|
78
73
|
*/
|
|
79
|
-
|
|
74
|
+
code: string;
|
|
80
75
|
/**
|
|
81
|
-
*
|
|
76
|
+
* Description of the promotional code.
|
|
82
77
|
*/
|
|
83
|
-
|
|
78
|
+
description?: string;
|
|
84
79
|
/**
|
|
85
|
-
*
|
|
80
|
+
* Total value of the promotional code.
|
|
86
81
|
*/
|
|
87
|
-
|
|
82
|
+
value_total: number;
|
|
88
83
|
/**
|
|
89
|
-
*
|
|
84
|
+
* Remaining value of the promotional code.
|
|
90
85
|
*/
|
|
91
86
|
value_remaining?: number;
|
|
92
87
|
};
|
|
@@ -174,13 +169,13 @@ export type ClusterCreateInput = {
|
|
|
174
169
|
*/
|
|
175
170
|
tier: 'basic' | 'pro';
|
|
176
171
|
/**
|
|
177
|
-
* Cloudfleet control plane region. One of "staging", "northamerica-central-1", "europe-central-1a". This field can not be updated after creation.
|
|
172
|
+
* Cloudfleet control plane region. One of "staging-1a", "northamerica-central-1", "europe-central-1a", "northamerica-central-1a". This field can not be updated after creation.
|
|
178
173
|
*/
|
|
179
|
-
region?: 'staging' | 'northamerica-central-1' | 'europe-central-1a';
|
|
174
|
+
region?: 'staging-1a' | 'northamerica-central-1' | 'europe-central-1a' | 'northamerica-central-1a';
|
|
180
175
|
/**
|
|
181
176
|
* Version of the kubernetes cluster.
|
|
182
177
|
*/
|
|
183
|
-
version_channel?:
|
|
178
|
+
version_channel?: '1.x.x-cfke.x' | '1.31.x-cfke.x' | '1.32.x-cfke.x' | '1.33.x-cfke.x';
|
|
184
179
|
};
|
|
185
180
|
export type ClusterJoinInformation = {
|
|
186
181
|
/**
|
|
@@ -191,6 +186,10 @@ export type ClusterJoinInformation = {
|
|
|
191
186
|
* Internal URL of the Kubernetes cluster control plane. This is the endpoint that kubelet uses to connect to the cluster.
|
|
192
187
|
*/
|
|
193
188
|
endpoint: string;
|
|
189
|
+
/**
|
|
190
|
+
* Cluster DNS IP address. This is the IP address of the kube-dns service in the cluster.
|
|
191
|
+
*/
|
|
192
|
+
cluster_dns: string;
|
|
194
193
|
/**
|
|
195
194
|
* Authentication key for the cluster.
|
|
196
195
|
*/
|
|
@@ -215,6 +214,10 @@ export type ClusterJoinInformation = {
|
|
|
215
214
|
* Containerd version of the cluster.
|
|
216
215
|
*/
|
|
217
216
|
containerd: string;
|
|
217
|
+
/**
|
|
218
|
+
* NVIDIA driver version of the cluster.
|
|
219
|
+
*/
|
|
220
|
+
nvidia_driver: string;
|
|
218
221
|
};
|
|
219
222
|
/**
|
|
220
223
|
* OIDC Information for hosts to access to third party API's.
|
|
@@ -244,13 +247,9 @@ export type Cluster = {
|
|
|
244
247
|
*/
|
|
245
248
|
tier: 'basic' | 'pro';
|
|
246
249
|
/**
|
|
247
|
-
* Cloudfleet control plane region. One of "staging", "northamerica-central-1", "europe-central-1a". This field can not be updated after creation.
|
|
250
|
+
* Cloudfleet control plane region. One of "staging-1a", "northamerica-central-1", "europe-central-1a", "northamerica-central-1a". This field can not be updated after creation.
|
|
248
251
|
*/
|
|
249
|
-
region?: 'staging' | 'northamerica-central-1' | 'europe-central-1a';
|
|
250
|
-
/**
|
|
251
|
-
* Version of the kubernetes cluster.
|
|
252
|
-
*/
|
|
253
|
-
version_channel?: string;
|
|
252
|
+
region?: 'staging-1a' | 'northamerica-central-1' | 'europe-central-1a' | 'northamerica-central-1a';
|
|
254
253
|
/**
|
|
255
254
|
* Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
|
|
256
255
|
*/
|
|
@@ -258,8 +257,9 @@ export type Cluster = {
|
|
|
258
257
|
/**
|
|
259
258
|
* Status of the cluster. When creating a new cluster, set to `active`. When deleting a clusters, set to `deleted`.
|
|
260
259
|
*/
|
|
261
|
-
status: 'active' | 'deleted' | 'creating' | 'deployed' | 'failed' | 'updating';
|
|
260
|
+
status: 'active' | 'disabled' | 'deleted' | 'creating' | 'deployed' | 'failed' | 'updating';
|
|
262
261
|
endpoint?: string | '';
|
|
262
|
+
endpoint_public?: string | '';
|
|
263
263
|
/**
|
|
264
264
|
* Certificate authority data for the kubernetes cluster. This is the root certificate authority for the cluster.
|
|
265
265
|
*/
|
|
@@ -280,6 +280,10 @@ export type Cluster = {
|
|
|
280
280
|
* Indicates if the cluster is ready to be used.
|
|
281
281
|
*/
|
|
282
282
|
ready?: boolean;
|
|
283
|
+
/**
|
|
284
|
+
* Version of the kubernetes cluster.
|
|
285
|
+
*/
|
|
286
|
+
version_channel?: string;
|
|
283
287
|
};
|
|
284
288
|
export type ClusterUpdateInput = {
|
|
285
289
|
/**
|
|
@@ -301,31 +305,56 @@ export type FleetCreateInput = {
|
|
|
301
305
|
*/
|
|
302
306
|
limits?: {
|
|
303
307
|
/**
|
|
304
|
-
* CPU limit in cores.
|
|
308
|
+
* CPU limit in cores. Maximum 100,000.
|
|
305
309
|
*/
|
|
306
|
-
cpu
|
|
310
|
+
cpu?: number;
|
|
307
311
|
};
|
|
308
312
|
gcp?: {
|
|
309
|
-
enabled
|
|
313
|
+
enabled: boolean;
|
|
310
314
|
/**
|
|
311
|
-
*
|
|
315
|
+
* GCP project ID to deploy instances into. 6-30 chars, lowercase letters/digits/hyphens, must start with a letter and not end with a hyphen. Omit when GCP is disabled.
|
|
312
316
|
*/
|
|
313
|
-
project
|
|
317
|
+
project?: string;
|
|
314
318
|
};
|
|
315
319
|
hetzner?: {
|
|
316
|
-
enabled
|
|
320
|
+
enabled: boolean;
|
|
317
321
|
/**
|
|
318
|
-
* Hetzner Cloud API
|
|
322
|
+
* Hetzner Cloud API token with read / write access (64 alphanumeric characters). Omit this field to keep the existing value.
|
|
319
323
|
*/
|
|
320
|
-
apiKey
|
|
324
|
+
apiKey?: string;
|
|
321
325
|
};
|
|
322
326
|
aws?: {
|
|
323
|
-
enabled
|
|
327
|
+
enabled: boolean;
|
|
328
|
+
/**
|
|
329
|
+
* AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.
|
|
330
|
+
*/
|
|
331
|
+
controllerRoleArn?: string;
|
|
332
|
+
};
|
|
333
|
+
/**
|
|
334
|
+
* Constraints define scheduling and provisioning requirements for the fleet. Each field restricts the values allowed for a given Kubernetes label key. Multiple constraints are ANDed together. Omit a field to place no restriction on that key.
|
|
335
|
+
*/
|
|
336
|
+
constraints?: {
|
|
324
337
|
/**
|
|
325
|
-
*
|
|
338
|
+
* Allowed values for `karpenter.sh/capacity-type`.
|
|
326
339
|
*/
|
|
327
|
-
|
|
340
|
+
'karpenter.sh/capacity-type'?: Array<'on-demand' | 'spot'>;
|
|
341
|
+
/**
|
|
342
|
+
* Allowed values for `kubernetes.io/arch`.
|
|
343
|
+
*/
|
|
344
|
+
'kubernetes.io/arch'?: Array<'amd64' | 'arm64'>;
|
|
345
|
+
/**
|
|
346
|
+
* Allowed values for `cfke.io/instance-family`.
|
|
347
|
+
*/
|
|
348
|
+
'cfke.io/instance-family'?: Array<'a1' | 'a2' | 'a3' | 'a4' | 'c1' | 'c2' | 'c2d' | 'c3' | 'c3d' | 'c4' | 'c4a' | 'c4d' | 'c5' | 'c5a' | 'c5ad' | 'c5d' | 'c5n' | 'c6a' | 'c6g' | 'c6gd' | 'c6gn' | 'c6i' | 'c6id' | 'c6in' | 'c7a' | 'c7g' | 'c7gd' | 'c7gn' | 'c7i' | 'c7i-flex' | 'c8g' | 'c8gd' | 'cax' | 'ccx' | 'cpx' | 'cx' | 'd2' | 'd3' | 'd3en' | 'dl1' | 'dl2q' | 'e2' | 'f1' | 'f2' | 'g1' | 'g2' | 'g4ad' | 'g4dn' | 'g5' | 'g5g' | 'g6' | 'g6e' | 'gr6' | 'h1' | 'h3' | 'hpc6a' | 'hpc6id' | 'hpc7a' | 'hpc7g' | 'i2' | 'i3' | 'i3en' | 'i4g' | 'i4i' | 'i7i' | 'i7ie' | 'i8g' | 'im4gn' | 'inf1' | 'inf2' | 'is4gen' | 'm1' | 'm2' | 'm3' | 'm4' | 'm5' | 'm5a' | 'm5ad' | 'm5d' | 'm5dn' | 'm5n' | 'm5zn' | 'm6a' | 'm6g' | 'm6gd' | 'm6i' | 'm6id' | 'm6idn' | 'm6in' | 'm7a' | 'm7g' | 'm7gd' | 'm7i' | 'm7i-flex' | 'm8g' | 'm8gd' | 'n1' | 'n2' | 'n2d' | 'n4' | 'p3' | 'p3dn' | 'p4d' | 'p4de' | 'p5' | 'p5e' | 'p5en' | 'p6-b200' | 'r3' | 'r4' | 'r5' | 'r5a' | 'r5ad' | 'r5b' | 'r5d' | 'r5dn' | 'r5n' | 'r6a' | 'r6g' | 'r6gd' | 'r6i' | 'r6id' | 'r6idn' | 'r6in' | 'r7a' | 'r7g' | 'r7gd' | 'r7i' | 'r7iz' | 'r8g' | 'r8gd' | 't2' | 't2a' | 't2d' | 't3' | 't3a' | 't4g' | 'trn1' | 'trn1n' | 'u-3tb1' | 'u-6tb1' | 'u7i-12tb' | 'u7i-6tb' | 'u7i-8tb' | 'u7in-16tb' | 'u7in-24tb' | 'u7in-32tb' | 'vt1' | 'x1' | 'x1e' | 'x2gd' | 'x2idn' | 'x2iedn' | 'x2iezn' | 'x4' | 'x8g' | 'z1d' | 'z3'>;
|
|
349
|
+
/**
|
|
350
|
+
* Allowed values for `topology.kubernetes.io/region`.
|
|
351
|
+
*/
|
|
352
|
+
'topology.kubernetes.io/region'?: Array<'africa-south1' | 'ap-northeast-1' | 'ap-northeast-2' | 'ap-northeast-3' | 'ap-south-1' | 'ap-southeast-1' | 'ap-southeast-2' | 'ash' | 'asia-east1' | 'asia-east2' | 'asia-northeast1' | 'asia-northeast2' | 'asia-northeast3' | 'asia-south1' | 'asia-south2' | 'asia-southeast1' | 'asia-southeast2' | 'australia-southeast1' | 'australia-southeast2' | 'ca-central-1' | 'eu-central-1' | 'eu-central-2' | 'eu-north-1' | 'eu-west-1' | 'eu-west-2' | 'eu-west-3' | 'europe-central2' | 'europe-north1' | 'europe-southwest1' | 'europe-west1' | 'europe-west10' | 'europe-west12' | 'europe-west2' | 'europe-west3' | 'europe-west4' | 'europe-west6' | 'europe-west8' | 'europe-west9' | 'fsn1' | 'hel1' | 'hil' | 'me-central1' | 'me-central2' | 'me-west1' | 'nbg1' | 'northamerica-northeast1' | 'northamerica-northeast2' | 'sa-east-1' | 'sin' | 'southamerica-east1' | 'southamerica-west1' | 'us-central1' | 'us-east-1' | 'us-east-2' | 'us-east1' | 'us-east4' | 'us-east5' | 'us-south1' | 'us-west-1' | 'us-west-2' | 'us-west1' | 'us-west2' | 'us-west3' | 'us-west4'>;
|
|
328
353
|
};
|
|
354
|
+
/**
|
|
355
|
+
* Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.
|
|
356
|
+
*/
|
|
357
|
+
scalingProfile?: 'aggressive' | 'conservative';
|
|
329
358
|
/**
|
|
330
359
|
* Unique identifier of the kubernetes fleet.
|
|
331
360
|
*/
|
|
@@ -337,31 +366,56 @@ export type Fleet = {
|
|
|
337
366
|
*/
|
|
338
367
|
limits?: {
|
|
339
368
|
/**
|
|
340
|
-
* CPU limit in cores.
|
|
369
|
+
* CPU limit in cores. Maximum 100,000.
|
|
341
370
|
*/
|
|
342
|
-
cpu
|
|
371
|
+
cpu?: number;
|
|
343
372
|
};
|
|
344
373
|
gcp?: {
|
|
345
|
-
enabled
|
|
374
|
+
enabled: boolean;
|
|
346
375
|
/**
|
|
347
|
-
*
|
|
376
|
+
* GCP project ID to deploy instances into. 6-30 chars, lowercase letters/digits/hyphens, must start with a letter and not end with a hyphen. Omit when GCP is disabled.
|
|
348
377
|
*/
|
|
349
|
-
project
|
|
378
|
+
project?: string;
|
|
350
379
|
};
|
|
351
380
|
hetzner?: {
|
|
352
|
-
enabled
|
|
381
|
+
enabled: boolean;
|
|
353
382
|
/**
|
|
354
|
-
* Hetzner
|
|
383
|
+
* Redacted Hetzner API token. Returned as 64 asterisks when a token is configured; omitted otherwise. The real value is never echoed by the API.
|
|
355
384
|
*/
|
|
356
|
-
apiKey
|
|
385
|
+
apiKey?: string;
|
|
357
386
|
};
|
|
358
387
|
aws?: {
|
|
359
|
-
enabled
|
|
388
|
+
enabled: boolean;
|
|
360
389
|
/**
|
|
361
|
-
*
|
|
390
|
+
* AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.
|
|
362
391
|
*/
|
|
363
|
-
controllerRoleArn
|
|
392
|
+
controllerRoleArn?: string;
|
|
364
393
|
};
|
|
394
|
+
/**
|
|
395
|
+
* Constraints define scheduling and provisioning requirements for the fleet. Each field restricts the values allowed for a given Kubernetes label key. Multiple constraints are ANDed together. Omit a field to place no restriction on that key.
|
|
396
|
+
*/
|
|
397
|
+
constraints?: {
|
|
398
|
+
/**
|
|
399
|
+
* Allowed values for `karpenter.sh/capacity-type`.
|
|
400
|
+
*/
|
|
401
|
+
'karpenter.sh/capacity-type'?: Array<'on-demand' | 'spot'>;
|
|
402
|
+
/**
|
|
403
|
+
* Allowed values for `kubernetes.io/arch`.
|
|
404
|
+
*/
|
|
405
|
+
'kubernetes.io/arch'?: Array<'amd64' | 'arm64'>;
|
|
406
|
+
/**
|
|
407
|
+
* Allowed values for `cfke.io/instance-family`.
|
|
408
|
+
*/
|
|
409
|
+
'cfke.io/instance-family'?: Array<'a1' | 'a2' | 'a3' | 'a4' | 'c1' | 'c2' | 'c2d' | 'c3' | 'c3d' | 'c4' | 'c4a' | 'c4d' | 'c5' | 'c5a' | 'c5ad' | 'c5d' | 'c5n' | 'c6a' | 'c6g' | 'c6gd' | 'c6gn' | 'c6i' | 'c6id' | 'c6in' | 'c7a' | 'c7g' | 'c7gd' | 'c7gn' | 'c7i' | 'c7i-flex' | 'c8g' | 'c8gd' | 'cax' | 'ccx' | 'cpx' | 'cx' | 'd2' | 'd3' | 'd3en' | 'dl1' | 'dl2q' | 'e2' | 'f1' | 'f2' | 'g1' | 'g2' | 'g4ad' | 'g4dn' | 'g5' | 'g5g' | 'g6' | 'g6e' | 'gr6' | 'h1' | 'h3' | 'hpc6a' | 'hpc6id' | 'hpc7a' | 'hpc7g' | 'i2' | 'i3' | 'i3en' | 'i4g' | 'i4i' | 'i7i' | 'i7ie' | 'i8g' | 'im4gn' | 'inf1' | 'inf2' | 'is4gen' | 'm1' | 'm2' | 'm3' | 'm4' | 'm5' | 'm5a' | 'm5ad' | 'm5d' | 'm5dn' | 'm5n' | 'm5zn' | 'm6a' | 'm6g' | 'm6gd' | 'm6i' | 'm6id' | 'm6idn' | 'm6in' | 'm7a' | 'm7g' | 'm7gd' | 'm7i' | 'm7i-flex' | 'm8g' | 'm8gd' | 'n1' | 'n2' | 'n2d' | 'n4' | 'p3' | 'p3dn' | 'p4d' | 'p4de' | 'p5' | 'p5e' | 'p5en' | 'p6-b200' | 'r3' | 'r4' | 'r5' | 'r5a' | 'r5ad' | 'r5b' | 'r5d' | 'r5dn' | 'r5n' | 'r6a' | 'r6g' | 'r6gd' | 'r6i' | 'r6id' | 'r6idn' | 'r6in' | 'r7a' | 'r7g' | 'r7gd' | 'r7i' | 'r7iz' | 'r8g' | 'r8gd' | 't2' | 't2a' | 't2d' | 't3' | 't3a' | 't4g' | 'trn1' | 'trn1n' | 'u-3tb1' | 'u-6tb1' | 'u7i-12tb' | 'u7i-6tb' | 'u7i-8tb' | 'u7in-16tb' | 'u7in-24tb' | 'u7in-32tb' | 'vt1' | 'x1' | 'x1e' | 'x2gd' | 'x2idn' | 'x2iedn' | 'x2iezn' | 'x4' | 'x8g' | 'z1d' | 'z3'>;
|
|
410
|
+
/**
|
|
411
|
+
* Allowed values for `topology.kubernetes.io/region`.
|
|
412
|
+
*/
|
|
413
|
+
'topology.kubernetes.io/region'?: Array<'africa-south1' | 'ap-northeast-1' | 'ap-northeast-2' | 'ap-northeast-3' | 'ap-south-1' | 'ap-southeast-1' | 'ap-southeast-2' | 'ash' | 'asia-east1' | 'asia-east2' | 'asia-northeast1' | 'asia-northeast2' | 'asia-northeast3' | 'asia-south1' | 'asia-south2' | 'asia-southeast1' | 'asia-southeast2' | 'australia-southeast1' | 'australia-southeast2' | 'ca-central-1' | 'eu-central-1' | 'eu-central-2' | 'eu-north-1' | 'eu-west-1' | 'eu-west-2' | 'eu-west-3' | 'europe-central2' | 'europe-north1' | 'europe-southwest1' | 'europe-west1' | 'europe-west10' | 'europe-west12' | 'europe-west2' | 'europe-west3' | 'europe-west4' | 'europe-west6' | 'europe-west8' | 'europe-west9' | 'fsn1' | 'hel1' | 'hil' | 'me-central1' | 'me-central2' | 'me-west1' | 'nbg1' | 'northamerica-northeast1' | 'northamerica-northeast2' | 'sa-east-1' | 'sin' | 'southamerica-east1' | 'southamerica-west1' | 'us-central1' | 'us-east-1' | 'us-east-2' | 'us-east1' | 'us-east4' | 'us-east5' | 'us-south1' | 'us-west-1' | 'us-west-2' | 'us-west1' | 'us-west2' | 'us-west3' | 'us-west4'>;
|
|
414
|
+
};
|
|
415
|
+
/**
|
|
416
|
+
* Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.
|
|
417
|
+
*/
|
|
418
|
+
scalingProfile: 'aggressive' | 'conservative';
|
|
365
419
|
/**
|
|
366
420
|
* Unique identifier of the kubernetes fleet.
|
|
367
421
|
*/
|
|
@@ -373,31 +427,56 @@ export type FleetUpdateInput = {
|
|
|
373
427
|
*/
|
|
374
428
|
limits?: {
|
|
375
429
|
/**
|
|
376
|
-
* CPU limit in cores.
|
|
430
|
+
* CPU limit in cores. Maximum 100,000.
|
|
377
431
|
*/
|
|
378
|
-
cpu
|
|
432
|
+
cpu?: number;
|
|
379
433
|
};
|
|
380
434
|
gcp?: {
|
|
381
|
-
enabled
|
|
435
|
+
enabled: boolean;
|
|
382
436
|
/**
|
|
383
|
-
*
|
|
437
|
+
* GCP project ID to deploy instances into. 6-30 chars, lowercase letters/digits/hyphens, must start with a letter and not end with a hyphen. Omit when GCP is disabled.
|
|
384
438
|
*/
|
|
385
|
-
project
|
|
439
|
+
project?: string;
|
|
386
440
|
};
|
|
387
441
|
hetzner?: {
|
|
388
|
-
enabled
|
|
442
|
+
enabled: boolean;
|
|
389
443
|
/**
|
|
390
|
-
* Hetzner Cloud API
|
|
444
|
+
* Hetzner Cloud API token with read / write access (64 alphanumeric characters). Omit this field to keep the existing value.
|
|
391
445
|
*/
|
|
392
|
-
apiKey
|
|
446
|
+
apiKey?: string;
|
|
393
447
|
};
|
|
394
448
|
aws?: {
|
|
395
|
-
enabled
|
|
449
|
+
enabled: boolean;
|
|
450
|
+
/**
|
|
451
|
+
* AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.
|
|
452
|
+
*/
|
|
453
|
+
controllerRoleArn?: string;
|
|
454
|
+
};
|
|
455
|
+
/**
|
|
456
|
+
* Constraints define scheduling and provisioning requirements for the fleet. Each field restricts the values allowed for a given Kubernetes label key. Multiple constraints are ANDed together. Omit a field to place no restriction on that key.
|
|
457
|
+
*/
|
|
458
|
+
constraints?: {
|
|
396
459
|
/**
|
|
397
|
-
*
|
|
460
|
+
* Allowed values for `karpenter.sh/capacity-type`.
|
|
398
461
|
*/
|
|
399
|
-
|
|
462
|
+
'karpenter.sh/capacity-type'?: Array<'on-demand' | 'spot'>;
|
|
463
|
+
/**
|
|
464
|
+
* Allowed values for `kubernetes.io/arch`.
|
|
465
|
+
*/
|
|
466
|
+
'kubernetes.io/arch'?: Array<'amd64' | 'arm64'>;
|
|
467
|
+
/**
|
|
468
|
+
* Allowed values for `cfke.io/instance-family`.
|
|
469
|
+
*/
|
|
470
|
+
'cfke.io/instance-family'?: Array<'a1' | 'a2' | 'a3' | 'a4' | 'c1' | 'c2' | 'c2d' | 'c3' | 'c3d' | 'c4' | 'c4a' | 'c4d' | 'c5' | 'c5a' | 'c5ad' | 'c5d' | 'c5n' | 'c6a' | 'c6g' | 'c6gd' | 'c6gn' | 'c6i' | 'c6id' | 'c6in' | 'c7a' | 'c7g' | 'c7gd' | 'c7gn' | 'c7i' | 'c7i-flex' | 'c8g' | 'c8gd' | 'cax' | 'ccx' | 'cpx' | 'cx' | 'd2' | 'd3' | 'd3en' | 'dl1' | 'dl2q' | 'e2' | 'f1' | 'f2' | 'g1' | 'g2' | 'g4ad' | 'g4dn' | 'g5' | 'g5g' | 'g6' | 'g6e' | 'gr6' | 'h1' | 'h3' | 'hpc6a' | 'hpc6id' | 'hpc7a' | 'hpc7g' | 'i2' | 'i3' | 'i3en' | 'i4g' | 'i4i' | 'i7i' | 'i7ie' | 'i8g' | 'im4gn' | 'inf1' | 'inf2' | 'is4gen' | 'm1' | 'm2' | 'm3' | 'm4' | 'm5' | 'm5a' | 'm5ad' | 'm5d' | 'm5dn' | 'm5n' | 'm5zn' | 'm6a' | 'm6g' | 'm6gd' | 'm6i' | 'm6id' | 'm6idn' | 'm6in' | 'm7a' | 'm7g' | 'm7gd' | 'm7i' | 'm7i-flex' | 'm8g' | 'm8gd' | 'n1' | 'n2' | 'n2d' | 'n4' | 'p3' | 'p3dn' | 'p4d' | 'p4de' | 'p5' | 'p5e' | 'p5en' | 'p6-b200' | 'r3' | 'r4' | 'r5' | 'r5a' | 'r5ad' | 'r5b' | 'r5d' | 'r5dn' | 'r5n' | 'r6a' | 'r6g' | 'r6gd' | 'r6i' | 'r6id' | 'r6idn' | 'r6in' | 'r7a' | 'r7g' | 'r7gd' | 'r7i' | 'r7iz' | 'r8g' | 'r8gd' | 't2' | 't2a' | 't2d' | 't3' | 't3a' | 't4g' | 'trn1' | 'trn1n' | 'u-3tb1' | 'u-6tb1' | 'u7i-12tb' | 'u7i-6tb' | 'u7i-8tb' | 'u7in-16tb' | 'u7in-24tb' | 'u7in-32tb' | 'vt1' | 'x1' | 'x1e' | 'x2gd' | 'x2idn' | 'x2iedn' | 'x2iezn' | 'x4' | 'x8g' | 'z1d' | 'z3'>;
|
|
471
|
+
/**
|
|
472
|
+
* Allowed values for `topology.kubernetes.io/region`.
|
|
473
|
+
*/
|
|
474
|
+
'topology.kubernetes.io/region'?: Array<'africa-south1' | 'ap-northeast-1' | 'ap-northeast-2' | 'ap-northeast-3' | 'ap-south-1' | 'ap-southeast-1' | 'ap-southeast-2' | 'ash' | 'asia-east1' | 'asia-east2' | 'asia-northeast1' | 'asia-northeast2' | 'asia-northeast3' | 'asia-south1' | 'asia-south2' | 'asia-southeast1' | 'asia-southeast2' | 'australia-southeast1' | 'australia-southeast2' | 'ca-central-1' | 'eu-central-1' | 'eu-central-2' | 'eu-north-1' | 'eu-west-1' | 'eu-west-2' | 'eu-west-3' | 'europe-central2' | 'europe-north1' | 'europe-southwest1' | 'europe-west1' | 'europe-west10' | 'europe-west12' | 'europe-west2' | 'europe-west3' | 'europe-west4' | 'europe-west6' | 'europe-west8' | 'europe-west9' | 'fsn1' | 'hel1' | 'hil' | 'me-central1' | 'me-central2' | 'me-west1' | 'nbg1' | 'northamerica-northeast1' | 'northamerica-northeast2' | 'sa-east-1' | 'sin' | 'southamerica-east1' | 'southamerica-west1' | 'us-central1' | 'us-east-1' | 'us-east-2' | 'us-east1' | 'us-east4' | 'us-east5' | 'us-south1' | 'us-west-1' | 'us-west-2' | 'us-west1' | 'us-west2' | 'us-west3' | 'us-west4'>;
|
|
400
475
|
};
|
|
476
|
+
/**
|
|
477
|
+
* Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.
|
|
478
|
+
*/
|
|
479
|
+
scalingProfile: 'aggressive' | 'conservative';
|
|
401
480
|
};
|
|
402
481
|
export type Invite = {
|
|
403
482
|
/**
|
|
@@ -423,280 +502,121 @@ export type Invite = {
|
|
|
423
502
|
};
|
|
424
503
|
export type Invoice = {
|
|
425
504
|
/**
|
|
426
|
-
* Unique identifier of the invoice.
|
|
505
|
+
* Unique identifier of the invoice.
|
|
427
506
|
*/
|
|
428
507
|
id?: string;
|
|
429
|
-
|
|
430
|
-
* Unique identifier of the organization. UUID v4 string in canonical form
|
|
431
|
-
*/
|
|
432
|
-
organizationId?: string;
|
|
508
|
+
number?: string;
|
|
433
509
|
/**
|
|
434
510
|
* Status of the invoice
|
|
435
511
|
*/
|
|
436
|
-
status?:
|
|
512
|
+
status?: string;
|
|
437
513
|
/**
|
|
438
514
|
* Total amount of the invoice
|
|
439
515
|
*/
|
|
440
|
-
|
|
516
|
+
total?: number;
|
|
441
517
|
/**
|
|
442
518
|
* Currency of the invoice
|
|
443
519
|
*/
|
|
444
|
-
currency?:
|
|
520
|
+
currency?: string;
|
|
445
521
|
/**
|
|
446
|
-
*
|
|
522
|
+
* Timestamp when the invoice was issued. ISO 8601 date string in the UTC timezone.
|
|
447
523
|
*/
|
|
448
|
-
|
|
524
|
+
created: string;
|
|
449
525
|
/**
|
|
450
|
-
*
|
|
526
|
+
* Billing period start timestamp. ISO 8601 date string in the UTC timezone.
|
|
451
527
|
*/
|
|
452
|
-
|
|
528
|
+
period_start: string;
|
|
453
529
|
/**
|
|
454
|
-
*
|
|
530
|
+
* Billing period end timestamp. ISO 8601 date string in the UTC timezone.
|
|
455
531
|
*/
|
|
456
|
-
|
|
532
|
+
period_end: string;
|
|
533
|
+
invoice_pdf?: string;
|
|
534
|
+
};
|
|
535
|
+
export type MarketplaceListingFiles = {
|
|
457
536
|
/**
|
|
458
|
-
*
|
|
537
|
+
* Raw Chart.yaml content from the Helm chart
|
|
459
538
|
*/
|
|
460
|
-
|
|
539
|
+
chartYaml?: string;
|
|
461
540
|
/**
|
|
462
|
-
*
|
|
541
|
+
* Raw values.yaml content from the Helm chart
|
|
463
542
|
*/
|
|
464
|
-
|
|
543
|
+
valuesYaml?: string;
|
|
465
544
|
/**
|
|
466
|
-
*
|
|
545
|
+
* JSON schema for values.yaml as a string
|
|
467
546
|
*/
|
|
468
|
-
|
|
547
|
+
valuesSchemaJson?: string;
|
|
548
|
+
};
|
|
549
|
+
export type MarketplaceListing = {
|
|
469
550
|
/**
|
|
470
|
-
*
|
|
551
|
+
* Name of the chart
|
|
471
552
|
*/
|
|
472
|
-
|
|
553
|
+
name: string;
|
|
473
554
|
/**
|
|
474
|
-
*
|
|
555
|
+
* Available versions of the chart
|
|
475
556
|
*/
|
|
476
|
-
|
|
477
|
-
/**
|
|
478
|
-
* Unique identifier of the invoice item. UUID v4 string in canonical form
|
|
479
|
-
*/
|
|
480
|
-
id?: string;
|
|
481
|
-
/**
|
|
482
|
-
* Unique identifier of the linked invoice item. UUID v4 string in canonical form
|
|
483
|
-
*/
|
|
484
|
-
linkedInvoiceItemId?: string;
|
|
485
|
-
/**
|
|
486
|
-
* Name of the product
|
|
487
|
-
*/
|
|
488
|
-
productName?: string;
|
|
489
|
-
/**
|
|
490
|
-
* Name of the plan
|
|
491
|
-
*/
|
|
492
|
-
planName?: string;
|
|
493
|
-
/**
|
|
494
|
-
* Name of the phase
|
|
495
|
-
*/
|
|
496
|
-
phaseName?: string;
|
|
497
|
-
/**
|
|
498
|
-
* Name of the usage
|
|
499
|
-
*/
|
|
500
|
-
usageName?: string;
|
|
501
|
-
/**
|
|
502
|
-
* Pretty name of the product
|
|
503
|
-
*/
|
|
504
|
-
prettyProductName?: string;
|
|
505
|
-
/**
|
|
506
|
-
* Pretty name of the plan
|
|
507
|
-
*/
|
|
508
|
-
prettyPlanName?: string;
|
|
509
|
-
/**
|
|
510
|
-
* Pretty name of the phase
|
|
511
|
-
*/
|
|
512
|
-
prettyPhaseName?: string;
|
|
513
|
-
/**
|
|
514
|
-
* Pretty name of the usage
|
|
515
|
-
*/
|
|
516
|
-
prettyUsageName?: string;
|
|
517
|
-
/**
|
|
518
|
-
* Type of the invoice item
|
|
519
|
-
*/
|
|
520
|
-
itemType?: 'EXTERNAL_CHARGE' | 'FIXED' | 'RECURRING' | 'REPAIR_ADJ' | 'CBA_ADJ' | 'CREDIT_ADJ' | 'ITEM_ADJ' | 'USAGE' | 'TAX' | 'PARENT_SUMMARY';
|
|
521
|
-
/**
|
|
522
|
-
* Description of the invoice item
|
|
523
|
-
*/
|
|
524
|
-
description?: string;
|
|
525
|
-
/**
|
|
526
|
-
* Start date of the invoice item
|
|
527
|
-
*/
|
|
528
|
-
startDate?: string;
|
|
529
|
-
/**
|
|
530
|
-
* End date of the invoice item
|
|
531
|
-
*/
|
|
532
|
-
endDate?: string;
|
|
533
|
-
/**
|
|
534
|
-
* Amount of the invoice item
|
|
535
|
-
*/
|
|
536
|
-
amount?: number;
|
|
537
|
-
/**
|
|
538
|
-
* Rate of the invoice item
|
|
539
|
-
*/
|
|
540
|
-
rate?: number;
|
|
541
|
-
/**
|
|
542
|
-
* Currency of the invoice item
|
|
543
|
-
*/
|
|
544
|
-
currency?: 'AED' | 'AFN' | 'ALL' | 'AMD' | 'ANG' | 'AOA' | 'ARS' | 'AUD' | 'AWG' | 'AZN' | 'BAM' | 'BBD' | 'BDT' | 'BGN' | 'BHD' | 'BIF' | 'BMD' | 'BND' | 'BOB' | 'BRL' | 'BSD' | 'BTN' | 'BWP' | 'BYR' | 'BZD' | 'CAD' | 'CDF' | 'CHF' | 'CLP' | 'CNY' | 'COP' | 'CRC' | 'CUC' | 'CUP' | 'CVE' | 'CZK' | 'DJF' | 'DKK' | 'DOP' | 'DZD' | 'EGP' | 'ERN' | 'ETB' | 'EUR' | 'FJD' | 'FKP' | 'GBP' | 'GEL' | 'GGP' | 'GHS' | 'GIP' | 'GMD' | 'GNF' | 'GTQ' | 'GYD' | 'HKD' | 'HNL' | 'HRK' | 'HTG' | 'HUF' | 'IDR' | 'ILS' | 'IMP' | 'INR' | 'IQD' | 'IRR' | 'ISK' | 'JEP' | 'JMD' | 'JOD' | 'JPY' | 'KES' | 'KGS' | 'KHR' | 'KMF' | 'KPW' | 'KRW' | 'KWD' | 'KYD' | 'KZT' | 'LAK' | 'LBP' | 'LKR' | 'LRD' | 'LSL' | 'LTL' | 'LVL' | 'LYD' | 'MAD' | 'MDL' | 'MGA' | 'MKD' | 'MMK' | 'MNT' | 'MOP' | 'MRO' | 'MUR' | 'MVR' | 'MWK' | 'MXN' | 'MYR' | 'MZN' | 'NAD' | 'NGN' | 'NIO' | 'NOK' | 'NPR' | 'NZD' | 'OMR' | 'PAB' | 'PEN' | 'PGK' | 'PHP' | 'PKR' | 'PLN' | 'PYG' | 'QAR' | 'RON' | 'RSD' | 'RUB' | 'RWF' | 'SAR' | 'SBD' | 'SCR' | 'SDG' | 'SEK' | 'SGD' | 'SHP' | 'SLL' | 'SOS' | 'SPL' | 'SRD' | 'STD' | 'SVC' | 'SYP' | 'SZL' | 'THB' | 'TJS' | 'TMT' | 'TND' | 'TOP' | 'TRY' | 'TTD' | 'TVD' | 'TWD' | 'TZS' | 'UAH' | 'UGX' | 'USD' | 'UYU' | 'UZS' | 'VEF' | 'VND' | 'VUV' | 'WST' | 'XAF' | 'XCD' | 'XDR' | 'XOF' | 'XPF' | 'YER' | 'ZAR' | 'ZMW' | 'ZWD' | 'BTC';
|
|
545
|
-
/**
|
|
546
|
-
* Quantity of the invoice item
|
|
547
|
-
*/
|
|
548
|
-
quantity?: number;
|
|
549
|
-
/**
|
|
550
|
-
* Details of the invoice item
|
|
551
|
-
*/
|
|
552
|
-
itemDetails?: string;
|
|
553
|
-
/**
|
|
554
|
-
* Effective date of the catalog
|
|
555
|
-
*/
|
|
556
|
-
catalogEffectiveDate?: string;
|
|
557
|
-
/**
|
|
558
|
-
* Child items of the invoice item
|
|
559
|
-
*/
|
|
560
|
-
childItems?: Array<Array<unknown> | boolean | number | {
|
|
561
|
-
[key: string]: unknown;
|
|
562
|
-
} | string>;
|
|
563
|
-
}>;
|
|
557
|
+
versions: Array<string>;
|
|
564
558
|
/**
|
|
565
|
-
*
|
|
559
|
+
* Version channels for the chart
|
|
566
560
|
*/
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
/**
|
|
577
|
-
* Name of the product
|
|
578
|
-
*/
|
|
579
|
-
productName?: string;
|
|
580
|
-
/**
|
|
581
|
-
* Name of the plan
|
|
582
|
-
*/
|
|
583
|
-
planName?: string;
|
|
584
|
-
/**
|
|
585
|
-
* Name of the phase
|
|
586
|
-
*/
|
|
587
|
-
phaseName?: string;
|
|
588
|
-
/**
|
|
589
|
-
* Name of the usage
|
|
590
|
-
*/
|
|
591
|
-
usageName?: string;
|
|
592
|
-
/**
|
|
593
|
-
* Pretty name of the product
|
|
594
|
-
*/
|
|
595
|
-
prettyProductName?: string;
|
|
596
|
-
/**
|
|
597
|
-
* Pretty name of the plan
|
|
598
|
-
*/
|
|
599
|
-
prettyPlanName?: string;
|
|
600
|
-
/**
|
|
601
|
-
* Pretty name of the phase
|
|
602
|
-
*/
|
|
603
|
-
prettyPhaseName?: string;
|
|
561
|
+
version_channels: Array<string>;
|
|
562
|
+
/**
|
|
563
|
+
* Latest version of the chart
|
|
564
|
+
*/
|
|
565
|
+
latestVersion: string;
|
|
566
|
+
/**
|
|
567
|
+
* Chart metadata
|
|
568
|
+
*/
|
|
569
|
+
metadata?: {
|
|
604
570
|
/**
|
|
605
|
-
*
|
|
571
|
+
* Chart name from metadata
|
|
606
572
|
*/
|
|
607
|
-
|
|
573
|
+
name: string;
|
|
608
574
|
/**
|
|
609
|
-
*
|
|
575
|
+
* Chart version from metadata
|
|
610
576
|
*/
|
|
611
|
-
|
|
577
|
+
version: string;
|
|
612
578
|
/**
|
|
613
|
-
*
|
|
579
|
+
* Chart description
|
|
614
580
|
*/
|
|
615
581
|
description?: string;
|
|
616
582
|
/**
|
|
617
|
-
*
|
|
583
|
+
* Application version
|
|
618
584
|
*/
|
|
619
|
-
|
|
585
|
+
appVersion?: string;
|
|
620
586
|
/**
|
|
621
|
-
*
|
|
587
|
+
* Helm API version
|
|
622
588
|
*/
|
|
623
|
-
|
|
589
|
+
apiVersion?: string;
|
|
624
590
|
/**
|
|
625
|
-
*
|
|
591
|
+
* Chart keywords
|
|
626
592
|
*/
|
|
627
|
-
|
|
593
|
+
keywords?: Array<string>;
|
|
628
594
|
/**
|
|
629
|
-
*
|
|
595
|
+
* Chart home URL
|
|
630
596
|
*/
|
|
631
|
-
|
|
597
|
+
home?: string;
|
|
632
598
|
/**
|
|
633
|
-
*
|
|
599
|
+
* A URL to an SVG or PNG image to be used as an icon
|
|
634
600
|
*/
|
|
635
|
-
|
|
601
|
+
icon?: string;
|
|
636
602
|
/**
|
|
637
|
-
*
|
|
603
|
+
* Chart source URLs
|
|
638
604
|
*/
|
|
639
|
-
|
|
605
|
+
sources?: Array<string>;
|
|
640
606
|
/**
|
|
641
|
-
*
|
|
607
|
+
* Chart maintainers
|
|
642
608
|
*/
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
}>;
|
|
655
|
-
};
|
|
656
|
-
export type MarketplaceListing = {
|
|
657
|
-
/**
|
|
658
|
-
* Id of the chart listing
|
|
659
|
-
*/
|
|
660
|
-
id: string;
|
|
661
|
-
/**
|
|
662
|
-
* Name of the chart listing
|
|
663
|
-
*/
|
|
664
|
-
name: string;
|
|
665
|
-
/**
|
|
666
|
-
* Author of the chart listing
|
|
667
|
-
*/
|
|
668
|
-
developer: string;
|
|
669
|
-
/**
|
|
670
|
-
* Short description of the chart listing
|
|
671
|
-
*/
|
|
672
|
-
description: string;
|
|
673
|
-
/**
|
|
674
|
-
* Logo of the chart listing
|
|
675
|
-
*/
|
|
676
|
-
logoUrl: string;
|
|
677
|
-
/**
|
|
678
|
-
* Long description of the chart listing
|
|
679
|
-
*/
|
|
680
|
-
longDescription: string;
|
|
681
|
-
/**
|
|
682
|
-
* Tags of the chart
|
|
683
|
-
*/
|
|
684
|
-
categories: Array<string>;
|
|
685
|
-
version_channels: Array<string>;
|
|
686
|
-
value_schemas: Array<{
|
|
687
|
-
/**
|
|
688
|
-
* Version of the chart.
|
|
689
|
-
*/
|
|
690
|
-
version: string;
|
|
691
|
-
/**
|
|
692
|
-
* Schema of the chart values. JSON Schema as string
|
|
693
|
-
*/
|
|
694
|
-
schema: string;
|
|
695
|
-
/**
|
|
696
|
-
* Schema of the chart values
|
|
697
|
-
*/
|
|
698
|
-
placeholder: string;
|
|
699
|
-
}>;
|
|
609
|
+
maintainers?: Array<{
|
|
610
|
+
/**
|
|
611
|
+
* Maintainer name
|
|
612
|
+
*/
|
|
613
|
+
name: string;
|
|
614
|
+
/**
|
|
615
|
+
* Maintainer email
|
|
616
|
+
*/
|
|
617
|
+
email?: string;
|
|
618
|
+
}>;
|
|
619
|
+
};
|
|
700
620
|
};
|
|
701
621
|
export type OrganizationCreateInput = {
|
|
702
622
|
/**
|
|
@@ -778,6 +698,10 @@ export type Organization = {
|
|
|
778
698
|
*/
|
|
779
699
|
label: string;
|
|
780
700
|
}>;
|
|
701
|
+
/**
|
|
702
|
+
* Organization-level maximum CFCR storage volume in GB. -1 means no limit.
|
|
703
|
+
*/
|
|
704
|
+
cfcr_storage_gb: number;
|
|
781
705
|
};
|
|
782
706
|
/**
|
|
783
707
|
* Status of the organization. Can be `active` or `closed`, or `suspended`.
|
|
@@ -814,6 +738,453 @@ export type PaymentMethod = {
|
|
|
814
738
|
*/
|
|
815
739
|
brand: 'amex' | 'diners' | 'discover' | 'eftpos_au' | 'jcb' | 'mastercard' | 'unionpay' | 'visa' | 'unknown';
|
|
816
740
|
};
|
|
741
|
+
export type PlatformQuota = {
|
|
742
|
+
/**
|
|
743
|
+
* Maximum number of Basic clusters that can be created.
|
|
744
|
+
*/
|
|
745
|
+
basic_clusters_max: number;
|
|
746
|
+
/**
|
|
747
|
+
* Available number of Basic clusters that can be created.
|
|
748
|
+
*/
|
|
749
|
+
basic_clusters_available: number;
|
|
750
|
+
/**
|
|
751
|
+
* Maximum number of Pro clusters that can be created.
|
|
752
|
+
*/
|
|
753
|
+
pro_clusters_max: number;
|
|
754
|
+
/**
|
|
755
|
+
* Available number of Pro clusters that can be created.
|
|
756
|
+
*/
|
|
757
|
+
pro_clusters_available: number;
|
|
758
|
+
/**
|
|
759
|
+
* Maximum number of fleets that can be created per cluster.
|
|
760
|
+
*/
|
|
761
|
+
fleets_max: number;
|
|
762
|
+
/**
|
|
763
|
+
* List of Cloudfleet cluster tiers available for the organization.
|
|
764
|
+
*/
|
|
765
|
+
cluster_tiers: Array<string>;
|
|
766
|
+
/**
|
|
767
|
+
* List of Cloudfleet control plane regions available for the organization.
|
|
768
|
+
*/
|
|
769
|
+
regions: Array<string>;
|
|
770
|
+
/**
|
|
771
|
+
* List of CFKE control plane versions available for the organization.
|
|
772
|
+
*/
|
|
773
|
+
versions: Array<{
|
|
774
|
+
/**
|
|
775
|
+
* Id of the control plane version. Used in API calls.
|
|
776
|
+
*/
|
|
777
|
+
id: string;
|
|
778
|
+
/**
|
|
779
|
+
* Label of the control plane version. Used in frontent UI.
|
|
780
|
+
*/
|
|
781
|
+
label: string;
|
|
782
|
+
}>;
|
|
783
|
+
/**
|
|
784
|
+
* Organization-level maximum CFCR storage volume in GB. -1 means no limit.
|
|
785
|
+
*/
|
|
786
|
+
cfcr_storage_gb: number;
|
|
787
|
+
};
|
|
788
|
+
export type RegistryRepository = {
|
|
789
|
+
/**
|
|
790
|
+
* Repository name.
|
|
791
|
+
*/
|
|
792
|
+
name: string;
|
|
793
|
+
/**
|
|
794
|
+
* Registry region.
|
|
795
|
+
*/
|
|
796
|
+
region: string;
|
|
797
|
+
/**
|
|
798
|
+
* Full URI of the repository.
|
|
799
|
+
*/
|
|
800
|
+
uri: string;
|
|
801
|
+
};
|
|
802
|
+
export type RegistryRepositoryWithTags = {
|
|
803
|
+
/**
|
|
804
|
+
* Repository name.
|
|
805
|
+
*/
|
|
806
|
+
name: string;
|
|
807
|
+
/**
|
|
808
|
+
* Registry region.
|
|
809
|
+
*/
|
|
810
|
+
region: string;
|
|
811
|
+
/**
|
|
812
|
+
* Full URI of the repository.
|
|
813
|
+
*/
|
|
814
|
+
uri: string;
|
|
815
|
+
/**
|
|
816
|
+
* Array of tags in the repository.
|
|
817
|
+
*/
|
|
818
|
+
tags: Array<{
|
|
819
|
+
/**
|
|
820
|
+
* Tag name.
|
|
821
|
+
*/
|
|
822
|
+
name: string;
|
|
823
|
+
/**
|
|
824
|
+
* Size of the tag in bytes.
|
|
825
|
+
*/
|
|
826
|
+
size: number;
|
|
827
|
+
/**
|
|
828
|
+
* Media type of the manifest.
|
|
829
|
+
*/
|
|
830
|
+
mediaType?: string;
|
|
831
|
+
/**
|
|
832
|
+
* Array of platform strings for multi-arch images (e.g., linux/amd64, linux/arm64).
|
|
833
|
+
*/
|
|
834
|
+
platforms?: Array<string>;
|
|
835
|
+
}>;
|
|
836
|
+
/**
|
|
837
|
+
* Total size of all tags in the repository in bytes.
|
|
838
|
+
*/
|
|
839
|
+
totalSize: number;
|
|
840
|
+
};
|
|
841
|
+
export type RegistryTag = {
|
|
842
|
+
/**
|
|
843
|
+
* Tag name.
|
|
844
|
+
*/
|
|
845
|
+
name: string;
|
|
846
|
+
/**
|
|
847
|
+
* Manifest digest for pulling by digest.
|
|
848
|
+
*/
|
|
849
|
+
digest: string;
|
|
850
|
+
/**
|
|
851
|
+
* Media type of the manifest.
|
|
852
|
+
*/
|
|
853
|
+
mediaType?: string;
|
|
854
|
+
/**
|
|
855
|
+
* Manifest config metadata.
|
|
856
|
+
*/
|
|
857
|
+
config?: {
|
|
858
|
+
/**
|
|
859
|
+
* Size of the config in bytes.
|
|
860
|
+
*/
|
|
861
|
+
size: number;
|
|
862
|
+
};
|
|
863
|
+
/**
|
|
864
|
+
* Array of layer metadata.
|
|
865
|
+
*/
|
|
866
|
+
layers?: Array<{
|
|
867
|
+
/**
|
|
868
|
+
* Digest of the layer.
|
|
869
|
+
*/
|
|
870
|
+
digest?: string;
|
|
871
|
+
/**
|
|
872
|
+
* Size of the layer in bytes.
|
|
873
|
+
*/
|
|
874
|
+
size: number;
|
|
875
|
+
}>;
|
|
876
|
+
/**
|
|
877
|
+
* Array of manifests for multi-arch images.
|
|
878
|
+
*/
|
|
879
|
+
manifests?: Array<{
|
|
880
|
+
/**
|
|
881
|
+
* Digest of the manifest.
|
|
882
|
+
*/
|
|
883
|
+
digest: string;
|
|
884
|
+
/**
|
|
885
|
+
* Platform information for the manifest.
|
|
886
|
+
*/
|
|
887
|
+
platform?: {
|
|
888
|
+
/**
|
|
889
|
+
* Architecture of the platform.
|
|
890
|
+
*/
|
|
891
|
+
architecture: string;
|
|
892
|
+
/**
|
|
893
|
+
* Operating system of the platform.
|
|
894
|
+
*/
|
|
895
|
+
os: string;
|
|
896
|
+
/**
|
|
897
|
+
* Variant of the platform (e.g., v7, v8 for ARM).
|
|
898
|
+
*/
|
|
899
|
+
variant?: string;
|
|
900
|
+
};
|
|
901
|
+
/**
|
|
902
|
+
* Layers for this platform.
|
|
903
|
+
*/
|
|
904
|
+
layers?: Array<{
|
|
905
|
+
/**
|
|
906
|
+
* Digest of the layer.
|
|
907
|
+
*/
|
|
908
|
+
digest?: string;
|
|
909
|
+
/**
|
|
910
|
+
* Size of the layer in bytes.
|
|
911
|
+
*/
|
|
912
|
+
size: number;
|
|
913
|
+
}>;
|
|
914
|
+
/**
|
|
915
|
+
* Total size of this platform manifest in bytes.
|
|
916
|
+
*/
|
|
917
|
+
size?: number;
|
|
918
|
+
}>;
|
|
919
|
+
/**
|
|
920
|
+
* Total size of the tag in bytes.
|
|
921
|
+
*/
|
|
922
|
+
size: number;
|
|
923
|
+
/**
|
|
924
|
+
* Registry region.
|
|
925
|
+
*/
|
|
926
|
+
region: string;
|
|
927
|
+
/**
|
|
928
|
+
* Repository name.
|
|
929
|
+
*/
|
|
930
|
+
repository: string;
|
|
931
|
+
/**
|
|
932
|
+
* Full URI of the tag.
|
|
933
|
+
*/
|
|
934
|
+
uri: string;
|
|
935
|
+
};
|
|
936
|
+
export type TicketAttachment = {
|
|
937
|
+
/**
|
|
938
|
+
* Unique identifier of the attachment (Mongo ObjectId).
|
|
939
|
+
*/
|
|
940
|
+
id: string;
|
|
941
|
+
/**
|
|
942
|
+
* Original filename as uploaded.
|
|
943
|
+
*/
|
|
944
|
+
filename: string;
|
|
945
|
+
/**
|
|
946
|
+
* MIME content type of the attachment.
|
|
947
|
+
*/
|
|
948
|
+
content_type: string;
|
|
949
|
+
/**
|
|
950
|
+
* Size of the attachment in bytes.
|
|
951
|
+
*/
|
|
952
|
+
size: number;
|
|
953
|
+
};
|
|
954
|
+
export type TicketCreateInput = {
|
|
955
|
+
/**
|
|
956
|
+
* Ticket category. Drives auto-assignment and may carry a subcategory in `properties`.
|
|
957
|
+
*/
|
|
958
|
+
category: 'billing' | 'technical' | 'general';
|
|
959
|
+
/**
|
|
960
|
+
* Initial message body in markdown. There is no separate subject — the first message body is the description.
|
|
961
|
+
*/
|
|
962
|
+
body: string;
|
|
963
|
+
/**
|
|
964
|
+
* Free-form key/value bag set by the UI (e.g. `subcategory`, `cluster_id`, `cluster_name`, `region`).
|
|
965
|
+
*/
|
|
966
|
+
properties?: {
|
|
967
|
+
[key: string]: unknown;
|
|
968
|
+
};
|
|
969
|
+
};
|
|
970
|
+
export type TicketListResponse = {
|
|
971
|
+
/**
|
|
972
|
+
* Tickets for the organization, ordered newest first. Messages are omitted from list responses.
|
|
973
|
+
*/
|
|
974
|
+
items: Array<{
|
|
975
|
+
/**
|
|
976
|
+
* Unique identifier of the ticket (Mongo ObjectId).
|
|
977
|
+
*/
|
|
978
|
+
id: string;
|
|
979
|
+
/**
|
|
980
|
+
* Current state of the ticket.
|
|
981
|
+
*/
|
|
982
|
+
status: 'waiting_on_us' | 'waiting_on_user' | 'closed';
|
|
983
|
+
/**
|
|
984
|
+
* Ticket category.
|
|
985
|
+
*/
|
|
986
|
+
category: 'billing' | 'technical' | 'general';
|
|
987
|
+
/**
|
|
988
|
+
* First 128 characters of the initial message body, with markdown formatting and newlines stripped. Used for ticket list previews.
|
|
989
|
+
*/
|
|
990
|
+
summary: string;
|
|
991
|
+
/**
|
|
992
|
+
* Closure timestamp. Null while the ticket is open.
|
|
993
|
+
*/
|
|
994
|
+
closed_at?: string;
|
|
995
|
+
/**
|
|
996
|
+
* Creation date of the ticket. ISO 8601 UTC.
|
|
997
|
+
*/
|
|
998
|
+
date_created: string;
|
|
999
|
+
/**
|
|
1000
|
+
* Last update date of the ticket. ISO 8601 UTC.
|
|
1001
|
+
*/
|
|
1002
|
+
date_updated: string;
|
|
1003
|
+
/**
|
|
1004
|
+
* Messages on the ticket in chronological order. Internal notes are excluded. Returned by the detail endpoint only.
|
|
1005
|
+
*/
|
|
1006
|
+
messages?: Array<{
|
|
1007
|
+
/**
|
|
1008
|
+
* Unique identifier of the message (Mongo ObjectId).
|
|
1009
|
+
*/
|
|
1010
|
+
id: string;
|
|
1011
|
+
/**
|
|
1012
|
+
* Message type. Internal notes are filtered out of customer-facing responses.
|
|
1013
|
+
*/
|
|
1014
|
+
type: 'customer_reply' | 'agent_reply';
|
|
1015
|
+
/**
|
|
1016
|
+
* Message body in markdown.
|
|
1017
|
+
*/
|
|
1018
|
+
body: string;
|
|
1019
|
+
/**
|
|
1020
|
+
* First name of the author. Null when not provided.
|
|
1021
|
+
*/
|
|
1022
|
+
author_first_name?: string;
|
|
1023
|
+
/**
|
|
1024
|
+
* Last name of the author. Null when not provided.
|
|
1025
|
+
*/
|
|
1026
|
+
author_last_name?: string;
|
|
1027
|
+
/**
|
|
1028
|
+
* Attachments associated with this message.
|
|
1029
|
+
*/
|
|
1030
|
+
attachments?: Array<{
|
|
1031
|
+
/**
|
|
1032
|
+
* Unique identifier of the attachment (Mongo ObjectId).
|
|
1033
|
+
*/
|
|
1034
|
+
id: string;
|
|
1035
|
+
/**
|
|
1036
|
+
* Original filename as uploaded.
|
|
1037
|
+
*/
|
|
1038
|
+
filename: string;
|
|
1039
|
+
/**
|
|
1040
|
+
* MIME content type of the attachment.
|
|
1041
|
+
*/
|
|
1042
|
+
content_type: string;
|
|
1043
|
+
/**
|
|
1044
|
+
* Size of the attachment in bytes.
|
|
1045
|
+
*/
|
|
1046
|
+
size: number;
|
|
1047
|
+
}>;
|
|
1048
|
+
/**
|
|
1049
|
+
* Creation date of the message. ISO 8601 UTC.
|
|
1050
|
+
*/
|
|
1051
|
+
date_created: string;
|
|
1052
|
+
}>;
|
|
1053
|
+
}>;
|
|
1054
|
+
};
|
|
1055
|
+
export type TicketMessageInput = {
|
|
1056
|
+
/**
|
|
1057
|
+
* Reply body in markdown.
|
|
1058
|
+
*/
|
|
1059
|
+
body: string;
|
|
1060
|
+
};
|
|
1061
|
+
export type TicketMessage = {
|
|
1062
|
+
/**
|
|
1063
|
+
* Unique identifier of the message (Mongo ObjectId).
|
|
1064
|
+
*/
|
|
1065
|
+
id: string;
|
|
1066
|
+
/**
|
|
1067
|
+
* Message type. Internal notes are filtered out of customer-facing responses.
|
|
1068
|
+
*/
|
|
1069
|
+
type: 'customer_reply' | 'agent_reply';
|
|
1070
|
+
/**
|
|
1071
|
+
* Message body in markdown.
|
|
1072
|
+
*/
|
|
1073
|
+
body: string;
|
|
1074
|
+
/**
|
|
1075
|
+
* First name of the author. Null when not provided.
|
|
1076
|
+
*/
|
|
1077
|
+
author_first_name?: string;
|
|
1078
|
+
/**
|
|
1079
|
+
* Last name of the author. Null when not provided.
|
|
1080
|
+
*/
|
|
1081
|
+
author_last_name?: string;
|
|
1082
|
+
/**
|
|
1083
|
+
* Attachments associated with this message.
|
|
1084
|
+
*/
|
|
1085
|
+
attachments?: Array<{
|
|
1086
|
+
/**
|
|
1087
|
+
* Unique identifier of the attachment (Mongo ObjectId).
|
|
1088
|
+
*/
|
|
1089
|
+
id: string;
|
|
1090
|
+
/**
|
|
1091
|
+
* Original filename as uploaded.
|
|
1092
|
+
*/
|
|
1093
|
+
filename: string;
|
|
1094
|
+
/**
|
|
1095
|
+
* MIME content type of the attachment.
|
|
1096
|
+
*/
|
|
1097
|
+
content_type: string;
|
|
1098
|
+
/**
|
|
1099
|
+
* Size of the attachment in bytes.
|
|
1100
|
+
*/
|
|
1101
|
+
size: number;
|
|
1102
|
+
}>;
|
|
1103
|
+
/**
|
|
1104
|
+
* Creation date of the message. ISO 8601 UTC.
|
|
1105
|
+
*/
|
|
1106
|
+
date_created: string;
|
|
1107
|
+
};
|
|
1108
|
+
export type Ticket = {
|
|
1109
|
+
/**
|
|
1110
|
+
* Unique identifier of the ticket (Mongo ObjectId).
|
|
1111
|
+
*/
|
|
1112
|
+
id: string;
|
|
1113
|
+
/**
|
|
1114
|
+
* Current state of the ticket.
|
|
1115
|
+
*/
|
|
1116
|
+
status: 'waiting_on_us' | 'waiting_on_user' | 'closed';
|
|
1117
|
+
/**
|
|
1118
|
+
* Ticket category.
|
|
1119
|
+
*/
|
|
1120
|
+
category: 'billing' | 'technical' | 'general';
|
|
1121
|
+
/**
|
|
1122
|
+
* First 128 characters of the initial message body, with markdown formatting and newlines stripped. Used for ticket list previews.
|
|
1123
|
+
*/
|
|
1124
|
+
summary: string;
|
|
1125
|
+
/**
|
|
1126
|
+
* Closure timestamp. Null while the ticket is open.
|
|
1127
|
+
*/
|
|
1128
|
+
closed_at?: string;
|
|
1129
|
+
/**
|
|
1130
|
+
* Creation date of the ticket. ISO 8601 UTC.
|
|
1131
|
+
*/
|
|
1132
|
+
date_created: string;
|
|
1133
|
+
/**
|
|
1134
|
+
* Last update date of the ticket. ISO 8601 UTC.
|
|
1135
|
+
*/
|
|
1136
|
+
date_updated: string;
|
|
1137
|
+
/**
|
|
1138
|
+
* Messages on the ticket in chronological order. Internal notes are excluded. Returned by the detail endpoint only.
|
|
1139
|
+
*/
|
|
1140
|
+
messages?: Array<{
|
|
1141
|
+
/**
|
|
1142
|
+
* Unique identifier of the message (Mongo ObjectId).
|
|
1143
|
+
*/
|
|
1144
|
+
id: string;
|
|
1145
|
+
/**
|
|
1146
|
+
* Message type. Internal notes are filtered out of customer-facing responses.
|
|
1147
|
+
*/
|
|
1148
|
+
type: 'customer_reply' | 'agent_reply';
|
|
1149
|
+
/**
|
|
1150
|
+
* Message body in markdown.
|
|
1151
|
+
*/
|
|
1152
|
+
body: string;
|
|
1153
|
+
/**
|
|
1154
|
+
* First name of the author. Null when not provided.
|
|
1155
|
+
*/
|
|
1156
|
+
author_first_name?: string;
|
|
1157
|
+
/**
|
|
1158
|
+
* Last name of the author. Null when not provided.
|
|
1159
|
+
*/
|
|
1160
|
+
author_last_name?: string;
|
|
1161
|
+
/**
|
|
1162
|
+
* Attachments associated with this message.
|
|
1163
|
+
*/
|
|
1164
|
+
attachments?: Array<{
|
|
1165
|
+
/**
|
|
1166
|
+
* Unique identifier of the attachment (Mongo ObjectId).
|
|
1167
|
+
*/
|
|
1168
|
+
id: string;
|
|
1169
|
+
/**
|
|
1170
|
+
* Original filename as uploaded.
|
|
1171
|
+
*/
|
|
1172
|
+
filename: string;
|
|
1173
|
+
/**
|
|
1174
|
+
* MIME content type of the attachment.
|
|
1175
|
+
*/
|
|
1176
|
+
content_type: string;
|
|
1177
|
+
/**
|
|
1178
|
+
* Size of the attachment in bytes.
|
|
1179
|
+
*/
|
|
1180
|
+
size: number;
|
|
1181
|
+
}>;
|
|
1182
|
+
/**
|
|
1183
|
+
* Creation date of the message. ISO 8601 UTC.
|
|
1184
|
+
*/
|
|
1185
|
+
date_created: string;
|
|
1186
|
+
}>;
|
|
1187
|
+
};
|
|
817
1188
|
export type TokenCreateInput = {
|
|
818
1189
|
/**
|
|
819
1190
|
* Human readable access token name.
|
|
@@ -856,35 +1227,85 @@ export type TokenUpdateInput = {
|
|
|
856
1227
|
*/
|
|
857
1228
|
role?: 'Administrator' | 'User';
|
|
858
1229
|
};
|
|
1230
|
+
export type UsageFacets = {
|
|
1231
|
+
/**
|
|
1232
|
+
* List of unique cluster IDs
|
|
1233
|
+
*/
|
|
1234
|
+
cluster_id?: Array<string>;
|
|
1235
|
+
/**
|
|
1236
|
+
* List of unique products
|
|
1237
|
+
*/
|
|
1238
|
+
product?: Array<string>;
|
|
1239
|
+
};
|
|
1240
|
+
export type UsageResponse = {
|
|
1241
|
+
/**
|
|
1242
|
+
* Usage data
|
|
1243
|
+
*/
|
|
1244
|
+
data: Array<{
|
|
1245
|
+
/**
|
|
1246
|
+
* Hour of the usage
|
|
1247
|
+
*/
|
|
1248
|
+
hour: string;
|
|
1249
|
+
/**
|
|
1250
|
+
* Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
|
|
1251
|
+
*/
|
|
1252
|
+
cluster_id: string;
|
|
1253
|
+
/**
|
|
1254
|
+
* The product the usage is associated with
|
|
1255
|
+
*/
|
|
1256
|
+
product: string;
|
|
1257
|
+
/**
|
|
1258
|
+
* Consumption
|
|
1259
|
+
*/
|
|
1260
|
+
value: number;
|
|
1261
|
+
/**
|
|
1262
|
+
* Price per unit
|
|
1263
|
+
*/
|
|
1264
|
+
price: number;
|
|
1265
|
+
/**
|
|
1266
|
+
* Total cost
|
|
1267
|
+
*/
|
|
1268
|
+
total: number;
|
|
1269
|
+
}>;
|
|
1270
|
+
/**
|
|
1271
|
+
* Facets for filtering
|
|
1272
|
+
*/
|
|
1273
|
+
facets: {
|
|
1274
|
+
/**
|
|
1275
|
+
* List of unique cluster IDs
|
|
1276
|
+
*/
|
|
1277
|
+
cluster_id?: Array<string>;
|
|
1278
|
+
/**
|
|
1279
|
+
* List of unique products
|
|
1280
|
+
*/
|
|
1281
|
+
product?: Array<string>;
|
|
1282
|
+
};
|
|
1283
|
+
};
|
|
859
1284
|
export type Usage = {
|
|
860
1285
|
/**
|
|
861
1286
|
* Hour of the usage
|
|
862
1287
|
*/
|
|
863
|
-
hour
|
|
1288
|
+
hour: string;
|
|
864
1289
|
/**
|
|
865
1290
|
* Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
|
|
866
1291
|
*/
|
|
867
1292
|
cluster_id: string;
|
|
868
1293
|
/**
|
|
869
|
-
*
|
|
1294
|
+
* The product the usage is associated with
|
|
870
1295
|
*/
|
|
871
|
-
|
|
1296
|
+
product: string;
|
|
872
1297
|
/**
|
|
873
|
-
*
|
|
1298
|
+
* Consumption
|
|
874
1299
|
*/
|
|
875
|
-
|
|
1300
|
+
value: number;
|
|
876
1301
|
/**
|
|
877
|
-
*
|
|
1302
|
+
* Price per unit
|
|
878
1303
|
*/
|
|
879
|
-
|
|
1304
|
+
price: number;
|
|
880
1305
|
/**
|
|
881
|
-
*
|
|
1306
|
+
* Total cost
|
|
882
1307
|
*/
|
|
883
|
-
|
|
884
|
-
cpu: number | '';
|
|
885
|
-
price: number | '';
|
|
886
|
-
value: number | '';
|
|
887
|
-
total: number | '';
|
|
1308
|
+
total: number;
|
|
888
1309
|
};
|
|
889
1310
|
export type UserCreateInput = {
|
|
890
1311
|
/**
|
|
@@ -971,7 +1392,12 @@ export type UserUpdateInput = {
|
|
|
971
1392
|
export type GetUsageData = {
|
|
972
1393
|
body?: never;
|
|
973
1394
|
path?: never;
|
|
974
|
-
query?:
|
|
1395
|
+
query?: {
|
|
1396
|
+
/**
|
|
1397
|
+
* Time granularity for usage aggregation - hourly (Past 48 hours aggregated by hour), daily (Past 30 days aggregated by day), monthly (Past 12 months aggregated by month)
|
|
1398
|
+
*/
|
|
1399
|
+
granularity?: 'hourly' | 'daily' | 'monthly';
|
|
1400
|
+
};
|
|
975
1401
|
url: '/billing/usage';
|
|
976
1402
|
};
|
|
977
1403
|
export type GetUsageErrors = {
|
|
@@ -982,24 +1408,11 @@ export type GetUsageErrors = {
|
|
|
982
1408
|
};
|
|
983
1409
|
export type GetUsageResponses = {
|
|
984
1410
|
/**
|
|
985
|
-
*
|
|
1411
|
+
* Usage data with facets for filtering
|
|
986
1412
|
*/
|
|
987
|
-
200:
|
|
1413
|
+
200: UsageResponse;
|
|
988
1414
|
};
|
|
989
1415
|
export type GetUsageResponse = GetUsageResponses[keyof GetUsageResponses];
|
|
990
|
-
export type GetBalanceData = {
|
|
991
|
-
body?: never;
|
|
992
|
-
path?: never;
|
|
993
|
-
query?: never;
|
|
994
|
-
url: '/billing/balance';
|
|
995
|
-
};
|
|
996
|
-
export type GetBalanceResponses = {
|
|
997
|
-
/**
|
|
998
|
-
* Current balance of the organization in USD as a floating-point number.
|
|
999
|
-
*/
|
|
1000
|
-
200: number;
|
|
1001
|
-
};
|
|
1002
|
-
export type GetBalanceResponse = GetBalanceResponses[keyof GetBalanceResponses];
|
|
1003
1416
|
export type GetPaymentMethodData = {
|
|
1004
1417
|
body?: never;
|
|
1005
1418
|
path?: never;
|
|
@@ -1041,16 +1454,7 @@ export type GetPaymentMethodSecretResponse = GetPaymentMethodSecretResponses[key
|
|
|
1041
1454
|
export type ListInvoicesData = {
|
|
1042
1455
|
body?: never;
|
|
1043
1456
|
path?: never;
|
|
1044
|
-
query
|
|
1045
|
-
/**
|
|
1046
|
-
* Start date for the usage. Date of oldest data point to retrieve.
|
|
1047
|
-
*/
|
|
1048
|
-
start_date: string;
|
|
1049
|
-
/**
|
|
1050
|
-
* End date for the usage. Date of newest data point to retrieve.
|
|
1051
|
-
*/
|
|
1052
|
-
end_date: string;
|
|
1053
|
-
};
|
|
1457
|
+
query?: never;
|
|
1054
1458
|
url: '/billing/invoices';
|
|
1055
1459
|
};
|
|
1056
1460
|
export type ListInvoicesErrors = {
|
|
@@ -1066,26 +1470,6 @@ export type ListInvoicesResponses = {
|
|
|
1066
1470
|
200: Array<Invoice>;
|
|
1067
1471
|
};
|
|
1068
1472
|
export type ListInvoicesResponse = ListInvoicesResponses[keyof ListInvoicesResponses];
|
|
1069
|
-
export type GetInvoiceData = {
|
|
1070
|
-
body?: never;
|
|
1071
|
-
path: {
|
|
1072
|
-
/**
|
|
1073
|
-
* Unique invoice identifier. UUID v4 string in canonical form
|
|
1074
|
-
*/
|
|
1075
|
-
id: string;
|
|
1076
|
-
};
|
|
1077
|
-
query?: never;
|
|
1078
|
-
url: '/billing/invoices/{id}';
|
|
1079
|
-
};
|
|
1080
|
-
export type GetInvoiceResponses = {
|
|
1081
|
-
/**
|
|
1082
|
-
* Returns a single Invoice HTML representation under `html` property.
|
|
1083
|
-
*/
|
|
1084
|
-
200: {
|
|
1085
|
-
html?: string;
|
|
1086
|
-
};
|
|
1087
|
-
};
|
|
1088
|
-
export type GetInvoiceResponse = GetInvoiceResponses[keyof GetInvoiceResponses];
|
|
1089
1473
|
export type GetContactData = {
|
|
1090
1474
|
body?: never;
|
|
1091
1475
|
path?: never;
|
|
@@ -1521,7 +1905,7 @@ export type GetJoinInformationResponses = {
|
|
|
1521
1905
|
/**
|
|
1522
1906
|
* An object of cluster join information
|
|
1523
1907
|
*/
|
|
1524
|
-
200:
|
|
1908
|
+
200: ClusterJoinInformation;
|
|
1525
1909
|
};
|
|
1526
1910
|
export type GetJoinInformationResponse = GetJoinInformationResponses[keyof GetJoinInformationResponses];
|
|
1527
1911
|
export type ListInvitesData = {
|
|
@@ -1615,24 +1999,76 @@ export type ListMarketplaceChartsResponses = {
|
|
|
1615
1999
|
200: Array<MarketplaceListing>;
|
|
1616
2000
|
};
|
|
1617
2001
|
export type ListMarketplaceChartsResponse = ListMarketplaceChartsResponses[keyof ListMarketplaceChartsResponses];
|
|
1618
|
-
export type
|
|
2002
|
+
export type GetMarketplaceChartFilesData = {
|
|
1619
2003
|
body?: never;
|
|
1620
2004
|
path: {
|
|
1621
2005
|
/**
|
|
1622
|
-
*
|
|
2006
|
+
* Name of the chart in the marketplace.
|
|
2007
|
+
*/
|
|
2008
|
+
chart_name: string;
|
|
2009
|
+
/**
|
|
2010
|
+
* Version channel pattern to match (e.g., "1.31.x-cfke.x" for latest 1.31 patch, "1.x.x-cfke.x" for latest 1.x minor).
|
|
2011
|
+
*/
|
|
2012
|
+
version_channel: string;
|
|
2013
|
+
};
|
|
2014
|
+
query?: never;
|
|
2015
|
+
url: '/marketplace/{chart_name}/files/{version_channel}';
|
|
2016
|
+
};
|
|
2017
|
+
export type GetMarketplaceChartFilesErrors = {
|
|
2018
|
+
/**
|
|
2019
|
+
* Chart not found or no version matches the channel
|
|
2020
|
+
*/
|
|
2021
|
+
404: unknown;
|
|
2022
|
+
};
|
|
2023
|
+
export type GetMarketplaceChartFilesResponses = {
|
|
2024
|
+
/**
|
|
2025
|
+
* Returns an object containing the chart files for the latest matching version.
|
|
2026
|
+
*/
|
|
2027
|
+
200: MarketplaceListingFiles;
|
|
2028
|
+
};
|
|
2029
|
+
export type GetMarketplaceChartFilesResponse = GetMarketplaceChartFilesResponses[keyof GetMarketplaceChartFilesResponses];
|
|
2030
|
+
export type PostMcpData = {
|
|
2031
|
+
/**
|
|
2032
|
+
* JSON-RPC 2.0 request payload
|
|
2033
|
+
*/
|
|
2034
|
+
body: {
|
|
2035
|
+
jsonrpc?: string;
|
|
2036
|
+
method?: string;
|
|
2037
|
+
id?: string | number;
|
|
2038
|
+
/**
|
|
2039
|
+
* Method-specific parameters
|
|
1623
2040
|
*/
|
|
1624
|
-
|
|
2041
|
+
params?: {
|
|
2042
|
+
[key: string]: unknown;
|
|
2043
|
+
};
|
|
1625
2044
|
};
|
|
2045
|
+
path?: never;
|
|
1626
2046
|
query?: never;
|
|
1627
|
-
url: '/
|
|
2047
|
+
url: '/mcp';
|
|
2048
|
+
};
|
|
2049
|
+
export type PostMcpErrors = {
|
|
2050
|
+
/**
|
|
2051
|
+
* Not authenticated
|
|
2052
|
+
*/
|
|
2053
|
+
401: unknown;
|
|
1628
2054
|
};
|
|
1629
|
-
export type
|
|
2055
|
+
export type PostMcpResponses = {
|
|
1630
2056
|
/**
|
|
1631
|
-
*
|
|
2057
|
+
* JSON-RPC 2.0 success or error response
|
|
1632
2058
|
*/
|
|
1633
|
-
200:
|
|
2059
|
+
200: {
|
|
2060
|
+
jsonrpc?: string;
|
|
2061
|
+
id?: string | number;
|
|
2062
|
+
result?: {
|
|
2063
|
+
[key: string]: unknown;
|
|
2064
|
+
};
|
|
2065
|
+
error?: {
|
|
2066
|
+
code?: number;
|
|
2067
|
+
message?: string;
|
|
2068
|
+
};
|
|
2069
|
+
};
|
|
1634
2070
|
};
|
|
1635
|
-
export type
|
|
2071
|
+
export type PostMcpResponse = PostMcpResponses[keyof PostMcpResponses];
|
|
1636
2072
|
export type GetOrganizationData = {
|
|
1637
2073
|
body?: never;
|
|
1638
2074
|
path?: never;
|
|
@@ -1658,6 +2094,249 @@ export type CreateOrganizationResponses = {
|
|
|
1658
2094
|
*/
|
|
1659
2095
|
200: unknown;
|
|
1660
2096
|
};
|
|
2097
|
+
export type ListRepositoriesData = {
|
|
2098
|
+
body?: never;
|
|
2099
|
+
path?: never;
|
|
2100
|
+
query?: never;
|
|
2101
|
+
url: '/registry';
|
|
2102
|
+
};
|
|
2103
|
+
export type ListRepositoriesErrors = {
|
|
2104
|
+
/**
|
|
2105
|
+
* Not authenticated
|
|
2106
|
+
*/
|
|
2107
|
+
401: unknown;
|
|
2108
|
+
/**
|
|
2109
|
+
* Internal server error
|
|
2110
|
+
*/
|
|
2111
|
+
500: unknown;
|
|
2112
|
+
};
|
|
2113
|
+
export type ListRepositoriesResponses = {
|
|
2114
|
+
/**
|
|
2115
|
+
* List of repositories
|
|
2116
|
+
*/
|
|
2117
|
+
200: Array<RegistryRepository>;
|
|
2118
|
+
};
|
|
2119
|
+
export type ListRepositoriesResponse = ListRepositoriesResponses[keyof ListRepositoriesResponses];
|
|
2120
|
+
export type ListTagsData = {
|
|
2121
|
+
body?: never;
|
|
2122
|
+
path: {
|
|
2123
|
+
/**
|
|
2124
|
+
* Region where the repository is located
|
|
2125
|
+
*/
|
|
2126
|
+
region: string;
|
|
2127
|
+
/**
|
|
2128
|
+
* Name of the repository
|
|
2129
|
+
*/
|
|
2130
|
+
repository: string;
|
|
2131
|
+
};
|
|
2132
|
+
query?: never;
|
|
2133
|
+
url: '/registry/{region}/{repository}';
|
|
2134
|
+
};
|
|
2135
|
+
export type ListTagsErrors = {
|
|
2136
|
+
/**
|
|
2137
|
+
* Not authenticated
|
|
2138
|
+
*/
|
|
2139
|
+
401: unknown;
|
|
2140
|
+
/**
|
|
2141
|
+
* Repository not found
|
|
2142
|
+
*/
|
|
2143
|
+
404: unknown;
|
|
2144
|
+
/**
|
|
2145
|
+
* Internal server error
|
|
2146
|
+
*/
|
|
2147
|
+
500: unknown;
|
|
2148
|
+
};
|
|
2149
|
+
export type ListTagsResponses = {
|
|
2150
|
+
/**
|
|
2151
|
+
* Repository with tags
|
|
2152
|
+
*/
|
|
2153
|
+
200: RegistryRepositoryWithTags;
|
|
2154
|
+
};
|
|
2155
|
+
export type ListTagsResponse = ListTagsResponses[keyof ListTagsResponses];
|
|
2156
|
+
export type DeleteTagData = {
|
|
2157
|
+
body?: never;
|
|
2158
|
+
path: {
|
|
2159
|
+
/**
|
|
2160
|
+
* Region where the repository is located
|
|
2161
|
+
*/
|
|
2162
|
+
region: string;
|
|
2163
|
+
/**
|
|
2164
|
+
* Name of the repository
|
|
2165
|
+
*/
|
|
2166
|
+
repository: string;
|
|
2167
|
+
/**
|
|
2168
|
+
* Name of the tag
|
|
2169
|
+
*/
|
|
2170
|
+
tag: string;
|
|
2171
|
+
};
|
|
2172
|
+
query?: never;
|
|
2173
|
+
url: '/registry/{region}/{repository}/{tag}';
|
|
2174
|
+
};
|
|
2175
|
+
export type DeleteTagErrors = {
|
|
2176
|
+
/**
|
|
2177
|
+
* Not authenticated
|
|
2178
|
+
*/
|
|
2179
|
+
401: unknown;
|
|
2180
|
+
/**
|
|
2181
|
+
* Tag not found
|
|
2182
|
+
*/
|
|
2183
|
+
404: unknown;
|
|
2184
|
+
/**
|
|
2185
|
+
* Internal server error
|
|
2186
|
+
*/
|
|
2187
|
+
500: unknown;
|
|
2188
|
+
};
|
|
2189
|
+
export type DeleteTagResponses = {
|
|
2190
|
+
/**
|
|
2191
|
+
* Tag successfully deleted
|
|
2192
|
+
*/
|
|
2193
|
+
200: unknown;
|
|
2194
|
+
};
|
|
2195
|
+
export type GetTagData = {
|
|
2196
|
+
body?: never;
|
|
2197
|
+
path: {
|
|
2198
|
+
/**
|
|
2199
|
+
* Region where the repository is located
|
|
2200
|
+
*/
|
|
2201
|
+
region: string;
|
|
2202
|
+
/**
|
|
2203
|
+
* Name of the repository
|
|
2204
|
+
*/
|
|
2205
|
+
repository: string;
|
|
2206
|
+
/**
|
|
2207
|
+
* Name of the tag
|
|
2208
|
+
*/
|
|
2209
|
+
tag: string;
|
|
2210
|
+
};
|
|
2211
|
+
query?: never;
|
|
2212
|
+
url: '/registry/{region}/{repository}/{tag}';
|
|
2213
|
+
};
|
|
2214
|
+
export type GetTagErrors = {
|
|
2215
|
+
/**
|
|
2216
|
+
* Not authenticated
|
|
2217
|
+
*/
|
|
2218
|
+
401: unknown;
|
|
2219
|
+
/**
|
|
2220
|
+
* Tag not found
|
|
2221
|
+
*/
|
|
2222
|
+
404: unknown;
|
|
2223
|
+
/**
|
|
2224
|
+
* Internal server error
|
|
2225
|
+
*/
|
|
2226
|
+
500: unknown;
|
|
2227
|
+
};
|
|
2228
|
+
export type GetTagResponses = {
|
|
2229
|
+
/**
|
|
2230
|
+
* Tag details
|
|
2231
|
+
*/
|
|
2232
|
+
200: RegistryTag;
|
|
2233
|
+
};
|
|
2234
|
+
export type GetTagResponse = GetTagResponses[keyof GetTagResponses];
|
|
2235
|
+
export type ListTicketsData = {
|
|
2236
|
+
body?: never;
|
|
2237
|
+
path?: never;
|
|
2238
|
+
query?: never;
|
|
2239
|
+
url: '/tickets';
|
|
2240
|
+
};
|
|
2241
|
+
export type ListTicketsResponses = {
|
|
2242
|
+
/**
|
|
2243
|
+
* Tickets for the organization.
|
|
2244
|
+
*/
|
|
2245
|
+
200: TicketListResponse;
|
|
2246
|
+
};
|
|
2247
|
+
export type ListTicketsResponse = ListTicketsResponses[keyof ListTicketsResponses];
|
|
2248
|
+
export type CreateTicketData = {
|
|
2249
|
+
body: {
|
|
2250
|
+
/**
|
|
2251
|
+
* JSON-encoded TicketCreateInput.
|
|
2252
|
+
*/
|
|
2253
|
+
payload?: string;
|
|
2254
|
+
attachments?: Array<Blob | File>;
|
|
2255
|
+
};
|
|
2256
|
+
path?: never;
|
|
2257
|
+
query?: never;
|
|
2258
|
+
url: '/tickets';
|
|
2259
|
+
};
|
|
2260
|
+
export type CreateTicketResponses = {
|
|
2261
|
+
/**
|
|
2262
|
+
* Ticket created.
|
|
2263
|
+
*/
|
|
2264
|
+
200: Ticket;
|
|
2265
|
+
};
|
|
2266
|
+
export type CreateTicketResponse = CreateTicketResponses[keyof CreateTicketResponses];
|
|
2267
|
+
export type CloseTicketData = {
|
|
2268
|
+
body?: never;
|
|
2269
|
+
path: {
|
|
2270
|
+
ticket_id: string;
|
|
2271
|
+
};
|
|
2272
|
+
query?: never;
|
|
2273
|
+
url: '/tickets/{ticket_id}';
|
|
2274
|
+
};
|
|
2275
|
+
export type CloseTicketResponses = {
|
|
2276
|
+
/**
|
|
2277
|
+
* Ticket closed.
|
|
2278
|
+
*/
|
|
2279
|
+
200: Ticket;
|
|
2280
|
+
};
|
|
2281
|
+
export type CloseTicketResponse = CloseTicketResponses[keyof CloseTicketResponses];
|
|
2282
|
+
export type GetTicketData = {
|
|
2283
|
+
body?: never;
|
|
2284
|
+
path: {
|
|
2285
|
+
ticket_id: string;
|
|
2286
|
+
};
|
|
2287
|
+
query?: never;
|
|
2288
|
+
url: '/tickets/{ticket_id}';
|
|
2289
|
+
};
|
|
2290
|
+
export type GetTicketResponses = {
|
|
2291
|
+
/**
|
|
2292
|
+
* Ticket with messages (internal notes excluded).
|
|
2293
|
+
*/
|
|
2294
|
+
200: Ticket;
|
|
2295
|
+
};
|
|
2296
|
+
export type GetTicketResponse = GetTicketResponses[keyof GetTicketResponses];
|
|
2297
|
+
export type ReplyTicketData = {
|
|
2298
|
+
body: {
|
|
2299
|
+
/**
|
|
2300
|
+
* JSON-encoded TicketMessageInput.
|
|
2301
|
+
*/
|
|
2302
|
+
payload?: string;
|
|
2303
|
+
attachments?: Array<Blob | File>;
|
|
2304
|
+
};
|
|
2305
|
+
path: {
|
|
2306
|
+
ticket_id: string;
|
|
2307
|
+
};
|
|
2308
|
+
query?: never;
|
|
2309
|
+
url: '/tickets/{ticket_id}/messages';
|
|
2310
|
+
};
|
|
2311
|
+
export type ReplyTicketErrors = {
|
|
2312
|
+
/**
|
|
2313
|
+
* Ticket is closed. Open a new ticket instead.
|
|
2314
|
+
*/
|
|
2315
|
+
409: unknown;
|
|
2316
|
+
};
|
|
2317
|
+
export type ReplyTicketResponses = {
|
|
2318
|
+
/**
|
|
2319
|
+
* Reply appended.
|
|
2320
|
+
*/
|
|
2321
|
+
200: TicketMessage;
|
|
2322
|
+
};
|
|
2323
|
+
export type ReplyTicketResponse = ReplyTicketResponses[keyof ReplyTicketResponses];
|
|
2324
|
+
export type GetTicketAttachmentData = {
|
|
2325
|
+
body?: never;
|
|
2326
|
+
path: {
|
|
2327
|
+
ticket_id: string;
|
|
2328
|
+
attachment_id: string;
|
|
2329
|
+
};
|
|
2330
|
+
query?: never;
|
|
2331
|
+
url: '/tickets/{ticket_id}/attachments/{attachment_id}';
|
|
2332
|
+
};
|
|
2333
|
+
export type GetTicketAttachmentResponses = {
|
|
2334
|
+
/**
|
|
2335
|
+
* Attachment binary stream.
|
|
2336
|
+
*/
|
|
2337
|
+
200: Blob | File;
|
|
2338
|
+
};
|
|
2339
|
+
export type GetTicketAttachmentResponse = GetTicketAttachmentResponses[keyof GetTicketAttachmentResponses];
|
|
1661
2340
|
export type ListTokensData = {
|
|
1662
2341
|
body?: never;
|
|
1663
2342
|
path?: never;
|
|
@@ -1914,7 +2593,4 @@ export type UpdateUserResponses = {
|
|
|
1914
2593
|
200: User;
|
|
1915
2594
|
};
|
|
1916
2595
|
export type UpdateUserResponse = UpdateUserResponses[keyof UpdateUserResponses];
|
|
1917
|
-
export type ClientOptions = {
|
|
1918
|
-
baseUrl: 'https://api.cloudfleet.ai/v1' | (string & {});
|
|
1919
|
-
};
|
|
1920
2596
|
//# sourceMappingURL=types.gen.d.ts.map
|