@cloudfleet/sdk 0.0.1-f1d40ff → 0.0.1-f367cfd
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 +1156 -0
- package/dist/@tanstack/react-query.gen.d.ts.map +1 -0
- package/dist/@tanstack/react-query.gen.js +1148 -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 +1212 -558
- package/dist/schemas.gen.d.ts.map +1 -1
- package/dist/schemas.gen.js +2507 -652
- package/dist/schemas.gen.js.map +1 -1
- package/dist/sdk.gen.d.ts +137 -20
- package/dist/sdk.gen.d.ts.map +1 -1
- package/dist/sdk.gen.js +226 -164
- package/dist/sdk.gen.js.map +1 -1
- package/dist/services/kubernetes/api.d.ts +20 -20
- package/dist/types.gen.d.ts +1029 -334
- package/dist/types.gen.d.ts.map +1 -1
- package/dist/zod.gen.d.ts +3453 -3572
- package/dist/zod.gen.d.ts.map +1 -1
- package/dist/zod.gen.js +1162 -1037
- 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
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
first_name: string;
|
|
42
|
-
/**
|
|
43
|
-
* Last name of the billing contact person.
|
|
42
|
+
* Name of the billing contact person.
|
|
44
43
|
*/
|
|
45
|
-
|
|
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
|
*/
|
|
@@ -248,13 +247,9 @@ export type Cluster = {
|
|
|
248
247
|
*/
|
|
249
248
|
tier: 'basic' | 'pro';
|
|
250
249
|
/**
|
|
251
|
-
* 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.
|
|
252
251
|
*/
|
|
253
|
-
region?: 'staging' | 'northamerica-central-1' | 'europe-central-1a';
|
|
254
|
-
/**
|
|
255
|
-
* Version of the kubernetes cluster.
|
|
256
|
-
*/
|
|
257
|
-
version_channel?: string;
|
|
252
|
+
region?: 'staging-1a' | 'northamerica-central-1' | 'europe-central-1a' | 'northamerica-central-1a';
|
|
258
253
|
/**
|
|
259
254
|
* Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
|
|
260
255
|
*/
|
|
@@ -262,7 +257,7 @@ export type Cluster = {
|
|
|
262
257
|
/**
|
|
263
258
|
* Status of the cluster. When creating a new cluster, set to `active`. When deleting a clusters, set to `deleted`.
|
|
264
259
|
*/
|
|
265
|
-
status: 'active' | 'deleted' | 'creating' | 'deployed' | 'failed' | 'updating';
|
|
260
|
+
status: 'active' | 'disabled' | 'deleted' | 'creating' | 'deployed' | 'failed' | 'updating';
|
|
266
261
|
endpoint?: string | '';
|
|
267
262
|
/**
|
|
268
263
|
* Certificate authority data for the kubernetes cluster. This is the root certificate authority for the cluster.
|
|
@@ -284,6 +279,10 @@ export type Cluster = {
|
|
|
284
279
|
* Indicates if the cluster is ready to be used.
|
|
285
280
|
*/
|
|
286
281
|
ready?: boolean;
|
|
282
|
+
/**
|
|
283
|
+
* Version of the kubernetes cluster.
|
|
284
|
+
*/
|
|
285
|
+
version_channel?: string;
|
|
287
286
|
};
|
|
288
287
|
export type ClusterUpdateInput = {
|
|
289
288
|
/**
|
|
@@ -307,7 +306,7 @@ export type FleetCreateInput = {
|
|
|
307
306
|
/**
|
|
308
307
|
* CPU limit in cores.
|
|
309
308
|
*/
|
|
310
|
-
cpu
|
|
309
|
+
cpu?: number;
|
|
311
310
|
};
|
|
312
311
|
gcp?: {
|
|
313
312
|
enabled?: boolean;
|
|
@@ -319,9 +318,9 @@ export type FleetCreateInput = {
|
|
|
319
318
|
hetzner?: {
|
|
320
319
|
enabled?: boolean;
|
|
321
320
|
/**
|
|
322
|
-
* Hetzner Cloud API key with read / write access
|
|
321
|
+
* Hetzner Cloud API key with read / write access. On update, omit this field to keep the existing value.
|
|
323
322
|
*/
|
|
324
|
-
apiKey
|
|
323
|
+
apiKey?: string;
|
|
325
324
|
};
|
|
326
325
|
aws?: {
|
|
327
326
|
enabled?: boolean;
|
|
@@ -330,6 +329,31 @@ export type FleetCreateInput = {
|
|
|
330
329
|
*/
|
|
331
330
|
controllerRoleArn: string;
|
|
332
331
|
};
|
|
332
|
+
/**
|
|
333
|
+
* Constraints define scheduling and provisioning requirements for the fleet. Each field restricts the values allowed for a given Kubernetes label key. Multiple constraints are ANDed together. Omit a field to place no restriction on that key.
|
|
334
|
+
*/
|
|
335
|
+
constraints?: {
|
|
336
|
+
/**
|
|
337
|
+
* Allowed values for `karpenter.sh/capacity-type`.
|
|
338
|
+
*/
|
|
339
|
+
'karpenter.sh/capacity-type'?: Array<'on-demand' | 'spot'>;
|
|
340
|
+
/**
|
|
341
|
+
* Allowed values for `kubernetes.io/arch`.
|
|
342
|
+
*/
|
|
343
|
+
'kubernetes.io/arch'?: Array<'amd64' | 'arm64'>;
|
|
344
|
+
/**
|
|
345
|
+
* Allowed values for `cfke.io/instance-family`.
|
|
346
|
+
*/
|
|
347
|
+
'cfke.io/instance-family'?: Array<'a1' | 'a2' | 'a3' | 'a4' | 'c1' | 'c2' | 'c2d' | 'c3' | 'c3d' | 'c4' | 'c4a' | 'c4d' | 'c5' | 'c5a' | 'c5ad' | 'c5d' | 'c5n' | 'c6a' | 'c6g' | 'c6gd' | 'c6gn' | 'c6i' | 'c6id' | 'c6in' | 'c7a' | 'c7g' | 'c7gd' | 'c7gn' | 'c7i' | 'c7i-flex' | 'c8g' | 'c8gd' | 'cax' | 'ccx' | 'cpx' | 'cx' | 'd2' | 'd3' | 'd3en' | 'dl1' | 'dl2q' | 'e2' | 'f1' | 'f2' | 'g1' | 'g2' | 'g4ad' | 'g4dn' | 'g5' | 'g5g' | 'g6' | 'g6e' | 'gr6' | 'h1' | 'h3' | 'hpc6a' | 'hpc6id' | 'hpc7a' | 'hpc7g' | 'i2' | 'i3' | 'i3en' | 'i4g' | 'i4i' | 'i7i' | 'i7ie' | 'i8g' | 'im4gn' | 'inf1' | 'inf2' | 'is4gen' | 'm1' | 'm2' | 'm3' | 'm4' | 'm5' | 'm5a' | 'm5ad' | 'm5d' | 'm5dn' | 'm5n' | 'm5zn' | 'm6a' | 'm6g' | 'm6gd' | 'm6i' | 'm6id' | 'm6idn' | 'm6in' | 'm7a' | 'm7g' | 'm7gd' | 'm7i' | 'm7i-flex' | 'm8g' | 'm8gd' | 'n1' | 'n2' | 'n2d' | 'n4' | 'p3' | 'p3dn' | 'p4d' | 'p4de' | 'p5' | 'p5e' | 'p5en' | 'p6-b200' | 'r3' | 'r4' | 'r5' | 'r5a' | 'r5ad' | 'r5b' | 'r5d' | 'r5dn' | 'r5n' | 'r6a' | 'r6g' | 'r6gd' | 'r6i' | 'r6id' | 'r6idn' | 'r6in' | 'r7a' | 'r7g' | 'r7gd' | 'r7i' | 'r7iz' | 'r8g' | 'r8gd' | 't2' | 't2a' | 't2d' | 't3' | 't3a' | 't4g' | 'trn1' | 'trn1n' | 'u-3tb1' | 'u-6tb1' | 'u7i-12tb' | 'u7i-6tb' | 'u7i-8tb' | 'u7in-16tb' | 'u7in-24tb' | 'u7in-32tb' | 'vt1' | 'x1' | 'x1e' | 'x2gd' | 'x2idn' | 'x2iedn' | 'x2iezn' | 'x4' | 'x8g' | 'z1d' | 'z3'>;
|
|
348
|
+
/**
|
|
349
|
+
* Allowed values for `topology.kubernetes.io/region`.
|
|
350
|
+
*/
|
|
351
|
+
'topology.kubernetes.io/region'?: Array<'africa-south1' | 'ap-northeast-1' | 'ap-northeast-2' | 'ap-northeast-3' | 'ap-south-1' | 'ap-southeast-1' | 'ap-southeast-2' | 'ash' | 'asia-east1' | 'asia-east2' | 'asia-northeast1' | 'asia-northeast2' | 'asia-northeast3' | 'asia-south1' | 'asia-south2' | 'asia-southeast1' | 'asia-southeast2' | 'australia-southeast1' | 'australia-southeast2' | 'ca-central-1' | 'eu-central-1' | 'eu-central-2' | 'eu-north-1' | 'eu-west-1' | 'eu-west-2' | 'eu-west-3' | 'europe-central2' | 'europe-north1' | 'europe-southwest1' | 'europe-west1' | 'europe-west10' | 'europe-west12' | 'europe-west2' | 'europe-west3' | 'europe-west4' | 'europe-west6' | 'europe-west8' | 'europe-west9' | 'fsn1' | 'hel1' | 'hil' | 'me-central1' | 'me-central2' | 'me-west1' | 'nbg1' | 'northamerica-northeast1' | 'northamerica-northeast2' | 'sa-east-1' | 'sin' | 'southamerica-east1' | 'southamerica-west1' | 'us-central1' | 'us-east-1' | 'us-east-2' | 'us-east1' | 'us-east4' | 'us-east5' | 'us-south1' | 'us-west-1' | 'us-west-2' | 'us-west1' | 'us-west2' | 'us-west3' | 'us-west4'>;
|
|
352
|
+
};
|
|
353
|
+
/**
|
|
354
|
+
* Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.
|
|
355
|
+
*/
|
|
356
|
+
scalingProfile?: 'aggressive' | 'conservative';
|
|
333
357
|
/**
|
|
334
358
|
* Unique identifier of the kubernetes fleet.
|
|
335
359
|
*/
|
|
@@ -343,7 +367,7 @@ export type Fleet = {
|
|
|
343
367
|
/**
|
|
344
368
|
* CPU limit in cores.
|
|
345
369
|
*/
|
|
346
|
-
cpu
|
|
370
|
+
cpu?: number;
|
|
347
371
|
};
|
|
348
372
|
gcp?: {
|
|
349
373
|
enabled?: boolean;
|
|
@@ -355,9 +379,9 @@ export type Fleet = {
|
|
|
355
379
|
hetzner?: {
|
|
356
380
|
enabled?: boolean;
|
|
357
381
|
/**
|
|
358
|
-
* Hetzner Cloud API key with read / write access
|
|
382
|
+
* Hetzner Cloud API key with read / write access. On update, omit this field to keep the existing value.
|
|
359
383
|
*/
|
|
360
|
-
apiKey
|
|
384
|
+
apiKey?: string;
|
|
361
385
|
};
|
|
362
386
|
aws?: {
|
|
363
387
|
enabled?: boolean;
|
|
@@ -366,6 +390,31 @@ export type Fleet = {
|
|
|
366
390
|
*/
|
|
367
391
|
controllerRoleArn: string;
|
|
368
392
|
};
|
|
393
|
+
/**
|
|
394
|
+
* Constraints define scheduling and provisioning requirements for the fleet. Each field restricts the values allowed for a given Kubernetes label key. Multiple constraints are ANDed together. Omit a field to place no restriction on that key.
|
|
395
|
+
*/
|
|
396
|
+
constraints?: {
|
|
397
|
+
/**
|
|
398
|
+
* Allowed values for `karpenter.sh/capacity-type`.
|
|
399
|
+
*/
|
|
400
|
+
'karpenter.sh/capacity-type'?: Array<'on-demand' | 'spot'>;
|
|
401
|
+
/**
|
|
402
|
+
* Allowed values for `kubernetes.io/arch`.
|
|
403
|
+
*/
|
|
404
|
+
'kubernetes.io/arch'?: Array<'amd64' | 'arm64'>;
|
|
405
|
+
/**
|
|
406
|
+
* Allowed values for `cfke.io/instance-family`.
|
|
407
|
+
*/
|
|
408
|
+
'cfke.io/instance-family'?: Array<'a1' | 'a2' | 'a3' | 'a4' | 'c1' | 'c2' | 'c2d' | 'c3' | 'c3d' | 'c4' | 'c4a' | 'c4d' | 'c5' | 'c5a' | 'c5ad' | 'c5d' | 'c5n' | 'c6a' | 'c6g' | 'c6gd' | 'c6gn' | 'c6i' | 'c6id' | 'c6in' | 'c7a' | 'c7g' | 'c7gd' | 'c7gn' | 'c7i' | 'c7i-flex' | 'c8g' | 'c8gd' | 'cax' | 'ccx' | 'cpx' | 'cx' | 'd2' | 'd3' | 'd3en' | 'dl1' | 'dl2q' | 'e2' | 'f1' | 'f2' | 'g1' | 'g2' | 'g4ad' | 'g4dn' | 'g5' | 'g5g' | 'g6' | 'g6e' | 'gr6' | 'h1' | 'h3' | 'hpc6a' | 'hpc6id' | 'hpc7a' | 'hpc7g' | 'i2' | 'i3' | 'i3en' | 'i4g' | 'i4i' | 'i7i' | 'i7ie' | 'i8g' | 'im4gn' | 'inf1' | 'inf2' | 'is4gen' | 'm1' | 'm2' | 'm3' | 'm4' | 'm5' | 'm5a' | 'm5ad' | 'm5d' | 'm5dn' | 'm5n' | 'm5zn' | 'm6a' | 'm6g' | 'm6gd' | 'm6i' | 'm6id' | 'm6idn' | 'm6in' | 'm7a' | 'm7g' | 'm7gd' | 'm7i' | 'm7i-flex' | 'm8g' | 'm8gd' | 'n1' | 'n2' | 'n2d' | 'n4' | 'p3' | 'p3dn' | 'p4d' | 'p4de' | 'p5' | 'p5e' | 'p5en' | 'p6-b200' | 'r3' | 'r4' | 'r5' | 'r5a' | 'r5ad' | 'r5b' | 'r5d' | 'r5dn' | 'r5n' | 'r6a' | 'r6g' | 'r6gd' | 'r6i' | 'r6id' | 'r6idn' | 'r6in' | 'r7a' | 'r7g' | 'r7gd' | 'r7i' | 'r7iz' | 'r8g' | 'r8gd' | 't2' | 't2a' | 't2d' | 't3' | 't3a' | 't4g' | 'trn1' | 'trn1n' | 'u-3tb1' | 'u-6tb1' | 'u7i-12tb' | 'u7i-6tb' | 'u7i-8tb' | 'u7in-16tb' | 'u7in-24tb' | 'u7in-32tb' | 'vt1' | 'x1' | 'x1e' | 'x2gd' | 'x2idn' | 'x2iedn' | 'x2iezn' | 'x4' | 'x8g' | 'z1d' | 'z3'>;
|
|
409
|
+
/**
|
|
410
|
+
* Allowed values for `topology.kubernetes.io/region`.
|
|
411
|
+
*/
|
|
412
|
+
'topology.kubernetes.io/region'?: Array<'africa-south1' | 'ap-northeast-1' | 'ap-northeast-2' | 'ap-northeast-3' | 'ap-south-1' | 'ap-southeast-1' | 'ap-southeast-2' | 'ash' | 'asia-east1' | 'asia-east2' | 'asia-northeast1' | 'asia-northeast2' | 'asia-northeast3' | 'asia-south1' | 'asia-south2' | 'asia-southeast1' | 'asia-southeast2' | 'australia-southeast1' | 'australia-southeast2' | 'ca-central-1' | 'eu-central-1' | 'eu-central-2' | 'eu-north-1' | 'eu-west-1' | 'eu-west-2' | 'eu-west-3' | 'europe-central2' | 'europe-north1' | 'europe-southwest1' | 'europe-west1' | 'europe-west10' | 'europe-west12' | 'europe-west2' | 'europe-west3' | 'europe-west4' | 'europe-west6' | 'europe-west8' | 'europe-west9' | 'fsn1' | 'hel1' | 'hil' | 'me-central1' | 'me-central2' | 'me-west1' | 'nbg1' | 'northamerica-northeast1' | 'northamerica-northeast2' | 'sa-east-1' | 'sin' | 'southamerica-east1' | 'southamerica-west1' | 'us-central1' | 'us-east-1' | 'us-east-2' | 'us-east1' | 'us-east4' | 'us-east5' | 'us-south1' | 'us-west-1' | 'us-west-2' | 'us-west1' | 'us-west2' | 'us-west3' | 'us-west4'>;
|
|
413
|
+
};
|
|
414
|
+
/**
|
|
415
|
+
* Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.
|
|
416
|
+
*/
|
|
417
|
+
scalingProfile?: 'aggressive' | 'conservative';
|
|
369
418
|
/**
|
|
370
419
|
* Unique identifier of the kubernetes fleet.
|
|
371
420
|
*/
|
|
@@ -379,7 +428,7 @@ export type FleetUpdateInput = {
|
|
|
379
428
|
/**
|
|
380
429
|
* CPU limit in cores.
|
|
381
430
|
*/
|
|
382
|
-
cpu
|
|
431
|
+
cpu?: number;
|
|
383
432
|
};
|
|
384
433
|
gcp?: {
|
|
385
434
|
enabled?: boolean;
|
|
@@ -391,9 +440,9 @@ export type FleetUpdateInput = {
|
|
|
391
440
|
hetzner?: {
|
|
392
441
|
enabled?: boolean;
|
|
393
442
|
/**
|
|
394
|
-
* Hetzner Cloud API key with read / write access
|
|
443
|
+
* Hetzner Cloud API key with read / write access. On update, omit this field to keep the existing value.
|
|
395
444
|
*/
|
|
396
|
-
apiKey
|
|
445
|
+
apiKey?: string;
|
|
397
446
|
};
|
|
398
447
|
aws?: {
|
|
399
448
|
enabled?: boolean;
|
|
@@ -402,6 +451,31 @@ export type FleetUpdateInput = {
|
|
|
402
451
|
*/
|
|
403
452
|
controllerRoleArn: string;
|
|
404
453
|
};
|
|
454
|
+
/**
|
|
455
|
+
* Constraints define scheduling and provisioning requirements for the fleet. Each field restricts the values allowed for a given Kubernetes label key. Multiple constraints are ANDed together. Omit a field to place no restriction on that key.
|
|
456
|
+
*/
|
|
457
|
+
constraints?: {
|
|
458
|
+
/**
|
|
459
|
+
* Allowed values for `karpenter.sh/capacity-type`.
|
|
460
|
+
*/
|
|
461
|
+
'karpenter.sh/capacity-type'?: Array<'on-demand' | 'spot'>;
|
|
462
|
+
/**
|
|
463
|
+
* Allowed values for `kubernetes.io/arch`.
|
|
464
|
+
*/
|
|
465
|
+
'kubernetes.io/arch'?: Array<'amd64' | 'arm64'>;
|
|
466
|
+
/**
|
|
467
|
+
* Allowed values for `cfke.io/instance-family`.
|
|
468
|
+
*/
|
|
469
|
+
'cfke.io/instance-family'?: Array<'a1' | 'a2' | 'a3' | 'a4' | 'c1' | 'c2' | 'c2d' | 'c3' | 'c3d' | 'c4' | 'c4a' | 'c4d' | 'c5' | 'c5a' | 'c5ad' | 'c5d' | 'c5n' | 'c6a' | 'c6g' | 'c6gd' | 'c6gn' | 'c6i' | 'c6id' | 'c6in' | 'c7a' | 'c7g' | 'c7gd' | 'c7gn' | 'c7i' | 'c7i-flex' | 'c8g' | 'c8gd' | 'cax' | 'ccx' | 'cpx' | 'cx' | 'd2' | 'd3' | 'd3en' | 'dl1' | 'dl2q' | 'e2' | 'f1' | 'f2' | 'g1' | 'g2' | 'g4ad' | 'g4dn' | 'g5' | 'g5g' | 'g6' | 'g6e' | 'gr6' | 'h1' | 'h3' | 'hpc6a' | 'hpc6id' | 'hpc7a' | 'hpc7g' | 'i2' | 'i3' | 'i3en' | 'i4g' | 'i4i' | 'i7i' | 'i7ie' | 'i8g' | 'im4gn' | 'inf1' | 'inf2' | 'is4gen' | 'm1' | 'm2' | 'm3' | 'm4' | 'm5' | 'm5a' | 'm5ad' | 'm5d' | 'm5dn' | 'm5n' | 'm5zn' | 'm6a' | 'm6g' | 'm6gd' | 'm6i' | 'm6id' | 'm6idn' | 'm6in' | 'm7a' | 'm7g' | 'm7gd' | 'm7i' | 'm7i-flex' | 'm8g' | 'm8gd' | 'n1' | 'n2' | 'n2d' | 'n4' | 'p3' | 'p3dn' | 'p4d' | 'p4de' | 'p5' | 'p5e' | 'p5en' | 'p6-b200' | 'r3' | 'r4' | 'r5' | 'r5a' | 'r5ad' | 'r5b' | 'r5d' | 'r5dn' | 'r5n' | 'r6a' | 'r6g' | 'r6gd' | 'r6i' | 'r6id' | 'r6idn' | 'r6in' | 'r7a' | 'r7g' | 'r7gd' | 'r7i' | 'r7iz' | 'r8g' | 'r8gd' | 't2' | 't2a' | 't2d' | 't3' | 't3a' | 't4g' | 'trn1' | 'trn1n' | 'u-3tb1' | 'u-6tb1' | 'u7i-12tb' | 'u7i-6tb' | 'u7i-8tb' | 'u7in-16tb' | 'u7in-24tb' | 'u7in-32tb' | 'vt1' | 'x1' | 'x1e' | 'x2gd' | 'x2idn' | 'x2iedn' | 'x2iezn' | 'x4' | 'x8g' | 'z1d' | 'z3'>;
|
|
470
|
+
/**
|
|
471
|
+
* Allowed values for `topology.kubernetes.io/region`.
|
|
472
|
+
*/
|
|
473
|
+
'topology.kubernetes.io/region'?: Array<'africa-south1' | 'ap-northeast-1' | 'ap-northeast-2' | 'ap-northeast-3' | 'ap-south-1' | 'ap-southeast-1' | 'ap-southeast-2' | 'ash' | 'asia-east1' | 'asia-east2' | 'asia-northeast1' | 'asia-northeast2' | 'asia-northeast3' | 'asia-south1' | 'asia-south2' | 'asia-southeast1' | 'asia-southeast2' | 'australia-southeast1' | 'australia-southeast2' | 'ca-central-1' | 'eu-central-1' | 'eu-central-2' | 'eu-north-1' | 'eu-west-1' | 'eu-west-2' | 'eu-west-3' | 'europe-central2' | 'europe-north1' | 'europe-southwest1' | 'europe-west1' | 'europe-west10' | 'europe-west12' | 'europe-west2' | 'europe-west3' | 'europe-west4' | 'europe-west6' | 'europe-west8' | 'europe-west9' | 'fsn1' | 'hel1' | 'hil' | 'me-central1' | 'me-central2' | 'me-west1' | 'nbg1' | 'northamerica-northeast1' | 'northamerica-northeast2' | 'sa-east-1' | 'sin' | 'southamerica-east1' | 'southamerica-west1' | 'us-central1' | 'us-east-1' | 'us-east-2' | 'us-east1' | 'us-east4' | 'us-east5' | 'us-south1' | 'us-west-1' | 'us-west-2' | 'us-west1' | 'us-west2' | 'us-west3' | 'us-west4'>;
|
|
474
|
+
};
|
|
475
|
+
/**
|
|
476
|
+
* Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.
|
|
477
|
+
*/
|
|
478
|
+
scalingProfile?: 'aggressive' | 'conservative';
|
|
405
479
|
};
|
|
406
480
|
export type Invite = {
|
|
407
481
|
/**
|
|
@@ -427,396 +501,688 @@ export type Invite = {
|
|
|
427
501
|
};
|
|
428
502
|
export type Invoice = {
|
|
429
503
|
/**
|
|
430
|
-
* Unique identifier of the invoice.
|
|
504
|
+
* Unique identifier of the invoice.
|
|
431
505
|
*/
|
|
432
506
|
id?: string;
|
|
433
|
-
|
|
434
|
-
* Unique identifier of the organization. UUID v4 string in canonical form
|
|
435
|
-
*/
|
|
436
|
-
organizationId?: string;
|
|
507
|
+
number?: string;
|
|
437
508
|
/**
|
|
438
509
|
* Status of the invoice
|
|
439
510
|
*/
|
|
440
|
-
status?:
|
|
511
|
+
status?: string;
|
|
441
512
|
/**
|
|
442
513
|
* Total amount of the invoice
|
|
443
514
|
*/
|
|
444
|
-
|
|
515
|
+
total?: number;
|
|
445
516
|
/**
|
|
446
517
|
* Currency of the invoice
|
|
447
518
|
*/
|
|
448
|
-
currency?:
|
|
519
|
+
currency?: string;
|
|
449
520
|
/**
|
|
450
|
-
*
|
|
521
|
+
* Timestamp when the invoice was issued. ISO 8601 date string in the UTC timezone.
|
|
451
522
|
*/
|
|
452
|
-
|
|
523
|
+
created: string;
|
|
453
524
|
/**
|
|
454
|
-
*
|
|
525
|
+
* Billing period start timestamp. ISO 8601 date string in the UTC timezone.
|
|
455
526
|
*/
|
|
456
|
-
|
|
527
|
+
period_start: string;
|
|
457
528
|
/**
|
|
458
|
-
*
|
|
529
|
+
* Billing period end timestamp. ISO 8601 date string in the UTC timezone.
|
|
459
530
|
*/
|
|
460
|
-
|
|
531
|
+
period_end: string;
|
|
532
|
+
invoice_pdf?: string;
|
|
533
|
+
};
|
|
534
|
+
export type MarketplaceListingFiles = {
|
|
461
535
|
/**
|
|
462
|
-
*
|
|
536
|
+
* Raw Chart.yaml content from the Helm chart
|
|
463
537
|
*/
|
|
464
|
-
|
|
538
|
+
chartYaml?: string;
|
|
465
539
|
/**
|
|
466
|
-
*
|
|
540
|
+
* Raw values.yaml content from the Helm chart
|
|
467
541
|
*/
|
|
468
|
-
|
|
542
|
+
valuesYaml?: string;
|
|
469
543
|
/**
|
|
470
|
-
*
|
|
544
|
+
* JSON schema for values.yaml as a string
|
|
471
545
|
*/
|
|
472
|
-
|
|
546
|
+
valuesSchemaJson?: string;
|
|
547
|
+
};
|
|
548
|
+
export type MarketplaceListing = {
|
|
549
|
+
/**
|
|
550
|
+
* Name of the chart
|
|
551
|
+
*/
|
|
552
|
+
name: string;
|
|
473
553
|
/**
|
|
474
|
-
*
|
|
554
|
+
* Available versions of the chart
|
|
475
555
|
*/
|
|
476
|
-
|
|
556
|
+
versions: Array<string>;
|
|
557
|
+
/**
|
|
558
|
+
* Version channels for the chart
|
|
559
|
+
*/
|
|
560
|
+
version_channels: Array<string>;
|
|
477
561
|
/**
|
|
478
|
-
*
|
|
562
|
+
* Latest version of the chart
|
|
479
563
|
*/
|
|
480
|
-
|
|
564
|
+
latestVersion: string;
|
|
565
|
+
/**
|
|
566
|
+
* Chart metadata
|
|
567
|
+
*/
|
|
568
|
+
metadata?: {
|
|
481
569
|
/**
|
|
482
|
-
*
|
|
570
|
+
* Chart name from metadata
|
|
483
571
|
*/
|
|
484
|
-
|
|
572
|
+
name: string;
|
|
485
573
|
/**
|
|
486
|
-
*
|
|
574
|
+
* Chart version from metadata
|
|
487
575
|
*/
|
|
488
|
-
|
|
576
|
+
version: string;
|
|
489
577
|
/**
|
|
490
|
-
*
|
|
578
|
+
* Chart description
|
|
491
579
|
*/
|
|
492
|
-
|
|
580
|
+
description?: string;
|
|
493
581
|
/**
|
|
494
|
-
*
|
|
582
|
+
* Application version
|
|
495
583
|
*/
|
|
496
|
-
|
|
584
|
+
appVersion?: string;
|
|
497
585
|
/**
|
|
498
|
-
*
|
|
586
|
+
* Helm API version
|
|
499
587
|
*/
|
|
500
|
-
|
|
588
|
+
apiVersion?: string;
|
|
501
589
|
/**
|
|
502
|
-
*
|
|
590
|
+
* Chart keywords
|
|
503
591
|
*/
|
|
504
|
-
|
|
592
|
+
keywords?: Array<string>;
|
|
505
593
|
/**
|
|
506
|
-
*
|
|
594
|
+
* Chart home URL
|
|
507
595
|
*/
|
|
508
|
-
|
|
596
|
+
home?: string;
|
|
509
597
|
/**
|
|
510
|
-
*
|
|
598
|
+
* A URL to an SVG or PNG image to be used as an icon
|
|
511
599
|
*/
|
|
512
|
-
|
|
600
|
+
icon?: string;
|
|
513
601
|
/**
|
|
514
|
-
*
|
|
602
|
+
* Chart source URLs
|
|
515
603
|
*/
|
|
516
|
-
|
|
604
|
+
sources?: Array<string>;
|
|
517
605
|
/**
|
|
518
|
-
*
|
|
606
|
+
* Chart maintainers
|
|
519
607
|
*/
|
|
520
|
-
|
|
608
|
+
maintainers?: Array<{
|
|
609
|
+
/**
|
|
610
|
+
* Maintainer name
|
|
611
|
+
*/
|
|
612
|
+
name: string;
|
|
613
|
+
/**
|
|
614
|
+
* Maintainer email
|
|
615
|
+
*/
|
|
616
|
+
email?: string;
|
|
617
|
+
}>;
|
|
618
|
+
};
|
|
619
|
+
};
|
|
620
|
+
export type OrganizationCreateInput = {
|
|
621
|
+
/**
|
|
622
|
+
* Email address used for billing as a string.
|
|
623
|
+
*/
|
|
624
|
+
email: string;
|
|
625
|
+
/**
|
|
626
|
+
* First name of the billing contact person.
|
|
627
|
+
*/
|
|
628
|
+
first_name: string;
|
|
629
|
+
/**
|
|
630
|
+
* Last name of the billing contact person.
|
|
631
|
+
*/
|
|
632
|
+
last_name: string;
|
|
633
|
+
/**
|
|
634
|
+
* Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
|
|
635
|
+
*/
|
|
636
|
+
company_name: string;
|
|
637
|
+
/**
|
|
638
|
+
* Password for the root account. Must be at least 8 characters long and contain at least one uppercase letter, one lowercase letter, one number and one special character.
|
|
639
|
+
*/
|
|
640
|
+
password: string;
|
|
641
|
+
};
|
|
642
|
+
export type Organization = {
|
|
643
|
+
/**
|
|
644
|
+
* Unique identifier of the organization. UUID v4 string in canonical form
|
|
645
|
+
*/
|
|
646
|
+
id: string;
|
|
647
|
+
/**
|
|
648
|
+
* Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
|
|
649
|
+
*/
|
|
650
|
+
name?: string;
|
|
651
|
+
/**
|
|
652
|
+
* Creation date of the organization. ISO 8601 date string in UTC timezone
|
|
653
|
+
*/
|
|
654
|
+
date_created: string;
|
|
655
|
+
/**
|
|
656
|
+
* For security reasons, platform quota is controlled by Cloudfleet and can be updated only by Cloudfleet administrators. Please open a support ticket if you need to change the platform quota.
|
|
657
|
+
*/
|
|
658
|
+
quota: {
|
|
521
659
|
/**
|
|
522
|
-
*
|
|
660
|
+
* Maximum number of Basic clusters that can be created.
|
|
523
661
|
*/
|
|
524
|
-
|
|
662
|
+
basic_clusters_max: number;
|
|
525
663
|
/**
|
|
526
|
-
*
|
|
664
|
+
* Available number of Basic clusters that can be created.
|
|
527
665
|
*/
|
|
528
|
-
|
|
666
|
+
basic_clusters_available: number;
|
|
529
667
|
/**
|
|
530
|
-
*
|
|
668
|
+
* Maximum number of Pro clusters that can be created.
|
|
531
669
|
*/
|
|
532
|
-
|
|
670
|
+
pro_clusters_max: number;
|
|
533
671
|
/**
|
|
534
|
-
*
|
|
672
|
+
* Available number of Pro clusters that can be created.
|
|
535
673
|
*/
|
|
536
|
-
|
|
674
|
+
pro_clusters_available: number;
|
|
537
675
|
/**
|
|
538
|
-
*
|
|
676
|
+
* Maximum number of fleets that can be created per cluster.
|
|
539
677
|
*/
|
|
540
|
-
|
|
678
|
+
fleets_max: number;
|
|
541
679
|
/**
|
|
542
|
-
*
|
|
680
|
+
* List of Cloudfleet cluster tiers available for the organization.
|
|
543
681
|
*/
|
|
544
|
-
|
|
682
|
+
cluster_tiers: Array<string>;
|
|
545
683
|
/**
|
|
546
|
-
*
|
|
684
|
+
* List of Cloudfleet control plane regions available for the organization.
|
|
547
685
|
*/
|
|
548
|
-
|
|
686
|
+
regions: Array<string>;
|
|
549
687
|
/**
|
|
550
|
-
*
|
|
688
|
+
* List of CFKE control plane versions available for the organization.
|
|
551
689
|
*/
|
|
552
|
-
|
|
690
|
+
versions: Array<{
|
|
691
|
+
/**
|
|
692
|
+
* Id of the control plane version. Used in API calls.
|
|
693
|
+
*/
|
|
694
|
+
id: string;
|
|
695
|
+
/**
|
|
696
|
+
* Label of the control plane version. Used in frontent UI.
|
|
697
|
+
*/
|
|
698
|
+
label: string;
|
|
699
|
+
}>;
|
|
553
700
|
/**
|
|
554
|
-
*
|
|
701
|
+
* Organization-level maximum CFCR storage volume in GB. -1 means no limit.
|
|
555
702
|
*/
|
|
556
|
-
|
|
703
|
+
cfcr_storage_gb: number;
|
|
704
|
+
};
|
|
705
|
+
/**
|
|
706
|
+
* Status of the organization. Can be `active` or `closed`, or `suspended`.
|
|
707
|
+
*/
|
|
708
|
+
status: 'active' | 'closed' | 'suspended';
|
|
709
|
+
};
|
|
710
|
+
export type PaymentMethod = {
|
|
711
|
+
/**
|
|
712
|
+
* Unique identifier of the organization. UUID v4 string in canonical form.
|
|
713
|
+
*/
|
|
714
|
+
id: string;
|
|
715
|
+
/**
|
|
716
|
+
* Whether organization payment method was set up and ready to use for payments.
|
|
717
|
+
*/
|
|
718
|
+
setup: boolean;
|
|
719
|
+
/**
|
|
720
|
+
* Payment method type type. Only `card` payments supported at the moment.
|
|
721
|
+
*/
|
|
722
|
+
type: 'card';
|
|
723
|
+
/**
|
|
724
|
+
* Last 4 digits of the payment card number.
|
|
725
|
+
*/
|
|
726
|
+
last4: string;
|
|
727
|
+
/**
|
|
728
|
+
* Two-digit number representing the card's expiration month.
|
|
729
|
+
*/
|
|
730
|
+
exp_month: number;
|
|
731
|
+
/**
|
|
732
|
+
* Four-digit number representing the card's expiration year.
|
|
733
|
+
*/
|
|
734
|
+
exp_year: number;
|
|
735
|
+
/**
|
|
736
|
+
* Payment card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `mastercard`, `unionpay`, `visa`, or `unknown`.
|
|
737
|
+
*/
|
|
738
|
+
brand: 'amex' | 'diners' | 'discover' | 'eftpos_au' | 'jcb' | 'mastercard' | 'unionpay' | 'visa' | 'unknown';
|
|
739
|
+
};
|
|
740
|
+
export type PlatformQuota = {
|
|
741
|
+
/**
|
|
742
|
+
* Maximum number of Basic clusters that can be created.
|
|
743
|
+
*/
|
|
744
|
+
basic_clusters_max: number;
|
|
745
|
+
/**
|
|
746
|
+
* Available number of Basic clusters that can be created.
|
|
747
|
+
*/
|
|
748
|
+
basic_clusters_available: number;
|
|
749
|
+
/**
|
|
750
|
+
* Maximum number of Pro clusters that can be created.
|
|
751
|
+
*/
|
|
752
|
+
pro_clusters_max: number;
|
|
753
|
+
/**
|
|
754
|
+
* Available number of Pro clusters that can be created.
|
|
755
|
+
*/
|
|
756
|
+
pro_clusters_available: number;
|
|
757
|
+
/**
|
|
758
|
+
* Maximum number of fleets that can be created per cluster.
|
|
759
|
+
*/
|
|
760
|
+
fleets_max: number;
|
|
761
|
+
/**
|
|
762
|
+
* List of Cloudfleet cluster tiers available for the organization.
|
|
763
|
+
*/
|
|
764
|
+
cluster_tiers: Array<string>;
|
|
765
|
+
/**
|
|
766
|
+
* List of Cloudfleet control plane regions available for the organization.
|
|
767
|
+
*/
|
|
768
|
+
regions: Array<string>;
|
|
769
|
+
/**
|
|
770
|
+
* List of CFKE control plane versions available for the organization.
|
|
771
|
+
*/
|
|
772
|
+
versions: Array<{
|
|
557
773
|
/**
|
|
558
|
-
*
|
|
774
|
+
* Id of the control plane version. Used in API calls.
|
|
559
775
|
*/
|
|
560
|
-
|
|
776
|
+
id: string;
|
|
561
777
|
/**
|
|
562
|
-
*
|
|
778
|
+
* Label of the control plane version. Used in frontent UI.
|
|
563
779
|
*/
|
|
564
|
-
|
|
565
|
-
[key: string]: unknown;
|
|
566
|
-
} | string>;
|
|
780
|
+
label: string;
|
|
567
781
|
}>;
|
|
568
782
|
/**
|
|
569
|
-
*
|
|
783
|
+
* Organization-level maximum CFCR storage volume in GB. -1 means no limit.
|
|
570
784
|
*/
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
785
|
+
cfcr_storage_gb: number;
|
|
786
|
+
};
|
|
787
|
+
export type RegistryRepository = {
|
|
788
|
+
/**
|
|
789
|
+
* Repository name.
|
|
790
|
+
*/
|
|
791
|
+
name: string;
|
|
792
|
+
/**
|
|
793
|
+
* Registry region.
|
|
794
|
+
*/
|
|
795
|
+
region: string;
|
|
796
|
+
/**
|
|
797
|
+
* Full URI of the repository.
|
|
798
|
+
*/
|
|
799
|
+
uri: string;
|
|
800
|
+
};
|
|
801
|
+
export type RegistryRepositoryWithTags = {
|
|
802
|
+
/**
|
|
803
|
+
* Repository name.
|
|
804
|
+
*/
|
|
805
|
+
name: string;
|
|
806
|
+
/**
|
|
807
|
+
* Registry region.
|
|
808
|
+
*/
|
|
809
|
+
region: string;
|
|
810
|
+
/**
|
|
811
|
+
* Full URI of the repository.
|
|
812
|
+
*/
|
|
813
|
+
uri: string;
|
|
814
|
+
/**
|
|
815
|
+
* Array of tags in the repository.
|
|
816
|
+
*/
|
|
817
|
+
tags: Array<{
|
|
580
818
|
/**
|
|
581
|
-
*
|
|
819
|
+
* Tag name.
|
|
582
820
|
*/
|
|
583
|
-
|
|
821
|
+
name: string;
|
|
584
822
|
/**
|
|
585
|
-
*
|
|
823
|
+
* Size of the tag in bytes.
|
|
586
824
|
*/
|
|
587
|
-
|
|
825
|
+
size: number;
|
|
588
826
|
/**
|
|
589
|
-
*
|
|
827
|
+
* Media type of the manifest.
|
|
590
828
|
*/
|
|
591
|
-
|
|
829
|
+
mediaType?: string;
|
|
592
830
|
/**
|
|
593
|
-
*
|
|
831
|
+
* Array of platform strings for multi-arch images (e.g., linux/amd64, linux/arm64).
|
|
594
832
|
*/
|
|
595
|
-
|
|
833
|
+
platforms?: Array<string>;
|
|
834
|
+
}>;
|
|
835
|
+
/**
|
|
836
|
+
* Total size of all tags in the repository in bytes.
|
|
837
|
+
*/
|
|
838
|
+
totalSize: number;
|
|
839
|
+
};
|
|
840
|
+
export type RegistryTag = {
|
|
841
|
+
/**
|
|
842
|
+
* Tag name.
|
|
843
|
+
*/
|
|
844
|
+
name: string;
|
|
845
|
+
/**
|
|
846
|
+
* Manifest digest for pulling by digest.
|
|
847
|
+
*/
|
|
848
|
+
digest: string;
|
|
849
|
+
/**
|
|
850
|
+
* Media type of the manifest.
|
|
851
|
+
*/
|
|
852
|
+
mediaType?: string;
|
|
853
|
+
/**
|
|
854
|
+
* Manifest config metadata.
|
|
855
|
+
*/
|
|
856
|
+
config?: {
|
|
596
857
|
/**
|
|
597
|
-
*
|
|
858
|
+
* Size of the config in bytes.
|
|
598
859
|
*/
|
|
599
|
-
|
|
860
|
+
size: number;
|
|
861
|
+
};
|
|
862
|
+
/**
|
|
863
|
+
* Array of layer metadata.
|
|
864
|
+
*/
|
|
865
|
+
layers?: Array<{
|
|
600
866
|
/**
|
|
601
|
-
*
|
|
867
|
+
* Digest of the layer.
|
|
602
868
|
*/
|
|
603
|
-
|
|
869
|
+
digest?: string;
|
|
604
870
|
/**
|
|
605
|
-
*
|
|
871
|
+
* Size of the layer in bytes.
|
|
606
872
|
*/
|
|
607
|
-
|
|
873
|
+
size: number;
|
|
874
|
+
}>;
|
|
875
|
+
/**
|
|
876
|
+
* Array of manifests for multi-arch images.
|
|
877
|
+
*/
|
|
878
|
+
manifests?: Array<{
|
|
608
879
|
/**
|
|
609
|
-
*
|
|
880
|
+
* Digest of the manifest.
|
|
610
881
|
*/
|
|
611
|
-
|
|
882
|
+
digest: string;
|
|
612
883
|
/**
|
|
613
|
-
*
|
|
884
|
+
* Platform information for the manifest.
|
|
614
885
|
*/
|
|
615
|
-
|
|
886
|
+
platform?: {
|
|
887
|
+
/**
|
|
888
|
+
* Architecture of the platform.
|
|
889
|
+
*/
|
|
890
|
+
architecture: string;
|
|
891
|
+
/**
|
|
892
|
+
* Operating system of the platform.
|
|
893
|
+
*/
|
|
894
|
+
os: string;
|
|
895
|
+
/**
|
|
896
|
+
* Variant of the platform (e.g., v7, v8 for ARM).
|
|
897
|
+
*/
|
|
898
|
+
variant?: string;
|
|
899
|
+
};
|
|
616
900
|
/**
|
|
617
|
-
*
|
|
901
|
+
* Layers for this platform.
|
|
618
902
|
*/
|
|
619
|
-
|
|
903
|
+
layers?: Array<{
|
|
904
|
+
/**
|
|
905
|
+
* Digest of the layer.
|
|
906
|
+
*/
|
|
907
|
+
digest?: string;
|
|
908
|
+
/**
|
|
909
|
+
* Size of the layer in bytes.
|
|
910
|
+
*/
|
|
911
|
+
size: number;
|
|
912
|
+
}>;
|
|
620
913
|
/**
|
|
621
|
-
*
|
|
914
|
+
* Total size of this platform manifest in bytes.
|
|
622
915
|
*/
|
|
623
|
-
|
|
916
|
+
size?: number;
|
|
917
|
+
}>;
|
|
918
|
+
/**
|
|
919
|
+
* Total size of the tag in bytes.
|
|
920
|
+
*/
|
|
921
|
+
size: number;
|
|
922
|
+
/**
|
|
923
|
+
* Registry region.
|
|
924
|
+
*/
|
|
925
|
+
region: string;
|
|
926
|
+
/**
|
|
927
|
+
* Repository name.
|
|
928
|
+
*/
|
|
929
|
+
repository: string;
|
|
930
|
+
/**
|
|
931
|
+
* Full URI of the tag.
|
|
932
|
+
*/
|
|
933
|
+
uri: string;
|
|
934
|
+
};
|
|
935
|
+
export type TicketAttachment = {
|
|
936
|
+
/**
|
|
937
|
+
* Unique identifier of the attachment (Mongo ObjectId).
|
|
938
|
+
*/
|
|
939
|
+
id: string;
|
|
940
|
+
/**
|
|
941
|
+
* Original filename as uploaded.
|
|
942
|
+
*/
|
|
943
|
+
filename: string;
|
|
944
|
+
/**
|
|
945
|
+
* MIME content type of the attachment.
|
|
946
|
+
*/
|
|
947
|
+
content_type: string;
|
|
948
|
+
/**
|
|
949
|
+
* Size of the attachment in bytes.
|
|
950
|
+
*/
|
|
951
|
+
size: number;
|
|
952
|
+
};
|
|
953
|
+
export type TicketCreateInput = {
|
|
954
|
+
/**
|
|
955
|
+
* Ticket category. Drives auto-assignment and may carry a subcategory in `properties`.
|
|
956
|
+
*/
|
|
957
|
+
category: 'billing' | 'technical' | 'general';
|
|
958
|
+
/**
|
|
959
|
+
* Initial message body in markdown. There is no separate subject — the first message body is the description.
|
|
960
|
+
*/
|
|
961
|
+
body: string;
|
|
962
|
+
/**
|
|
963
|
+
* Free-form key/value bag set by the UI (e.g. `subcategory`, `cluster_id`, `cluster_name`, `region`).
|
|
964
|
+
*/
|
|
965
|
+
properties?: {
|
|
966
|
+
[key: string]: unknown;
|
|
967
|
+
};
|
|
968
|
+
};
|
|
969
|
+
export type TicketListResponse = {
|
|
970
|
+
/**
|
|
971
|
+
* Tickets for the organization, ordered newest first. Messages are omitted from list responses.
|
|
972
|
+
*/
|
|
973
|
+
items: Array<{
|
|
624
974
|
/**
|
|
625
|
-
*
|
|
975
|
+
* Unique identifier of the ticket (Mongo ObjectId).
|
|
626
976
|
*/
|
|
627
|
-
|
|
977
|
+
id: string;
|
|
628
978
|
/**
|
|
629
|
-
*
|
|
979
|
+
* Current state of the ticket.
|
|
630
980
|
*/
|
|
631
|
-
|
|
981
|
+
status: 'waiting_on_us' | 'waiting_on_user' | 'closed';
|
|
632
982
|
/**
|
|
633
|
-
*
|
|
983
|
+
* Ticket category.
|
|
634
984
|
*/
|
|
635
|
-
|
|
985
|
+
category: 'billing' | 'technical' | 'general';
|
|
636
986
|
/**
|
|
637
|
-
*
|
|
987
|
+
* First 128 characters of the initial message body, with markdown formatting and newlines stripped. Used for ticket list previews.
|
|
638
988
|
*/
|
|
639
|
-
|
|
989
|
+
summary: string;
|
|
640
990
|
/**
|
|
641
|
-
*
|
|
991
|
+
* Closure timestamp. Null while the ticket is open.
|
|
642
992
|
*/
|
|
643
|
-
|
|
993
|
+
closed_at?: string;
|
|
644
994
|
/**
|
|
645
|
-
*
|
|
995
|
+
* Creation date of the ticket. ISO 8601 UTC.
|
|
646
996
|
*/
|
|
647
|
-
|
|
997
|
+
date_created: string;
|
|
648
998
|
/**
|
|
649
|
-
*
|
|
999
|
+
* Last update date of the ticket. ISO 8601 UTC.
|
|
650
1000
|
*/
|
|
651
|
-
|
|
1001
|
+
date_updated: string;
|
|
652
1002
|
/**
|
|
653
|
-
*
|
|
1003
|
+
* Messages on the ticket in chronological order. Internal notes are excluded. Returned by the detail endpoint only.
|
|
654
1004
|
*/
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
1005
|
+
messages?: Array<{
|
|
1006
|
+
/**
|
|
1007
|
+
* Unique identifier of the message (Mongo ObjectId).
|
|
1008
|
+
*/
|
|
1009
|
+
id: string;
|
|
1010
|
+
/**
|
|
1011
|
+
* Message type. Internal notes are filtered out of customer-facing responses.
|
|
1012
|
+
*/
|
|
1013
|
+
type: 'customer_reply' | 'agent_reply';
|
|
1014
|
+
/**
|
|
1015
|
+
* Message body in markdown.
|
|
1016
|
+
*/
|
|
1017
|
+
body: string;
|
|
1018
|
+
/**
|
|
1019
|
+
* First name of the author. Null when not provided.
|
|
1020
|
+
*/
|
|
1021
|
+
author_first_name?: string;
|
|
1022
|
+
/**
|
|
1023
|
+
* Last name of the author. Null when not provided.
|
|
1024
|
+
*/
|
|
1025
|
+
author_last_name?: string;
|
|
1026
|
+
/**
|
|
1027
|
+
* Attachments associated with this message.
|
|
1028
|
+
*/
|
|
1029
|
+
attachments?: Array<{
|
|
1030
|
+
/**
|
|
1031
|
+
* Unique identifier of the attachment (Mongo ObjectId).
|
|
1032
|
+
*/
|
|
1033
|
+
id: string;
|
|
1034
|
+
/**
|
|
1035
|
+
* Original filename as uploaded.
|
|
1036
|
+
*/
|
|
1037
|
+
filename: string;
|
|
1038
|
+
/**
|
|
1039
|
+
* MIME content type of the attachment.
|
|
1040
|
+
*/
|
|
1041
|
+
content_type: string;
|
|
1042
|
+
/**
|
|
1043
|
+
* Size of the attachment in bytes.
|
|
1044
|
+
*/
|
|
1045
|
+
size: number;
|
|
1046
|
+
}>;
|
|
1047
|
+
/**
|
|
1048
|
+
* Creation date of the message. ISO 8601 UTC.
|
|
1049
|
+
*/
|
|
1050
|
+
date_created: string;
|
|
1051
|
+
}>;
|
|
658
1052
|
}>;
|
|
659
1053
|
};
|
|
660
|
-
export type
|
|
1054
|
+
export type TicketMessageInput = {
|
|
661
1055
|
/**
|
|
662
|
-
*
|
|
1056
|
+
* Reply body in markdown.
|
|
663
1057
|
*/
|
|
664
|
-
|
|
1058
|
+
body: string;
|
|
1059
|
+
};
|
|
1060
|
+
export type TicketMessage = {
|
|
665
1061
|
/**
|
|
666
|
-
*
|
|
1062
|
+
* Unique identifier of the message (Mongo ObjectId).
|
|
667
1063
|
*/
|
|
668
|
-
|
|
1064
|
+
id: string;
|
|
669
1065
|
/**
|
|
670
|
-
*
|
|
1066
|
+
* Message type. Internal notes are filtered out of customer-facing responses.
|
|
671
1067
|
*/
|
|
672
|
-
|
|
1068
|
+
type: 'customer_reply' | 'agent_reply';
|
|
673
1069
|
/**
|
|
674
|
-
*
|
|
1070
|
+
* Message body in markdown.
|
|
675
1071
|
*/
|
|
676
|
-
|
|
1072
|
+
body: string;
|
|
677
1073
|
/**
|
|
678
|
-
*
|
|
1074
|
+
* First name of the author. Null when not provided.
|
|
679
1075
|
*/
|
|
680
|
-
|
|
1076
|
+
author_first_name?: string;
|
|
681
1077
|
/**
|
|
682
|
-
*
|
|
1078
|
+
* Last name of the author. Null when not provided.
|
|
683
1079
|
*/
|
|
684
|
-
|
|
1080
|
+
author_last_name?: string;
|
|
685
1081
|
/**
|
|
686
|
-
*
|
|
1082
|
+
* Attachments associated with this message.
|
|
687
1083
|
*/
|
|
688
|
-
|
|
689
|
-
version_channels: Array<string>;
|
|
690
|
-
value_schemas: Array<{
|
|
1084
|
+
attachments?: Array<{
|
|
691
1085
|
/**
|
|
692
|
-
*
|
|
1086
|
+
* Unique identifier of the attachment (Mongo ObjectId).
|
|
693
1087
|
*/
|
|
694
|
-
|
|
1088
|
+
id: string;
|
|
695
1089
|
/**
|
|
696
|
-
*
|
|
1090
|
+
* Original filename as uploaded.
|
|
697
1091
|
*/
|
|
698
|
-
|
|
1092
|
+
filename: string;
|
|
699
1093
|
/**
|
|
700
|
-
*
|
|
1094
|
+
* MIME content type of the attachment.
|
|
701
1095
|
*/
|
|
702
|
-
|
|
1096
|
+
content_type: string;
|
|
1097
|
+
/**
|
|
1098
|
+
* Size of the attachment in bytes.
|
|
1099
|
+
*/
|
|
1100
|
+
size: number;
|
|
703
1101
|
}>;
|
|
704
|
-
};
|
|
705
|
-
export type OrganizationCreateInput = {
|
|
706
1102
|
/**
|
|
707
|
-
*
|
|
1103
|
+
* Creation date of the message. ISO 8601 UTC.
|
|
708
1104
|
*/
|
|
709
|
-
|
|
1105
|
+
date_created: string;
|
|
1106
|
+
};
|
|
1107
|
+
export type Ticket = {
|
|
710
1108
|
/**
|
|
711
|
-
*
|
|
1109
|
+
* Unique identifier of the ticket (Mongo ObjectId).
|
|
712
1110
|
*/
|
|
713
|
-
|
|
1111
|
+
id: string;
|
|
714
1112
|
/**
|
|
715
|
-
*
|
|
1113
|
+
* Current state of the ticket.
|
|
716
1114
|
*/
|
|
717
|
-
|
|
1115
|
+
status: 'waiting_on_us' | 'waiting_on_user' | 'closed';
|
|
718
1116
|
/**
|
|
719
|
-
*
|
|
1117
|
+
* Ticket category.
|
|
720
1118
|
*/
|
|
721
|
-
|
|
1119
|
+
category: 'billing' | 'technical' | 'general';
|
|
722
1120
|
/**
|
|
723
|
-
*
|
|
1121
|
+
* First 128 characters of the initial message body, with markdown formatting and newlines stripped. Used for ticket list previews.
|
|
724
1122
|
*/
|
|
725
|
-
|
|
726
|
-
};
|
|
727
|
-
export type Organization = {
|
|
1123
|
+
summary: string;
|
|
728
1124
|
/**
|
|
729
|
-
*
|
|
1125
|
+
* Closure timestamp. Null while the ticket is open.
|
|
730
1126
|
*/
|
|
731
|
-
|
|
1127
|
+
closed_at?: string;
|
|
732
1128
|
/**
|
|
733
|
-
*
|
|
1129
|
+
* Creation date of the ticket. ISO 8601 UTC.
|
|
734
1130
|
*/
|
|
735
|
-
|
|
1131
|
+
date_created: string;
|
|
736
1132
|
/**
|
|
737
|
-
*
|
|
1133
|
+
* Last update date of the ticket. ISO 8601 UTC.
|
|
738
1134
|
*/
|
|
739
|
-
|
|
1135
|
+
date_updated: string;
|
|
740
1136
|
/**
|
|
741
|
-
*
|
|
1137
|
+
* Messages on the ticket in chronological order. Internal notes are excluded. Returned by the detail endpoint only.
|
|
742
1138
|
*/
|
|
743
|
-
|
|
1139
|
+
messages?: Array<{
|
|
744
1140
|
/**
|
|
745
|
-
*
|
|
1141
|
+
* Unique identifier of the message (Mongo ObjectId).
|
|
746
1142
|
*/
|
|
747
|
-
|
|
1143
|
+
id: string;
|
|
748
1144
|
/**
|
|
749
|
-
*
|
|
1145
|
+
* Message type. Internal notes are filtered out of customer-facing responses.
|
|
750
1146
|
*/
|
|
751
|
-
|
|
1147
|
+
type: 'customer_reply' | 'agent_reply';
|
|
752
1148
|
/**
|
|
753
|
-
*
|
|
1149
|
+
* Message body in markdown.
|
|
754
1150
|
*/
|
|
755
|
-
|
|
1151
|
+
body: string;
|
|
756
1152
|
/**
|
|
757
|
-
*
|
|
1153
|
+
* First name of the author. Null when not provided.
|
|
758
1154
|
*/
|
|
759
|
-
|
|
1155
|
+
author_first_name?: string;
|
|
760
1156
|
/**
|
|
761
|
-
*
|
|
1157
|
+
* Last name of the author. Null when not provided.
|
|
762
1158
|
*/
|
|
763
|
-
|
|
1159
|
+
author_last_name?: string;
|
|
764
1160
|
/**
|
|
765
|
-
*
|
|
1161
|
+
* Attachments associated with this message.
|
|
766
1162
|
*/
|
|
767
|
-
|
|
768
|
-
/**
|
|
769
|
-
* List of Cloudfleet control plane regions available for the organization.
|
|
770
|
-
*/
|
|
771
|
-
regions: Array<string>;
|
|
772
|
-
/**
|
|
773
|
-
* List of CFKE control plane versions available for the organization.
|
|
774
|
-
*/
|
|
775
|
-
versions: Array<{
|
|
1163
|
+
attachments?: Array<{
|
|
776
1164
|
/**
|
|
777
|
-
*
|
|
1165
|
+
* Unique identifier of the attachment (Mongo ObjectId).
|
|
778
1166
|
*/
|
|
779
1167
|
id: string;
|
|
780
1168
|
/**
|
|
781
|
-
*
|
|
1169
|
+
* Original filename as uploaded.
|
|
782
1170
|
*/
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
*/
|
|
799
|
-
setup: boolean;
|
|
800
|
-
/**
|
|
801
|
-
* Payment method type type. Only `card` payments supported at the moment.
|
|
802
|
-
*/
|
|
803
|
-
type: 'card';
|
|
804
|
-
/**
|
|
805
|
-
* Last 4 digits of the payment card number.
|
|
806
|
-
*/
|
|
807
|
-
last4: string;
|
|
808
|
-
/**
|
|
809
|
-
* Two-digit number representing the card's expiration month.
|
|
810
|
-
*/
|
|
811
|
-
exp_month: number;
|
|
812
|
-
/**
|
|
813
|
-
* Four-digit number representing the card's expiration year.
|
|
814
|
-
*/
|
|
815
|
-
exp_year: number;
|
|
816
|
-
/**
|
|
817
|
-
* Payment card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `mastercard`, `unionpay`, `visa`, or `unknown`.
|
|
818
|
-
*/
|
|
819
|
-
brand: 'amex' | 'diners' | 'discover' | 'eftpos_au' | 'jcb' | 'mastercard' | 'unionpay' | 'visa' | 'unknown';
|
|
1171
|
+
filename: string;
|
|
1172
|
+
/**
|
|
1173
|
+
* MIME content type of the attachment.
|
|
1174
|
+
*/
|
|
1175
|
+
content_type: string;
|
|
1176
|
+
/**
|
|
1177
|
+
* Size of the attachment in bytes.
|
|
1178
|
+
*/
|
|
1179
|
+
size: number;
|
|
1180
|
+
}>;
|
|
1181
|
+
/**
|
|
1182
|
+
* Creation date of the message. ISO 8601 UTC.
|
|
1183
|
+
*/
|
|
1184
|
+
date_created: string;
|
|
1185
|
+
}>;
|
|
820
1186
|
};
|
|
821
1187
|
export type TokenCreateInput = {
|
|
822
1188
|
/**
|
|
@@ -860,35 +1226,85 @@ export type TokenUpdateInput = {
|
|
|
860
1226
|
*/
|
|
861
1227
|
role?: 'Administrator' | 'User';
|
|
862
1228
|
};
|
|
1229
|
+
export type UsageFacets = {
|
|
1230
|
+
/**
|
|
1231
|
+
* List of unique cluster IDs
|
|
1232
|
+
*/
|
|
1233
|
+
cluster_id?: Array<string>;
|
|
1234
|
+
/**
|
|
1235
|
+
* List of unique products
|
|
1236
|
+
*/
|
|
1237
|
+
product?: Array<string>;
|
|
1238
|
+
};
|
|
1239
|
+
export type UsageResponse = {
|
|
1240
|
+
/**
|
|
1241
|
+
* Usage data
|
|
1242
|
+
*/
|
|
1243
|
+
data: Array<{
|
|
1244
|
+
/**
|
|
1245
|
+
* Hour of the usage
|
|
1246
|
+
*/
|
|
1247
|
+
hour: string;
|
|
1248
|
+
/**
|
|
1249
|
+
* Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
|
|
1250
|
+
*/
|
|
1251
|
+
cluster_id: string;
|
|
1252
|
+
/**
|
|
1253
|
+
* The product the usage is associated with
|
|
1254
|
+
*/
|
|
1255
|
+
product: string;
|
|
1256
|
+
/**
|
|
1257
|
+
* Consumption
|
|
1258
|
+
*/
|
|
1259
|
+
value: number;
|
|
1260
|
+
/**
|
|
1261
|
+
* Price per unit
|
|
1262
|
+
*/
|
|
1263
|
+
price: number;
|
|
1264
|
+
/**
|
|
1265
|
+
* Total cost
|
|
1266
|
+
*/
|
|
1267
|
+
total: number;
|
|
1268
|
+
}>;
|
|
1269
|
+
/**
|
|
1270
|
+
* Facets for filtering
|
|
1271
|
+
*/
|
|
1272
|
+
facets: {
|
|
1273
|
+
/**
|
|
1274
|
+
* List of unique cluster IDs
|
|
1275
|
+
*/
|
|
1276
|
+
cluster_id?: Array<string>;
|
|
1277
|
+
/**
|
|
1278
|
+
* List of unique products
|
|
1279
|
+
*/
|
|
1280
|
+
product?: Array<string>;
|
|
1281
|
+
};
|
|
1282
|
+
};
|
|
863
1283
|
export type Usage = {
|
|
864
1284
|
/**
|
|
865
1285
|
* Hour of the usage
|
|
866
1286
|
*/
|
|
867
|
-
hour
|
|
1287
|
+
hour: string;
|
|
868
1288
|
/**
|
|
869
1289
|
* Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
|
|
870
1290
|
*/
|
|
871
1291
|
cluster_id: string;
|
|
872
1292
|
/**
|
|
873
|
-
*
|
|
1293
|
+
* The product the usage is associated with
|
|
874
1294
|
*/
|
|
875
|
-
|
|
1295
|
+
product: string;
|
|
876
1296
|
/**
|
|
877
|
-
*
|
|
1297
|
+
* Consumption
|
|
878
1298
|
*/
|
|
879
|
-
|
|
1299
|
+
value: number;
|
|
880
1300
|
/**
|
|
881
|
-
*
|
|
1301
|
+
* Price per unit
|
|
882
1302
|
*/
|
|
883
|
-
|
|
1303
|
+
price: number;
|
|
884
1304
|
/**
|
|
885
|
-
*
|
|
1305
|
+
* Total cost
|
|
886
1306
|
*/
|
|
887
|
-
|
|
888
|
-
cpu: number | '';
|
|
889
|
-
price: number | '';
|
|
890
|
-
value: number | '';
|
|
891
|
-
total: number | '';
|
|
1307
|
+
total: number;
|
|
892
1308
|
};
|
|
893
1309
|
export type UserCreateInput = {
|
|
894
1310
|
/**
|
|
@@ -975,7 +1391,12 @@ export type UserUpdateInput = {
|
|
|
975
1391
|
export type GetUsageData = {
|
|
976
1392
|
body?: never;
|
|
977
1393
|
path?: never;
|
|
978
|
-
query?:
|
|
1394
|
+
query?: {
|
|
1395
|
+
/**
|
|
1396
|
+
* Time granularity for usage aggregation - hourly (Past 48 hours aggregated by hour), daily (Past 30 days aggregated by day), monthly (Past 12 months aggregated by month)
|
|
1397
|
+
*/
|
|
1398
|
+
granularity?: 'hourly' | 'daily' | 'monthly';
|
|
1399
|
+
};
|
|
979
1400
|
url: '/billing/usage';
|
|
980
1401
|
};
|
|
981
1402
|
export type GetUsageErrors = {
|
|
@@ -986,24 +1407,11 @@ export type GetUsageErrors = {
|
|
|
986
1407
|
};
|
|
987
1408
|
export type GetUsageResponses = {
|
|
988
1409
|
/**
|
|
989
|
-
*
|
|
1410
|
+
* Usage data with facets for filtering
|
|
990
1411
|
*/
|
|
991
|
-
200:
|
|
1412
|
+
200: UsageResponse;
|
|
992
1413
|
};
|
|
993
1414
|
export type GetUsageResponse = GetUsageResponses[keyof GetUsageResponses];
|
|
994
|
-
export type GetBalanceData = {
|
|
995
|
-
body?: never;
|
|
996
|
-
path?: never;
|
|
997
|
-
query?: never;
|
|
998
|
-
url: '/billing/balance';
|
|
999
|
-
};
|
|
1000
|
-
export type GetBalanceResponses = {
|
|
1001
|
-
/**
|
|
1002
|
-
* Current balance of the organization in USD as a floating-point number.
|
|
1003
|
-
*/
|
|
1004
|
-
200: number;
|
|
1005
|
-
};
|
|
1006
|
-
export type GetBalanceResponse = GetBalanceResponses[keyof GetBalanceResponses];
|
|
1007
1415
|
export type GetPaymentMethodData = {
|
|
1008
1416
|
body?: never;
|
|
1009
1417
|
path?: never;
|
|
@@ -1045,16 +1453,7 @@ export type GetPaymentMethodSecretResponse = GetPaymentMethodSecretResponses[key
|
|
|
1045
1453
|
export type ListInvoicesData = {
|
|
1046
1454
|
body?: never;
|
|
1047
1455
|
path?: never;
|
|
1048
|
-
query
|
|
1049
|
-
/**
|
|
1050
|
-
* Start date for the usage. Date of oldest data point to retrieve.
|
|
1051
|
-
*/
|
|
1052
|
-
start_date: string;
|
|
1053
|
-
/**
|
|
1054
|
-
* End date for the usage. Date of newest data point to retrieve.
|
|
1055
|
-
*/
|
|
1056
|
-
end_date: string;
|
|
1057
|
-
};
|
|
1456
|
+
query?: never;
|
|
1058
1457
|
url: '/billing/invoices';
|
|
1059
1458
|
};
|
|
1060
1459
|
export type ListInvoicesErrors = {
|
|
@@ -1070,26 +1469,6 @@ export type ListInvoicesResponses = {
|
|
|
1070
1469
|
200: Array<Invoice>;
|
|
1071
1470
|
};
|
|
1072
1471
|
export type ListInvoicesResponse = ListInvoicesResponses[keyof ListInvoicesResponses];
|
|
1073
|
-
export type GetInvoiceData = {
|
|
1074
|
-
body?: never;
|
|
1075
|
-
path: {
|
|
1076
|
-
/**
|
|
1077
|
-
* Unique invoice identifier. UUID v4 string in canonical form
|
|
1078
|
-
*/
|
|
1079
|
-
id: string;
|
|
1080
|
-
};
|
|
1081
|
-
query?: never;
|
|
1082
|
-
url: '/billing/invoices/{id}';
|
|
1083
|
-
};
|
|
1084
|
-
export type GetInvoiceResponses = {
|
|
1085
|
-
/**
|
|
1086
|
-
* Returns a single Invoice HTML representation under `html` property.
|
|
1087
|
-
*/
|
|
1088
|
-
200: {
|
|
1089
|
-
html?: string;
|
|
1090
|
-
};
|
|
1091
|
-
};
|
|
1092
|
-
export type GetInvoiceResponse = GetInvoiceResponses[keyof GetInvoiceResponses];
|
|
1093
1472
|
export type GetContactData = {
|
|
1094
1473
|
body?: never;
|
|
1095
1474
|
path?: never;
|
|
@@ -1504,6 +1883,30 @@ export type UpdateClusterResponses = {
|
|
|
1504
1883
|
200: Cluster;
|
|
1505
1884
|
};
|
|
1506
1885
|
export type UpdateClusterResponse = UpdateClusterResponses[keyof UpdateClusterResponses];
|
|
1886
|
+
export type GetClusterCaData = {
|
|
1887
|
+
body?: never;
|
|
1888
|
+
path: {
|
|
1889
|
+
/**
|
|
1890
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1891
|
+
*/
|
|
1892
|
+
cluster_id: string;
|
|
1893
|
+
};
|
|
1894
|
+
query?: never;
|
|
1895
|
+
url: '/clusters/{cluster_id}/ca';
|
|
1896
|
+
};
|
|
1897
|
+
export type GetClusterCaErrors = {
|
|
1898
|
+
/**
|
|
1899
|
+
* Cluster not found, or its certificate authority is not available yet.
|
|
1900
|
+
*/
|
|
1901
|
+
404: unknown;
|
|
1902
|
+
};
|
|
1903
|
+
export type GetClusterCaResponses = {
|
|
1904
|
+
/**
|
|
1905
|
+
* PEM-encoded certificate authority of the cluster.
|
|
1906
|
+
*/
|
|
1907
|
+
200: string;
|
|
1908
|
+
};
|
|
1909
|
+
export type GetClusterCaResponse = GetClusterCaResponses[keyof GetClusterCaResponses];
|
|
1507
1910
|
export type GetJoinInformationData = {
|
|
1508
1911
|
body?: never;
|
|
1509
1912
|
path: {
|
|
@@ -1619,24 +2022,76 @@ export type ListMarketplaceChartsResponses = {
|
|
|
1619
2022
|
200: Array<MarketplaceListing>;
|
|
1620
2023
|
};
|
|
1621
2024
|
export type ListMarketplaceChartsResponse = ListMarketplaceChartsResponses[keyof ListMarketplaceChartsResponses];
|
|
1622
|
-
export type
|
|
2025
|
+
export type GetMarketplaceChartFilesData = {
|
|
1623
2026
|
body?: never;
|
|
1624
2027
|
path: {
|
|
1625
2028
|
/**
|
|
1626
|
-
*
|
|
2029
|
+
* Name of the chart in the marketplace.
|
|
2030
|
+
*/
|
|
2031
|
+
chart_name: string;
|
|
2032
|
+
/**
|
|
2033
|
+
* 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).
|
|
2034
|
+
*/
|
|
2035
|
+
version_channel: string;
|
|
2036
|
+
};
|
|
2037
|
+
query?: never;
|
|
2038
|
+
url: '/marketplace/{chart_name}/files/{version_channel}';
|
|
2039
|
+
};
|
|
2040
|
+
export type GetMarketplaceChartFilesErrors = {
|
|
2041
|
+
/**
|
|
2042
|
+
* Chart not found or no version matches the channel
|
|
2043
|
+
*/
|
|
2044
|
+
404: unknown;
|
|
2045
|
+
};
|
|
2046
|
+
export type GetMarketplaceChartFilesResponses = {
|
|
2047
|
+
/**
|
|
2048
|
+
* Returns an object containing the chart files for the latest matching version.
|
|
2049
|
+
*/
|
|
2050
|
+
200: MarketplaceListingFiles;
|
|
2051
|
+
};
|
|
2052
|
+
export type GetMarketplaceChartFilesResponse = GetMarketplaceChartFilesResponses[keyof GetMarketplaceChartFilesResponses];
|
|
2053
|
+
export type PostMcpData = {
|
|
2054
|
+
/**
|
|
2055
|
+
* JSON-RPC 2.0 request payload
|
|
2056
|
+
*/
|
|
2057
|
+
body: {
|
|
2058
|
+
jsonrpc?: string;
|
|
2059
|
+
method?: string;
|
|
2060
|
+
id?: string | number;
|
|
2061
|
+
/**
|
|
2062
|
+
* Method-specific parameters
|
|
1627
2063
|
*/
|
|
1628
|
-
|
|
2064
|
+
params?: {
|
|
2065
|
+
[key: string]: unknown;
|
|
2066
|
+
};
|
|
1629
2067
|
};
|
|
2068
|
+
path?: never;
|
|
1630
2069
|
query?: never;
|
|
1631
|
-
url: '/
|
|
2070
|
+
url: '/mcp';
|
|
2071
|
+
};
|
|
2072
|
+
export type PostMcpErrors = {
|
|
2073
|
+
/**
|
|
2074
|
+
* Not authenticated
|
|
2075
|
+
*/
|
|
2076
|
+
401: unknown;
|
|
1632
2077
|
};
|
|
1633
|
-
export type
|
|
2078
|
+
export type PostMcpResponses = {
|
|
1634
2079
|
/**
|
|
1635
|
-
*
|
|
2080
|
+
* JSON-RPC 2.0 success or error response
|
|
1636
2081
|
*/
|
|
1637
|
-
200:
|
|
2082
|
+
200: {
|
|
2083
|
+
jsonrpc?: string;
|
|
2084
|
+
id?: string | number;
|
|
2085
|
+
result?: {
|
|
2086
|
+
[key: string]: unknown;
|
|
2087
|
+
};
|
|
2088
|
+
error?: {
|
|
2089
|
+
code?: number;
|
|
2090
|
+
message?: string;
|
|
2091
|
+
};
|
|
2092
|
+
};
|
|
1638
2093
|
};
|
|
1639
|
-
export type
|
|
2094
|
+
export type PostMcpResponse = PostMcpResponses[keyof PostMcpResponses];
|
|
1640
2095
|
export type GetOrganizationData = {
|
|
1641
2096
|
body?: never;
|
|
1642
2097
|
path?: never;
|
|
@@ -1662,6 +2117,249 @@ export type CreateOrganizationResponses = {
|
|
|
1662
2117
|
*/
|
|
1663
2118
|
200: unknown;
|
|
1664
2119
|
};
|
|
2120
|
+
export type ListRepositoriesData = {
|
|
2121
|
+
body?: never;
|
|
2122
|
+
path?: never;
|
|
2123
|
+
query?: never;
|
|
2124
|
+
url: '/registry';
|
|
2125
|
+
};
|
|
2126
|
+
export type ListRepositoriesErrors = {
|
|
2127
|
+
/**
|
|
2128
|
+
* Not authenticated
|
|
2129
|
+
*/
|
|
2130
|
+
401: unknown;
|
|
2131
|
+
/**
|
|
2132
|
+
* Internal server error
|
|
2133
|
+
*/
|
|
2134
|
+
500: unknown;
|
|
2135
|
+
};
|
|
2136
|
+
export type ListRepositoriesResponses = {
|
|
2137
|
+
/**
|
|
2138
|
+
* List of repositories
|
|
2139
|
+
*/
|
|
2140
|
+
200: Array<RegistryRepository>;
|
|
2141
|
+
};
|
|
2142
|
+
export type ListRepositoriesResponse = ListRepositoriesResponses[keyof ListRepositoriesResponses];
|
|
2143
|
+
export type ListTagsData = {
|
|
2144
|
+
body?: never;
|
|
2145
|
+
path: {
|
|
2146
|
+
/**
|
|
2147
|
+
* Region where the repository is located
|
|
2148
|
+
*/
|
|
2149
|
+
region: string;
|
|
2150
|
+
/**
|
|
2151
|
+
* Name of the repository
|
|
2152
|
+
*/
|
|
2153
|
+
repository: string;
|
|
2154
|
+
};
|
|
2155
|
+
query?: never;
|
|
2156
|
+
url: '/registry/{region}/{repository}';
|
|
2157
|
+
};
|
|
2158
|
+
export type ListTagsErrors = {
|
|
2159
|
+
/**
|
|
2160
|
+
* Not authenticated
|
|
2161
|
+
*/
|
|
2162
|
+
401: unknown;
|
|
2163
|
+
/**
|
|
2164
|
+
* Repository not found
|
|
2165
|
+
*/
|
|
2166
|
+
404: unknown;
|
|
2167
|
+
/**
|
|
2168
|
+
* Internal server error
|
|
2169
|
+
*/
|
|
2170
|
+
500: unknown;
|
|
2171
|
+
};
|
|
2172
|
+
export type ListTagsResponses = {
|
|
2173
|
+
/**
|
|
2174
|
+
* Repository with tags
|
|
2175
|
+
*/
|
|
2176
|
+
200: RegistryRepositoryWithTags;
|
|
2177
|
+
};
|
|
2178
|
+
export type ListTagsResponse = ListTagsResponses[keyof ListTagsResponses];
|
|
2179
|
+
export type DeleteTagData = {
|
|
2180
|
+
body?: never;
|
|
2181
|
+
path: {
|
|
2182
|
+
/**
|
|
2183
|
+
* Region where the repository is located
|
|
2184
|
+
*/
|
|
2185
|
+
region: string;
|
|
2186
|
+
/**
|
|
2187
|
+
* Name of the repository
|
|
2188
|
+
*/
|
|
2189
|
+
repository: string;
|
|
2190
|
+
/**
|
|
2191
|
+
* Name of the tag
|
|
2192
|
+
*/
|
|
2193
|
+
tag: string;
|
|
2194
|
+
};
|
|
2195
|
+
query?: never;
|
|
2196
|
+
url: '/registry/{region}/{repository}/{tag}';
|
|
2197
|
+
};
|
|
2198
|
+
export type DeleteTagErrors = {
|
|
2199
|
+
/**
|
|
2200
|
+
* Not authenticated
|
|
2201
|
+
*/
|
|
2202
|
+
401: unknown;
|
|
2203
|
+
/**
|
|
2204
|
+
* Tag not found
|
|
2205
|
+
*/
|
|
2206
|
+
404: unknown;
|
|
2207
|
+
/**
|
|
2208
|
+
* Internal server error
|
|
2209
|
+
*/
|
|
2210
|
+
500: unknown;
|
|
2211
|
+
};
|
|
2212
|
+
export type DeleteTagResponses = {
|
|
2213
|
+
/**
|
|
2214
|
+
* Tag successfully deleted
|
|
2215
|
+
*/
|
|
2216
|
+
200: unknown;
|
|
2217
|
+
};
|
|
2218
|
+
export type GetTagData = {
|
|
2219
|
+
body?: never;
|
|
2220
|
+
path: {
|
|
2221
|
+
/**
|
|
2222
|
+
* Region where the repository is located
|
|
2223
|
+
*/
|
|
2224
|
+
region: string;
|
|
2225
|
+
/**
|
|
2226
|
+
* Name of the repository
|
|
2227
|
+
*/
|
|
2228
|
+
repository: string;
|
|
2229
|
+
/**
|
|
2230
|
+
* Name of the tag
|
|
2231
|
+
*/
|
|
2232
|
+
tag: string;
|
|
2233
|
+
};
|
|
2234
|
+
query?: never;
|
|
2235
|
+
url: '/registry/{region}/{repository}/{tag}';
|
|
2236
|
+
};
|
|
2237
|
+
export type GetTagErrors = {
|
|
2238
|
+
/**
|
|
2239
|
+
* Not authenticated
|
|
2240
|
+
*/
|
|
2241
|
+
401: unknown;
|
|
2242
|
+
/**
|
|
2243
|
+
* Tag not found
|
|
2244
|
+
*/
|
|
2245
|
+
404: unknown;
|
|
2246
|
+
/**
|
|
2247
|
+
* Internal server error
|
|
2248
|
+
*/
|
|
2249
|
+
500: unknown;
|
|
2250
|
+
};
|
|
2251
|
+
export type GetTagResponses = {
|
|
2252
|
+
/**
|
|
2253
|
+
* Tag details
|
|
2254
|
+
*/
|
|
2255
|
+
200: RegistryTag;
|
|
2256
|
+
};
|
|
2257
|
+
export type GetTagResponse = GetTagResponses[keyof GetTagResponses];
|
|
2258
|
+
export type ListTicketsData = {
|
|
2259
|
+
body?: never;
|
|
2260
|
+
path?: never;
|
|
2261
|
+
query?: never;
|
|
2262
|
+
url: '/tickets';
|
|
2263
|
+
};
|
|
2264
|
+
export type ListTicketsResponses = {
|
|
2265
|
+
/**
|
|
2266
|
+
* Tickets for the organization.
|
|
2267
|
+
*/
|
|
2268
|
+
200: TicketListResponse;
|
|
2269
|
+
};
|
|
2270
|
+
export type ListTicketsResponse = ListTicketsResponses[keyof ListTicketsResponses];
|
|
2271
|
+
export type CreateTicketData = {
|
|
2272
|
+
body: {
|
|
2273
|
+
/**
|
|
2274
|
+
* JSON-encoded TicketCreateInput.
|
|
2275
|
+
*/
|
|
2276
|
+
payload?: string;
|
|
2277
|
+
attachments?: Array<Blob | File>;
|
|
2278
|
+
};
|
|
2279
|
+
path?: never;
|
|
2280
|
+
query?: never;
|
|
2281
|
+
url: '/tickets';
|
|
2282
|
+
};
|
|
2283
|
+
export type CreateTicketResponses = {
|
|
2284
|
+
/**
|
|
2285
|
+
* Ticket created.
|
|
2286
|
+
*/
|
|
2287
|
+
200: Ticket;
|
|
2288
|
+
};
|
|
2289
|
+
export type CreateTicketResponse = CreateTicketResponses[keyof CreateTicketResponses];
|
|
2290
|
+
export type CloseTicketData = {
|
|
2291
|
+
body?: never;
|
|
2292
|
+
path: {
|
|
2293
|
+
ticket_id: string;
|
|
2294
|
+
};
|
|
2295
|
+
query?: never;
|
|
2296
|
+
url: '/tickets/{ticket_id}';
|
|
2297
|
+
};
|
|
2298
|
+
export type CloseTicketResponses = {
|
|
2299
|
+
/**
|
|
2300
|
+
* Ticket closed.
|
|
2301
|
+
*/
|
|
2302
|
+
200: Ticket;
|
|
2303
|
+
};
|
|
2304
|
+
export type CloseTicketResponse = CloseTicketResponses[keyof CloseTicketResponses];
|
|
2305
|
+
export type GetTicketData = {
|
|
2306
|
+
body?: never;
|
|
2307
|
+
path: {
|
|
2308
|
+
ticket_id: string;
|
|
2309
|
+
};
|
|
2310
|
+
query?: never;
|
|
2311
|
+
url: '/tickets/{ticket_id}';
|
|
2312
|
+
};
|
|
2313
|
+
export type GetTicketResponses = {
|
|
2314
|
+
/**
|
|
2315
|
+
* Ticket with messages (internal notes excluded).
|
|
2316
|
+
*/
|
|
2317
|
+
200: Ticket;
|
|
2318
|
+
};
|
|
2319
|
+
export type GetTicketResponse = GetTicketResponses[keyof GetTicketResponses];
|
|
2320
|
+
export type ReplyTicketData = {
|
|
2321
|
+
body: {
|
|
2322
|
+
/**
|
|
2323
|
+
* JSON-encoded TicketMessageInput.
|
|
2324
|
+
*/
|
|
2325
|
+
payload?: string;
|
|
2326
|
+
attachments?: Array<Blob | File>;
|
|
2327
|
+
};
|
|
2328
|
+
path: {
|
|
2329
|
+
ticket_id: string;
|
|
2330
|
+
};
|
|
2331
|
+
query?: never;
|
|
2332
|
+
url: '/tickets/{ticket_id}/messages';
|
|
2333
|
+
};
|
|
2334
|
+
export type ReplyTicketErrors = {
|
|
2335
|
+
/**
|
|
2336
|
+
* Ticket is closed. Open a new ticket instead.
|
|
2337
|
+
*/
|
|
2338
|
+
409: unknown;
|
|
2339
|
+
};
|
|
2340
|
+
export type ReplyTicketResponses = {
|
|
2341
|
+
/**
|
|
2342
|
+
* Reply appended.
|
|
2343
|
+
*/
|
|
2344
|
+
200: TicketMessage;
|
|
2345
|
+
};
|
|
2346
|
+
export type ReplyTicketResponse = ReplyTicketResponses[keyof ReplyTicketResponses];
|
|
2347
|
+
export type GetTicketAttachmentData = {
|
|
2348
|
+
body?: never;
|
|
2349
|
+
path: {
|
|
2350
|
+
ticket_id: string;
|
|
2351
|
+
attachment_id: string;
|
|
2352
|
+
};
|
|
2353
|
+
query?: never;
|
|
2354
|
+
url: '/tickets/{ticket_id}/attachments/{attachment_id}';
|
|
2355
|
+
};
|
|
2356
|
+
export type GetTicketAttachmentResponses = {
|
|
2357
|
+
/**
|
|
2358
|
+
* Attachment binary stream.
|
|
2359
|
+
*/
|
|
2360
|
+
200: Blob | File;
|
|
2361
|
+
};
|
|
2362
|
+
export type GetTicketAttachmentResponse = GetTicketAttachmentResponses[keyof GetTicketAttachmentResponses];
|
|
1665
2363
|
export type ListTokensData = {
|
|
1666
2364
|
body?: never;
|
|
1667
2365
|
path?: never;
|
|
@@ -1918,7 +2616,4 @@ export type UpdateUserResponses = {
|
|
|
1918
2616
|
200: User;
|
|
1919
2617
|
};
|
|
1920
2618
|
export type UpdateUserResponse = UpdateUserResponses[keyof UpdateUserResponses];
|
|
1921
|
-
export type ClientOptions = {
|
|
1922
|
-
baseUrl: 'https://api.cloudfleet.ai/v1' | (string & {});
|
|
1923
|
-
};
|
|
1924
2619
|
//# sourceMappingURL=types.gen.d.ts.map
|