@cloudfleet/sdk 0.0.1-82aa980 → 0.0.1-82abdfa
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/@tanstack/react-query.gen.d.ts +1149 -0
- package/dist/@tanstack/react-query.gen.d.ts.map +1 -0
- package/dist/@tanstack/react-query.gen.js +1165 -0
- package/dist/@tanstack/react-query.gen.js.map +1 -0
- package/dist/client/client.gen.d.ts.map +1 -1
- package/dist/client/client.gen.js +113 -98
- package/dist/client/client.gen.js.map +1 -1
- package/dist/client/index.d.ts +1 -1
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/index.js.map +1 -1
- package/dist/client/types.gen.d.ts +9 -13
- package/dist/client/types.gen.d.ts.map +1 -1
- package/dist/client/utils.gen.d.ts +6 -2
- package/dist/client/utils.gen.d.ts.map +1 -1
- package/dist/client/utils.gen.js +10 -12
- package/dist/client/utils.gen.js.map +1 -1
- 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.gen.d.ts.map +1 -1
- package/dist/core/auth.gen.js.map +1 -1
- package/dist/core/bodySerializer.gen.d.ts +16 -8
- package/dist/core/bodySerializer.gen.d.ts.map +1 -1
- package/dist/core/bodySerializer.gen.js +1 -1
- package/dist/core/bodySerializer.gen.js.map +1 -1
- package/dist/core/params.gen.d.ts +10 -0
- package/dist/core/params.gen.d.ts.map +1 -1
- package/dist/core/params.gen.js +18 -6
- package/dist/core/params.gen.js.map +1 -1
- package/dist/core/pathSerializer.gen.d.ts.map +1 -1
- package/dist/core/pathSerializer.gen.js +3 -11
- package/dist/core/pathSerializer.gen.js.map +1 -1
- package/dist/core/queryKeySerializer.gen.d.ts.map +1 -1
- package/dist/core/queryKeySerializer.gen.js +4 -11
- package/dist/core/queryKeySerializer.gen.js.map +1 -1
- package/dist/core/serverSentEvents.gen.d.ts +1 -1
- package/dist/core/serverSentEvents.gen.d.ts.map +1 -1
- package/dist/core/serverSentEvents.gen.js +6 -9
- package/dist/core/serverSentEvents.gen.js.map +1 -1
- package/dist/core/types.gen.d.ts +1 -1
- package/dist/core/types.gen.d.ts.map +1 -1
- package/dist/core/utils.gen.d.ts.map +1 -1
- package/dist/core/utils.gen.js +1 -1
- package/dist/core/utils.gen.js.map +1 -1
- package/dist/schemas.gen.d.ts +1523 -570
- package/dist/schemas.gen.d.ts.map +1 -1
- package/dist/schemas.gen.js +2939 -739
- package/dist/schemas.gen.js.map +1 -1
- package/dist/sdk.gen.d.ts +286 -164
- package/dist/sdk.gen.d.ts.map +1 -1
- package/dist/sdk.gen.js +397 -328
- package/dist/sdk.gen.js.map +1 -1
- package/dist/services/kubernetes/api.d.ts +8 -8
- package/dist/types.gen.d.ts +1755 -765
- package/dist/types.gen.d.ts.map +1 -1
- package/dist/zod.gen.d.ts +3420 -2494
- package/dist/zod.gen.d.ts.map +1 -1
- package/dist/zod.gen.js +1381 -1196
- package/dist/zod.gen.js.map +1 -1
- package/package.json +29 -6
package/dist/types.gen.d.ts
CHANGED
|
@@ -2,6 +2,10 @@ export type ClientOptions = {
|
|
|
2
2
|
baseUrl: 'https://api.cloudfleet.ai/v1' | (string & {});
|
|
3
3
|
};
|
|
4
4
|
export type BillingContact = {
|
|
5
|
+
/**
|
|
6
|
+
* Type of the organization. `business` for legal entities, `personal` for individuals.
|
|
7
|
+
*/
|
|
8
|
+
type: 'business' | 'personal';
|
|
5
9
|
/**
|
|
6
10
|
* Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
|
|
7
11
|
*/
|
|
@@ -39,13 +43,9 @@ export type BillingContact = {
|
|
|
39
43
|
*/
|
|
40
44
|
email: string;
|
|
41
45
|
/**
|
|
42
|
-
*
|
|
43
|
-
*/
|
|
44
|
-
first_name: string;
|
|
45
|
-
/**
|
|
46
|
-
* Last name of the billing contact person.
|
|
46
|
+
* Name of the billing contact person.
|
|
47
47
|
*/
|
|
48
|
-
|
|
48
|
+
individual_name: string;
|
|
49
49
|
/**
|
|
50
50
|
* Tax ID of the organization.
|
|
51
51
|
*/
|
|
@@ -61,35 +61,31 @@ export type BillingCredits = {
|
|
|
61
61
|
*/
|
|
62
62
|
id?: string;
|
|
63
63
|
/**
|
|
64
|
-
*
|
|
65
|
-
*/
|
|
66
|
-
date_created: string;
|
|
67
|
-
/**
|
|
68
|
-
* Promotional code used by the customer.
|
|
64
|
+
* Type of the promotional code.
|
|
69
65
|
*/
|
|
70
|
-
|
|
66
|
+
type: 'credit' | 'discount';
|
|
71
67
|
/**
|
|
72
|
-
*
|
|
68
|
+
* Timestamp when the credit becomes active. ISO 8601 date string in the UTC timezone.
|
|
73
69
|
*/
|
|
74
|
-
|
|
70
|
+
date_start: string;
|
|
75
71
|
/**
|
|
76
|
-
*
|
|
72
|
+
* Timestamp when the credit expires or becomes inactive. ISO 8601 date string in the UTC timezone.
|
|
77
73
|
*/
|
|
78
|
-
|
|
74
|
+
date_end?: string;
|
|
79
75
|
/**
|
|
80
|
-
*
|
|
76
|
+
* Promotional code used by the customer.
|
|
81
77
|
*/
|
|
82
|
-
|
|
78
|
+
code: string;
|
|
83
79
|
/**
|
|
84
|
-
*
|
|
80
|
+
* Description of the promotional code.
|
|
85
81
|
*/
|
|
86
|
-
|
|
82
|
+
description?: string;
|
|
87
83
|
/**
|
|
88
|
-
*
|
|
84
|
+
* Total value of the promotional code.
|
|
89
85
|
*/
|
|
90
|
-
|
|
86
|
+
value_total: number;
|
|
91
87
|
/**
|
|
92
|
-
*
|
|
88
|
+
* Remaining value of the promotional code.
|
|
93
89
|
*/
|
|
94
90
|
value_remaining?: number;
|
|
95
91
|
};
|
|
@@ -137,9 +133,9 @@ export type Chart = {
|
|
|
137
133
|
*/
|
|
138
134
|
chart: string;
|
|
139
135
|
/**
|
|
140
|
-
* Status of the chart deployment.
|
|
136
|
+
* Status of the chart deployment (Flux HelmRelease Ready condition reason, e.g. InstallSucceeded, UpgradeFailed, Progressing).
|
|
141
137
|
*/
|
|
142
|
-
status:
|
|
138
|
+
status: string;
|
|
143
139
|
/**
|
|
144
140
|
* Current version of the chart deployment.
|
|
145
141
|
*/
|
|
@@ -177,13 +173,63 @@ export type ClusterCreateInput = {
|
|
|
177
173
|
*/
|
|
178
174
|
tier: 'basic' | 'pro';
|
|
179
175
|
/**
|
|
180
|
-
* Cloudfleet control plane region.
|
|
176
|
+
* Cloudfleet control plane region. This field can not be updated after creation.
|
|
181
177
|
*/
|
|
182
|
-
region
|
|
178
|
+
region: string;
|
|
183
179
|
/**
|
|
184
180
|
* Version of the kubernetes cluster.
|
|
185
181
|
*/
|
|
186
182
|
version_channel?: string;
|
|
183
|
+
/**
|
|
184
|
+
* Release channel for the cluster's control plane.
|
|
185
|
+
*/
|
|
186
|
+
release_channel?: 'rapid' | 'stable' | 'extended';
|
|
187
|
+
/**
|
|
188
|
+
* Cluster feature toggles.
|
|
189
|
+
*/
|
|
190
|
+
features?: {
|
|
191
|
+
/**
|
|
192
|
+
* GPU sharing strategy.
|
|
193
|
+
*/
|
|
194
|
+
gpu_sharing_strategy: 'none' | 'mps' | 'time_slicing';
|
|
195
|
+
/**
|
|
196
|
+
* Maximum number of pods that may share a single GPU.
|
|
197
|
+
*/
|
|
198
|
+
gpu_max_shared_clients_per_gpu: number;
|
|
199
|
+
/**
|
|
200
|
+
* Restrict Cilium socket load-balancing to the host namespace. Required for the Tailscale operator and Istio.
|
|
201
|
+
*/
|
|
202
|
+
cilium_socket_lb_host_namespace_only?: boolean;
|
|
203
|
+
};
|
|
204
|
+
/**
|
|
205
|
+
* Cluster networking configuration. Immutable after creation.
|
|
206
|
+
*/
|
|
207
|
+
networking?: {
|
|
208
|
+
/**
|
|
209
|
+
* CIDR block for pod IPs.
|
|
210
|
+
*/
|
|
211
|
+
pod_cidr?: string;
|
|
212
|
+
/**
|
|
213
|
+
* CIDR block for service IPs.
|
|
214
|
+
*/
|
|
215
|
+
service_cidr?: string;
|
|
216
|
+
/**
|
|
217
|
+
* CoreDNS service IP.
|
|
218
|
+
*/
|
|
219
|
+
cluster_dns?: string;
|
|
220
|
+
/**
|
|
221
|
+
* Enable IPv4+IPv6 dual-stack networking.
|
|
222
|
+
*/
|
|
223
|
+
dual_stack?: boolean;
|
|
224
|
+
/**
|
|
225
|
+
* IPv6 pod CIDR. Requires dual_stack.
|
|
226
|
+
*/
|
|
227
|
+
pod_cidr_v6?: string;
|
|
228
|
+
/**
|
|
229
|
+
* IPv6 service CIDR. Requires dual_stack.
|
|
230
|
+
*/
|
|
231
|
+
service_cidr_v6?: string;
|
|
232
|
+
};
|
|
187
233
|
};
|
|
188
234
|
export type ClusterJoinInformation = {
|
|
189
235
|
/**
|
|
@@ -194,6 +240,14 @@ export type ClusterJoinInformation = {
|
|
|
194
240
|
* Internal URL of the Kubernetes cluster control plane. This is the endpoint that kubelet uses to connect to the cluster.
|
|
195
241
|
*/
|
|
196
242
|
endpoint: string;
|
|
243
|
+
/**
|
|
244
|
+
* Cluster DNS IP address. This is the IP address of the kube-dns service in the cluster.
|
|
245
|
+
*/
|
|
246
|
+
cluster_dns: string;
|
|
247
|
+
/**
|
|
248
|
+
* Pod CIDR for the cluster. Used to configure iptables rules on nodes to prevent Tailscale routing loops.
|
|
249
|
+
*/
|
|
250
|
+
pod_cidr: string;
|
|
197
251
|
/**
|
|
198
252
|
* Authentication key for the cluster.
|
|
199
253
|
*/
|
|
@@ -251,22 +305,69 @@ export type Cluster = {
|
|
|
251
305
|
*/
|
|
252
306
|
tier: 'basic' | 'pro';
|
|
253
307
|
/**
|
|
254
|
-
* Cloudfleet control plane region.
|
|
308
|
+
* Cloudfleet control plane region. This field can not be updated after creation.
|
|
255
309
|
*/
|
|
256
|
-
region
|
|
310
|
+
region: string;
|
|
257
311
|
/**
|
|
258
|
-
*
|
|
312
|
+
* Cluster networking configuration. Immutable after creation.
|
|
259
313
|
*/
|
|
260
|
-
|
|
314
|
+
networking?: {
|
|
315
|
+
/**
|
|
316
|
+
* CIDR block for pod IPs.
|
|
317
|
+
*/
|
|
318
|
+
pod_cidr?: string;
|
|
319
|
+
/**
|
|
320
|
+
* CIDR block for service IPs.
|
|
321
|
+
*/
|
|
322
|
+
service_cidr?: string;
|
|
323
|
+
/**
|
|
324
|
+
* CoreDNS service IP.
|
|
325
|
+
*/
|
|
326
|
+
cluster_dns?: string;
|
|
327
|
+
/**
|
|
328
|
+
* Enable IPv4+IPv6 dual-stack networking.
|
|
329
|
+
*/
|
|
330
|
+
dual_stack?: boolean;
|
|
331
|
+
/**
|
|
332
|
+
* IPv6 pod CIDR. Requires dual_stack.
|
|
333
|
+
*/
|
|
334
|
+
pod_cidr_v6?: string;
|
|
335
|
+
/**
|
|
336
|
+
* IPv6 service CIDR. Requires dual_stack.
|
|
337
|
+
*/
|
|
338
|
+
service_cidr_v6?: string;
|
|
339
|
+
};
|
|
340
|
+
/**
|
|
341
|
+
* Release channel for the cluster's control plane.
|
|
342
|
+
*/
|
|
343
|
+
release_channel?: 'rapid' | 'stable' | 'extended';
|
|
344
|
+
/**
|
|
345
|
+
* Cluster feature toggles.
|
|
346
|
+
*/
|
|
347
|
+
features?: {
|
|
348
|
+
/**
|
|
349
|
+
* GPU sharing strategy.
|
|
350
|
+
*/
|
|
351
|
+
gpu_sharing_strategy: 'none' | 'mps' | 'time_slicing';
|
|
352
|
+
/**
|
|
353
|
+
* Maximum number of pods that may share a single GPU.
|
|
354
|
+
*/
|
|
355
|
+
gpu_max_shared_clients_per_gpu: number;
|
|
356
|
+
/**
|
|
357
|
+
* Restrict Cilium socket load-balancing to the host namespace. Required for the Tailscale operator and Istio.
|
|
358
|
+
*/
|
|
359
|
+
cilium_socket_lb_host_namespace_only?: boolean;
|
|
360
|
+
};
|
|
261
361
|
/**
|
|
262
362
|
* Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
|
|
263
363
|
*/
|
|
264
364
|
id: string;
|
|
265
365
|
/**
|
|
266
|
-
* Status of the cluster.
|
|
366
|
+
* Status of the cluster.
|
|
267
367
|
*/
|
|
268
|
-
status: '
|
|
368
|
+
status: 'creating' | 'deployed' | 'updating' | 'disabled';
|
|
269
369
|
endpoint?: string | '';
|
|
370
|
+
endpoint_public?: string | '';
|
|
270
371
|
/**
|
|
271
372
|
* Certificate authority data for the kubernetes cluster. This is the root certificate authority for the cluster.
|
|
272
373
|
*/
|
|
@@ -287,6 +388,10 @@ export type Cluster = {
|
|
|
287
388
|
* Indicates if the cluster is ready to be used.
|
|
288
389
|
*/
|
|
289
390
|
ready?: boolean;
|
|
391
|
+
/**
|
|
392
|
+
* Version of the kubernetes cluster.
|
|
393
|
+
*/
|
|
394
|
+
version_channel?: string;
|
|
290
395
|
};
|
|
291
396
|
export type ClusterUpdateInput = {
|
|
292
397
|
/**
|
|
@@ -301,6 +406,27 @@ export type ClusterUpdateInput = {
|
|
|
301
406
|
* Version of the kubernetes cluster.
|
|
302
407
|
*/
|
|
303
408
|
version_channel?: string;
|
|
409
|
+
/**
|
|
410
|
+
* Release channel for the cluster's control plane.
|
|
411
|
+
*/
|
|
412
|
+
release_channel?: 'rapid' | 'stable' | 'extended';
|
|
413
|
+
/**
|
|
414
|
+
* Cluster feature toggles.
|
|
415
|
+
*/
|
|
416
|
+
features?: {
|
|
417
|
+
/**
|
|
418
|
+
* GPU sharing strategy.
|
|
419
|
+
*/
|
|
420
|
+
gpu_sharing_strategy: 'none' | 'mps' | 'time_slicing';
|
|
421
|
+
/**
|
|
422
|
+
* Maximum number of pods that may share a single GPU.
|
|
423
|
+
*/
|
|
424
|
+
gpu_max_shared_clients_per_gpu: number;
|
|
425
|
+
/**
|
|
426
|
+
* Restrict Cilium socket load-balancing to the host namespace. Required for the Tailscale operator and Istio.
|
|
427
|
+
*/
|
|
428
|
+
cilium_socket_lb_host_namespace_only?: boolean;
|
|
429
|
+
};
|
|
304
430
|
};
|
|
305
431
|
export type FleetCreateInput = {
|
|
306
432
|
/**
|
|
@@ -308,31 +434,56 @@ export type FleetCreateInput = {
|
|
|
308
434
|
*/
|
|
309
435
|
limits?: {
|
|
310
436
|
/**
|
|
311
|
-
* CPU limit in cores.
|
|
437
|
+
* CPU limit in cores. Maximum 100,000.
|
|
312
438
|
*/
|
|
313
|
-
cpu
|
|
439
|
+
cpu?: number;
|
|
314
440
|
};
|
|
315
441
|
gcp?: {
|
|
316
|
-
enabled
|
|
442
|
+
enabled: boolean;
|
|
317
443
|
/**
|
|
318
|
-
*
|
|
444
|
+
* 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.
|
|
319
445
|
*/
|
|
320
|
-
project
|
|
446
|
+
project?: string;
|
|
321
447
|
};
|
|
322
448
|
hetzner?: {
|
|
323
|
-
enabled
|
|
449
|
+
enabled: boolean;
|
|
324
450
|
/**
|
|
325
|
-
* Hetzner Cloud API
|
|
451
|
+
* Hetzner Cloud API token with read / write access (64 alphanumeric characters). Omit this field to keep the existing value.
|
|
326
452
|
*/
|
|
327
|
-
apiKey
|
|
453
|
+
apiKey?: string;
|
|
328
454
|
};
|
|
329
455
|
aws?: {
|
|
330
|
-
enabled
|
|
456
|
+
enabled: boolean;
|
|
457
|
+
/**
|
|
458
|
+
* AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.
|
|
459
|
+
*/
|
|
460
|
+
controllerRoleArn?: string;
|
|
461
|
+
};
|
|
462
|
+
/**
|
|
463
|
+
* 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.
|
|
464
|
+
*/
|
|
465
|
+
constraints?: {
|
|
466
|
+
/**
|
|
467
|
+
* Allowed values for `karpenter.sh/capacity-type`.
|
|
468
|
+
*/
|
|
469
|
+
'karpenter.sh/capacity-type'?: Array<'on-demand' | 'spot'>;
|
|
470
|
+
/**
|
|
471
|
+
* Allowed values for `kubernetes.io/arch`.
|
|
472
|
+
*/
|
|
473
|
+
'kubernetes.io/arch'?: Array<'amd64' | 'arm64'>;
|
|
331
474
|
/**
|
|
332
|
-
*
|
|
475
|
+
* Allowed values for `cfke.io/instance-family`.
|
|
333
476
|
*/
|
|
334
|
-
|
|
477
|
+
'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'>;
|
|
478
|
+
/**
|
|
479
|
+
* Allowed values for `topology.kubernetes.io/region`.
|
|
480
|
+
*/
|
|
481
|
+
'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'>;
|
|
335
482
|
};
|
|
483
|
+
/**
|
|
484
|
+
* Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.
|
|
485
|
+
*/
|
|
486
|
+
scalingProfile?: 'aggressive' | 'conservative';
|
|
336
487
|
/**
|
|
337
488
|
* Unique identifier of the kubernetes fleet.
|
|
338
489
|
*/
|
|
@@ -344,35 +495,76 @@ export type Fleet = {
|
|
|
344
495
|
*/
|
|
345
496
|
limits?: {
|
|
346
497
|
/**
|
|
347
|
-
* CPU limit in cores.
|
|
498
|
+
* CPU limit in cores. Maximum 100,000.
|
|
348
499
|
*/
|
|
349
|
-
cpu
|
|
500
|
+
cpu?: number;
|
|
350
501
|
};
|
|
351
502
|
gcp?: {
|
|
352
|
-
enabled
|
|
503
|
+
enabled: boolean;
|
|
353
504
|
/**
|
|
354
|
-
*
|
|
505
|
+
* 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.
|
|
355
506
|
*/
|
|
356
|
-
project
|
|
507
|
+
project?: string;
|
|
357
508
|
};
|
|
358
509
|
hetzner?: {
|
|
359
|
-
enabled
|
|
510
|
+
enabled: boolean;
|
|
360
511
|
/**
|
|
361
|
-
* Hetzner
|
|
512
|
+
* Redacted Hetzner API token. Returned as 64 asterisks when a token is configured; omitted otherwise. The real value is never echoed by the API.
|
|
362
513
|
*/
|
|
363
|
-
apiKey
|
|
514
|
+
apiKey?: string;
|
|
364
515
|
};
|
|
365
516
|
aws?: {
|
|
366
|
-
enabled
|
|
517
|
+
enabled: boolean;
|
|
518
|
+
/**
|
|
519
|
+
* AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.
|
|
520
|
+
*/
|
|
521
|
+
controllerRoleArn?: string;
|
|
522
|
+
};
|
|
523
|
+
/**
|
|
524
|
+
* 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.
|
|
525
|
+
*/
|
|
526
|
+
constraints?: {
|
|
527
|
+
/**
|
|
528
|
+
* Allowed values for `karpenter.sh/capacity-type`.
|
|
529
|
+
*/
|
|
530
|
+
'karpenter.sh/capacity-type'?: Array<'on-demand' | 'spot'>;
|
|
531
|
+
/**
|
|
532
|
+
* Allowed values for `kubernetes.io/arch`.
|
|
533
|
+
*/
|
|
534
|
+
'kubernetes.io/arch'?: Array<'amd64' | 'arm64'>;
|
|
535
|
+
/**
|
|
536
|
+
* Allowed values for `cfke.io/instance-family`.
|
|
537
|
+
*/
|
|
538
|
+
'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'>;
|
|
367
539
|
/**
|
|
368
|
-
*
|
|
540
|
+
* Allowed values for `topology.kubernetes.io/region`.
|
|
369
541
|
*/
|
|
370
|
-
|
|
542
|
+
'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'>;
|
|
371
543
|
};
|
|
544
|
+
/**
|
|
545
|
+
* Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.
|
|
546
|
+
*/
|
|
547
|
+
scalingProfile: 'aggressive' | 'conservative';
|
|
372
548
|
/**
|
|
373
549
|
* Unique identifier of the kubernetes fleet.
|
|
374
550
|
*/
|
|
375
551
|
id: string;
|
|
552
|
+
/**
|
|
553
|
+
* Indicates whether the fleet configuration is healthy.
|
|
554
|
+
*/
|
|
555
|
+
ready: boolean;
|
|
556
|
+
/**
|
|
557
|
+
* Human-readable reason the fleet is not ready. Present only when `ready` is false.
|
|
558
|
+
*/
|
|
559
|
+
status_message?: string;
|
|
560
|
+
/**
|
|
561
|
+
* Creation date and time of the fleet.
|
|
562
|
+
*/
|
|
563
|
+
created_at: string;
|
|
564
|
+
/**
|
|
565
|
+
* Date and time the fleet was last updated.
|
|
566
|
+
*/
|
|
567
|
+
updated_at: string;
|
|
376
568
|
};
|
|
377
569
|
export type FleetUpdateInput = {
|
|
378
570
|
/**
|
|
@@ -380,31 +572,66 @@ export type FleetUpdateInput = {
|
|
|
380
572
|
*/
|
|
381
573
|
limits?: {
|
|
382
574
|
/**
|
|
383
|
-
* CPU limit in cores.
|
|
575
|
+
* CPU limit in cores. Maximum 100,000.
|
|
384
576
|
*/
|
|
385
|
-
cpu
|
|
577
|
+
cpu?: number;
|
|
386
578
|
};
|
|
387
579
|
gcp?: {
|
|
388
|
-
enabled
|
|
580
|
+
enabled: boolean;
|
|
389
581
|
/**
|
|
390
|
-
*
|
|
582
|
+
* 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.
|
|
391
583
|
*/
|
|
392
|
-
project
|
|
584
|
+
project?: string;
|
|
393
585
|
};
|
|
394
586
|
hetzner?: {
|
|
395
|
-
enabled
|
|
587
|
+
enabled: boolean;
|
|
396
588
|
/**
|
|
397
|
-
* Hetzner Cloud API
|
|
589
|
+
* Hetzner Cloud API token with read / write access (64 alphanumeric characters). Omit this field to keep the existing value.
|
|
398
590
|
*/
|
|
399
|
-
apiKey
|
|
591
|
+
apiKey?: string;
|
|
400
592
|
};
|
|
401
593
|
aws?: {
|
|
402
|
-
enabled
|
|
594
|
+
enabled: boolean;
|
|
595
|
+
/**
|
|
596
|
+
* AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.
|
|
597
|
+
*/
|
|
598
|
+
controllerRoleArn?: string;
|
|
599
|
+
};
|
|
600
|
+
/**
|
|
601
|
+
* 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.
|
|
602
|
+
*/
|
|
603
|
+
constraints?: {
|
|
604
|
+
/**
|
|
605
|
+
* Allowed values for `karpenter.sh/capacity-type`.
|
|
606
|
+
*/
|
|
607
|
+
'karpenter.sh/capacity-type'?: Array<'on-demand' | 'spot'>;
|
|
608
|
+
/**
|
|
609
|
+
* Allowed values for `kubernetes.io/arch`.
|
|
610
|
+
*/
|
|
611
|
+
'kubernetes.io/arch'?: Array<'amd64' | 'arm64'>;
|
|
612
|
+
/**
|
|
613
|
+
* Allowed values for `cfke.io/instance-family`.
|
|
614
|
+
*/
|
|
615
|
+
'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'>;
|
|
403
616
|
/**
|
|
404
|
-
*
|
|
617
|
+
* Allowed values for `topology.kubernetes.io/region`.
|
|
405
618
|
*/
|
|
406
|
-
|
|
619
|
+
'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'>;
|
|
407
620
|
};
|
|
621
|
+
/**
|
|
622
|
+
* Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.
|
|
623
|
+
*/
|
|
624
|
+
scalingProfile: 'aggressive' | 'conservative';
|
|
625
|
+
};
|
|
626
|
+
export type InviteCreateInput = {
|
|
627
|
+
/**
|
|
628
|
+
* Email address of the user to invite.
|
|
629
|
+
*/
|
|
630
|
+
email: string;
|
|
631
|
+
/**
|
|
632
|
+
* Role the invited user will be assigned on redemption. Can be 'Administrator' or 'User'.
|
|
633
|
+
*/
|
|
634
|
+
role?: 'Administrator' | 'User';
|
|
408
635
|
};
|
|
409
636
|
export type Invite = {
|
|
410
637
|
/**
|
|
@@ -427,399 +654,725 @@ export type Invite = {
|
|
|
427
654
|
* Generated unique invite code.
|
|
428
655
|
*/
|
|
429
656
|
code?: string;
|
|
657
|
+
/**
|
|
658
|
+
* Role the invited user will be assigned on redemption. Can be 'Administrator' or 'User'.
|
|
659
|
+
*/
|
|
660
|
+
role?: 'Administrator' | 'User';
|
|
430
661
|
};
|
|
431
662
|
export type Invoice = {
|
|
432
663
|
/**
|
|
433
|
-
* Unique identifier of the invoice.
|
|
664
|
+
* Unique identifier of the invoice.
|
|
434
665
|
*/
|
|
435
666
|
id?: string;
|
|
436
|
-
|
|
437
|
-
* Unique identifier of the organization. UUID v4 string in canonical form
|
|
438
|
-
*/
|
|
439
|
-
organizationId?: string;
|
|
667
|
+
number?: string;
|
|
440
668
|
/**
|
|
441
669
|
* Status of the invoice
|
|
442
670
|
*/
|
|
443
|
-
status?:
|
|
671
|
+
status?: string;
|
|
444
672
|
/**
|
|
445
673
|
* Total amount of the invoice
|
|
446
674
|
*/
|
|
447
|
-
|
|
675
|
+
total?: number;
|
|
448
676
|
/**
|
|
449
677
|
* Currency of the invoice
|
|
450
678
|
*/
|
|
451
|
-
currency?:
|
|
679
|
+
currency?: string;
|
|
680
|
+
/**
|
|
681
|
+
* Timestamp when the invoice was issued. ISO 8601 date string in the UTC timezone.
|
|
682
|
+
*/
|
|
683
|
+
created: string;
|
|
452
684
|
/**
|
|
453
|
-
*
|
|
685
|
+
* Billing period start timestamp. ISO 8601 date string in the UTC timezone.
|
|
454
686
|
*/
|
|
455
|
-
|
|
687
|
+
period_start: string;
|
|
456
688
|
/**
|
|
457
|
-
*
|
|
689
|
+
* Billing period end timestamp. ISO 8601 date string in the UTC timezone.
|
|
458
690
|
*/
|
|
459
|
-
|
|
691
|
+
period_end: string;
|
|
692
|
+
invoice_pdf?: string;
|
|
693
|
+
};
|
|
694
|
+
export type MarketplaceListingFiles = {
|
|
460
695
|
/**
|
|
461
|
-
*
|
|
696
|
+
* Raw Chart.yaml content from the Helm chart
|
|
462
697
|
*/
|
|
463
|
-
|
|
698
|
+
chartYaml?: string;
|
|
464
699
|
/**
|
|
465
|
-
*
|
|
700
|
+
* Raw values.yaml content from the Helm chart
|
|
466
701
|
*/
|
|
467
|
-
|
|
702
|
+
valuesYaml?: string;
|
|
468
703
|
/**
|
|
469
|
-
*
|
|
704
|
+
* JSON schema for values.yaml as a string
|
|
470
705
|
*/
|
|
471
|
-
|
|
706
|
+
valuesSchemaJson?: string;
|
|
707
|
+
};
|
|
708
|
+
export type MarketplaceListing = {
|
|
472
709
|
/**
|
|
473
|
-
*
|
|
710
|
+
* Name of the chart
|
|
474
711
|
*/
|
|
475
|
-
|
|
712
|
+
name: string;
|
|
476
713
|
/**
|
|
477
|
-
*
|
|
714
|
+
* Available versions of the chart
|
|
478
715
|
*/
|
|
479
|
-
|
|
716
|
+
versions: Array<string>;
|
|
480
717
|
/**
|
|
481
|
-
*
|
|
718
|
+
* Version channels for the chart
|
|
482
719
|
*/
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
720
|
+
version_channels: Array<string>;
|
|
721
|
+
/**
|
|
722
|
+
* Latest version of the chart
|
|
723
|
+
*/
|
|
724
|
+
latestVersion: string;
|
|
725
|
+
/**
|
|
726
|
+
* Chart metadata
|
|
727
|
+
*/
|
|
728
|
+
metadata?: {
|
|
492
729
|
/**
|
|
493
|
-
*
|
|
730
|
+
* Chart name from metadata
|
|
494
731
|
*/
|
|
495
|
-
|
|
732
|
+
name: string;
|
|
496
733
|
/**
|
|
497
|
-
*
|
|
734
|
+
* Chart version from metadata
|
|
498
735
|
*/
|
|
499
|
-
|
|
736
|
+
version: string;
|
|
500
737
|
/**
|
|
501
|
-
*
|
|
738
|
+
* Chart description
|
|
502
739
|
*/
|
|
503
|
-
|
|
740
|
+
description?: string;
|
|
504
741
|
/**
|
|
505
|
-
*
|
|
742
|
+
* Application version
|
|
506
743
|
*/
|
|
507
|
-
|
|
744
|
+
appVersion?: string;
|
|
508
745
|
/**
|
|
509
|
-
*
|
|
746
|
+
* Helm API version
|
|
510
747
|
*/
|
|
511
|
-
|
|
748
|
+
apiVersion?: string;
|
|
512
749
|
/**
|
|
513
|
-
*
|
|
750
|
+
* Chart keywords
|
|
514
751
|
*/
|
|
515
|
-
|
|
752
|
+
keywords?: Array<string>;
|
|
516
753
|
/**
|
|
517
|
-
*
|
|
754
|
+
* Chart home URL
|
|
518
755
|
*/
|
|
519
|
-
|
|
756
|
+
home?: string;
|
|
520
757
|
/**
|
|
521
|
-
*
|
|
758
|
+
* A URL to an SVG or PNG image to be used as an icon
|
|
522
759
|
*/
|
|
523
|
-
|
|
760
|
+
icon?: string;
|
|
524
761
|
/**
|
|
525
|
-
*
|
|
762
|
+
* Chart source URLs
|
|
526
763
|
*/
|
|
527
|
-
|
|
764
|
+
sources?: Array<string>;
|
|
528
765
|
/**
|
|
529
|
-
*
|
|
766
|
+
* Chart maintainers
|
|
530
767
|
*/
|
|
531
|
-
|
|
768
|
+
maintainers?: Array<{
|
|
769
|
+
/**
|
|
770
|
+
* Maintainer name
|
|
771
|
+
*/
|
|
772
|
+
name: string;
|
|
773
|
+
/**
|
|
774
|
+
* Maintainer email
|
|
775
|
+
*/
|
|
776
|
+
email?: string;
|
|
777
|
+
}>;
|
|
778
|
+
};
|
|
779
|
+
};
|
|
780
|
+
export type OrganizationCreateInput = {
|
|
781
|
+
/**
|
|
782
|
+
* Type of the organization. `business` for legal entities, `personal` for individuals.
|
|
783
|
+
*/
|
|
784
|
+
type: 'business' | 'personal';
|
|
785
|
+
/**
|
|
786
|
+
* Email address used for billing as a string.
|
|
787
|
+
*/
|
|
788
|
+
email: string;
|
|
789
|
+
/**
|
|
790
|
+
* First name of the billing contact person.
|
|
791
|
+
*/
|
|
792
|
+
first_name: string;
|
|
793
|
+
/**
|
|
794
|
+
* Last name of the billing contact person.
|
|
795
|
+
*/
|
|
796
|
+
last_name: string;
|
|
797
|
+
/**
|
|
798
|
+
* Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
|
|
799
|
+
*/
|
|
800
|
+
company_name: string;
|
|
801
|
+
/**
|
|
802
|
+
* 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.
|
|
803
|
+
*/
|
|
804
|
+
password: string;
|
|
805
|
+
};
|
|
806
|
+
export type OrganizationCreateOutput = {
|
|
807
|
+
/**
|
|
808
|
+
* Unique identifier of the newly created organization. Generated by the API and safe to use for client-side tracking immediately.
|
|
809
|
+
*/
|
|
810
|
+
id: string;
|
|
811
|
+
};
|
|
812
|
+
export type Organization = {
|
|
813
|
+
/**
|
|
814
|
+
* Unique identifier of the organization. UUID v4 string in canonical form
|
|
815
|
+
*/
|
|
816
|
+
id: string;
|
|
817
|
+
/**
|
|
818
|
+
* Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
|
|
819
|
+
*/
|
|
820
|
+
name?: string;
|
|
821
|
+
/**
|
|
822
|
+
* Type of the organization. `business` for legal entities, `personal` for individuals.
|
|
823
|
+
*/
|
|
824
|
+
type: 'business' | 'personal';
|
|
825
|
+
/**
|
|
826
|
+
* Creation date of the organization. ISO 8601 date string in UTC timezone
|
|
827
|
+
*/
|
|
828
|
+
date_created: string;
|
|
829
|
+
/**
|
|
830
|
+
* 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.
|
|
831
|
+
*/
|
|
832
|
+
quota: {
|
|
532
833
|
/**
|
|
533
|
-
*
|
|
834
|
+
* Maximum number of Basic clusters that can be created.
|
|
534
835
|
*/
|
|
535
|
-
|
|
836
|
+
basic_clusters_max: number;
|
|
536
837
|
/**
|
|
537
|
-
*
|
|
838
|
+
* Available number of Basic clusters that can be created.
|
|
538
839
|
*/
|
|
539
|
-
|
|
840
|
+
basic_clusters_available: number;
|
|
540
841
|
/**
|
|
541
|
-
*
|
|
842
|
+
* Maximum number of Pro clusters that can be created.
|
|
542
843
|
*/
|
|
543
|
-
|
|
844
|
+
pro_clusters_max: number;
|
|
544
845
|
/**
|
|
545
|
-
*
|
|
846
|
+
* Available number of Pro clusters that can be created.
|
|
546
847
|
*/
|
|
547
|
-
|
|
848
|
+
pro_clusters_available: number;
|
|
548
849
|
/**
|
|
549
|
-
*
|
|
850
|
+
* Maximum number of fleets that can be created per cluster.
|
|
550
851
|
*/
|
|
551
|
-
|
|
852
|
+
fleets_max: number;
|
|
552
853
|
/**
|
|
553
|
-
*
|
|
854
|
+
* List of Cloudfleet cluster tiers available for the organization.
|
|
554
855
|
*/
|
|
555
|
-
|
|
856
|
+
cluster_tiers: Array<string>;
|
|
556
857
|
/**
|
|
557
|
-
*
|
|
858
|
+
* List of Cloudfleet control plane regions available for the organization.
|
|
558
859
|
*/
|
|
559
|
-
|
|
860
|
+
regions: Array<string>;
|
|
560
861
|
/**
|
|
561
|
-
*
|
|
862
|
+
* List of CFKE control plane versions available for the organization.
|
|
562
863
|
*/
|
|
563
|
-
|
|
864
|
+
versions: Array<{
|
|
865
|
+
/**
|
|
866
|
+
* Id of the control plane version. Used in API calls.
|
|
867
|
+
*/
|
|
868
|
+
id: string;
|
|
869
|
+
/**
|
|
870
|
+
* Label of the control plane version. Used in frontent UI.
|
|
871
|
+
*/
|
|
872
|
+
label: string;
|
|
873
|
+
}>;
|
|
564
874
|
/**
|
|
565
|
-
*
|
|
875
|
+
* Organization-level maximum CFCR storage volume in GB. -1 means no limit.
|
|
566
876
|
*/
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
877
|
+
cfcr_storage_gb: number;
|
|
878
|
+
};
|
|
879
|
+
/**
|
|
880
|
+
* Status of the organization. Can be `active` or `closed`, or `suspended`.
|
|
881
|
+
*/
|
|
882
|
+
status: 'active' | 'closed' | 'suspended';
|
|
883
|
+
/**
|
|
884
|
+
* 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.
|
|
885
|
+
*/
|
|
886
|
+
verification: 'none' | 'submitted' | 'verified';
|
|
887
|
+
};
|
|
888
|
+
export type PaymentMethod = {
|
|
889
|
+
/**
|
|
890
|
+
* 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.
|
|
891
|
+
*/
|
|
892
|
+
id: string;
|
|
893
|
+
/**
|
|
894
|
+
* Payment method type. `card`, `sepa_debit` for SEPA Direct Debit (business accounts only), or `bank_transfer` for paying invoices by bank transfer.
|
|
895
|
+
*/
|
|
896
|
+
type: 'card' | 'sepa_debit' | 'bank_transfer';
|
|
897
|
+
/**
|
|
898
|
+
* 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.
|
|
899
|
+
*/
|
|
900
|
+
last4: string;
|
|
901
|
+
/**
|
|
902
|
+
* Two-digit number representing the card's expiration month. Null for SEPA Direct Debit and bank transfer.
|
|
903
|
+
*/
|
|
904
|
+
exp_month: number;
|
|
905
|
+
/**
|
|
906
|
+
* 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.
|
|
907
|
+
*/
|
|
908
|
+
exp_year: number;
|
|
909
|
+
/**
|
|
910
|
+
* Payment card brand as reported by Stripe, e.g. `visa`, `mastercard`, `amex`, `cartes_bancaires`, or `unknown`. Null for SEPA Direct Debit and bank transfer.
|
|
911
|
+
*/
|
|
912
|
+
brand: string;
|
|
913
|
+
/**
|
|
914
|
+
* 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.
|
|
915
|
+
*/
|
|
916
|
+
iban: string;
|
|
917
|
+
/**
|
|
918
|
+
* BIC/SWIFT of the destination bank for bank transfers. Set only for `bank_transfer`; null otherwise.
|
|
919
|
+
*/
|
|
920
|
+
bic: string;
|
|
921
|
+
/**
|
|
922
|
+
* Account holder name of the destination bank account for bank transfers. Set only for `bank_transfer`; null otherwise.
|
|
923
|
+
*/
|
|
924
|
+
account_holder_name: string;
|
|
925
|
+
/**
|
|
926
|
+
* 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).
|
|
927
|
+
*/
|
|
928
|
+
is_default: boolean;
|
|
929
|
+
};
|
|
930
|
+
export type PlatformQuota = {
|
|
931
|
+
/**
|
|
932
|
+
* Maximum number of Basic clusters that can be created.
|
|
933
|
+
*/
|
|
934
|
+
basic_clusters_max: number;
|
|
935
|
+
/**
|
|
936
|
+
* Available number of Basic clusters that can be created.
|
|
937
|
+
*/
|
|
938
|
+
basic_clusters_available: number;
|
|
939
|
+
/**
|
|
940
|
+
* Maximum number of Pro clusters that can be created.
|
|
941
|
+
*/
|
|
942
|
+
pro_clusters_max: number;
|
|
943
|
+
/**
|
|
944
|
+
* Available number of Pro clusters that can be created.
|
|
945
|
+
*/
|
|
946
|
+
pro_clusters_available: number;
|
|
947
|
+
/**
|
|
948
|
+
* Maximum number of fleets that can be created per cluster.
|
|
949
|
+
*/
|
|
950
|
+
fleets_max: number;
|
|
951
|
+
/**
|
|
952
|
+
* List of Cloudfleet cluster tiers available for the organization.
|
|
953
|
+
*/
|
|
954
|
+
cluster_tiers: Array<string>;
|
|
571
955
|
/**
|
|
572
|
-
*
|
|
956
|
+
* List of Cloudfleet control plane regions available for the organization.
|
|
573
957
|
*/
|
|
574
|
-
|
|
958
|
+
regions: Array<string>;
|
|
959
|
+
/**
|
|
960
|
+
* List of CFKE control plane versions available for the organization.
|
|
961
|
+
*/
|
|
962
|
+
versions: Array<{
|
|
575
963
|
/**
|
|
576
|
-
*
|
|
964
|
+
* Id of the control plane version. Used in API calls.
|
|
577
965
|
*/
|
|
578
|
-
id
|
|
966
|
+
id: string;
|
|
579
967
|
/**
|
|
580
|
-
*
|
|
968
|
+
* Label of the control plane version. Used in frontent UI.
|
|
581
969
|
*/
|
|
582
|
-
|
|
970
|
+
label: string;
|
|
971
|
+
}>;
|
|
972
|
+
/**
|
|
973
|
+
* Organization-level maximum CFCR storage volume in GB. -1 means no limit.
|
|
974
|
+
*/
|
|
975
|
+
cfcr_storage_gb: number;
|
|
976
|
+
};
|
|
977
|
+
export type RegistryRepository = {
|
|
978
|
+
/**
|
|
979
|
+
* Repository name.
|
|
980
|
+
*/
|
|
981
|
+
name: string;
|
|
982
|
+
/**
|
|
983
|
+
* Registry region.
|
|
984
|
+
*/
|
|
985
|
+
region: string;
|
|
986
|
+
/**
|
|
987
|
+
* Full URI of the repository.
|
|
988
|
+
*/
|
|
989
|
+
uri: string;
|
|
990
|
+
};
|
|
991
|
+
export type RegistryRepositoryWithTags = {
|
|
992
|
+
/**
|
|
993
|
+
* Repository name.
|
|
994
|
+
*/
|
|
995
|
+
name: string;
|
|
996
|
+
/**
|
|
997
|
+
* Registry region.
|
|
998
|
+
*/
|
|
999
|
+
region: string;
|
|
1000
|
+
/**
|
|
1001
|
+
* Full URI of the repository.
|
|
1002
|
+
*/
|
|
1003
|
+
uri: string;
|
|
1004
|
+
/**
|
|
1005
|
+
* Array of tags in the repository.
|
|
1006
|
+
*/
|
|
1007
|
+
tags: Array<{
|
|
583
1008
|
/**
|
|
584
|
-
*
|
|
1009
|
+
* Tag name.
|
|
585
1010
|
*/
|
|
586
|
-
|
|
1011
|
+
name: string;
|
|
587
1012
|
/**
|
|
588
|
-
*
|
|
1013
|
+
* Size of the tag in bytes.
|
|
589
1014
|
*/
|
|
590
|
-
|
|
1015
|
+
size: number;
|
|
591
1016
|
/**
|
|
592
|
-
*
|
|
1017
|
+
* Media type of the manifest.
|
|
593
1018
|
*/
|
|
594
|
-
|
|
1019
|
+
mediaType?: string;
|
|
595
1020
|
/**
|
|
596
|
-
*
|
|
1021
|
+
* Array of platform strings for multi-arch images (e.g., linux/amd64, linux/arm64).
|
|
597
1022
|
*/
|
|
598
|
-
|
|
1023
|
+
platforms?: Array<string>;
|
|
1024
|
+
}>;
|
|
1025
|
+
/**
|
|
1026
|
+
* Total size of all tags in the repository in bytes.
|
|
1027
|
+
*/
|
|
1028
|
+
totalSize: number;
|
|
1029
|
+
};
|
|
1030
|
+
export type RegistryTag = {
|
|
1031
|
+
/**
|
|
1032
|
+
* Tag name.
|
|
1033
|
+
*/
|
|
1034
|
+
name: string;
|
|
1035
|
+
/**
|
|
1036
|
+
* Manifest digest for pulling by digest.
|
|
1037
|
+
*/
|
|
1038
|
+
digest: string;
|
|
1039
|
+
/**
|
|
1040
|
+
* Media type of the manifest.
|
|
1041
|
+
*/
|
|
1042
|
+
mediaType?: string;
|
|
1043
|
+
/**
|
|
1044
|
+
* Manifest config metadata.
|
|
1045
|
+
*/
|
|
1046
|
+
config?: {
|
|
599
1047
|
/**
|
|
600
|
-
*
|
|
1048
|
+
* Size of the config in bytes.
|
|
601
1049
|
*/
|
|
602
|
-
|
|
1050
|
+
size: number;
|
|
1051
|
+
};
|
|
1052
|
+
/**
|
|
1053
|
+
* Array of layer metadata.
|
|
1054
|
+
*/
|
|
1055
|
+
layers?: Array<{
|
|
603
1056
|
/**
|
|
604
|
-
*
|
|
1057
|
+
* Digest of the layer.
|
|
605
1058
|
*/
|
|
606
|
-
|
|
1059
|
+
digest?: string;
|
|
607
1060
|
/**
|
|
608
|
-
*
|
|
1061
|
+
* Size of the layer in bytes.
|
|
609
1062
|
*/
|
|
610
|
-
|
|
1063
|
+
size: number;
|
|
1064
|
+
}>;
|
|
1065
|
+
/**
|
|
1066
|
+
* Array of manifests for multi-arch images.
|
|
1067
|
+
*/
|
|
1068
|
+
manifests?: Array<{
|
|
611
1069
|
/**
|
|
612
|
-
*
|
|
1070
|
+
* Digest of the manifest.
|
|
613
1071
|
*/
|
|
614
|
-
|
|
1072
|
+
digest: string;
|
|
615
1073
|
/**
|
|
616
|
-
*
|
|
1074
|
+
* Platform information for the manifest.
|
|
617
1075
|
*/
|
|
618
|
-
|
|
1076
|
+
platform?: {
|
|
1077
|
+
/**
|
|
1078
|
+
* Architecture of the platform.
|
|
1079
|
+
*/
|
|
1080
|
+
architecture: string;
|
|
1081
|
+
/**
|
|
1082
|
+
* Operating system of the platform.
|
|
1083
|
+
*/
|
|
1084
|
+
os: string;
|
|
1085
|
+
/**
|
|
1086
|
+
* Variant of the platform (e.g., v7, v8 for ARM).
|
|
1087
|
+
*/
|
|
1088
|
+
variant?: string;
|
|
1089
|
+
};
|
|
619
1090
|
/**
|
|
620
|
-
*
|
|
1091
|
+
* Layers for this platform.
|
|
621
1092
|
*/
|
|
622
|
-
|
|
1093
|
+
layers?: Array<{
|
|
1094
|
+
/**
|
|
1095
|
+
* Digest of the layer.
|
|
1096
|
+
*/
|
|
1097
|
+
digest?: string;
|
|
1098
|
+
/**
|
|
1099
|
+
* Size of the layer in bytes.
|
|
1100
|
+
*/
|
|
1101
|
+
size: number;
|
|
1102
|
+
}>;
|
|
623
1103
|
/**
|
|
624
|
-
*
|
|
1104
|
+
* Total size of this platform manifest in bytes.
|
|
625
1105
|
*/
|
|
626
|
-
|
|
1106
|
+
size?: number;
|
|
1107
|
+
}>;
|
|
1108
|
+
/**
|
|
1109
|
+
* Total size of the tag in bytes.
|
|
1110
|
+
*/
|
|
1111
|
+
size: number;
|
|
1112
|
+
/**
|
|
1113
|
+
* Registry region.
|
|
1114
|
+
*/
|
|
1115
|
+
region: string;
|
|
1116
|
+
/**
|
|
1117
|
+
* Repository name.
|
|
1118
|
+
*/
|
|
1119
|
+
repository: string;
|
|
1120
|
+
/**
|
|
1121
|
+
* Full URI of the tag.
|
|
1122
|
+
*/
|
|
1123
|
+
uri: string;
|
|
1124
|
+
};
|
|
1125
|
+
export type TicketAttachment = {
|
|
1126
|
+
/**
|
|
1127
|
+
* Unique identifier of the attachment (Mongo ObjectId).
|
|
1128
|
+
*/
|
|
1129
|
+
id: string;
|
|
1130
|
+
/**
|
|
1131
|
+
* Original filename as uploaded.
|
|
1132
|
+
*/
|
|
1133
|
+
filename: string;
|
|
1134
|
+
/**
|
|
1135
|
+
* MIME content type of the attachment.
|
|
1136
|
+
*/
|
|
1137
|
+
content_type: string;
|
|
1138
|
+
/**
|
|
1139
|
+
* Size of the attachment in bytes.
|
|
1140
|
+
*/
|
|
1141
|
+
size: number;
|
|
1142
|
+
};
|
|
1143
|
+
export type TicketCreateInput = {
|
|
1144
|
+
/**
|
|
1145
|
+
* Ticket category. Drives auto-assignment and may carry a subcategory in `properties`.
|
|
1146
|
+
*/
|
|
1147
|
+
category: 'billing' | 'technical' | 'general';
|
|
1148
|
+
/**
|
|
1149
|
+
* Initial message body in markdown. There is no separate subject — the first message body is the description.
|
|
1150
|
+
*/
|
|
1151
|
+
body: string;
|
|
1152
|
+
/**
|
|
1153
|
+
* Free-form key/value bag set by the UI (e.g. `subcategory`, `cluster_id`, `cluster_name`, `region`).
|
|
1154
|
+
*/
|
|
1155
|
+
properties?: {
|
|
1156
|
+
[key: string]: unknown;
|
|
1157
|
+
};
|
|
1158
|
+
};
|
|
1159
|
+
export type TicketListResponse = {
|
|
1160
|
+
/**
|
|
1161
|
+
* Tickets for the organization, ordered newest first. Messages are omitted from list responses.
|
|
1162
|
+
*/
|
|
1163
|
+
items: Array<{
|
|
627
1164
|
/**
|
|
628
|
-
*
|
|
1165
|
+
* Unique identifier of the ticket (Mongo ObjectId).
|
|
629
1166
|
*/
|
|
630
|
-
|
|
1167
|
+
id: string;
|
|
631
1168
|
/**
|
|
632
|
-
*
|
|
1169
|
+
* Current state of the ticket.
|
|
633
1170
|
*/
|
|
634
|
-
|
|
1171
|
+
status: 'waiting_on_us' | 'waiting_on_user' | 'closed';
|
|
635
1172
|
/**
|
|
636
|
-
*
|
|
1173
|
+
* Ticket category.
|
|
637
1174
|
*/
|
|
638
|
-
|
|
1175
|
+
category: 'billing' | 'technical' | 'general';
|
|
639
1176
|
/**
|
|
640
|
-
*
|
|
1177
|
+
* First 128 characters of the initial message body, with markdown formatting and newlines stripped. Used for ticket list previews.
|
|
641
1178
|
*/
|
|
642
|
-
|
|
1179
|
+
summary: string;
|
|
643
1180
|
/**
|
|
644
|
-
*
|
|
1181
|
+
* Closure timestamp. Null while the ticket is open.
|
|
645
1182
|
*/
|
|
646
|
-
|
|
1183
|
+
closed_at?: string;
|
|
647
1184
|
/**
|
|
648
|
-
*
|
|
1185
|
+
* Creation date of the ticket. ISO 8601 UTC.
|
|
649
1186
|
*/
|
|
650
|
-
|
|
1187
|
+
date_created: string;
|
|
651
1188
|
/**
|
|
652
|
-
*
|
|
1189
|
+
* Last update date of the ticket. ISO 8601 UTC.
|
|
653
1190
|
*/
|
|
654
|
-
|
|
1191
|
+
date_updated: string;
|
|
655
1192
|
/**
|
|
656
|
-
*
|
|
1193
|
+
* Messages on the ticket in chronological order. Internal notes are excluded. Returned by the detail endpoint only.
|
|
657
1194
|
*/
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
1195
|
+
messages?: Array<{
|
|
1196
|
+
/**
|
|
1197
|
+
* Unique identifier of the message (Mongo ObjectId).
|
|
1198
|
+
*/
|
|
1199
|
+
id: string;
|
|
1200
|
+
/**
|
|
1201
|
+
* Message type. Internal notes are filtered out of customer-facing responses.
|
|
1202
|
+
*/
|
|
1203
|
+
type: 'customer_reply' | 'agent_reply';
|
|
1204
|
+
/**
|
|
1205
|
+
* Message body in markdown.
|
|
1206
|
+
*/
|
|
1207
|
+
body: string;
|
|
1208
|
+
/**
|
|
1209
|
+
* First name of the author. Null when not provided.
|
|
1210
|
+
*/
|
|
1211
|
+
author_first_name?: string;
|
|
1212
|
+
/**
|
|
1213
|
+
* Last name of the author. Null when not provided.
|
|
1214
|
+
*/
|
|
1215
|
+
author_last_name?: string;
|
|
1216
|
+
/**
|
|
1217
|
+
* Attachments associated with this message.
|
|
1218
|
+
*/
|
|
1219
|
+
attachments?: Array<{
|
|
1220
|
+
/**
|
|
1221
|
+
* Unique identifier of the attachment (Mongo ObjectId).
|
|
1222
|
+
*/
|
|
1223
|
+
id: string;
|
|
1224
|
+
/**
|
|
1225
|
+
* Original filename as uploaded.
|
|
1226
|
+
*/
|
|
1227
|
+
filename: string;
|
|
1228
|
+
/**
|
|
1229
|
+
* MIME content type of the attachment.
|
|
1230
|
+
*/
|
|
1231
|
+
content_type: string;
|
|
1232
|
+
/**
|
|
1233
|
+
* Size of the attachment in bytes.
|
|
1234
|
+
*/
|
|
1235
|
+
size: number;
|
|
1236
|
+
}>;
|
|
1237
|
+
/**
|
|
1238
|
+
* Creation date of the message. ISO 8601 UTC.
|
|
1239
|
+
*/
|
|
1240
|
+
date_created: string;
|
|
1241
|
+
}>;
|
|
661
1242
|
}>;
|
|
662
1243
|
};
|
|
663
|
-
export type
|
|
1244
|
+
export type TicketMessageInput = {
|
|
664
1245
|
/**
|
|
665
|
-
*
|
|
1246
|
+
* Reply body in markdown.
|
|
666
1247
|
*/
|
|
667
|
-
|
|
1248
|
+
body: string;
|
|
1249
|
+
};
|
|
1250
|
+
export type TicketMessage = {
|
|
668
1251
|
/**
|
|
669
|
-
*
|
|
1252
|
+
* Unique identifier of the message (Mongo ObjectId).
|
|
670
1253
|
*/
|
|
671
|
-
|
|
1254
|
+
id: string;
|
|
672
1255
|
/**
|
|
673
|
-
*
|
|
1256
|
+
* Message type. Internal notes are filtered out of customer-facing responses.
|
|
674
1257
|
*/
|
|
675
|
-
|
|
1258
|
+
type: 'customer_reply' | 'agent_reply';
|
|
676
1259
|
/**
|
|
677
|
-
*
|
|
1260
|
+
* Message body in markdown.
|
|
678
1261
|
*/
|
|
679
|
-
|
|
1262
|
+
body: string;
|
|
680
1263
|
/**
|
|
681
|
-
*
|
|
1264
|
+
* First name of the author. Null when not provided.
|
|
682
1265
|
*/
|
|
683
|
-
|
|
1266
|
+
author_first_name?: string;
|
|
684
1267
|
/**
|
|
685
|
-
*
|
|
1268
|
+
* Last name of the author. Null when not provided.
|
|
686
1269
|
*/
|
|
687
|
-
|
|
1270
|
+
author_last_name?: string;
|
|
688
1271
|
/**
|
|
689
|
-
*
|
|
1272
|
+
* Attachments associated with this message.
|
|
690
1273
|
*/
|
|
691
|
-
|
|
692
|
-
version_channels: Array<string>;
|
|
693
|
-
value_schemas: Array<{
|
|
1274
|
+
attachments?: Array<{
|
|
694
1275
|
/**
|
|
695
|
-
*
|
|
1276
|
+
* Unique identifier of the attachment (Mongo ObjectId).
|
|
696
1277
|
*/
|
|
697
|
-
|
|
1278
|
+
id: string;
|
|
1279
|
+
/**
|
|
1280
|
+
* Original filename as uploaded.
|
|
1281
|
+
*/
|
|
1282
|
+
filename: string;
|
|
698
1283
|
/**
|
|
699
|
-
*
|
|
1284
|
+
* MIME content type of the attachment.
|
|
700
1285
|
*/
|
|
701
|
-
|
|
1286
|
+
content_type: string;
|
|
702
1287
|
/**
|
|
703
|
-
*
|
|
1288
|
+
* Size of the attachment in bytes.
|
|
704
1289
|
*/
|
|
705
|
-
|
|
1290
|
+
size: number;
|
|
706
1291
|
}>;
|
|
707
|
-
};
|
|
708
|
-
export type OrganizationCreateInput = {
|
|
709
1292
|
/**
|
|
710
|
-
*
|
|
1293
|
+
* Creation date of the message. ISO 8601 UTC.
|
|
711
1294
|
*/
|
|
712
|
-
|
|
1295
|
+
date_created: string;
|
|
1296
|
+
};
|
|
1297
|
+
export type Ticket = {
|
|
713
1298
|
/**
|
|
714
|
-
*
|
|
1299
|
+
* Unique identifier of the ticket (Mongo ObjectId).
|
|
715
1300
|
*/
|
|
716
|
-
|
|
1301
|
+
id: string;
|
|
717
1302
|
/**
|
|
718
|
-
*
|
|
1303
|
+
* Current state of the ticket.
|
|
719
1304
|
*/
|
|
720
|
-
|
|
1305
|
+
status: 'waiting_on_us' | 'waiting_on_user' | 'closed';
|
|
721
1306
|
/**
|
|
722
|
-
*
|
|
1307
|
+
* Ticket category.
|
|
723
1308
|
*/
|
|
724
|
-
|
|
1309
|
+
category: 'billing' | 'technical' | 'general';
|
|
725
1310
|
/**
|
|
726
|
-
*
|
|
1311
|
+
* First 128 characters of the initial message body, with markdown formatting and newlines stripped. Used for ticket list previews.
|
|
727
1312
|
*/
|
|
728
|
-
|
|
729
|
-
};
|
|
730
|
-
export type Organization = {
|
|
1313
|
+
summary: string;
|
|
731
1314
|
/**
|
|
732
|
-
*
|
|
1315
|
+
* Closure timestamp. Null while the ticket is open.
|
|
733
1316
|
*/
|
|
734
|
-
|
|
1317
|
+
closed_at?: string;
|
|
735
1318
|
/**
|
|
736
|
-
*
|
|
1319
|
+
* Creation date of the ticket. ISO 8601 UTC.
|
|
737
1320
|
*/
|
|
738
|
-
|
|
1321
|
+
date_created: string;
|
|
739
1322
|
/**
|
|
740
|
-
*
|
|
1323
|
+
* Last update date of the ticket. ISO 8601 UTC.
|
|
741
1324
|
*/
|
|
742
|
-
|
|
1325
|
+
date_updated: string;
|
|
743
1326
|
/**
|
|
744
|
-
*
|
|
1327
|
+
* Messages on the ticket in chronological order. Internal notes are excluded. Returned by the detail endpoint only.
|
|
745
1328
|
*/
|
|
746
|
-
|
|
747
|
-
/**
|
|
748
|
-
* Maximum number of Basic clusters that can be created.
|
|
749
|
-
*/
|
|
750
|
-
basic_clusters_max: number;
|
|
751
|
-
/**
|
|
752
|
-
* Available number of Basic clusters that can be created.
|
|
753
|
-
*/
|
|
754
|
-
basic_clusters_available: number;
|
|
1329
|
+
messages?: Array<{
|
|
755
1330
|
/**
|
|
756
|
-
*
|
|
1331
|
+
* Unique identifier of the message (Mongo ObjectId).
|
|
757
1332
|
*/
|
|
758
|
-
|
|
1333
|
+
id: string;
|
|
759
1334
|
/**
|
|
760
|
-
*
|
|
1335
|
+
* Message type. Internal notes are filtered out of customer-facing responses.
|
|
761
1336
|
*/
|
|
762
|
-
|
|
1337
|
+
type: 'customer_reply' | 'agent_reply';
|
|
763
1338
|
/**
|
|
764
|
-
*
|
|
1339
|
+
* Message body in markdown.
|
|
765
1340
|
*/
|
|
766
|
-
|
|
1341
|
+
body: string;
|
|
767
1342
|
/**
|
|
768
|
-
*
|
|
1343
|
+
* First name of the author. Null when not provided.
|
|
769
1344
|
*/
|
|
770
|
-
|
|
1345
|
+
author_first_name?: string;
|
|
771
1346
|
/**
|
|
772
|
-
*
|
|
1347
|
+
* Last name of the author. Null when not provided.
|
|
773
1348
|
*/
|
|
774
|
-
|
|
1349
|
+
author_last_name?: string;
|
|
775
1350
|
/**
|
|
776
|
-
*
|
|
1351
|
+
* Attachments associated with this message.
|
|
777
1352
|
*/
|
|
778
|
-
|
|
1353
|
+
attachments?: Array<{
|
|
779
1354
|
/**
|
|
780
|
-
*
|
|
1355
|
+
* Unique identifier of the attachment (Mongo ObjectId).
|
|
781
1356
|
*/
|
|
782
1357
|
id: string;
|
|
783
1358
|
/**
|
|
784
|
-
*
|
|
1359
|
+
* Original filename as uploaded.
|
|
785
1360
|
*/
|
|
786
|
-
|
|
1361
|
+
filename: string;
|
|
1362
|
+
/**
|
|
1363
|
+
* MIME content type of the attachment.
|
|
1364
|
+
*/
|
|
1365
|
+
content_type: string;
|
|
1366
|
+
/**
|
|
1367
|
+
* Size of the attachment in bytes.
|
|
1368
|
+
*/
|
|
1369
|
+
size: number;
|
|
787
1370
|
}>;
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
};
|
|
794
|
-
export type PaymentMethod = {
|
|
795
|
-
/**
|
|
796
|
-
* Unique identifier of the organization. UUID v4 string in canonical form.
|
|
797
|
-
*/
|
|
798
|
-
id: string;
|
|
799
|
-
/**
|
|
800
|
-
* Whether organization payment method was set up and ready to use for payments.
|
|
801
|
-
*/
|
|
802
|
-
setup: boolean;
|
|
803
|
-
/**
|
|
804
|
-
* Payment method type type. Only `card` payments supported at the moment.
|
|
805
|
-
*/
|
|
806
|
-
type: 'card';
|
|
807
|
-
/**
|
|
808
|
-
* Last 4 digits of the payment card number.
|
|
809
|
-
*/
|
|
810
|
-
last4: string;
|
|
811
|
-
/**
|
|
812
|
-
* Two-digit number representing the card's expiration month.
|
|
813
|
-
*/
|
|
814
|
-
exp_month: number;
|
|
815
|
-
/**
|
|
816
|
-
* Four-digit number representing the card's expiration year.
|
|
817
|
-
*/
|
|
818
|
-
exp_year: number;
|
|
819
|
-
/**
|
|
820
|
-
* Payment card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `mastercard`, `unionpay`, `visa`, or `unknown`.
|
|
821
|
-
*/
|
|
822
|
-
brand: 'amex' | 'diners' | 'discover' | 'eftpos_au' | 'jcb' | 'mastercard' | 'unionpay' | 'visa' | 'unknown';
|
|
1371
|
+
/**
|
|
1372
|
+
* Creation date of the message. ISO 8601 UTC.
|
|
1373
|
+
*/
|
|
1374
|
+
date_created: string;
|
|
1375
|
+
}>;
|
|
823
1376
|
};
|
|
824
1377
|
export type TokenCreateInput = {
|
|
825
1378
|
/**
|
|
@@ -863,35 +1416,85 @@ export type TokenUpdateInput = {
|
|
|
863
1416
|
*/
|
|
864
1417
|
role?: 'Administrator' | 'User';
|
|
865
1418
|
};
|
|
866
|
-
export type
|
|
867
|
-
/**
|
|
868
|
-
* Hour of the usage
|
|
869
|
-
*/
|
|
870
|
-
hour?: string;
|
|
871
|
-
/**
|
|
872
|
-
* Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
|
|
873
|
-
*/
|
|
874
|
-
cluster_id: string;
|
|
1419
|
+
export type UsageFacets = {
|
|
875
1420
|
/**
|
|
876
|
-
*
|
|
1421
|
+
* List of unique cluster IDs
|
|
877
1422
|
*/
|
|
878
|
-
|
|
1423
|
+
cluster_id?: Array<string>;
|
|
879
1424
|
/**
|
|
880
|
-
*
|
|
1425
|
+
* List of unique products
|
|
881
1426
|
*/
|
|
882
|
-
product
|
|
1427
|
+
product?: Array<string>;
|
|
1428
|
+
};
|
|
1429
|
+
export type UsageResponse = {
|
|
883
1430
|
/**
|
|
884
|
-
*
|
|
1431
|
+
* Usage data
|
|
885
1432
|
*/
|
|
886
|
-
|
|
1433
|
+
data: Array<{
|
|
1434
|
+
/**
|
|
1435
|
+
* Hour of the usage
|
|
1436
|
+
*/
|
|
1437
|
+
hour: string;
|
|
1438
|
+
/**
|
|
1439
|
+
* Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
|
|
1440
|
+
*/
|
|
1441
|
+
cluster_id: string;
|
|
1442
|
+
/**
|
|
1443
|
+
* The product the usage is associated with
|
|
1444
|
+
*/
|
|
1445
|
+
product: string;
|
|
1446
|
+
/**
|
|
1447
|
+
* Consumption
|
|
1448
|
+
*/
|
|
1449
|
+
value: number;
|
|
1450
|
+
/**
|
|
1451
|
+
* Price per unit
|
|
1452
|
+
*/
|
|
1453
|
+
price: number;
|
|
1454
|
+
/**
|
|
1455
|
+
* Total cost
|
|
1456
|
+
*/
|
|
1457
|
+
total: number;
|
|
1458
|
+
}>;
|
|
1459
|
+
/**
|
|
1460
|
+
* Facets for filtering
|
|
1461
|
+
*/
|
|
1462
|
+
facets: {
|
|
1463
|
+
/**
|
|
1464
|
+
* List of unique cluster IDs
|
|
1465
|
+
*/
|
|
1466
|
+
cluster_id?: Array<string>;
|
|
1467
|
+
/**
|
|
1468
|
+
* List of unique products
|
|
1469
|
+
*/
|
|
1470
|
+
product?: Array<string>;
|
|
1471
|
+
};
|
|
1472
|
+
};
|
|
1473
|
+
export type Usage = {
|
|
1474
|
+
/**
|
|
1475
|
+
* Hour of the usage
|
|
1476
|
+
*/
|
|
1477
|
+
hour: string;
|
|
1478
|
+
/**
|
|
1479
|
+
* Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
|
|
1480
|
+
*/
|
|
1481
|
+
cluster_id: string;
|
|
1482
|
+
/**
|
|
1483
|
+
* The product the usage is associated with
|
|
1484
|
+
*/
|
|
1485
|
+
product: string;
|
|
1486
|
+
/**
|
|
1487
|
+
* Consumption
|
|
1488
|
+
*/
|
|
1489
|
+
value: number;
|
|
887
1490
|
/**
|
|
888
|
-
*
|
|
1491
|
+
* Price per unit
|
|
889
1492
|
*/
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
total: number
|
|
1493
|
+
price: number;
|
|
1494
|
+
/**
|
|
1495
|
+
* Total cost
|
|
1496
|
+
*/
|
|
1497
|
+
total: number;
|
|
895
1498
|
};
|
|
896
1499
|
export type UserCreateInput = {
|
|
897
1500
|
/**
|
|
@@ -914,14 +1517,6 @@ export type UserCreateInput = {
|
|
|
914
1517
|
* User password. Must be at least 8 characters long.
|
|
915
1518
|
*/
|
|
916
1519
|
password: string;
|
|
917
|
-
/**
|
|
918
|
-
* Status of the user. Can be `active` or `inactive`. Inactive users cannot log in or manage organization resources.
|
|
919
|
-
*/
|
|
920
|
-
status?: 'active' | 'inactive';
|
|
921
|
-
/**
|
|
922
|
-
* User role. Can be 'Administrator', 'User'.
|
|
923
|
-
*/
|
|
924
|
-
role?: 'Administrator' | 'User';
|
|
925
1520
|
};
|
|
926
1521
|
export type User = {
|
|
927
1522
|
/**
|
|
@@ -975,300 +1570,720 @@ export type UserUpdateInput = {
|
|
|
975
1570
|
*/
|
|
976
1571
|
status?: 'active' | 'inactive';
|
|
977
1572
|
};
|
|
978
|
-
export type
|
|
1573
|
+
export type ListUserOrganizationsData = {
|
|
1574
|
+
body?: never;
|
|
1575
|
+
path: {
|
|
1576
|
+
/**
|
|
1577
|
+
* User email address.
|
|
1578
|
+
*/
|
|
1579
|
+
email: string;
|
|
1580
|
+
};
|
|
1581
|
+
query?: never;
|
|
1582
|
+
url: '/users/organizations/{email}';
|
|
1583
|
+
};
|
|
1584
|
+
export type ListUserOrganizationsResponses = {
|
|
1585
|
+
/**
|
|
1586
|
+
* An array of organizations the user belongs to.
|
|
1587
|
+
*/
|
|
1588
|
+
200: Array<{
|
|
1589
|
+
/**
|
|
1590
|
+
* Unique identifier of the organization. UUID v4 string in canonical form
|
|
1591
|
+
*/
|
|
1592
|
+
realm?: string;
|
|
1593
|
+
/**
|
|
1594
|
+
* Human-readable name of the organization
|
|
1595
|
+
*/
|
|
1596
|
+
displayName?: string;
|
|
1597
|
+
}>;
|
|
1598
|
+
};
|
|
1599
|
+
export type ListUserOrganizationsResponse = ListUserOrganizationsResponses[keyof ListUserOrganizationsResponses];
|
|
1600
|
+
export type ListUsersData = {
|
|
979
1601
|
body?: never;
|
|
980
1602
|
path?: never;
|
|
981
1603
|
query?: never;
|
|
982
|
-
url: '/
|
|
1604
|
+
url: '/users';
|
|
983
1605
|
};
|
|
984
|
-
export type
|
|
1606
|
+
export type ListUsersErrors = {
|
|
985
1607
|
/**
|
|
986
1608
|
* Not authenticated
|
|
987
1609
|
*/
|
|
988
1610
|
401: unknown;
|
|
989
1611
|
};
|
|
990
|
-
export type
|
|
1612
|
+
export type ListUsersResponses = {
|
|
991
1613
|
/**
|
|
992
|
-
* An array of
|
|
1614
|
+
* An array of users
|
|
993
1615
|
*/
|
|
994
|
-
200: Array<
|
|
1616
|
+
200: Array<User>;
|
|
995
1617
|
};
|
|
996
|
-
export type
|
|
997
|
-
export type
|
|
998
|
-
body
|
|
1618
|
+
export type ListUsersResponse = ListUsersResponses[keyof ListUsersResponses];
|
|
1619
|
+
export type CreateUserData = {
|
|
1620
|
+
body: UserCreateInput;
|
|
999
1621
|
path?: never;
|
|
1000
1622
|
query?: never;
|
|
1001
|
-
url: '/
|
|
1623
|
+
url: '/users';
|
|
1002
1624
|
};
|
|
1003
|
-
export type
|
|
1625
|
+
export type CreateUserResponses = {
|
|
1004
1626
|
/**
|
|
1005
|
-
*
|
|
1627
|
+
* Successfully created. Returns created user details.
|
|
1006
1628
|
*/
|
|
1007
|
-
200:
|
|
1629
|
+
200: User;
|
|
1008
1630
|
};
|
|
1009
|
-
export type
|
|
1010
|
-
export type
|
|
1631
|
+
export type CreateUserResponse = CreateUserResponses[keyof CreateUserResponses];
|
|
1632
|
+
export type DeleteUserData = {
|
|
1011
1633
|
body?: never;
|
|
1012
|
-
path
|
|
1634
|
+
path: {
|
|
1635
|
+
/**
|
|
1636
|
+
* Unique user identifier. UUID v4 string in canonical form
|
|
1637
|
+
*/
|
|
1638
|
+
user_id: string;
|
|
1639
|
+
};
|
|
1013
1640
|
query?: never;
|
|
1014
|
-
url: '/
|
|
1641
|
+
url: '/users/{user_id}';
|
|
1015
1642
|
};
|
|
1016
|
-
export type
|
|
1643
|
+
export type DeleteUserErrors = {
|
|
1017
1644
|
/**
|
|
1018
|
-
*
|
|
1645
|
+
* Deleting own user is not allowed. Delete your organization instead.
|
|
1019
1646
|
*/
|
|
1020
|
-
|
|
1021
|
-
};
|
|
1022
|
-
export type GetPaymentMethodResponses = {
|
|
1647
|
+
400: unknown;
|
|
1023
1648
|
/**
|
|
1024
|
-
*
|
|
1649
|
+
* Not authenticated
|
|
1025
1650
|
*/
|
|
1026
|
-
|
|
1027
|
-
};
|
|
1028
|
-
export type GetPaymentMethodResponse = GetPaymentMethodResponses[keyof GetPaymentMethodResponses];
|
|
1029
|
-
export type GetPaymentMethodSecretData = {
|
|
1030
|
-
body?: never;
|
|
1031
|
-
path?: never;
|
|
1032
|
-
query?: never;
|
|
1033
|
-
url: '/billing/payment-method';
|
|
1651
|
+
401: unknown;
|
|
1034
1652
|
};
|
|
1035
|
-
export type
|
|
1653
|
+
export type DeleteUserResponses = {
|
|
1036
1654
|
/**
|
|
1037
|
-
*
|
|
1038
|
-
*
|
|
1655
|
+
* User profile information
|
|
1039
1656
|
*/
|
|
1040
|
-
200:
|
|
1041
|
-
/**
|
|
1042
|
-
* The client secret.
|
|
1043
|
-
*/
|
|
1044
|
-
id?: string;
|
|
1045
|
-
};
|
|
1657
|
+
200: User;
|
|
1046
1658
|
};
|
|
1047
|
-
export type
|
|
1048
|
-
export type
|
|
1659
|
+
export type DeleteUserResponse = DeleteUserResponses[keyof DeleteUserResponses];
|
|
1660
|
+
export type GetUserData = {
|
|
1049
1661
|
body?: never;
|
|
1050
|
-
path
|
|
1051
|
-
query: {
|
|
1052
|
-
/**
|
|
1053
|
-
* Start date for the usage. Date of oldest data point to retrieve.
|
|
1054
|
-
*/
|
|
1055
|
-
start_date: string;
|
|
1662
|
+
path: {
|
|
1056
1663
|
/**
|
|
1057
|
-
*
|
|
1664
|
+
* Unique user identifier. UUID v4 string in canonical form
|
|
1058
1665
|
*/
|
|
1059
|
-
|
|
1666
|
+
user_id: string;
|
|
1060
1667
|
};
|
|
1061
|
-
|
|
1668
|
+
query?: never;
|
|
1669
|
+
url: '/users/{user_id}';
|
|
1062
1670
|
};
|
|
1063
|
-
export type
|
|
1671
|
+
export type GetUserErrors = {
|
|
1064
1672
|
/**
|
|
1065
1673
|
* Not authenticated
|
|
1066
1674
|
*/
|
|
1067
1675
|
401: unknown;
|
|
1068
1676
|
};
|
|
1069
|
-
export type
|
|
1677
|
+
export type GetUserResponses = {
|
|
1070
1678
|
/**
|
|
1071
|
-
*
|
|
1679
|
+
* User profile information
|
|
1072
1680
|
*/
|
|
1073
|
-
200:
|
|
1681
|
+
200: User;
|
|
1074
1682
|
};
|
|
1075
|
-
export type
|
|
1076
|
-
export type
|
|
1077
|
-
body
|
|
1683
|
+
export type GetUserResponse = GetUserResponses[keyof GetUserResponses];
|
|
1684
|
+
export type UpdateUserData = {
|
|
1685
|
+
body: UserUpdateInput;
|
|
1078
1686
|
path: {
|
|
1079
1687
|
/**
|
|
1080
|
-
* Unique
|
|
1688
|
+
* Unique user identifier. UUID v4 string in canonical form
|
|
1081
1689
|
*/
|
|
1082
|
-
|
|
1690
|
+
user_id: string;
|
|
1083
1691
|
};
|
|
1084
1692
|
query?: never;
|
|
1085
|
-
url: '/
|
|
1693
|
+
url: '/users/{user_id}';
|
|
1086
1694
|
};
|
|
1087
|
-
export type
|
|
1695
|
+
export type UpdateUserResponses = {
|
|
1088
1696
|
/**
|
|
1089
|
-
*
|
|
1697
|
+
* Successfully created. Returns created user details.
|
|
1090
1698
|
*/
|
|
1091
|
-
200:
|
|
1092
|
-
html?: string;
|
|
1093
|
-
};
|
|
1699
|
+
200: User;
|
|
1094
1700
|
};
|
|
1095
|
-
export type
|
|
1096
|
-
export type
|
|
1701
|
+
export type UpdateUserResponse = UpdateUserResponses[keyof UpdateUserResponses];
|
|
1702
|
+
export type ListTokensData = {
|
|
1097
1703
|
body?: never;
|
|
1098
1704
|
path?: never;
|
|
1099
1705
|
query?: never;
|
|
1100
|
-
url: '/
|
|
1706
|
+
url: '/tokens';
|
|
1101
1707
|
};
|
|
1102
|
-
export type
|
|
1708
|
+
export type ListTokensErrors = {
|
|
1103
1709
|
/**
|
|
1104
|
-
*
|
|
1710
|
+
* Not authenticated
|
|
1105
1711
|
*/
|
|
1106
|
-
|
|
1107
|
-
};
|
|
1108
|
-
export type GetContactResponse = GetContactResponses[keyof GetContactResponses];
|
|
1109
|
-
export type UpdateContactData = {
|
|
1110
|
-
body: BillingContact;
|
|
1111
|
-
path?: never;
|
|
1112
|
-
query?: never;
|
|
1113
|
-
url: '/billing/contact';
|
|
1712
|
+
401: unknown;
|
|
1114
1713
|
};
|
|
1115
|
-
export type
|
|
1714
|
+
export type ListTokensResponses = {
|
|
1116
1715
|
/**
|
|
1117
|
-
*
|
|
1716
|
+
* Returns a list of access token details with masked secrets.
|
|
1118
1717
|
*/
|
|
1119
|
-
200:
|
|
1718
|
+
200: Array<Token>;
|
|
1120
1719
|
};
|
|
1121
|
-
export type
|
|
1122
|
-
export type
|
|
1123
|
-
body
|
|
1720
|
+
export type ListTokensResponse = ListTokensResponses[keyof ListTokensResponses];
|
|
1721
|
+
export type CreateTokenData = {
|
|
1722
|
+
body: TokenCreateInput;
|
|
1124
1723
|
path?: never;
|
|
1125
1724
|
query?: never;
|
|
1126
|
-
url: '/
|
|
1725
|
+
url: '/tokens';
|
|
1127
1726
|
};
|
|
1128
|
-
export type
|
|
1727
|
+
export type CreateTokenErrors = {
|
|
1129
1728
|
/**
|
|
1130
1729
|
* Not authenticated
|
|
1131
1730
|
*/
|
|
1132
1731
|
401: unknown;
|
|
1133
1732
|
};
|
|
1134
|
-
export type
|
|
1733
|
+
export type CreateTokenResponses = {
|
|
1135
1734
|
/**
|
|
1136
|
-
*
|
|
1735
|
+
* Successfully created. Returns created token details with unmasked/raw secret.
|
|
1137
1736
|
*/
|
|
1138
|
-
200:
|
|
1737
|
+
200: Token;
|
|
1139
1738
|
};
|
|
1140
|
-
export type
|
|
1141
|
-
export type
|
|
1142
|
-
body
|
|
1739
|
+
export type CreateTokenResponse = CreateTokenResponses[keyof CreateTokenResponses];
|
|
1740
|
+
export type DeleteTokenData = {
|
|
1741
|
+
body?: never;
|
|
1742
|
+
path: {
|
|
1143
1743
|
/**
|
|
1144
|
-
*
|
|
1744
|
+
* Generated unique identifier of the access token.
|
|
1145
1745
|
*/
|
|
1146
|
-
|
|
1746
|
+
token_id: string;
|
|
1147
1747
|
};
|
|
1148
|
-
path?: never;
|
|
1149
1748
|
query?: never;
|
|
1150
|
-
url: '/
|
|
1151
|
-
};
|
|
1152
|
-
export type RedeemCreditsErrors = {
|
|
1153
|
-
/**
|
|
1154
|
-
* Not authenticated
|
|
1155
|
-
*/
|
|
1156
|
-
401: unknown;
|
|
1749
|
+
url: '/tokens/{token_id}';
|
|
1157
1750
|
};
|
|
1158
|
-
export type
|
|
1751
|
+
export type DeleteTokenResponses = {
|
|
1159
1752
|
/**
|
|
1160
|
-
* Successfully
|
|
1753
|
+
* Successfully deleted.
|
|
1161
1754
|
*/
|
|
1162
1755
|
200: unknown;
|
|
1163
1756
|
};
|
|
1164
|
-
export type
|
|
1757
|
+
export type GetTokenData = {
|
|
1165
1758
|
body?: never;
|
|
1166
1759
|
path: {
|
|
1167
1760
|
/**
|
|
1168
|
-
*
|
|
1761
|
+
* Generated unique identifier of the access token.
|
|
1169
1762
|
*/
|
|
1170
|
-
|
|
1763
|
+
token_id: string;
|
|
1171
1764
|
};
|
|
1172
1765
|
query?: never;
|
|
1173
|
-
url: '/
|
|
1766
|
+
url: '/tokens/{token_id}';
|
|
1174
1767
|
};
|
|
1175
|
-
export type
|
|
1768
|
+
export type GetTokenErrors = {
|
|
1176
1769
|
/**
|
|
1177
1770
|
* Not authenticated
|
|
1178
1771
|
*/
|
|
1179
1772
|
401: unknown;
|
|
1180
1773
|
};
|
|
1181
|
-
export type
|
|
1774
|
+
export type GetTokenResponses = {
|
|
1182
1775
|
/**
|
|
1183
|
-
*
|
|
1776
|
+
* Returns access token details with masked secret.
|
|
1184
1777
|
*/
|
|
1185
|
-
200:
|
|
1778
|
+
200: Token;
|
|
1186
1779
|
};
|
|
1187
|
-
export type
|
|
1188
|
-
export type
|
|
1189
|
-
body:
|
|
1780
|
+
export type GetTokenResponse = GetTokenResponses[keyof GetTokenResponses];
|
|
1781
|
+
export type UpdateTokenData = {
|
|
1782
|
+
body: TokenUpdateInput;
|
|
1190
1783
|
path: {
|
|
1191
1784
|
/**
|
|
1192
|
-
*
|
|
1785
|
+
* Generated unique identifier of the access token.
|
|
1193
1786
|
*/
|
|
1194
|
-
|
|
1787
|
+
token_id: string;
|
|
1195
1788
|
};
|
|
1196
1789
|
query?: never;
|
|
1197
|
-
url: '/
|
|
1790
|
+
url: '/tokens/{token_id}';
|
|
1198
1791
|
};
|
|
1199
|
-
export type
|
|
1792
|
+
export type UpdateTokenErrors = {
|
|
1200
1793
|
/**
|
|
1201
|
-
*
|
|
1794
|
+
* Not authenticated
|
|
1202
1795
|
*/
|
|
1203
|
-
|
|
1796
|
+
401: unknown;
|
|
1204
1797
|
};
|
|
1205
|
-
export type
|
|
1206
|
-
|
|
1798
|
+
export type UpdateTokenResponses = {
|
|
1799
|
+
/**
|
|
1800
|
+
* Successfully updated. Returns updated token details with masked secret.
|
|
1801
|
+
*/
|
|
1802
|
+
200: Token;
|
|
1803
|
+
};
|
|
1804
|
+
export type UpdateTokenResponse = UpdateTokenResponses[keyof UpdateTokenResponses];
|
|
1805
|
+
export type RegenerateTokenData = {
|
|
1207
1806
|
body?: never;
|
|
1208
1807
|
path: {
|
|
1209
1808
|
/**
|
|
1210
|
-
*
|
|
1809
|
+
* Generated unique identifier of the access token.
|
|
1211
1810
|
*/
|
|
1212
|
-
|
|
1811
|
+
token_id: string;
|
|
1812
|
+
};
|
|
1813
|
+
query?: never;
|
|
1814
|
+
url: '/tokens/{token_id}/secret';
|
|
1815
|
+
};
|
|
1816
|
+
export type RegenerateTokenErrors = {
|
|
1817
|
+
/**
|
|
1818
|
+
* Not authenticated
|
|
1819
|
+
*/
|
|
1820
|
+
401: unknown;
|
|
1821
|
+
};
|
|
1822
|
+
export type RegenerateTokenResponses = {
|
|
1823
|
+
/**
|
|
1824
|
+
* Successfully updated. Returns updated token details with unmasked / raw secret.
|
|
1825
|
+
*/
|
|
1826
|
+
200: Token;
|
|
1827
|
+
};
|
|
1828
|
+
export type RegenerateTokenResponse = RegenerateTokenResponses[keyof RegenerateTokenResponses];
|
|
1829
|
+
export type ListTicketsData = {
|
|
1830
|
+
body?: never;
|
|
1831
|
+
path?: never;
|
|
1832
|
+
query?: never;
|
|
1833
|
+
url: '/tickets';
|
|
1834
|
+
};
|
|
1835
|
+
export type ListTicketsResponses = {
|
|
1836
|
+
/**
|
|
1837
|
+
* Tickets for the organization.
|
|
1838
|
+
*/
|
|
1839
|
+
200: TicketListResponse;
|
|
1840
|
+
};
|
|
1841
|
+
export type ListTicketsResponse = ListTicketsResponses[keyof ListTicketsResponses];
|
|
1842
|
+
export type CreateTicketData = {
|
|
1843
|
+
body: {
|
|
1213
1844
|
/**
|
|
1214
|
-
*
|
|
1845
|
+
* JSON-encoded TicketCreateInput.
|
|
1215
1846
|
*/
|
|
1216
|
-
|
|
1847
|
+
payload?: string;
|
|
1848
|
+
attachments?: Array<Blob | File>;
|
|
1217
1849
|
};
|
|
1850
|
+
path?: never;
|
|
1218
1851
|
query?: never;
|
|
1219
|
-
url: '/
|
|
1852
|
+
url: '/tickets';
|
|
1220
1853
|
};
|
|
1221
|
-
export type
|
|
1854
|
+
export type CreateTicketResponses = {
|
|
1222
1855
|
/**
|
|
1223
|
-
*
|
|
1856
|
+
* Ticket created.
|
|
1224
1857
|
*/
|
|
1225
|
-
200:
|
|
1858
|
+
200: Ticket;
|
|
1226
1859
|
};
|
|
1227
|
-
export type
|
|
1228
|
-
export type
|
|
1860
|
+
export type CreateTicketResponse = CreateTicketResponses[keyof CreateTicketResponses];
|
|
1861
|
+
export type CloseTicketData = {
|
|
1862
|
+
body?: never;
|
|
1863
|
+
path: {
|
|
1864
|
+
ticket_id: string;
|
|
1865
|
+
};
|
|
1866
|
+
query?: never;
|
|
1867
|
+
url: '/tickets/{ticket_id}';
|
|
1868
|
+
};
|
|
1869
|
+
export type CloseTicketResponses = {
|
|
1870
|
+
/**
|
|
1871
|
+
* Ticket closed.
|
|
1872
|
+
*/
|
|
1873
|
+
200: Ticket;
|
|
1874
|
+
};
|
|
1875
|
+
export type CloseTicketResponse = CloseTicketResponses[keyof CloseTicketResponses];
|
|
1876
|
+
export type GetTicketData = {
|
|
1229
1877
|
body?: never;
|
|
1230
1878
|
path: {
|
|
1879
|
+
ticket_id: string;
|
|
1880
|
+
};
|
|
1881
|
+
query?: never;
|
|
1882
|
+
url: '/tickets/{ticket_id}';
|
|
1883
|
+
};
|
|
1884
|
+
export type GetTicketResponses = {
|
|
1885
|
+
/**
|
|
1886
|
+
* Ticket with messages (internal notes excluded).
|
|
1887
|
+
*/
|
|
1888
|
+
200: Ticket;
|
|
1889
|
+
};
|
|
1890
|
+
export type GetTicketResponse = GetTicketResponses[keyof GetTicketResponses];
|
|
1891
|
+
export type ReplyTicketData = {
|
|
1892
|
+
body: {
|
|
1231
1893
|
/**
|
|
1232
|
-
*
|
|
1894
|
+
* JSON-encoded TicketMessageInput.
|
|
1233
1895
|
*/
|
|
1234
|
-
|
|
1896
|
+
payload?: string;
|
|
1897
|
+
attachments?: Array<Blob | File>;
|
|
1898
|
+
};
|
|
1899
|
+
path: {
|
|
1900
|
+
ticket_id: string;
|
|
1901
|
+
};
|
|
1902
|
+
query?: never;
|
|
1903
|
+
url: '/tickets/{ticket_id}/messages';
|
|
1904
|
+
};
|
|
1905
|
+
export type ReplyTicketErrors = {
|
|
1906
|
+
/**
|
|
1907
|
+
* Ticket is closed. Open a new ticket instead.
|
|
1908
|
+
*/
|
|
1909
|
+
409: unknown;
|
|
1910
|
+
};
|
|
1911
|
+
export type ReplyTicketResponses = {
|
|
1912
|
+
/**
|
|
1913
|
+
* Reply appended.
|
|
1914
|
+
*/
|
|
1915
|
+
200: TicketMessage;
|
|
1916
|
+
};
|
|
1917
|
+
export type ReplyTicketResponse = ReplyTicketResponses[keyof ReplyTicketResponses];
|
|
1918
|
+
export type GetTicketAttachmentData = {
|
|
1919
|
+
body?: never;
|
|
1920
|
+
path: {
|
|
1921
|
+
ticket_id: string;
|
|
1922
|
+
attachment_id: string;
|
|
1923
|
+
};
|
|
1924
|
+
query?: never;
|
|
1925
|
+
url: '/tickets/{ticket_id}/attachments/{attachment_id}';
|
|
1926
|
+
};
|
|
1927
|
+
export type GetTicketAttachmentResponses = {
|
|
1928
|
+
/**
|
|
1929
|
+
* Attachment binary stream.
|
|
1930
|
+
*/
|
|
1931
|
+
200: Blob | File;
|
|
1932
|
+
};
|
|
1933
|
+
export type GetTicketAttachmentResponse = GetTicketAttachmentResponses[keyof GetTicketAttachmentResponses];
|
|
1934
|
+
export type ListRepositoriesData = {
|
|
1935
|
+
body?: never;
|
|
1936
|
+
path?: never;
|
|
1937
|
+
query?: never;
|
|
1938
|
+
url: '/registry';
|
|
1939
|
+
};
|
|
1940
|
+
export type ListRepositoriesErrors = {
|
|
1941
|
+
/**
|
|
1942
|
+
* Not authenticated
|
|
1943
|
+
*/
|
|
1944
|
+
401: unknown;
|
|
1945
|
+
/**
|
|
1946
|
+
* Internal server error
|
|
1947
|
+
*/
|
|
1948
|
+
500: unknown;
|
|
1949
|
+
};
|
|
1950
|
+
export type ListRepositoriesResponses = {
|
|
1951
|
+
/**
|
|
1952
|
+
* List of repositories
|
|
1953
|
+
*/
|
|
1954
|
+
200: Array<RegistryRepository>;
|
|
1955
|
+
};
|
|
1956
|
+
export type ListRepositoriesResponse = ListRepositoriesResponses[keyof ListRepositoriesResponses];
|
|
1957
|
+
export type ListTagsData = {
|
|
1958
|
+
body?: never;
|
|
1959
|
+
path: {
|
|
1235
1960
|
/**
|
|
1236
|
-
*
|
|
1961
|
+
* Region where the repository is located
|
|
1962
|
+
*/
|
|
1963
|
+
region: string;
|
|
1964
|
+
/**
|
|
1965
|
+
* Name of the repository
|
|
1966
|
+
*/
|
|
1967
|
+
repository: string;
|
|
1968
|
+
};
|
|
1969
|
+
query?: never;
|
|
1970
|
+
url: '/registry/{region}/{repository}';
|
|
1971
|
+
};
|
|
1972
|
+
export type ListTagsErrors = {
|
|
1973
|
+
/**
|
|
1974
|
+
* Not authenticated
|
|
1975
|
+
*/
|
|
1976
|
+
401: unknown;
|
|
1977
|
+
/**
|
|
1978
|
+
* Repository not found
|
|
1979
|
+
*/
|
|
1980
|
+
404: unknown;
|
|
1981
|
+
/**
|
|
1982
|
+
* Internal server error
|
|
1983
|
+
*/
|
|
1984
|
+
500: unknown;
|
|
1985
|
+
};
|
|
1986
|
+
export type ListTagsResponses = {
|
|
1987
|
+
/**
|
|
1988
|
+
* Repository with tags
|
|
1989
|
+
*/
|
|
1990
|
+
200: RegistryRepositoryWithTags;
|
|
1991
|
+
};
|
|
1992
|
+
export type ListTagsResponse = ListTagsResponses[keyof ListTagsResponses];
|
|
1993
|
+
export type DeleteTagData = {
|
|
1994
|
+
body?: never;
|
|
1995
|
+
path: {
|
|
1996
|
+
/**
|
|
1997
|
+
* Region where the repository is located
|
|
1998
|
+
*/
|
|
1999
|
+
region: string;
|
|
2000
|
+
/**
|
|
2001
|
+
* Name of the repository
|
|
2002
|
+
*/
|
|
2003
|
+
repository: string;
|
|
2004
|
+
/**
|
|
2005
|
+
* Name of the tag
|
|
2006
|
+
*/
|
|
2007
|
+
tag: string;
|
|
2008
|
+
};
|
|
2009
|
+
query?: never;
|
|
2010
|
+
url: '/registry/{region}/{repository}/{tag}';
|
|
2011
|
+
};
|
|
2012
|
+
export type DeleteTagErrors = {
|
|
2013
|
+
/**
|
|
2014
|
+
* Not authenticated
|
|
2015
|
+
*/
|
|
2016
|
+
401: unknown;
|
|
2017
|
+
/**
|
|
2018
|
+
* Tag not found
|
|
2019
|
+
*/
|
|
2020
|
+
404: unknown;
|
|
2021
|
+
/**
|
|
2022
|
+
* Internal server error
|
|
2023
|
+
*/
|
|
2024
|
+
500: unknown;
|
|
2025
|
+
};
|
|
2026
|
+
export type DeleteTagResponses = {
|
|
2027
|
+
/**
|
|
2028
|
+
* Tag successfully deleted
|
|
2029
|
+
*/
|
|
2030
|
+
200: unknown;
|
|
2031
|
+
};
|
|
2032
|
+
export type GetTagData = {
|
|
2033
|
+
body?: never;
|
|
2034
|
+
path: {
|
|
2035
|
+
/**
|
|
2036
|
+
* Region where the repository is located
|
|
2037
|
+
*/
|
|
2038
|
+
region: string;
|
|
2039
|
+
/**
|
|
2040
|
+
* Name of the repository
|
|
2041
|
+
*/
|
|
2042
|
+
repository: string;
|
|
2043
|
+
/**
|
|
2044
|
+
* Name of the tag
|
|
2045
|
+
*/
|
|
2046
|
+
tag: string;
|
|
2047
|
+
};
|
|
2048
|
+
query?: never;
|
|
2049
|
+
url: '/registry/{region}/{repository}/{tag}';
|
|
2050
|
+
};
|
|
2051
|
+
export type GetTagErrors = {
|
|
2052
|
+
/**
|
|
2053
|
+
* Not authenticated
|
|
2054
|
+
*/
|
|
2055
|
+
401: unknown;
|
|
2056
|
+
/**
|
|
2057
|
+
* Tag not found
|
|
2058
|
+
*/
|
|
2059
|
+
404: unknown;
|
|
2060
|
+
/**
|
|
2061
|
+
* Internal server error
|
|
2062
|
+
*/
|
|
2063
|
+
500: unknown;
|
|
2064
|
+
};
|
|
2065
|
+
export type GetTagResponses = {
|
|
2066
|
+
/**
|
|
2067
|
+
* Tag details
|
|
2068
|
+
*/
|
|
2069
|
+
200: RegistryTag;
|
|
2070
|
+
};
|
|
2071
|
+
export type GetTagResponse = GetTagResponses[keyof GetTagResponses];
|
|
2072
|
+
export type GetOrganizationData = {
|
|
2073
|
+
body?: never;
|
|
2074
|
+
path?: never;
|
|
2075
|
+
query?: never;
|
|
2076
|
+
url: '/organization';
|
|
2077
|
+
};
|
|
2078
|
+
export type GetOrganizationResponses = {
|
|
2079
|
+
/**
|
|
2080
|
+
* Returns a single object containing organization details.
|
|
2081
|
+
*/
|
|
2082
|
+
200: Organization;
|
|
2083
|
+
};
|
|
2084
|
+
export type GetOrganizationResponse = GetOrganizationResponses[keyof GetOrganizationResponses];
|
|
2085
|
+
export type CreateOrganizationData = {
|
|
2086
|
+
body: OrganizationCreateInput;
|
|
2087
|
+
path?: never;
|
|
2088
|
+
query?: never;
|
|
2089
|
+
url: '/organization';
|
|
2090
|
+
};
|
|
2091
|
+
export type CreateOrganizationResponses = {
|
|
2092
|
+
/**
|
|
2093
|
+
* Organization signup accepted. Returns the generated organization id immediately; provisioning (billing, Keycloak realm, user) continues asynchronously in the background.
|
|
2094
|
+
*
|
|
2095
|
+
*/
|
|
2096
|
+
200: OrganizationCreateOutput;
|
|
2097
|
+
};
|
|
2098
|
+
export type CreateOrganizationResponse = CreateOrganizationResponses[keyof CreateOrganizationResponses];
|
|
2099
|
+
export type PostMcpData = {
|
|
2100
|
+
/**
|
|
2101
|
+
* JSON-RPC 2.0 request payload
|
|
2102
|
+
*/
|
|
2103
|
+
body: {
|
|
2104
|
+
jsonrpc?: string;
|
|
2105
|
+
method?: string;
|
|
2106
|
+
id?: string | number;
|
|
2107
|
+
/**
|
|
2108
|
+
* Method-specific parameters
|
|
2109
|
+
*/
|
|
2110
|
+
params?: {
|
|
2111
|
+
[key: string]: unknown;
|
|
2112
|
+
};
|
|
2113
|
+
};
|
|
2114
|
+
path?: never;
|
|
2115
|
+
query?: never;
|
|
2116
|
+
url: '/mcp';
|
|
2117
|
+
};
|
|
2118
|
+
export type PostMcpErrors = {
|
|
2119
|
+
/**
|
|
2120
|
+
* Not authenticated
|
|
2121
|
+
*/
|
|
2122
|
+
401: unknown;
|
|
2123
|
+
};
|
|
2124
|
+
export type PostMcpResponses = {
|
|
2125
|
+
/**
|
|
2126
|
+
* JSON-RPC 2.0 success or error response
|
|
2127
|
+
*/
|
|
2128
|
+
200: {
|
|
2129
|
+
jsonrpc?: string;
|
|
2130
|
+
id?: string | number;
|
|
2131
|
+
result?: {
|
|
2132
|
+
[key: string]: unknown;
|
|
2133
|
+
};
|
|
2134
|
+
error?: {
|
|
2135
|
+
code?: number;
|
|
2136
|
+
message?: string;
|
|
2137
|
+
};
|
|
2138
|
+
};
|
|
2139
|
+
};
|
|
2140
|
+
export type PostMcpResponse = PostMcpResponses[keyof PostMcpResponses];
|
|
2141
|
+
export type ListMarketplaceChartsData = {
|
|
2142
|
+
body?: never;
|
|
2143
|
+
path?: never;
|
|
2144
|
+
query?: never;
|
|
2145
|
+
url: '/marketplace';
|
|
2146
|
+
};
|
|
2147
|
+
export type ListMarketplaceChartsErrors = {
|
|
2148
|
+
/**
|
|
2149
|
+
* Not authenticated
|
|
2150
|
+
*/
|
|
2151
|
+
401: unknown;
|
|
2152
|
+
};
|
|
2153
|
+
export type ListMarketplaceChartsResponses = {
|
|
2154
|
+
/**
|
|
2155
|
+
* An array of chart listings in the marketplace.
|
|
2156
|
+
*/
|
|
2157
|
+
200: Array<MarketplaceListing>;
|
|
2158
|
+
};
|
|
2159
|
+
export type ListMarketplaceChartsResponse = ListMarketplaceChartsResponses[keyof ListMarketplaceChartsResponses];
|
|
2160
|
+
export type GetMarketplaceChartFilesData = {
|
|
2161
|
+
body?: never;
|
|
2162
|
+
path: {
|
|
2163
|
+
/**
|
|
2164
|
+
* Name of the chart in the marketplace.
|
|
1237
2165
|
*/
|
|
1238
2166
|
chart_name: string;
|
|
2167
|
+
/**
|
|
2168
|
+
* 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).
|
|
2169
|
+
*/
|
|
2170
|
+
version_channel: string;
|
|
1239
2171
|
};
|
|
1240
2172
|
query?: never;
|
|
1241
|
-
url: '/
|
|
2173
|
+
url: '/marketplace/{chart_name}/files/{version_channel}';
|
|
1242
2174
|
};
|
|
1243
|
-
export type
|
|
2175
|
+
export type GetMarketplaceChartFilesErrors = {
|
|
1244
2176
|
/**
|
|
1245
|
-
*
|
|
2177
|
+
* Chart not found or no version matches the channel
|
|
2178
|
+
*/
|
|
2179
|
+
404: unknown;
|
|
2180
|
+
};
|
|
2181
|
+
export type GetMarketplaceChartFilesResponses = {
|
|
2182
|
+
/**
|
|
2183
|
+
* Returns an object containing the chart files for the latest matching version.
|
|
2184
|
+
*/
|
|
2185
|
+
200: MarketplaceListingFiles;
|
|
2186
|
+
};
|
|
2187
|
+
export type GetMarketplaceChartFilesResponse = GetMarketplaceChartFilesResponses[keyof GetMarketplaceChartFilesResponses];
|
|
2188
|
+
export type ListInvitesData = {
|
|
2189
|
+
body?: never;
|
|
2190
|
+
path?: never;
|
|
2191
|
+
query?: never;
|
|
2192
|
+
url: '/invites';
|
|
2193
|
+
};
|
|
2194
|
+
export type ListInvitesErrors = {
|
|
2195
|
+
/**
|
|
2196
|
+
* Not authenticated
|
|
2197
|
+
*/
|
|
2198
|
+
401: unknown;
|
|
2199
|
+
};
|
|
2200
|
+
export type ListInvitesResponses = {
|
|
2201
|
+
/**
|
|
2202
|
+
* An array of invites
|
|
2203
|
+
*/
|
|
2204
|
+
200: Array<Invite>;
|
|
2205
|
+
};
|
|
2206
|
+
export type ListInvitesResponse = ListInvitesResponses[keyof ListInvitesResponses];
|
|
2207
|
+
export type CreateInviteData = {
|
|
2208
|
+
body: InviteCreateInput;
|
|
2209
|
+
path?: never;
|
|
2210
|
+
query?: never;
|
|
2211
|
+
url: '/invites';
|
|
2212
|
+
};
|
|
2213
|
+
export type CreateInviteResponses = {
|
|
2214
|
+
/**
|
|
2215
|
+
* Successfully created. Returns created invite details.
|
|
2216
|
+
*/
|
|
2217
|
+
200: Invite;
|
|
2218
|
+
};
|
|
2219
|
+
export type CreateInviteResponse = CreateInviteResponses[keyof CreateInviteResponses];
|
|
2220
|
+
export type GetInviteData = {
|
|
2221
|
+
body?: never;
|
|
2222
|
+
path: {
|
|
2223
|
+
/**
|
|
2224
|
+
* Invitation code
|
|
2225
|
+
*/
|
|
2226
|
+
code: string;
|
|
2227
|
+
};
|
|
2228
|
+
query?: never;
|
|
2229
|
+
url: '/invites/{code}';
|
|
2230
|
+
};
|
|
2231
|
+
export type GetInviteResponses = {
|
|
2232
|
+
/**
|
|
2233
|
+
* The invitation code is valid. Returns the invited email and organization.
|
|
2234
|
+
*/
|
|
2235
|
+
200: {
|
|
2236
|
+
/**
|
|
2237
|
+
* Email address the invite was issued to.
|
|
2238
|
+
*/
|
|
2239
|
+
email?: string;
|
|
2240
|
+
/**
|
|
2241
|
+
* Identifier of the organization the invite grants access to.
|
|
2242
|
+
*/
|
|
2243
|
+
organization_id?: string;
|
|
2244
|
+
};
|
|
2245
|
+
};
|
|
2246
|
+
export type GetInviteResponse = GetInviteResponses[keyof GetInviteResponses];
|
|
2247
|
+
export type DeleteInviteData = {
|
|
2248
|
+
body?: never;
|
|
2249
|
+
path: {
|
|
2250
|
+
/**
|
|
2251
|
+
* User email address
|
|
2252
|
+
*/
|
|
2253
|
+
email: string;
|
|
2254
|
+
};
|
|
2255
|
+
query?: never;
|
|
2256
|
+
url: '/invites/{email}';
|
|
2257
|
+
};
|
|
2258
|
+
export type DeleteInviteResponses = {
|
|
2259
|
+
/**
|
|
2260
|
+
* Successfully deleted.
|
|
1246
2261
|
*/
|
|
1247
|
-
200:
|
|
2262
|
+
200: unknown;
|
|
1248
2263
|
};
|
|
1249
|
-
export type
|
|
1250
|
-
|
|
1251
|
-
body: ChartUpdateInput;
|
|
2264
|
+
export type QueryClusterData = {
|
|
2265
|
+
body?: never;
|
|
1252
2266
|
path: {
|
|
1253
2267
|
/**
|
|
1254
2268
|
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1255
2269
|
*/
|
|
1256
2270
|
cluster_id: string;
|
|
1257
|
-
/**
|
|
1258
|
-
* Chart deployment name as the unique identifier of the chart.
|
|
1259
|
-
*/
|
|
1260
|
-
chart_name: string;
|
|
1261
2271
|
};
|
|
1262
2272
|
query?: never;
|
|
1263
|
-
url: '/clusters/{cluster_id}/
|
|
2273
|
+
url: '/clusters/{cluster_id}/query';
|
|
1264
2274
|
};
|
|
1265
|
-
export type
|
|
2275
|
+
export type QueryClusterErrors = {
|
|
1266
2276
|
/**
|
|
1267
|
-
*
|
|
2277
|
+
* Not authenticated
|
|
1268
2278
|
*/
|
|
1269
|
-
|
|
2279
|
+
401: unknown;
|
|
2280
|
+
};
|
|
2281
|
+
export type QueryClusterResponses = {
|
|
2282
|
+
/**
|
|
2283
|
+
* Kubernetes API response
|
|
2284
|
+
*/
|
|
2285
|
+
200: unknown;
|
|
1270
2286
|
};
|
|
1271
|
-
export type UpdateChartResponse = UpdateChartResponses[keyof UpdateChartResponses];
|
|
1272
2287
|
export type ListFleetsData = {
|
|
1273
2288
|
body?: never;
|
|
1274
2289
|
path: {
|
|
@@ -1309,6 +2324,10 @@ export type CreateFleetErrors = {
|
|
|
1309
2324
|
* Cluster quota exceeded. Maximum number of fleets per cluster allowed in this organization is reached.
|
|
1310
2325
|
*/
|
|
1311
2326
|
402: string;
|
|
2327
|
+
/**
|
|
2328
|
+
* The cluster cannot service this operation: it is still being created, or it is suspended. Retry once it is ready, or resume the cluster first.
|
|
2329
|
+
*/
|
|
2330
|
+
409: string;
|
|
1312
2331
|
};
|
|
1313
2332
|
export type CreateFleetError = CreateFleetErrors[keyof CreateFleetErrors];
|
|
1314
2333
|
export type CreateFleetResponses = {
|
|
@@ -1333,6 +2352,13 @@ export type DeleteFleetData = {
|
|
|
1333
2352
|
query?: never;
|
|
1334
2353
|
url: '/clusters/{cluster_id}/fleets/{fleet_name}';
|
|
1335
2354
|
};
|
|
2355
|
+
export type DeleteFleetErrors = {
|
|
2356
|
+
/**
|
|
2357
|
+
* The cluster cannot service this operation: it is still being created, or it is suspended. Retry once it is ready, or resume the cluster first.
|
|
2358
|
+
*/
|
|
2359
|
+
409: string;
|
|
2360
|
+
};
|
|
2361
|
+
export type DeleteFleetError = DeleteFleetErrors[keyof DeleteFleetErrors];
|
|
1336
2362
|
export type DeleteFleetResponses = {
|
|
1337
2363
|
/**
|
|
1338
2364
|
* Successfully deleted.
|
|
@@ -1382,6 +2408,10 @@ export type UpdateFleetErrors = {
|
|
|
1382
2408
|
* Organization must have a valid payment method configured to access this endpoint.
|
|
1383
2409
|
*/
|
|
1384
2410
|
402: string;
|
|
2411
|
+
/**
|
|
2412
|
+
* The cluster cannot service this operation: it is still being created, or it is suspended. Retry once it is ready, or resume the cluster first.
|
|
2413
|
+
*/
|
|
2414
|
+
409: string;
|
|
1385
2415
|
};
|
|
1386
2416
|
export type UpdateFleetError = UpdateFleetErrors[keyof UpdateFleetErrors];
|
|
1387
2417
|
export type UpdateFleetResponses = {
|
|
@@ -1391,7 +2421,7 @@ export type UpdateFleetResponses = {
|
|
|
1391
2421
|
200: string;
|
|
1392
2422
|
};
|
|
1393
2423
|
export type UpdateFleetResponse = UpdateFleetResponses[keyof UpdateFleetResponses];
|
|
1394
|
-
export type
|
|
2424
|
+
export type ListChartsData = {
|
|
1395
2425
|
body?: never;
|
|
1396
2426
|
path: {
|
|
1397
2427
|
/**
|
|
@@ -1400,525 +2430,485 @@ export type QueryClusterData = {
|
|
|
1400
2430
|
cluster_id: string;
|
|
1401
2431
|
};
|
|
1402
2432
|
query?: never;
|
|
1403
|
-
url: '/clusters/{cluster_id}/
|
|
1404
|
-
};
|
|
1405
|
-
export type QueryClusterErrors = {
|
|
1406
|
-
/**
|
|
1407
|
-
* Not authenticated
|
|
1408
|
-
*/
|
|
1409
|
-
401: unknown;
|
|
1410
|
-
};
|
|
1411
|
-
export type QueryClusterResponses = {
|
|
1412
|
-
/**
|
|
1413
|
-
* Kubernetes API response
|
|
1414
|
-
*/
|
|
1415
|
-
200: unknown;
|
|
1416
|
-
};
|
|
1417
|
-
export type ListClustersData = {
|
|
1418
|
-
body?: never;
|
|
1419
|
-
path?: never;
|
|
1420
|
-
query?: never;
|
|
1421
|
-
url: '/clusters';
|
|
2433
|
+
url: '/clusters/{cluster_id}/charts';
|
|
1422
2434
|
};
|
|
1423
|
-
export type
|
|
2435
|
+
export type ListChartsErrors = {
|
|
1424
2436
|
/**
|
|
1425
2437
|
* Not authenticated
|
|
1426
2438
|
*/
|
|
1427
2439
|
401: unknown;
|
|
1428
2440
|
};
|
|
1429
|
-
export type
|
|
2441
|
+
export type ListChartsResponses = {
|
|
1430
2442
|
/**
|
|
1431
|
-
* An array of
|
|
2443
|
+
* An array of charts
|
|
1432
2444
|
*/
|
|
1433
|
-
200: Array<
|
|
2445
|
+
200: Array<Chart>;
|
|
1434
2446
|
};
|
|
1435
|
-
export type
|
|
1436
|
-
export type
|
|
1437
|
-
body:
|
|
1438
|
-
path
|
|
2447
|
+
export type ListChartsResponse = ListChartsResponses[keyof ListChartsResponses];
|
|
2448
|
+
export type CreateChartData = {
|
|
2449
|
+
body: ChartCreateInput;
|
|
2450
|
+
path: {
|
|
2451
|
+
/**
|
|
2452
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2453
|
+
*/
|
|
2454
|
+
cluster_id: string;
|
|
2455
|
+
};
|
|
1439
2456
|
query?: never;
|
|
1440
|
-
url: '/clusters';
|
|
2457
|
+
url: '/clusters/{cluster_id}/charts';
|
|
1441
2458
|
};
|
|
1442
|
-
export type
|
|
2459
|
+
export type CreateChartErrors = {
|
|
1443
2460
|
/**
|
|
1444
|
-
*
|
|
2461
|
+
* The cluster cannot service this operation: it is still being created, or it is suspended. Retry once it is ready, or resume the cluster first.
|
|
1445
2462
|
*/
|
|
1446
|
-
|
|
2463
|
+
409: string;
|
|
1447
2464
|
};
|
|
1448
|
-
export type
|
|
1449
|
-
export type
|
|
2465
|
+
export type CreateChartError = CreateChartErrors[keyof CreateChartErrors];
|
|
2466
|
+
export type CreateChartResponses = {
|
|
1450
2467
|
/**
|
|
1451
|
-
* Successfully created. Returns created
|
|
2468
|
+
* Successfully created. Returns created Chart ID.
|
|
1452
2469
|
*/
|
|
1453
2470
|
200: string;
|
|
1454
2471
|
};
|
|
1455
|
-
export type
|
|
1456
|
-
export type
|
|
2472
|
+
export type CreateChartResponse = CreateChartResponses[keyof CreateChartResponses];
|
|
2473
|
+
export type DeleteChartData = {
|
|
1457
2474
|
body?: never;
|
|
1458
2475
|
path: {
|
|
1459
2476
|
/**
|
|
1460
2477
|
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1461
2478
|
*/
|
|
1462
2479
|
cluster_id: string;
|
|
2480
|
+
/**
|
|
2481
|
+
* Chart deployment name as the unique identifier of the chart.
|
|
2482
|
+
*/
|
|
2483
|
+
chart_name: string;
|
|
1463
2484
|
};
|
|
1464
2485
|
query?: never;
|
|
1465
|
-
url: '/clusters/{cluster_id}';
|
|
2486
|
+
url: '/clusters/{cluster_id}/charts/{chart_name}';
|
|
1466
2487
|
};
|
|
1467
|
-
export type
|
|
2488
|
+
export type DeleteChartErrors = {
|
|
2489
|
+
/**
|
|
2490
|
+
* The cluster cannot service this operation: it is still being created, or it is suspended. Retry once it is ready, or resume the cluster first.
|
|
2491
|
+
*/
|
|
2492
|
+
409: string;
|
|
2493
|
+
};
|
|
2494
|
+
export type DeleteChartError = DeleteChartErrors[keyof DeleteChartErrors];
|
|
2495
|
+
export type DeleteChartResponses = {
|
|
1468
2496
|
/**
|
|
1469
2497
|
* Successfully deleted.
|
|
1470
2498
|
*/
|
|
1471
2499
|
200: string;
|
|
1472
2500
|
};
|
|
1473
|
-
export type
|
|
1474
|
-
export type
|
|
2501
|
+
export type DeleteChartResponse = DeleteChartResponses[keyof DeleteChartResponses];
|
|
2502
|
+
export type GetChartData = {
|
|
1475
2503
|
body?: never;
|
|
1476
2504
|
path: {
|
|
1477
2505
|
/**
|
|
1478
2506
|
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1479
2507
|
*/
|
|
1480
2508
|
cluster_id: string;
|
|
1481
|
-
};
|
|
1482
|
-
query?: never;
|
|
1483
|
-
url: '/clusters/{cluster_id}';
|
|
1484
|
-
};
|
|
1485
|
-
export type GetClusterResponses = {
|
|
1486
|
-
/**
|
|
1487
|
-
* Returns a single object containing cluster details.
|
|
1488
|
-
*/
|
|
1489
|
-
200: Cluster;
|
|
1490
|
-
};
|
|
1491
|
-
export type GetClusterResponse = GetClusterResponses[keyof GetClusterResponses];
|
|
1492
|
-
export type UpdateClusterData = {
|
|
1493
|
-
body: ClusterUpdateInput;
|
|
1494
|
-
path: {
|
|
1495
2509
|
/**
|
|
1496
|
-
*
|
|
2510
|
+
* Chart deployment name as the unique identifier of the chart.
|
|
1497
2511
|
*/
|
|
1498
|
-
|
|
2512
|
+
chart_name: string;
|
|
1499
2513
|
};
|
|
1500
2514
|
query?: never;
|
|
1501
|
-
url: '/clusters/{cluster_id}';
|
|
2515
|
+
url: '/clusters/{cluster_id}/charts/{chart_name}';
|
|
1502
2516
|
};
|
|
1503
|
-
export type
|
|
2517
|
+
export type GetChartResponses = {
|
|
1504
2518
|
/**
|
|
1505
|
-
*
|
|
2519
|
+
* Returns a single object containing chart details.
|
|
1506
2520
|
*/
|
|
1507
|
-
200:
|
|
2521
|
+
200: Chart;
|
|
1508
2522
|
};
|
|
1509
|
-
export type
|
|
1510
|
-
export type
|
|
1511
|
-
body
|
|
2523
|
+
export type GetChartResponse = GetChartResponses[keyof GetChartResponses];
|
|
2524
|
+
export type UpdateChartData = {
|
|
2525
|
+
body: ChartUpdateInput;
|
|
1512
2526
|
path: {
|
|
1513
2527
|
/**
|
|
1514
2528
|
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1515
2529
|
*/
|
|
1516
2530
|
cluster_id: string;
|
|
2531
|
+
/**
|
|
2532
|
+
* Chart deployment name as the unique identifier of the chart.
|
|
2533
|
+
*/
|
|
2534
|
+
chart_name: string;
|
|
1517
2535
|
};
|
|
1518
2536
|
query?: never;
|
|
1519
|
-
url: '/clusters/{cluster_id}/
|
|
2537
|
+
url: '/clusters/{cluster_id}/charts/{chart_name}';
|
|
1520
2538
|
};
|
|
1521
|
-
export type
|
|
2539
|
+
export type UpdateChartErrors = {
|
|
1522
2540
|
/**
|
|
1523
|
-
*
|
|
2541
|
+
* The cluster cannot service this operation: it is still being created, or it is suspended. Retry once it is ready, or resume the cluster first.
|
|
1524
2542
|
*/
|
|
1525
|
-
|
|
2543
|
+
409: string;
|
|
1526
2544
|
};
|
|
1527
|
-
export type
|
|
2545
|
+
export type UpdateChartError = UpdateChartErrors[keyof UpdateChartErrors];
|
|
2546
|
+
export type UpdateChartResponses = {
|
|
1528
2547
|
/**
|
|
1529
|
-
*
|
|
2548
|
+
* Successfully updated.
|
|
1530
2549
|
*/
|
|
1531
|
-
200:
|
|
2550
|
+
200: string;
|
|
1532
2551
|
};
|
|
1533
|
-
export type
|
|
1534
|
-
export type
|
|
2552
|
+
export type UpdateChartResponse = UpdateChartResponses[keyof UpdateChartResponses];
|
|
2553
|
+
export type ListClustersData = {
|
|
1535
2554
|
body?: never;
|
|
1536
2555
|
path?: never;
|
|
1537
2556
|
query?: never;
|
|
1538
|
-
url: '/
|
|
2557
|
+
url: '/clusters';
|
|
1539
2558
|
};
|
|
1540
|
-
export type
|
|
2559
|
+
export type ListClustersErrors = {
|
|
1541
2560
|
/**
|
|
1542
2561
|
* Not authenticated
|
|
1543
2562
|
*/
|
|
1544
2563
|
401: unknown;
|
|
1545
2564
|
};
|
|
1546
|
-
export type
|
|
2565
|
+
export type ListClustersResponses = {
|
|
1547
2566
|
/**
|
|
1548
|
-
* An array of
|
|
2567
|
+
* An array of clusters
|
|
1549
2568
|
*/
|
|
1550
|
-
200: Array<
|
|
2569
|
+
200: Array<Cluster>;
|
|
1551
2570
|
};
|
|
1552
|
-
export type
|
|
1553
|
-
export type
|
|
1554
|
-
body:
|
|
1555
|
-
/**
|
|
1556
|
-
* User email address
|
|
1557
|
-
*/
|
|
1558
|
-
email?: string;
|
|
1559
|
-
};
|
|
2571
|
+
export type ListClustersResponse = ListClustersResponses[keyof ListClustersResponses];
|
|
2572
|
+
export type CreateClusterData = {
|
|
2573
|
+
body: ClusterCreateInput;
|
|
1560
2574
|
path?: never;
|
|
1561
2575
|
query?: never;
|
|
1562
|
-
url: '/
|
|
2576
|
+
url: '/clusters';
|
|
1563
2577
|
};
|
|
1564
|
-
export type
|
|
2578
|
+
export type CreateClusterErrors = {
|
|
1565
2579
|
/**
|
|
1566
|
-
*
|
|
2580
|
+
* Cluster quota exceeded. Maximum number of clusters allowed in this organization is reached.
|
|
1567
2581
|
*/
|
|
1568
|
-
|
|
1569
|
-
};
|
|
1570
|
-
export type CreateInviteResponse = CreateInviteResponses[keyof CreateInviteResponses];
|
|
1571
|
-
export type GetInviteData = {
|
|
1572
|
-
body?: never;
|
|
1573
|
-
path: {
|
|
1574
|
-
/**
|
|
1575
|
-
* Invitation code
|
|
1576
|
-
*/
|
|
1577
|
-
code: string;
|
|
1578
|
-
};
|
|
1579
|
-
query?: never;
|
|
1580
|
-
url: '/invites/{code}';
|
|
2582
|
+
402: string;
|
|
1581
2583
|
};
|
|
1582
|
-
export type
|
|
2584
|
+
export type CreateClusterError = CreateClusterErrors[keyof CreateClusterErrors];
|
|
2585
|
+
export type CreateClusterResponses = {
|
|
1583
2586
|
/**
|
|
1584
|
-
*
|
|
2587
|
+
* Successfully created. Returns created Cluster ID.
|
|
1585
2588
|
*/
|
|
1586
|
-
200:
|
|
2589
|
+
200: string;
|
|
1587
2590
|
};
|
|
1588
|
-
export type
|
|
1589
|
-
export type
|
|
2591
|
+
export type CreateClusterResponse = CreateClusterResponses[keyof CreateClusterResponses];
|
|
2592
|
+
export type DeleteClusterData = {
|
|
1590
2593
|
body?: never;
|
|
1591
2594
|
path: {
|
|
1592
2595
|
/**
|
|
1593
|
-
*
|
|
2596
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1594
2597
|
*/
|
|
1595
|
-
|
|
2598
|
+
cluster_id: string;
|
|
1596
2599
|
};
|
|
1597
2600
|
query?: never;
|
|
1598
|
-
url: '/
|
|
2601
|
+
url: '/clusters/{cluster_id}';
|
|
1599
2602
|
};
|
|
1600
|
-
export type
|
|
2603
|
+
export type DeleteClusterErrors = {
|
|
1601
2604
|
/**
|
|
1602
|
-
*
|
|
2605
|
+
* Cluster not found — it does not exist or has already been deleted.
|
|
1603
2606
|
*/
|
|
1604
|
-
|
|
1605
|
-
};
|
|
1606
|
-
export type ListMarketplaceChartsData = {
|
|
1607
|
-
body?: never;
|
|
1608
|
-
path?: never;
|
|
1609
|
-
query?: never;
|
|
1610
|
-
url: '/marketplace';
|
|
1611
|
-
};
|
|
1612
|
-
export type ListMarketplaceChartsErrors = {
|
|
2607
|
+
404: unknown;
|
|
1613
2608
|
/**
|
|
1614
|
-
*
|
|
2609
|
+
* The cluster cannot service this operation: it is still being created, or it is suspended. Retry once it is ready, or resume the cluster first.
|
|
1615
2610
|
*/
|
|
1616
|
-
|
|
2611
|
+
409: string;
|
|
2612
|
+
/**
|
|
2613
|
+
* Transient failure tearing down the cluster; retry the request.
|
|
2614
|
+
*/
|
|
2615
|
+
503: unknown;
|
|
1617
2616
|
};
|
|
1618
|
-
export type
|
|
2617
|
+
export type DeleteClusterError = DeleteClusterErrors[keyof DeleteClusterErrors];
|
|
2618
|
+
export type DeleteClusterResponses = {
|
|
1619
2619
|
/**
|
|
1620
|
-
*
|
|
2620
|
+
* Successfully deleted. The cluster has been torn down.
|
|
1621
2621
|
*/
|
|
1622
|
-
200:
|
|
2622
|
+
200: string;
|
|
1623
2623
|
};
|
|
1624
|
-
export type
|
|
1625
|
-
export type
|
|
2624
|
+
export type DeleteClusterResponse = DeleteClusterResponses[keyof DeleteClusterResponses];
|
|
2625
|
+
export type GetClusterData = {
|
|
1626
2626
|
body?: never;
|
|
1627
2627
|
path: {
|
|
1628
2628
|
/**
|
|
1629
|
-
* Unique identifier of the
|
|
2629
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1630
2630
|
*/
|
|
1631
|
-
|
|
2631
|
+
cluster_id: string;
|
|
1632
2632
|
};
|
|
1633
2633
|
query?: never;
|
|
1634
|
-
url: '/
|
|
2634
|
+
url: '/clusters/{cluster_id}';
|
|
1635
2635
|
};
|
|
1636
|
-
export type
|
|
2636
|
+
export type GetClusterResponses = {
|
|
1637
2637
|
/**
|
|
1638
|
-
* Returns
|
|
2638
|
+
* Returns a single object containing cluster details.
|
|
1639
2639
|
*/
|
|
1640
|
-
200:
|
|
2640
|
+
200: Cluster;
|
|
1641
2641
|
};
|
|
1642
|
-
export type
|
|
1643
|
-
export type
|
|
1644
|
-
body
|
|
1645
|
-
path
|
|
2642
|
+
export type GetClusterResponse = GetClusterResponses[keyof GetClusterResponses];
|
|
2643
|
+
export type UpdateClusterData = {
|
|
2644
|
+
body: ClusterUpdateInput;
|
|
2645
|
+
path: {
|
|
2646
|
+
/**
|
|
2647
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2648
|
+
*/
|
|
2649
|
+
cluster_id: string;
|
|
2650
|
+
};
|
|
1646
2651
|
query?: never;
|
|
1647
|
-
url: '/
|
|
2652
|
+
url: '/clusters/{cluster_id}';
|
|
1648
2653
|
};
|
|
1649
|
-
export type
|
|
2654
|
+
export type UpdateClusterErrors = {
|
|
1650
2655
|
/**
|
|
1651
|
-
*
|
|
2656
|
+
* The cluster cannot service this operation: it is still being created, or it is suspended. Retry once it is ready, or resume the cluster first.
|
|
1652
2657
|
*/
|
|
1653
|
-
|
|
1654
|
-
};
|
|
1655
|
-
export type GetOrganizationResponse = GetOrganizationResponses[keyof GetOrganizationResponses];
|
|
1656
|
-
export type CreateOrganizationData = {
|
|
1657
|
-
body: OrganizationCreateInput;
|
|
1658
|
-
path?: never;
|
|
1659
|
-
query?: never;
|
|
1660
|
-
url: '/organization';
|
|
2658
|
+
409: string;
|
|
1661
2659
|
};
|
|
1662
|
-
export type
|
|
2660
|
+
export type UpdateClusterError = UpdateClusterErrors[keyof UpdateClusterErrors];
|
|
2661
|
+
export type UpdateClusterResponses = {
|
|
1663
2662
|
/**
|
|
1664
|
-
* Successfully
|
|
2663
|
+
* Successfully updated. Returns updated cluster details.
|
|
1665
2664
|
*/
|
|
1666
|
-
200:
|
|
2665
|
+
200: Cluster;
|
|
1667
2666
|
};
|
|
1668
|
-
export type
|
|
2667
|
+
export type UpdateClusterResponse = UpdateClusterResponses[keyof UpdateClusterResponses];
|
|
2668
|
+
export type GetJoinInformationData = {
|
|
1669
2669
|
body?: never;
|
|
1670
|
-
path
|
|
2670
|
+
path: {
|
|
2671
|
+
/**
|
|
2672
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2673
|
+
*/
|
|
2674
|
+
cluster_id: string;
|
|
2675
|
+
};
|
|
1671
2676
|
query?: never;
|
|
1672
|
-
url: '/
|
|
2677
|
+
url: '/clusters/{cluster_id}/join_information';
|
|
1673
2678
|
};
|
|
1674
|
-
export type
|
|
2679
|
+
export type GetJoinInformationErrors = {
|
|
1675
2680
|
/**
|
|
1676
2681
|
* Not authenticated
|
|
1677
2682
|
*/
|
|
1678
2683
|
401: unknown;
|
|
2684
|
+
/**
|
|
2685
|
+
* The cluster cannot service this operation: it is still being created, or it is suspended. Retry once it is ready, or resume the cluster first.
|
|
2686
|
+
*/
|
|
2687
|
+
409: string;
|
|
1679
2688
|
};
|
|
1680
|
-
export type
|
|
2689
|
+
export type GetJoinInformationError = GetJoinInformationErrors[keyof GetJoinInformationErrors];
|
|
2690
|
+
export type GetJoinInformationResponses = {
|
|
1681
2691
|
/**
|
|
1682
|
-
*
|
|
2692
|
+
* An object of cluster join information
|
|
1683
2693
|
*/
|
|
1684
|
-
200:
|
|
2694
|
+
200: ClusterJoinInformation;
|
|
1685
2695
|
};
|
|
1686
|
-
export type
|
|
1687
|
-
export type
|
|
1688
|
-
body
|
|
2696
|
+
export type GetJoinInformationResponse = GetJoinInformationResponses[keyof GetJoinInformationResponses];
|
|
2697
|
+
export type GetUsageData = {
|
|
2698
|
+
body?: never;
|
|
1689
2699
|
path?: never;
|
|
1690
|
-
query?:
|
|
1691
|
-
|
|
2700
|
+
query?: {
|
|
2701
|
+
/**
|
|
2702
|
+
* 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)
|
|
2703
|
+
*/
|
|
2704
|
+
granularity?: 'hourly' | 'daily' | 'monthly';
|
|
2705
|
+
};
|
|
2706
|
+
url: '/billing/usage';
|
|
1692
2707
|
};
|
|
1693
|
-
export type
|
|
2708
|
+
export type GetUsageErrors = {
|
|
1694
2709
|
/**
|
|
1695
2710
|
* Not authenticated
|
|
1696
2711
|
*/
|
|
1697
2712
|
401: unknown;
|
|
1698
2713
|
};
|
|
1699
|
-
export type
|
|
2714
|
+
export type GetUsageResponses = {
|
|
1700
2715
|
/**
|
|
1701
|
-
*
|
|
2716
|
+
* Usage data with facets for filtering
|
|
1702
2717
|
*/
|
|
1703
|
-
200:
|
|
2718
|
+
200: UsageResponse;
|
|
1704
2719
|
};
|
|
1705
|
-
export type
|
|
1706
|
-
export type
|
|
2720
|
+
export type GetUsageResponse = GetUsageResponses[keyof GetUsageResponses];
|
|
2721
|
+
export type GetPaymentMethodSecretData = {
|
|
1707
2722
|
body?: never;
|
|
1708
|
-
path
|
|
1709
|
-
/**
|
|
1710
|
-
* Generated unique identifier of the access token.
|
|
1711
|
-
*/
|
|
1712
|
-
token_id: string;
|
|
1713
|
-
};
|
|
2723
|
+
path?: never;
|
|
1714
2724
|
query?: never;
|
|
1715
|
-
url: '/
|
|
2725
|
+
url: '/billing/payment-method';
|
|
1716
2726
|
};
|
|
1717
|
-
export type
|
|
2727
|
+
export type GetPaymentMethodSecretResponses = {
|
|
1718
2728
|
/**
|
|
1719
|
-
*
|
|
2729
|
+
* 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.
|
|
2730
|
+
*
|
|
1720
2731
|
*/
|
|
1721
|
-
200:
|
|
1722
|
-
};
|
|
1723
|
-
export type GetTokenData = {
|
|
1724
|
-
body?: never;
|
|
1725
|
-
path: {
|
|
2732
|
+
200: {
|
|
1726
2733
|
/**
|
|
1727
|
-
*
|
|
2734
|
+
* The client secret.
|
|
1728
2735
|
*/
|
|
1729
|
-
|
|
2736
|
+
id?: string;
|
|
1730
2737
|
};
|
|
2738
|
+
};
|
|
2739
|
+
export type GetPaymentMethodSecretResponse = GetPaymentMethodSecretResponses[keyof GetPaymentMethodSecretResponses];
|
|
2740
|
+
export type ListPaymentMethodsData = {
|
|
2741
|
+
body?: never;
|
|
2742
|
+
path?: never;
|
|
1731
2743
|
query?: never;
|
|
1732
|
-
url: '/
|
|
2744
|
+
url: '/billing/payment-methods';
|
|
1733
2745
|
};
|
|
1734
|
-
export type
|
|
2746
|
+
export type ListPaymentMethodsErrors = {
|
|
1735
2747
|
/**
|
|
1736
2748
|
* Not authenticated
|
|
1737
2749
|
*/
|
|
1738
2750
|
401: unknown;
|
|
1739
2751
|
};
|
|
1740
|
-
export type
|
|
2752
|
+
export type ListPaymentMethodsResponses = {
|
|
1741
2753
|
/**
|
|
1742
|
-
*
|
|
2754
|
+
* An array of payment methods.
|
|
1743
2755
|
*/
|
|
1744
|
-
200:
|
|
2756
|
+
200: Array<PaymentMethod>;
|
|
1745
2757
|
};
|
|
1746
|
-
export type
|
|
1747
|
-
export type
|
|
1748
|
-
body
|
|
2758
|
+
export type ListPaymentMethodsResponse = ListPaymentMethodsResponses[keyof ListPaymentMethodsResponses];
|
|
2759
|
+
export type SetDefaultPaymentMethodData = {
|
|
2760
|
+
body?: never;
|
|
1749
2761
|
path: {
|
|
1750
2762
|
/**
|
|
1751
|
-
*
|
|
2763
|
+
* Stripe payment method identifier.
|
|
1752
2764
|
*/
|
|
1753
|
-
|
|
2765
|
+
paymentMethodId: string;
|
|
1754
2766
|
};
|
|
1755
2767
|
query?: never;
|
|
1756
|
-
url: '/
|
|
2768
|
+
url: '/billing/payment-methods/{paymentMethodId}/default';
|
|
1757
2769
|
};
|
|
1758
|
-
export type
|
|
2770
|
+
export type SetDefaultPaymentMethodErrors = {
|
|
2771
|
+
/**
|
|
2772
|
+
* The bank transfer payment method cannot be set as the default.
|
|
2773
|
+
*/
|
|
2774
|
+
400: unknown;
|
|
1759
2775
|
/**
|
|
1760
2776
|
* Not authenticated
|
|
1761
2777
|
*/
|
|
1762
2778
|
401: unknown;
|
|
2779
|
+
/**
|
|
2780
|
+
* Payment method not found.
|
|
2781
|
+
*/
|
|
2782
|
+
404: unknown;
|
|
1763
2783
|
};
|
|
1764
|
-
export type
|
|
2784
|
+
export type SetDefaultPaymentMethodResponses = {
|
|
1765
2785
|
/**
|
|
1766
|
-
*
|
|
2786
|
+
* Default payment method updated.
|
|
1767
2787
|
*/
|
|
1768
|
-
|
|
2788
|
+
204: void;
|
|
1769
2789
|
};
|
|
1770
|
-
export type
|
|
1771
|
-
export type
|
|
2790
|
+
export type SetDefaultPaymentMethodResponse = SetDefaultPaymentMethodResponses[keyof SetDefaultPaymentMethodResponses];
|
|
2791
|
+
export type DeletePaymentMethodData = {
|
|
1772
2792
|
body?: never;
|
|
1773
2793
|
path: {
|
|
1774
2794
|
/**
|
|
1775
|
-
*
|
|
2795
|
+
* Stripe payment method identifier.
|
|
1776
2796
|
*/
|
|
1777
|
-
|
|
2797
|
+
paymentMethodId: string;
|
|
1778
2798
|
};
|
|
1779
2799
|
query?: never;
|
|
1780
|
-
url: '/
|
|
2800
|
+
url: '/billing/payment-methods/{paymentMethodId}';
|
|
1781
2801
|
};
|
|
1782
|
-
export type
|
|
2802
|
+
export type DeletePaymentMethodErrors = {
|
|
2803
|
+
/**
|
|
2804
|
+
* The bank transfer payment method cannot be removed.
|
|
2805
|
+
*/
|
|
2806
|
+
400: unknown;
|
|
1783
2807
|
/**
|
|
1784
2808
|
* Not authenticated
|
|
1785
2809
|
*/
|
|
1786
2810
|
401: unknown;
|
|
1787
|
-
};
|
|
1788
|
-
export type RegenerateTokenResponses = {
|
|
1789
2811
|
/**
|
|
1790
|
-
*
|
|
2812
|
+
* Payment method not found.
|
|
1791
2813
|
*/
|
|
1792
|
-
|
|
1793
|
-
|
|
1794
|
-
|
|
1795
|
-
|
|
1796
|
-
|
|
1797
|
-
path: {
|
|
1798
|
-
/**
|
|
1799
|
-
* User email address.
|
|
1800
|
-
*/
|
|
1801
|
-
email: string;
|
|
1802
|
-
};
|
|
1803
|
-
query?: never;
|
|
1804
|
-
url: '/users/organizations/{email}';
|
|
2814
|
+
404: unknown;
|
|
2815
|
+
/**
|
|
2816
|
+
* Cannot delete the only remaining payment method.
|
|
2817
|
+
*/
|
|
2818
|
+
409: unknown;
|
|
1805
2819
|
};
|
|
1806
|
-
export type
|
|
2820
|
+
export type DeletePaymentMethodResponses = {
|
|
1807
2821
|
/**
|
|
1808
|
-
*
|
|
2822
|
+
* Payment method deleted.
|
|
1809
2823
|
*/
|
|
1810
|
-
|
|
1811
|
-
/**
|
|
1812
|
-
* Unique identifier of the organization. UUID v4 string in canonical form
|
|
1813
|
-
*/
|
|
1814
|
-
realm?: string;
|
|
1815
|
-
/**
|
|
1816
|
-
* Human-readable name of the organization
|
|
1817
|
-
*/
|
|
1818
|
-
displayName?: string;
|
|
1819
|
-
}>;
|
|
2824
|
+
204: void;
|
|
1820
2825
|
};
|
|
1821
|
-
export type
|
|
1822
|
-
export type
|
|
2826
|
+
export type DeletePaymentMethodResponse = DeletePaymentMethodResponses[keyof DeletePaymentMethodResponses];
|
|
2827
|
+
export type ListInvoicesData = {
|
|
1823
2828
|
body?: never;
|
|
1824
2829
|
path?: never;
|
|
1825
2830
|
query?: never;
|
|
1826
|
-
url: '/
|
|
2831
|
+
url: '/billing/invoices';
|
|
1827
2832
|
};
|
|
1828
|
-
export type
|
|
2833
|
+
export type ListInvoicesErrors = {
|
|
1829
2834
|
/**
|
|
1830
2835
|
* Not authenticated
|
|
1831
2836
|
*/
|
|
1832
2837
|
401: unknown;
|
|
1833
2838
|
};
|
|
1834
|
-
export type
|
|
2839
|
+
export type ListInvoicesResponses = {
|
|
1835
2840
|
/**
|
|
1836
|
-
* An array of
|
|
2841
|
+
* An array of usage records.
|
|
1837
2842
|
*/
|
|
1838
|
-
200: Array<
|
|
2843
|
+
200: Array<Invoice>;
|
|
1839
2844
|
};
|
|
1840
|
-
export type
|
|
1841
|
-
export type
|
|
1842
|
-
body
|
|
2845
|
+
export type ListInvoicesResponse = ListInvoicesResponses[keyof ListInvoicesResponses];
|
|
2846
|
+
export type GetContactData = {
|
|
2847
|
+
body?: never;
|
|
1843
2848
|
path?: never;
|
|
1844
2849
|
query?: never;
|
|
1845
|
-
url: '/
|
|
2850
|
+
url: '/billing/contact';
|
|
1846
2851
|
};
|
|
1847
|
-
export type
|
|
2852
|
+
export type GetContactResponses = {
|
|
1848
2853
|
/**
|
|
1849
|
-
*
|
|
2854
|
+
* Returns a single object containing organization contact and billing address details.
|
|
1850
2855
|
*/
|
|
1851
|
-
200:
|
|
2856
|
+
200: BillingContact;
|
|
1852
2857
|
};
|
|
1853
|
-
export type
|
|
1854
|
-
export type
|
|
1855
|
-
body
|
|
1856
|
-
path
|
|
1857
|
-
/**
|
|
1858
|
-
* Unique user identifier. UUID v4 string in canonical form
|
|
1859
|
-
*/
|
|
1860
|
-
user_id: string;
|
|
1861
|
-
};
|
|
2858
|
+
export type GetContactResponse = GetContactResponses[keyof GetContactResponses];
|
|
2859
|
+
export type UpdateContactData = {
|
|
2860
|
+
body: BillingContact;
|
|
2861
|
+
path?: never;
|
|
1862
2862
|
query?: never;
|
|
1863
|
-
url: '/
|
|
2863
|
+
url: '/billing/contact';
|
|
1864
2864
|
};
|
|
1865
|
-
export type
|
|
2865
|
+
export type UpdateContactResponses = {
|
|
1866
2866
|
/**
|
|
1867
|
-
*
|
|
2867
|
+
* Successfully updated. Returns updated organization details.
|
|
1868
2868
|
*/
|
|
1869
|
-
|
|
2869
|
+
200: BillingContact;
|
|
2870
|
+
};
|
|
2871
|
+
export type UpdateContactResponse = UpdateContactResponses[keyof UpdateContactResponses];
|
|
2872
|
+
export type GetCreditsData = {
|
|
2873
|
+
body?: never;
|
|
2874
|
+
path?: never;
|
|
2875
|
+
query?: never;
|
|
2876
|
+
url: '/billing/credits';
|
|
2877
|
+
};
|
|
2878
|
+
export type GetCreditsErrors = {
|
|
1870
2879
|
/**
|
|
1871
2880
|
* Not authenticated
|
|
1872
2881
|
*/
|
|
1873
2882
|
401: unknown;
|
|
1874
2883
|
};
|
|
1875
|
-
export type
|
|
2884
|
+
export type GetCreditsResponses = {
|
|
1876
2885
|
/**
|
|
1877
|
-
*
|
|
2886
|
+
* An array of the applied promotional credits records.
|
|
1878
2887
|
*/
|
|
1879
|
-
200:
|
|
2888
|
+
200: Array<BillingCredits>;
|
|
1880
2889
|
};
|
|
1881
|
-
export type
|
|
1882
|
-
export type
|
|
1883
|
-
body
|
|
1884
|
-
path: {
|
|
2890
|
+
export type GetCreditsResponse = GetCreditsResponses[keyof GetCreditsResponses];
|
|
2891
|
+
export type RedeemCreditsData = {
|
|
2892
|
+
body: {
|
|
1885
2893
|
/**
|
|
1886
|
-
*
|
|
2894
|
+
* Promotional code to redeem
|
|
1887
2895
|
*/
|
|
1888
|
-
|
|
2896
|
+
code?: string;
|
|
1889
2897
|
};
|
|
2898
|
+
path?: never;
|
|
1890
2899
|
query?: never;
|
|
1891
|
-
url: '/
|
|
2900
|
+
url: '/billing/credits';
|
|
1892
2901
|
};
|
|
1893
|
-
export type
|
|
2902
|
+
export type RedeemCreditsErrors = {
|
|
1894
2903
|
/**
|
|
1895
2904
|
* Not authenticated
|
|
1896
2905
|
*/
|
|
1897
2906
|
401: unknown;
|
|
1898
2907
|
};
|
|
1899
|
-
export type
|
|
1900
|
-
/**
|
|
1901
|
-
* User profile information
|
|
1902
|
-
*/
|
|
1903
|
-
200: User;
|
|
1904
|
-
};
|
|
1905
|
-
export type GetUserResponse = GetUserResponses[keyof GetUserResponses];
|
|
1906
|
-
export type UpdateUserData = {
|
|
1907
|
-
body: UserUpdateInput;
|
|
1908
|
-
path: {
|
|
1909
|
-
/**
|
|
1910
|
-
* Unique user identifier. UUID v4 string in canonical form
|
|
1911
|
-
*/
|
|
1912
|
-
user_id: string;
|
|
1913
|
-
};
|
|
1914
|
-
query?: never;
|
|
1915
|
-
url: '/users/{user_id}';
|
|
1916
|
-
};
|
|
1917
|
-
export type UpdateUserResponses = {
|
|
2908
|
+
export type RedeemCreditsResponses = {
|
|
1918
2909
|
/**
|
|
1919
|
-
* Successfully created
|
|
2910
|
+
* Successfully created a new organization.
|
|
1920
2911
|
*/
|
|
1921
|
-
200:
|
|
2912
|
+
200: unknown;
|
|
1922
2913
|
};
|
|
1923
|
-
export type UpdateUserResponse = UpdateUserResponses[keyof UpdateUserResponses];
|
|
1924
2914
|
//# sourceMappingURL=types.gen.d.ts.map
|