@cloudfleet/sdk 0.0.1-9835b73 → 0.0.1-9a4447d
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 +1139 -0
- package/dist/@tanstack/react-query.gen.d.ts.map +1 -0
- package/dist/@tanstack/react-query.gen.js +1167 -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 +1337 -589
- package/dist/schemas.gen.d.ts.map +1 -1
- package/dist/schemas.gen.js +2675 -688
- package/dist/schemas.gen.js.map +1 -1
- package/dist/sdk.gen.d.ts +187 -63
- package/dist/sdk.gen.d.ts.map +1 -1
- package/dist/sdk.gen.js +236 -165
- package/dist/sdk.gen.js.map +1 -1
- package/dist/services/kubernetes/api.d.ts +20 -20
- package/dist/types.gen.d.ts +1151 -371
- package/dist/types.gen.d.ts.map +1 -1
- package/dist/zod.gen.d.ts +3526 -2590
- package/dist/zod.gen.d.ts.map +1 -1
- package/dist/zod.gen.js +1242 -936
- 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
|
-
*
|
|
46
|
+
* Name of the billing contact person.
|
|
40
47
|
*/
|
|
41
|
-
|
|
42
|
-
/**
|
|
43
|
-
* Last name of the billing contact person.
|
|
44
|
-
*/
|
|
45
|
-
last_name: string;
|
|
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.
|
|
248
|
-
*/
|
|
249
|
-
region?: 'staging' | 'northamerica-central-1' | 'europe-central-1a';
|
|
250
|
-
/**
|
|
251
|
-
* Version of the kubernetes cluster.
|
|
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.
|
|
252
255
|
*/
|
|
253
|
-
|
|
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,396 +506,718 @@ 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
|
-
|
|
561
|
+
versions: Array<string>;
|
|
562
|
+
/**
|
|
563
|
+
* Version channels for the chart
|
|
564
|
+
*/
|
|
565
|
+
version_channels: Array<string>;
|
|
566
|
+
/**
|
|
567
|
+
* Latest version of the chart
|
|
568
|
+
*/
|
|
569
|
+
latestVersion: string;
|
|
570
|
+
/**
|
|
571
|
+
* Chart metadata
|
|
572
|
+
*/
|
|
573
|
+
metadata?: {
|
|
477
574
|
/**
|
|
478
|
-
*
|
|
575
|
+
* Chart name from metadata
|
|
479
576
|
*/
|
|
480
|
-
|
|
577
|
+
name: string;
|
|
481
578
|
/**
|
|
482
|
-
*
|
|
579
|
+
* Chart version from metadata
|
|
483
580
|
*/
|
|
484
|
-
|
|
581
|
+
version: string;
|
|
485
582
|
/**
|
|
486
|
-
*
|
|
583
|
+
* Chart description
|
|
487
584
|
*/
|
|
488
|
-
|
|
585
|
+
description?: string;
|
|
489
586
|
/**
|
|
490
|
-
*
|
|
587
|
+
* Application version
|
|
491
588
|
*/
|
|
492
|
-
|
|
589
|
+
appVersion?: string;
|
|
493
590
|
/**
|
|
494
|
-
*
|
|
591
|
+
* Helm API version
|
|
495
592
|
*/
|
|
496
|
-
|
|
593
|
+
apiVersion?: string;
|
|
497
594
|
/**
|
|
498
|
-
*
|
|
595
|
+
* Chart keywords
|
|
499
596
|
*/
|
|
500
|
-
|
|
597
|
+
keywords?: Array<string>;
|
|
501
598
|
/**
|
|
502
|
-
*
|
|
599
|
+
* Chart home URL
|
|
503
600
|
*/
|
|
504
|
-
|
|
601
|
+
home?: string;
|
|
505
602
|
/**
|
|
506
|
-
*
|
|
603
|
+
* A URL to an SVG or PNG image to be used as an icon
|
|
507
604
|
*/
|
|
508
|
-
|
|
605
|
+
icon?: string;
|
|
509
606
|
/**
|
|
510
|
-
*
|
|
607
|
+
* Chart source URLs
|
|
511
608
|
*/
|
|
512
|
-
|
|
609
|
+
sources?: Array<string>;
|
|
513
610
|
/**
|
|
514
|
-
*
|
|
611
|
+
* Chart maintainers
|
|
515
612
|
*/
|
|
516
|
-
|
|
613
|
+
maintainers?: Array<{
|
|
614
|
+
/**
|
|
615
|
+
* Maintainer name
|
|
616
|
+
*/
|
|
617
|
+
name: string;
|
|
618
|
+
/**
|
|
619
|
+
* Maintainer email
|
|
620
|
+
*/
|
|
621
|
+
email?: string;
|
|
622
|
+
}>;
|
|
623
|
+
};
|
|
624
|
+
};
|
|
625
|
+
export type OrganizationCreateInput = {
|
|
626
|
+
/**
|
|
627
|
+
* Type of the organization. `business` for legal entities, `personal` for individuals.
|
|
628
|
+
*/
|
|
629
|
+
type: 'business' | 'personal';
|
|
630
|
+
/**
|
|
631
|
+
* Email address used for billing as a string.
|
|
632
|
+
*/
|
|
633
|
+
email: string;
|
|
634
|
+
/**
|
|
635
|
+
* First name of the billing contact person.
|
|
636
|
+
*/
|
|
637
|
+
first_name: string;
|
|
638
|
+
/**
|
|
639
|
+
* Last name of the billing contact person.
|
|
640
|
+
*/
|
|
641
|
+
last_name: string;
|
|
642
|
+
/**
|
|
643
|
+
* Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
|
|
644
|
+
*/
|
|
645
|
+
company_name: string;
|
|
646
|
+
/**
|
|
647
|
+
* Password for the root account. Must be at least 8 characters long and contain at least one uppercase letter, one lowercase letter, one number and one special character.
|
|
648
|
+
*/
|
|
649
|
+
password: string;
|
|
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
|
+
};
|
|
657
|
+
export type Organization = {
|
|
658
|
+
/**
|
|
659
|
+
* Unique identifier of the organization. UUID v4 string in canonical form
|
|
660
|
+
*/
|
|
661
|
+
id: string;
|
|
662
|
+
/**
|
|
663
|
+
* Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
|
|
664
|
+
*/
|
|
665
|
+
name?: string;
|
|
666
|
+
/**
|
|
667
|
+
* Type of the organization. `business` for legal entities, `personal` for individuals.
|
|
668
|
+
*/
|
|
669
|
+
type: 'business' | 'personal';
|
|
670
|
+
/**
|
|
671
|
+
* Creation date of the organization. ISO 8601 date string in UTC timezone
|
|
672
|
+
*/
|
|
673
|
+
date_created: string;
|
|
674
|
+
/**
|
|
675
|
+
* For security reasons, platform quota is controlled by Cloudfleet and can be updated only by Cloudfleet administrators. Please open a support ticket if you need to change the platform quota.
|
|
676
|
+
*/
|
|
677
|
+
quota: {
|
|
517
678
|
/**
|
|
518
|
-
*
|
|
679
|
+
* Maximum number of Basic clusters that can be created.
|
|
519
680
|
*/
|
|
520
|
-
|
|
681
|
+
basic_clusters_max: number;
|
|
521
682
|
/**
|
|
522
|
-
*
|
|
683
|
+
* Available number of Basic clusters that can be created.
|
|
523
684
|
*/
|
|
524
|
-
|
|
685
|
+
basic_clusters_available: number;
|
|
525
686
|
/**
|
|
526
|
-
*
|
|
687
|
+
* Maximum number of Pro clusters that can be created.
|
|
527
688
|
*/
|
|
528
|
-
|
|
689
|
+
pro_clusters_max: number;
|
|
529
690
|
/**
|
|
530
|
-
*
|
|
691
|
+
* Available number of Pro clusters that can be created.
|
|
531
692
|
*/
|
|
532
|
-
|
|
693
|
+
pro_clusters_available: number;
|
|
533
694
|
/**
|
|
534
|
-
*
|
|
695
|
+
* Maximum number of fleets that can be created per cluster.
|
|
535
696
|
*/
|
|
536
|
-
|
|
697
|
+
fleets_max: number;
|
|
537
698
|
/**
|
|
538
|
-
*
|
|
699
|
+
* List of Cloudfleet cluster tiers available for the organization.
|
|
539
700
|
*/
|
|
540
|
-
|
|
701
|
+
cluster_tiers: Array<string>;
|
|
541
702
|
/**
|
|
542
|
-
*
|
|
703
|
+
* List of Cloudfleet control plane regions available for the organization.
|
|
543
704
|
*/
|
|
544
|
-
|
|
705
|
+
regions: Array<string>;
|
|
545
706
|
/**
|
|
546
|
-
*
|
|
707
|
+
* List of CFKE control plane versions available for the organization.
|
|
547
708
|
*/
|
|
548
|
-
|
|
709
|
+
versions: Array<{
|
|
710
|
+
/**
|
|
711
|
+
* Id of the control plane version. Used in API calls.
|
|
712
|
+
*/
|
|
713
|
+
id: string;
|
|
714
|
+
/**
|
|
715
|
+
* Label of the control plane version. Used in frontent UI.
|
|
716
|
+
*/
|
|
717
|
+
label: string;
|
|
718
|
+
}>;
|
|
549
719
|
/**
|
|
550
|
-
*
|
|
720
|
+
* Organization-level maximum CFCR storage volume in GB. -1 means no limit.
|
|
551
721
|
*/
|
|
552
|
-
|
|
722
|
+
cfcr_storage_gb: number;
|
|
723
|
+
};
|
|
724
|
+
/**
|
|
725
|
+
* Status of the organization. Can be `active` or `closed`, or `suspended`.
|
|
726
|
+
*/
|
|
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';
|
|
732
|
+
};
|
|
733
|
+
export type PaymentMethod = {
|
|
734
|
+
/**
|
|
735
|
+
* 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.
|
|
736
|
+
*/
|
|
737
|
+
id: string;
|
|
738
|
+
/**
|
|
739
|
+
* Payment method type. `card`, `sepa_debit` for SEPA Direct Debit (business accounts only), or `bank_transfer` for paying invoices by bank transfer.
|
|
740
|
+
*/
|
|
741
|
+
type: 'card' | 'sepa_debit' | 'bank_transfer';
|
|
742
|
+
/**
|
|
743
|
+
* 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.
|
|
744
|
+
*/
|
|
745
|
+
last4: string;
|
|
746
|
+
/**
|
|
747
|
+
* Two-digit number representing the card's expiration month. Null for SEPA Direct Debit and bank transfer.
|
|
748
|
+
*/
|
|
749
|
+
exp_month: number;
|
|
750
|
+
/**
|
|
751
|
+
* 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.
|
|
752
|
+
*/
|
|
753
|
+
exp_year: number;
|
|
754
|
+
/**
|
|
755
|
+
* Payment card brand as reported by Stripe, e.g. `visa`, `mastercard`, `amex`, `cartes_bancaires`, or `unknown`. Null for SEPA Direct Debit and bank transfer.
|
|
756
|
+
*/
|
|
757
|
+
brand: string;
|
|
758
|
+
/**
|
|
759
|
+
* 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.
|
|
760
|
+
*/
|
|
761
|
+
iban: string;
|
|
762
|
+
/**
|
|
763
|
+
* BIC/SWIFT of the destination bank for bank transfers. Set only for `bank_transfer`; null otherwise.
|
|
764
|
+
*/
|
|
765
|
+
bic: string;
|
|
766
|
+
/**
|
|
767
|
+
* Account holder name of the destination bank account for bank transfers. Set only for `bank_transfer`; null otherwise.
|
|
768
|
+
*/
|
|
769
|
+
account_holder_name: string;
|
|
770
|
+
/**
|
|
771
|
+
* 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).
|
|
772
|
+
*/
|
|
773
|
+
is_default: boolean;
|
|
774
|
+
};
|
|
775
|
+
export type PlatformQuota = {
|
|
776
|
+
/**
|
|
777
|
+
* Maximum number of Basic clusters that can be created.
|
|
778
|
+
*/
|
|
779
|
+
basic_clusters_max: number;
|
|
780
|
+
/**
|
|
781
|
+
* Available number of Basic clusters that can be created.
|
|
782
|
+
*/
|
|
783
|
+
basic_clusters_available: number;
|
|
784
|
+
/**
|
|
785
|
+
* Maximum number of Pro clusters that can be created.
|
|
786
|
+
*/
|
|
787
|
+
pro_clusters_max: number;
|
|
788
|
+
/**
|
|
789
|
+
* Available number of Pro clusters that can be created.
|
|
790
|
+
*/
|
|
791
|
+
pro_clusters_available: number;
|
|
792
|
+
/**
|
|
793
|
+
* Maximum number of fleets that can be created per cluster.
|
|
794
|
+
*/
|
|
795
|
+
fleets_max: number;
|
|
796
|
+
/**
|
|
797
|
+
* List of Cloudfleet cluster tiers available for the organization.
|
|
798
|
+
*/
|
|
799
|
+
cluster_tiers: Array<string>;
|
|
800
|
+
/**
|
|
801
|
+
* List of Cloudfleet control plane regions available for the organization.
|
|
802
|
+
*/
|
|
803
|
+
regions: Array<string>;
|
|
804
|
+
/**
|
|
805
|
+
* List of CFKE control plane versions available for the organization.
|
|
806
|
+
*/
|
|
807
|
+
versions: Array<{
|
|
553
808
|
/**
|
|
554
|
-
*
|
|
809
|
+
* Id of the control plane version. Used in API calls.
|
|
555
810
|
*/
|
|
556
|
-
|
|
811
|
+
id: string;
|
|
557
812
|
/**
|
|
558
|
-
*
|
|
813
|
+
* Label of the control plane version. Used in frontent UI.
|
|
559
814
|
*/
|
|
560
|
-
|
|
561
|
-
[key: string]: unknown;
|
|
562
|
-
} | string>;
|
|
815
|
+
label: string;
|
|
563
816
|
}>;
|
|
564
817
|
/**
|
|
565
|
-
*
|
|
818
|
+
* Organization-level maximum CFCR storage volume in GB. -1 means no limit.
|
|
566
819
|
*/
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
820
|
+
cfcr_storage_gb: number;
|
|
821
|
+
};
|
|
822
|
+
export type RegistryRepository = {
|
|
823
|
+
/**
|
|
824
|
+
* Repository name.
|
|
825
|
+
*/
|
|
826
|
+
name: string;
|
|
827
|
+
/**
|
|
828
|
+
* Registry region.
|
|
829
|
+
*/
|
|
830
|
+
region: string;
|
|
831
|
+
/**
|
|
832
|
+
* Full URI of the repository.
|
|
833
|
+
*/
|
|
834
|
+
uri: string;
|
|
835
|
+
};
|
|
836
|
+
export type RegistryRepositoryWithTags = {
|
|
837
|
+
/**
|
|
838
|
+
* Repository name.
|
|
839
|
+
*/
|
|
840
|
+
name: string;
|
|
841
|
+
/**
|
|
842
|
+
* Registry region.
|
|
843
|
+
*/
|
|
844
|
+
region: string;
|
|
845
|
+
/**
|
|
846
|
+
* Full URI of the repository.
|
|
847
|
+
*/
|
|
848
|
+
uri: string;
|
|
849
|
+
/**
|
|
850
|
+
* Array of tags in the repository.
|
|
851
|
+
*/
|
|
852
|
+
tags: Array<{
|
|
576
853
|
/**
|
|
577
|
-
*
|
|
854
|
+
* Tag name.
|
|
578
855
|
*/
|
|
579
|
-
|
|
856
|
+
name: string;
|
|
580
857
|
/**
|
|
581
|
-
*
|
|
858
|
+
* Size of the tag in bytes.
|
|
582
859
|
*/
|
|
583
|
-
|
|
860
|
+
size: number;
|
|
584
861
|
/**
|
|
585
|
-
*
|
|
862
|
+
* Media type of the manifest.
|
|
586
863
|
*/
|
|
587
|
-
|
|
864
|
+
mediaType?: string;
|
|
588
865
|
/**
|
|
589
|
-
*
|
|
866
|
+
* Array of platform strings for multi-arch images (e.g., linux/amd64, linux/arm64).
|
|
590
867
|
*/
|
|
591
|
-
|
|
868
|
+
platforms?: Array<string>;
|
|
869
|
+
}>;
|
|
870
|
+
/**
|
|
871
|
+
* Total size of all tags in the repository in bytes.
|
|
872
|
+
*/
|
|
873
|
+
totalSize: number;
|
|
874
|
+
};
|
|
875
|
+
export type RegistryTag = {
|
|
876
|
+
/**
|
|
877
|
+
* Tag name.
|
|
878
|
+
*/
|
|
879
|
+
name: string;
|
|
880
|
+
/**
|
|
881
|
+
* Manifest digest for pulling by digest.
|
|
882
|
+
*/
|
|
883
|
+
digest: string;
|
|
884
|
+
/**
|
|
885
|
+
* Media type of the manifest.
|
|
886
|
+
*/
|
|
887
|
+
mediaType?: string;
|
|
888
|
+
/**
|
|
889
|
+
* Manifest config metadata.
|
|
890
|
+
*/
|
|
891
|
+
config?: {
|
|
592
892
|
/**
|
|
593
|
-
*
|
|
893
|
+
* Size of the config in bytes.
|
|
594
894
|
*/
|
|
595
|
-
|
|
895
|
+
size: number;
|
|
896
|
+
};
|
|
897
|
+
/**
|
|
898
|
+
* Array of layer metadata.
|
|
899
|
+
*/
|
|
900
|
+
layers?: Array<{
|
|
596
901
|
/**
|
|
597
|
-
*
|
|
902
|
+
* Digest of the layer.
|
|
598
903
|
*/
|
|
599
|
-
|
|
904
|
+
digest?: string;
|
|
600
905
|
/**
|
|
601
|
-
*
|
|
906
|
+
* Size of the layer in bytes.
|
|
602
907
|
*/
|
|
603
|
-
|
|
908
|
+
size: number;
|
|
909
|
+
}>;
|
|
910
|
+
/**
|
|
911
|
+
* Array of manifests for multi-arch images.
|
|
912
|
+
*/
|
|
913
|
+
manifests?: Array<{
|
|
604
914
|
/**
|
|
605
|
-
*
|
|
915
|
+
* Digest of the manifest.
|
|
606
916
|
*/
|
|
607
|
-
|
|
917
|
+
digest: string;
|
|
608
918
|
/**
|
|
609
|
-
*
|
|
919
|
+
* Platform information for the manifest.
|
|
610
920
|
*/
|
|
611
|
-
|
|
921
|
+
platform?: {
|
|
922
|
+
/**
|
|
923
|
+
* Architecture of the platform.
|
|
924
|
+
*/
|
|
925
|
+
architecture: string;
|
|
926
|
+
/**
|
|
927
|
+
* Operating system of the platform.
|
|
928
|
+
*/
|
|
929
|
+
os: string;
|
|
930
|
+
/**
|
|
931
|
+
* Variant of the platform (e.g., v7, v8 for ARM).
|
|
932
|
+
*/
|
|
933
|
+
variant?: string;
|
|
934
|
+
};
|
|
612
935
|
/**
|
|
613
|
-
*
|
|
936
|
+
* Layers for this platform.
|
|
614
937
|
*/
|
|
615
|
-
|
|
938
|
+
layers?: Array<{
|
|
939
|
+
/**
|
|
940
|
+
* Digest of the layer.
|
|
941
|
+
*/
|
|
942
|
+
digest?: string;
|
|
943
|
+
/**
|
|
944
|
+
* Size of the layer in bytes.
|
|
945
|
+
*/
|
|
946
|
+
size: number;
|
|
947
|
+
}>;
|
|
616
948
|
/**
|
|
617
|
-
*
|
|
949
|
+
* Total size of this platform manifest in bytes.
|
|
618
950
|
*/
|
|
619
|
-
|
|
951
|
+
size?: number;
|
|
952
|
+
}>;
|
|
953
|
+
/**
|
|
954
|
+
* Total size of the tag in bytes.
|
|
955
|
+
*/
|
|
956
|
+
size: number;
|
|
957
|
+
/**
|
|
958
|
+
* Registry region.
|
|
959
|
+
*/
|
|
960
|
+
region: string;
|
|
961
|
+
/**
|
|
962
|
+
* Repository name.
|
|
963
|
+
*/
|
|
964
|
+
repository: string;
|
|
965
|
+
/**
|
|
966
|
+
* Full URI of the tag.
|
|
967
|
+
*/
|
|
968
|
+
uri: string;
|
|
969
|
+
};
|
|
970
|
+
export type TicketAttachment = {
|
|
971
|
+
/**
|
|
972
|
+
* Unique identifier of the attachment (Mongo ObjectId).
|
|
973
|
+
*/
|
|
974
|
+
id: string;
|
|
975
|
+
/**
|
|
976
|
+
* Original filename as uploaded.
|
|
977
|
+
*/
|
|
978
|
+
filename: string;
|
|
979
|
+
/**
|
|
980
|
+
* MIME content type of the attachment.
|
|
981
|
+
*/
|
|
982
|
+
content_type: string;
|
|
983
|
+
/**
|
|
984
|
+
* Size of the attachment in bytes.
|
|
985
|
+
*/
|
|
986
|
+
size: number;
|
|
987
|
+
};
|
|
988
|
+
export type TicketCreateInput = {
|
|
989
|
+
/**
|
|
990
|
+
* Ticket category. Drives auto-assignment and may carry a subcategory in `properties`.
|
|
991
|
+
*/
|
|
992
|
+
category: 'billing' | 'technical' | 'general';
|
|
993
|
+
/**
|
|
994
|
+
* Initial message body in markdown. There is no separate subject — the first message body is the description.
|
|
995
|
+
*/
|
|
996
|
+
body: string;
|
|
997
|
+
/**
|
|
998
|
+
* Free-form key/value bag set by the UI (e.g. `subcategory`, `cluster_id`, `cluster_name`, `region`).
|
|
999
|
+
*/
|
|
1000
|
+
properties?: {
|
|
1001
|
+
[key: string]: unknown;
|
|
1002
|
+
};
|
|
1003
|
+
};
|
|
1004
|
+
export type TicketListResponse = {
|
|
1005
|
+
/**
|
|
1006
|
+
* Tickets for the organization, ordered newest first. Messages are omitted from list responses.
|
|
1007
|
+
*/
|
|
1008
|
+
items: Array<{
|
|
620
1009
|
/**
|
|
621
|
-
*
|
|
1010
|
+
* Unique identifier of the ticket (Mongo ObjectId).
|
|
622
1011
|
*/
|
|
623
|
-
|
|
1012
|
+
id: string;
|
|
624
1013
|
/**
|
|
625
|
-
*
|
|
1014
|
+
* Current state of the ticket.
|
|
626
1015
|
*/
|
|
627
|
-
|
|
1016
|
+
status: 'waiting_on_us' | 'waiting_on_user' | 'closed';
|
|
628
1017
|
/**
|
|
629
|
-
*
|
|
1018
|
+
* Ticket category.
|
|
630
1019
|
*/
|
|
631
|
-
|
|
1020
|
+
category: 'billing' | 'technical' | 'general';
|
|
632
1021
|
/**
|
|
633
|
-
*
|
|
1022
|
+
* First 128 characters of the initial message body, with markdown formatting and newlines stripped. Used for ticket list previews.
|
|
634
1023
|
*/
|
|
635
|
-
|
|
1024
|
+
summary: string;
|
|
636
1025
|
/**
|
|
637
|
-
*
|
|
1026
|
+
* Closure timestamp. Null while the ticket is open.
|
|
638
1027
|
*/
|
|
639
|
-
|
|
1028
|
+
closed_at?: string;
|
|
640
1029
|
/**
|
|
641
|
-
*
|
|
1030
|
+
* Creation date of the ticket. ISO 8601 UTC.
|
|
642
1031
|
*/
|
|
643
|
-
|
|
1032
|
+
date_created: string;
|
|
644
1033
|
/**
|
|
645
|
-
*
|
|
1034
|
+
* Last update date of the ticket. ISO 8601 UTC.
|
|
646
1035
|
*/
|
|
647
|
-
|
|
1036
|
+
date_updated: string;
|
|
648
1037
|
/**
|
|
649
|
-
*
|
|
1038
|
+
* Messages on the ticket in chronological order. Internal notes are excluded. Returned by the detail endpoint only.
|
|
650
1039
|
*/
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
1040
|
+
messages?: Array<{
|
|
1041
|
+
/**
|
|
1042
|
+
* Unique identifier of the message (Mongo ObjectId).
|
|
1043
|
+
*/
|
|
1044
|
+
id: string;
|
|
1045
|
+
/**
|
|
1046
|
+
* Message type. Internal notes are filtered out of customer-facing responses.
|
|
1047
|
+
*/
|
|
1048
|
+
type: 'customer_reply' | 'agent_reply';
|
|
1049
|
+
/**
|
|
1050
|
+
* Message body in markdown.
|
|
1051
|
+
*/
|
|
1052
|
+
body: string;
|
|
1053
|
+
/**
|
|
1054
|
+
* First name of the author. Null when not provided.
|
|
1055
|
+
*/
|
|
1056
|
+
author_first_name?: string;
|
|
1057
|
+
/**
|
|
1058
|
+
* Last name of the author. Null when not provided.
|
|
1059
|
+
*/
|
|
1060
|
+
author_last_name?: string;
|
|
1061
|
+
/**
|
|
1062
|
+
* Attachments associated with this message.
|
|
1063
|
+
*/
|
|
1064
|
+
attachments?: Array<{
|
|
1065
|
+
/**
|
|
1066
|
+
* Unique identifier of the attachment (Mongo ObjectId).
|
|
1067
|
+
*/
|
|
1068
|
+
id: string;
|
|
1069
|
+
/**
|
|
1070
|
+
* Original filename as uploaded.
|
|
1071
|
+
*/
|
|
1072
|
+
filename: string;
|
|
1073
|
+
/**
|
|
1074
|
+
* MIME content type of the attachment.
|
|
1075
|
+
*/
|
|
1076
|
+
content_type: string;
|
|
1077
|
+
/**
|
|
1078
|
+
* Size of the attachment in bytes.
|
|
1079
|
+
*/
|
|
1080
|
+
size: number;
|
|
1081
|
+
}>;
|
|
1082
|
+
/**
|
|
1083
|
+
* Creation date of the message. ISO 8601 UTC.
|
|
1084
|
+
*/
|
|
1085
|
+
date_created: string;
|
|
1086
|
+
}>;
|
|
654
1087
|
}>;
|
|
655
1088
|
};
|
|
656
|
-
export type
|
|
1089
|
+
export type TicketMessageInput = {
|
|
657
1090
|
/**
|
|
658
|
-
*
|
|
1091
|
+
* Reply body in markdown.
|
|
659
1092
|
*/
|
|
660
|
-
|
|
1093
|
+
body: string;
|
|
1094
|
+
};
|
|
1095
|
+
export type TicketMessage = {
|
|
661
1096
|
/**
|
|
662
|
-
*
|
|
1097
|
+
* Unique identifier of the message (Mongo ObjectId).
|
|
663
1098
|
*/
|
|
664
|
-
|
|
1099
|
+
id: string;
|
|
665
1100
|
/**
|
|
666
|
-
*
|
|
1101
|
+
* Message type. Internal notes are filtered out of customer-facing responses.
|
|
667
1102
|
*/
|
|
668
|
-
|
|
1103
|
+
type: 'customer_reply' | 'agent_reply';
|
|
669
1104
|
/**
|
|
670
|
-
*
|
|
1105
|
+
* Message body in markdown.
|
|
671
1106
|
*/
|
|
672
|
-
|
|
1107
|
+
body: string;
|
|
673
1108
|
/**
|
|
674
|
-
*
|
|
1109
|
+
* First name of the author. Null when not provided.
|
|
675
1110
|
*/
|
|
676
|
-
|
|
1111
|
+
author_first_name?: string;
|
|
677
1112
|
/**
|
|
678
|
-
*
|
|
1113
|
+
* Last name of the author. Null when not provided.
|
|
679
1114
|
*/
|
|
680
|
-
|
|
1115
|
+
author_last_name?: string;
|
|
681
1116
|
/**
|
|
682
|
-
*
|
|
1117
|
+
* Attachments associated with this message.
|
|
683
1118
|
*/
|
|
684
|
-
|
|
685
|
-
version_channels: Array<string>;
|
|
686
|
-
value_schemas: Array<{
|
|
1119
|
+
attachments?: Array<{
|
|
687
1120
|
/**
|
|
688
|
-
*
|
|
1121
|
+
* Unique identifier of the attachment (Mongo ObjectId).
|
|
689
1122
|
*/
|
|
690
|
-
|
|
1123
|
+
id: string;
|
|
1124
|
+
/**
|
|
1125
|
+
* Original filename as uploaded.
|
|
1126
|
+
*/
|
|
1127
|
+
filename: string;
|
|
691
1128
|
/**
|
|
692
|
-
*
|
|
1129
|
+
* MIME content type of the attachment.
|
|
693
1130
|
*/
|
|
694
|
-
|
|
1131
|
+
content_type: string;
|
|
695
1132
|
/**
|
|
696
|
-
*
|
|
1133
|
+
* Size of the attachment in bytes.
|
|
697
1134
|
*/
|
|
698
|
-
|
|
1135
|
+
size: number;
|
|
699
1136
|
}>;
|
|
700
|
-
};
|
|
701
|
-
export type OrganizationCreateInput = {
|
|
702
1137
|
/**
|
|
703
|
-
*
|
|
1138
|
+
* Creation date of the message. ISO 8601 UTC.
|
|
704
1139
|
*/
|
|
705
|
-
|
|
1140
|
+
date_created: string;
|
|
1141
|
+
};
|
|
1142
|
+
export type Ticket = {
|
|
706
1143
|
/**
|
|
707
|
-
*
|
|
1144
|
+
* Unique identifier of the ticket (Mongo ObjectId).
|
|
708
1145
|
*/
|
|
709
|
-
|
|
1146
|
+
id: string;
|
|
710
1147
|
/**
|
|
711
|
-
*
|
|
1148
|
+
* Current state of the ticket.
|
|
712
1149
|
*/
|
|
713
|
-
|
|
1150
|
+
status: 'waiting_on_us' | 'waiting_on_user' | 'closed';
|
|
714
1151
|
/**
|
|
715
|
-
*
|
|
1152
|
+
* Ticket category.
|
|
716
1153
|
*/
|
|
717
|
-
|
|
1154
|
+
category: 'billing' | 'technical' | 'general';
|
|
718
1155
|
/**
|
|
719
|
-
*
|
|
1156
|
+
* First 128 characters of the initial message body, with markdown formatting and newlines stripped. Used for ticket list previews.
|
|
720
1157
|
*/
|
|
721
|
-
|
|
722
|
-
};
|
|
723
|
-
export type Organization = {
|
|
1158
|
+
summary: string;
|
|
724
1159
|
/**
|
|
725
|
-
*
|
|
1160
|
+
* Closure timestamp. Null while the ticket is open.
|
|
726
1161
|
*/
|
|
727
|
-
|
|
1162
|
+
closed_at?: string;
|
|
728
1163
|
/**
|
|
729
|
-
*
|
|
1164
|
+
* Creation date of the ticket. ISO 8601 UTC.
|
|
730
1165
|
*/
|
|
731
|
-
|
|
1166
|
+
date_created: string;
|
|
732
1167
|
/**
|
|
733
|
-
*
|
|
1168
|
+
* Last update date of the ticket. ISO 8601 UTC.
|
|
734
1169
|
*/
|
|
735
|
-
|
|
1170
|
+
date_updated: string;
|
|
736
1171
|
/**
|
|
737
|
-
*
|
|
1172
|
+
* Messages on the ticket in chronological order. Internal notes are excluded. Returned by the detail endpoint only.
|
|
738
1173
|
*/
|
|
739
|
-
|
|
1174
|
+
messages?: Array<{
|
|
740
1175
|
/**
|
|
741
|
-
*
|
|
1176
|
+
* Unique identifier of the message (Mongo ObjectId).
|
|
742
1177
|
*/
|
|
743
|
-
|
|
744
|
-
/**
|
|
745
|
-
* Available number of Basic clusters that can be created.
|
|
746
|
-
*/
|
|
747
|
-
basic_clusters_available: number;
|
|
748
|
-
/**
|
|
749
|
-
* Maximum number of Pro clusters that can be created.
|
|
750
|
-
*/
|
|
751
|
-
pro_clusters_max: number;
|
|
1178
|
+
id: string;
|
|
752
1179
|
/**
|
|
753
|
-
*
|
|
1180
|
+
* Message type. Internal notes are filtered out of customer-facing responses.
|
|
754
1181
|
*/
|
|
755
|
-
|
|
1182
|
+
type: 'customer_reply' | 'agent_reply';
|
|
756
1183
|
/**
|
|
757
|
-
*
|
|
1184
|
+
* Message body in markdown.
|
|
758
1185
|
*/
|
|
759
|
-
|
|
1186
|
+
body: string;
|
|
760
1187
|
/**
|
|
761
|
-
*
|
|
1188
|
+
* First name of the author. Null when not provided.
|
|
762
1189
|
*/
|
|
763
|
-
|
|
1190
|
+
author_first_name?: string;
|
|
764
1191
|
/**
|
|
765
|
-
*
|
|
1192
|
+
* Last name of the author. Null when not provided.
|
|
766
1193
|
*/
|
|
767
|
-
|
|
1194
|
+
author_last_name?: string;
|
|
768
1195
|
/**
|
|
769
|
-
*
|
|
1196
|
+
* Attachments associated with this message.
|
|
770
1197
|
*/
|
|
771
|
-
|
|
1198
|
+
attachments?: Array<{
|
|
772
1199
|
/**
|
|
773
|
-
*
|
|
1200
|
+
* Unique identifier of the attachment (Mongo ObjectId).
|
|
774
1201
|
*/
|
|
775
1202
|
id: string;
|
|
776
1203
|
/**
|
|
777
|
-
*
|
|
1204
|
+
* Original filename as uploaded.
|
|
778
1205
|
*/
|
|
779
|
-
|
|
1206
|
+
filename: string;
|
|
1207
|
+
/**
|
|
1208
|
+
* MIME content type of the attachment.
|
|
1209
|
+
*/
|
|
1210
|
+
content_type: string;
|
|
1211
|
+
/**
|
|
1212
|
+
* Size of the attachment in bytes.
|
|
1213
|
+
*/
|
|
1214
|
+
size: number;
|
|
780
1215
|
}>;
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
};
|
|
787
|
-
export type PaymentMethod = {
|
|
788
|
-
/**
|
|
789
|
-
* Unique identifier of the organization. UUID v4 string in canonical form.
|
|
790
|
-
*/
|
|
791
|
-
id: string;
|
|
792
|
-
/**
|
|
793
|
-
* Whether organization payment method was set up and ready to use for payments.
|
|
794
|
-
*/
|
|
795
|
-
setup: boolean;
|
|
796
|
-
/**
|
|
797
|
-
* Payment method type type. Only `card` payments supported at the moment.
|
|
798
|
-
*/
|
|
799
|
-
type: 'card';
|
|
800
|
-
/**
|
|
801
|
-
* Last 4 digits of the payment card number.
|
|
802
|
-
*/
|
|
803
|
-
last4: string;
|
|
804
|
-
/**
|
|
805
|
-
* Two-digit number representing the card's expiration month.
|
|
806
|
-
*/
|
|
807
|
-
exp_month: number;
|
|
808
|
-
/**
|
|
809
|
-
* Four-digit number representing the card's expiration year.
|
|
810
|
-
*/
|
|
811
|
-
exp_year: number;
|
|
812
|
-
/**
|
|
813
|
-
* Payment card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `mastercard`, `unionpay`, `visa`, or `unknown`.
|
|
814
|
-
*/
|
|
815
|
-
brand: 'amex' | 'diners' | 'discover' | 'eftpos_au' | 'jcb' | 'mastercard' | 'unionpay' | 'visa' | 'unknown';
|
|
1216
|
+
/**
|
|
1217
|
+
* Creation date of the message. ISO 8601 UTC.
|
|
1218
|
+
*/
|
|
1219
|
+
date_created: string;
|
|
1220
|
+
}>;
|
|
816
1221
|
};
|
|
817
1222
|
export type TokenCreateInput = {
|
|
818
1223
|
/**
|
|
@@ -856,35 +1261,85 @@ export type TokenUpdateInput = {
|
|
|
856
1261
|
*/
|
|
857
1262
|
role?: 'Administrator' | 'User';
|
|
858
1263
|
};
|
|
1264
|
+
export type UsageFacets = {
|
|
1265
|
+
/**
|
|
1266
|
+
* List of unique cluster IDs
|
|
1267
|
+
*/
|
|
1268
|
+
cluster_id?: Array<string>;
|
|
1269
|
+
/**
|
|
1270
|
+
* List of unique products
|
|
1271
|
+
*/
|
|
1272
|
+
product?: Array<string>;
|
|
1273
|
+
};
|
|
1274
|
+
export type UsageResponse = {
|
|
1275
|
+
/**
|
|
1276
|
+
* Usage data
|
|
1277
|
+
*/
|
|
1278
|
+
data: Array<{
|
|
1279
|
+
/**
|
|
1280
|
+
* Hour of the usage
|
|
1281
|
+
*/
|
|
1282
|
+
hour: string;
|
|
1283
|
+
/**
|
|
1284
|
+
* Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
|
|
1285
|
+
*/
|
|
1286
|
+
cluster_id: string;
|
|
1287
|
+
/**
|
|
1288
|
+
* The product the usage is associated with
|
|
1289
|
+
*/
|
|
1290
|
+
product: string;
|
|
1291
|
+
/**
|
|
1292
|
+
* Consumption
|
|
1293
|
+
*/
|
|
1294
|
+
value: number;
|
|
1295
|
+
/**
|
|
1296
|
+
* Price per unit
|
|
1297
|
+
*/
|
|
1298
|
+
price: number;
|
|
1299
|
+
/**
|
|
1300
|
+
* Total cost
|
|
1301
|
+
*/
|
|
1302
|
+
total: number;
|
|
1303
|
+
}>;
|
|
1304
|
+
/**
|
|
1305
|
+
* Facets for filtering
|
|
1306
|
+
*/
|
|
1307
|
+
facets: {
|
|
1308
|
+
/**
|
|
1309
|
+
* List of unique cluster IDs
|
|
1310
|
+
*/
|
|
1311
|
+
cluster_id?: Array<string>;
|
|
1312
|
+
/**
|
|
1313
|
+
* List of unique products
|
|
1314
|
+
*/
|
|
1315
|
+
product?: Array<string>;
|
|
1316
|
+
};
|
|
1317
|
+
};
|
|
859
1318
|
export type Usage = {
|
|
860
1319
|
/**
|
|
861
1320
|
* Hour of the usage
|
|
862
1321
|
*/
|
|
863
|
-
hour
|
|
1322
|
+
hour: string;
|
|
864
1323
|
/**
|
|
865
1324
|
* Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
|
|
866
1325
|
*/
|
|
867
1326
|
cluster_id: string;
|
|
868
1327
|
/**
|
|
869
|
-
*
|
|
1328
|
+
* The product the usage is associated with
|
|
870
1329
|
*/
|
|
871
|
-
|
|
1330
|
+
product: string;
|
|
872
1331
|
/**
|
|
873
|
-
*
|
|
1332
|
+
* Consumption
|
|
874
1333
|
*/
|
|
875
|
-
|
|
1334
|
+
value: number;
|
|
876
1335
|
/**
|
|
877
|
-
*
|
|
1336
|
+
* Price per unit
|
|
878
1337
|
*/
|
|
879
|
-
|
|
1338
|
+
price: number;
|
|
880
1339
|
/**
|
|
881
|
-
*
|
|
1340
|
+
* Total cost
|
|
882
1341
|
*/
|
|
883
|
-
|
|
884
|
-
cpu: number | '';
|
|
885
|
-
price: number | '';
|
|
886
|
-
value: number | '';
|
|
887
|
-
total: number | '';
|
|
1342
|
+
total: number;
|
|
888
1343
|
};
|
|
889
1344
|
export type UserCreateInput = {
|
|
890
1345
|
/**
|
|
@@ -971,7 +1426,12 @@ export type UserUpdateInput = {
|
|
|
971
1426
|
export type GetUsageData = {
|
|
972
1427
|
body?: never;
|
|
973
1428
|
path?: never;
|
|
974
|
-
query?:
|
|
1429
|
+
query?: {
|
|
1430
|
+
/**
|
|
1431
|
+
* 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)
|
|
1432
|
+
*/
|
|
1433
|
+
granularity?: 'hourly' | 'daily' | 'monthly';
|
|
1434
|
+
};
|
|
975
1435
|
url: '/billing/usage';
|
|
976
1436
|
};
|
|
977
1437
|
export type GetUsageErrors = {
|
|
@@ -982,75 +1442,121 @@ export type GetUsageErrors = {
|
|
|
982
1442
|
};
|
|
983
1443
|
export type GetUsageResponses = {
|
|
984
1444
|
/**
|
|
985
|
-
*
|
|
1445
|
+
* Usage data with facets for filtering
|
|
986
1446
|
*/
|
|
987
|
-
200:
|
|
1447
|
+
200: UsageResponse;
|
|
988
1448
|
};
|
|
989
1449
|
export type GetUsageResponse = GetUsageResponses[keyof GetUsageResponses];
|
|
990
|
-
export type
|
|
1450
|
+
export type GetPaymentMethodSecretData = {
|
|
991
1451
|
body?: never;
|
|
992
1452
|
path?: never;
|
|
993
1453
|
query?: never;
|
|
994
|
-
url: '/billing/
|
|
1454
|
+
url: '/billing/payment-method';
|
|
995
1455
|
};
|
|
996
|
-
export type
|
|
1456
|
+
export type GetPaymentMethodSecretResponses = {
|
|
997
1457
|
/**
|
|
998
|
-
*
|
|
1458
|
+
* 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.
|
|
1459
|
+
*
|
|
999
1460
|
*/
|
|
1000
|
-
200:
|
|
1461
|
+
200: {
|
|
1462
|
+
/**
|
|
1463
|
+
* The client secret.
|
|
1464
|
+
*/
|
|
1465
|
+
id?: string;
|
|
1466
|
+
};
|
|
1001
1467
|
};
|
|
1002
|
-
export type
|
|
1003
|
-
export type
|
|
1468
|
+
export type GetPaymentMethodSecretResponse = GetPaymentMethodSecretResponses[keyof GetPaymentMethodSecretResponses];
|
|
1469
|
+
export type ListPaymentMethodsData = {
|
|
1004
1470
|
body?: never;
|
|
1005
1471
|
path?: never;
|
|
1006
1472
|
query?: never;
|
|
1007
|
-
url: '/billing/payment-
|
|
1473
|
+
url: '/billing/payment-methods';
|
|
1008
1474
|
};
|
|
1009
|
-
export type
|
|
1475
|
+
export type ListPaymentMethodsErrors = {
|
|
1010
1476
|
/**
|
|
1011
|
-
*
|
|
1477
|
+
* Not authenticated
|
|
1012
1478
|
*/
|
|
1013
|
-
|
|
1479
|
+
401: unknown;
|
|
1014
1480
|
};
|
|
1015
|
-
export type
|
|
1481
|
+
export type ListPaymentMethodsResponses = {
|
|
1016
1482
|
/**
|
|
1017
|
-
*
|
|
1483
|
+
* An array of payment methods.
|
|
1018
1484
|
*/
|
|
1019
|
-
200: PaymentMethod
|
|
1485
|
+
200: Array<PaymentMethod>;
|
|
1020
1486
|
};
|
|
1021
|
-
export type
|
|
1022
|
-
export type
|
|
1487
|
+
export type ListPaymentMethodsResponse = ListPaymentMethodsResponses[keyof ListPaymentMethodsResponses];
|
|
1488
|
+
export type SetDefaultPaymentMethodData = {
|
|
1023
1489
|
body?: never;
|
|
1024
|
-
path
|
|
1490
|
+
path: {
|
|
1491
|
+
/**
|
|
1492
|
+
* Stripe payment method identifier.
|
|
1493
|
+
*/
|
|
1494
|
+
paymentMethodId: string;
|
|
1495
|
+
};
|
|
1025
1496
|
query?: never;
|
|
1026
|
-
url: '/billing/payment-
|
|
1497
|
+
url: '/billing/payment-methods/{paymentMethodId}/default';
|
|
1027
1498
|
};
|
|
1028
|
-
export type
|
|
1499
|
+
export type SetDefaultPaymentMethodErrors = {
|
|
1029
1500
|
/**
|
|
1030
|
-
* The
|
|
1031
|
-
*
|
|
1501
|
+
* The bank transfer payment method cannot be set as the default.
|
|
1032
1502
|
*/
|
|
1033
|
-
|
|
1503
|
+
400: unknown;
|
|
1504
|
+
/**
|
|
1505
|
+
* Not authenticated
|
|
1506
|
+
*/
|
|
1507
|
+
401: unknown;
|
|
1508
|
+
/**
|
|
1509
|
+
* Payment method not found.
|
|
1510
|
+
*/
|
|
1511
|
+
404: unknown;
|
|
1512
|
+
};
|
|
1513
|
+
export type SetDefaultPaymentMethodResponses = {
|
|
1514
|
+
/**
|
|
1515
|
+
* Default payment method updated.
|
|
1516
|
+
*/
|
|
1517
|
+
204: void;
|
|
1518
|
+
};
|
|
1519
|
+
export type SetDefaultPaymentMethodResponse = SetDefaultPaymentMethodResponses[keyof SetDefaultPaymentMethodResponses];
|
|
1520
|
+
export type DeletePaymentMethodData = {
|
|
1521
|
+
body?: never;
|
|
1522
|
+
path: {
|
|
1034
1523
|
/**
|
|
1035
|
-
*
|
|
1524
|
+
* Stripe payment method identifier.
|
|
1036
1525
|
*/
|
|
1037
|
-
|
|
1526
|
+
paymentMethodId: string;
|
|
1038
1527
|
};
|
|
1528
|
+
query?: never;
|
|
1529
|
+
url: '/billing/payment-methods/{paymentMethodId}';
|
|
1039
1530
|
};
|
|
1040
|
-
export type
|
|
1531
|
+
export type DeletePaymentMethodErrors = {
|
|
1532
|
+
/**
|
|
1533
|
+
* The bank transfer payment method cannot be removed.
|
|
1534
|
+
*/
|
|
1535
|
+
400: unknown;
|
|
1536
|
+
/**
|
|
1537
|
+
* Not authenticated
|
|
1538
|
+
*/
|
|
1539
|
+
401: unknown;
|
|
1540
|
+
/**
|
|
1541
|
+
* Payment method not found.
|
|
1542
|
+
*/
|
|
1543
|
+
404: unknown;
|
|
1544
|
+
/**
|
|
1545
|
+
* Cannot delete the only remaining payment method.
|
|
1546
|
+
*/
|
|
1547
|
+
409: unknown;
|
|
1548
|
+
};
|
|
1549
|
+
export type DeletePaymentMethodResponses = {
|
|
1550
|
+
/**
|
|
1551
|
+
* Payment method deleted.
|
|
1552
|
+
*/
|
|
1553
|
+
204: void;
|
|
1554
|
+
};
|
|
1555
|
+
export type DeletePaymentMethodResponse = DeletePaymentMethodResponses[keyof DeletePaymentMethodResponses];
|
|
1041
1556
|
export type ListInvoicesData = {
|
|
1042
1557
|
body?: never;
|
|
1043
1558
|
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
|
-
};
|
|
1559
|
+
query?: never;
|
|
1054
1560
|
url: '/billing/invoices';
|
|
1055
1561
|
};
|
|
1056
1562
|
export type ListInvoicesErrors = {
|
|
@@ -1066,26 +1572,6 @@ export type ListInvoicesResponses = {
|
|
|
1066
1572
|
200: Array<Invoice>;
|
|
1067
1573
|
};
|
|
1068
1574
|
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
1575
|
export type GetContactData = {
|
|
1090
1576
|
body?: never;
|
|
1091
1577
|
path?: never;
|
|
@@ -1521,7 +2007,7 @@ export type GetJoinInformationResponses = {
|
|
|
1521
2007
|
/**
|
|
1522
2008
|
* An object of cluster join information
|
|
1523
2009
|
*/
|
|
1524
|
-
200:
|
|
2010
|
+
200: ClusterJoinInformation;
|
|
1525
2011
|
};
|
|
1526
2012
|
export type GetJoinInformationResponse = GetJoinInformationResponses[keyof GetJoinInformationResponses];
|
|
1527
2013
|
export type ListInvitesData = {
|
|
@@ -1615,24 +2101,76 @@ export type ListMarketplaceChartsResponses = {
|
|
|
1615
2101
|
200: Array<MarketplaceListing>;
|
|
1616
2102
|
};
|
|
1617
2103
|
export type ListMarketplaceChartsResponse = ListMarketplaceChartsResponses[keyof ListMarketplaceChartsResponses];
|
|
1618
|
-
export type
|
|
2104
|
+
export type GetMarketplaceChartFilesData = {
|
|
1619
2105
|
body?: never;
|
|
1620
2106
|
path: {
|
|
1621
2107
|
/**
|
|
1622
|
-
*
|
|
2108
|
+
* Name of the chart in the marketplace.
|
|
2109
|
+
*/
|
|
2110
|
+
chart_name: string;
|
|
2111
|
+
/**
|
|
2112
|
+
* 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).
|
|
2113
|
+
*/
|
|
2114
|
+
version_channel: string;
|
|
2115
|
+
};
|
|
2116
|
+
query?: never;
|
|
2117
|
+
url: '/marketplace/{chart_name}/files/{version_channel}';
|
|
2118
|
+
};
|
|
2119
|
+
export type GetMarketplaceChartFilesErrors = {
|
|
2120
|
+
/**
|
|
2121
|
+
* Chart not found or no version matches the channel
|
|
2122
|
+
*/
|
|
2123
|
+
404: unknown;
|
|
2124
|
+
};
|
|
2125
|
+
export type GetMarketplaceChartFilesResponses = {
|
|
2126
|
+
/**
|
|
2127
|
+
* Returns an object containing the chart files for the latest matching version.
|
|
2128
|
+
*/
|
|
2129
|
+
200: MarketplaceListingFiles;
|
|
2130
|
+
};
|
|
2131
|
+
export type GetMarketplaceChartFilesResponse = GetMarketplaceChartFilesResponses[keyof GetMarketplaceChartFilesResponses];
|
|
2132
|
+
export type PostMcpData = {
|
|
2133
|
+
/**
|
|
2134
|
+
* JSON-RPC 2.0 request payload
|
|
2135
|
+
*/
|
|
2136
|
+
body: {
|
|
2137
|
+
jsonrpc?: string;
|
|
2138
|
+
method?: string;
|
|
2139
|
+
id?: string | number;
|
|
2140
|
+
/**
|
|
2141
|
+
* Method-specific parameters
|
|
1623
2142
|
*/
|
|
1624
|
-
|
|
2143
|
+
params?: {
|
|
2144
|
+
[key: string]: unknown;
|
|
2145
|
+
};
|
|
1625
2146
|
};
|
|
2147
|
+
path?: never;
|
|
1626
2148
|
query?: never;
|
|
1627
|
-
url: '/
|
|
2149
|
+
url: '/mcp';
|
|
1628
2150
|
};
|
|
1629
|
-
export type
|
|
2151
|
+
export type PostMcpErrors = {
|
|
1630
2152
|
/**
|
|
1631
|
-
*
|
|
2153
|
+
* Not authenticated
|
|
2154
|
+
*/
|
|
2155
|
+
401: unknown;
|
|
2156
|
+
};
|
|
2157
|
+
export type PostMcpResponses = {
|
|
2158
|
+
/**
|
|
2159
|
+
* JSON-RPC 2.0 success or error response
|
|
1632
2160
|
*/
|
|
1633
|
-
200:
|
|
2161
|
+
200: {
|
|
2162
|
+
jsonrpc?: string;
|
|
2163
|
+
id?: string | number;
|
|
2164
|
+
result?: {
|
|
2165
|
+
[key: string]: unknown;
|
|
2166
|
+
};
|
|
2167
|
+
error?: {
|
|
2168
|
+
code?: number;
|
|
2169
|
+
message?: string;
|
|
2170
|
+
};
|
|
2171
|
+
};
|
|
1634
2172
|
};
|
|
1635
|
-
export type
|
|
2173
|
+
export type PostMcpResponse = PostMcpResponses[keyof PostMcpResponses];
|
|
1636
2174
|
export type GetOrganizationData = {
|
|
1637
2175
|
body?: never;
|
|
1638
2176
|
path?: never;
|
|
@@ -1654,10 +2192,255 @@ export type CreateOrganizationData = {
|
|
|
1654
2192
|
};
|
|
1655
2193
|
export type CreateOrganizationResponses = {
|
|
1656
2194
|
/**
|
|
1657
|
-
*
|
|
2195
|
+
* Organization signup accepted. Returns the generated organization id immediately; provisioning (billing, Keycloak realm, user) continues asynchronously in the background.
|
|
2196
|
+
*
|
|
2197
|
+
*/
|
|
2198
|
+
200: OrganizationCreateOutput;
|
|
2199
|
+
};
|
|
2200
|
+
export type CreateOrganizationResponse = CreateOrganizationResponses[keyof CreateOrganizationResponses];
|
|
2201
|
+
export type ListRepositoriesData = {
|
|
2202
|
+
body?: never;
|
|
2203
|
+
path?: never;
|
|
2204
|
+
query?: never;
|
|
2205
|
+
url: '/registry';
|
|
2206
|
+
};
|
|
2207
|
+
export type ListRepositoriesErrors = {
|
|
2208
|
+
/**
|
|
2209
|
+
* Not authenticated
|
|
2210
|
+
*/
|
|
2211
|
+
401: unknown;
|
|
2212
|
+
/**
|
|
2213
|
+
* Internal server error
|
|
2214
|
+
*/
|
|
2215
|
+
500: unknown;
|
|
2216
|
+
};
|
|
2217
|
+
export type ListRepositoriesResponses = {
|
|
2218
|
+
/**
|
|
2219
|
+
* List of repositories
|
|
2220
|
+
*/
|
|
2221
|
+
200: Array<RegistryRepository>;
|
|
2222
|
+
};
|
|
2223
|
+
export type ListRepositoriesResponse = ListRepositoriesResponses[keyof ListRepositoriesResponses];
|
|
2224
|
+
export type ListTagsData = {
|
|
2225
|
+
body?: never;
|
|
2226
|
+
path: {
|
|
2227
|
+
/**
|
|
2228
|
+
* Region where the repository is located
|
|
2229
|
+
*/
|
|
2230
|
+
region: string;
|
|
2231
|
+
/**
|
|
2232
|
+
* Name of the repository
|
|
2233
|
+
*/
|
|
2234
|
+
repository: string;
|
|
2235
|
+
};
|
|
2236
|
+
query?: never;
|
|
2237
|
+
url: '/registry/{region}/{repository}';
|
|
2238
|
+
};
|
|
2239
|
+
export type ListTagsErrors = {
|
|
2240
|
+
/**
|
|
2241
|
+
* Not authenticated
|
|
2242
|
+
*/
|
|
2243
|
+
401: unknown;
|
|
2244
|
+
/**
|
|
2245
|
+
* Repository not found
|
|
2246
|
+
*/
|
|
2247
|
+
404: unknown;
|
|
2248
|
+
/**
|
|
2249
|
+
* Internal server error
|
|
2250
|
+
*/
|
|
2251
|
+
500: unknown;
|
|
2252
|
+
};
|
|
2253
|
+
export type ListTagsResponses = {
|
|
2254
|
+
/**
|
|
2255
|
+
* Repository with tags
|
|
2256
|
+
*/
|
|
2257
|
+
200: RegistryRepositoryWithTags;
|
|
2258
|
+
};
|
|
2259
|
+
export type ListTagsResponse = ListTagsResponses[keyof ListTagsResponses];
|
|
2260
|
+
export type DeleteTagData = {
|
|
2261
|
+
body?: never;
|
|
2262
|
+
path: {
|
|
2263
|
+
/**
|
|
2264
|
+
* Region where the repository is located
|
|
2265
|
+
*/
|
|
2266
|
+
region: string;
|
|
2267
|
+
/**
|
|
2268
|
+
* Name of the repository
|
|
2269
|
+
*/
|
|
2270
|
+
repository: string;
|
|
2271
|
+
/**
|
|
2272
|
+
* Name of the tag
|
|
2273
|
+
*/
|
|
2274
|
+
tag: string;
|
|
2275
|
+
};
|
|
2276
|
+
query?: never;
|
|
2277
|
+
url: '/registry/{region}/{repository}/{tag}';
|
|
2278
|
+
};
|
|
2279
|
+
export type DeleteTagErrors = {
|
|
2280
|
+
/**
|
|
2281
|
+
* Not authenticated
|
|
2282
|
+
*/
|
|
2283
|
+
401: unknown;
|
|
2284
|
+
/**
|
|
2285
|
+
* Tag not found
|
|
2286
|
+
*/
|
|
2287
|
+
404: unknown;
|
|
2288
|
+
/**
|
|
2289
|
+
* Internal server error
|
|
2290
|
+
*/
|
|
2291
|
+
500: unknown;
|
|
2292
|
+
};
|
|
2293
|
+
export type DeleteTagResponses = {
|
|
2294
|
+
/**
|
|
2295
|
+
* Tag successfully deleted
|
|
1658
2296
|
*/
|
|
1659
2297
|
200: unknown;
|
|
1660
2298
|
};
|
|
2299
|
+
export type GetTagData = {
|
|
2300
|
+
body?: never;
|
|
2301
|
+
path: {
|
|
2302
|
+
/**
|
|
2303
|
+
* Region where the repository is located
|
|
2304
|
+
*/
|
|
2305
|
+
region: string;
|
|
2306
|
+
/**
|
|
2307
|
+
* Name of the repository
|
|
2308
|
+
*/
|
|
2309
|
+
repository: string;
|
|
2310
|
+
/**
|
|
2311
|
+
* Name of the tag
|
|
2312
|
+
*/
|
|
2313
|
+
tag: string;
|
|
2314
|
+
};
|
|
2315
|
+
query?: never;
|
|
2316
|
+
url: '/registry/{region}/{repository}/{tag}';
|
|
2317
|
+
};
|
|
2318
|
+
export type GetTagErrors = {
|
|
2319
|
+
/**
|
|
2320
|
+
* Not authenticated
|
|
2321
|
+
*/
|
|
2322
|
+
401: unknown;
|
|
2323
|
+
/**
|
|
2324
|
+
* Tag not found
|
|
2325
|
+
*/
|
|
2326
|
+
404: unknown;
|
|
2327
|
+
/**
|
|
2328
|
+
* Internal server error
|
|
2329
|
+
*/
|
|
2330
|
+
500: unknown;
|
|
2331
|
+
};
|
|
2332
|
+
export type GetTagResponses = {
|
|
2333
|
+
/**
|
|
2334
|
+
* Tag details
|
|
2335
|
+
*/
|
|
2336
|
+
200: RegistryTag;
|
|
2337
|
+
};
|
|
2338
|
+
export type GetTagResponse = GetTagResponses[keyof GetTagResponses];
|
|
2339
|
+
export type ListTicketsData = {
|
|
2340
|
+
body?: never;
|
|
2341
|
+
path?: never;
|
|
2342
|
+
query?: never;
|
|
2343
|
+
url: '/tickets';
|
|
2344
|
+
};
|
|
2345
|
+
export type ListTicketsResponses = {
|
|
2346
|
+
/**
|
|
2347
|
+
* Tickets for the organization.
|
|
2348
|
+
*/
|
|
2349
|
+
200: TicketListResponse;
|
|
2350
|
+
};
|
|
2351
|
+
export type ListTicketsResponse = ListTicketsResponses[keyof ListTicketsResponses];
|
|
2352
|
+
export type CreateTicketData = {
|
|
2353
|
+
body: {
|
|
2354
|
+
/**
|
|
2355
|
+
* JSON-encoded TicketCreateInput.
|
|
2356
|
+
*/
|
|
2357
|
+
payload?: string;
|
|
2358
|
+
attachments?: Array<Blob | File>;
|
|
2359
|
+
};
|
|
2360
|
+
path?: never;
|
|
2361
|
+
query?: never;
|
|
2362
|
+
url: '/tickets';
|
|
2363
|
+
};
|
|
2364
|
+
export type CreateTicketResponses = {
|
|
2365
|
+
/**
|
|
2366
|
+
* Ticket created.
|
|
2367
|
+
*/
|
|
2368
|
+
200: Ticket;
|
|
2369
|
+
};
|
|
2370
|
+
export type CreateTicketResponse = CreateTicketResponses[keyof CreateTicketResponses];
|
|
2371
|
+
export type CloseTicketData = {
|
|
2372
|
+
body?: never;
|
|
2373
|
+
path: {
|
|
2374
|
+
ticket_id: string;
|
|
2375
|
+
};
|
|
2376
|
+
query?: never;
|
|
2377
|
+
url: '/tickets/{ticket_id}';
|
|
2378
|
+
};
|
|
2379
|
+
export type CloseTicketResponses = {
|
|
2380
|
+
/**
|
|
2381
|
+
* Ticket closed.
|
|
2382
|
+
*/
|
|
2383
|
+
200: Ticket;
|
|
2384
|
+
};
|
|
2385
|
+
export type CloseTicketResponse = CloseTicketResponses[keyof CloseTicketResponses];
|
|
2386
|
+
export type GetTicketData = {
|
|
2387
|
+
body?: never;
|
|
2388
|
+
path: {
|
|
2389
|
+
ticket_id: string;
|
|
2390
|
+
};
|
|
2391
|
+
query?: never;
|
|
2392
|
+
url: '/tickets/{ticket_id}';
|
|
2393
|
+
};
|
|
2394
|
+
export type GetTicketResponses = {
|
|
2395
|
+
/**
|
|
2396
|
+
* Ticket with messages (internal notes excluded).
|
|
2397
|
+
*/
|
|
2398
|
+
200: Ticket;
|
|
2399
|
+
};
|
|
2400
|
+
export type GetTicketResponse = GetTicketResponses[keyof GetTicketResponses];
|
|
2401
|
+
export type ReplyTicketData = {
|
|
2402
|
+
body: {
|
|
2403
|
+
/**
|
|
2404
|
+
* JSON-encoded TicketMessageInput.
|
|
2405
|
+
*/
|
|
2406
|
+
payload?: string;
|
|
2407
|
+
attachments?: Array<Blob | File>;
|
|
2408
|
+
};
|
|
2409
|
+
path: {
|
|
2410
|
+
ticket_id: string;
|
|
2411
|
+
};
|
|
2412
|
+
query?: never;
|
|
2413
|
+
url: '/tickets/{ticket_id}/messages';
|
|
2414
|
+
};
|
|
2415
|
+
export type ReplyTicketErrors = {
|
|
2416
|
+
/**
|
|
2417
|
+
* Ticket is closed. Open a new ticket instead.
|
|
2418
|
+
*/
|
|
2419
|
+
409: unknown;
|
|
2420
|
+
};
|
|
2421
|
+
export type ReplyTicketResponses = {
|
|
2422
|
+
/**
|
|
2423
|
+
* Reply appended.
|
|
2424
|
+
*/
|
|
2425
|
+
200: TicketMessage;
|
|
2426
|
+
};
|
|
2427
|
+
export type ReplyTicketResponse = ReplyTicketResponses[keyof ReplyTicketResponses];
|
|
2428
|
+
export type GetTicketAttachmentData = {
|
|
2429
|
+
body?: never;
|
|
2430
|
+
path: {
|
|
2431
|
+
ticket_id: string;
|
|
2432
|
+
attachment_id: string;
|
|
2433
|
+
};
|
|
2434
|
+
query?: never;
|
|
2435
|
+
url: '/tickets/{ticket_id}/attachments/{attachment_id}';
|
|
2436
|
+
};
|
|
2437
|
+
export type GetTicketAttachmentResponses = {
|
|
2438
|
+
/**
|
|
2439
|
+
* Attachment binary stream.
|
|
2440
|
+
*/
|
|
2441
|
+
200: Blob | File;
|
|
2442
|
+
};
|
|
2443
|
+
export type GetTicketAttachmentResponse = GetTicketAttachmentResponses[keyof GetTicketAttachmentResponses];
|
|
1661
2444
|
export type ListTokensData = {
|
|
1662
2445
|
body?: never;
|
|
1663
2446
|
path?: never;
|
|
@@ -1914,7 +2697,4 @@ export type UpdateUserResponses = {
|
|
|
1914
2697
|
200: User;
|
|
1915
2698
|
};
|
|
1916
2699
|
export type UpdateUserResponse = UpdateUserResponses[keyof UpdateUserResponses];
|
|
1917
|
-
export type ClientOptions = {
|
|
1918
|
-
baseUrl: 'https://api.cloudfleet.ai/v1' | (string & {});
|
|
1919
|
-
};
|
|
1920
2700
|
//# sourceMappingURL=types.gen.d.ts.map
|