@cloudfleet/sdk 0.0.1-b3d7b23 → 0.0.1-b5444d4
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 +410 -386
- package/dist/@tanstack/react-query.gen.d.ts.map +1 -1
- package/dist/@tanstack/react-query.gen.js +419 -383
- package/dist/@tanstack/react-query.gen.js.map +1 -1
- package/dist/schemas.gen.d.ts +525 -97
- package/dist/schemas.gen.d.ts.map +1 -1
- package/dist/schemas.gen.js +1318 -157
- package/dist/schemas.gen.js.map +1 -1
- package/dist/sdk.gen.d.ts +228 -216
- package/dist/sdk.gen.d.ts.map +1 -1
- package/dist/sdk.gen.js +328 -312
- package/dist/sdk.gen.js.map +1 -1
- package/dist/types.gen.d.ts +1102 -708
- package/dist/types.gen.d.ts.map +1 -1
- package/dist/zod.gen.d.ts +3205 -1376
- package/dist/zod.gen.d.ts.map +1 -1
- package/dist/zod.gen.js +1075 -313
- package/dist/zod.gen.js.map +1 -1
- package/package.json +5 -5
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
|
*/
|
|
@@ -129,9 +133,9 @@ export type Chart = {
|
|
|
129
133
|
*/
|
|
130
134
|
chart: string;
|
|
131
135
|
/**
|
|
132
|
-
* Status of the chart deployment.
|
|
136
|
+
* Status of the chart deployment (Flux HelmRelease Ready condition reason, e.g. InstallSucceeded, UpgradeFailed, Progressing).
|
|
133
137
|
*/
|
|
134
|
-
status:
|
|
138
|
+
status: string;
|
|
135
139
|
/**
|
|
136
140
|
* Current version of the chart deployment.
|
|
137
141
|
*/
|
|
@@ -169,13 +173,63 @@ export type ClusterCreateInput = {
|
|
|
169
173
|
*/
|
|
170
174
|
tier: 'basic' | 'pro';
|
|
171
175
|
/**
|
|
172
|
-
* Cloudfleet control plane region.
|
|
176
|
+
* Cloudfleet control plane region. This field can not be updated after creation.
|
|
173
177
|
*/
|
|
174
|
-
region
|
|
178
|
+
region: string;
|
|
175
179
|
/**
|
|
176
180
|
* Version of the kubernetes cluster.
|
|
177
181
|
*/
|
|
178
|
-
version_channel?:
|
|
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
|
+
};
|
|
179
233
|
};
|
|
180
234
|
export type ClusterJoinInformation = {
|
|
181
235
|
/**
|
|
@@ -190,6 +244,10 @@ export type ClusterJoinInformation = {
|
|
|
190
244
|
* Cluster DNS IP address. This is the IP address of the kube-dns service in the cluster.
|
|
191
245
|
*/
|
|
192
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;
|
|
193
251
|
/**
|
|
194
252
|
* Authentication key for the cluster.
|
|
195
253
|
*/
|
|
@@ -247,18 +305,69 @@ export type Cluster = {
|
|
|
247
305
|
*/
|
|
248
306
|
tier: 'basic' | 'pro';
|
|
249
307
|
/**
|
|
250
|
-
* Cloudfleet control plane region.
|
|
308
|
+
* Cloudfleet control plane region. This field can not be updated after creation.
|
|
251
309
|
*/
|
|
252
|
-
region
|
|
310
|
+
region: string;
|
|
311
|
+
/**
|
|
312
|
+
* Cluster networking configuration. Immutable after creation.
|
|
313
|
+
*/
|
|
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
|
+
};
|
|
253
361
|
/**
|
|
254
362
|
* Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
|
|
255
363
|
*/
|
|
256
364
|
id: string;
|
|
257
365
|
/**
|
|
258
|
-
* Status of the cluster.
|
|
366
|
+
* Status of the cluster.
|
|
259
367
|
*/
|
|
260
|
-
status: '
|
|
368
|
+
status: 'creating' | 'deployed' | 'updating' | 'disabled';
|
|
261
369
|
endpoint?: string | '';
|
|
370
|
+
endpoint_public?: string | '';
|
|
262
371
|
/**
|
|
263
372
|
* Certificate authority data for the kubernetes cluster. This is the root certificate authority for the cluster.
|
|
264
373
|
*/
|
|
@@ -297,6 +406,27 @@ export type ClusterUpdateInput = {
|
|
|
297
406
|
* Version of the kubernetes cluster.
|
|
298
407
|
*/
|
|
299
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
|
+
};
|
|
300
430
|
};
|
|
301
431
|
export type FleetCreateInput = {
|
|
302
432
|
/**
|
|
@@ -304,31 +434,56 @@ export type FleetCreateInput = {
|
|
|
304
434
|
*/
|
|
305
435
|
limits?: {
|
|
306
436
|
/**
|
|
307
|
-
* CPU limit in cores.
|
|
437
|
+
* CPU limit in cores. Maximum 100,000.
|
|
308
438
|
*/
|
|
309
|
-
cpu
|
|
439
|
+
cpu?: number;
|
|
310
440
|
};
|
|
311
441
|
gcp?: {
|
|
312
|
-
enabled
|
|
442
|
+
enabled: boolean;
|
|
313
443
|
/**
|
|
314
|
-
*
|
|
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.
|
|
315
445
|
*/
|
|
316
|
-
project
|
|
446
|
+
project?: string;
|
|
317
447
|
};
|
|
318
448
|
hetzner?: {
|
|
319
|
-
enabled
|
|
449
|
+
enabled: boolean;
|
|
320
450
|
/**
|
|
321
|
-
* Hetzner Cloud API
|
|
451
|
+
* Hetzner Cloud API token with read / write access (64 alphanumeric characters). Omit this field to keep the existing value.
|
|
322
452
|
*/
|
|
323
|
-
apiKey
|
|
453
|
+
apiKey?: string;
|
|
324
454
|
};
|
|
325
455
|
aws?: {
|
|
326
|
-
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'>;
|
|
474
|
+
/**
|
|
475
|
+
* Allowed values for `cfke.io/instance-family`.
|
|
476
|
+
*/
|
|
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'>;
|
|
327
478
|
/**
|
|
328
|
-
*
|
|
479
|
+
* Allowed values for `topology.kubernetes.io/region`.
|
|
329
480
|
*/
|
|
330
|
-
|
|
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'>;
|
|
331
482
|
};
|
|
483
|
+
/**
|
|
484
|
+
* Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.
|
|
485
|
+
*/
|
|
486
|
+
scalingProfile?: 'aggressive' | 'conservative';
|
|
332
487
|
/**
|
|
333
488
|
* Unique identifier of the kubernetes fleet.
|
|
334
489
|
*/
|
|
@@ -340,35 +495,76 @@ export type Fleet = {
|
|
|
340
495
|
*/
|
|
341
496
|
limits?: {
|
|
342
497
|
/**
|
|
343
|
-
* CPU limit in cores.
|
|
498
|
+
* CPU limit in cores. Maximum 100,000.
|
|
344
499
|
*/
|
|
345
|
-
cpu
|
|
500
|
+
cpu?: number;
|
|
346
501
|
};
|
|
347
502
|
gcp?: {
|
|
348
|
-
enabled
|
|
503
|
+
enabled: boolean;
|
|
349
504
|
/**
|
|
350
|
-
*
|
|
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.
|
|
351
506
|
*/
|
|
352
|
-
project
|
|
507
|
+
project?: string;
|
|
353
508
|
};
|
|
354
509
|
hetzner?: {
|
|
355
|
-
enabled
|
|
510
|
+
enabled: boolean;
|
|
356
511
|
/**
|
|
357
|
-
* 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.
|
|
358
513
|
*/
|
|
359
|
-
apiKey
|
|
514
|
+
apiKey?: string;
|
|
360
515
|
};
|
|
361
516
|
aws?: {
|
|
362
|
-
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?: {
|
|
363
527
|
/**
|
|
364
|
-
*
|
|
528
|
+
* Allowed values for `karpenter.sh/capacity-type`.
|
|
365
529
|
*/
|
|
366
|
-
|
|
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'>;
|
|
539
|
+
/**
|
|
540
|
+
* Allowed values for `topology.kubernetes.io/region`.
|
|
541
|
+
*/
|
|
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'>;
|
|
367
543
|
};
|
|
544
|
+
/**
|
|
545
|
+
* Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.
|
|
546
|
+
*/
|
|
547
|
+
scalingProfile: 'aggressive' | 'conservative';
|
|
368
548
|
/**
|
|
369
549
|
* Unique identifier of the kubernetes fleet.
|
|
370
550
|
*/
|
|
371
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;
|
|
372
568
|
};
|
|
373
569
|
export type FleetUpdateInput = {
|
|
374
570
|
/**
|
|
@@ -376,31 +572,66 @@ export type FleetUpdateInput = {
|
|
|
376
572
|
*/
|
|
377
573
|
limits?: {
|
|
378
574
|
/**
|
|
379
|
-
* CPU limit in cores.
|
|
575
|
+
* CPU limit in cores. Maximum 100,000.
|
|
380
576
|
*/
|
|
381
|
-
cpu
|
|
577
|
+
cpu?: number;
|
|
382
578
|
};
|
|
383
579
|
gcp?: {
|
|
384
|
-
enabled
|
|
580
|
+
enabled: boolean;
|
|
385
581
|
/**
|
|
386
|
-
*
|
|
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.
|
|
387
583
|
*/
|
|
388
|
-
project
|
|
584
|
+
project?: string;
|
|
389
585
|
};
|
|
390
586
|
hetzner?: {
|
|
391
|
-
enabled
|
|
587
|
+
enabled: boolean;
|
|
392
588
|
/**
|
|
393
|
-
* Hetzner Cloud API
|
|
589
|
+
* Hetzner Cloud API token with read / write access (64 alphanumeric characters). Omit this field to keep the existing value.
|
|
394
590
|
*/
|
|
395
|
-
apiKey
|
|
591
|
+
apiKey?: string;
|
|
396
592
|
};
|
|
397
593
|
aws?: {
|
|
398
|
-
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?: {
|
|
399
604
|
/**
|
|
400
|
-
*
|
|
605
|
+
* Allowed values for `karpenter.sh/capacity-type`.
|
|
401
606
|
*/
|
|
402
|
-
|
|
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'>;
|
|
616
|
+
/**
|
|
617
|
+
* Allowed values for `topology.kubernetes.io/region`.
|
|
618
|
+
*/
|
|
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'>;
|
|
403
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';
|
|
404
635
|
};
|
|
405
636
|
export type Invite = {
|
|
406
637
|
/**
|
|
@@ -423,6 +654,10 @@ export type Invite = {
|
|
|
423
654
|
* Generated unique invite code.
|
|
424
655
|
*/
|
|
425
656
|
code?: string;
|
|
657
|
+
/**
|
|
658
|
+
* Role the invited user will be assigned on redemption. Can be 'Administrator' or 'User'.
|
|
659
|
+
*/
|
|
660
|
+
role?: 'Administrator' | 'User';
|
|
426
661
|
};
|
|
427
662
|
export type Invoice = {
|
|
428
663
|
/**
|
|
@@ -543,6 +778,10 @@ export type MarketplaceListing = {
|
|
|
543
778
|
};
|
|
544
779
|
};
|
|
545
780
|
export type OrganizationCreateInput = {
|
|
781
|
+
/**
|
|
782
|
+
* Type of the organization. `business` for legal entities, `personal` for individuals.
|
|
783
|
+
*/
|
|
784
|
+
type: 'business' | 'personal';
|
|
546
785
|
/**
|
|
547
786
|
* Email address used for billing as a string.
|
|
548
787
|
*/
|
|
@@ -564,6 +803,12 @@ export type OrganizationCreateInput = {
|
|
|
564
803
|
*/
|
|
565
804
|
password: string;
|
|
566
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
|
+
};
|
|
567
812
|
export type Organization = {
|
|
568
813
|
/**
|
|
569
814
|
* Unique identifier of the organization. UUID v4 string in canonical form
|
|
@@ -573,6 +818,10 @@ export type Organization = {
|
|
|
573
818
|
* Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
|
|
574
819
|
*/
|
|
575
820
|
name?: string;
|
|
821
|
+
/**
|
|
822
|
+
* Type of the organization. `business` for legal entities, `personal` for individuals.
|
|
823
|
+
*/
|
|
824
|
+
type: 'business' | 'personal';
|
|
576
825
|
/**
|
|
577
826
|
* Creation date of the organization. ISO 8601 date string in UTC timezone
|
|
578
827
|
*/
|
|
@@ -631,36 +880,52 @@ export type Organization = {
|
|
|
631
880
|
* Status of the organization. Can be `active` or `closed`, or `suspended`.
|
|
632
881
|
*/
|
|
633
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';
|
|
634
887
|
};
|
|
635
888
|
export type PaymentMethod = {
|
|
636
889
|
/**
|
|
637
|
-
*
|
|
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.
|
|
638
891
|
*/
|
|
639
892
|
id: string;
|
|
640
893
|
/**
|
|
641
|
-
*
|
|
894
|
+
* Payment method type. `card`, `sepa_debit` for SEPA Direct Debit (business accounts only), or `bank_transfer` for paying invoices by bank transfer.
|
|
642
895
|
*/
|
|
643
|
-
|
|
896
|
+
type: 'card' | 'sepa_debit' | 'bank_transfer';
|
|
644
897
|
/**
|
|
645
|
-
*
|
|
646
|
-
*/
|
|
647
|
-
type: 'card';
|
|
648
|
-
/**
|
|
649
|
-
* Last 4 digits of the payment card number.
|
|
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.
|
|
650
899
|
*/
|
|
651
900
|
last4: string;
|
|
652
901
|
/**
|
|
653
|
-
* Two-digit number representing the card's expiration month.
|
|
902
|
+
* Two-digit number representing the card's expiration month. Null for SEPA Direct Debit and bank transfer.
|
|
654
903
|
*/
|
|
655
904
|
exp_month: number;
|
|
656
905
|
/**
|
|
657
|
-
* Four-digit number representing the card's expiration year.
|
|
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.
|
|
658
907
|
*/
|
|
659
908
|
exp_year: number;
|
|
660
909
|
/**
|
|
661
|
-
* Payment card brand
|
|
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.
|
|
662
915
|
*/
|
|
663
|
-
|
|
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;
|
|
664
929
|
};
|
|
665
930
|
export type PlatformQuota = {
|
|
666
931
|
/**
|
|
@@ -1252,14 +1517,6 @@ export type UserCreateInput = {
|
|
|
1252
1517
|
* User password. Must be at least 8 characters long.
|
|
1253
1518
|
*/
|
|
1254
1519
|
password: string;
|
|
1255
|
-
/**
|
|
1256
|
-
* Status of the user. Can be `active` or `inactive`. Inactive users cannot log in or manage organization resources.
|
|
1257
|
-
*/
|
|
1258
|
-
status?: 'active' | 'inactive';
|
|
1259
|
-
/**
|
|
1260
|
-
* User role. Can be 'Administrator', 'User'.
|
|
1261
|
-
*/
|
|
1262
|
-
role?: 'Administrator' | 'User';
|
|
1263
1520
|
};
|
|
1264
1521
|
export type User = {
|
|
1265
1522
|
/**
|
|
@@ -1313,525 +1570,621 @@ export type UserUpdateInput = {
|
|
|
1313
1570
|
*/
|
|
1314
1571
|
status?: 'active' | 'inactive';
|
|
1315
1572
|
};
|
|
1316
|
-
export type
|
|
1573
|
+
export type ListUserOrganizationsData = {
|
|
1317
1574
|
body?: never;
|
|
1318
|
-
path
|
|
1319
|
-
query?: {
|
|
1575
|
+
path: {
|
|
1320
1576
|
/**
|
|
1321
|
-
*
|
|
1577
|
+
* User email address.
|
|
1322
1578
|
*/
|
|
1323
|
-
|
|
1579
|
+
email: string;
|
|
1324
1580
|
};
|
|
1325
|
-
|
|
1326
|
-
};
|
|
1327
|
-
export type GetUsageErrors = {
|
|
1328
|
-
/**
|
|
1329
|
-
* Not authenticated
|
|
1330
|
-
*/
|
|
1331
|
-
401: unknown;
|
|
1581
|
+
query?: never;
|
|
1582
|
+
url: '/users/organizations/{email}';
|
|
1332
1583
|
};
|
|
1333
|
-
export type
|
|
1584
|
+
export type ListUserOrganizationsResponses = {
|
|
1334
1585
|
/**
|
|
1335
|
-
*
|
|
1586
|
+
* An array of organizations the user belongs to.
|
|
1336
1587
|
*/
|
|
1337
|
-
200:
|
|
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
|
+
}>;
|
|
1338
1598
|
};
|
|
1339
|
-
export type
|
|
1340
|
-
export type
|
|
1599
|
+
export type ListUserOrganizationsResponse = ListUserOrganizationsResponses[keyof ListUserOrganizationsResponses];
|
|
1600
|
+
export type ListUsersData = {
|
|
1341
1601
|
body?: never;
|
|
1342
1602
|
path?: never;
|
|
1343
1603
|
query?: never;
|
|
1344
|
-
url: '/
|
|
1604
|
+
url: '/users';
|
|
1345
1605
|
};
|
|
1346
|
-
export type
|
|
1606
|
+
export type ListUsersErrors = {
|
|
1347
1607
|
/**
|
|
1348
|
-
*
|
|
1608
|
+
* Not authenticated
|
|
1349
1609
|
*/
|
|
1350
|
-
|
|
1610
|
+
401: unknown;
|
|
1351
1611
|
};
|
|
1352
|
-
export type
|
|
1612
|
+
export type ListUsersResponses = {
|
|
1353
1613
|
/**
|
|
1354
|
-
*
|
|
1614
|
+
* An array of users
|
|
1355
1615
|
*/
|
|
1356
|
-
200:
|
|
1616
|
+
200: Array<User>;
|
|
1357
1617
|
};
|
|
1358
|
-
export type
|
|
1359
|
-
export type
|
|
1360
|
-
body
|
|
1618
|
+
export type ListUsersResponse = ListUsersResponses[keyof ListUsersResponses];
|
|
1619
|
+
export type CreateUserData = {
|
|
1620
|
+
body: UserCreateInput;
|
|
1361
1621
|
path?: never;
|
|
1362
1622
|
query?: never;
|
|
1363
|
-
url: '/
|
|
1623
|
+
url: '/users';
|
|
1364
1624
|
};
|
|
1365
|
-
export type
|
|
1625
|
+
export type CreateUserResponses = {
|
|
1366
1626
|
/**
|
|
1367
|
-
*
|
|
1368
|
-
*
|
|
1627
|
+
* Successfully created. Returns created user details.
|
|
1369
1628
|
*/
|
|
1370
|
-
200:
|
|
1629
|
+
200: User;
|
|
1630
|
+
};
|
|
1631
|
+
export type CreateUserResponse = CreateUserResponses[keyof CreateUserResponses];
|
|
1632
|
+
export type DeleteUserData = {
|
|
1633
|
+
body?: never;
|
|
1634
|
+
path: {
|
|
1371
1635
|
/**
|
|
1372
|
-
*
|
|
1636
|
+
* Unique user identifier. UUID v4 string in canonical form
|
|
1373
1637
|
*/
|
|
1374
|
-
|
|
1638
|
+
user_id: string;
|
|
1375
1639
|
};
|
|
1376
|
-
};
|
|
1377
|
-
export type GetPaymentMethodSecretResponse = GetPaymentMethodSecretResponses[keyof GetPaymentMethodSecretResponses];
|
|
1378
|
-
export type ListInvoicesData = {
|
|
1379
|
-
body?: never;
|
|
1380
|
-
path?: never;
|
|
1381
1640
|
query?: never;
|
|
1382
|
-
url: '/
|
|
1641
|
+
url: '/users/{user_id}';
|
|
1383
1642
|
};
|
|
1384
|
-
export type
|
|
1643
|
+
export type DeleteUserErrors = {
|
|
1644
|
+
/**
|
|
1645
|
+
* Deleting own user is not allowed. Delete your organization instead.
|
|
1646
|
+
*/
|
|
1647
|
+
400: unknown;
|
|
1385
1648
|
/**
|
|
1386
1649
|
* Not authenticated
|
|
1387
1650
|
*/
|
|
1388
1651
|
401: unknown;
|
|
1389
1652
|
};
|
|
1390
|
-
export type
|
|
1653
|
+
export type DeleteUserResponses = {
|
|
1391
1654
|
/**
|
|
1392
|
-
*
|
|
1655
|
+
* User profile information
|
|
1393
1656
|
*/
|
|
1394
|
-
200:
|
|
1657
|
+
200: User;
|
|
1395
1658
|
};
|
|
1396
|
-
export type
|
|
1397
|
-
export type
|
|
1659
|
+
export type DeleteUserResponse = DeleteUserResponses[keyof DeleteUserResponses];
|
|
1660
|
+
export type GetUserData = {
|
|
1398
1661
|
body?: never;
|
|
1399
|
-
path
|
|
1662
|
+
path: {
|
|
1663
|
+
/**
|
|
1664
|
+
* Unique user identifier. UUID v4 string in canonical form
|
|
1665
|
+
*/
|
|
1666
|
+
user_id: string;
|
|
1667
|
+
};
|
|
1400
1668
|
query?: never;
|
|
1401
|
-
url: '/
|
|
1669
|
+
url: '/users/{user_id}';
|
|
1402
1670
|
};
|
|
1403
|
-
export type
|
|
1671
|
+
export type GetUserErrors = {
|
|
1404
1672
|
/**
|
|
1405
|
-
*
|
|
1673
|
+
* Not authenticated
|
|
1406
1674
|
*/
|
|
1407
|
-
|
|
1675
|
+
401: unknown;
|
|
1408
1676
|
};
|
|
1409
|
-
export type
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1677
|
+
export type GetUserResponses = {
|
|
1678
|
+
/**
|
|
1679
|
+
* User profile information
|
|
1680
|
+
*/
|
|
1681
|
+
200: User;
|
|
1682
|
+
};
|
|
1683
|
+
export type GetUserResponse = GetUserResponses[keyof GetUserResponses];
|
|
1684
|
+
export type UpdateUserData = {
|
|
1685
|
+
body: UserUpdateInput;
|
|
1686
|
+
path: {
|
|
1687
|
+
/**
|
|
1688
|
+
* Unique user identifier. UUID v4 string in canonical form
|
|
1689
|
+
*/
|
|
1690
|
+
user_id: string;
|
|
1691
|
+
};
|
|
1413
1692
|
query?: never;
|
|
1414
|
-
url: '/
|
|
1693
|
+
url: '/users/{user_id}';
|
|
1415
1694
|
};
|
|
1416
|
-
export type
|
|
1695
|
+
export type UpdateUserResponses = {
|
|
1417
1696
|
/**
|
|
1418
|
-
* Successfully
|
|
1697
|
+
* Successfully created. Returns created user details.
|
|
1419
1698
|
*/
|
|
1420
|
-
200:
|
|
1699
|
+
200: User;
|
|
1421
1700
|
};
|
|
1422
|
-
export type
|
|
1423
|
-
export type
|
|
1701
|
+
export type UpdateUserResponse = UpdateUserResponses[keyof UpdateUserResponses];
|
|
1702
|
+
export type ListTokensData = {
|
|
1424
1703
|
body?: never;
|
|
1425
1704
|
path?: never;
|
|
1426
1705
|
query?: never;
|
|
1427
|
-
url: '/
|
|
1706
|
+
url: '/tokens';
|
|
1428
1707
|
};
|
|
1429
|
-
export type
|
|
1708
|
+
export type ListTokensErrors = {
|
|
1430
1709
|
/**
|
|
1431
1710
|
* Not authenticated
|
|
1432
1711
|
*/
|
|
1433
1712
|
401: unknown;
|
|
1434
1713
|
};
|
|
1435
|
-
export type
|
|
1714
|
+
export type ListTokensResponses = {
|
|
1436
1715
|
/**
|
|
1437
|
-
*
|
|
1716
|
+
* Returns a list of access token details with masked secrets.
|
|
1438
1717
|
*/
|
|
1439
|
-
200: Array<
|
|
1718
|
+
200: Array<Token>;
|
|
1440
1719
|
};
|
|
1441
|
-
export type
|
|
1442
|
-
export type
|
|
1443
|
-
body:
|
|
1444
|
-
/**
|
|
1445
|
-
* Promotional code to redeem
|
|
1446
|
-
*/
|
|
1447
|
-
code?: string;
|
|
1448
|
-
};
|
|
1720
|
+
export type ListTokensResponse = ListTokensResponses[keyof ListTokensResponses];
|
|
1721
|
+
export type CreateTokenData = {
|
|
1722
|
+
body: TokenCreateInput;
|
|
1449
1723
|
path?: never;
|
|
1450
1724
|
query?: never;
|
|
1451
|
-
url: '/
|
|
1725
|
+
url: '/tokens';
|
|
1452
1726
|
};
|
|
1453
|
-
export type
|
|
1727
|
+
export type CreateTokenErrors = {
|
|
1454
1728
|
/**
|
|
1455
1729
|
* Not authenticated
|
|
1456
1730
|
*/
|
|
1457
1731
|
401: unknown;
|
|
1458
1732
|
};
|
|
1459
|
-
export type
|
|
1733
|
+
export type CreateTokenResponses = {
|
|
1460
1734
|
/**
|
|
1461
|
-
* Successfully created
|
|
1735
|
+
* Successfully created. Returns created token details with unmasked/raw secret.
|
|
1736
|
+
*/
|
|
1737
|
+
200: Token;
|
|
1738
|
+
};
|
|
1739
|
+
export type CreateTokenResponse = CreateTokenResponses[keyof CreateTokenResponses];
|
|
1740
|
+
export type DeleteTokenData = {
|
|
1741
|
+
body?: never;
|
|
1742
|
+
path: {
|
|
1743
|
+
/**
|
|
1744
|
+
* Generated unique identifier of the access token.
|
|
1745
|
+
*/
|
|
1746
|
+
token_id: string;
|
|
1747
|
+
};
|
|
1748
|
+
query?: never;
|
|
1749
|
+
url: '/tokens/{token_id}';
|
|
1750
|
+
};
|
|
1751
|
+
export type DeleteTokenResponses = {
|
|
1752
|
+
/**
|
|
1753
|
+
* Successfully deleted.
|
|
1462
1754
|
*/
|
|
1463
1755
|
200: unknown;
|
|
1464
1756
|
};
|
|
1465
|
-
export type
|
|
1757
|
+
export type GetTokenData = {
|
|
1466
1758
|
body?: never;
|
|
1467
1759
|
path: {
|
|
1468
1760
|
/**
|
|
1469
|
-
*
|
|
1761
|
+
* Generated unique identifier of the access token.
|
|
1470
1762
|
*/
|
|
1471
|
-
|
|
1763
|
+
token_id: string;
|
|
1472
1764
|
};
|
|
1473
1765
|
query?: never;
|
|
1474
|
-
url: '/
|
|
1766
|
+
url: '/tokens/{token_id}';
|
|
1475
1767
|
};
|
|
1476
|
-
export type
|
|
1768
|
+
export type GetTokenErrors = {
|
|
1477
1769
|
/**
|
|
1478
1770
|
* Not authenticated
|
|
1479
1771
|
*/
|
|
1480
1772
|
401: unknown;
|
|
1481
1773
|
};
|
|
1482
|
-
export type
|
|
1774
|
+
export type GetTokenResponses = {
|
|
1483
1775
|
/**
|
|
1484
|
-
*
|
|
1776
|
+
* Returns access token details with masked secret.
|
|
1485
1777
|
*/
|
|
1486
|
-
200:
|
|
1778
|
+
200: Token;
|
|
1487
1779
|
};
|
|
1488
|
-
export type
|
|
1489
|
-
export type
|
|
1490
|
-
body:
|
|
1780
|
+
export type GetTokenResponse = GetTokenResponses[keyof GetTokenResponses];
|
|
1781
|
+
export type UpdateTokenData = {
|
|
1782
|
+
body: TokenUpdateInput;
|
|
1491
1783
|
path: {
|
|
1492
1784
|
/**
|
|
1493
|
-
*
|
|
1785
|
+
* Generated unique identifier of the access token.
|
|
1494
1786
|
*/
|
|
1495
|
-
|
|
1787
|
+
token_id: string;
|
|
1496
1788
|
};
|
|
1497
1789
|
query?: never;
|
|
1498
|
-
url: '/
|
|
1790
|
+
url: '/tokens/{token_id}';
|
|
1499
1791
|
};
|
|
1500
|
-
export type
|
|
1792
|
+
export type UpdateTokenErrors = {
|
|
1501
1793
|
/**
|
|
1502
|
-
*
|
|
1794
|
+
* Not authenticated
|
|
1503
1795
|
*/
|
|
1504
|
-
|
|
1796
|
+
401: unknown;
|
|
1505
1797
|
};
|
|
1506
|
-
export type
|
|
1507
|
-
|
|
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 = {
|
|
1508
1806
|
body?: never;
|
|
1509
1807
|
path: {
|
|
1510
1808
|
/**
|
|
1511
|
-
*
|
|
1512
|
-
*/
|
|
1513
|
-
cluster_id: string;
|
|
1514
|
-
/**
|
|
1515
|
-
* Chart deployment name as the unique identifier of the chart.
|
|
1809
|
+
* Generated unique identifier of the access token.
|
|
1516
1810
|
*/
|
|
1517
|
-
|
|
1811
|
+
token_id: string;
|
|
1518
1812
|
};
|
|
1519
1813
|
query?: never;
|
|
1520
|
-
url: '/
|
|
1814
|
+
url: '/tokens/{token_id}/secret';
|
|
1521
1815
|
};
|
|
1522
|
-
export type
|
|
1816
|
+
export type RegenerateTokenErrors = {
|
|
1523
1817
|
/**
|
|
1524
|
-
*
|
|
1818
|
+
* Not authenticated
|
|
1525
1819
|
*/
|
|
1526
|
-
|
|
1820
|
+
401: unknown;
|
|
1527
1821
|
};
|
|
1528
|
-
export type
|
|
1529
|
-
|
|
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 = {
|
|
1530
1830
|
body?: never;
|
|
1531
|
-
path
|
|
1532
|
-
/**
|
|
1533
|
-
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1534
|
-
*/
|
|
1535
|
-
cluster_id: string;
|
|
1536
|
-
/**
|
|
1537
|
-
* Chart deployment name as the unique identifier of the chart.
|
|
1538
|
-
*/
|
|
1539
|
-
chart_name: string;
|
|
1540
|
-
};
|
|
1831
|
+
path?: never;
|
|
1541
1832
|
query?: never;
|
|
1542
|
-
url: '/
|
|
1833
|
+
url: '/tickets';
|
|
1543
1834
|
};
|
|
1544
|
-
export type
|
|
1835
|
+
export type ListTicketsResponses = {
|
|
1545
1836
|
/**
|
|
1546
|
-
*
|
|
1837
|
+
* Tickets for the organization.
|
|
1547
1838
|
*/
|
|
1548
|
-
200:
|
|
1839
|
+
200: TicketListResponse;
|
|
1549
1840
|
};
|
|
1550
|
-
export type
|
|
1551
|
-
export type
|
|
1552
|
-
body:
|
|
1553
|
-
path: {
|
|
1554
|
-
/**
|
|
1555
|
-
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1556
|
-
*/
|
|
1557
|
-
cluster_id: string;
|
|
1841
|
+
export type ListTicketsResponse = ListTicketsResponses[keyof ListTicketsResponses];
|
|
1842
|
+
export type CreateTicketData = {
|
|
1843
|
+
body: {
|
|
1558
1844
|
/**
|
|
1559
|
-
*
|
|
1845
|
+
* JSON-encoded TicketCreateInput.
|
|
1560
1846
|
*/
|
|
1561
|
-
|
|
1847
|
+
payload?: string;
|
|
1848
|
+
attachments?: Array<Blob | File>;
|
|
1562
1849
|
};
|
|
1850
|
+
path?: never;
|
|
1563
1851
|
query?: never;
|
|
1564
|
-
url: '/
|
|
1852
|
+
url: '/tickets';
|
|
1565
1853
|
};
|
|
1566
|
-
export type
|
|
1854
|
+
export type CreateTicketResponses = {
|
|
1567
1855
|
/**
|
|
1568
|
-
*
|
|
1856
|
+
* Ticket created.
|
|
1569
1857
|
*/
|
|
1570
|
-
200:
|
|
1858
|
+
200: Ticket;
|
|
1571
1859
|
};
|
|
1572
|
-
export type
|
|
1573
|
-
export type
|
|
1860
|
+
export type CreateTicketResponse = CreateTicketResponses[keyof CreateTicketResponses];
|
|
1861
|
+
export type CloseTicketData = {
|
|
1574
1862
|
body?: never;
|
|
1575
1863
|
path: {
|
|
1576
|
-
|
|
1577
|
-
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1578
|
-
*/
|
|
1579
|
-
cluster_id: string;
|
|
1864
|
+
ticket_id: string;
|
|
1580
1865
|
};
|
|
1581
1866
|
query?: never;
|
|
1582
|
-
url: '/
|
|
1867
|
+
url: '/tickets/{ticket_id}';
|
|
1583
1868
|
};
|
|
1584
|
-
export type
|
|
1869
|
+
export type CloseTicketResponses = {
|
|
1585
1870
|
/**
|
|
1586
|
-
*
|
|
1871
|
+
* Ticket closed.
|
|
1587
1872
|
*/
|
|
1588
|
-
|
|
1873
|
+
200: Ticket;
|
|
1589
1874
|
};
|
|
1590
|
-
export type
|
|
1875
|
+
export type CloseTicketResponse = CloseTicketResponses[keyof CloseTicketResponses];
|
|
1876
|
+
export type GetTicketData = {
|
|
1877
|
+
body?: never;
|
|
1878
|
+
path: {
|
|
1879
|
+
ticket_id: string;
|
|
1880
|
+
};
|
|
1881
|
+
query?: never;
|
|
1882
|
+
url: '/tickets/{ticket_id}';
|
|
1883
|
+
};
|
|
1884
|
+
export type GetTicketResponses = {
|
|
1591
1885
|
/**
|
|
1592
|
-
*
|
|
1886
|
+
* Ticket with messages (internal notes excluded).
|
|
1593
1887
|
*/
|
|
1594
|
-
200:
|
|
1888
|
+
200: Ticket;
|
|
1595
1889
|
};
|
|
1596
|
-
export type
|
|
1597
|
-
export type
|
|
1598
|
-
body:
|
|
1599
|
-
path: {
|
|
1890
|
+
export type GetTicketResponse = GetTicketResponses[keyof GetTicketResponses];
|
|
1891
|
+
export type ReplyTicketData = {
|
|
1892
|
+
body: {
|
|
1600
1893
|
/**
|
|
1601
|
-
*
|
|
1894
|
+
* JSON-encoded TicketMessageInput.
|
|
1602
1895
|
*/
|
|
1603
|
-
|
|
1896
|
+
payload?: string;
|
|
1897
|
+
attachments?: Array<Blob | File>;
|
|
1898
|
+
};
|
|
1899
|
+
path: {
|
|
1900
|
+
ticket_id: string;
|
|
1604
1901
|
};
|
|
1605
1902
|
query?: never;
|
|
1606
|
-
url: '/
|
|
1903
|
+
url: '/tickets/{ticket_id}/messages';
|
|
1607
1904
|
};
|
|
1608
|
-
export type
|
|
1905
|
+
export type ReplyTicketErrors = {
|
|
1609
1906
|
/**
|
|
1610
|
-
*
|
|
1907
|
+
* Ticket is closed. Open a new ticket instead.
|
|
1611
1908
|
*/
|
|
1612
|
-
|
|
1909
|
+
409: unknown;
|
|
1613
1910
|
};
|
|
1614
|
-
export type
|
|
1615
|
-
export type CreateFleetResponses = {
|
|
1911
|
+
export type ReplyTicketResponses = {
|
|
1616
1912
|
/**
|
|
1617
|
-
*
|
|
1913
|
+
* Reply appended.
|
|
1618
1914
|
*/
|
|
1619
|
-
200:
|
|
1915
|
+
200: TicketMessage;
|
|
1620
1916
|
};
|
|
1621
|
-
export type
|
|
1622
|
-
export type
|
|
1917
|
+
export type ReplyTicketResponse = ReplyTicketResponses[keyof ReplyTicketResponses];
|
|
1918
|
+
export type GetTicketAttachmentData = {
|
|
1623
1919
|
body?: never;
|
|
1624
1920
|
path: {
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
*/
|
|
1628
|
-
cluster_id: string;
|
|
1629
|
-
/**
|
|
1630
|
-
* Unique identifier of the fleet. UUID v4 string in canonical form
|
|
1631
|
-
*/
|
|
1632
|
-
fleet_name: string;
|
|
1921
|
+
ticket_id: string;
|
|
1922
|
+
attachment_id: string;
|
|
1633
1923
|
};
|
|
1634
1924
|
query?: never;
|
|
1635
|
-
url: '/
|
|
1925
|
+
url: '/tickets/{ticket_id}/attachments/{attachment_id}';
|
|
1636
1926
|
};
|
|
1637
|
-
export type
|
|
1927
|
+
export type GetTicketAttachmentResponses = {
|
|
1638
1928
|
/**
|
|
1639
|
-
*
|
|
1929
|
+
* Attachment binary stream.
|
|
1640
1930
|
*/
|
|
1641
|
-
200:
|
|
1931
|
+
200: Blob | File;
|
|
1642
1932
|
};
|
|
1643
|
-
export type
|
|
1644
|
-
export type
|
|
1933
|
+
export type GetTicketAttachmentResponse = GetTicketAttachmentResponses[keyof GetTicketAttachmentResponses];
|
|
1934
|
+
export type ListRepositoriesData = {
|
|
1645
1935
|
body?: never;
|
|
1646
|
-
path
|
|
1647
|
-
/**
|
|
1648
|
-
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1649
|
-
*/
|
|
1650
|
-
cluster_id: string;
|
|
1651
|
-
/**
|
|
1652
|
-
* Unique identifier of the fleet. UUID v4 string in canonical form
|
|
1653
|
-
*/
|
|
1654
|
-
fleet_name: string;
|
|
1655
|
-
};
|
|
1936
|
+
path?: never;
|
|
1656
1937
|
query?: never;
|
|
1657
|
-
url: '/
|
|
1938
|
+
url: '/registry';
|
|
1658
1939
|
};
|
|
1659
|
-
export type
|
|
1940
|
+
export type ListRepositoriesErrors = {
|
|
1660
1941
|
/**
|
|
1661
|
-
*
|
|
1942
|
+
* Not authenticated
|
|
1662
1943
|
*/
|
|
1663
|
-
|
|
1944
|
+
401: unknown;
|
|
1945
|
+
/**
|
|
1946
|
+
* Internal server error
|
|
1947
|
+
*/
|
|
1948
|
+
500: unknown;
|
|
1664
1949
|
};
|
|
1665
|
-
export type
|
|
1666
|
-
|
|
1667
|
-
|
|
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;
|
|
1668
1959
|
path: {
|
|
1669
1960
|
/**
|
|
1670
|
-
*
|
|
1961
|
+
* Region where the repository is located
|
|
1671
1962
|
*/
|
|
1672
|
-
|
|
1963
|
+
region: string;
|
|
1673
1964
|
/**
|
|
1674
|
-
*
|
|
1965
|
+
* Name of the repository
|
|
1675
1966
|
*/
|
|
1676
|
-
|
|
1967
|
+
repository: string;
|
|
1677
1968
|
};
|
|
1678
1969
|
query?: never;
|
|
1679
|
-
url: '/
|
|
1970
|
+
url: '/registry/{region}/{repository}';
|
|
1680
1971
|
};
|
|
1681
|
-
export type
|
|
1972
|
+
export type ListTagsErrors = {
|
|
1682
1973
|
/**
|
|
1683
|
-
*
|
|
1974
|
+
* Not authenticated
|
|
1684
1975
|
*/
|
|
1685
|
-
|
|
1976
|
+
401: unknown;
|
|
1977
|
+
/**
|
|
1978
|
+
* Repository not found
|
|
1979
|
+
*/
|
|
1980
|
+
404: unknown;
|
|
1981
|
+
/**
|
|
1982
|
+
* Internal server error
|
|
1983
|
+
*/
|
|
1984
|
+
500: unknown;
|
|
1686
1985
|
};
|
|
1687
|
-
export type
|
|
1688
|
-
export type UpdateFleetResponses = {
|
|
1986
|
+
export type ListTagsResponses = {
|
|
1689
1987
|
/**
|
|
1690
|
-
*
|
|
1988
|
+
* Repository with tags
|
|
1691
1989
|
*/
|
|
1692
|
-
200:
|
|
1990
|
+
200: RegistryRepositoryWithTags;
|
|
1693
1991
|
};
|
|
1694
|
-
export type
|
|
1695
|
-
export type
|
|
1992
|
+
export type ListTagsResponse = ListTagsResponses[keyof ListTagsResponses];
|
|
1993
|
+
export type DeleteTagData = {
|
|
1696
1994
|
body?: never;
|
|
1697
1995
|
path: {
|
|
1698
1996
|
/**
|
|
1699
|
-
*
|
|
1997
|
+
* Region where the repository is located
|
|
1700
1998
|
*/
|
|
1701
|
-
|
|
1999
|
+
region: string;
|
|
2000
|
+
/**
|
|
2001
|
+
* Name of the repository
|
|
2002
|
+
*/
|
|
2003
|
+
repository: string;
|
|
2004
|
+
/**
|
|
2005
|
+
* Name of the tag
|
|
2006
|
+
*/
|
|
2007
|
+
tag: string;
|
|
1702
2008
|
};
|
|
1703
2009
|
query?: never;
|
|
1704
|
-
url: '/
|
|
2010
|
+
url: '/registry/{region}/{repository}/{tag}';
|
|
1705
2011
|
};
|
|
1706
|
-
export type
|
|
2012
|
+
export type DeleteTagErrors = {
|
|
1707
2013
|
/**
|
|
1708
2014
|
* Not authenticated
|
|
1709
2015
|
*/
|
|
1710
2016
|
401: unknown;
|
|
2017
|
+
/**
|
|
2018
|
+
* Tag not found
|
|
2019
|
+
*/
|
|
2020
|
+
404: unknown;
|
|
2021
|
+
/**
|
|
2022
|
+
* Internal server error
|
|
2023
|
+
*/
|
|
2024
|
+
500: unknown;
|
|
1711
2025
|
};
|
|
1712
|
-
export type
|
|
2026
|
+
export type DeleteTagResponses = {
|
|
1713
2027
|
/**
|
|
1714
|
-
*
|
|
2028
|
+
* Tag successfully deleted
|
|
1715
2029
|
*/
|
|
1716
2030
|
200: unknown;
|
|
1717
2031
|
};
|
|
1718
|
-
export type
|
|
2032
|
+
export type GetTagData = {
|
|
1719
2033
|
body?: never;
|
|
1720
|
-
path
|
|
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
|
+
};
|
|
1721
2048
|
query?: never;
|
|
1722
|
-
url: '/
|
|
2049
|
+
url: '/registry/{region}/{repository}/{tag}';
|
|
1723
2050
|
};
|
|
1724
|
-
export type
|
|
2051
|
+
export type GetTagErrors = {
|
|
1725
2052
|
/**
|
|
1726
2053
|
* Not authenticated
|
|
1727
2054
|
*/
|
|
1728
2055
|
401: unknown;
|
|
2056
|
+
/**
|
|
2057
|
+
* Tag not found
|
|
2058
|
+
*/
|
|
2059
|
+
404: unknown;
|
|
2060
|
+
/**
|
|
2061
|
+
* Internal server error
|
|
2062
|
+
*/
|
|
2063
|
+
500: unknown;
|
|
1729
2064
|
};
|
|
1730
|
-
export type
|
|
2065
|
+
export type GetTagResponses = {
|
|
1731
2066
|
/**
|
|
1732
|
-
*
|
|
2067
|
+
* Tag details
|
|
1733
2068
|
*/
|
|
1734
|
-
200:
|
|
2069
|
+
200: RegistryTag;
|
|
1735
2070
|
};
|
|
1736
|
-
export type
|
|
1737
|
-
export type
|
|
1738
|
-
body
|
|
2071
|
+
export type GetTagResponse = GetTagResponses[keyof GetTagResponses];
|
|
2072
|
+
export type GetOrganizationData = {
|
|
2073
|
+
body?: never;
|
|
1739
2074
|
path?: never;
|
|
1740
2075
|
query?: never;
|
|
1741
|
-
url: '/
|
|
2076
|
+
url: '/organization';
|
|
1742
2077
|
};
|
|
1743
|
-
export type
|
|
2078
|
+
export type GetOrganizationResponses = {
|
|
1744
2079
|
/**
|
|
1745
|
-
*
|
|
2080
|
+
* Returns a single object containing organization details.
|
|
1746
2081
|
*/
|
|
1747
|
-
|
|
2082
|
+
200: Organization;
|
|
1748
2083
|
};
|
|
1749
|
-
export type
|
|
1750
|
-
export type
|
|
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 = {
|
|
1751
2092
|
/**
|
|
1752
|
-
*
|
|
2093
|
+
* Organization signup accepted. Returns the generated organization id immediately; provisioning (billing, Keycloak realm, user) continues asynchronously in the background.
|
|
2094
|
+
*
|
|
1753
2095
|
*/
|
|
1754
|
-
200:
|
|
2096
|
+
200: OrganizationCreateOutput;
|
|
1755
2097
|
};
|
|
1756
|
-
export type
|
|
1757
|
-
export type
|
|
1758
|
-
|
|
1759
|
-
|
|
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;
|
|
1760
2107
|
/**
|
|
1761
|
-
*
|
|
2108
|
+
* Method-specific parameters
|
|
1762
2109
|
*/
|
|
1763
|
-
|
|
2110
|
+
params?: {
|
|
2111
|
+
[key: string]: unknown;
|
|
2112
|
+
};
|
|
1764
2113
|
};
|
|
2114
|
+
path?: never;
|
|
1765
2115
|
query?: never;
|
|
1766
|
-
url: '/
|
|
2116
|
+
url: '/mcp';
|
|
1767
2117
|
};
|
|
1768
|
-
export type
|
|
2118
|
+
export type PostMcpErrors = {
|
|
1769
2119
|
/**
|
|
1770
|
-
*
|
|
2120
|
+
* Not authenticated
|
|
1771
2121
|
*/
|
|
1772
|
-
|
|
2122
|
+
401: unknown;
|
|
1773
2123
|
};
|
|
1774
|
-
export type
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
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
|
+
};
|
|
1782
2138
|
};
|
|
2139
|
+
};
|
|
2140
|
+
export type PostMcpResponse = PostMcpResponses[keyof PostMcpResponses];
|
|
2141
|
+
export type ListMarketplaceChartsData = {
|
|
2142
|
+
body?: never;
|
|
2143
|
+
path?: never;
|
|
1783
2144
|
query?: never;
|
|
1784
|
-
url: '/
|
|
2145
|
+
url: '/marketplace';
|
|
1785
2146
|
};
|
|
1786
|
-
export type
|
|
2147
|
+
export type ListMarketplaceChartsErrors = {
|
|
1787
2148
|
/**
|
|
1788
|
-
*
|
|
2149
|
+
* Not authenticated
|
|
1789
2150
|
*/
|
|
1790
|
-
|
|
1791
|
-
};
|
|
1792
|
-
export type GetClusterResponse = GetClusterResponses[keyof GetClusterResponses];
|
|
1793
|
-
export type UpdateClusterData = {
|
|
1794
|
-
body: ClusterUpdateInput;
|
|
1795
|
-
path: {
|
|
1796
|
-
/**
|
|
1797
|
-
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1798
|
-
*/
|
|
1799
|
-
cluster_id: string;
|
|
1800
|
-
};
|
|
1801
|
-
query?: never;
|
|
1802
|
-
url: '/clusters/{cluster_id}';
|
|
2151
|
+
401: unknown;
|
|
1803
2152
|
};
|
|
1804
|
-
export type
|
|
2153
|
+
export type ListMarketplaceChartsResponses = {
|
|
1805
2154
|
/**
|
|
1806
|
-
*
|
|
2155
|
+
* An array of chart listings in the marketplace.
|
|
1807
2156
|
*/
|
|
1808
|
-
200:
|
|
2157
|
+
200: Array<MarketplaceListing>;
|
|
1809
2158
|
};
|
|
1810
|
-
export type
|
|
1811
|
-
export type
|
|
2159
|
+
export type ListMarketplaceChartsResponse = ListMarketplaceChartsResponses[keyof ListMarketplaceChartsResponses];
|
|
2160
|
+
export type GetMarketplaceChartFilesData = {
|
|
1812
2161
|
body?: never;
|
|
1813
2162
|
path: {
|
|
1814
2163
|
/**
|
|
1815
|
-
*
|
|
2164
|
+
* Name of the chart in the marketplace.
|
|
1816
2165
|
*/
|
|
1817
|
-
|
|
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;
|
|
1818
2171
|
};
|
|
1819
2172
|
query?: never;
|
|
1820
|
-
url: '/
|
|
2173
|
+
url: '/marketplace/{chart_name}/files/{version_channel}';
|
|
1821
2174
|
};
|
|
1822
|
-
export type
|
|
2175
|
+
export type GetMarketplaceChartFilesErrors = {
|
|
1823
2176
|
/**
|
|
1824
|
-
*
|
|
2177
|
+
* Chart not found or no version matches the channel
|
|
1825
2178
|
*/
|
|
1826
|
-
|
|
2179
|
+
404: unknown;
|
|
1827
2180
|
};
|
|
1828
|
-
export type
|
|
2181
|
+
export type GetMarketplaceChartFilesResponses = {
|
|
1829
2182
|
/**
|
|
1830
|
-
*
|
|
2183
|
+
* Returns an object containing the chart files for the latest matching version.
|
|
1831
2184
|
*/
|
|
1832
|
-
200:
|
|
2185
|
+
200: MarketplaceListingFiles;
|
|
1833
2186
|
};
|
|
1834
|
-
export type
|
|
2187
|
+
export type GetMarketplaceChartFilesResponse = GetMarketplaceChartFilesResponses[keyof GetMarketplaceChartFilesResponses];
|
|
1835
2188
|
export type ListInvitesData = {
|
|
1836
2189
|
body?: never;
|
|
1837
2190
|
path?: never;
|
|
@@ -1852,12 +2205,7 @@ export type ListInvitesResponses = {
|
|
|
1852
2205
|
};
|
|
1853
2206
|
export type ListInvitesResponse = ListInvitesResponses[keyof ListInvitesResponses];
|
|
1854
2207
|
export type CreateInviteData = {
|
|
1855
|
-
body:
|
|
1856
|
-
/**
|
|
1857
|
-
* User email address
|
|
1858
|
-
*/
|
|
1859
|
-
email?: string;
|
|
1860
|
-
};
|
|
2208
|
+
body: InviteCreateInput;
|
|
1861
2209
|
path?: never;
|
|
1862
2210
|
query?: never;
|
|
1863
2211
|
url: '/invites';
|
|
@@ -1882,9 +2230,18 @@ export type GetInviteData = {
|
|
|
1882
2230
|
};
|
|
1883
2231
|
export type GetInviteResponses = {
|
|
1884
2232
|
/**
|
|
1885
|
-
* Returns
|
|
2233
|
+
* The invitation code is valid. Returns the invited email and organization.
|
|
1886
2234
|
*/
|
|
1887
|
-
200:
|
|
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
|
+
};
|
|
1888
2245
|
};
|
|
1889
2246
|
export type GetInviteResponse = GetInviteResponses[keyof GetInviteResponses];
|
|
1890
2247
|
export type DeleteInviteData = {
|
|
@@ -1904,617 +2261,654 @@ export type DeleteInviteResponses = {
|
|
|
1904
2261
|
*/
|
|
1905
2262
|
200: unknown;
|
|
1906
2263
|
};
|
|
1907
|
-
export type
|
|
2264
|
+
export type QueryClusterData = {
|
|
1908
2265
|
body?: never;
|
|
1909
|
-
path
|
|
2266
|
+
path: {
|
|
2267
|
+
/**
|
|
2268
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2269
|
+
*/
|
|
2270
|
+
cluster_id: string;
|
|
2271
|
+
};
|
|
1910
2272
|
query?: never;
|
|
1911
|
-
url: '/
|
|
2273
|
+
url: '/clusters/{cluster_id}/query';
|
|
1912
2274
|
};
|
|
1913
|
-
export type
|
|
2275
|
+
export type QueryClusterErrors = {
|
|
1914
2276
|
/**
|
|
1915
2277
|
* Not authenticated
|
|
1916
2278
|
*/
|
|
1917
2279
|
401: unknown;
|
|
1918
2280
|
};
|
|
1919
|
-
export type
|
|
2281
|
+
export type QueryClusterResponses = {
|
|
1920
2282
|
/**
|
|
1921
|
-
*
|
|
2283
|
+
* Kubernetes API response
|
|
1922
2284
|
*/
|
|
1923
|
-
200:
|
|
2285
|
+
200: unknown;
|
|
1924
2286
|
};
|
|
1925
|
-
export type
|
|
1926
|
-
export type GetMarketplaceChartFilesData = {
|
|
2287
|
+
export type ListFleetsData = {
|
|
1927
2288
|
body?: never;
|
|
1928
2289
|
path: {
|
|
1929
2290
|
/**
|
|
1930
|
-
*
|
|
1931
|
-
*/
|
|
1932
|
-
chart_name: string;
|
|
1933
|
-
/**
|
|
1934
|
-
* 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).
|
|
2291
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1935
2292
|
*/
|
|
1936
|
-
|
|
2293
|
+
cluster_id: string;
|
|
1937
2294
|
};
|
|
1938
2295
|
query?: never;
|
|
1939
|
-
url: '/
|
|
2296
|
+
url: '/clusters/{cluster_id}/fleets';
|
|
1940
2297
|
};
|
|
1941
|
-
export type
|
|
2298
|
+
export type ListFleetsErrors = {
|
|
1942
2299
|
/**
|
|
1943
|
-
*
|
|
2300
|
+
* Not authenticated
|
|
1944
2301
|
*/
|
|
1945
|
-
|
|
2302
|
+
401: unknown;
|
|
1946
2303
|
};
|
|
1947
|
-
export type
|
|
2304
|
+
export type ListFleetsResponses = {
|
|
1948
2305
|
/**
|
|
1949
|
-
*
|
|
2306
|
+
* An array of fleets
|
|
1950
2307
|
*/
|
|
1951
|
-
200:
|
|
2308
|
+
200: Array<Fleet>;
|
|
1952
2309
|
};
|
|
1953
|
-
export type
|
|
1954
|
-
export type
|
|
1955
|
-
|
|
1956
|
-
|
|
1957
|
-
*/
|
|
1958
|
-
body: {
|
|
1959
|
-
jsonrpc?: string;
|
|
1960
|
-
method?: string;
|
|
1961
|
-
id?: string | number;
|
|
2310
|
+
export type ListFleetsResponse = ListFleetsResponses[keyof ListFleetsResponses];
|
|
2311
|
+
export type CreateFleetData = {
|
|
2312
|
+
body: FleetCreateInput;
|
|
2313
|
+
path: {
|
|
1962
2314
|
/**
|
|
1963
|
-
*
|
|
2315
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
1964
2316
|
*/
|
|
1965
|
-
|
|
1966
|
-
[key: string]: unknown;
|
|
1967
|
-
};
|
|
2317
|
+
cluster_id: string;
|
|
1968
2318
|
};
|
|
1969
|
-
path?: never;
|
|
1970
2319
|
query?: never;
|
|
1971
|
-
url: '/
|
|
2320
|
+
url: '/clusters/{cluster_id}/fleets';
|
|
1972
2321
|
};
|
|
1973
|
-
export type
|
|
2322
|
+
export type CreateFleetErrors = {
|
|
1974
2323
|
/**
|
|
1975
|
-
*
|
|
2324
|
+
* Cluster quota exceeded. Maximum number of fleets per cluster allowed in this organization is reached.
|
|
1976
2325
|
*/
|
|
1977
|
-
|
|
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;
|
|
1978
2331
|
};
|
|
1979
|
-
export type
|
|
2332
|
+
export type CreateFleetError = CreateFleetErrors[keyof CreateFleetErrors];
|
|
2333
|
+
export type CreateFleetResponses = {
|
|
1980
2334
|
/**
|
|
1981
|
-
*
|
|
2335
|
+
* Successfully created. Returns created Fleet ID.
|
|
1982
2336
|
*/
|
|
1983
|
-
200:
|
|
1984
|
-
jsonrpc?: string;
|
|
1985
|
-
id?: string | number;
|
|
1986
|
-
result?: {
|
|
1987
|
-
[key: string]: unknown;
|
|
1988
|
-
};
|
|
1989
|
-
error?: {
|
|
1990
|
-
code?: number;
|
|
1991
|
-
message?: string;
|
|
1992
|
-
};
|
|
1993
|
-
};
|
|
2337
|
+
200: string;
|
|
1994
2338
|
};
|
|
1995
|
-
export type
|
|
1996
|
-
export type
|
|
2339
|
+
export type CreateFleetResponse = CreateFleetResponses[keyof CreateFleetResponses];
|
|
2340
|
+
export type DeleteFleetData = {
|
|
1997
2341
|
body?: never;
|
|
1998
|
-
path
|
|
2342
|
+
path: {
|
|
2343
|
+
/**
|
|
2344
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2345
|
+
*/
|
|
2346
|
+
cluster_id: string;
|
|
2347
|
+
/**
|
|
2348
|
+
* Unique identifier of the fleet. UUID v4 string in canonical form
|
|
2349
|
+
*/
|
|
2350
|
+
fleet_name: string;
|
|
2351
|
+
};
|
|
1999
2352
|
query?: never;
|
|
2000
|
-
url: '/
|
|
2353
|
+
url: '/clusters/{cluster_id}/fleets/{fleet_name}';
|
|
2001
2354
|
};
|
|
2002
|
-
export type
|
|
2355
|
+
export type DeleteFleetErrors = {
|
|
2003
2356
|
/**
|
|
2004
|
-
*
|
|
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.
|
|
2005
2358
|
*/
|
|
2006
|
-
|
|
2359
|
+
409: string;
|
|
2007
2360
|
};
|
|
2008
|
-
export type
|
|
2009
|
-
export type
|
|
2010
|
-
|
|
2011
|
-
|
|
2361
|
+
export type DeleteFleetError = DeleteFleetErrors[keyof DeleteFleetErrors];
|
|
2362
|
+
export type DeleteFleetResponses = {
|
|
2363
|
+
/**
|
|
2364
|
+
* Successfully deleted.
|
|
2365
|
+
*/
|
|
2366
|
+
200: string;
|
|
2367
|
+
};
|
|
2368
|
+
export type DeleteFleetResponse = DeleteFleetResponses[keyof DeleteFleetResponses];
|
|
2369
|
+
export type GetFleetData = {
|
|
2370
|
+
body?: never;
|
|
2371
|
+
path: {
|
|
2372
|
+
/**
|
|
2373
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2374
|
+
*/
|
|
2375
|
+
cluster_id: string;
|
|
2376
|
+
/**
|
|
2377
|
+
* Unique identifier of the fleet. UUID v4 string in canonical form
|
|
2378
|
+
*/
|
|
2379
|
+
fleet_name: string;
|
|
2380
|
+
};
|
|
2012
2381
|
query?: never;
|
|
2013
|
-
url: '/
|
|
2382
|
+
url: '/clusters/{cluster_id}/fleets/{fleet_name}';
|
|
2014
2383
|
};
|
|
2015
|
-
export type
|
|
2384
|
+
export type GetFleetResponses = {
|
|
2016
2385
|
/**
|
|
2017
|
-
*
|
|
2386
|
+
* Returns a single object containing fleet details.
|
|
2018
2387
|
*/
|
|
2019
|
-
200:
|
|
2388
|
+
200: Fleet;
|
|
2020
2389
|
};
|
|
2021
|
-
export type
|
|
2022
|
-
|
|
2023
|
-
|
|
2390
|
+
export type GetFleetResponse = GetFleetResponses[keyof GetFleetResponses];
|
|
2391
|
+
export type UpdateFleetData = {
|
|
2392
|
+
body: FleetUpdateInput;
|
|
2393
|
+
path: {
|
|
2394
|
+
/**
|
|
2395
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2396
|
+
*/
|
|
2397
|
+
cluster_id: string;
|
|
2398
|
+
/**
|
|
2399
|
+
* Unique identifier of the fleet. UUID v4 string in canonical form
|
|
2400
|
+
*/
|
|
2401
|
+
fleet_name: string;
|
|
2402
|
+
};
|
|
2024
2403
|
query?: never;
|
|
2025
|
-
url: '/
|
|
2404
|
+
url: '/clusters/{cluster_id}/fleets/{fleet_name}';
|
|
2026
2405
|
};
|
|
2027
|
-
export type
|
|
2406
|
+
export type UpdateFleetErrors = {
|
|
2028
2407
|
/**
|
|
2029
|
-
*
|
|
2408
|
+
* Organization must have a valid payment method configured to access this endpoint.
|
|
2030
2409
|
*/
|
|
2031
|
-
|
|
2410
|
+
402: string;
|
|
2032
2411
|
/**
|
|
2033
|
-
*
|
|
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.
|
|
2034
2413
|
*/
|
|
2035
|
-
|
|
2414
|
+
409: string;
|
|
2036
2415
|
};
|
|
2037
|
-
export type
|
|
2416
|
+
export type UpdateFleetError = UpdateFleetErrors[keyof UpdateFleetErrors];
|
|
2417
|
+
export type UpdateFleetResponses = {
|
|
2038
2418
|
/**
|
|
2039
|
-
*
|
|
2419
|
+
* Successfully updated.
|
|
2040
2420
|
*/
|
|
2041
|
-
200:
|
|
2421
|
+
200: string;
|
|
2042
2422
|
};
|
|
2043
|
-
export type
|
|
2044
|
-
export type
|
|
2423
|
+
export type UpdateFleetResponse = UpdateFleetResponses[keyof UpdateFleetResponses];
|
|
2424
|
+
export type ListChartsData = {
|
|
2045
2425
|
body?: never;
|
|
2046
2426
|
path: {
|
|
2047
2427
|
/**
|
|
2048
|
-
*
|
|
2049
|
-
*/
|
|
2050
|
-
region: string;
|
|
2051
|
-
/**
|
|
2052
|
-
* Name of the repository
|
|
2428
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2053
2429
|
*/
|
|
2054
|
-
|
|
2430
|
+
cluster_id: string;
|
|
2055
2431
|
};
|
|
2056
2432
|
query?: never;
|
|
2057
|
-
url: '/
|
|
2433
|
+
url: '/clusters/{cluster_id}/charts';
|
|
2058
2434
|
};
|
|
2059
|
-
export type
|
|
2435
|
+
export type ListChartsErrors = {
|
|
2060
2436
|
/**
|
|
2061
2437
|
* Not authenticated
|
|
2062
2438
|
*/
|
|
2063
2439
|
401: unknown;
|
|
2440
|
+
};
|
|
2441
|
+
export type ListChartsResponses = {
|
|
2064
2442
|
/**
|
|
2065
|
-
*
|
|
2443
|
+
* An array of charts
|
|
2066
2444
|
*/
|
|
2067
|
-
|
|
2445
|
+
200: Array<Chart>;
|
|
2446
|
+
};
|
|
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
|
+
};
|
|
2456
|
+
query?: never;
|
|
2457
|
+
url: '/clusters/{cluster_id}/charts';
|
|
2458
|
+
};
|
|
2459
|
+
export type CreateChartErrors = {
|
|
2068
2460
|
/**
|
|
2069
|
-
*
|
|
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.
|
|
2070
2462
|
*/
|
|
2071
|
-
|
|
2463
|
+
409: string;
|
|
2072
2464
|
};
|
|
2073
|
-
export type
|
|
2465
|
+
export type CreateChartError = CreateChartErrors[keyof CreateChartErrors];
|
|
2466
|
+
export type CreateChartResponses = {
|
|
2074
2467
|
/**
|
|
2075
|
-
*
|
|
2468
|
+
* Successfully created. Returns created Chart ID.
|
|
2076
2469
|
*/
|
|
2077
|
-
200:
|
|
2470
|
+
200: string;
|
|
2078
2471
|
};
|
|
2079
|
-
export type
|
|
2080
|
-
export type
|
|
2472
|
+
export type CreateChartResponse = CreateChartResponses[keyof CreateChartResponses];
|
|
2473
|
+
export type DeleteChartData = {
|
|
2081
2474
|
body?: never;
|
|
2082
2475
|
path: {
|
|
2083
2476
|
/**
|
|
2084
|
-
*
|
|
2085
|
-
*/
|
|
2086
|
-
region: string;
|
|
2087
|
-
/**
|
|
2088
|
-
* Name of the repository
|
|
2477
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2089
2478
|
*/
|
|
2090
|
-
|
|
2479
|
+
cluster_id: string;
|
|
2091
2480
|
/**
|
|
2092
|
-
*
|
|
2481
|
+
* Chart deployment name as the unique identifier of the chart.
|
|
2093
2482
|
*/
|
|
2094
|
-
|
|
2483
|
+
chart_name: string;
|
|
2095
2484
|
};
|
|
2096
2485
|
query?: never;
|
|
2097
|
-
url: '/
|
|
2486
|
+
url: '/clusters/{cluster_id}/charts/{chart_name}';
|
|
2098
2487
|
};
|
|
2099
|
-
export type
|
|
2100
|
-
/**
|
|
2101
|
-
* Not authenticated
|
|
2102
|
-
*/
|
|
2103
|
-
401: unknown;
|
|
2104
|
-
/**
|
|
2105
|
-
* Tag not found
|
|
2106
|
-
*/
|
|
2107
|
-
404: unknown;
|
|
2488
|
+
export type DeleteChartErrors = {
|
|
2108
2489
|
/**
|
|
2109
|
-
*
|
|
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.
|
|
2110
2491
|
*/
|
|
2111
|
-
|
|
2492
|
+
409: string;
|
|
2112
2493
|
};
|
|
2113
|
-
export type
|
|
2494
|
+
export type DeleteChartError = DeleteChartErrors[keyof DeleteChartErrors];
|
|
2495
|
+
export type DeleteChartResponses = {
|
|
2114
2496
|
/**
|
|
2115
|
-
*
|
|
2497
|
+
* Successfully deleted.
|
|
2116
2498
|
*/
|
|
2117
|
-
200:
|
|
2499
|
+
200: string;
|
|
2118
2500
|
};
|
|
2119
|
-
export type
|
|
2501
|
+
export type DeleteChartResponse = DeleteChartResponses[keyof DeleteChartResponses];
|
|
2502
|
+
export type GetChartData = {
|
|
2120
2503
|
body?: never;
|
|
2121
2504
|
path: {
|
|
2122
2505
|
/**
|
|
2123
|
-
*
|
|
2124
|
-
*/
|
|
2125
|
-
region: string;
|
|
2126
|
-
/**
|
|
2127
|
-
* Name of the repository
|
|
2506
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2128
2507
|
*/
|
|
2129
|
-
|
|
2508
|
+
cluster_id: string;
|
|
2130
2509
|
/**
|
|
2131
|
-
*
|
|
2510
|
+
* Chart deployment name as the unique identifier of the chart.
|
|
2132
2511
|
*/
|
|
2133
|
-
|
|
2512
|
+
chart_name: string;
|
|
2134
2513
|
};
|
|
2135
2514
|
query?: never;
|
|
2136
|
-
url: '/
|
|
2515
|
+
url: '/clusters/{cluster_id}/charts/{chart_name}';
|
|
2137
2516
|
};
|
|
2138
|
-
export type
|
|
2139
|
-
/**
|
|
2140
|
-
* Not authenticated
|
|
2141
|
-
*/
|
|
2142
|
-
401: unknown;
|
|
2517
|
+
export type GetChartResponses = {
|
|
2143
2518
|
/**
|
|
2144
|
-
*
|
|
2519
|
+
* Returns a single object containing chart details.
|
|
2145
2520
|
*/
|
|
2146
|
-
|
|
2521
|
+
200: Chart;
|
|
2522
|
+
};
|
|
2523
|
+
export type GetChartResponse = GetChartResponses[keyof GetChartResponses];
|
|
2524
|
+
export type UpdateChartData = {
|
|
2525
|
+
body: ChartUpdateInput;
|
|
2526
|
+
path: {
|
|
2527
|
+
/**
|
|
2528
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2529
|
+
*/
|
|
2530
|
+
cluster_id: string;
|
|
2531
|
+
/**
|
|
2532
|
+
* Chart deployment name as the unique identifier of the chart.
|
|
2533
|
+
*/
|
|
2534
|
+
chart_name: string;
|
|
2535
|
+
};
|
|
2536
|
+
query?: never;
|
|
2537
|
+
url: '/clusters/{cluster_id}/charts/{chart_name}';
|
|
2538
|
+
};
|
|
2539
|
+
export type UpdateChartErrors = {
|
|
2147
2540
|
/**
|
|
2148
|
-
*
|
|
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.
|
|
2149
2542
|
*/
|
|
2150
|
-
|
|
2543
|
+
409: string;
|
|
2151
2544
|
};
|
|
2152
|
-
export type
|
|
2545
|
+
export type UpdateChartError = UpdateChartErrors[keyof UpdateChartErrors];
|
|
2546
|
+
export type UpdateChartResponses = {
|
|
2153
2547
|
/**
|
|
2154
|
-
*
|
|
2548
|
+
* Successfully updated.
|
|
2155
2549
|
*/
|
|
2156
|
-
200:
|
|
2550
|
+
200: string;
|
|
2157
2551
|
};
|
|
2158
|
-
export type
|
|
2159
|
-
export type
|
|
2552
|
+
export type UpdateChartResponse = UpdateChartResponses[keyof UpdateChartResponses];
|
|
2553
|
+
export type ListClustersData = {
|
|
2160
2554
|
body?: never;
|
|
2161
2555
|
path?: never;
|
|
2162
2556
|
query?: never;
|
|
2163
|
-
url: '/
|
|
2557
|
+
url: '/clusters';
|
|
2164
2558
|
};
|
|
2165
|
-
export type
|
|
2559
|
+
export type ListClustersErrors = {
|
|
2166
2560
|
/**
|
|
2167
|
-
*
|
|
2561
|
+
* Not authenticated
|
|
2168
2562
|
*/
|
|
2169
|
-
|
|
2563
|
+
401: unknown;
|
|
2170
2564
|
};
|
|
2171
|
-
export type
|
|
2172
|
-
|
|
2173
|
-
|
|
2174
|
-
|
|
2175
|
-
|
|
2176
|
-
|
|
2177
|
-
|
|
2178
|
-
|
|
2179
|
-
|
|
2565
|
+
export type ListClustersResponses = {
|
|
2566
|
+
/**
|
|
2567
|
+
* An array of clusters
|
|
2568
|
+
*/
|
|
2569
|
+
200: Array<Cluster>;
|
|
2570
|
+
};
|
|
2571
|
+
export type ListClustersResponse = ListClustersResponses[keyof ListClustersResponses];
|
|
2572
|
+
export type CreateClusterData = {
|
|
2573
|
+
body: ClusterCreateInput;
|
|
2180
2574
|
path?: never;
|
|
2181
2575
|
query?: never;
|
|
2182
|
-
url: '/
|
|
2576
|
+
url: '/clusters';
|
|
2183
2577
|
};
|
|
2184
|
-
export type
|
|
2578
|
+
export type CreateClusterErrors = {
|
|
2185
2579
|
/**
|
|
2186
|
-
*
|
|
2580
|
+
* Cluster quota exceeded. Maximum number of clusters allowed in this organization is reached.
|
|
2187
2581
|
*/
|
|
2188
|
-
|
|
2189
|
-
};
|
|
2190
|
-
export type CreateTicketResponse = CreateTicketResponses[keyof CreateTicketResponses];
|
|
2191
|
-
export type CloseTicketData = {
|
|
2192
|
-
body?: never;
|
|
2193
|
-
path: {
|
|
2194
|
-
ticket_id: string;
|
|
2195
|
-
};
|
|
2196
|
-
query?: never;
|
|
2197
|
-
url: '/tickets/{ticket_id}';
|
|
2582
|
+
402: string;
|
|
2198
2583
|
};
|
|
2199
|
-
export type
|
|
2584
|
+
export type CreateClusterError = CreateClusterErrors[keyof CreateClusterErrors];
|
|
2585
|
+
export type CreateClusterResponses = {
|
|
2200
2586
|
/**
|
|
2201
|
-
*
|
|
2587
|
+
* Successfully created. Returns created Cluster ID.
|
|
2202
2588
|
*/
|
|
2203
|
-
200:
|
|
2589
|
+
200: string;
|
|
2204
2590
|
};
|
|
2205
|
-
export type
|
|
2206
|
-
export type
|
|
2591
|
+
export type CreateClusterResponse = CreateClusterResponses[keyof CreateClusterResponses];
|
|
2592
|
+
export type DeleteClusterData = {
|
|
2207
2593
|
body?: never;
|
|
2208
2594
|
path: {
|
|
2209
|
-
|
|
2595
|
+
/**
|
|
2596
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2597
|
+
*/
|
|
2598
|
+
cluster_id: string;
|
|
2210
2599
|
};
|
|
2211
2600
|
query?: never;
|
|
2212
|
-
url: '/
|
|
2601
|
+
url: '/clusters/{cluster_id}';
|
|
2213
2602
|
};
|
|
2214
|
-
export type
|
|
2603
|
+
export type DeleteClusterErrors = {
|
|
2215
2604
|
/**
|
|
2216
|
-
*
|
|
2605
|
+
* Cluster not found — it does not exist or has already been deleted.
|
|
2217
2606
|
*/
|
|
2218
|
-
|
|
2607
|
+
404: unknown;
|
|
2608
|
+
/**
|
|
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.
|
|
2610
|
+
*/
|
|
2611
|
+
409: string;
|
|
2612
|
+
/**
|
|
2613
|
+
* Transient failure tearing down the cluster; retry the request.
|
|
2614
|
+
*/
|
|
2615
|
+
503: unknown;
|
|
2219
2616
|
};
|
|
2220
|
-
export type
|
|
2221
|
-
export type
|
|
2222
|
-
|
|
2617
|
+
export type DeleteClusterError = DeleteClusterErrors[keyof DeleteClusterErrors];
|
|
2618
|
+
export type DeleteClusterResponses = {
|
|
2619
|
+
/**
|
|
2620
|
+
* Successfully deleted. The cluster has been torn down.
|
|
2621
|
+
*/
|
|
2622
|
+
200: string;
|
|
2623
|
+
};
|
|
2624
|
+
export type DeleteClusterResponse = DeleteClusterResponses[keyof DeleteClusterResponses];
|
|
2625
|
+
export type GetClusterData = {
|
|
2626
|
+
body?: never;
|
|
2627
|
+
path: {
|
|
2223
2628
|
/**
|
|
2224
|
-
*
|
|
2629
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2225
2630
|
*/
|
|
2226
|
-
|
|
2227
|
-
attachments?: Array<Blob | File>;
|
|
2228
|
-
};
|
|
2229
|
-
path: {
|
|
2230
|
-
ticket_id: string;
|
|
2631
|
+
cluster_id: string;
|
|
2231
2632
|
};
|
|
2232
2633
|
query?: never;
|
|
2233
|
-
url: '/
|
|
2234
|
-
};
|
|
2235
|
-
export type ReplyTicketErrors = {
|
|
2236
|
-
/**
|
|
2237
|
-
* Ticket is closed. Open a new ticket instead.
|
|
2238
|
-
*/
|
|
2239
|
-
409: unknown;
|
|
2634
|
+
url: '/clusters/{cluster_id}';
|
|
2240
2635
|
};
|
|
2241
|
-
export type
|
|
2636
|
+
export type GetClusterResponses = {
|
|
2242
2637
|
/**
|
|
2243
|
-
*
|
|
2638
|
+
* Returns a single object containing cluster details.
|
|
2244
2639
|
*/
|
|
2245
|
-
200:
|
|
2640
|
+
200: Cluster;
|
|
2246
2641
|
};
|
|
2247
|
-
export type
|
|
2248
|
-
export type
|
|
2249
|
-
body
|
|
2642
|
+
export type GetClusterResponse = GetClusterResponses[keyof GetClusterResponses];
|
|
2643
|
+
export type UpdateClusterData = {
|
|
2644
|
+
body: ClusterUpdateInput;
|
|
2250
2645
|
path: {
|
|
2251
|
-
|
|
2252
|
-
|
|
2646
|
+
/**
|
|
2647
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2648
|
+
*/
|
|
2649
|
+
cluster_id: string;
|
|
2253
2650
|
};
|
|
2254
2651
|
query?: never;
|
|
2255
|
-
url: '/
|
|
2652
|
+
url: '/clusters/{cluster_id}';
|
|
2256
2653
|
};
|
|
2257
|
-
export type
|
|
2654
|
+
export type UpdateClusterErrors = {
|
|
2258
2655
|
/**
|
|
2259
|
-
*
|
|
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.
|
|
2260
2657
|
*/
|
|
2261
|
-
|
|
2658
|
+
409: string;
|
|
2262
2659
|
};
|
|
2263
|
-
export type
|
|
2264
|
-
export type
|
|
2660
|
+
export type UpdateClusterError = UpdateClusterErrors[keyof UpdateClusterErrors];
|
|
2661
|
+
export type UpdateClusterResponses = {
|
|
2662
|
+
/**
|
|
2663
|
+
* Successfully updated. Returns updated cluster details.
|
|
2664
|
+
*/
|
|
2665
|
+
200: Cluster;
|
|
2666
|
+
};
|
|
2667
|
+
export type UpdateClusterResponse = UpdateClusterResponses[keyof UpdateClusterResponses];
|
|
2668
|
+
export type GetJoinInformationData = {
|
|
2265
2669
|
body?: never;
|
|
2266
|
-
path
|
|
2670
|
+
path: {
|
|
2671
|
+
/**
|
|
2672
|
+
* Unique identifier of the cluster. UUID v4 string in canonical form
|
|
2673
|
+
*/
|
|
2674
|
+
cluster_id: string;
|
|
2675
|
+
};
|
|
2267
2676
|
query?: never;
|
|
2268
|
-
url: '/
|
|
2677
|
+
url: '/clusters/{cluster_id}/join_information';
|
|
2269
2678
|
};
|
|
2270
|
-
export type
|
|
2679
|
+
export type GetJoinInformationErrors = {
|
|
2271
2680
|
/**
|
|
2272
2681
|
* Not authenticated
|
|
2273
2682
|
*/
|
|
2274
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;
|
|
2275
2688
|
};
|
|
2276
|
-
export type
|
|
2689
|
+
export type GetJoinInformationError = GetJoinInformationErrors[keyof GetJoinInformationErrors];
|
|
2690
|
+
export type GetJoinInformationResponses = {
|
|
2277
2691
|
/**
|
|
2278
|
-
*
|
|
2692
|
+
* An object of cluster join information
|
|
2279
2693
|
*/
|
|
2280
|
-
200:
|
|
2694
|
+
200: ClusterJoinInformation;
|
|
2281
2695
|
};
|
|
2282
|
-
export type
|
|
2283
|
-
export type
|
|
2284
|
-
body
|
|
2696
|
+
export type GetJoinInformationResponse = GetJoinInformationResponses[keyof GetJoinInformationResponses];
|
|
2697
|
+
export type GetUsageData = {
|
|
2698
|
+
body?: never;
|
|
2285
2699
|
path?: never;
|
|
2286
|
-
query?:
|
|
2287
|
-
|
|
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';
|
|
2288
2707
|
};
|
|
2289
|
-
export type
|
|
2708
|
+
export type GetUsageErrors = {
|
|
2290
2709
|
/**
|
|
2291
2710
|
* Not authenticated
|
|
2292
2711
|
*/
|
|
2293
2712
|
401: unknown;
|
|
2294
2713
|
};
|
|
2295
|
-
export type
|
|
2714
|
+
export type GetUsageResponses = {
|
|
2296
2715
|
/**
|
|
2297
|
-
*
|
|
2716
|
+
* Usage data with facets for filtering
|
|
2298
2717
|
*/
|
|
2299
|
-
200:
|
|
2718
|
+
200: UsageResponse;
|
|
2300
2719
|
};
|
|
2301
|
-
export type
|
|
2302
|
-
export type
|
|
2720
|
+
export type GetUsageResponse = GetUsageResponses[keyof GetUsageResponses];
|
|
2721
|
+
export type GetPaymentMethodSecretData = {
|
|
2303
2722
|
body?: never;
|
|
2304
|
-
path
|
|
2305
|
-
/**
|
|
2306
|
-
* Generated unique identifier of the access token.
|
|
2307
|
-
*/
|
|
2308
|
-
token_id: string;
|
|
2309
|
-
};
|
|
2723
|
+
path?: never;
|
|
2310
2724
|
query?: never;
|
|
2311
|
-
url: '/
|
|
2725
|
+
url: '/billing/payment-method';
|
|
2312
2726
|
};
|
|
2313
|
-
export type
|
|
2727
|
+
export type GetPaymentMethodSecretResponses = {
|
|
2314
2728
|
/**
|
|
2315
|
-
*
|
|
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
|
+
*
|
|
2316
2731
|
*/
|
|
2317
|
-
200:
|
|
2318
|
-
};
|
|
2319
|
-
export type GetTokenData = {
|
|
2320
|
-
body?: never;
|
|
2321
|
-
path: {
|
|
2732
|
+
200: {
|
|
2322
2733
|
/**
|
|
2323
|
-
*
|
|
2734
|
+
* The client secret.
|
|
2324
2735
|
*/
|
|
2325
|
-
|
|
2736
|
+
id?: string;
|
|
2326
2737
|
};
|
|
2738
|
+
};
|
|
2739
|
+
export type GetPaymentMethodSecretResponse = GetPaymentMethodSecretResponses[keyof GetPaymentMethodSecretResponses];
|
|
2740
|
+
export type ListPaymentMethodsData = {
|
|
2741
|
+
body?: never;
|
|
2742
|
+
path?: never;
|
|
2327
2743
|
query?: never;
|
|
2328
|
-
url: '/
|
|
2744
|
+
url: '/billing/payment-methods';
|
|
2329
2745
|
};
|
|
2330
|
-
export type
|
|
2746
|
+
export type ListPaymentMethodsErrors = {
|
|
2331
2747
|
/**
|
|
2332
2748
|
* Not authenticated
|
|
2333
2749
|
*/
|
|
2334
2750
|
401: unknown;
|
|
2335
2751
|
};
|
|
2336
|
-
export type
|
|
2752
|
+
export type ListPaymentMethodsResponses = {
|
|
2337
2753
|
/**
|
|
2338
|
-
*
|
|
2754
|
+
* An array of payment methods.
|
|
2339
2755
|
*/
|
|
2340
|
-
200:
|
|
2756
|
+
200: Array<PaymentMethod>;
|
|
2341
2757
|
};
|
|
2342
|
-
export type
|
|
2343
|
-
export type
|
|
2344
|
-
body
|
|
2758
|
+
export type ListPaymentMethodsResponse = ListPaymentMethodsResponses[keyof ListPaymentMethodsResponses];
|
|
2759
|
+
export type SetDefaultPaymentMethodData = {
|
|
2760
|
+
body?: never;
|
|
2345
2761
|
path: {
|
|
2346
2762
|
/**
|
|
2347
|
-
*
|
|
2763
|
+
* Stripe payment method identifier.
|
|
2348
2764
|
*/
|
|
2349
|
-
|
|
2765
|
+
paymentMethodId: string;
|
|
2350
2766
|
};
|
|
2351
2767
|
query?: never;
|
|
2352
|
-
url: '/
|
|
2768
|
+
url: '/billing/payment-methods/{paymentMethodId}/default';
|
|
2353
2769
|
};
|
|
2354
|
-
export type
|
|
2770
|
+
export type SetDefaultPaymentMethodErrors = {
|
|
2771
|
+
/**
|
|
2772
|
+
* The bank transfer payment method cannot be set as the default.
|
|
2773
|
+
*/
|
|
2774
|
+
400: unknown;
|
|
2355
2775
|
/**
|
|
2356
2776
|
* Not authenticated
|
|
2357
2777
|
*/
|
|
2358
2778
|
401: unknown;
|
|
2779
|
+
/**
|
|
2780
|
+
* Payment method not found.
|
|
2781
|
+
*/
|
|
2782
|
+
404: unknown;
|
|
2359
2783
|
};
|
|
2360
|
-
export type
|
|
2784
|
+
export type SetDefaultPaymentMethodResponses = {
|
|
2361
2785
|
/**
|
|
2362
|
-
*
|
|
2786
|
+
* Default payment method updated.
|
|
2363
2787
|
*/
|
|
2364
|
-
|
|
2788
|
+
204: void;
|
|
2365
2789
|
};
|
|
2366
|
-
export type
|
|
2367
|
-
export type
|
|
2790
|
+
export type SetDefaultPaymentMethodResponse = SetDefaultPaymentMethodResponses[keyof SetDefaultPaymentMethodResponses];
|
|
2791
|
+
export type DeletePaymentMethodData = {
|
|
2368
2792
|
body?: never;
|
|
2369
2793
|
path: {
|
|
2370
2794
|
/**
|
|
2371
|
-
*
|
|
2795
|
+
* Stripe payment method identifier.
|
|
2372
2796
|
*/
|
|
2373
|
-
|
|
2797
|
+
paymentMethodId: string;
|
|
2374
2798
|
};
|
|
2375
2799
|
query?: never;
|
|
2376
|
-
url: '/
|
|
2800
|
+
url: '/billing/payment-methods/{paymentMethodId}';
|
|
2377
2801
|
};
|
|
2378
|
-
export type
|
|
2802
|
+
export type DeletePaymentMethodErrors = {
|
|
2803
|
+
/**
|
|
2804
|
+
* The bank transfer payment method cannot be removed.
|
|
2805
|
+
*/
|
|
2806
|
+
400: unknown;
|
|
2379
2807
|
/**
|
|
2380
2808
|
* Not authenticated
|
|
2381
2809
|
*/
|
|
2382
2810
|
401: unknown;
|
|
2383
|
-
};
|
|
2384
|
-
export type RegenerateTokenResponses = {
|
|
2385
2811
|
/**
|
|
2386
|
-
*
|
|
2812
|
+
* Payment method not found.
|
|
2387
2813
|
*/
|
|
2388
|
-
|
|
2389
|
-
|
|
2390
|
-
|
|
2391
|
-
|
|
2392
|
-
|
|
2393
|
-
path: {
|
|
2394
|
-
/**
|
|
2395
|
-
* User email address.
|
|
2396
|
-
*/
|
|
2397
|
-
email: string;
|
|
2398
|
-
};
|
|
2399
|
-
query?: never;
|
|
2400
|
-
url: '/users/organizations/{email}';
|
|
2814
|
+
404: unknown;
|
|
2815
|
+
/**
|
|
2816
|
+
* Cannot delete the only remaining payment method.
|
|
2817
|
+
*/
|
|
2818
|
+
409: unknown;
|
|
2401
2819
|
};
|
|
2402
|
-
export type
|
|
2820
|
+
export type DeletePaymentMethodResponses = {
|
|
2403
2821
|
/**
|
|
2404
|
-
*
|
|
2822
|
+
* Payment method deleted.
|
|
2405
2823
|
*/
|
|
2406
|
-
|
|
2407
|
-
/**
|
|
2408
|
-
* Unique identifier of the organization. UUID v4 string in canonical form
|
|
2409
|
-
*/
|
|
2410
|
-
realm?: string;
|
|
2411
|
-
/**
|
|
2412
|
-
* Human-readable name of the organization
|
|
2413
|
-
*/
|
|
2414
|
-
displayName?: string;
|
|
2415
|
-
}>;
|
|
2824
|
+
204: void;
|
|
2416
2825
|
};
|
|
2417
|
-
export type
|
|
2418
|
-
export type
|
|
2826
|
+
export type DeletePaymentMethodResponse = DeletePaymentMethodResponses[keyof DeletePaymentMethodResponses];
|
|
2827
|
+
export type ListInvoicesData = {
|
|
2419
2828
|
body?: never;
|
|
2420
2829
|
path?: never;
|
|
2421
2830
|
query?: never;
|
|
2422
|
-
url: '/
|
|
2831
|
+
url: '/billing/invoices';
|
|
2423
2832
|
};
|
|
2424
|
-
export type
|
|
2833
|
+
export type ListInvoicesErrors = {
|
|
2425
2834
|
/**
|
|
2426
2835
|
* Not authenticated
|
|
2427
2836
|
*/
|
|
2428
2837
|
401: unknown;
|
|
2429
2838
|
};
|
|
2430
|
-
export type
|
|
2839
|
+
export type ListInvoicesResponses = {
|
|
2431
2840
|
/**
|
|
2432
|
-
* An array of
|
|
2841
|
+
* An array of usage records.
|
|
2433
2842
|
*/
|
|
2434
|
-
200: Array<
|
|
2843
|
+
200: Array<Invoice>;
|
|
2435
2844
|
};
|
|
2436
|
-
export type
|
|
2437
|
-
export type
|
|
2438
|
-
body
|
|
2845
|
+
export type ListInvoicesResponse = ListInvoicesResponses[keyof ListInvoicesResponses];
|
|
2846
|
+
export type GetContactData = {
|
|
2847
|
+
body?: never;
|
|
2439
2848
|
path?: never;
|
|
2440
2849
|
query?: never;
|
|
2441
|
-
url: '/
|
|
2850
|
+
url: '/billing/contact';
|
|
2442
2851
|
};
|
|
2443
|
-
export type
|
|
2852
|
+
export type GetContactResponses = {
|
|
2444
2853
|
/**
|
|
2445
|
-
*
|
|
2854
|
+
* Returns a single object containing organization contact and billing address details.
|
|
2446
2855
|
*/
|
|
2447
|
-
200:
|
|
2856
|
+
200: BillingContact;
|
|
2448
2857
|
};
|
|
2449
|
-
export type
|
|
2450
|
-
export type
|
|
2451
|
-
body
|
|
2452
|
-
path
|
|
2453
|
-
/**
|
|
2454
|
-
* Unique user identifier. UUID v4 string in canonical form
|
|
2455
|
-
*/
|
|
2456
|
-
user_id: string;
|
|
2457
|
-
};
|
|
2858
|
+
export type GetContactResponse = GetContactResponses[keyof GetContactResponses];
|
|
2859
|
+
export type UpdateContactData = {
|
|
2860
|
+
body: BillingContact;
|
|
2861
|
+
path?: never;
|
|
2458
2862
|
query?: never;
|
|
2459
|
-
url: '/
|
|
2863
|
+
url: '/billing/contact';
|
|
2460
2864
|
};
|
|
2461
|
-
export type
|
|
2865
|
+
export type UpdateContactResponses = {
|
|
2462
2866
|
/**
|
|
2463
|
-
*
|
|
2867
|
+
* Successfully updated. Returns updated organization details.
|
|
2464
2868
|
*/
|
|
2465
|
-
|
|
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 = {
|
|
2466
2879
|
/**
|
|
2467
2880
|
* Not authenticated
|
|
2468
2881
|
*/
|
|
2469
2882
|
401: unknown;
|
|
2470
2883
|
};
|
|
2471
|
-
export type
|
|
2884
|
+
export type GetCreditsResponses = {
|
|
2472
2885
|
/**
|
|
2473
|
-
*
|
|
2886
|
+
* An array of the applied promotional credits records.
|
|
2474
2887
|
*/
|
|
2475
|
-
200:
|
|
2888
|
+
200: Array<BillingCredits>;
|
|
2476
2889
|
};
|
|
2477
|
-
export type
|
|
2478
|
-
export type
|
|
2479
|
-
body
|
|
2480
|
-
path: {
|
|
2890
|
+
export type GetCreditsResponse = GetCreditsResponses[keyof GetCreditsResponses];
|
|
2891
|
+
export type RedeemCreditsData = {
|
|
2892
|
+
body: {
|
|
2481
2893
|
/**
|
|
2482
|
-
*
|
|
2894
|
+
* Promotional code to redeem
|
|
2483
2895
|
*/
|
|
2484
|
-
|
|
2896
|
+
code?: string;
|
|
2485
2897
|
};
|
|
2898
|
+
path?: never;
|
|
2486
2899
|
query?: never;
|
|
2487
|
-
url: '/
|
|
2900
|
+
url: '/billing/credits';
|
|
2488
2901
|
};
|
|
2489
|
-
export type
|
|
2902
|
+
export type RedeemCreditsErrors = {
|
|
2490
2903
|
/**
|
|
2491
2904
|
* Not authenticated
|
|
2492
2905
|
*/
|
|
2493
2906
|
401: unknown;
|
|
2494
2907
|
};
|
|
2495
|
-
export type
|
|
2496
|
-
/**
|
|
2497
|
-
* User profile information
|
|
2498
|
-
*/
|
|
2499
|
-
200: User;
|
|
2500
|
-
};
|
|
2501
|
-
export type GetUserResponse = GetUserResponses[keyof GetUserResponses];
|
|
2502
|
-
export type UpdateUserData = {
|
|
2503
|
-
body: UserUpdateInput;
|
|
2504
|
-
path: {
|
|
2505
|
-
/**
|
|
2506
|
-
* Unique user identifier. UUID v4 string in canonical form
|
|
2507
|
-
*/
|
|
2508
|
-
user_id: string;
|
|
2509
|
-
};
|
|
2510
|
-
query?: never;
|
|
2511
|
-
url: '/users/{user_id}';
|
|
2512
|
-
};
|
|
2513
|
-
export type UpdateUserResponses = {
|
|
2908
|
+
export type RedeemCreditsResponses = {
|
|
2514
2909
|
/**
|
|
2515
|
-
* Successfully created
|
|
2910
|
+
* Successfully created a new organization.
|
|
2516
2911
|
*/
|
|
2517
|
-
200:
|
|
2912
|
+
200: unknown;
|
|
2518
2913
|
};
|
|
2519
|
-
export type UpdateUserResponse = UpdateUserResponses[keyof UpdateUserResponses];
|
|
2520
2914
|
//# sourceMappingURL=types.gen.d.ts.map
|