@cloudfleet/sdk 0.0.1-0010e2d → 0.0.1-028b8fa
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 +8 -7
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/index.js +6 -4
- package/dist/client/index.js.map +1 -1
- package/dist/client/{types.d.ts → types.gen.d.ts} +23 -22
- package/dist/client/types.gen.d.ts.map +1 -0
- package/dist/client/types.gen.js +3 -0
- package/dist/client/types.gen.js.map +1 -0
- package/dist/client/{utils.d.ts → utils.gen.d.ts} +15 -23
- package/dist/client/utils.gen.d.ts.map +1 -0
- package/dist/client/{utils.js → utils.gen.js} +63 -119
- package/dist/client/utils.gen.js.map +1 -0
- package/dist/client.gen.d.ts +3 -3
- package/dist/client.gen.d.ts.map +1 -1
- package/dist/client.gen.js +1 -3
- package/dist/client.gen.js.map +1 -1
- package/dist/core/{auth.d.ts → auth.gen.d.ts} +1 -1
- package/dist/core/auth.gen.d.ts.map +1 -0
- package/dist/core/{auth.js → auth.gen.js} +2 -1
- package/dist/core/auth.gen.js.map +1 -0
- package/dist/core/bodySerializer.gen.d.ts +26 -0
- package/dist/core/bodySerializer.gen.d.ts.map +1 -0
- package/dist/core/{bodySerializer.js → bodySerializer.gen.js} +6 -2
- package/dist/core/bodySerializer.gen.js.map +1 -0
- package/dist/core/{params.d.ts → params.gen.d.ts} +11 -1
- package/dist/core/params.gen.d.ts.map +1 -0
- package/dist/core/{params.js → params.gen.js} +20 -7
- package/dist/core/params.gen.js.map +1 -0
- package/dist/core/{pathSerializer.d.ts → pathSerializer.gen.d.ts} +1 -1
- package/dist/core/pathSerializer.gen.d.ts.map +1 -0
- package/dist/core/{pathSerializer.js → pathSerializer.gen.js} +5 -12
- package/dist/core/pathSerializer.gen.js.map +1 -0
- package/dist/core/queryKeySerializer.gen.d.ts +19 -0
- package/dist/core/queryKeySerializer.gen.d.ts.map +1 -0
- package/dist/core/queryKeySerializer.gen.js +93 -0
- package/dist/core/queryKeySerializer.gen.js.map +1 -0
- package/dist/core/serverSentEvents.gen.d.ts +72 -0
- package/dist/core/serverSentEvents.gen.d.ts.map +1 -0
- package/dist/core/serverSentEvents.gen.js +133 -0
- package/dist/core/serverSentEvents.gen.js.map +1 -0
- package/dist/core/{types.d.ts → types.gen.d.ts} +16 -16
- package/dist/core/types.gen.d.ts.map +1 -0
- package/dist/core/types.gen.js +3 -0
- package/dist/core/types.gen.js.map +1 -0
- package/dist/core/utils.gen.d.ts +20 -0
- package/dist/core/utils.gen.d.ts.map +1 -0
- package/dist/core/utils.gen.js +88 -0
- package/dist/core/utils.gen.js.map +1 -0
- package/dist/schemas.gen.d.ts +1343 -600
- package/dist/schemas.gen.d.ts.map +1 -1
- package/dist/schemas.gen.js +2670 -688
- package/dist/schemas.gen.js.map +1 -1
- package/dist/sdk.gen.d.ts +146 -22
- 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 +1146 -370
- package/dist/types.gen.d.ts.map +1 -1
- package/dist/zod.gen.d.ts +3557 -3615
- package/dist/zod.gen.d.ts.map +1 -1
- package/dist/zod.gen.js +1215 -1066
- package/dist/zod.gen.js.map +1 -1
- package/package.json +29 -6
- package/dist/client/client.d.ts +0 -3
- package/dist/client/client.d.ts.map +0 -1
- package/dist/client/client.js +0 -146
- package/dist/client/client.js.map +0 -1
- package/dist/client/types.d.ts.map +0 -1
- package/dist/client/types.js +0 -2
- package/dist/client/types.js.map +0 -1
- package/dist/client/utils.d.ts.map +0 -1
- package/dist/client/utils.js.map +0 -1
- package/dist/core/auth.d.ts.map +0 -1
- package/dist/core/auth.js.map +0 -1
- package/dist/core/bodySerializer.d.ts +0 -18
- package/dist/core/bodySerializer.d.ts.map +0 -1
- package/dist/core/bodySerializer.js.map +0 -1
- package/dist/core/params.d.ts.map +0 -1
- package/dist/core/params.js.map +0 -1
- package/dist/core/pathSerializer.d.ts.map +0 -1
- package/dist/core/pathSerializer.js.map +0 -1
- package/dist/core/types.d.ts.map +0 -1
- package/dist/core/types.js +0 -2
- package/dist/core/types.js.map +0 -1
package/dist/types.gen.d.ts
CHANGED
|
@@ -1,4 +1,11 @@
|
|
|
1
|
+
export type ClientOptions = {
|
|
2
|
+
baseUrl: 'https://api.cloudfleet.ai/v1' | (string & {});
|
|
3
|
+
};
|
|
1
4
|
export type BillingContact = {
|
|
5
|
+
/**
|
|
6
|
+
* Type of the organization. `business` for legal entities, `personal` for individuals.
|
|
7
|
+
*/
|
|
8
|
+
type: 'business' | 'personal';
|
|
2
9
|
/**
|
|
3
10
|
* Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
|
|
4
11
|
*/
|
|
@@ -36,13 +43,9 @@ export type BillingContact = {
|
|
|
36
43
|
*/
|
|
37
44
|
email: string;
|
|
38
45
|
/**
|
|
39
|
-
*
|
|
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
|
*/
|
|
@@ -248,13 +251,9 @@ export type Cluster = {
|
|
|
248
251
|
*/
|
|
249
252
|
tier: 'basic' | 'pro';
|
|
250
253
|
/**
|
|
251
|
-
* Cloudfleet control plane region. One of "staging", "northamerica-central-1", "europe-central-1a". This field can not be updated after creation.
|
|
254
|
+
* Cloudfleet control plane region. One of "staging-1a", "northamerica-central-1", "europe-central-1a", "northamerica-central-1a". This field can not be updated after creation.
|
|
252
255
|
*/
|
|
253
|
-
region?: 'staging' | 'northamerica-central-1' | 'europe-central-1a';
|
|
254
|
-
/**
|
|
255
|
-
* Version of the kubernetes cluster.
|
|
256
|
-
*/
|
|
257
|
-
version_channel?: string;
|
|
256
|
+
region?: 'staging-1a' | 'northamerica-central-1' | 'europe-central-1a' | 'northamerica-central-1a';
|
|
258
257
|
/**
|
|
259
258
|
* Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
|
|
260
259
|
*/
|
|
@@ -262,8 +261,9 @@ export type Cluster = {
|
|
|
262
261
|
/**
|
|
263
262
|
* Status of the cluster. When creating a new cluster, set to `active`. When deleting a clusters, set to `deleted`.
|
|
264
263
|
*/
|
|
265
|
-
status: 'active' | 'deleted' | 'creating' | 'deployed' | 'failed' | 'updating';
|
|
264
|
+
status: 'active' | 'disabled' | 'deleted' | 'creating' | 'deployed' | 'failed' | 'updating';
|
|
266
265
|
endpoint?: string | '';
|
|
266
|
+
endpoint_public?: string | '';
|
|
267
267
|
/**
|
|
268
268
|
* Certificate authority data for the kubernetes cluster. This is the root certificate authority for the cluster.
|
|
269
269
|
*/
|
|
@@ -284,6 +284,10 @@ export type Cluster = {
|
|
|
284
284
|
* Indicates if the cluster is ready to be used.
|
|
285
285
|
*/
|
|
286
286
|
ready?: boolean;
|
|
287
|
+
/**
|
|
288
|
+
* Version of the kubernetes cluster.
|
|
289
|
+
*/
|
|
290
|
+
version_channel?: string;
|
|
287
291
|
};
|
|
288
292
|
export type ClusterUpdateInput = {
|
|
289
293
|
/**
|
|
@@ -305,31 +309,56 @@ export type FleetCreateInput = {
|
|
|
305
309
|
*/
|
|
306
310
|
limits?: {
|
|
307
311
|
/**
|
|
308
|
-
* CPU limit in cores.
|
|
312
|
+
* CPU limit in cores. Maximum 100,000.
|
|
309
313
|
*/
|
|
310
|
-
cpu
|
|
314
|
+
cpu?: number;
|
|
311
315
|
};
|
|
312
316
|
gcp?: {
|
|
313
|
-
enabled
|
|
317
|
+
enabled: boolean;
|
|
314
318
|
/**
|
|
315
|
-
*
|
|
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.
|
|
316
320
|
*/
|
|
317
|
-
project
|
|
321
|
+
project?: string;
|
|
318
322
|
};
|
|
319
323
|
hetzner?: {
|
|
320
|
-
enabled
|
|
324
|
+
enabled: boolean;
|
|
321
325
|
/**
|
|
322
|
-
* Hetzner Cloud API
|
|
326
|
+
* Hetzner Cloud API token with read / write access (64 alphanumeric characters). Omit this field to keep the existing value.
|
|
323
327
|
*/
|
|
324
|
-
apiKey
|
|
328
|
+
apiKey?: string;
|
|
325
329
|
};
|
|
326
330
|
aws?: {
|
|
327
|
-
enabled
|
|
331
|
+
enabled: boolean;
|
|
332
|
+
/**
|
|
333
|
+
* AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.
|
|
334
|
+
*/
|
|
335
|
+
controllerRoleArn?: string;
|
|
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?: {
|
|
328
341
|
/**
|
|
329
|
-
*
|
|
342
|
+
* Allowed values for `karpenter.sh/capacity-type`.
|
|
330
343
|
*/
|
|
331
|
-
|
|
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'>;
|
|
332
357
|
};
|
|
358
|
+
/**
|
|
359
|
+
* Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.
|
|
360
|
+
*/
|
|
361
|
+
scalingProfile?: 'aggressive' | 'conservative';
|
|
333
362
|
/**
|
|
334
363
|
* Unique identifier of the kubernetes fleet.
|
|
335
364
|
*/
|
|
@@ -341,31 +370,56 @@ export type Fleet = {
|
|
|
341
370
|
*/
|
|
342
371
|
limits?: {
|
|
343
372
|
/**
|
|
344
|
-
* CPU limit in cores.
|
|
373
|
+
* CPU limit in cores. Maximum 100,000.
|
|
345
374
|
*/
|
|
346
|
-
cpu
|
|
375
|
+
cpu?: number;
|
|
347
376
|
};
|
|
348
377
|
gcp?: {
|
|
349
|
-
enabled
|
|
378
|
+
enabled: boolean;
|
|
350
379
|
/**
|
|
351
|
-
*
|
|
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.
|
|
352
381
|
*/
|
|
353
|
-
project
|
|
382
|
+
project?: string;
|
|
354
383
|
};
|
|
355
384
|
hetzner?: {
|
|
356
|
-
enabled
|
|
385
|
+
enabled: boolean;
|
|
357
386
|
/**
|
|
358
|
-
* 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.
|
|
359
388
|
*/
|
|
360
|
-
apiKey
|
|
389
|
+
apiKey?: string;
|
|
361
390
|
};
|
|
362
391
|
aws?: {
|
|
363
|
-
enabled
|
|
392
|
+
enabled: boolean;
|
|
393
|
+
/**
|
|
394
|
+
* AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.
|
|
395
|
+
*/
|
|
396
|
+
controllerRoleArn?: string;
|
|
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'>;
|
|
364
414
|
/**
|
|
365
|
-
*
|
|
415
|
+
* Allowed values for `topology.kubernetes.io/region`.
|
|
366
416
|
*/
|
|
367
|
-
|
|
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'>;
|
|
368
418
|
};
|
|
419
|
+
/**
|
|
420
|
+
* Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.
|
|
421
|
+
*/
|
|
422
|
+
scalingProfile: 'aggressive' | 'conservative';
|
|
369
423
|
/**
|
|
370
424
|
* Unique identifier of the kubernetes fleet.
|
|
371
425
|
*/
|
|
@@ -377,31 +431,56 @@ export type FleetUpdateInput = {
|
|
|
377
431
|
*/
|
|
378
432
|
limits?: {
|
|
379
433
|
/**
|
|
380
|
-
* CPU limit in cores.
|
|
434
|
+
* CPU limit in cores. Maximum 100,000.
|
|
381
435
|
*/
|
|
382
|
-
cpu
|
|
436
|
+
cpu?: number;
|
|
383
437
|
};
|
|
384
438
|
gcp?: {
|
|
385
|
-
enabled
|
|
439
|
+
enabled: boolean;
|
|
386
440
|
/**
|
|
387
|
-
*
|
|
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.
|
|
388
442
|
*/
|
|
389
|
-
project
|
|
443
|
+
project?: string;
|
|
390
444
|
};
|
|
391
445
|
hetzner?: {
|
|
392
|
-
enabled
|
|
446
|
+
enabled: boolean;
|
|
393
447
|
/**
|
|
394
|
-
* Hetzner Cloud API
|
|
448
|
+
* Hetzner Cloud API token with read / write access (64 alphanumeric characters). Omit this field to keep the existing value.
|
|
395
449
|
*/
|
|
396
|
-
apiKey
|
|
450
|
+
apiKey?: string;
|
|
397
451
|
};
|
|
398
452
|
aws?: {
|
|
399
|
-
enabled
|
|
453
|
+
enabled: boolean;
|
|
400
454
|
/**
|
|
401
|
-
*
|
|
455
|
+
* AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.
|
|
402
456
|
*/
|
|
403
|
-
controllerRoleArn
|
|
457
|
+
controllerRoleArn?: string;
|
|
404
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';
|
|
405
484
|
};
|
|
406
485
|
export type Invite = {
|
|
407
486
|
/**
|
|
@@ -427,396 +506,718 @@ export type Invite = {
|
|
|
427
506
|
};
|
|
428
507
|
export type Invoice = {
|
|
429
508
|
/**
|
|
430
|
-
* Unique identifier of the invoice.
|
|
509
|
+
* Unique identifier of the invoice.
|
|
431
510
|
*/
|
|
432
511
|
id?: string;
|
|
433
|
-
|
|
434
|
-
* Unique identifier of the organization. UUID v4 string in canonical form
|
|
435
|
-
*/
|
|
436
|
-
organizationId?: string;
|
|
512
|
+
number?: string;
|
|
437
513
|
/**
|
|
438
514
|
* Status of the invoice
|
|
439
515
|
*/
|
|
440
|
-
status?:
|
|
516
|
+
status?: string;
|
|
441
517
|
/**
|
|
442
518
|
* Total amount of the invoice
|
|
443
519
|
*/
|
|
444
|
-
|
|
520
|
+
total?: number;
|
|
445
521
|
/**
|
|
446
522
|
* Currency of the invoice
|
|
447
523
|
*/
|
|
448
|
-
currency?:
|
|
524
|
+
currency?: string;
|
|
449
525
|
/**
|
|
450
|
-
*
|
|
526
|
+
* Timestamp when the invoice was issued. ISO 8601 date string in the UTC timezone.
|
|
451
527
|
*/
|
|
452
|
-
|
|
528
|
+
created: string;
|
|
453
529
|
/**
|
|
454
|
-
*
|
|
530
|
+
* Billing period start timestamp. ISO 8601 date string in the UTC timezone.
|
|
455
531
|
*/
|
|
456
|
-
|
|
532
|
+
period_start: string;
|
|
457
533
|
/**
|
|
458
|
-
*
|
|
534
|
+
* Billing period end timestamp. ISO 8601 date string in the UTC timezone.
|
|
459
535
|
*/
|
|
460
|
-
|
|
536
|
+
period_end: string;
|
|
537
|
+
invoice_pdf?: string;
|
|
538
|
+
};
|
|
539
|
+
export type MarketplaceListingFiles = {
|
|
461
540
|
/**
|
|
462
|
-
*
|
|
541
|
+
* Raw Chart.yaml content from the Helm chart
|
|
463
542
|
*/
|
|
464
|
-
|
|
543
|
+
chartYaml?: string;
|
|
465
544
|
/**
|
|
466
|
-
*
|
|
545
|
+
* Raw values.yaml content from the Helm chart
|
|
467
546
|
*/
|
|
468
|
-
|
|
547
|
+
valuesYaml?: string;
|
|
469
548
|
/**
|
|
470
|
-
*
|
|
549
|
+
* JSON schema for values.yaml as a string
|
|
471
550
|
*/
|
|
472
|
-
|
|
551
|
+
valuesSchemaJson?: string;
|
|
552
|
+
};
|
|
553
|
+
export type MarketplaceListing = {
|
|
554
|
+
/**
|
|
555
|
+
* Name of the chart
|
|
556
|
+
*/
|
|
557
|
+
name: string;
|
|
473
558
|
/**
|
|
474
|
-
*
|
|
559
|
+
* Available versions of the chart
|
|
475
560
|
*/
|
|
476
|
-
|
|
561
|
+
versions: Array<string>;
|
|
477
562
|
/**
|
|
478
|
-
*
|
|
563
|
+
* Version channels for the chart
|
|
479
564
|
*/
|
|
480
|
-
|
|
565
|
+
version_channels: Array<string>;
|
|
566
|
+
/**
|
|
567
|
+
* Latest version of the chart
|
|
568
|
+
*/
|
|
569
|
+
latestVersion: string;
|
|
570
|
+
/**
|
|
571
|
+
* Chart metadata
|
|
572
|
+
*/
|
|
573
|
+
metadata?: {
|
|
481
574
|
/**
|
|
482
|
-
*
|
|
575
|
+
* Chart name from metadata
|
|
483
576
|
*/
|
|
484
|
-
|
|
577
|
+
name: string;
|
|
485
578
|
/**
|
|
486
|
-
*
|
|
579
|
+
* Chart version from metadata
|
|
487
580
|
*/
|
|
488
|
-
|
|
581
|
+
version: string;
|
|
489
582
|
/**
|
|
490
|
-
*
|
|
583
|
+
* Chart description
|
|
491
584
|
*/
|
|
492
|
-
|
|
585
|
+
description?: string;
|
|
493
586
|
/**
|
|
494
|
-
*
|
|
587
|
+
* Application version
|
|
495
588
|
*/
|
|
496
|
-
|
|
589
|
+
appVersion?: string;
|
|
497
590
|
/**
|
|
498
|
-
*
|
|
591
|
+
* Helm API version
|
|
499
592
|
*/
|
|
500
|
-
|
|
593
|
+
apiVersion?: string;
|
|
501
594
|
/**
|
|
502
|
-
*
|
|
595
|
+
* Chart keywords
|
|
503
596
|
*/
|
|
504
|
-
|
|
597
|
+
keywords?: Array<string>;
|
|
505
598
|
/**
|
|
506
|
-
*
|
|
599
|
+
* Chart home URL
|
|
507
600
|
*/
|
|
508
|
-
|
|
601
|
+
home?: string;
|
|
509
602
|
/**
|
|
510
|
-
*
|
|
603
|
+
* A URL to an SVG or PNG image to be used as an icon
|
|
511
604
|
*/
|
|
512
|
-
|
|
605
|
+
icon?: string;
|
|
513
606
|
/**
|
|
514
|
-
*
|
|
607
|
+
* Chart source URLs
|
|
515
608
|
*/
|
|
516
|
-
|
|
609
|
+
sources?: Array<string>;
|
|
517
610
|
/**
|
|
518
|
-
*
|
|
611
|
+
* Chart maintainers
|
|
519
612
|
*/
|
|
520
|
-
|
|
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: {
|
|
521
678
|
/**
|
|
522
|
-
*
|
|
679
|
+
* Maximum number of Basic clusters that can be created.
|
|
523
680
|
*/
|
|
524
|
-
|
|
681
|
+
basic_clusters_max: number;
|
|
525
682
|
/**
|
|
526
|
-
*
|
|
683
|
+
* Available number of Basic clusters that can be created.
|
|
527
684
|
*/
|
|
528
|
-
|
|
685
|
+
basic_clusters_available: number;
|
|
529
686
|
/**
|
|
530
|
-
*
|
|
687
|
+
* Maximum number of Pro clusters that can be created.
|
|
531
688
|
*/
|
|
532
|
-
|
|
689
|
+
pro_clusters_max: number;
|
|
533
690
|
/**
|
|
534
|
-
*
|
|
691
|
+
* Available number of Pro clusters that can be created.
|
|
535
692
|
*/
|
|
536
|
-
|
|
693
|
+
pro_clusters_available: number;
|
|
537
694
|
/**
|
|
538
|
-
*
|
|
695
|
+
* Maximum number of fleets that can be created per cluster.
|
|
539
696
|
*/
|
|
540
|
-
|
|
697
|
+
fleets_max: number;
|
|
541
698
|
/**
|
|
542
|
-
*
|
|
699
|
+
* List of Cloudfleet cluster tiers available for the organization.
|
|
543
700
|
*/
|
|
544
|
-
|
|
701
|
+
cluster_tiers: Array<string>;
|
|
545
702
|
/**
|
|
546
|
-
*
|
|
703
|
+
* List of Cloudfleet control plane regions available for the organization.
|
|
547
704
|
*/
|
|
548
|
-
|
|
705
|
+
regions: Array<string>;
|
|
549
706
|
/**
|
|
550
|
-
*
|
|
707
|
+
* List of CFKE control plane versions available for the organization.
|
|
551
708
|
*/
|
|
552
|
-
|
|
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
|
+
}>;
|
|
553
719
|
/**
|
|
554
|
-
*
|
|
720
|
+
* Organization-level maximum CFCR storage volume in GB. -1 means no limit.
|
|
555
721
|
*/
|
|
556
|
-
|
|
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<{
|
|
557
808
|
/**
|
|
558
|
-
*
|
|
809
|
+
* Id of the control plane version. Used in API calls.
|
|
559
810
|
*/
|
|
560
|
-
|
|
811
|
+
id: string;
|
|
561
812
|
/**
|
|
562
|
-
*
|
|
813
|
+
* Label of the control plane version. Used in frontent UI.
|
|
563
814
|
*/
|
|
564
|
-
|
|
565
|
-
[key: string]: unknown;
|
|
566
|
-
} | string>;
|
|
815
|
+
label: string;
|
|
567
816
|
}>;
|
|
568
817
|
/**
|
|
569
|
-
*
|
|
818
|
+
* Organization-level maximum CFCR storage volume in GB. -1 means no limit.
|
|
570
819
|
*/
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
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<{
|
|
580
853
|
/**
|
|
581
|
-
*
|
|
854
|
+
* Tag name.
|
|
582
855
|
*/
|
|
583
|
-
|
|
856
|
+
name: string;
|
|
584
857
|
/**
|
|
585
|
-
*
|
|
858
|
+
* Size of the tag in bytes.
|
|
586
859
|
*/
|
|
587
|
-
|
|
860
|
+
size: number;
|
|
588
861
|
/**
|
|
589
|
-
*
|
|
862
|
+
* Media type of the manifest.
|
|
590
863
|
*/
|
|
591
|
-
|
|
864
|
+
mediaType?: string;
|
|
592
865
|
/**
|
|
593
|
-
*
|
|
866
|
+
* Array of platform strings for multi-arch images (e.g., linux/amd64, linux/arm64).
|
|
594
867
|
*/
|
|
595
|
-
|
|
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?: {
|
|
596
892
|
/**
|
|
597
|
-
*
|
|
893
|
+
* Size of the config in bytes.
|
|
598
894
|
*/
|
|
599
|
-
|
|
895
|
+
size: number;
|
|
896
|
+
};
|
|
897
|
+
/**
|
|
898
|
+
* Array of layer metadata.
|
|
899
|
+
*/
|
|
900
|
+
layers?: Array<{
|
|
600
901
|
/**
|
|
601
|
-
*
|
|
902
|
+
* Digest of the layer.
|
|
602
903
|
*/
|
|
603
|
-
|
|
904
|
+
digest?: string;
|
|
604
905
|
/**
|
|
605
|
-
*
|
|
906
|
+
* Size of the layer in bytes.
|
|
606
907
|
*/
|
|
607
|
-
|
|
908
|
+
size: number;
|
|
909
|
+
}>;
|
|
910
|
+
/**
|
|
911
|
+
* Array of manifests for multi-arch images.
|
|
912
|
+
*/
|
|
913
|
+
manifests?: Array<{
|
|
608
914
|
/**
|
|
609
|
-
*
|
|
915
|
+
* Digest of the manifest.
|
|
610
916
|
*/
|
|
611
|
-
|
|
917
|
+
digest: string;
|
|
612
918
|
/**
|
|
613
|
-
*
|
|
919
|
+
* Platform information for the manifest.
|
|
614
920
|
*/
|
|
615
|
-
|
|
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
|
+
};
|
|
616
935
|
/**
|
|
617
|
-
*
|
|
936
|
+
* Layers for this platform.
|
|
618
937
|
*/
|
|
619
|
-
|
|
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
|
+
}>;
|
|
620
948
|
/**
|
|
621
|
-
*
|
|
949
|
+
* Total size of this platform manifest in bytes.
|
|
622
950
|
*/
|
|
623
|
-
|
|
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<{
|
|
624
1009
|
/**
|
|
625
|
-
*
|
|
1010
|
+
* Unique identifier of the ticket (Mongo ObjectId).
|
|
626
1011
|
*/
|
|
627
|
-
|
|
1012
|
+
id: string;
|
|
628
1013
|
/**
|
|
629
|
-
*
|
|
1014
|
+
* Current state of the ticket.
|
|
630
1015
|
*/
|
|
631
|
-
|
|
1016
|
+
status: 'waiting_on_us' | 'waiting_on_user' | 'closed';
|
|
632
1017
|
/**
|
|
633
|
-
*
|
|
1018
|
+
* Ticket category.
|
|
634
1019
|
*/
|
|
635
|
-
|
|
1020
|
+
category: 'billing' | 'technical' | 'general';
|
|
636
1021
|
/**
|
|
637
|
-
*
|
|
1022
|
+
* First 128 characters of the initial message body, with markdown formatting and newlines stripped. Used for ticket list previews.
|
|
638
1023
|
*/
|
|
639
|
-
|
|
1024
|
+
summary: string;
|
|
640
1025
|
/**
|
|
641
|
-
*
|
|
1026
|
+
* Closure timestamp. Null while the ticket is open.
|
|
642
1027
|
*/
|
|
643
|
-
|
|
1028
|
+
closed_at?: string;
|
|
644
1029
|
/**
|
|
645
|
-
*
|
|
1030
|
+
* Creation date of the ticket. ISO 8601 UTC.
|
|
646
1031
|
*/
|
|
647
|
-
|
|
1032
|
+
date_created: string;
|
|
648
1033
|
/**
|
|
649
|
-
*
|
|
1034
|
+
* Last update date of the ticket. ISO 8601 UTC.
|
|
650
1035
|
*/
|
|
651
|
-
|
|
1036
|
+
date_updated: string;
|
|
652
1037
|
/**
|
|
653
|
-
*
|
|
1038
|
+
* Messages on the ticket in chronological order. Internal notes are excluded. Returned by the detail endpoint only.
|
|
654
1039
|
*/
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
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
|
+
}>;
|
|
658
1087
|
}>;
|
|
659
1088
|
};
|
|
660
|
-
export type
|
|
1089
|
+
export type TicketMessageInput = {
|
|
661
1090
|
/**
|
|
662
|
-
*
|
|
1091
|
+
* Reply body in markdown.
|
|
663
1092
|
*/
|
|
664
|
-
|
|
1093
|
+
body: string;
|
|
1094
|
+
};
|
|
1095
|
+
export type TicketMessage = {
|
|
665
1096
|
/**
|
|
666
|
-
*
|
|
1097
|
+
* Unique identifier of the message (Mongo ObjectId).
|
|
667
1098
|
*/
|
|
668
|
-
|
|
1099
|
+
id: string;
|
|
669
1100
|
/**
|
|
670
|
-
*
|
|
1101
|
+
* Message type. Internal notes are filtered out of customer-facing responses.
|
|
671
1102
|
*/
|
|
672
|
-
|
|
1103
|
+
type: 'customer_reply' | 'agent_reply';
|
|
673
1104
|
/**
|
|
674
|
-
*
|
|
1105
|
+
* Message body in markdown.
|
|
675
1106
|
*/
|
|
676
|
-
|
|
1107
|
+
body: string;
|
|
677
1108
|
/**
|
|
678
|
-
*
|
|
1109
|
+
* First name of the author. Null when not provided.
|
|
679
1110
|
*/
|
|
680
|
-
|
|
1111
|
+
author_first_name?: string;
|
|
681
1112
|
/**
|
|
682
|
-
*
|
|
1113
|
+
* Last name of the author. Null when not provided.
|
|
683
1114
|
*/
|
|
684
|
-
|
|
1115
|
+
author_last_name?: string;
|
|
685
1116
|
/**
|
|
686
|
-
*
|
|
1117
|
+
* Attachments associated with this message.
|
|
687
1118
|
*/
|
|
688
|
-
|
|
689
|
-
version_channels: Array<string>;
|
|
690
|
-
value_schemas: Array<{
|
|
1119
|
+
attachments?: Array<{
|
|
691
1120
|
/**
|
|
692
|
-
*
|
|
1121
|
+
* Unique identifier of the attachment (Mongo ObjectId).
|
|
693
1122
|
*/
|
|
694
|
-
|
|
1123
|
+
id: string;
|
|
1124
|
+
/**
|
|
1125
|
+
* Original filename as uploaded.
|
|
1126
|
+
*/
|
|
1127
|
+
filename: string;
|
|
695
1128
|
/**
|
|
696
|
-
*
|
|
1129
|
+
* MIME content type of the attachment.
|
|
697
1130
|
*/
|
|
698
|
-
|
|
1131
|
+
content_type: string;
|
|
699
1132
|
/**
|
|
700
|
-
*
|
|
1133
|
+
* Size of the attachment in bytes.
|
|
701
1134
|
*/
|
|
702
|
-
|
|
1135
|
+
size: number;
|
|
703
1136
|
}>;
|
|
704
|
-
};
|
|
705
|
-
export type OrganizationCreateInput = {
|
|
706
1137
|
/**
|
|
707
|
-
*
|
|
1138
|
+
* Creation date of the message. ISO 8601 UTC.
|
|
708
1139
|
*/
|
|
709
|
-
|
|
1140
|
+
date_created: string;
|
|
1141
|
+
};
|
|
1142
|
+
export type Ticket = {
|
|
710
1143
|
/**
|
|
711
|
-
*
|
|
1144
|
+
* Unique identifier of the ticket (Mongo ObjectId).
|
|
712
1145
|
*/
|
|
713
|
-
|
|
1146
|
+
id: string;
|
|
714
1147
|
/**
|
|
715
|
-
*
|
|
1148
|
+
* Current state of the ticket.
|
|
716
1149
|
*/
|
|
717
|
-
|
|
1150
|
+
status: 'waiting_on_us' | 'waiting_on_user' | 'closed';
|
|
718
1151
|
/**
|
|
719
|
-
*
|
|
1152
|
+
* Ticket category.
|
|
720
1153
|
*/
|
|
721
|
-
|
|
1154
|
+
category: 'billing' | 'technical' | 'general';
|
|
722
1155
|
/**
|
|
723
|
-
*
|
|
1156
|
+
* First 128 characters of the initial message body, with markdown formatting and newlines stripped. Used for ticket list previews.
|
|
724
1157
|
*/
|
|
725
|
-
|
|
726
|
-
};
|
|
727
|
-
export type Organization = {
|
|
1158
|
+
summary: string;
|
|
728
1159
|
/**
|
|
729
|
-
*
|
|
1160
|
+
* Closure timestamp. Null while the ticket is open.
|
|
730
1161
|
*/
|
|
731
|
-
|
|
1162
|
+
closed_at?: string;
|
|
732
1163
|
/**
|
|
733
|
-
*
|
|
1164
|
+
* Creation date of the ticket. ISO 8601 UTC.
|
|
734
1165
|
*/
|
|
735
|
-
|
|
1166
|
+
date_created: string;
|
|
736
1167
|
/**
|
|
737
|
-
*
|
|
1168
|
+
* Last update date of the ticket. ISO 8601 UTC.
|
|
738
1169
|
*/
|
|
739
|
-
|
|
1170
|
+
date_updated: string;
|
|
740
1171
|
/**
|
|
741
|
-
*
|
|
1172
|
+
* Messages on the ticket in chronological order. Internal notes are excluded. Returned by the detail endpoint only.
|
|
742
1173
|
*/
|
|
743
|
-
|
|
1174
|
+
messages?: Array<{
|
|
744
1175
|
/**
|
|
745
|
-
*
|
|
1176
|
+
* Unique identifier of the message (Mongo ObjectId).
|
|
746
1177
|
*/
|
|
747
|
-
|
|
748
|
-
/**
|
|
749
|
-
* Available number of Basic clusters that can be created.
|
|
750
|
-
*/
|
|
751
|
-
basic_clusters_available: number;
|
|
752
|
-
/**
|
|
753
|
-
* Maximum number of Pro clusters that can be created.
|
|
754
|
-
*/
|
|
755
|
-
pro_clusters_max: number;
|
|
1178
|
+
id: string;
|
|
756
1179
|
/**
|
|
757
|
-
*
|
|
1180
|
+
* Message type. Internal notes are filtered out of customer-facing responses.
|
|
758
1181
|
*/
|
|
759
|
-
|
|
1182
|
+
type: 'customer_reply' | 'agent_reply';
|
|
760
1183
|
/**
|
|
761
|
-
*
|
|
1184
|
+
* Message body in markdown.
|
|
762
1185
|
*/
|
|
763
|
-
|
|
1186
|
+
body: string;
|
|
764
1187
|
/**
|
|
765
|
-
*
|
|
1188
|
+
* First name of the author. Null when not provided.
|
|
766
1189
|
*/
|
|
767
|
-
|
|
1190
|
+
author_first_name?: string;
|
|
768
1191
|
/**
|
|
769
|
-
*
|
|
1192
|
+
* Last name of the author. Null when not provided.
|
|
770
1193
|
*/
|
|
771
|
-
|
|
1194
|
+
author_last_name?: string;
|
|
772
1195
|
/**
|
|
773
|
-
*
|
|
1196
|
+
* Attachments associated with this message.
|
|
774
1197
|
*/
|
|
775
|
-
|
|
1198
|
+
attachments?: Array<{
|
|
776
1199
|
/**
|
|
777
|
-
*
|
|
1200
|
+
* Unique identifier of the attachment (Mongo ObjectId).
|
|
778
1201
|
*/
|
|
779
1202
|
id: string;
|
|
780
1203
|
/**
|
|
781
|
-
*
|
|
1204
|
+
* Original filename as uploaded.
|
|
782
1205
|
*/
|
|
783
|
-
|
|
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;
|
|
784
1215
|
}>;
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
};
|
|
791
|
-
export type PaymentMethod = {
|
|
792
|
-
/**
|
|
793
|
-
* Unique identifier of the organization. UUID v4 string in canonical form.
|
|
794
|
-
*/
|
|
795
|
-
id: string;
|
|
796
|
-
/**
|
|
797
|
-
* Whether organization payment method was set up and ready to use for payments.
|
|
798
|
-
*/
|
|
799
|
-
setup: boolean;
|
|
800
|
-
/**
|
|
801
|
-
* Payment method type type. Only `card` payments supported at the moment.
|
|
802
|
-
*/
|
|
803
|
-
type: 'card';
|
|
804
|
-
/**
|
|
805
|
-
* Last 4 digits of the payment card number.
|
|
806
|
-
*/
|
|
807
|
-
last4: string;
|
|
808
|
-
/**
|
|
809
|
-
* Two-digit number representing the card's expiration month.
|
|
810
|
-
*/
|
|
811
|
-
exp_month: number;
|
|
812
|
-
/**
|
|
813
|
-
* Four-digit number representing the card's expiration year.
|
|
814
|
-
*/
|
|
815
|
-
exp_year: number;
|
|
816
|
-
/**
|
|
817
|
-
* Payment card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `mastercard`, `unionpay`, `visa`, or `unknown`.
|
|
818
|
-
*/
|
|
819
|
-
brand: 'amex' | 'diners' | 'discover' | 'eftpos_au' | 'jcb' | 'mastercard' | 'unionpay' | 'visa' | 'unknown';
|
|
1216
|
+
/**
|
|
1217
|
+
* Creation date of the message. ISO 8601 UTC.
|
|
1218
|
+
*/
|
|
1219
|
+
date_created: string;
|
|
1220
|
+
}>;
|
|
820
1221
|
};
|
|
821
1222
|
export type TokenCreateInput = {
|
|
822
1223
|
/**
|
|
@@ -860,35 +1261,85 @@ export type TokenUpdateInput = {
|
|
|
860
1261
|
*/
|
|
861
1262
|
role?: 'Administrator' | 'User';
|
|
862
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
|
+
};
|
|
863
1318
|
export type Usage = {
|
|
864
1319
|
/**
|
|
865
1320
|
* Hour of the usage
|
|
866
1321
|
*/
|
|
867
|
-
hour
|
|
1322
|
+
hour: string;
|
|
868
1323
|
/**
|
|
869
1324
|
* Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
|
|
870
1325
|
*/
|
|
871
1326
|
cluster_id: string;
|
|
872
1327
|
/**
|
|
873
|
-
*
|
|
1328
|
+
* The product the usage is associated with
|
|
874
1329
|
*/
|
|
875
|
-
|
|
1330
|
+
product: string;
|
|
876
1331
|
/**
|
|
877
|
-
*
|
|
1332
|
+
* Consumption
|
|
878
1333
|
*/
|
|
879
|
-
|
|
1334
|
+
value: number;
|
|
880
1335
|
/**
|
|
881
|
-
*
|
|
1336
|
+
* Price per unit
|
|
882
1337
|
*/
|
|
883
|
-
|
|
1338
|
+
price: number;
|
|
884
1339
|
/**
|
|
885
|
-
*
|
|
1340
|
+
* Total cost
|
|
886
1341
|
*/
|
|
887
|
-
|
|
888
|
-
cpu: number | '';
|
|
889
|
-
price: number | '';
|
|
890
|
-
value: number | '';
|
|
891
|
-
total: number | '';
|
|
1342
|
+
total: number;
|
|
892
1343
|
};
|
|
893
1344
|
export type UserCreateInput = {
|
|
894
1345
|
/**
|
|
@@ -975,7 +1426,12 @@ export type UserUpdateInput = {
|
|
|
975
1426
|
export type GetUsageData = {
|
|
976
1427
|
body?: never;
|
|
977
1428
|
path?: never;
|
|
978
|
-
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
|
+
};
|
|
979
1435
|
url: '/billing/usage';
|
|
980
1436
|
};
|
|
981
1437
|
export type GetUsageErrors = {
|
|
@@ -986,75 +1442,121 @@ export type GetUsageErrors = {
|
|
|
986
1442
|
};
|
|
987
1443
|
export type GetUsageResponses = {
|
|
988
1444
|
/**
|
|
989
|
-
*
|
|
1445
|
+
* Usage data with facets for filtering
|
|
990
1446
|
*/
|
|
991
|
-
200:
|
|
1447
|
+
200: UsageResponse;
|
|
992
1448
|
};
|
|
993
1449
|
export type GetUsageResponse = GetUsageResponses[keyof GetUsageResponses];
|
|
994
|
-
export type
|
|
1450
|
+
export type GetPaymentMethodSecretData = {
|
|
995
1451
|
body?: never;
|
|
996
1452
|
path?: never;
|
|
997
1453
|
query?: never;
|
|
998
|
-
url: '/billing/
|
|
1454
|
+
url: '/billing/payment-method';
|
|
999
1455
|
};
|
|
1000
|
-
export type
|
|
1456
|
+
export type GetPaymentMethodSecretResponses = {
|
|
1001
1457
|
/**
|
|
1002
|
-
*
|
|
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
|
+
*
|
|
1003
1460
|
*/
|
|
1004
|
-
200:
|
|
1461
|
+
200: {
|
|
1462
|
+
/**
|
|
1463
|
+
* The client secret.
|
|
1464
|
+
*/
|
|
1465
|
+
id?: string;
|
|
1466
|
+
};
|
|
1005
1467
|
};
|
|
1006
|
-
export type
|
|
1007
|
-
export type
|
|
1468
|
+
export type GetPaymentMethodSecretResponse = GetPaymentMethodSecretResponses[keyof GetPaymentMethodSecretResponses];
|
|
1469
|
+
export type ListPaymentMethodsData = {
|
|
1008
1470
|
body?: never;
|
|
1009
1471
|
path?: never;
|
|
1010
1472
|
query?: never;
|
|
1011
|
-
url: '/billing/payment-
|
|
1473
|
+
url: '/billing/payment-methods';
|
|
1012
1474
|
};
|
|
1013
|
-
export type
|
|
1475
|
+
export type ListPaymentMethodsErrors = {
|
|
1014
1476
|
/**
|
|
1015
|
-
*
|
|
1477
|
+
* Not authenticated
|
|
1016
1478
|
*/
|
|
1017
|
-
|
|
1479
|
+
401: unknown;
|
|
1018
1480
|
};
|
|
1019
|
-
export type
|
|
1481
|
+
export type ListPaymentMethodsResponses = {
|
|
1020
1482
|
/**
|
|
1021
|
-
*
|
|
1483
|
+
* An array of payment methods.
|
|
1022
1484
|
*/
|
|
1023
|
-
200: PaymentMethod
|
|
1485
|
+
200: Array<PaymentMethod>;
|
|
1024
1486
|
};
|
|
1025
|
-
export type
|
|
1026
|
-
export type
|
|
1487
|
+
export type ListPaymentMethodsResponse = ListPaymentMethodsResponses[keyof ListPaymentMethodsResponses];
|
|
1488
|
+
export type SetDefaultPaymentMethodData = {
|
|
1027
1489
|
body?: never;
|
|
1028
|
-
path
|
|
1490
|
+
path: {
|
|
1491
|
+
/**
|
|
1492
|
+
* Stripe payment method identifier.
|
|
1493
|
+
*/
|
|
1494
|
+
paymentMethodId: string;
|
|
1495
|
+
};
|
|
1029
1496
|
query?: never;
|
|
1030
|
-
url: '/billing/payment-
|
|
1497
|
+
url: '/billing/payment-methods/{paymentMethodId}/default';
|
|
1031
1498
|
};
|
|
1032
|
-
export type
|
|
1499
|
+
export type SetDefaultPaymentMethodErrors = {
|
|
1033
1500
|
/**
|
|
1034
|
-
* The
|
|
1035
|
-
*
|
|
1501
|
+
* The bank transfer payment method cannot be set as the default.
|
|
1036
1502
|
*/
|
|
1037
|
-
|
|
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: {
|
|
1038
1523
|
/**
|
|
1039
|
-
*
|
|
1524
|
+
* Stripe payment method identifier.
|
|
1040
1525
|
*/
|
|
1041
|
-
|
|
1526
|
+
paymentMethodId: string;
|
|
1042
1527
|
};
|
|
1528
|
+
query?: never;
|
|
1529
|
+
url: '/billing/payment-methods/{paymentMethodId}';
|
|
1043
1530
|
};
|
|
1044
|
-
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];
|
|
1045
1556
|
export type ListInvoicesData = {
|
|
1046
1557
|
body?: never;
|
|
1047
1558
|
path?: never;
|
|
1048
|
-
query
|
|
1049
|
-
/**
|
|
1050
|
-
* Start date for the usage. Date of oldest data point to retrieve.
|
|
1051
|
-
*/
|
|
1052
|
-
start_date: string;
|
|
1053
|
-
/**
|
|
1054
|
-
* End date for the usage. Date of newest data point to retrieve.
|
|
1055
|
-
*/
|
|
1056
|
-
end_date: string;
|
|
1057
|
-
};
|
|
1559
|
+
query?: never;
|
|
1058
1560
|
url: '/billing/invoices';
|
|
1059
1561
|
};
|
|
1060
1562
|
export type ListInvoicesErrors = {
|
|
@@ -1070,26 +1572,6 @@ export type ListInvoicesResponses = {
|
|
|
1070
1572
|
200: Array<Invoice>;
|
|
1071
1573
|
};
|
|
1072
1574
|
export type ListInvoicesResponse = ListInvoicesResponses[keyof ListInvoicesResponses];
|
|
1073
|
-
export type GetInvoiceData = {
|
|
1074
|
-
body?: never;
|
|
1075
|
-
path: {
|
|
1076
|
-
/**
|
|
1077
|
-
* Unique invoice identifier. UUID v4 string in canonical form
|
|
1078
|
-
*/
|
|
1079
|
-
id: string;
|
|
1080
|
-
};
|
|
1081
|
-
query?: never;
|
|
1082
|
-
url: '/billing/invoices/{id}';
|
|
1083
|
-
};
|
|
1084
|
-
export type GetInvoiceResponses = {
|
|
1085
|
-
/**
|
|
1086
|
-
* Returns a single Invoice HTML representation under `html` property.
|
|
1087
|
-
*/
|
|
1088
|
-
200: {
|
|
1089
|
-
html?: string;
|
|
1090
|
-
};
|
|
1091
|
-
};
|
|
1092
|
-
export type GetInvoiceResponse = GetInvoiceResponses[keyof GetInvoiceResponses];
|
|
1093
1575
|
export type GetContactData = {
|
|
1094
1576
|
body?: never;
|
|
1095
1577
|
path?: never;
|
|
@@ -1619,24 +2101,76 @@ export type ListMarketplaceChartsResponses = {
|
|
|
1619
2101
|
200: Array<MarketplaceListing>;
|
|
1620
2102
|
};
|
|
1621
2103
|
export type ListMarketplaceChartsResponse = ListMarketplaceChartsResponses[keyof ListMarketplaceChartsResponses];
|
|
1622
|
-
export type
|
|
2104
|
+
export type GetMarketplaceChartFilesData = {
|
|
1623
2105
|
body?: never;
|
|
1624
2106
|
path: {
|
|
1625
2107
|
/**
|
|
1626
|
-
*
|
|
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
|
|
1627
2142
|
*/
|
|
1628
|
-
|
|
2143
|
+
params?: {
|
|
2144
|
+
[key: string]: unknown;
|
|
2145
|
+
};
|
|
1629
2146
|
};
|
|
2147
|
+
path?: never;
|
|
1630
2148
|
query?: never;
|
|
1631
|
-
url: '/
|
|
2149
|
+
url: '/mcp';
|
|
1632
2150
|
};
|
|
1633
|
-
export type
|
|
2151
|
+
export type PostMcpErrors = {
|
|
1634
2152
|
/**
|
|
1635
|
-
*
|
|
2153
|
+
* Not authenticated
|
|
2154
|
+
*/
|
|
2155
|
+
401: unknown;
|
|
2156
|
+
};
|
|
2157
|
+
export type PostMcpResponses = {
|
|
2158
|
+
/**
|
|
2159
|
+
* JSON-RPC 2.0 success or error response
|
|
1636
2160
|
*/
|
|
1637
|
-
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
|
+
};
|
|
1638
2172
|
};
|
|
1639
|
-
export type
|
|
2173
|
+
export type PostMcpResponse = PostMcpResponses[keyof PostMcpResponses];
|
|
1640
2174
|
export type GetOrganizationData = {
|
|
1641
2175
|
body?: never;
|
|
1642
2176
|
path?: never;
|
|
@@ -1658,10 +2192,255 @@ export type CreateOrganizationData = {
|
|
|
1658
2192
|
};
|
|
1659
2193
|
export type CreateOrganizationResponses = {
|
|
1660
2194
|
/**
|
|
1661
|
-
*
|
|
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
|
|
1662
2296
|
*/
|
|
1663
2297
|
200: unknown;
|
|
1664
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];
|
|
1665
2444
|
export type ListTokensData = {
|
|
1666
2445
|
body?: never;
|
|
1667
2446
|
path?: never;
|
|
@@ -1918,7 +2697,4 @@ export type UpdateUserResponses = {
|
|
|
1918
2697
|
200: User;
|
|
1919
2698
|
};
|
|
1920
2699
|
export type UpdateUserResponse = UpdateUserResponses[keyof UpdateUserResponses];
|
|
1921
|
-
export type ClientOptions = {
|
|
1922
|
-
baseUrl: 'https://api.cloudfleet.ai/v1' | (string & {});
|
|
1923
|
-
};
|
|
1924
2700
|
//# sourceMappingURL=types.gen.d.ts.map
|