@cloudfleet/sdk 0.0.1-a92e617 → 0.0.1-a9ac9eb
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 +1330 -596
- package/dist/schemas.gen.d.ts.map +1 -1
- package/dist/schemas.gen.js +2666 -688
- 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 +1061 -361
- package/dist/types.gen.d.ts.map +1 -1
- package/dist/zod.gen.d.ts +3562 -3592
- package/dist/zod.gen.d.ts.map +1 -1
- package/dist/zod.gen.js +1195 -1056
- 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,4 +1,11 @@
|
|
|
1
|
+
export type ClientOptions = {
|
|
2
|
+
baseUrl: 'https://api.cloudfleet.ai/v1' | (string & {});
|
|
3
|
+
};
|
|
1
4
|
export type BillingContact = {
|
|
5
|
+
/**
|
|
6
|
+
* Type of the organization. `business` for legal entities, `personal` for individuals.
|
|
7
|
+
*/
|
|
8
|
+
type: 'business' | 'personal';
|
|
2
9
|
/**
|
|
3
10
|
* Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
|
|
4
11
|
*/
|
|
@@ -36,13 +43,9 @@ export type BillingContact = {
|
|
|
36
43
|
*/
|
|
37
44
|
email: string;
|
|
38
45
|
/**
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
first_name: string;
|
|
42
|
-
/**
|
|
43
|
-
* Last name of the billing contact person.
|
|
46
|
+
* Name of the billing contact person.
|
|
44
47
|
*/
|
|
45
|
-
|
|
48
|
+
individual_name: string;
|
|
46
49
|
/**
|
|
47
50
|
* Tax ID of the organization.
|
|
48
51
|
*/
|
|
@@ -58,35 +61,31 @@ export type BillingCredits = {
|
|
|
58
61
|
*/
|
|
59
62
|
id?: string;
|
|
60
63
|
/**
|
|
61
|
-
*
|
|
62
|
-
*/
|
|
63
|
-
date_created: string;
|
|
64
|
-
/**
|
|
65
|
-
* Promotional code used by the customer.
|
|
64
|
+
* Type of the promotional code.
|
|
66
65
|
*/
|
|
67
|
-
|
|
66
|
+
type: 'credit' | 'discount';
|
|
68
67
|
/**
|
|
69
|
-
*
|
|
68
|
+
* Timestamp when the credit becomes active. ISO 8601 date string in the UTC timezone.
|
|
70
69
|
*/
|
|
71
|
-
|
|
70
|
+
date_start: string;
|
|
72
71
|
/**
|
|
73
|
-
*
|
|
72
|
+
* Timestamp when the credit expires or becomes inactive. ISO 8601 date string in the UTC timezone.
|
|
74
73
|
*/
|
|
75
|
-
|
|
74
|
+
date_end?: string;
|
|
76
75
|
/**
|
|
77
|
-
*
|
|
76
|
+
* Promotional code used by the customer.
|
|
78
77
|
*/
|
|
79
|
-
|
|
78
|
+
code: string;
|
|
80
79
|
/**
|
|
81
|
-
*
|
|
80
|
+
* Description of the promotional code.
|
|
82
81
|
*/
|
|
83
|
-
|
|
82
|
+
description?: string;
|
|
84
83
|
/**
|
|
85
|
-
*
|
|
84
|
+
* Total value of the promotional code.
|
|
86
85
|
*/
|
|
87
|
-
|
|
86
|
+
value_total: number;
|
|
88
87
|
/**
|
|
89
|
-
*
|
|
88
|
+
* Remaining value of the promotional code.
|
|
90
89
|
*/
|
|
91
90
|
value_remaining?: number;
|
|
92
91
|
};
|
|
@@ -174,13 +173,13 @@ export type ClusterCreateInput = {
|
|
|
174
173
|
*/
|
|
175
174
|
tier: 'basic' | 'pro';
|
|
176
175
|
/**
|
|
177
|
-
* Cloudfleet control plane region. One of "staging", "northamerica-central-1", "europe-central-1a". This field can not be updated after creation.
|
|
176
|
+
* 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
177
|
*/
|
|
179
|
-
region?: 'staging' | 'northamerica-central-1' | 'europe-central-1a';
|
|
178
|
+
region?: 'staging-1a' | 'northamerica-central-1' | 'europe-central-1a' | 'northamerica-central-1a';
|
|
180
179
|
/**
|
|
181
180
|
* Version of the kubernetes cluster.
|
|
182
181
|
*/
|
|
183
|
-
version_channel?:
|
|
182
|
+
version_channel?: '1.x.x-cfke.x' | '1.31.x-cfke.x' | '1.32.x-cfke.x' | '1.33.x-cfke.x';
|
|
184
183
|
};
|
|
185
184
|
export type ClusterJoinInformation = {
|
|
186
185
|
/**
|
|
@@ -191,6 +190,10 @@ export type ClusterJoinInformation = {
|
|
|
191
190
|
* Internal URL of the Kubernetes cluster control plane. This is the endpoint that kubelet uses to connect to the cluster.
|
|
192
191
|
*/
|
|
193
192
|
endpoint: string;
|
|
193
|
+
/**
|
|
194
|
+
* Cluster DNS IP address. This is the IP address of the kube-dns service in the cluster.
|
|
195
|
+
*/
|
|
196
|
+
cluster_dns: string;
|
|
194
197
|
/**
|
|
195
198
|
* Authentication key for the cluster.
|
|
196
199
|
*/
|
|
@@ -215,6 +218,10 @@ export type ClusterJoinInformation = {
|
|
|
215
218
|
* Containerd version of the cluster.
|
|
216
219
|
*/
|
|
217
220
|
containerd: string;
|
|
221
|
+
/**
|
|
222
|
+
* NVIDIA driver version of the cluster.
|
|
223
|
+
*/
|
|
224
|
+
nvidia_driver: string;
|
|
218
225
|
};
|
|
219
226
|
/**
|
|
220
227
|
* OIDC Information for hosts to access to third party API's.
|
|
@@ -244,13 +251,9 @@ export type Cluster = {
|
|
|
244
251
|
*/
|
|
245
252
|
tier: 'basic' | 'pro';
|
|
246
253
|
/**
|
|
247
|
-
* Cloudfleet control plane region. One of "staging", "northamerica-central-1", "europe-central-1a". This field can not be updated after creation.
|
|
254
|
+
* 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
255
|
*/
|
|
249
|
-
region?: 'staging' | 'northamerica-central-1' | 'europe-central-1a';
|
|
250
|
-
/**
|
|
251
|
-
* Version of the kubernetes cluster.
|
|
252
|
-
*/
|
|
253
|
-
version_channel?: string;
|
|
256
|
+
region?: 'staging-1a' | 'northamerica-central-1' | 'europe-central-1a' | 'northamerica-central-1a';
|
|
254
257
|
/**
|
|
255
258
|
* Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
|
|
256
259
|
*/
|
|
@@ -258,8 +261,9 @@ export type Cluster = {
|
|
|
258
261
|
/**
|
|
259
262
|
* Status of the cluster. When creating a new cluster, set to `active`. When deleting a clusters, set to `deleted`.
|
|
260
263
|
*/
|
|
261
|
-
status: 'active' | 'deleted' | 'creating' | 'deployed' | 'failed' | 'updating';
|
|
264
|
+
status: 'active' | 'disabled' | 'deleted' | 'creating' | 'deployed' | 'failed' | 'updating';
|
|
262
265
|
endpoint?: string | '';
|
|
266
|
+
endpoint_public?: string | '';
|
|
263
267
|
/**
|
|
264
268
|
* Certificate authority data for the kubernetes cluster. This is the root certificate authority for the cluster.
|
|
265
269
|
*/
|
|
@@ -280,6 +284,10 @@ export type Cluster = {
|
|
|
280
284
|
* Indicates if the cluster is ready to be used.
|
|
281
285
|
*/
|
|
282
286
|
ready?: boolean;
|
|
287
|
+
/**
|
|
288
|
+
* Version of the kubernetes cluster.
|
|
289
|
+
*/
|
|
290
|
+
version_channel?: string;
|
|
283
291
|
};
|
|
284
292
|
export type ClusterUpdateInput = {
|
|
285
293
|
/**
|
|
@@ -301,31 +309,56 @@ export type FleetCreateInput = {
|
|
|
301
309
|
*/
|
|
302
310
|
limits?: {
|
|
303
311
|
/**
|
|
304
|
-
* CPU limit in cores.
|
|
312
|
+
* CPU limit in cores. Maximum 100,000.
|
|
305
313
|
*/
|
|
306
|
-
cpu
|
|
314
|
+
cpu?: number;
|
|
307
315
|
};
|
|
308
316
|
gcp?: {
|
|
309
|
-
enabled
|
|
317
|
+
enabled: boolean;
|
|
310
318
|
/**
|
|
311
|
-
*
|
|
319
|
+
* 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
320
|
*/
|
|
313
|
-
project
|
|
321
|
+
project?: string;
|
|
314
322
|
};
|
|
315
323
|
hetzner?: {
|
|
316
|
-
enabled
|
|
324
|
+
enabled: boolean;
|
|
317
325
|
/**
|
|
318
|
-
* Hetzner Cloud API
|
|
326
|
+
* Hetzner Cloud API token with read / write access (64 alphanumeric characters). Omit this field to keep the existing value.
|
|
319
327
|
*/
|
|
320
|
-
apiKey
|
|
328
|
+
apiKey?: string;
|
|
321
329
|
};
|
|
322
330
|
aws?: {
|
|
323
|
-
enabled
|
|
331
|
+
enabled: boolean;
|
|
324
332
|
/**
|
|
325
|
-
*
|
|
333
|
+
* AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.
|
|
326
334
|
*/
|
|
327
|
-
controllerRoleArn
|
|
335
|
+
controllerRoleArn?: string;
|
|
328
336
|
};
|
|
337
|
+
/**
|
|
338
|
+
* 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.
|
|
339
|
+
*/
|
|
340
|
+
constraints?: {
|
|
341
|
+
/**
|
|
342
|
+
* Allowed values for `karpenter.sh/capacity-type`.
|
|
343
|
+
*/
|
|
344
|
+
'karpenter.sh/capacity-type'?: Array<'on-demand' | 'spot'>;
|
|
345
|
+
/**
|
|
346
|
+
* Allowed values for `kubernetes.io/arch`.
|
|
347
|
+
*/
|
|
348
|
+
'kubernetes.io/arch'?: Array<'amd64' | 'arm64'>;
|
|
349
|
+
/**
|
|
350
|
+
* Allowed values for `cfke.io/instance-family`.
|
|
351
|
+
*/
|
|
352
|
+
'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'>;
|
|
353
|
+
/**
|
|
354
|
+
* Allowed values for `topology.kubernetes.io/region`.
|
|
355
|
+
*/
|
|
356
|
+
'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'>;
|
|
357
|
+
};
|
|
358
|
+
/**
|
|
359
|
+
* Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.
|
|
360
|
+
*/
|
|
361
|
+
scalingProfile?: 'aggressive' | 'conservative';
|
|
329
362
|
/**
|
|
330
363
|
* Unique identifier of the kubernetes fleet.
|
|
331
364
|
*/
|
|
@@ -337,31 +370,56 @@ export type Fleet = {
|
|
|
337
370
|
*/
|
|
338
371
|
limits?: {
|
|
339
372
|
/**
|
|
340
|
-
* CPU limit in cores.
|
|
373
|
+
* CPU limit in cores. Maximum 100,000.
|
|
341
374
|
*/
|
|
342
|
-
cpu
|
|
375
|
+
cpu?: number;
|
|
343
376
|
};
|
|
344
377
|
gcp?: {
|
|
345
|
-
enabled
|
|
378
|
+
enabled: boolean;
|
|
346
379
|
/**
|
|
347
|
-
*
|
|
380
|
+
* 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
381
|
*/
|
|
349
|
-
project
|
|
382
|
+
project?: string;
|
|
350
383
|
};
|
|
351
384
|
hetzner?: {
|
|
352
|
-
enabled
|
|
385
|
+
enabled: boolean;
|
|
353
386
|
/**
|
|
354
|
-
* Hetzner
|
|
387
|
+
* 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
388
|
*/
|
|
356
|
-
apiKey
|
|
389
|
+
apiKey?: string;
|
|
357
390
|
};
|
|
358
391
|
aws?: {
|
|
359
|
-
enabled
|
|
392
|
+
enabled: boolean;
|
|
360
393
|
/**
|
|
361
|
-
*
|
|
394
|
+
* AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.
|
|
362
395
|
*/
|
|
363
|
-
controllerRoleArn
|
|
396
|
+
controllerRoleArn?: string;
|
|
364
397
|
};
|
|
398
|
+
/**
|
|
399
|
+
* 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.
|
|
400
|
+
*/
|
|
401
|
+
constraints?: {
|
|
402
|
+
/**
|
|
403
|
+
* Allowed values for `karpenter.sh/capacity-type`.
|
|
404
|
+
*/
|
|
405
|
+
'karpenter.sh/capacity-type'?: Array<'on-demand' | 'spot'>;
|
|
406
|
+
/**
|
|
407
|
+
* Allowed values for `kubernetes.io/arch`.
|
|
408
|
+
*/
|
|
409
|
+
'kubernetes.io/arch'?: Array<'amd64' | 'arm64'>;
|
|
410
|
+
/**
|
|
411
|
+
* Allowed values for `cfke.io/instance-family`.
|
|
412
|
+
*/
|
|
413
|
+
'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'>;
|
|
414
|
+
/**
|
|
415
|
+
* Allowed values for `topology.kubernetes.io/region`.
|
|
416
|
+
*/
|
|
417
|
+
'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'>;
|
|
418
|
+
};
|
|
419
|
+
/**
|
|
420
|
+
* Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.
|
|
421
|
+
*/
|
|
422
|
+
scalingProfile: 'aggressive' | 'conservative';
|
|
365
423
|
/**
|
|
366
424
|
* Unique identifier of the kubernetes fleet.
|
|
367
425
|
*/
|
|
@@ -373,31 +431,56 @@ export type FleetUpdateInput = {
|
|
|
373
431
|
*/
|
|
374
432
|
limits?: {
|
|
375
433
|
/**
|
|
376
|
-
* CPU limit in cores.
|
|
434
|
+
* CPU limit in cores. Maximum 100,000.
|
|
377
435
|
*/
|
|
378
|
-
cpu
|
|
436
|
+
cpu?: number;
|
|
379
437
|
};
|
|
380
438
|
gcp?: {
|
|
381
|
-
enabled
|
|
439
|
+
enabled: boolean;
|
|
382
440
|
/**
|
|
383
|
-
*
|
|
441
|
+
* 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
442
|
*/
|
|
385
|
-
project
|
|
443
|
+
project?: string;
|
|
386
444
|
};
|
|
387
445
|
hetzner?: {
|
|
388
|
-
enabled
|
|
446
|
+
enabled: boolean;
|
|
389
447
|
/**
|
|
390
|
-
* Hetzner Cloud API
|
|
448
|
+
* Hetzner Cloud API token with read / write access (64 alphanumeric characters). Omit this field to keep the existing value.
|
|
391
449
|
*/
|
|
392
|
-
apiKey
|
|
450
|
+
apiKey?: string;
|
|
393
451
|
};
|
|
394
452
|
aws?: {
|
|
395
|
-
enabled
|
|
453
|
+
enabled: boolean;
|
|
396
454
|
/**
|
|
397
|
-
*
|
|
455
|
+
* AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.
|
|
398
456
|
*/
|
|
399
|
-
controllerRoleArn
|
|
457
|
+
controllerRoleArn?: string;
|
|
400
458
|
};
|
|
459
|
+
/**
|
|
460
|
+
* 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.
|
|
461
|
+
*/
|
|
462
|
+
constraints?: {
|
|
463
|
+
/**
|
|
464
|
+
* Allowed values for `karpenter.sh/capacity-type`.
|
|
465
|
+
*/
|
|
466
|
+
'karpenter.sh/capacity-type'?: Array<'on-demand' | 'spot'>;
|
|
467
|
+
/**
|
|
468
|
+
* Allowed values for `kubernetes.io/arch`.
|
|
469
|
+
*/
|
|
470
|
+
'kubernetes.io/arch'?: Array<'amd64' | 'arm64'>;
|
|
471
|
+
/**
|
|
472
|
+
* Allowed values for `cfke.io/instance-family`.
|
|
473
|
+
*/
|
|
474
|
+
'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'>;
|
|
475
|
+
/**
|
|
476
|
+
* Allowed values for `topology.kubernetes.io/region`.
|
|
477
|
+
*/
|
|
478
|
+
'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'>;
|
|
479
|
+
};
|
|
480
|
+
/**
|
|
481
|
+
* Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.
|
|
482
|
+
*/
|
|
483
|
+
scalingProfile: 'aggressive' | 'conservative';
|
|
401
484
|
};
|
|
402
485
|
export type Invite = {
|
|
403
486
|
/**
|
|
@@ -423,282 +506,127 @@ export type Invite = {
|
|
|
423
506
|
};
|
|
424
507
|
export type Invoice = {
|
|
425
508
|
/**
|
|
426
|
-
* Unique identifier of the invoice.
|
|
509
|
+
* Unique identifier of the invoice.
|
|
427
510
|
*/
|
|
428
511
|
id?: string;
|
|
429
|
-
|
|
430
|
-
* Unique identifier of the organization. UUID v4 string in canonical form
|
|
431
|
-
*/
|
|
432
|
-
organizationId?: string;
|
|
512
|
+
number?: string;
|
|
433
513
|
/**
|
|
434
514
|
* Status of the invoice
|
|
435
515
|
*/
|
|
436
|
-
status?:
|
|
516
|
+
status?: string;
|
|
437
517
|
/**
|
|
438
518
|
* Total amount of the invoice
|
|
439
519
|
*/
|
|
440
|
-
|
|
520
|
+
total?: number;
|
|
441
521
|
/**
|
|
442
522
|
* Currency of the invoice
|
|
443
523
|
*/
|
|
444
|
-
currency?:
|
|
524
|
+
currency?: string;
|
|
445
525
|
/**
|
|
446
|
-
*
|
|
526
|
+
* Timestamp when the invoice was issued. ISO 8601 date string in the UTC timezone.
|
|
447
527
|
*/
|
|
448
|
-
|
|
528
|
+
created: string;
|
|
449
529
|
/**
|
|
450
|
-
*
|
|
530
|
+
* Billing period start timestamp. ISO 8601 date string in the UTC timezone.
|
|
451
531
|
*/
|
|
452
|
-
|
|
532
|
+
period_start: string;
|
|
453
533
|
/**
|
|
454
|
-
*
|
|
534
|
+
* Billing period end timestamp. ISO 8601 date string in the UTC timezone.
|
|
455
535
|
*/
|
|
456
|
-
|
|
536
|
+
period_end: string;
|
|
537
|
+
invoice_pdf?: string;
|
|
538
|
+
};
|
|
539
|
+
export type MarketplaceListingFiles = {
|
|
457
540
|
/**
|
|
458
|
-
*
|
|
541
|
+
* Raw Chart.yaml content from the Helm chart
|
|
459
542
|
*/
|
|
460
|
-
|
|
543
|
+
chartYaml?: string;
|
|
461
544
|
/**
|
|
462
|
-
*
|
|
545
|
+
* Raw values.yaml content from the Helm chart
|
|
463
546
|
*/
|
|
464
|
-
|
|
547
|
+
valuesYaml?: string;
|
|
465
548
|
/**
|
|
466
|
-
*
|
|
549
|
+
* JSON schema for values.yaml as a string
|
|
467
550
|
*/
|
|
468
|
-
|
|
551
|
+
valuesSchemaJson?: string;
|
|
552
|
+
};
|
|
553
|
+
export type MarketplaceListing = {
|
|
469
554
|
/**
|
|
470
|
-
*
|
|
555
|
+
* Name of the chart
|
|
471
556
|
*/
|
|
472
|
-
|
|
557
|
+
name: string;
|
|
473
558
|
/**
|
|
474
|
-
*
|
|
559
|
+
* Available versions of the chart
|
|
475
560
|
*/
|
|
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
|
-
}>;
|
|
561
|
+
versions: Array<string>;
|
|
564
562
|
/**
|
|
565
|
-
*
|
|
563
|
+
* Version channels for the chart
|
|
566
564
|
*/
|
|
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;
|
|
565
|
+
version_channels: Array<string>;
|
|
566
|
+
/**
|
|
567
|
+
* Latest version of the chart
|
|
568
|
+
*/
|
|
569
|
+
latestVersion: string;
|
|
570
|
+
/**
|
|
571
|
+
* Chart metadata
|
|
572
|
+
*/
|
|
573
|
+
metadata?: {
|
|
604
574
|
/**
|
|
605
|
-
*
|
|
575
|
+
* Chart name from metadata
|
|
606
576
|
*/
|
|
607
|
-
|
|
577
|
+
name: string;
|
|
608
578
|
/**
|
|
609
|
-
*
|
|
579
|
+
* Chart version from metadata
|
|
610
580
|
*/
|
|
611
|
-
|
|
581
|
+
version: string;
|
|
612
582
|
/**
|
|
613
|
-
*
|
|
583
|
+
* Chart description
|
|
614
584
|
*/
|
|
615
585
|
description?: string;
|
|
616
586
|
/**
|
|
617
|
-
*
|
|
618
|
-
*/
|
|
619
|
-
startDate?: string;
|
|
620
|
-
/**
|
|
621
|
-
* End date of the invoice item
|
|
587
|
+
* Application version
|
|
622
588
|
*/
|
|
623
|
-
|
|
589
|
+
appVersion?: string;
|
|
624
590
|
/**
|
|
625
|
-
*
|
|
591
|
+
* Helm API version
|
|
626
592
|
*/
|
|
627
|
-
|
|
593
|
+
apiVersion?: string;
|
|
628
594
|
/**
|
|
629
|
-
*
|
|
595
|
+
* Chart keywords
|
|
630
596
|
*/
|
|
631
|
-
|
|
597
|
+
keywords?: Array<string>;
|
|
632
598
|
/**
|
|
633
|
-
*
|
|
599
|
+
* Chart home URL
|
|
634
600
|
*/
|
|
635
|
-
|
|
601
|
+
home?: string;
|
|
636
602
|
/**
|
|
637
|
-
*
|
|
603
|
+
* A URL to an SVG or PNG image to be used as an icon
|
|
638
604
|
*/
|
|
639
|
-
|
|
605
|
+
icon?: string;
|
|
640
606
|
/**
|
|
641
|
-
*
|
|
607
|
+
* Chart source URLs
|
|
642
608
|
*/
|
|
643
|
-
|
|
609
|
+
sources?: Array<string>;
|
|
644
610
|
/**
|
|
645
|
-
*
|
|
611
|
+
* Chart maintainers
|
|
646
612
|
*/
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
613
|
+
maintainers?: Array<{
|
|
614
|
+
/**
|
|
615
|
+
* Maintainer name
|
|
616
|
+
*/
|
|
617
|
+
name: string;
|
|
618
|
+
/**
|
|
619
|
+
* Maintainer email
|
|
620
|
+
*/
|
|
621
|
+
email?: string;
|
|
622
|
+
}>;
|
|
623
|
+
};
|
|
655
624
|
};
|
|
656
|
-
export type
|
|
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;
|
|
625
|
+
export type OrganizationCreateInput = {
|
|
681
626
|
/**
|
|
682
|
-
*
|
|
627
|
+
* Type of the organization. `business` for legal entities, `personal` for individuals.
|
|
683
628
|
*/
|
|
684
|
-
|
|
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
|
-
}>;
|
|
700
|
-
};
|
|
701
|
-
export type OrganizationCreateInput = {
|
|
629
|
+
type: 'business' | 'personal';
|
|
702
630
|
/**
|
|
703
631
|
* Email address used for billing as a string.
|
|
704
632
|
*/
|
|
@@ -720,6 +648,12 @@ export type OrganizationCreateInput = {
|
|
|
720
648
|
*/
|
|
721
649
|
password: string;
|
|
722
650
|
};
|
|
651
|
+
export type OrganizationCreateOutput = {
|
|
652
|
+
/**
|
|
653
|
+
* Unique identifier of the newly created organization. Generated by the API and safe to use for client-side tracking immediately.
|
|
654
|
+
*/
|
|
655
|
+
id: string;
|
|
656
|
+
};
|
|
723
657
|
export type Organization = {
|
|
724
658
|
/**
|
|
725
659
|
* Unique identifier of the organization. UUID v4 string in canonical form
|
|
@@ -729,6 +663,10 @@ export type Organization = {
|
|
|
729
663
|
* Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
|
|
730
664
|
*/
|
|
731
665
|
name?: string;
|
|
666
|
+
/**
|
|
667
|
+
* Type of the organization. `business` for legal entities, `personal` for individuals.
|
|
668
|
+
*/
|
|
669
|
+
type: 'business' | 'personal';
|
|
732
670
|
/**
|
|
733
671
|
* Creation date of the organization. ISO 8601 date string in UTC timezone
|
|
734
672
|
*/
|
|
@@ -778,11 +716,19 @@ export type Organization = {
|
|
|
778
716
|
*/
|
|
779
717
|
label: string;
|
|
780
718
|
}>;
|
|
719
|
+
/**
|
|
720
|
+
* Organization-level maximum CFCR storage volume in GB. -1 means no limit.
|
|
721
|
+
*/
|
|
722
|
+
cfcr_storage_gb: number;
|
|
781
723
|
};
|
|
782
724
|
/**
|
|
783
725
|
* Status of the organization. Can be `active` or `closed`, or `suspended`.
|
|
784
726
|
*/
|
|
785
727
|
status: 'active' | 'closed' | 'suspended';
|
|
728
|
+
/**
|
|
729
|
+
* Verification status of the organization, which determines the assigned quota. `none` when billing information is incomplete, `submitted` when billing information is complete but the organization is not yet verified, `verified` when the organization is verified.
|
|
730
|
+
*/
|
|
731
|
+
verification: 'none' | 'submitted' | 'verified';
|
|
786
732
|
};
|
|
787
733
|
export type PaymentMethod = {
|
|
788
734
|
/**
|
|
@@ -814,6 +760,453 @@ export type PaymentMethod = {
|
|
|
814
760
|
*/
|
|
815
761
|
brand: 'amex' | 'diners' | 'discover' | 'eftpos_au' | 'jcb' | 'mastercard' | 'unionpay' | 'visa' | 'unknown';
|
|
816
762
|
};
|
|
763
|
+
export type PlatformQuota = {
|
|
764
|
+
/**
|
|
765
|
+
* Maximum number of Basic clusters that can be created.
|
|
766
|
+
*/
|
|
767
|
+
basic_clusters_max: number;
|
|
768
|
+
/**
|
|
769
|
+
* Available number of Basic clusters that can be created.
|
|
770
|
+
*/
|
|
771
|
+
basic_clusters_available: number;
|
|
772
|
+
/**
|
|
773
|
+
* Maximum number of Pro clusters that can be created.
|
|
774
|
+
*/
|
|
775
|
+
pro_clusters_max: number;
|
|
776
|
+
/**
|
|
777
|
+
* Available number of Pro clusters that can be created.
|
|
778
|
+
*/
|
|
779
|
+
pro_clusters_available: number;
|
|
780
|
+
/**
|
|
781
|
+
* Maximum number of fleets that can be created per cluster.
|
|
782
|
+
*/
|
|
783
|
+
fleets_max: number;
|
|
784
|
+
/**
|
|
785
|
+
* List of Cloudfleet cluster tiers available for the organization.
|
|
786
|
+
*/
|
|
787
|
+
cluster_tiers: Array<string>;
|
|
788
|
+
/**
|
|
789
|
+
* List of Cloudfleet control plane regions available for the organization.
|
|
790
|
+
*/
|
|
791
|
+
regions: Array<string>;
|
|
792
|
+
/**
|
|
793
|
+
* List of CFKE control plane versions available for the organization.
|
|
794
|
+
*/
|
|
795
|
+
versions: Array<{
|
|
796
|
+
/**
|
|
797
|
+
* Id of the control plane version. Used in API calls.
|
|
798
|
+
*/
|
|
799
|
+
id: string;
|
|
800
|
+
/**
|
|
801
|
+
* Label of the control plane version. Used in frontent UI.
|
|
802
|
+
*/
|
|
803
|
+
label: string;
|
|
804
|
+
}>;
|
|
805
|
+
/**
|
|
806
|
+
* Organization-level maximum CFCR storage volume in GB. -1 means no limit.
|
|
807
|
+
*/
|
|
808
|
+
cfcr_storage_gb: number;
|
|
809
|
+
};
|
|
810
|
+
export type RegistryRepository = {
|
|
811
|
+
/**
|
|
812
|
+
* Repository name.
|
|
813
|
+
*/
|
|
814
|
+
name: string;
|
|
815
|
+
/**
|
|
816
|
+
* Registry region.
|
|
817
|
+
*/
|
|
818
|
+
region: string;
|
|
819
|
+
/**
|
|
820
|
+
* Full URI of the repository.
|
|
821
|
+
*/
|
|
822
|
+
uri: string;
|
|
823
|
+
};
|
|
824
|
+
export type RegistryRepositoryWithTags = {
|
|
825
|
+
/**
|
|
826
|
+
* Repository name.
|
|
827
|
+
*/
|
|
828
|
+
name: string;
|
|
829
|
+
/**
|
|
830
|
+
* Registry region.
|
|
831
|
+
*/
|
|
832
|
+
region: string;
|
|
833
|
+
/**
|
|
834
|
+
* Full URI of the repository.
|
|
835
|
+
*/
|
|
836
|
+
uri: string;
|
|
837
|
+
/**
|
|
838
|
+
* Array of tags in the repository.
|
|
839
|
+
*/
|
|
840
|
+
tags: Array<{
|
|
841
|
+
/**
|
|
842
|
+
* Tag name.
|
|
843
|
+
*/
|
|
844
|
+
name: string;
|
|
845
|
+
/**
|
|
846
|
+
* Size of the tag in bytes.
|
|
847
|
+
*/
|
|
848
|
+
size: number;
|
|
849
|
+
/**
|
|
850
|
+
* Media type of the manifest.
|
|
851
|
+
*/
|
|
852
|
+
mediaType?: string;
|
|
853
|
+
/**
|
|
854
|
+
* Array of platform strings for multi-arch images (e.g., linux/amd64, linux/arm64).
|
|
855
|
+
*/
|
|
856
|
+
platforms?: Array<string>;
|
|
857
|
+
}>;
|
|
858
|
+
/**
|
|
859
|
+
* Total size of all tags in the repository in bytes.
|
|
860
|
+
*/
|
|
861
|
+
totalSize: number;
|
|
862
|
+
};
|
|
863
|
+
export type RegistryTag = {
|
|
864
|
+
/**
|
|
865
|
+
* Tag name.
|
|
866
|
+
*/
|
|
867
|
+
name: string;
|
|
868
|
+
/**
|
|
869
|
+
* Manifest digest for pulling by digest.
|
|
870
|
+
*/
|
|
871
|
+
digest: string;
|
|
872
|
+
/**
|
|
873
|
+
* Media type of the manifest.
|
|
874
|
+
*/
|
|
875
|
+
mediaType?: string;
|
|
876
|
+
/**
|
|
877
|
+
* Manifest config metadata.
|
|
878
|
+
*/
|
|
879
|
+
config?: {
|
|
880
|
+
/**
|
|
881
|
+
* Size of the config in bytes.
|
|
882
|
+
*/
|
|
883
|
+
size: number;
|
|
884
|
+
};
|
|
885
|
+
/**
|
|
886
|
+
* Array of layer metadata.
|
|
887
|
+
*/
|
|
888
|
+
layers?: Array<{
|
|
889
|
+
/**
|
|
890
|
+
* Digest of the layer.
|
|
891
|
+
*/
|
|
892
|
+
digest?: string;
|
|
893
|
+
/**
|
|
894
|
+
* Size of the layer in bytes.
|
|
895
|
+
*/
|
|
896
|
+
size: number;
|
|
897
|
+
}>;
|
|
898
|
+
/**
|
|
899
|
+
* Array of manifests for multi-arch images.
|
|
900
|
+
*/
|
|
901
|
+
manifests?: Array<{
|
|
902
|
+
/**
|
|
903
|
+
* Digest of the manifest.
|
|
904
|
+
*/
|
|
905
|
+
digest: string;
|
|
906
|
+
/**
|
|
907
|
+
* Platform information for the manifest.
|
|
908
|
+
*/
|
|
909
|
+
platform?: {
|
|
910
|
+
/**
|
|
911
|
+
* Architecture of the platform.
|
|
912
|
+
*/
|
|
913
|
+
architecture: string;
|
|
914
|
+
/**
|
|
915
|
+
* Operating system of the platform.
|
|
916
|
+
*/
|
|
917
|
+
os: string;
|
|
918
|
+
/**
|
|
919
|
+
* Variant of the platform (e.g., v7, v8 for ARM).
|
|
920
|
+
*/
|
|
921
|
+
variant?: string;
|
|
922
|
+
};
|
|
923
|
+
/**
|
|
924
|
+
* Layers for this platform.
|
|
925
|
+
*/
|
|
926
|
+
layers?: Array<{
|
|
927
|
+
/**
|
|
928
|
+
* Digest of the layer.
|
|
929
|
+
*/
|
|
930
|
+
digest?: string;
|
|
931
|
+
/**
|
|
932
|
+
* Size of the layer in bytes.
|
|
933
|
+
*/
|
|
934
|
+
size: number;
|
|
935
|
+
}>;
|
|
936
|
+
/**
|
|
937
|
+
* Total size of this platform manifest in bytes.
|
|
938
|
+
*/
|
|
939
|
+
size?: number;
|
|
940
|
+
}>;
|
|
941
|
+
/**
|
|
942
|
+
* Total size of the tag in bytes.
|
|
943
|
+
*/
|
|
944
|
+
size: number;
|
|
945
|
+
/**
|
|
946
|
+
* Registry region.
|
|
947
|
+
*/
|
|
948
|
+
region: string;
|
|
949
|
+
/**
|
|
950
|
+
* Repository name.
|
|
951
|
+
*/
|
|
952
|
+
repository: string;
|
|
953
|
+
/**
|
|
954
|
+
* Full URI of the tag.
|
|
955
|
+
*/
|
|
956
|
+
uri: string;
|
|
957
|
+
};
|
|
958
|
+
export type TicketAttachment = {
|
|
959
|
+
/**
|
|
960
|
+
* Unique identifier of the attachment (Mongo ObjectId).
|
|
961
|
+
*/
|
|
962
|
+
id: string;
|
|
963
|
+
/**
|
|
964
|
+
* Original filename as uploaded.
|
|
965
|
+
*/
|
|
966
|
+
filename: string;
|
|
967
|
+
/**
|
|
968
|
+
* MIME content type of the attachment.
|
|
969
|
+
*/
|
|
970
|
+
content_type: string;
|
|
971
|
+
/**
|
|
972
|
+
* Size of the attachment in bytes.
|
|
973
|
+
*/
|
|
974
|
+
size: number;
|
|
975
|
+
};
|
|
976
|
+
export type TicketCreateInput = {
|
|
977
|
+
/**
|
|
978
|
+
* Ticket category. Drives auto-assignment and may carry a subcategory in `properties`.
|
|
979
|
+
*/
|
|
980
|
+
category: 'billing' | 'technical' | 'general';
|
|
981
|
+
/**
|
|
982
|
+
* Initial message body in markdown. There is no separate subject — the first message body is the description.
|
|
983
|
+
*/
|
|
984
|
+
body: string;
|
|
985
|
+
/**
|
|
986
|
+
* Free-form key/value bag set by the UI (e.g. `subcategory`, `cluster_id`, `cluster_name`, `region`).
|
|
987
|
+
*/
|
|
988
|
+
properties?: {
|
|
989
|
+
[key: string]: unknown;
|
|
990
|
+
};
|
|
991
|
+
};
|
|
992
|
+
export type TicketListResponse = {
|
|
993
|
+
/**
|
|
994
|
+
* Tickets for the organization, ordered newest first. Messages are omitted from list responses.
|
|
995
|
+
*/
|
|
996
|
+
items: Array<{
|
|
997
|
+
/**
|
|
998
|
+
* Unique identifier of the ticket (Mongo ObjectId).
|
|
999
|
+
*/
|
|
1000
|
+
id: string;
|
|
1001
|
+
/**
|
|
1002
|
+
* Current state of the ticket.
|
|
1003
|
+
*/
|
|
1004
|
+
status: 'waiting_on_us' | 'waiting_on_user' | 'closed';
|
|
1005
|
+
/**
|
|
1006
|
+
* Ticket category.
|
|
1007
|
+
*/
|
|
1008
|
+
category: 'billing' | 'technical' | 'general';
|
|
1009
|
+
/**
|
|
1010
|
+
* First 128 characters of the initial message body, with markdown formatting and newlines stripped. Used for ticket list previews.
|
|
1011
|
+
*/
|
|
1012
|
+
summary: string;
|
|
1013
|
+
/**
|
|
1014
|
+
* Closure timestamp. Null while the ticket is open.
|
|
1015
|
+
*/
|
|
1016
|
+
closed_at?: string;
|
|
1017
|
+
/**
|
|
1018
|
+
* Creation date of the ticket. ISO 8601 UTC.
|
|
1019
|
+
*/
|
|
1020
|
+
date_created: string;
|
|
1021
|
+
/**
|
|
1022
|
+
* Last update date of the ticket. ISO 8601 UTC.
|
|
1023
|
+
*/
|
|
1024
|
+
date_updated: string;
|
|
1025
|
+
/**
|
|
1026
|
+
* Messages on the ticket in chronological order. Internal notes are excluded. Returned by the detail endpoint only.
|
|
1027
|
+
*/
|
|
1028
|
+
messages?: Array<{
|
|
1029
|
+
/**
|
|
1030
|
+
* Unique identifier of the message (Mongo ObjectId).
|
|
1031
|
+
*/
|
|
1032
|
+
id: string;
|
|
1033
|
+
/**
|
|
1034
|
+
* Message type. Internal notes are filtered out of customer-facing responses.
|
|
1035
|
+
*/
|
|
1036
|
+
type: 'customer_reply' | 'agent_reply';
|
|
1037
|
+
/**
|
|
1038
|
+
* Message body in markdown.
|
|
1039
|
+
*/
|
|
1040
|
+
body: string;
|
|
1041
|
+
/**
|
|
1042
|
+
* First name of the author. Null when not provided.
|
|
1043
|
+
*/
|
|
1044
|
+
author_first_name?: string;
|
|
1045
|
+
/**
|
|
1046
|
+
* Last name of the author. Null when not provided.
|
|
1047
|
+
*/
|
|
1048
|
+
author_last_name?: string;
|
|
1049
|
+
/**
|
|
1050
|
+
* Attachments associated with this message.
|
|
1051
|
+
*/
|
|
1052
|
+
attachments?: Array<{
|
|
1053
|
+
/**
|
|
1054
|
+
* Unique identifier of the attachment (Mongo ObjectId).
|
|
1055
|
+
*/
|
|
1056
|
+
id: string;
|
|
1057
|
+
/**
|
|
1058
|
+
* Original filename as uploaded.
|
|
1059
|
+
*/
|
|
1060
|
+
filename: string;
|
|
1061
|
+
/**
|
|
1062
|
+
* MIME content type of the attachment.
|
|
1063
|
+
*/
|
|
1064
|
+
content_type: string;
|
|
1065
|
+
/**
|
|
1066
|
+
* Size of the attachment in bytes.
|
|
1067
|
+
*/
|
|
1068
|
+
size: number;
|
|
1069
|
+
}>;
|
|
1070
|
+
/**
|
|
1071
|
+
* Creation date of the message. ISO 8601 UTC.
|
|
1072
|
+
*/
|
|
1073
|
+
date_created: string;
|
|
1074
|
+
}>;
|
|
1075
|
+
}>;
|
|
1076
|
+
};
|
|
1077
|
+
export type TicketMessageInput = {
|
|
1078
|
+
/**
|
|
1079
|
+
* Reply body in markdown.
|
|
1080
|
+
*/
|
|
1081
|
+
body: string;
|
|
1082
|
+
};
|
|
1083
|
+
export type TicketMessage = {
|
|
1084
|
+
/**
|
|
1085
|
+
* Unique identifier of the message (Mongo ObjectId).
|
|
1086
|
+
*/
|
|
1087
|
+
id: string;
|
|
1088
|
+
/**
|
|
1089
|
+
* Message type. Internal notes are filtered out of customer-facing responses.
|
|
1090
|
+
*/
|
|
1091
|
+
type: 'customer_reply' | 'agent_reply';
|
|
1092
|
+
/**
|
|
1093
|
+
* Message body in markdown.
|
|
1094
|
+
*/
|
|
1095
|
+
body: string;
|
|
1096
|
+
/**
|
|
1097
|
+
* First name of the author. Null when not provided.
|
|
1098
|
+
*/
|
|
1099
|
+
author_first_name?: string;
|
|
1100
|
+
/**
|
|
1101
|
+
* Last name of the author. Null when not provided.
|
|
1102
|
+
*/
|
|
1103
|
+
author_last_name?: string;
|
|
1104
|
+
/**
|
|
1105
|
+
* Attachments associated with this message.
|
|
1106
|
+
*/
|
|
1107
|
+
attachments?: Array<{
|
|
1108
|
+
/**
|
|
1109
|
+
* Unique identifier of the attachment (Mongo ObjectId).
|
|
1110
|
+
*/
|
|
1111
|
+
id: string;
|
|
1112
|
+
/**
|
|
1113
|
+
* Original filename as uploaded.
|
|
1114
|
+
*/
|
|
1115
|
+
filename: string;
|
|
1116
|
+
/**
|
|
1117
|
+
* MIME content type of the attachment.
|
|
1118
|
+
*/
|
|
1119
|
+
content_type: string;
|
|
1120
|
+
/**
|
|
1121
|
+
* Size of the attachment in bytes.
|
|
1122
|
+
*/
|
|
1123
|
+
size: number;
|
|
1124
|
+
}>;
|
|
1125
|
+
/**
|
|
1126
|
+
* Creation date of the message. ISO 8601 UTC.
|
|
1127
|
+
*/
|
|
1128
|
+
date_created: string;
|
|
1129
|
+
};
|
|
1130
|
+
export type Ticket = {
|
|
1131
|
+
/**
|
|
1132
|
+
* Unique identifier of the ticket (Mongo ObjectId).
|
|
1133
|
+
*/
|
|
1134
|
+
id: string;
|
|
1135
|
+
/**
|
|
1136
|
+
* Current state of the ticket.
|
|
1137
|
+
*/
|
|
1138
|
+
status: 'waiting_on_us' | 'waiting_on_user' | 'closed';
|
|
1139
|
+
/**
|
|
1140
|
+
* Ticket category.
|
|
1141
|
+
*/
|
|
1142
|
+
category: 'billing' | 'technical' | 'general';
|
|
1143
|
+
/**
|
|
1144
|
+
* First 128 characters of the initial message body, with markdown formatting and newlines stripped. Used for ticket list previews.
|
|
1145
|
+
*/
|
|
1146
|
+
summary: string;
|
|
1147
|
+
/**
|
|
1148
|
+
* Closure timestamp. Null while the ticket is open.
|
|
1149
|
+
*/
|
|
1150
|
+
closed_at?: string;
|
|
1151
|
+
/**
|
|
1152
|
+
* Creation date of the ticket. ISO 8601 UTC.
|
|
1153
|
+
*/
|
|
1154
|
+
date_created: string;
|
|
1155
|
+
/**
|
|
1156
|
+
* Last update date of the ticket. ISO 8601 UTC.
|
|
1157
|
+
*/
|
|
1158
|
+
date_updated: string;
|
|
1159
|
+
/**
|
|
1160
|
+
* Messages on the ticket in chronological order. Internal notes are excluded. Returned by the detail endpoint only.
|
|
1161
|
+
*/
|
|
1162
|
+
messages?: Array<{
|
|
1163
|
+
/**
|
|
1164
|
+
* Unique identifier of the message (Mongo ObjectId).
|
|
1165
|
+
*/
|
|
1166
|
+
id: string;
|
|
1167
|
+
/**
|
|
1168
|
+
* Message type. Internal notes are filtered out of customer-facing responses.
|
|
1169
|
+
*/
|
|
1170
|
+
type: 'customer_reply' | 'agent_reply';
|
|
1171
|
+
/**
|
|
1172
|
+
* Message body in markdown.
|
|
1173
|
+
*/
|
|
1174
|
+
body: string;
|
|
1175
|
+
/**
|
|
1176
|
+
* First name of the author. Null when not provided.
|
|
1177
|
+
*/
|
|
1178
|
+
author_first_name?: string;
|
|
1179
|
+
/**
|
|
1180
|
+
* Last name of the author. Null when not provided.
|
|
1181
|
+
*/
|
|
1182
|
+
author_last_name?: string;
|
|
1183
|
+
/**
|
|
1184
|
+
* Attachments associated with this message.
|
|
1185
|
+
*/
|
|
1186
|
+
attachments?: Array<{
|
|
1187
|
+
/**
|
|
1188
|
+
* Unique identifier of the attachment (Mongo ObjectId).
|
|
1189
|
+
*/
|
|
1190
|
+
id: string;
|
|
1191
|
+
/**
|
|
1192
|
+
* Original filename as uploaded.
|
|
1193
|
+
*/
|
|
1194
|
+
filename: string;
|
|
1195
|
+
/**
|
|
1196
|
+
* MIME content type of the attachment.
|
|
1197
|
+
*/
|
|
1198
|
+
content_type: string;
|
|
1199
|
+
/**
|
|
1200
|
+
* Size of the attachment in bytes.
|
|
1201
|
+
*/
|
|
1202
|
+
size: number;
|
|
1203
|
+
}>;
|
|
1204
|
+
/**
|
|
1205
|
+
* Creation date of the message. ISO 8601 UTC.
|
|
1206
|
+
*/
|
|
1207
|
+
date_created: string;
|
|
1208
|
+
}>;
|
|
1209
|
+
};
|
|
817
1210
|
export type TokenCreateInput = {
|
|
818
1211
|
/**
|
|
819
1212
|
* Human readable access token name.
|
|
@@ -856,35 +1249,85 @@ export type TokenUpdateInput = {
|
|
|
856
1249
|
*/
|
|
857
1250
|
role?: 'Administrator' | 'User';
|
|
858
1251
|
};
|
|
1252
|
+
export type UsageFacets = {
|
|
1253
|
+
/**
|
|
1254
|
+
* List of unique cluster IDs
|
|
1255
|
+
*/
|
|
1256
|
+
cluster_id?: Array<string>;
|
|
1257
|
+
/**
|
|
1258
|
+
* List of unique products
|
|
1259
|
+
*/
|
|
1260
|
+
product?: Array<string>;
|
|
1261
|
+
};
|
|
1262
|
+
export type UsageResponse = {
|
|
1263
|
+
/**
|
|
1264
|
+
* Usage data
|
|
1265
|
+
*/
|
|
1266
|
+
data: Array<{
|
|
1267
|
+
/**
|
|
1268
|
+
* Hour of the usage
|
|
1269
|
+
*/
|
|
1270
|
+
hour: string;
|
|
1271
|
+
/**
|
|
1272
|
+
* Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
|
|
1273
|
+
*/
|
|
1274
|
+
cluster_id: string;
|
|
1275
|
+
/**
|
|
1276
|
+
* The product the usage is associated with
|
|
1277
|
+
*/
|
|
1278
|
+
product: string;
|
|
1279
|
+
/**
|
|
1280
|
+
* Consumption
|
|
1281
|
+
*/
|
|
1282
|
+
value: number;
|
|
1283
|
+
/**
|
|
1284
|
+
* Price per unit
|
|
1285
|
+
*/
|
|
1286
|
+
price: number;
|
|
1287
|
+
/**
|
|
1288
|
+
* Total cost
|
|
1289
|
+
*/
|
|
1290
|
+
total: number;
|
|
1291
|
+
}>;
|
|
1292
|
+
/**
|
|
1293
|
+
* Facets for filtering
|
|
1294
|
+
*/
|
|
1295
|
+
facets: {
|
|
1296
|
+
/**
|
|
1297
|
+
* List of unique cluster IDs
|
|
1298
|
+
*/
|
|
1299
|
+
cluster_id?: Array<string>;
|
|
1300
|
+
/**
|
|
1301
|
+
* List of unique products
|
|
1302
|
+
*/
|
|
1303
|
+
product?: Array<string>;
|
|
1304
|
+
};
|
|
1305
|
+
};
|
|
859
1306
|
export type Usage = {
|
|
860
1307
|
/**
|
|
861
1308
|
* Hour of the usage
|
|
862
1309
|
*/
|
|
863
|
-
hour
|
|
1310
|
+
hour: string;
|
|
864
1311
|
/**
|
|
865
1312
|
* Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
|
|
866
1313
|
*/
|
|
867
1314
|
cluster_id: string;
|
|
868
1315
|
/**
|
|
869
|
-
*
|
|
1316
|
+
* The product the usage is associated with
|
|
870
1317
|
*/
|
|
871
|
-
|
|
1318
|
+
product: string;
|
|
872
1319
|
/**
|
|
873
|
-
*
|
|
1320
|
+
* Consumption
|
|
874
1321
|
*/
|
|
875
|
-
|
|
1322
|
+
value: number;
|
|
876
1323
|
/**
|
|
877
|
-
*
|
|
1324
|
+
* Price per unit
|
|
878
1325
|
*/
|
|
879
|
-
|
|
1326
|
+
price: number;
|
|
880
1327
|
/**
|
|
881
|
-
*
|
|
1328
|
+
* Total cost
|
|
882
1329
|
*/
|
|
883
|
-
|
|
884
|
-
cpu: number | '';
|
|
885
|
-
price: number | '';
|
|
886
|
-
value: number | '';
|
|
887
|
-
total: number | '';
|
|
1330
|
+
total: number;
|
|
888
1331
|
};
|
|
889
1332
|
export type UserCreateInput = {
|
|
890
1333
|
/**
|
|
@@ -971,7 +1414,12 @@ export type UserUpdateInput = {
|
|
|
971
1414
|
export type GetUsageData = {
|
|
972
1415
|
body?: never;
|
|
973
1416
|
path?: never;
|
|
974
|
-
query?:
|
|
1417
|
+
query?: {
|
|
1418
|
+
/**
|
|
1419
|
+
* 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)
|
|
1420
|
+
*/
|
|
1421
|
+
granularity?: 'hourly' | 'daily' | 'monthly';
|
|
1422
|
+
};
|
|
975
1423
|
url: '/billing/usage';
|
|
976
1424
|
};
|
|
977
1425
|
export type GetUsageErrors = {
|
|
@@ -982,24 +1430,11 @@ export type GetUsageErrors = {
|
|
|
982
1430
|
};
|
|
983
1431
|
export type GetUsageResponses = {
|
|
984
1432
|
/**
|
|
985
|
-
*
|
|
1433
|
+
* Usage data with facets for filtering
|
|
986
1434
|
*/
|
|
987
|
-
200:
|
|
1435
|
+
200: UsageResponse;
|
|
988
1436
|
};
|
|
989
1437
|
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
1438
|
export type GetPaymentMethodData = {
|
|
1004
1439
|
body?: never;
|
|
1005
1440
|
path?: never;
|
|
@@ -1041,16 +1476,7 @@ export type GetPaymentMethodSecretResponse = GetPaymentMethodSecretResponses[key
|
|
|
1041
1476
|
export type ListInvoicesData = {
|
|
1042
1477
|
body?: never;
|
|
1043
1478
|
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
|
-
};
|
|
1479
|
+
query?: never;
|
|
1054
1480
|
url: '/billing/invoices';
|
|
1055
1481
|
};
|
|
1056
1482
|
export type ListInvoicesErrors = {
|
|
@@ -1066,26 +1492,6 @@ export type ListInvoicesResponses = {
|
|
|
1066
1492
|
200: Array<Invoice>;
|
|
1067
1493
|
};
|
|
1068
1494
|
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
1495
|
export type GetContactData = {
|
|
1090
1496
|
body?: never;
|
|
1091
1497
|
path?: never;
|
|
@@ -1521,7 +1927,7 @@ export type GetJoinInformationResponses = {
|
|
|
1521
1927
|
/**
|
|
1522
1928
|
* An object of cluster join information
|
|
1523
1929
|
*/
|
|
1524
|
-
200:
|
|
1930
|
+
200: ClusterJoinInformation;
|
|
1525
1931
|
};
|
|
1526
1932
|
export type GetJoinInformationResponse = GetJoinInformationResponses[keyof GetJoinInformationResponses];
|
|
1527
1933
|
export type ListInvitesData = {
|
|
@@ -1615,24 +2021,76 @@ export type ListMarketplaceChartsResponses = {
|
|
|
1615
2021
|
200: Array<MarketplaceListing>;
|
|
1616
2022
|
};
|
|
1617
2023
|
export type ListMarketplaceChartsResponse = ListMarketplaceChartsResponses[keyof ListMarketplaceChartsResponses];
|
|
1618
|
-
export type
|
|
2024
|
+
export type GetMarketplaceChartFilesData = {
|
|
1619
2025
|
body?: never;
|
|
1620
2026
|
path: {
|
|
1621
2027
|
/**
|
|
1622
|
-
*
|
|
2028
|
+
* Name of the chart in the marketplace.
|
|
2029
|
+
*/
|
|
2030
|
+
chart_name: string;
|
|
2031
|
+
/**
|
|
2032
|
+
* 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).
|
|
2033
|
+
*/
|
|
2034
|
+
version_channel: string;
|
|
2035
|
+
};
|
|
2036
|
+
query?: never;
|
|
2037
|
+
url: '/marketplace/{chart_name}/files/{version_channel}';
|
|
2038
|
+
};
|
|
2039
|
+
export type GetMarketplaceChartFilesErrors = {
|
|
2040
|
+
/**
|
|
2041
|
+
* Chart not found or no version matches the channel
|
|
2042
|
+
*/
|
|
2043
|
+
404: unknown;
|
|
2044
|
+
};
|
|
2045
|
+
export type GetMarketplaceChartFilesResponses = {
|
|
2046
|
+
/**
|
|
2047
|
+
* Returns an object containing the chart files for the latest matching version.
|
|
2048
|
+
*/
|
|
2049
|
+
200: MarketplaceListingFiles;
|
|
2050
|
+
};
|
|
2051
|
+
export type GetMarketplaceChartFilesResponse = GetMarketplaceChartFilesResponses[keyof GetMarketplaceChartFilesResponses];
|
|
2052
|
+
export type PostMcpData = {
|
|
2053
|
+
/**
|
|
2054
|
+
* JSON-RPC 2.0 request payload
|
|
2055
|
+
*/
|
|
2056
|
+
body: {
|
|
2057
|
+
jsonrpc?: string;
|
|
2058
|
+
method?: string;
|
|
2059
|
+
id?: string | number;
|
|
2060
|
+
/**
|
|
2061
|
+
* Method-specific parameters
|
|
1623
2062
|
*/
|
|
1624
|
-
|
|
2063
|
+
params?: {
|
|
2064
|
+
[key: string]: unknown;
|
|
2065
|
+
};
|
|
1625
2066
|
};
|
|
2067
|
+
path?: never;
|
|
1626
2068
|
query?: never;
|
|
1627
|
-
url: '/
|
|
2069
|
+
url: '/mcp';
|
|
1628
2070
|
};
|
|
1629
|
-
export type
|
|
2071
|
+
export type PostMcpErrors = {
|
|
1630
2072
|
/**
|
|
1631
|
-
*
|
|
2073
|
+
* Not authenticated
|
|
2074
|
+
*/
|
|
2075
|
+
401: unknown;
|
|
2076
|
+
};
|
|
2077
|
+
export type PostMcpResponses = {
|
|
2078
|
+
/**
|
|
2079
|
+
* JSON-RPC 2.0 success or error response
|
|
1632
2080
|
*/
|
|
1633
|
-
200:
|
|
2081
|
+
200: {
|
|
2082
|
+
jsonrpc?: string;
|
|
2083
|
+
id?: string | number;
|
|
2084
|
+
result?: {
|
|
2085
|
+
[key: string]: unknown;
|
|
2086
|
+
};
|
|
2087
|
+
error?: {
|
|
2088
|
+
code?: number;
|
|
2089
|
+
message?: string;
|
|
2090
|
+
};
|
|
2091
|
+
};
|
|
1634
2092
|
};
|
|
1635
|
-
export type
|
|
2093
|
+
export type PostMcpResponse = PostMcpResponses[keyof PostMcpResponses];
|
|
1636
2094
|
export type GetOrganizationData = {
|
|
1637
2095
|
body?: never;
|
|
1638
2096
|
path?: never;
|
|
@@ -1654,10 +2112,255 @@ export type CreateOrganizationData = {
|
|
|
1654
2112
|
};
|
|
1655
2113
|
export type CreateOrganizationResponses = {
|
|
1656
2114
|
/**
|
|
1657
|
-
*
|
|
2115
|
+
* Organization signup accepted. Returns the generated organization id immediately; provisioning (billing, Keycloak realm, user) continues asynchronously in the background.
|
|
2116
|
+
*
|
|
2117
|
+
*/
|
|
2118
|
+
200: OrganizationCreateOutput;
|
|
2119
|
+
};
|
|
2120
|
+
export type CreateOrganizationResponse = CreateOrganizationResponses[keyof CreateOrganizationResponses];
|
|
2121
|
+
export type ListRepositoriesData = {
|
|
2122
|
+
body?: never;
|
|
2123
|
+
path?: never;
|
|
2124
|
+
query?: never;
|
|
2125
|
+
url: '/registry';
|
|
2126
|
+
};
|
|
2127
|
+
export type ListRepositoriesErrors = {
|
|
2128
|
+
/**
|
|
2129
|
+
* Not authenticated
|
|
2130
|
+
*/
|
|
2131
|
+
401: unknown;
|
|
2132
|
+
/**
|
|
2133
|
+
* Internal server error
|
|
2134
|
+
*/
|
|
2135
|
+
500: unknown;
|
|
2136
|
+
};
|
|
2137
|
+
export type ListRepositoriesResponses = {
|
|
2138
|
+
/**
|
|
2139
|
+
* List of repositories
|
|
2140
|
+
*/
|
|
2141
|
+
200: Array<RegistryRepository>;
|
|
2142
|
+
};
|
|
2143
|
+
export type ListRepositoriesResponse = ListRepositoriesResponses[keyof ListRepositoriesResponses];
|
|
2144
|
+
export type ListTagsData = {
|
|
2145
|
+
body?: never;
|
|
2146
|
+
path: {
|
|
2147
|
+
/**
|
|
2148
|
+
* Region where the repository is located
|
|
2149
|
+
*/
|
|
2150
|
+
region: string;
|
|
2151
|
+
/**
|
|
2152
|
+
* Name of the repository
|
|
2153
|
+
*/
|
|
2154
|
+
repository: string;
|
|
2155
|
+
};
|
|
2156
|
+
query?: never;
|
|
2157
|
+
url: '/registry/{region}/{repository}';
|
|
2158
|
+
};
|
|
2159
|
+
export type ListTagsErrors = {
|
|
2160
|
+
/**
|
|
2161
|
+
* Not authenticated
|
|
2162
|
+
*/
|
|
2163
|
+
401: unknown;
|
|
2164
|
+
/**
|
|
2165
|
+
* Repository not found
|
|
2166
|
+
*/
|
|
2167
|
+
404: unknown;
|
|
2168
|
+
/**
|
|
2169
|
+
* Internal server error
|
|
2170
|
+
*/
|
|
2171
|
+
500: unknown;
|
|
2172
|
+
};
|
|
2173
|
+
export type ListTagsResponses = {
|
|
2174
|
+
/**
|
|
2175
|
+
* Repository with tags
|
|
2176
|
+
*/
|
|
2177
|
+
200: RegistryRepositoryWithTags;
|
|
2178
|
+
};
|
|
2179
|
+
export type ListTagsResponse = ListTagsResponses[keyof ListTagsResponses];
|
|
2180
|
+
export type DeleteTagData = {
|
|
2181
|
+
body?: never;
|
|
2182
|
+
path: {
|
|
2183
|
+
/**
|
|
2184
|
+
* Region where the repository is located
|
|
2185
|
+
*/
|
|
2186
|
+
region: string;
|
|
2187
|
+
/**
|
|
2188
|
+
* Name of the repository
|
|
2189
|
+
*/
|
|
2190
|
+
repository: string;
|
|
2191
|
+
/**
|
|
2192
|
+
* Name of the tag
|
|
2193
|
+
*/
|
|
2194
|
+
tag: string;
|
|
2195
|
+
};
|
|
2196
|
+
query?: never;
|
|
2197
|
+
url: '/registry/{region}/{repository}/{tag}';
|
|
2198
|
+
};
|
|
2199
|
+
export type DeleteTagErrors = {
|
|
2200
|
+
/**
|
|
2201
|
+
* Not authenticated
|
|
2202
|
+
*/
|
|
2203
|
+
401: unknown;
|
|
2204
|
+
/**
|
|
2205
|
+
* Tag not found
|
|
2206
|
+
*/
|
|
2207
|
+
404: unknown;
|
|
2208
|
+
/**
|
|
2209
|
+
* Internal server error
|
|
2210
|
+
*/
|
|
2211
|
+
500: unknown;
|
|
2212
|
+
};
|
|
2213
|
+
export type DeleteTagResponses = {
|
|
2214
|
+
/**
|
|
2215
|
+
* Tag successfully deleted
|
|
1658
2216
|
*/
|
|
1659
2217
|
200: unknown;
|
|
1660
2218
|
};
|
|
2219
|
+
export type GetTagData = {
|
|
2220
|
+
body?: never;
|
|
2221
|
+
path: {
|
|
2222
|
+
/**
|
|
2223
|
+
* Region where the repository is located
|
|
2224
|
+
*/
|
|
2225
|
+
region: string;
|
|
2226
|
+
/**
|
|
2227
|
+
* Name of the repository
|
|
2228
|
+
*/
|
|
2229
|
+
repository: string;
|
|
2230
|
+
/**
|
|
2231
|
+
* Name of the tag
|
|
2232
|
+
*/
|
|
2233
|
+
tag: string;
|
|
2234
|
+
};
|
|
2235
|
+
query?: never;
|
|
2236
|
+
url: '/registry/{region}/{repository}/{tag}';
|
|
2237
|
+
};
|
|
2238
|
+
export type GetTagErrors = {
|
|
2239
|
+
/**
|
|
2240
|
+
* Not authenticated
|
|
2241
|
+
*/
|
|
2242
|
+
401: unknown;
|
|
2243
|
+
/**
|
|
2244
|
+
* Tag not found
|
|
2245
|
+
*/
|
|
2246
|
+
404: unknown;
|
|
2247
|
+
/**
|
|
2248
|
+
* Internal server error
|
|
2249
|
+
*/
|
|
2250
|
+
500: unknown;
|
|
2251
|
+
};
|
|
2252
|
+
export type GetTagResponses = {
|
|
2253
|
+
/**
|
|
2254
|
+
* Tag details
|
|
2255
|
+
*/
|
|
2256
|
+
200: RegistryTag;
|
|
2257
|
+
};
|
|
2258
|
+
export type GetTagResponse = GetTagResponses[keyof GetTagResponses];
|
|
2259
|
+
export type ListTicketsData = {
|
|
2260
|
+
body?: never;
|
|
2261
|
+
path?: never;
|
|
2262
|
+
query?: never;
|
|
2263
|
+
url: '/tickets';
|
|
2264
|
+
};
|
|
2265
|
+
export type ListTicketsResponses = {
|
|
2266
|
+
/**
|
|
2267
|
+
* Tickets for the organization.
|
|
2268
|
+
*/
|
|
2269
|
+
200: TicketListResponse;
|
|
2270
|
+
};
|
|
2271
|
+
export type ListTicketsResponse = ListTicketsResponses[keyof ListTicketsResponses];
|
|
2272
|
+
export type CreateTicketData = {
|
|
2273
|
+
body: {
|
|
2274
|
+
/**
|
|
2275
|
+
* JSON-encoded TicketCreateInput.
|
|
2276
|
+
*/
|
|
2277
|
+
payload?: string;
|
|
2278
|
+
attachments?: Array<Blob | File>;
|
|
2279
|
+
};
|
|
2280
|
+
path?: never;
|
|
2281
|
+
query?: never;
|
|
2282
|
+
url: '/tickets';
|
|
2283
|
+
};
|
|
2284
|
+
export type CreateTicketResponses = {
|
|
2285
|
+
/**
|
|
2286
|
+
* Ticket created.
|
|
2287
|
+
*/
|
|
2288
|
+
200: Ticket;
|
|
2289
|
+
};
|
|
2290
|
+
export type CreateTicketResponse = CreateTicketResponses[keyof CreateTicketResponses];
|
|
2291
|
+
export type CloseTicketData = {
|
|
2292
|
+
body?: never;
|
|
2293
|
+
path: {
|
|
2294
|
+
ticket_id: string;
|
|
2295
|
+
};
|
|
2296
|
+
query?: never;
|
|
2297
|
+
url: '/tickets/{ticket_id}';
|
|
2298
|
+
};
|
|
2299
|
+
export type CloseTicketResponses = {
|
|
2300
|
+
/**
|
|
2301
|
+
* Ticket closed.
|
|
2302
|
+
*/
|
|
2303
|
+
200: Ticket;
|
|
2304
|
+
};
|
|
2305
|
+
export type CloseTicketResponse = CloseTicketResponses[keyof CloseTicketResponses];
|
|
2306
|
+
export type GetTicketData = {
|
|
2307
|
+
body?: never;
|
|
2308
|
+
path: {
|
|
2309
|
+
ticket_id: string;
|
|
2310
|
+
};
|
|
2311
|
+
query?: never;
|
|
2312
|
+
url: '/tickets/{ticket_id}';
|
|
2313
|
+
};
|
|
2314
|
+
export type GetTicketResponses = {
|
|
2315
|
+
/**
|
|
2316
|
+
* Ticket with messages (internal notes excluded).
|
|
2317
|
+
*/
|
|
2318
|
+
200: Ticket;
|
|
2319
|
+
};
|
|
2320
|
+
export type GetTicketResponse = GetTicketResponses[keyof GetTicketResponses];
|
|
2321
|
+
export type ReplyTicketData = {
|
|
2322
|
+
body: {
|
|
2323
|
+
/**
|
|
2324
|
+
* JSON-encoded TicketMessageInput.
|
|
2325
|
+
*/
|
|
2326
|
+
payload?: string;
|
|
2327
|
+
attachments?: Array<Blob | File>;
|
|
2328
|
+
};
|
|
2329
|
+
path: {
|
|
2330
|
+
ticket_id: string;
|
|
2331
|
+
};
|
|
2332
|
+
query?: never;
|
|
2333
|
+
url: '/tickets/{ticket_id}/messages';
|
|
2334
|
+
};
|
|
2335
|
+
export type ReplyTicketErrors = {
|
|
2336
|
+
/**
|
|
2337
|
+
* Ticket is closed. Open a new ticket instead.
|
|
2338
|
+
*/
|
|
2339
|
+
409: unknown;
|
|
2340
|
+
};
|
|
2341
|
+
export type ReplyTicketResponses = {
|
|
2342
|
+
/**
|
|
2343
|
+
* Reply appended.
|
|
2344
|
+
*/
|
|
2345
|
+
200: TicketMessage;
|
|
2346
|
+
};
|
|
2347
|
+
export type ReplyTicketResponse = ReplyTicketResponses[keyof ReplyTicketResponses];
|
|
2348
|
+
export type GetTicketAttachmentData = {
|
|
2349
|
+
body?: never;
|
|
2350
|
+
path: {
|
|
2351
|
+
ticket_id: string;
|
|
2352
|
+
attachment_id: string;
|
|
2353
|
+
};
|
|
2354
|
+
query?: never;
|
|
2355
|
+
url: '/tickets/{ticket_id}/attachments/{attachment_id}';
|
|
2356
|
+
};
|
|
2357
|
+
export type GetTicketAttachmentResponses = {
|
|
2358
|
+
/**
|
|
2359
|
+
* Attachment binary stream.
|
|
2360
|
+
*/
|
|
2361
|
+
200: Blob | File;
|
|
2362
|
+
};
|
|
2363
|
+
export type GetTicketAttachmentResponse = GetTicketAttachmentResponses[keyof GetTicketAttachmentResponses];
|
|
1661
2364
|
export type ListTokensData = {
|
|
1662
2365
|
body?: never;
|
|
1663
2366
|
path?: never;
|
|
@@ -1914,7 +2617,4 @@ export type UpdateUserResponses = {
|
|
|
1914
2617
|
200: User;
|
|
1915
2618
|
};
|
|
1916
2619
|
export type UpdateUserResponse = UpdateUserResponses[keyof UpdateUserResponses];
|
|
1917
|
-
export type ClientOptions = {
|
|
1918
|
-
baseUrl: 'https://api.cloudfleet.ai/v1' | (string & {});
|
|
1919
|
-
};
|
|
1920
2620
|
//# sourceMappingURL=types.gen.d.ts.map
|