@cloudfleet/sdk 0.0.1-1a88994 → 0.0.1-1c2dc7a
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 +1149 -0
- package/dist/@tanstack/react-query.gen.d.ts.map +1 -0
- package/dist/@tanstack/react-query.gen.js +1165 -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 +9 -0
- package/dist/client/index.d.ts.map +1 -0
- package/dist/client/index.js +7 -0
- package/dist/client/index.js.map +1 -0
- package/dist/client/types.gen.d.ts +121 -0
- 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.gen.d.ts +38 -0
- package/dist/client/utils.gen.d.ts.map +1 -0
- package/dist/client/utils.gen.js +229 -0
- package/dist/client/utils.gen.js.map +1 -0
- package/dist/client.gen.d.ts +4 -4
- package/dist/client.gen.d.ts.map +1 -1
- package/dist/client.gen.js +2 -4
- package/dist/client.gen.js.map +1 -1
- package/dist/core/auth.gen.d.ts +19 -0
- package/dist/core/auth.gen.d.ts.map +1 -0
- package/dist/core/auth.gen.js +15 -0
- 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.gen.js +58 -0
- package/dist/core/bodySerializer.gen.js.map +1 -0
- package/dist/core/params.gen.d.ts +44 -0
- package/dist/core/params.gen.d.ts.map +1 -0
- package/dist/core/params.gen.js +101 -0
- package/dist/core/params.gen.js.map +1 -0
- package/dist/core/pathSerializer.gen.d.ts +34 -0
- package/dist/core/pathSerializer.gen.d.ts.map +1 -0
- package/dist/core/pathSerializer.gen.js +107 -0
- 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.gen.d.ts +79 -0
- 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 +1360 -598
- package/dist/schemas.gen.d.ts.map +1 -1
- package/dist/schemas.gen.js +2669 -693
- package/dist/schemas.gen.js.map +1 -1
- package/dist/sdk.gen.d.ts +193 -71
- package/dist/sdk.gen.d.ts.map +1 -1
- package/dist/sdk.gen.js +242 -173
- package/dist/sdk.gen.js.map +1 -1
- package/dist/services/kubernetes/api.d.ts +20 -20
- package/dist/types.gen.d.ts +1256 -452
- package/dist/types.gen.d.ts.map +1 -1
- package/dist/zod.gen.d.ts +3447 -2590
- package/dist/zod.gen.d.ts.map +1 -1
- package/dist/zod.gen.js +1242 -961
- package/dist/zod.gen.js.map +1 -1
- package/package.json +29 -7
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
|
};
|
|
@@ -134,9 +133,9 @@ export type Chart = {
|
|
|
134
133
|
*/
|
|
135
134
|
chart: string;
|
|
136
135
|
/**
|
|
137
|
-
* Status of the chart deployment.
|
|
136
|
+
* Status of the chart deployment (Flux HelmRelease Ready condition reason, e.g. InstallSucceeded, UpgradeFailed, Progressing).
|
|
138
137
|
*/
|
|
139
|
-
status:
|
|
138
|
+
status: string;
|
|
140
139
|
/**
|
|
141
140
|
* Current version of the chart deployment.
|
|
142
141
|
*/
|
|
@@ -174,9 +173,9 @@ export type ClusterCreateInput = {
|
|
|
174
173
|
*/
|
|
175
174
|
tier: 'basic' | 'pro';
|
|
176
175
|
/**
|
|
177
|
-
* Cloudfleet control plane region.
|
|
176
|
+
* Cloudfleet control plane region. This field can not be updated after creation.
|
|
178
177
|
*/
|
|
179
|
-
region
|
|
178
|
+
region: string;
|
|
180
179
|
/**
|
|
181
180
|
* Version of the kubernetes cluster.
|
|
182
181
|
*/
|
|
@@ -191,6 +190,14 @@ 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;
|
|
197
|
+
/**
|
|
198
|
+
* Pod CIDR for the cluster. Used to configure iptables rules on nodes to prevent Tailscale routing loops.
|
|
199
|
+
*/
|
|
200
|
+
pod_cidr: string;
|
|
194
201
|
/**
|
|
195
202
|
* Authentication key for the cluster.
|
|
196
203
|
*/
|
|
@@ -215,6 +222,10 @@ export type ClusterJoinInformation = {
|
|
|
215
222
|
* Containerd version of the cluster.
|
|
216
223
|
*/
|
|
217
224
|
containerd: string;
|
|
225
|
+
/**
|
|
226
|
+
* NVIDIA driver version of the cluster.
|
|
227
|
+
*/
|
|
228
|
+
nvidia_driver: string;
|
|
218
229
|
};
|
|
219
230
|
/**
|
|
220
231
|
* OIDC Information for hosts to access to third party API's.
|
|
@@ -244,13 +255,9 @@ export type Cluster = {
|
|
|
244
255
|
*/
|
|
245
256
|
tier: 'basic' | 'pro';
|
|
246
257
|
/**
|
|
247
|
-
* Cloudfleet control plane region.
|
|
248
|
-
*/
|
|
249
|
-
region?: 'staging' | 'northamerica-central-1' | 'europe-central-1a';
|
|
250
|
-
/**
|
|
251
|
-
* Version of the kubernetes cluster.
|
|
258
|
+
* Cloudfleet control plane region. This field can not be updated after creation.
|
|
252
259
|
*/
|
|
253
|
-
|
|
260
|
+
region: string;
|
|
254
261
|
/**
|
|
255
262
|
* Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
|
|
256
263
|
*/
|
|
@@ -258,8 +265,9 @@ export type Cluster = {
|
|
|
258
265
|
/**
|
|
259
266
|
* Status of the cluster. When creating a new cluster, set to `active`. When deleting a clusters, set to `deleted`.
|
|
260
267
|
*/
|
|
261
|
-
status: 'active' | 'deleted' | 'creating' | 'deployed' | 'failed' | 'updating';
|
|
268
|
+
status: 'active' | 'disabled' | 'deleted' | 'creating' | 'deployed' | 'failed' | 'updating';
|
|
262
269
|
endpoint?: string | '';
|
|
270
|
+
endpoint_public?: string | '';
|
|
263
271
|
/**
|
|
264
272
|
* Certificate authority data for the kubernetes cluster. This is the root certificate authority for the cluster.
|
|
265
273
|
*/
|
|
@@ -280,6 +288,10 @@ export type Cluster = {
|
|
|
280
288
|
* Indicates if the cluster is ready to be used.
|
|
281
289
|
*/
|
|
282
290
|
ready?: boolean;
|
|
291
|
+
/**
|
|
292
|
+
* Version of the kubernetes cluster.
|
|
293
|
+
*/
|
|
294
|
+
version_channel?: string;
|
|
283
295
|
};
|
|
284
296
|
export type ClusterUpdateInput = {
|
|
285
297
|
/**
|
|
@@ -301,31 +313,56 @@ export type FleetCreateInput = {
|
|
|
301
313
|
*/
|
|
302
314
|
limits?: {
|
|
303
315
|
/**
|
|
304
|
-
* CPU limit in cores.
|
|
316
|
+
* CPU limit in cores. Maximum 100,000.
|
|
305
317
|
*/
|
|
306
|
-
cpu
|
|
318
|
+
cpu?: number;
|
|
307
319
|
};
|
|
308
320
|
gcp?: {
|
|
309
|
-
enabled
|
|
321
|
+
enabled: boolean;
|
|
310
322
|
/**
|
|
311
|
-
*
|
|
323
|
+
* 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
324
|
*/
|
|
313
|
-
project
|
|
325
|
+
project?: string;
|
|
314
326
|
};
|
|
315
327
|
hetzner?: {
|
|
316
|
-
enabled
|
|
328
|
+
enabled: boolean;
|
|
317
329
|
/**
|
|
318
|
-
* Hetzner Cloud API
|
|
330
|
+
* Hetzner Cloud API token with read / write access (64 alphanumeric characters). Omit this field to keep the existing value.
|
|
319
331
|
*/
|
|
320
|
-
apiKey
|
|
332
|
+
apiKey?: string;
|
|
321
333
|
};
|
|
322
334
|
aws?: {
|
|
323
|
-
enabled
|
|
335
|
+
enabled: boolean;
|
|
336
|
+
/**
|
|
337
|
+
* AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.
|
|
338
|
+
*/
|
|
339
|
+
controllerRoleArn?: string;
|
|
340
|
+
};
|
|
341
|
+
/**
|
|
342
|
+
* 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.
|
|
343
|
+
*/
|
|
344
|
+
constraints?: {
|
|
345
|
+
/**
|
|
346
|
+
* Allowed values for `karpenter.sh/capacity-type`.
|
|
347
|
+
*/
|
|
348
|
+
'karpenter.sh/capacity-type'?: Array<'on-demand' | 'spot'>;
|
|
324
349
|
/**
|
|
325
|
-
*
|
|
350
|
+
* Allowed values for `kubernetes.io/arch`.
|
|
326
351
|
*/
|
|
327
|
-
|
|
352
|
+
'kubernetes.io/arch'?: Array<'amd64' | 'arm64'>;
|
|
353
|
+
/**
|
|
354
|
+
* Allowed values for `cfke.io/instance-family`.
|
|
355
|
+
*/
|
|
356
|
+
'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'>;
|
|
357
|
+
/**
|
|
358
|
+
* Allowed values for `topology.kubernetes.io/region`.
|
|
359
|
+
*/
|
|
360
|
+
'topology.kubernetes.io/region'?: Array<'africa-south1' | 'ap-northeast-1' | 'ap-northeast-2' | 'ap-northeast-3' | 'ap-south-1' | 'ap-southeast-1' | 'ap-southeast-2' | 'ash' | 'asia-east1' | 'asia-east2' | 'asia-northeast1' | 'asia-northeast2' | 'asia-northeast3' | 'asia-south1' | 'asia-south2' | 'asia-southeast1' | 'asia-southeast2' | 'australia-southeast1' | 'australia-southeast2' | 'ca-central-1' | 'eu-central-1' | 'eu-central-2' | 'eu-north-1' | 'eu-west-1' | 'eu-west-2' | 'eu-west-3' | 'europe-central2' | 'europe-north1' | 'europe-southwest1' | 'europe-west1' | 'europe-west10' | 'europe-west12' | 'europe-west2' | 'europe-west3' | 'europe-west4' | 'europe-west6' | 'europe-west8' | 'europe-west9' | 'fsn1' | 'hel1' | 'hil' | 'me-central1' | 'me-central2' | 'me-west1' | 'nbg1' | 'northamerica-northeast1' | 'northamerica-northeast2' | 'sa-east-1' | 'sin' | 'southamerica-east1' | 'southamerica-west1' | 'us-central1' | 'us-east-1' | 'us-east-2' | 'us-east1' | 'us-east4' | 'us-east5' | 'us-south1' | 'us-west-1' | 'us-west-2' | 'us-west1' | 'us-west2' | 'us-west3' | 'us-west4'>;
|
|
328
361
|
};
|
|
362
|
+
/**
|
|
363
|
+
* Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.
|
|
364
|
+
*/
|
|
365
|
+
scalingProfile?: 'aggressive' | 'conservative';
|
|
329
366
|
/**
|
|
330
367
|
* Unique identifier of the kubernetes fleet.
|
|
331
368
|
*/
|
|
@@ -337,31 +374,56 @@ export type Fleet = {
|
|
|
337
374
|
*/
|
|
338
375
|
limits?: {
|
|
339
376
|
/**
|
|
340
|
-
* CPU limit in cores.
|
|
377
|
+
* CPU limit in cores. Maximum 100,000.
|
|
341
378
|
*/
|
|
342
|
-
cpu
|
|
379
|
+
cpu?: number;
|
|
343
380
|
};
|
|
344
381
|
gcp?: {
|
|
345
|
-
enabled
|
|
382
|
+
enabled: boolean;
|
|
346
383
|
/**
|
|
347
|
-
*
|
|
384
|
+
* 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
385
|
*/
|
|
349
|
-
project
|
|
386
|
+
project?: string;
|
|
350
387
|
};
|
|
351
388
|
hetzner?: {
|
|
352
|
-
enabled
|
|
389
|
+
enabled: boolean;
|
|
353
390
|
/**
|
|
354
|
-
* Hetzner
|
|
391
|
+
* 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
392
|
*/
|
|
356
|
-
apiKey
|
|
393
|
+
apiKey?: string;
|
|
357
394
|
};
|
|
358
395
|
aws?: {
|
|
359
|
-
enabled
|
|
396
|
+
enabled: boolean;
|
|
397
|
+
/**
|
|
398
|
+
* AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.
|
|
399
|
+
*/
|
|
400
|
+
controllerRoleArn?: string;
|
|
401
|
+
};
|
|
402
|
+
/**
|
|
403
|
+
* 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.
|
|
404
|
+
*/
|
|
405
|
+
constraints?: {
|
|
406
|
+
/**
|
|
407
|
+
* Allowed values for `karpenter.sh/capacity-type`.
|
|
408
|
+
*/
|
|
409
|
+
'karpenter.sh/capacity-type'?: Array<'on-demand' | 'spot'>;
|
|
410
|
+
/**
|
|
411
|
+
* Allowed values for `kubernetes.io/arch`.
|
|
412
|
+
*/
|
|
413
|
+
'kubernetes.io/arch'?: Array<'amd64' | 'arm64'>;
|
|
414
|
+
/**
|
|
415
|
+
* Allowed values for `cfke.io/instance-family`.
|
|
416
|
+
*/
|
|
417
|
+
'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'>;
|
|
360
418
|
/**
|
|
361
|
-
*
|
|
419
|
+
* Allowed values for `topology.kubernetes.io/region`.
|
|
362
420
|
*/
|
|
363
|
-
|
|
421
|
+
'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'>;
|
|
364
422
|
};
|
|
423
|
+
/**
|
|
424
|
+
* Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.
|
|
425
|
+
*/
|
|
426
|
+
scalingProfile: 'aggressive' | 'conservative';
|
|
365
427
|
/**
|
|
366
428
|
* Unique identifier of the kubernetes fleet.
|
|
367
429
|
*/
|
|
@@ -373,31 +435,66 @@ export type FleetUpdateInput = {
|
|
|
373
435
|
*/
|
|
374
436
|
limits?: {
|
|
375
437
|
/**
|
|
376
|
-
* CPU limit in cores.
|
|
438
|
+
* CPU limit in cores. Maximum 100,000.
|
|
377
439
|
*/
|
|
378
|
-
cpu
|
|
440
|
+
cpu?: number;
|
|
379
441
|
};
|
|
380
442
|
gcp?: {
|
|
381
|
-
enabled
|
|
443
|
+
enabled: boolean;
|
|
382
444
|
/**
|
|
383
|
-
*
|
|
445
|
+
* 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
446
|
*/
|
|
385
|
-
project
|
|
447
|
+
project?: string;
|
|
386
448
|
};
|
|
387
449
|
hetzner?: {
|
|
388
|
-
enabled
|
|
450
|
+
enabled: boolean;
|
|
389
451
|
/**
|
|
390
|
-
* Hetzner Cloud API
|
|
452
|
+
* Hetzner Cloud API token with read / write access (64 alphanumeric characters). Omit this field to keep the existing value.
|
|
391
453
|
*/
|
|
392
|
-
apiKey
|
|
454
|
+
apiKey?: string;
|
|
393
455
|
};
|
|
394
456
|
aws?: {
|
|
395
|
-
enabled
|
|
457
|
+
enabled: boolean;
|
|
458
|
+
/**
|
|
459
|
+
* AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.
|
|
460
|
+
*/
|
|
461
|
+
controllerRoleArn?: string;
|
|
462
|
+
};
|
|
463
|
+
/**
|
|
464
|
+
* 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.
|
|
465
|
+
*/
|
|
466
|
+
constraints?: {
|
|
396
467
|
/**
|
|
397
|
-
*
|
|
468
|
+
* Allowed values for `karpenter.sh/capacity-type`.
|
|
398
469
|
*/
|
|
399
|
-
|
|
470
|
+
'karpenter.sh/capacity-type'?: Array<'on-demand' | 'spot'>;
|
|
471
|
+
/**
|
|
472
|
+
* Allowed values for `kubernetes.io/arch`.
|
|
473
|
+
*/
|
|
474
|
+
'kubernetes.io/arch'?: Array<'amd64' | 'arm64'>;
|
|
475
|
+
/**
|
|
476
|
+
* Allowed values for `cfke.io/instance-family`.
|
|
477
|
+
*/
|
|
478
|
+
'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'>;
|
|
479
|
+
/**
|
|
480
|
+
* Allowed values for `topology.kubernetes.io/region`.
|
|
481
|
+
*/
|
|
482
|
+
'topology.kubernetes.io/region'?: Array<'africa-south1' | 'ap-northeast-1' | 'ap-northeast-2' | 'ap-northeast-3' | 'ap-south-1' | 'ap-southeast-1' | 'ap-southeast-2' | 'ash' | 'asia-east1' | 'asia-east2' | 'asia-northeast1' | 'asia-northeast2' | 'asia-northeast3' | 'asia-south1' | 'asia-south2' | 'asia-southeast1' | 'asia-southeast2' | 'australia-southeast1' | 'australia-southeast2' | 'ca-central-1' | 'eu-central-1' | 'eu-central-2' | 'eu-north-1' | 'eu-west-1' | 'eu-west-2' | 'eu-west-3' | 'europe-central2' | 'europe-north1' | 'europe-southwest1' | 'europe-west1' | 'europe-west10' | 'europe-west12' | 'europe-west2' | 'europe-west3' | 'europe-west4' | 'europe-west6' | 'europe-west8' | 'europe-west9' | 'fsn1' | 'hel1' | 'hil' | 'me-central1' | 'me-central2' | 'me-west1' | 'nbg1' | 'northamerica-northeast1' | 'northamerica-northeast2' | 'sa-east-1' | 'sin' | 'southamerica-east1' | 'southamerica-west1' | 'us-central1' | 'us-east-1' | 'us-east-2' | 'us-east1' | 'us-east4' | 'us-east5' | 'us-south1' | 'us-west-1' | 'us-west-2' | 'us-west1' | 'us-west2' | 'us-west3' | 'us-west4'>;
|
|
400
483
|
};
|
|
484
|
+
/**
|
|
485
|
+
* Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.
|
|
486
|
+
*/
|
|
487
|
+
scalingProfile: 'aggressive' | 'conservative';
|
|
488
|
+
};
|
|
489
|
+
export type InviteCreateInput = {
|
|
490
|
+
/**
|
|
491
|
+
* Email address of the user to invite.
|
|
492
|
+
*/
|
|
493
|
+
email: string;
|
|
494
|
+
/**
|
|
495
|
+
* Role the invited user will be assigned on redemption. Can be 'Administrator' or 'User'.
|
|
496
|
+
*/
|
|
497
|
+
role?: 'Administrator' | 'User';
|
|
401
498
|
};
|
|
402
499
|
export type Invite = {
|
|
403
500
|
/**
|
|
@@ -420,285 +517,134 @@ export type Invite = {
|
|
|
420
517
|
* Generated unique invite code.
|
|
421
518
|
*/
|
|
422
519
|
code?: string;
|
|
520
|
+
/**
|
|
521
|
+
* Role the invited user will be assigned on redemption. Can be 'Administrator' or 'User'.
|
|
522
|
+
*/
|
|
523
|
+
role?: 'Administrator' | 'User';
|
|
423
524
|
};
|
|
424
525
|
export type Invoice = {
|
|
425
526
|
/**
|
|
426
|
-
* Unique identifier of the invoice.
|
|
527
|
+
* Unique identifier of the invoice.
|
|
427
528
|
*/
|
|
428
529
|
id?: string;
|
|
429
|
-
|
|
430
|
-
* Unique identifier of the organization. UUID v4 string in canonical form
|
|
431
|
-
*/
|
|
432
|
-
organizationId?: string;
|
|
530
|
+
number?: string;
|
|
433
531
|
/**
|
|
434
532
|
* Status of the invoice
|
|
435
533
|
*/
|
|
436
|
-
status?:
|
|
534
|
+
status?: string;
|
|
437
535
|
/**
|
|
438
536
|
* Total amount of the invoice
|
|
439
537
|
*/
|
|
440
|
-
|
|
538
|
+
total?: number;
|
|
441
539
|
/**
|
|
442
540
|
* Currency of the invoice
|
|
443
541
|
*/
|
|
444
|
-
currency?:
|
|
542
|
+
currency?: string;
|
|
445
543
|
/**
|
|
446
|
-
*
|
|
544
|
+
* Timestamp when the invoice was issued. ISO 8601 date string in the UTC timezone.
|
|
447
545
|
*/
|
|
448
|
-
|
|
546
|
+
created: string;
|
|
449
547
|
/**
|
|
450
|
-
*
|
|
548
|
+
* Billing period start timestamp. ISO 8601 date string in the UTC timezone.
|
|
451
549
|
*/
|
|
452
|
-
|
|
550
|
+
period_start: string;
|
|
453
551
|
/**
|
|
454
|
-
*
|
|
552
|
+
* Billing period end timestamp. ISO 8601 date string in the UTC timezone.
|
|
455
553
|
*/
|
|
456
|
-
|
|
554
|
+
period_end: string;
|
|
555
|
+
invoice_pdf?: string;
|
|
556
|
+
};
|
|
557
|
+
export type MarketplaceListingFiles = {
|
|
457
558
|
/**
|
|
458
|
-
*
|
|
559
|
+
* Raw Chart.yaml content from the Helm chart
|
|
459
560
|
*/
|
|
460
|
-
|
|
561
|
+
chartYaml?: string;
|
|
461
562
|
/**
|
|
462
|
-
*
|
|
563
|
+
* Raw values.yaml content from the Helm chart
|
|
463
564
|
*/
|
|
464
|
-
|
|
565
|
+
valuesYaml?: string;
|
|
465
566
|
/**
|
|
466
|
-
*
|
|
567
|
+
* JSON schema for values.yaml as a string
|
|
467
568
|
*/
|
|
468
|
-
|
|
569
|
+
valuesSchemaJson?: string;
|
|
570
|
+
};
|
|
571
|
+
export type MarketplaceListing = {
|
|
469
572
|
/**
|
|
470
|
-
*
|
|
573
|
+
* Name of the chart
|
|
471
574
|
*/
|
|
472
|
-
|
|
575
|
+
name: string;
|
|
473
576
|
/**
|
|
474
|
-
*
|
|
577
|
+
* Available versions of the chart
|
|
475
578
|
*/
|
|
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
|
-
}>;
|
|
579
|
+
versions: Array<string>;
|
|
564
580
|
/**
|
|
565
|
-
*
|
|
581
|
+
* Version channels for the chart
|
|
566
582
|
*/
|
|
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;
|
|
583
|
+
version_channels: Array<string>;
|
|
584
|
+
/**
|
|
585
|
+
* Latest version of the chart
|
|
586
|
+
*/
|
|
587
|
+
latestVersion: string;
|
|
588
|
+
/**
|
|
589
|
+
* Chart metadata
|
|
590
|
+
*/
|
|
591
|
+
metadata?: {
|
|
604
592
|
/**
|
|
605
|
-
*
|
|
593
|
+
* Chart name from metadata
|
|
606
594
|
*/
|
|
607
|
-
|
|
595
|
+
name: string;
|
|
608
596
|
/**
|
|
609
|
-
*
|
|
597
|
+
* Chart version from metadata
|
|
610
598
|
*/
|
|
611
|
-
|
|
599
|
+
version: string;
|
|
612
600
|
/**
|
|
613
|
-
*
|
|
601
|
+
* Chart description
|
|
614
602
|
*/
|
|
615
603
|
description?: string;
|
|
616
604
|
/**
|
|
617
|
-
*
|
|
605
|
+
* Application version
|
|
618
606
|
*/
|
|
619
|
-
|
|
607
|
+
appVersion?: string;
|
|
620
608
|
/**
|
|
621
|
-
*
|
|
609
|
+
* Helm API version
|
|
622
610
|
*/
|
|
623
|
-
|
|
611
|
+
apiVersion?: string;
|
|
624
612
|
/**
|
|
625
|
-
*
|
|
613
|
+
* Chart keywords
|
|
626
614
|
*/
|
|
627
|
-
|
|
615
|
+
keywords?: Array<string>;
|
|
628
616
|
/**
|
|
629
|
-
*
|
|
617
|
+
* Chart home URL
|
|
630
618
|
*/
|
|
631
|
-
|
|
619
|
+
home?: string;
|
|
632
620
|
/**
|
|
633
|
-
*
|
|
621
|
+
* A URL to an SVG or PNG image to be used as an icon
|
|
634
622
|
*/
|
|
635
|
-
|
|
623
|
+
icon?: string;
|
|
636
624
|
/**
|
|
637
|
-
*
|
|
625
|
+
* Chart source URLs
|
|
638
626
|
*/
|
|
639
|
-
|
|
627
|
+
sources?: Array<string>;
|
|
640
628
|
/**
|
|
641
|
-
*
|
|
629
|
+
* Chart maintainers
|
|
642
630
|
*/
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
}>;
|
|
631
|
+
maintainers?: Array<{
|
|
632
|
+
/**
|
|
633
|
+
* Maintainer name
|
|
634
|
+
*/
|
|
635
|
+
name: string;
|
|
636
|
+
/**
|
|
637
|
+
* Maintainer email
|
|
638
|
+
*/
|
|
639
|
+
email?: string;
|
|
640
|
+
}>;
|
|
641
|
+
};
|
|
655
642
|
};
|
|
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;
|
|
643
|
+
export type OrganizationCreateInput = {
|
|
681
644
|
/**
|
|
682
|
-
*
|
|
645
|
+
* Type of the organization. `business` for legal entities, `personal` for individuals.
|
|
683
646
|
*/
|
|
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 = {
|
|
647
|
+
type: 'business' | 'personal';
|
|
702
648
|
/**
|
|
703
649
|
* Email address used for billing as a string.
|
|
704
650
|
*/
|
|
@@ -720,6 +666,12 @@ export type OrganizationCreateInput = {
|
|
|
720
666
|
*/
|
|
721
667
|
password: string;
|
|
722
668
|
};
|
|
669
|
+
export type OrganizationCreateOutput = {
|
|
670
|
+
/**
|
|
671
|
+
* Unique identifier of the newly created organization. Generated by the API and safe to use for client-side tracking immediately.
|
|
672
|
+
*/
|
|
673
|
+
id: string;
|
|
674
|
+
};
|
|
723
675
|
export type Organization = {
|
|
724
676
|
/**
|
|
725
677
|
* Unique identifier of the organization. UUID v4 string in canonical form
|
|
@@ -729,6 +681,10 @@ export type Organization = {
|
|
|
729
681
|
* Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
|
|
730
682
|
*/
|
|
731
683
|
name?: string;
|
|
684
|
+
/**
|
|
685
|
+
* Type of the organization. `business` for legal entities, `personal` for individuals.
|
|
686
|
+
*/
|
|
687
|
+
type: 'business' | 'personal';
|
|
732
688
|
/**
|
|
733
689
|
* Creation date of the organization. ISO 8601 date string in UTC timezone
|
|
734
690
|
*/
|
|
@@ -778,113 +734,630 @@ export type Organization = {
|
|
|
778
734
|
*/
|
|
779
735
|
label: string;
|
|
780
736
|
}>;
|
|
737
|
+
/**
|
|
738
|
+
* Organization-level maximum CFCR storage volume in GB. -1 means no limit.
|
|
739
|
+
*/
|
|
740
|
+
cfcr_storage_gb: number;
|
|
781
741
|
};
|
|
782
742
|
/**
|
|
783
743
|
* Status of the organization. Can be `active` or `closed`, or `suspended`.
|
|
784
744
|
*/
|
|
785
745
|
status: 'active' | 'closed' | 'suspended';
|
|
746
|
+
/**
|
|
747
|
+
* 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.
|
|
748
|
+
*/
|
|
749
|
+
verification: 'none' | 'submitted' | 'verified';
|
|
786
750
|
};
|
|
787
751
|
export type PaymentMethod = {
|
|
788
752
|
/**
|
|
789
|
-
*
|
|
753
|
+
* Payment method identifier. Stripe payment method id for cards/SEPA; the constant `bank_transfer` for the invoice/bank-transfer method. Used to set as default or delete the payment method.
|
|
790
754
|
*/
|
|
791
755
|
id: string;
|
|
792
756
|
/**
|
|
793
|
-
*
|
|
794
|
-
*/
|
|
795
|
-
setup: boolean;
|
|
796
|
-
/**
|
|
797
|
-
* Payment method type type. Only `card` payments supported at the moment.
|
|
757
|
+
* Payment method type. `card`, `sepa_debit` for SEPA Direct Debit (business accounts only), or `bank_transfer` for paying invoices by bank transfer.
|
|
798
758
|
*/
|
|
799
|
-
type: 'card';
|
|
759
|
+
type: 'card' | 'sepa_debit' | 'bank_transfer';
|
|
800
760
|
/**
|
|
801
|
-
* Last 4 digits of the payment card number.
|
|
761
|
+
* Last 4 digits of the payment card number, of the bank account (IBAN) for SEPA Direct Debit, or of the destination IBAN for bank transfer.
|
|
802
762
|
*/
|
|
803
763
|
last4: string;
|
|
804
764
|
/**
|
|
805
|
-
* Two-digit number representing the card's expiration month.
|
|
765
|
+
* Two-digit number representing the card's expiration month. Null for SEPA Direct Debit and bank transfer.
|
|
806
766
|
*/
|
|
807
767
|
exp_month: number;
|
|
808
768
|
/**
|
|
809
|
-
* Four-digit number representing the card's expiration year.
|
|
769
|
+
* Four-digit number representing the card's expiration year. May be in the past for an expired card still on file. Null for SEPA Direct Debit and bank transfer.
|
|
810
770
|
*/
|
|
811
771
|
exp_year: number;
|
|
812
772
|
/**
|
|
813
|
-
* Payment card brand
|
|
814
|
-
*/
|
|
815
|
-
brand: 'amex' | 'diners' | 'discover' | 'eftpos_au' | 'jcb' | 'mastercard' | 'unionpay' | 'visa' | 'unknown';
|
|
816
|
-
};
|
|
817
|
-
export type TokenCreateInput = {
|
|
818
|
-
/**
|
|
819
|
-
* Human readable access token name.
|
|
820
|
-
*/
|
|
821
|
-
name: string;
|
|
822
|
-
/**
|
|
823
|
-
* Role assumed by the token.
|
|
824
|
-
*/
|
|
825
|
-
role: 'Administrator' | 'User';
|
|
826
|
-
};
|
|
827
|
-
export type Token = {
|
|
828
|
-
/**
|
|
829
|
-
* Human readable access token name.
|
|
773
|
+
* Payment card brand as reported by Stripe, e.g. `visa`, `mastercard`, `amex`, `cartes_bancaires`, or `unknown`. Null for SEPA Direct Debit and bank transfer.
|
|
830
774
|
*/
|
|
831
|
-
|
|
775
|
+
brand: string;
|
|
832
776
|
/**
|
|
833
|
-
*
|
|
777
|
+
* Full destination IBAN to send bank transfers to. Set only for `bank_transfer`; null otherwise. This is Cloudfleet's virtual receiving account, shown in full so the customer can pay into it.
|
|
834
778
|
*/
|
|
835
|
-
|
|
779
|
+
iban: string;
|
|
836
780
|
/**
|
|
837
|
-
*
|
|
781
|
+
* BIC/SWIFT of the destination bank for bank transfers. Set only for `bank_transfer`; null otherwise.
|
|
838
782
|
*/
|
|
839
|
-
|
|
783
|
+
bic: string;
|
|
840
784
|
/**
|
|
841
|
-
*
|
|
785
|
+
* Account holder name of the destination bank account for bank transfers. Set only for `bank_transfer`; null otherwise.
|
|
842
786
|
*/
|
|
843
|
-
|
|
787
|
+
account_holder_name: string;
|
|
844
788
|
/**
|
|
845
|
-
*
|
|
789
|
+
* Whether this payment method is the default used for invoices and active subscriptions. Always false for `bank_transfer` (it cannot be a Stripe default payment method).
|
|
846
790
|
*/
|
|
847
|
-
|
|
791
|
+
is_default: boolean;
|
|
848
792
|
};
|
|
849
|
-
export type
|
|
793
|
+
export type PlatformQuota = {
|
|
850
794
|
/**
|
|
851
|
-
*
|
|
795
|
+
* Maximum number of Basic clusters that can be created.
|
|
852
796
|
*/
|
|
853
|
-
|
|
797
|
+
basic_clusters_max: number;
|
|
854
798
|
/**
|
|
855
|
-
*
|
|
799
|
+
* Available number of Basic clusters that can be created.
|
|
856
800
|
*/
|
|
857
|
-
|
|
858
|
-
};
|
|
859
|
-
export type Usage = {
|
|
801
|
+
basic_clusters_available: number;
|
|
860
802
|
/**
|
|
861
|
-
*
|
|
803
|
+
* Maximum number of Pro clusters that can be created.
|
|
862
804
|
*/
|
|
863
|
-
|
|
805
|
+
pro_clusters_max: number;
|
|
864
806
|
/**
|
|
865
|
-
*
|
|
807
|
+
* Available number of Pro clusters that can be created.
|
|
866
808
|
*/
|
|
867
|
-
|
|
809
|
+
pro_clusters_available: number;
|
|
868
810
|
/**
|
|
869
|
-
*
|
|
811
|
+
* Maximum number of fleets that can be created per cluster.
|
|
870
812
|
*/
|
|
871
|
-
|
|
813
|
+
fleets_max: number;
|
|
872
814
|
/**
|
|
873
|
-
*
|
|
815
|
+
* List of Cloudfleet cluster tiers available for the organization.
|
|
874
816
|
*/
|
|
875
|
-
|
|
817
|
+
cluster_tiers: Array<string>;
|
|
876
818
|
/**
|
|
877
|
-
*
|
|
819
|
+
* List of Cloudfleet control plane regions available for the organization.
|
|
878
820
|
*/
|
|
879
|
-
|
|
821
|
+
regions: Array<string>;
|
|
880
822
|
/**
|
|
881
|
-
*
|
|
823
|
+
* List of CFKE control plane versions available for the organization.
|
|
882
824
|
*/
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
825
|
+
versions: Array<{
|
|
826
|
+
/**
|
|
827
|
+
* Id of the control plane version. Used in API calls.
|
|
828
|
+
*/
|
|
829
|
+
id: string;
|
|
830
|
+
/**
|
|
831
|
+
* Label of the control plane version. Used in frontent UI.
|
|
832
|
+
*/
|
|
833
|
+
label: string;
|
|
834
|
+
}>;
|
|
835
|
+
/**
|
|
836
|
+
* Organization-level maximum CFCR storage volume in GB. -1 means no limit.
|
|
837
|
+
*/
|
|
838
|
+
cfcr_storage_gb: number;
|
|
839
|
+
};
|
|
840
|
+
export type RegistryRepository = {
|
|
841
|
+
/**
|
|
842
|
+
* Repository name.
|
|
843
|
+
*/
|
|
844
|
+
name: string;
|
|
845
|
+
/**
|
|
846
|
+
* Registry region.
|
|
847
|
+
*/
|
|
848
|
+
region: string;
|
|
849
|
+
/**
|
|
850
|
+
* Full URI of the repository.
|
|
851
|
+
*/
|
|
852
|
+
uri: string;
|
|
853
|
+
};
|
|
854
|
+
export type RegistryRepositoryWithTags = {
|
|
855
|
+
/**
|
|
856
|
+
* Repository name.
|
|
857
|
+
*/
|
|
858
|
+
name: string;
|
|
859
|
+
/**
|
|
860
|
+
* Registry region.
|
|
861
|
+
*/
|
|
862
|
+
region: string;
|
|
863
|
+
/**
|
|
864
|
+
* Full URI of the repository.
|
|
865
|
+
*/
|
|
866
|
+
uri: string;
|
|
867
|
+
/**
|
|
868
|
+
* Array of tags in the repository.
|
|
869
|
+
*/
|
|
870
|
+
tags: Array<{
|
|
871
|
+
/**
|
|
872
|
+
* Tag name.
|
|
873
|
+
*/
|
|
874
|
+
name: string;
|
|
875
|
+
/**
|
|
876
|
+
* Size of the tag in bytes.
|
|
877
|
+
*/
|
|
878
|
+
size: number;
|
|
879
|
+
/**
|
|
880
|
+
* Media type of the manifest.
|
|
881
|
+
*/
|
|
882
|
+
mediaType?: string;
|
|
883
|
+
/**
|
|
884
|
+
* Array of platform strings for multi-arch images (e.g., linux/amd64, linux/arm64).
|
|
885
|
+
*/
|
|
886
|
+
platforms?: Array<string>;
|
|
887
|
+
}>;
|
|
888
|
+
/**
|
|
889
|
+
* Total size of all tags in the repository in bytes.
|
|
890
|
+
*/
|
|
891
|
+
totalSize: number;
|
|
892
|
+
};
|
|
893
|
+
export type RegistryTag = {
|
|
894
|
+
/**
|
|
895
|
+
* Tag name.
|
|
896
|
+
*/
|
|
897
|
+
name: string;
|
|
898
|
+
/**
|
|
899
|
+
* Manifest digest for pulling by digest.
|
|
900
|
+
*/
|
|
901
|
+
digest: string;
|
|
902
|
+
/**
|
|
903
|
+
* Media type of the manifest.
|
|
904
|
+
*/
|
|
905
|
+
mediaType?: string;
|
|
906
|
+
/**
|
|
907
|
+
* Manifest config metadata.
|
|
908
|
+
*/
|
|
909
|
+
config?: {
|
|
910
|
+
/**
|
|
911
|
+
* Size of the config in bytes.
|
|
912
|
+
*/
|
|
913
|
+
size: number;
|
|
914
|
+
};
|
|
915
|
+
/**
|
|
916
|
+
* Array of layer metadata.
|
|
917
|
+
*/
|
|
918
|
+
layers?: Array<{
|
|
919
|
+
/**
|
|
920
|
+
* Digest of the layer.
|
|
921
|
+
*/
|
|
922
|
+
digest?: string;
|
|
923
|
+
/**
|
|
924
|
+
* Size of the layer in bytes.
|
|
925
|
+
*/
|
|
926
|
+
size: number;
|
|
927
|
+
}>;
|
|
928
|
+
/**
|
|
929
|
+
* Array of manifests for multi-arch images.
|
|
930
|
+
*/
|
|
931
|
+
manifests?: Array<{
|
|
932
|
+
/**
|
|
933
|
+
* Digest of the manifest.
|
|
934
|
+
*/
|
|
935
|
+
digest: string;
|
|
936
|
+
/**
|
|
937
|
+
* Platform information for the manifest.
|
|
938
|
+
*/
|
|
939
|
+
platform?: {
|
|
940
|
+
/**
|
|
941
|
+
* Architecture of the platform.
|
|
942
|
+
*/
|
|
943
|
+
architecture: string;
|
|
944
|
+
/**
|
|
945
|
+
* Operating system of the platform.
|
|
946
|
+
*/
|
|
947
|
+
os: string;
|
|
948
|
+
/**
|
|
949
|
+
* Variant of the platform (e.g., v7, v8 for ARM).
|
|
950
|
+
*/
|
|
951
|
+
variant?: string;
|
|
952
|
+
};
|
|
953
|
+
/**
|
|
954
|
+
* Layers for this platform.
|
|
955
|
+
*/
|
|
956
|
+
layers?: Array<{
|
|
957
|
+
/**
|
|
958
|
+
* Digest of the layer.
|
|
959
|
+
*/
|
|
960
|
+
digest?: string;
|
|
961
|
+
/**
|
|
962
|
+
* Size of the layer in bytes.
|
|
963
|
+
*/
|
|
964
|
+
size: number;
|
|
965
|
+
}>;
|
|
966
|
+
/**
|
|
967
|
+
* Total size of this platform manifest in bytes.
|
|
968
|
+
*/
|
|
969
|
+
size?: number;
|
|
970
|
+
}>;
|
|
971
|
+
/**
|
|
972
|
+
* Total size of the tag in bytes.
|
|
973
|
+
*/
|
|
974
|
+
size: number;
|
|
975
|
+
/**
|
|
976
|
+
* Registry region.
|
|
977
|
+
*/
|
|
978
|
+
region: string;
|
|
979
|
+
/**
|
|
980
|
+
* Repository name.
|
|
981
|
+
*/
|
|
982
|
+
repository: string;
|
|
983
|
+
/**
|
|
984
|
+
* Full URI of the tag.
|
|
985
|
+
*/
|
|
986
|
+
uri: string;
|
|
987
|
+
};
|
|
988
|
+
export type TicketAttachment = {
|
|
989
|
+
/**
|
|
990
|
+
* Unique identifier of the attachment (Mongo ObjectId).
|
|
991
|
+
*/
|
|
992
|
+
id: string;
|
|
993
|
+
/**
|
|
994
|
+
* Original filename as uploaded.
|
|
995
|
+
*/
|
|
996
|
+
filename: string;
|
|
997
|
+
/**
|
|
998
|
+
* MIME content type of the attachment.
|
|
999
|
+
*/
|
|
1000
|
+
content_type: string;
|
|
1001
|
+
/**
|
|
1002
|
+
* Size of the attachment in bytes.
|
|
1003
|
+
*/
|
|
1004
|
+
size: number;
|
|
1005
|
+
};
|
|
1006
|
+
export type TicketCreateInput = {
|
|
1007
|
+
/**
|
|
1008
|
+
* Ticket category. Drives auto-assignment and may carry a subcategory in `properties`.
|
|
1009
|
+
*/
|
|
1010
|
+
category: 'billing' | 'technical' | 'general';
|
|
1011
|
+
/**
|
|
1012
|
+
* Initial message body in markdown. There is no separate subject — the first message body is the description.
|
|
1013
|
+
*/
|
|
1014
|
+
body: string;
|
|
1015
|
+
/**
|
|
1016
|
+
* Free-form key/value bag set by the UI (e.g. `subcategory`, `cluster_id`, `cluster_name`, `region`).
|
|
1017
|
+
*/
|
|
1018
|
+
properties?: {
|
|
1019
|
+
[key: string]: unknown;
|
|
1020
|
+
};
|
|
1021
|
+
};
|
|
1022
|
+
export type TicketListResponse = {
|
|
1023
|
+
/**
|
|
1024
|
+
* Tickets for the organization, ordered newest first. Messages are omitted from list responses.
|
|
1025
|
+
*/
|
|
1026
|
+
items: Array<{
|
|
1027
|
+
/**
|
|
1028
|
+
* Unique identifier of the ticket (Mongo ObjectId).
|
|
1029
|
+
*/
|
|
1030
|
+
id: string;
|
|
1031
|
+
/**
|
|
1032
|
+
* Current state of the ticket.
|
|
1033
|
+
*/
|
|
1034
|
+
status: 'waiting_on_us' | 'waiting_on_user' | 'closed';
|
|
1035
|
+
/**
|
|
1036
|
+
* Ticket category.
|
|
1037
|
+
*/
|
|
1038
|
+
category: 'billing' | 'technical' | 'general';
|
|
1039
|
+
/**
|
|
1040
|
+
* First 128 characters of the initial message body, with markdown formatting and newlines stripped. Used for ticket list previews.
|
|
1041
|
+
*/
|
|
1042
|
+
summary: string;
|
|
1043
|
+
/**
|
|
1044
|
+
* Closure timestamp. Null while the ticket is open.
|
|
1045
|
+
*/
|
|
1046
|
+
closed_at?: string;
|
|
1047
|
+
/**
|
|
1048
|
+
* Creation date of the ticket. ISO 8601 UTC.
|
|
1049
|
+
*/
|
|
1050
|
+
date_created: string;
|
|
1051
|
+
/**
|
|
1052
|
+
* Last update date of the ticket. ISO 8601 UTC.
|
|
1053
|
+
*/
|
|
1054
|
+
date_updated: string;
|
|
1055
|
+
/**
|
|
1056
|
+
* Messages on the ticket in chronological order. Internal notes are excluded. Returned by the detail endpoint only.
|
|
1057
|
+
*/
|
|
1058
|
+
messages?: Array<{
|
|
1059
|
+
/**
|
|
1060
|
+
* Unique identifier of the message (Mongo ObjectId).
|
|
1061
|
+
*/
|
|
1062
|
+
id: string;
|
|
1063
|
+
/**
|
|
1064
|
+
* Message type. Internal notes are filtered out of customer-facing responses.
|
|
1065
|
+
*/
|
|
1066
|
+
type: 'customer_reply' | 'agent_reply';
|
|
1067
|
+
/**
|
|
1068
|
+
* Message body in markdown.
|
|
1069
|
+
*/
|
|
1070
|
+
body: string;
|
|
1071
|
+
/**
|
|
1072
|
+
* First name of the author. Null when not provided.
|
|
1073
|
+
*/
|
|
1074
|
+
author_first_name?: string;
|
|
1075
|
+
/**
|
|
1076
|
+
* Last name of the author. Null when not provided.
|
|
1077
|
+
*/
|
|
1078
|
+
author_last_name?: string;
|
|
1079
|
+
/**
|
|
1080
|
+
* Attachments associated with this message.
|
|
1081
|
+
*/
|
|
1082
|
+
attachments?: Array<{
|
|
1083
|
+
/**
|
|
1084
|
+
* Unique identifier of the attachment (Mongo ObjectId).
|
|
1085
|
+
*/
|
|
1086
|
+
id: string;
|
|
1087
|
+
/**
|
|
1088
|
+
* Original filename as uploaded.
|
|
1089
|
+
*/
|
|
1090
|
+
filename: string;
|
|
1091
|
+
/**
|
|
1092
|
+
* MIME content type of the attachment.
|
|
1093
|
+
*/
|
|
1094
|
+
content_type: string;
|
|
1095
|
+
/**
|
|
1096
|
+
* Size of the attachment in bytes.
|
|
1097
|
+
*/
|
|
1098
|
+
size: number;
|
|
1099
|
+
}>;
|
|
1100
|
+
/**
|
|
1101
|
+
* Creation date of the message. ISO 8601 UTC.
|
|
1102
|
+
*/
|
|
1103
|
+
date_created: string;
|
|
1104
|
+
}>;
|
|
1105
|
+
}>;
|
|
1106
|
+
};
|
|
1107
|
+
export type TicketMessageInput = {
|
|
1108
|
+
/**
|
|
1109
|
+
* Reply body in markdown.
|
|
1110
|
+
*/
|
|
1111
|
+
body: string;
|
|
1112
|
+
};
|
|
1113
|
+
export type TicketMessage = {
|
|
1114
|
+
/**
|
|
1115
|
+
* Unique identifier of the message (Mongo ObjectId).
|
|
1116
|
+
*/
|
|
1117
|
+
id: string;
|
|
1118
|
+
/**
|
|
1119
|
+
* Message type. Internal notes are filtered out of customer-facing responses.
|
|
1120
|
+
*/
|
|
1121
|
+
type: 'customer_reply' | 'agent_reply';
|
|
1122
|
+
/**
|
|
1123
|
+
* Message body in markdown.
|
|
1124
|
+
*/
|
|
1125
|
+
body: string;
|
|
1126
|
+
/**
|
|
1127
|
+
* First name of the author. Null when not provided.
|
|
1128
|
+
*/
|
|
1129
|
+
author_first_name?: string;
|
|
1130
|
+
/**
|
|
1131
|
+
* Last name of the author. Null when not provided.
|
|
1132
|
+
*/
|
|
1133
|
+
author_last_name?: string;
|
|
1134
|
+
/**
|
|
1135
|
+
* Attachments associated with this message.
|
|
1136
|
+
*/
|
|
1137
|
+
attachments?: Array<{
|
|
1138
|
+
/**
|
|
1139
|
+
* Unique identifier of the attachment (Mongo ObjectId).
|
|
1140
|
+
*/
|
|
1141
|
+
id: string;
|
|
1142
|
+
/**
|
|
1143
|
+
* Original filename as uploaded.
|
|
1144
|
+
*/
|
|
1145
|
+
filename: string;
|
|
1146
|
+
/**
|
|
1147
|
+
* MIME content type of the attachment.
|
|
1148
|
+
*/
|
|
1149
|
+
content_type: string;
|
|
1150
|
+
/**
|
|
1151
|
+
* Size of the attachment in bytes.
|
|
1152
|
+
*/
|
|
1153
|
+
size: number;
|
|
1154
|
+
}>;
|
|
1155
|
+
/**
|
|
1156
|
+
* Creation date of the message. ISO 8601 UTC.
|
|
1157
|
+
*/
|
|
1158
|
+
date_created: string;
|
|
1159
|
+
};
|
|
1160
|
+
export type Ticket = {
|
|
1161
|
+
/**
|
|
1162
|
+
* Unique identifier of the ticket (Mongo ObjectId).
|
|
1163
|
+
*/
|
|
1164
|
+
id: string;
|
|
1165
|
+
/**
|
|
1166
|
+
* Current state of the ticket.
|
|
1167
|
+
*/
|
|
1168
|
+
status: 'waiting_on_us' | 'waiting_on_user' | 'closed';
|
|
1169
|
+
/**
|
|
1170
|
+
* Ticket category.
|
|
1171
|
+
*/
|
|
1172
|
+
category: 'billing' | 'technical' | 'general';
|
|
1173
|
+
/**
|
|
1174
|
+
* First 128 characters of the initial message body, with markdown formatting and newlines stripped. Used for ticket list previews.
|
|
1175
|
+
*/
|
|
1176
|
+
summary: string;
|
|
1177
|
+
/**
|
|
1178
|
+
* Closure timestamp. Null while the ticket is open.
|
|
1179
|
+
*/
|
|
1180
|
+
closed_at?: string;
|
|
1181
|
+
/**
|
|
1182
|
+
* Creation date of the ticket. ISO 8601 UTC.
|
|
1183
|
+
*/
|
|
1184
|
+
date_created: string;
|
|
1185
|
+
/**
|
|
1186
|
+
* Last update date of the ticket. ISO 8601 UTC.
|
|
1187
|
+
*/
|
|
1188
|
+
date_updated: string;
|
|
1189
|
+
/**
|
|
1190
|
+
* Messages on the ticket in chronological order. Internal notes are excluded. Returned by the detail endpoint only.
|
|
1191
|
+
*/
|
|
1192
|
+
messages?: Array<{
|
|
1193
|
+
/**
|
|
1194
|
+
* Unique identifier of the message (Mongo ObjectId).
|
|
1195
|
+
*/
|
|
1196
|
+
id: string;
|
|
1197
|
+
/**
|
|
1198
|
+
* Message type. Internal notes are filtered out of customer-facing responses.
|
|
1199
|
+
*/
|
|
1200
|
+
type: 'customer_reply' | 'agent_reply';
|
|
1201
|
+
/**
|
|
1202
|
+
* Message body in markdown.
|
|
1203
|
+
*/
|
|
1204
|
+
body: string;
|
|
1205
|
+
/**
|
|
1206
|
+
* First name of the author. Null when not provided.
|
|
1207
|
+
*/
|
|
1208
|
+
author_first_name?: string;
|
|
1209
|
+
/**
|
|
1210
|
+
* Last name of the author. Null when not provided.
|
|
1211
|
+
*/
|
|
1212
|
+
author_last_name?: string;
|
|
1213
|
+
/**
|
|
1214
|
+
* Attachments associated with this message.
|
|
1215
|
+
*/
|
|
1216
|
+
attachments?: Array<{
|
|
1217
|
+
/**
|
|
1218
|
+
* Unique identifier of the attachment (Mongo ObjectId).
|
|
1219
|
+
*/
|
|
1220
|
+
id: string;
|
|
1221
|
+
/**
|
|
1222
|
+
* Original filename as uploaded.
|
|
1223
|
+
*/
|
|
1224
|
+
filename: string;
|
|
1225
|
+
/**
|
|
1226
|
+
* MIME content type of the attachment.
|
|
1227
|
+
*/
|
|
1228
|
+
content_type: string;
|
|
1229
|
+
/**
|
|
1230
|
+
* Size of the attachment in bytes.
|
|
1231
|
+
*/
|
|
1232
|
+
size: number;
|
|
1233
|
+
}>;
|
|
1234
|
+
/**
|
|
1235
|
+
* Creation date of the message. ISO 8601 UTC.
|
|
1236
|
+
*/
|
|
1237
|
+
date_created: string;
|
|
1238
|
+
}>;
|
|
1239
|
+
};
|
|
1240
|
+
export type TokenCreateInput = {
|
|
1241
|
+
/**
|
|
1242
|
+
* Human readable access token name.
|
|
1243
|
+
*/
|
|
1244
|
+
name: string;
|
|
1245
|
+
/**
|
|
1246
|
+
* Role assumed by the token.
|
|
1247
|
+
*/
|
|
1248
|
+
role: 'Administrator' | 'User';
|
|
1249
|
+
};
|
|
1250
|
+
export type Token = {
|
|
1251
|
+
/**
|
|
1252
|
+
* Human readable access token name.
|
|
1253
|
+
*/
|
|
1254
|
+
name: string;
|
|
1255
|
+
/**
|
|
1256
|
+
* Role assumed by the token.
|
|
1257
|
+
*/
|
|
1258
|
+
role: 'Administrator' | 'User';
|
|
1259
|
+
/**
|
|
1260
|
+
* Generated unique identifier of the access token.
|
|
1261
|
+
*/
|
|
1262
|
+
id?: string;
|
|
1263
|
+
/**
|
|
1264
|
+
* Access token secret. Unmasked only during creation.
|
|
1265
|
+
*/
|
|
1266
|
+
secret?: string;
|
|
1267
|
+
/**
|
|
1268
|
+
* Creation date of the access token. ISO 8601 date string in UTC timezone
|
|
1269
|
+
*/
|
|
1270
|
+
date_created: string;
|
|
1271
|
+
};
|
|
1272
|
+
export type TokenUpdateInput = {
|
|
1273
|
+
/**
|
|
1274
|
+
* Human readable access token name.
|
|
1275
|
+
*/
|
|
1276
|
+
name?: string;
|
|
1277
|
+
/**
|
|
1278
|
+
* Role assumed by the token.
|
|
1279
|
+
*/
|
|
1280
|
+
role?: 'Administrator' | 'User';
|
|
1281
|
+
};
|
|
1282
|
+
export type UsageFacets = {
|
|
1283
|
+
/**
|
|
1284
|
+
* List of unique cluster IDs
|
|
1285
|
+
*/
|
|
1286
|
+
cluster_id?: Array<string>;
|
|
1287
|
+
/**
|
|
1288
|
+
* List of unique products
|
|
1289
|
+
*/
|
|
1290
|
+
product?: Array<string>;
|
|
1291
|
+
};
|
|
1292
|
+
export type UsageResponse = {
|
|
1293
|
+
/**
|
|
1294
|
+
* Usage data
|
|
1295
|
+
*/
|
|
1296
|
+
data: Array<{
|
|
1297
|
+
/**
|
|
1298
|
+
* Hour of the usage
|
|
1299
|
+
*/
|
|
1300
|
+
hour: string;
|
|
1301
|
+
/**
|
|
1302
|
+
* Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
|
|
1303
|
+
*/
|
|
1304
|
+
cluster_id: string;
|
|
1305
|
+
/**
|
|
1306
|
+
* The product the usage is associated with
|
|
1307
|
+
*/
|
|
1308
|
+
product: string;
|
|
1309
|
+
/**
|
|
1310
|
+
* Consumption
|
|
1311
|
+
*/
|
|
1312
|
+
value: number;
|
|
1313
|
+
/**
|
|
1314
|
+
* Price per unit
|
|
1315
|
+
*/
|
|
1316
|
+
price: number;
|
|
1317
|
+
/**
|
|
1318
|
+
* Total cost
|
|
1319
|
+
*/
|
|
1320
|
+
total: number;
|
|
1321
|
+
}>;
|
|
1322
|
+
/**
|
|
1323
|
+
* Facets for filtering
|
|
1324
|
+
*/
|
|
1325
|
+
facets: {
|
|
1326
|
+
/**
|
|
1327
|
+
* List of unique cluster IDs
|
|
1328
|
+
*/
|
|
1329
|
+
cluster_id?: Array<string>;
|
|
1330
|
+
/**
|
|
1331
|
+
* List of unique products
|
|
1332
|
+
*/
|
|
1333
|
+
product?: Array<string>;
|
|
1334
|
+
};
|
|
1335
|
+
};
|
|
1336
|
+
export type Usage = {
|
|
1337
|
+
/**
|
|
1338
|
+
* Hour of the usage
|
|
1339
|
+
*/
|
|
1340
|
+
hour: string;
|
|
1341
|
+
/**
|
|
1342
|
+
* Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
|
|
1343
|
+
*/
|
|
1344
|
+
cluster_id: string;
|
|
1345
|
+
/**
|
|
1346
|
+
* The product the usage is associated with
|
|
1347
|
+
*/
|
|
1348
|
+
product: string;
|
|
1349
|
+
/**
|
|
1350
|
+
* Consumption
|
|
1351
|
+
*/
|
|
1352
|
+
value: number;
|
|
1353
|
+
/**
|
|
1354
|
+
* Price per unit
|
|
1355
|
+
*/
|
|
1356
|
+
price: number;
|
|
1357
|
+
/**
|
|
1358
|
+
* Total cost
|
|
1359
|
+
*/
|
|
1360
|
+
total: number;
|
|
888
1361
|
};
|
|
889
1362
|
export type UserCreateInput = {
|
|
890
1363
|
/**
|
|
@@ -907,14 +1380,6 @@ export type UserCreateInput = {
|
|
|
907
1380
|
* User password. Must be at least 8 characters long.
|
|
908
1381
|
*/
|
|
909
1382
|
password: string;
|
|
910
|
-
/**
|
|
911
|
-
* Status of the user. Can be `active` or `inactive`. Inactive users cannot log in or manage organization resources.
|
|
912
|
-
*/
|
|
913
|
-
status?: 'active' | 'inactive';
|
|
914
|
-
/**
|
|
915
|
-
* User role. Can be 'Administrator', 'User'.
|
|
916
|
-
*/
|
|
917
|
-
role?: 'Administrator' | 'User';
|
|
918
1383
|
};
|
|
919
1384
|
export type User = {
|
|
920
1385
|
/**
|
|
@@ -971,86 +1436,137 @@ export type UserUpdateInput = {
|
|
|
971
1436
|
export type GetUsageData = {
|
|
972
1437
|
body?: never;
|
|
973
1438
|
path?: never;
|
|
974
|
-
query?:
|
|
1439
|
+
query?: {
|
|
1440
|
+
/**
|
|
1441
|
+
* 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)
|
|
1442
|
+
*/
|
|
1443
|
+
granularity?: 'hourly' | 'daily' | 'monthly';
|
|
1444
|
+
};
|
|
975
1445
|
url: '/billing/usage';
|
|
976
1446
|
};
|
|
977
|
-
export type GetUsageErrors = {
|
|
1447
|
+
export type GetUsageErrors = {
|
|
1448
|
+
/**
|
|
1449
|
+
* Not authenticated
|
|
1450
|
+
*/
|
|
1451
|
+
401: unknown;
|
|
1452
|
+
};
|
|
1453
|
+
export type GetUsageResponses = {
|
|
1454
|
+
/**
|
|
1455
|
+
* Usage data with facets for filtering
|
|
1456
|
+
*/
|
|
1457
|
+
200: UsageResponse;
|
|
1458
|
+
};
|
|
1459
|
+
export type GetUsageResponse = GetUsageResponses[keyof GetUsageResponses];
|
|
1460
|
+
export type GetPaymentMethodSecretData = {
|
|
1461
|
+
body?: never;
|
|
1462
|
+
path?: never;
|
|
1463
|
+
query?: never;
|
|
1464
|
+
url: '/billing/payment-method';
|
|
1465
|
+
};
|
|
1466
|
+
export type GetPaymentMethodSecretResponses = {
|
|
1467
|
+
/**
|
|
1468
|
+
* The client secret. Used for client-side retrieval using a publishable key. The client secret can be used to complete a payment from your frontend. It should not be stored, logged, or exposed to anyone other than the customer. Make sure that you have TLS enabled on any page that includes the client secret.
|
|
1469
|
+
*
|
|
1470
|
+
*/
|
|
1471
|
+
200: {
|
|
1472
|
+
/**
|
|
1473
|
+
* The client secret.
|
|
1474
|
+
*/
|
|
1475
|
+
id?: string;
|
|
1476
|
+
};
|
|
1477
|
+
};
|
|
1478
|
+
export type GetPaymentMethodSecretResponse = GetPaymentMethodSecretResponses[keyof GetPaymentMethodSecretResponses];
|
|
1479
|
+
export type ListPaymentMethodsData = {
|
|
1480
|
+
body?: never;
|
|
1481
|
+
path?: never;
|
|
1482
|
+
query?: never;
|
|
1483
|
+
url: '/billing/payment-methods';
|
|
1484
|
+
};
|
|
1485
|
+
export type ListPaymentMethodsErrors = {
|
|
1486
|
+
/**
|
|
1487
|
+
* Not authenticated
|
|
1488
|
+
*/
|
|
1489
|
+
401: unknown;
|
|
1490
|
+
};
|
|
1491
|
+
export type ListPaymentMethodsResponses = {
|
|
1492
|
+
/**
|
|
1493
|
+
* An array of payment methods.
|
|
1494
|
+
*/
|
|
1495
|
+
200: Array<PaymentMethod>;
|
|
1496
|
+
};
|
|
1497
|
+
export type ListPaymentMethodsResponse = ListPaymentMethodsResponses[keyof ListPaymentMethodsResponses];
|
|
1498
|
+
export type SetDefaultPaymentMethodData = {
|
|
1499
|
+
body?: never;
|
|
1500
|
+
path: {
|
|
1501
|
+
/**
|
|
1502
|
+
* Stripe payment method identifier.
|
|
1503
|
+
*/
|
|
1504
|
+
paymentMethodId: string;
|
|
1505
|
+
};
|
|
1506
|
+
query?: never;
|
|
1507
|
+
url: '/billing/payment-methods/{paymentMethodId}/default';
|
|
1508
|
+
};
|
|
1509
|
+
export type SetDefaultPaymentMethodErrors = {
|
|
1510
|
+
/**
|
|
1511
|
+
* The bank transfer payment method cannot be set as the default.
|
|
1512
|
+
*/
|
|
1513
|
+
400: unknown;
|
|
978
1514
|
/**
|
|
979
1515
|
* Not authenticated
|
|
980
1516
|
*/
|
|
981
1517
|
401: unknown;
|
|
982
|
-
};
|
|
983
|
-
export type GetUsageResponses = {
|
|
984
1518
|
/**
|
|
985
|
-
*
|
|
1519
|
+
* Payment method not found.
|
|
986
1520
|
*/
|
|
987
|
-
|
|
988
|
-
};
|
|
989
|
-
export type GetUsageResponse = GetUsageResponses[keyof GetUsageResponses];
|
|
990
|
-
export type GetBalanceData = {
|
|
991
|
-
body?: never;
|
|
992
|
-
path?: never;
|
|
993
|
-
query?: never;
|
|
994
|
-
url: '/billing/balance';
|
|
1521
|
+
404: unknown;
|
|
995
1522
|
};
|
|
996
|
-
export type
|
|
1523
|
+
export type SetDefaultPaymentMethodResponses = {
|
|
997
1524
|
/**
|
|
998
|
-
*
|
|
1525
|
+
* Default payment method updated.
|
|
999
1526
|
*/
|
|
1000
|
-
|
|
1527
|
+
204: void;
|
|
1001
1528
|
};
|
|
1002
|
-
export type
|
|
1003
|
-
export type
|
|
1529
|
+
export type SetDefaultPaymentMethodResponse = SetDefaultPaymentMethodResponses[keyof SetDefaultPaymentMethodResponses];
|
|
1530
|
+
export type DeletePaymentMethodData = {
|
|
1004
1531
|
body?: never;
|
|
1005
|
-
path
|
|
1532
|
+
path: {
|
|
1533
|
+
/**
|
|
1534
|
+
* Stripe payment method identifier.
|
|
1535
|
+
*/
|
|
1536
|
+
paymentMethodId: string;
|
|
1537
|
+
};
|
|
1006
1538
|
query?: never;
|
|
1007
|
-
url: '/billing/payment-
|
|
1539
|
+
url: '/billing/payment-methods/{paymentMethodId}';
|
|
1008
1540
|
};
|
|
1009
|
-
export type
|
|
1541
|
+
export type DeletePaymentMethodErrors = {
|
|
1542
|
+
/**
|
|
1543
|
+
* The bank transfer payment method cannot be removed.
|
|
1544
|
+
*/
|
|
1545
|
+
400: unknown;
|
|
1546
|
+
/**
|
|
1547
|
+
* Not authenticated
|
|
1548
|
+
*/
|
|
1549
|
+
401: unknown;
|
|
1010
1550
|
/**
|
|
1011
|
-
*
|
|
1551
|
+
* Payment method not found.
|
|
1012
1552
|
*/
|
|
1013
1553
|
404: unknown;
|
|
1014
|
-
};
|
|
1015
|
-
export type GetPaymentMethodResponses = {
|
|
1016
1554
|
/**
|
|
1017
|
-
*
|
|
1555
|
+
* Cannot delete the only remaining payment method.
|
|
1018
1556
|
*/
|
|
1019
|
-
|
|
1020
|
-
};
|
|
1021
|
-
export type GetPaymentMethodResponse = GetPaymentMethodResponses[keyof GetPaymentMethodResponses];
|
|
1022
|
-
export type GetPaymentMethodSecretData = {
|
|
1023
|
-
body?: never;
|
|
1024
|
-
path?: never;
|
|
1025
|
-
query?: never;
|
|
1026
|
-
url: '/billing/payment-method';
|
|
1557
|
+
409: unknown;
|
|
1027
1558
|
};
|
|
1028
|
-
export type
|
|
1559
|
+
export type DeletePaymentMethodResponses = {
|
|
1029
1560
|
/**
|
|
1030
|
-
*
|
|
1031
|
-
*
|
|
1561
|
+
* Payment method deleted.
|
|
1032
1562
|
*/
|
|
1033
|
-
|
|
1034
|
-
/**
|
|
1035
|
-
* The client secret.
|
|
1036
|
-
*/
|
|
1037
|
-
id?: string;
|
|
1038
|
-
};
|
|
1563
|
+
204: void;
|
|
1039
1564
|
};
|
|
1040
|
-
export type
|
|
1565
|
+
export type DeletePaymentMethodResponse = DeletePaymentMethodResponses[keyof DeletePaymentMethodResponses];
|
|
1041
1566
|
export type ListInvoicesData = {
|
|
1042
1567
|
body?: never;
|
|
1043
1568
|
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
|
-
};
|
|
1569
|
+
query?: never;
|
|
1054
1570
|
url: '/billing/invoices';
|
|
1055
1571
|
};
|
|
1056
1572
|
export type ListInvoicesErrors = {
|
|
@@ -1066,26 +1582,6 @@ export type ListInvoicesResponses = {
|
|
|
1066
1582
|
200: Array<Invoice>;
|
|
1067
1583
|
};
|
|
1068
1584
|
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
1585
|
export type GetContactData = {
|
|
1090
1586
|
body?: never;
|
|
1091
1587
|
path?: never;
|
|
@@ -1457,9 +1953,19 @@ export type DeleteClusterData = {
|
|
|
1457
1953
|
query?: never;
|
|
1458
1954
|
url: '/clusters/{cluster_id}';
|
|
1459
1955
|
};
|
|
1956
|
+
export type DeleteClusterErrors = {
|
|
1957
|
+
/**
|
|
1958
|
+
* Cluster not found — it does not exist or has already been deleted.
|
|
1959
|
+
*/
|
|
1960
|
+
404: unknown;
|
|
1961
|
+
/**
|
|
1962
|
+
* Transient failure tearing down the cluster; retry the request.
|
|
1963
|
+
*/
|
|
1964
|
+
503: unknown;
|
|
1965
|
+
};
|
|
1460
1966
|
export type DeleteClusterResponses = {
|
|
1461
1967
|
/**
|
|
1462
|
-
* Successfully deleted.
|
|
1968
|
+
* Successfully deleted. The cluster has been torn down.
|
|
1463
1969
|
*/
|
|
1464
1970
|
200: string;
|
|
1465
1971
|
};
|
|
@@ -1521,7 +2027,7 @@ export type GetJoinInformationResponses = {
|
|
|
1521
2027
|
/**
|
|
1522
2028
|
* An object of cluster join information
|
|
1523
2029
|
*/
|
|
1524
|
-
200:
|
|
2030
|
+
200: ClusterJoinInformation;
|
|
1525
2031
|
};
|
|
1526
2032
|
export type GetJoinInformationResponse = GetJoinInformationResponses[keyof GetJoinInformationResponses];
|
|
1527
2033
|
export type ListInvitesData = {
|
|
@@ -1544,12 +2050,7 @@ export type ListInvitesResponses = {
|
|
|
1544
2050
|
};
|
|
1545
2051
|
export type ListInvitesResponse = ListInvitesResponses[keyof ListInvitesResponses];
|
|
1546
2052
|
export type CreateInviteData = {
|
|
1547
|
-
body:
|
|
1548
|
-
/**
|
|
1549
|
-
* User email address
|
|
1550
|
-
*/
|
|
1551
|
-
email?: string;
|
|
1552
|
-
};
|
|
2053
|
+
body: InviteCreateInput;
|
|
1553
2054
|
path?: never;
|
|
1554
2055
|
query?: never;
|
|
1555
2056
|
url: '/invites';
|
|
@@ -1574,9 +2075,18 @@ export type GetInviteData = {
|
|
|
1574
2075
|
};
|
|
1575
2076
|
export type GetInviteResponses = {
|
|
1576
2077
|
/**
|
|
1577
|
-
* Returns
|
|
2078
|
+
* The invitation code is valid. Returns the invited email and organization.
|
|
1578
2079
|
*/
|
|
1579
|
-
200:
|
|
2080
|
+
200: {
|
|
2081
|
+
/**
|
|
2082
|
+
* Email address the invite was issued to.
|
|
2083
|
+
*/
|
|
2084
|
+
email?: string;
|
|
2085
|
+
/**
|
|
2086
|
+
* Identifier of the organization the invite grants access to.
|
|
2087
|
+
*/
|
|
2088
|
+
organization_id?: string;
|
|
2089
|
+
};
|
|
1580
2090
|
};
|
|
1581
2091
|
export type GetInviteResponse = GetInviteResponses[keyof GetInviteResponses];
|
|
1582
2092
|
export type DeleteInviteData = {
|
|
@@ -1615,24 +2125,76 @@ export type ListMarketplaceChartsResponses = {
|
|
|
1615
2125
|
200: Array<MarketplaceListing>;
|
|
1616
2126
|
};
|
|
1617
2127
|
export type ListMarketplaceChartsResponse = ListMarketplaceChartsResponses[keyof ListMarketplaceChartsResponses];
|
|
1618
|
-
export type
|
|
2128
|
+
export type GetMarketplaceChartFilesData = {
|
|
1619
2129
|
body?: never;
|
|
1620
2130
|
path: {
|
|
1621
2131
|
/**
|
|
1622
|
-
*
|
|
2132
|
+
* Name of the chart in the marketplace.
|
|
2133
|
+
*/
|
|
2134
|
+
chart_name: string;
|
|
2135
|
+
/**
|
|
2136
|
+
* 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).
|
|
2137
|
+
*/
|
|
2138
|
+
version_channel: string;
|
|
2139
|
+
};
|
|
2140
|
+
query?: never;
|
|
2141
|
+
url: '/marketplace/{chart_name}/files/{version_channel}';
|
|
2142
|
+
};
|
|
2143
|
+
export type GetMarketplaceChartFilesErrors = {
|
|
2144
|
+
/**
|
|
2145
|
+
* Chart not found or no version matches the channel
|
|
2146
|
+
*/
|
|
2147
|
+
404: unknown;
|
|
2148
|
+
};
|
|
2149
|
+
export type GetMarketplaceChartFilesResponses = {
|
|
2150
|
+
/**
|
|
2151
|
+
* Returns an object containing the chart files for the latest matching version.
|
|
2152
|
+
*/
|
|
2153
|
+
200: MarketplaceListingFiles;
|
|
2154
|
+
};
|
|
2155
|
+
export type GetMarketplaceChartFilesResponse = GetMarketplaceChartFilesResponses[keyof GetMarketplaceChartFilesResponses];
|
|
2156
|
+
export type PostMcpData = {
|
|
2157
|
+
/**
|
|
2158
|
+
* JSON-RPC 2.0 request payload
|
|
2159
|
+
*/
|
|
2160
|
+
body: {
|
|
2161
|
+
jsonrpc?: string;
|
|
2162
|
+
method?: string;
|
|
2163
|
+
id?: string | number;
|
|
2164
|
+
/**
|
|
2165
|
+
* Method-specific parameters
|
|
1623
2166
|
*/
|
|
1624
|
-
|
|
2167
|
+
params?: {
|
|
2168
|
+
[key: string]: unknown;
|
|
2169
|
+
};
|
|
1625
2170
|
};
|
|
2171
|
+
path?: never;
|
|
1626
2172
|
query?: never;
|
|
1627
|
-
url: '/
|
|
2173
|
+
url: '/mcp';
|
|
1628
2174
|
};
|
|
1629
|
-
export type
|
|
2175
|
+
export type PostMcpErrors = {
|
|
1630
2176
|
/**
|
|
1631
|
-
*
|
|
2177
|
+
* Not authenticated
|
|
2178
|
+
*/
|
|
2179
|
+
401: unknown;
|
|
2180
|
+
};
|
|
2181
|
+
export type PostMcpResponses = {
|
|
2182
|
+
/**
|
|
2183
|
+
* JSON-RPC 2.0 success or error response
|
|
1632
2184
|
*/
|
|
1633
|
-
200:
|
|
2185
|
+
200: {
|
|
2186
|
+
jsonrpc?: string;
|
|
2187
|
+
id?: string | number;
|
|
2188
|
+
result?: {
|
|
2189
|
+
[key: string]: unknown;
|
|
2190
|
+
};
|
|
2191
|
+
error?: {
|
|
2192
|
+
code?: number;
|
|
2193
|
+
message?: string;
|
|
2194
|
+
};
|
|
2195
|
+
};
|
|
1634
2196
|
};
|
|
1635
|
-
export type
|
|
2197
|
+
export type PostMcpResponse = PostMcpResponses[keyof PostMcpResponses];
|
|
1636
2198
|
export type GetOrganizationData = {
|
|
1637
2199
|
body?: never;
|
|
1638
2200
|
path?: never;
|
|
@@ -1654,10 +2216,255 @@ export type CreateOrganizationData = {
|
|
|
1654
2216
|
};
|
|
1655
2217
|
export type CreateOrganizationResponses = {
|
|
1656
2218
|
/**
|
|
1657
|
-
*
|
|
2219
|
+
* Organization signup accepted. Returns the generated organization id immediately; provisioning (billing, Keycloak realm, user) continues asynchronously in the background.
|
|
2220
|
+
*
|
|
2221
|
+
*/
|
|
2222
|
+
200: OrganizationCreateOutput;
|
|
2223
|
+
};
|
|
2224
|
+
export type CreateOrganizationResponse = CreateOrganizationResponses[keyof CreateOrganizationResponses];
|
|
2225
|
+
export type ListRepositoriesData = {
|
|
2226
|
+
body?: never;
|
|
2227
|
+
path?: never;
|
|
2228
|
+
query?: never;
|
|
2229
|
+
url: '/registry';
|
|
2230
|
+
};
|
|
2231
|
+
export type ListRepositoriesErrors = {
|
|
2232
|
+
/**
|
|
2233
|
+
* Not authenticated
|
|
2234
|
+
*/
|
|
2235
|
+
401: unknown;
|
|
2236
|
+
/**
|
|
2237
|
+
* Internal server error
|
|
2238
|
+
*/
|
|
2239
|
+
500: unknown;
|
|
2240
|
+
};
|
|
2241
|
+
export type ListRepositoriesResponses = {
|
|
2242
|
+
/**
|
|
2243
|
+
* List of repositories
|
|
2244
|
+
*/
|
|
2245
|
+
200: Array<RegistryRepository>;
|
|
2246
|
+
};
|
|
2247
|
+
export type ListRepositoriesResponse = ListRepositoriesResponses[keyof ListRepositoriesResponses];
|
|
2248
|
+
export type ListTagsData = {
|
|
2249
|
+
body?: never;
|
|
2250
|
+
path: {
|
|
2251
|
+
/**
|
|
2252
|
+
* Region where the repository is located
|
|
2253
|
+
*/
|
|
2254
|
+
region: string;
|
|
2255
|
+
/**
|
|
2256
|
+
* Name of the repository
|
|
2257
|
+
*/
|
|
2258
|
+
repository: string;
|
|
2259
|
+
};
|
|
2260
|
+
query?: never;
|
|
2261
|
+
url: '/registry/{region}/{repository}';
|
|
2262
|
+
};
|
|
2263
|
+
export type ListTagsErrors = {
|
|
2264
|
+
/**
|
|
2265
|
+
* Not authenticated
|
|
2266
|
+
*/
|
|
2267
|
+
401: unknown;
|
|
2268
|
+
/**
|
|
2269
|
+
* Repository not found
|
|
2270
|
+
*/
|
|
2271
|
+
404: unknown;
|
|
2272
|
+
/**
|
|
2273
|
+
* Internal server error
|
|
2274
|
+
*/
|
|
2275
|
+
500: unknown;
|
|
2276
|
+
};
|
|
2277
|
+
export type ListTagsResponses = {
|
|
2278
|
+
/**
|
|
2279
|
+
* Repository with tags
|
|
2280
|
+
*/
|
|
2281
|
+
200: RegistryRepositoryWithTags;
|
|
2282
|
+
};
|
|
2283
|
+
export type ListTagsResponse = ListTagsResponses[keyof ListTagsResponses];
|
|
2284
|
+
export type DeleteTagData = {
|
|
2285
|
+
body?: never;
|
|
2286
|
+
path: {
|
|
2287
|
+
/**
|
|
2288
|
+
* Region where the repository is located
|
|
2289
|
+
*/
|
|
2290
|
+
region: string;
|
|
2291
|
+
/**
|
|
2292
|
+
* Name of the repository
|
|
2293
|
+
*/
|
|
2294
|
+
repository: string;
|
|
2295
|
+
/**
|
|
2296
|
+
* Name of the tag
|
|
2297
|
+
*/
|
|
2298
|
+
tag: string;
|
|
2299
|
+
};
|
|
2300
|
+
query?: never;
|
|
2301
|
+
url: '/registry/{region}/{repository}/{tag}';
|
|
2302
|
+
};
|
|
2303
|
+
export type DeleteTagErrors = {
|
|
2304
|
+
/**
|
|
2305
|
+
* Not authenticated
|
|
2306
|
+
*/
|
|
2307
|
+
401: unknown;
|
|
2308
|
+
/**
|
|
2309
|
+
* Tag not found
|
|
2310
|
+
*/
|
|
2311
|
+
404: unknown;
|
|
2312
|
+
/**
|
|
2313
|
+
* Internal server error
|
|
2314
|
+
*/
|
|
2315
|
+
500: unknown;
|
|
2316
|
+
};
|
|
2317
|
+
export type DeleteTagResponses = {
|
|
2318
|
+
/**
|
|
2319
|
+
* Tag successfully deleted
|
|
1658
2320
|
*/
|
|
1659
2321
|
200: unknown;
|
|
1660
2322
|
};
|
|
2323
|
+
export type GetTagData = {
|
|
2324
|
+
body?: never;
|
|
2325
|
+
path: {
|
|
2326
|
+
/**
|
|
2327
|
+
* Region where the repository is located
|
|
2328
|
+
*/
|
|
2329
|
+
region: string;
|
|
2330
|
+
/**
|
|
2331
|
+
* Name of the repository
|
|
2332
|
+
*/
|
|
2333
|
+
repository: string;
|
|
2334
|
+
/**
|
|
2335
|
+
* Name of the tag
|
|
2336
|
+
*/
|
|
2337
|
+
tag: string;
|
|
2338
|
+
};
|
|
2339
|
+
query?: never;
|
|
2340
|
+
url: '/registry/{region}/{repository}/{tag}';
|
|
2341
|
+
};
|
|
2342
|
+
export type GetTagErrors = {
|
|
2343
|
+
/**
|
|
2344
|
+
* Not authenticated
|
|
2345
|
+
*/
|
|
2346
|
+
401: unknown;
|
|
2347
|
+
/**
|
|
2348
|
+
* Tag not found
|
|
2349
|
+
*/
|
|
2350
|
+
404: unknown;
|
|
2351
|
+
/**
|
|
2352
|
+
* Internal server error
|
|
2353
|
+
*/
|
|
2354
|
+
500: unknown;
|
|
2355
|
+
};
|
|
2356
|
+
export type GetTagResponses = {
|
|
2357
|
+
/**
|
|
2358
|
+
* Tag details
|
|
2359
|
+
*/
|
|
2360
|
+
200: RegistryTag;
|
|
2361
|
+
};
|
|
2362
|
+
export type GetTagResponse = GetTagResponses[keyof GetTagResponses];
|
|
2363
|
+
export type ListTicketsData = {
|
|
2364
|
+
body?: never;
|
|
2365
|
+
path?: never;
|
|
2366
|
+
query?: never;
|
|
2367
|
+
url: '/tickets';
|
|
2368
|
+
};
|
|
2369
|
+
export type ListTicketsResponses = {
|
|
2370
|
+
/**
|
|
2371
|
+
* Tickets for the organization.
|
|
2372
|
+
*/
|
|
2373
|
+
200: TicketListResponse;
|
|
2374
|
+
};
|
|
2375
|
+
export type ListTicketsResponse = ListTicketsResponses[keyof ListTicketsResponses];
|
|
2376
|
+
export type CreateTicketData = {
|
|
2377
|
+
body: {
|
|
2378
|
+
/**
|
|
2379
|
+
* JSON-encoded TicketCreateInput.
|
|
2380
|
+
*/
|
|
2381
|
+
payload?: string;
|
|
2382
|
+
attachments?: Array<Blob | File>;
|
|
2383
|
+
};
|
|
2384
|
+
path?: never;
|
|
2385
|
+
query?: never;
|
|
2386
|
+
url: '/tickets';
|
|
2387
|
+
};
|
|
2388
|
+
export type CreateTicketResponses = {
|
|
2389
|
+
/**
|
|
2390
|
+
* Ticket created.
|
|
2391
|
+
*/
|
|
2392
|
+
200: Ticket;
|
|
2393
|
+
};
|
|
2394
|
+
export type CreateTicketResponse = CreateTicketResponses[keyof CreateTicketResponses];
|
|
2395
|
+
export type CloseTicketData = {
|
|
2396
|
+
body?: never;
|
|
2397
|
+
path: {
|
|
2398
|
+
ticket_id: string;
|
|
2399
|
+
};
|
|
2400
|
+
query?: never;
|
|
2401
|
+
url: '/tickets/{ticket_id}';
|
|
2402
|
+
};
|
|
2403
|
+
export type CloseTicketResponses = {
|
|
2404
|
+
/**
|
|
2405
|
+
* Ticket closed.
|
|
2406
|
+
*/
|
|
2407
|
+
200: Ticket;
|
|
2408
|
+
};
|
|
2409
|
+
export type CloseTicketResponse = CloseTicketResponses[keyof CloseTicketResponses];
|
|
2410
|
+
export type GetTicketData = {
|
|
2411
|
+
body?: never;
|
|
2412
|
+
path: {
|
|
2413
|
+
ticket_id: string;
|
|
2414
|
+
};
|
|
2415
|
+
query?: never;
|
|
2416
|
+
url: '/tickets/{ticket_id}';
|
|
2417
|
+
};
|
|
2418
|
+
export type GetTicketResponses = {
|
|
2419
|
+
/**
|
|
2420
|
+
* Ticket with messages (internal notes excluded).
|
|
2421
|
+
*/
|
|
2422
|
+
200: Ticket;
|
|
2423
|
+
};
|
|
2424
|
+
export type GetTicketResponse = GetTicketResponses[keyof GetTicketResponses];
|
|
2425
|
+
export type ReplyTicketData = {
|
|
2426
|
+
body: {
|
|
2427
|
+
/**
|
|
2428
|
+
* JSON-encoded TicketMessageInput.
|
|
2429
|
+
*/
|
|
2430
|
+
payload?: string;
|
|
2431
|
+
attachments?: Array<Blob | File>;
|
|
2432
|
+
};
|
|
2433
|
+
path: {
|
|
2434
|
+
ticket_id: string;
|
|
2435
|
+
};
|
|
2436
|
+
query?: never;
|
|
2437
|
+
url: '/tickets/{ticket_id}/messages';
|
|
2438
|
+
};
|
|
2439
|
+
export type ReplyTicketErrors = {
|
|
2440
|
+
/**
|
|
2441
|
+
* Ticket is closed. Open a new ticket instead.
|
|
2442
|
+
*/
|
|
2443
|
+
409: unknown;
|
|
2444
|
+
};
|
|
2445
|
+
export type ReplyTicketResponses = {
|
|
2446
|
+
/**
|
|
2447
|
+
* Reply appended.
|
|
2448
|
+
*/
|
|
2449
|
+
200: TicketMessage;
|
|
2450
|
+
};
|
|
2451
|
+
export type ReplyTicketResponse = ReplyTicketResponses[keyof ReplyTicketResponses];
|
|
2452
|
+
export type GetTicketAttachmentData = {
|
|
2453
|
+
body?: never;
|
|
2454
|
+
path: {
|
|
2455
|
+
ticket_id: string;
|
|
2456
|
+
attachment_id: string;
|
|
2457
|
+
};
|
|
2458
|
+
query?: never;
|
|
2459
|
+
url: '/tickets/{ticket_id}/attachments/{attachment_id}';
|
|
2460
|
+
};
|
|
2461
|
+
export type GetTicketAttachmentResponses = {
|
|
2462
|
+
/**
|
|
2463
|
+
* Attachment binary stream.
|
|
2464
|
+
*/
|
|
2465
|
+
200: Blob | File;
|
|
2466
|
+
};
|
|
2467
|
+
export type GetTicketAttachmentResponse = GetTicketAttachmentResponses[keyof GetTicketAttachmentResponses];
|
|
1661
2468
|
export type ListTokensData = {
|
|
1662
2469
|
body?: never;
|
|
1663
2470
|
path?: never;
|
|
@@ -1914,7 +2721,4 @@ export type UpdateUserResponses = {
|
|
|
1914
2721
|
200: User;
|
|
1915
2722
|
};
|
|
1916
2723
|
export type UpdateUserResponse = UpdateUserResponses[keyof UpdateUserResponses];
|
|
1917
|
-
export type ClientOptions = {
|
|
1918
|
-
baseUrl: 'https://api.cloudfleet.ai/v1' | (string & {});
|
|
1919
|
-
};
|
|
1920
2724
|
//# sourceMappingURL=types.gen.d.ts.map
|